diff --git a/client/_c2c_decoders.go b/client/_c2c_decoders.go index 72a72b44..bddadc5f 100644 --- a/client/_c2c_decoders.go +++ b/client/_c2c_decoders.go @@ -1,6 +1,6 @@ package client -import "github.com/Mrs4s/MiraiGo/client/pb/msg" +import "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" var privateMsgDecoders = map[int32]func(*QQClient, *msg.Message, *incomingPacketInfo){ 9: privateMessageDecoder, 10: privateMessageDecoder, 31: privateMessageDecoder, diff --git a/client/builders.go b/client/builders.go index d6584d1c..51ce3b1d 100644 --- a/client/builders.go +++ b/client/builders.go @@ -7,18 +7,19 @@ import ( "math/rand" "time" + protobuf "github.com/segmentio/encoding/proto" "google.golang.org/protobuf/proto" "github.com/Mrs4s/MiraiGo/binary" "github.com/Mrs4s/MiraiGo/binary/jce" "github.com/Mrs4s/MiraiGo/client/pb" "github.com/Mrs4s/MiraiGo/client/pb/cmd0x352" - "github.com/Mrs4s/MiraiGo/client/pb/msg" "github.com/Mrs4s/MiraiGo/client/pb/profilecard" "github.com/Mrs4s/MiraiGo/client/pb/qweb" "github.com/Mrs4s/MiraiGo/client/pb/structmsg" "github.com/Mrs4s/MiraiGo/internal/crypto" "github.com/Mrs4s/MiraiGo/internal/packets" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x89a" "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x8a0" "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x8fc" @@ -759,7 +760,7 @@ func (c *QQClient) buildGetMessageRequestPacket(flag msg.SyncFlag, msgTime int64 seq := c.nextSeq() cook := c.syncCookie if cook == nil { - cook, _ = proto.Marshal(&msg.SyncCookie{ + cook, _ = protobuf.Marshal(&msg.SyncCookie{ Time: &msgTime, Ran1: proto.Int64(758330138), Ran2: proto.Int64(2480149246), @@ -780,7 +781,7 @@ func (c *QQClient) buildGetMessageRequestPacket(flag msg.SyncFlag, msgTime int64 MsgCtrlBuf: []byte{}, ServerBuf: []byte{}, } - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(c.Uin, seq, "MessageSvc.PbGetMsg", 1, c.OutGoingPacketSessionId, []byte{}, c.sigInfo.d2Key, payload) return seq, packet } diff --git a/client/c2c_processor.go b/client/c2c_processor.go index 5888a767..3c29b811 100644 --- a/client/c2c_processor.go +++ b/client/c2c_processor.go @@ -7,12 +7,14 @@ import ( "sync/atomic" "time" + protobuf "github.com/segmentio/encoding/proto" + "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/client/pb" - "github.com/Mrs4s/MiraiGo/client/pb/msg" "github.com/pkg/errors" - "google.golang.org/protobuf/proto" + + "github.com/Mrs4s/MiraiGo/client/pb" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" ) type ( @@ -71,7 +73,7 @@ func (c *QQClient) c2cMessageSyncProcessor(rsp *msg.GetMessageResponse, info *in _, _ = c.sendAndWait(c.buildDeleteMessageRequestPacket(delItems)) } if rsp.GetSyncFlag() != msg.SyncFlag_STOP { - c.Debug("continue sync with flag: %v", rsp.SyncFlag.String()) + c.Debug("continue sync with flag: %v", *rsp.SyncFlag) seq, pkt := c.buildGetMessageRequestPacket(rsp.GetSyncFlag(), time.Now().Unix()) _, _ = c.sendAndWait(seq, pkt, info.Params) } @@ -159,7 +161,7 @@ func tempSessionDecoder(c *QQClient, pMsg *msg.Message, _ *incomingPacketInfo) { info := &TempSessionInfo{ Source: 0, Sender: pMsg.Head.GetFromUin(), - sig: pMsg.Head.C2CTmpMsgHead.GetSig(), + sig: pMsg.Head.C2CTmpMsgHead.Sig, client: c, } @@ -235,10 +237,10 @@ func troopSystemMessageDecoder(c *QQClient, pMsg *msg.Message, info *incomingPac if !info.Params.bool("used_reg_proxy") && pMsg.Head.GetMsgType() != 85 && pMsg.Head.GetMsgType() != 36 { c.exceptAndDispatchGroupSysMsg() } - if len(pMsg.Body.GetMsgContent()) == 0 { + if len(pMsg.Body.MsgContent) == 0 { return } - reader := binary.NewReader(pMsg.GetBody().GetMsgContent()) + reader := binary.NewReader(pMsg.Body.MsgContent) groupCode := uint32(reader.ReadInt32()) if info := c.FindGroup(int64(groupCode)); info != nil && pMsg.Head.GetGroupName() != "" && info.Name != pMsg.Head.GetGroupName() { c.Debug("group %v name updated. %v -> %v", groupCode, info.Name, pMsg.Head.GetGroupName()) @@ -251,7 +253,7 @@ func msgType0x211Decoder(c *QQClient, pMsg *msg.Message, info *incomingPacketInf tempSessionDecoder(c, pMsg, info) } sub4 := msg.SubMsgType0X4Body{} - if err := proto.Unmarshal(pMsg.Body.MsgContent, &sub4); err != nil { + if err := protobuf.Unmarshal(pMsg.Body.MsgContent, &sub4); err != nil { err = errors.Wrap(err, "unmarshal sub msg 0x4 error") c.Error("unmarshal sub msg 0x4 error: %v", err) return diff --git a/client/c2c_switch.go b/client/c2c_switch.go index fb9199ec..80a7a2da 100644 --- a/client/c2c_switch.go +++ b/client/c2c_switch.go @@ -3,7 +3,7 @@ package client import ( - "github.com/Mrs4s/MiraiGo/client/pb/msg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" ) const ( diff --git a/client/client.go b/client/client.go index b548199d..eb56f2f9 100644 --- a/client/client.go +++ b/client/client.go @@ -18,7 +18,7 @@ import ( "github.com/Mrs4s/MiraiGo/binary" "github.com/Mrs4s/MiraiGo/binary/jce" - "github.com/Mrs4s/MiraiGo/client/pb/msg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/message" "github.com/Mrs4s/MiraiGo/utils" ) @@ -556,10 +556,10 @@ func (c *QQClient) GetForwardMessage(resID string) *message.ForwardMessage { item = iter } } - if item == nil { + if item == nil || item.Buffer == nil { return nil } - for _, m := range item.GetBuffer().GetMsg() { + for _, m := range item.Buffer.Msg { ret.Nodes = append(ret.Nodes, &message.ForwardNode{ SenderId: m.Head.GetFromUin(), SenderName: func() string { @@ -581,11 +581,11 @@ func (c *QQClient) DownloadForwardMessage(resId string) *message.ForwardElement return nil } multiMsg := i.(*msg.PbMultiMsgTransmit) - if multiMsg.GetPbItemList() == nil { + if multiMsg.PbItemList == nil { return nil } var pv string - for i := 0; i < int(math.Min(4, float64(len(multiMsg.GetMsg())))); i++ { + for i := 0; i < int(math.Min(4, float64(len(multiMsg.Msg)))); i++ { m := multiMsg.Msg[i] pv += fmt.Sprintf(`%s: %s`, func() string { @@ -595,15 +595,15 @@ func (c *QQClient) DownloadForwardMessage(resId string) *message.ForwardElement return m.Head.GetFromNick() }(), message.ToReadableString( - message.ParseMessageElems(multiMsg.Msg[i].GetBody().GetRichText().Elems), + message.ParseMessageElems(multiMsg.Msg[i].Body.RichText.Elems), ), ) } return genForwardTemplate( resId, pv, "群聊的聊天记录", "[聊天记录]", "聊天记录", - fmt.Sprintf("查看 %d 条转发消息", len(multiMsg.GetMsg())), + fmt.Sprintf("查看 %d 条转发消息", len(multiMsg.Msg)), time.Now().UnixNano(), - multiMsg.GetPbItemList(), + multiMsg.PbItemList, ) } diff --git a/client/decoders.go b/client/decoders.go index d03fa13b..93abce8b 100644 --- a/client/decoders.go +++ b/client/decoders.go @@ -19,10 +19,10 @@ import ( "github.com/Mrs4s/MiraiGo/client/pb" "github.com/Mrs4s/MiraiGo/client/pb/cmd0x352" "github.com/Mrs4s/MiraiGo/client/pb/cmd0x6ff" - "github.com/Mrs4s/MiraiGo/client/pb/msg" "github.com/Mrs4s/MiraiGo/client/pb/profilecard" "github.com/Mrs4s/MiraiGo/client/pb/qweb" "github.com/Mrs4s/MiraiGo/client/pb/structmsg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb" "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0xd79" "github.com/Mrs4s/MiraiGo/utils" @@ -377,7 +377,7 @@ func decodePushReqPacket(c *QQClient, _ *incomingPacketInfo, payload []byte) (in // MessageSvc.PbGetMsg func decodeMessageSvcPacket(c *QQClient, info *incomingPacketInfo, payload []byte) (interface{}, error) { rsp := msg.GetMessageResponse{} - err := proto.Unmarshal(payload, &rsp) + err := protobuf.Unmarshal(payload, &rsp) if err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } @@ -645,7 +645,7 @@ func decodeOffPicUpResponse(_ *QQClient, _ *incomingPacketInfo, payload []byte) // OnlinePush.PbPushTransMsg func decodeOnlinePushTransPacket(c *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { info := msg.TransMsgInfo{} - err := proto.Unmarshal(payload, &info) + err := protobuf.Unmarshal(payload, &info) if err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } diff --git a/client/global.go b/client/global.go index 1cbbceeb..062dab8e 100644 --- a/client/global.go +++ b/client/global.go @@ -19,7 +19,7 @@ import ( "github.com/Mrs4s/MiraiGo/binary" "github.com/Mrs4s/MiraiGo/binary/jce" devinfo "github.com/Mrs4s/MiraiGo/client/pb" - "github.com/Mrs4s/MiraiGo/client/pb/msg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb" proto2 "github.com/Mrs4s/MiraiGo/internal/protobuf/proto" "github.com/Mrs4s/MiraiGo/message" @@ -670,7 +670,7 @@ func (c *QQClient) packOIDBPackageProto2(cmd, serviceType uint32, msg proto2.Mes return c.packOIDBPackage(cmd, serviceType, b) } -func (c *QQClient) unpackOIDBPackage(buff []byte, payload proto.Message) error { +func (c *QQClient) unpackOIDBPackage(buff []byte, payload interface{}) error { pkg := new(oidb.OIDBSSOPkg) if err := protobuf.Unmarshal(buff, pkg); err != nil { return errors.Wrap(err, "failed to unmarshal protobuf message") @@ -678,7 +678,7 @@ func (c *QQClient) unpackOIDBPackage(buff []byte, payload proto.Message) error { if pkg.GetResult() != 0 { return errors.Errorf("oidb result unsuccessful: %v msg: %v", pkg.GetResult(), pkg.GetErrorMsg()) } - if err := proto.Unmarshal(pkg.Bodybuffer, payload); err != nil { + if err := protobuf.Unmarshal(pkg.Bodybuffer, payload); err != nil { return errors.Wrap(err, "failed to unmarshal protobuf message") } return nil diff --git a/client/group_msg.go b/client/group_msg.go index cf485d09..3ec386a1 100644 --- a/client/group_msg.go +++ b/client/group_msg.go @@ -16,9 +16,9 @@ import ( "google.golang.org/protobuf/proto" "github.com/Mrs4s/MiraiGo/client/pb/longmsg" - "github.com/Mrs4s/MiraiGo/client/pb/msg" "github.com/Mrs4s/MiraiGo/client/pb/multimsg" "github.com/Mrs4s/MiraiGo/internal/packets" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb" "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x8a7" "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x8fc" @@ -267,7 +267,7 @@ func (c *QQClient) buildGroupSendingPacket(groupCode int64, r, pkgNum, pkgIndex, return nil }(), } - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(c.Uin, seq, "MessageSvc.PbSendMsg", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) return seq, packet } @@ -280,7 +280,7 @@ func (c *QQClient) buildGetGroupMsgRequest(groupCode, beginSeq, endSeq int64) (u EndSeq: proto.Uint64(uint64(endSeq)), PublicGroup: proto.Bool(false), } - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(c.Uin, seq, "MessageSvc.PbGetGroupMsg", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) return seq, packet } @@ -301,7 +301,7 @@ func (c *QQClient) buildAtAllRemainRequestPacket(groupCode int64) (uint16, []byt // OnlinePush.PbPushGroupMsg func decodeGroupMessagePacket(c *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { pkt := msg.PushMessagePacket{} - err := proto.Unmarshal(payload, &pkt) + err := protobuf.Unmarshal(payload, &pkt) if err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } @@ -342,7 +342,7 @@ func decodeGroupMessagePacket(c *QQClient, _ *incomingPacketInfo, payload []byte func decodeMsgSendResponse(c *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { rsp := msg.SendMessageResponse{} - if err := proto.Unmarshal(payload, &rsp); err != nil { + if err := protobuf.Unmarshal(payload, &rsp); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } switch rsp.GetResult() { @@ -357,7 +357,7 @@ func decodeMsgSendResponse(c *QQClient, _ *incomingPacketInfo, payload []byte) ( func decodeGetGroupMsgResponse(c *QQClient, info *incomingPacketInfo, payload []byte) (interface{}, error) { rsp := msg.GetGroupMsgResp{} - if err := proto.Unmarshal(payload, &rsp); err != nil { + if err := protobuf.Unmarshal(payload, &rsp); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } if rsp.GetResult() != 0 { diff --git a/client/guild.go b/client/guild.go index 04bbc1f5..fb416087 100644 --- a/client/guild.go +++ b/client/guild.go @@ -3,12 +3,14 @@ package client import ( "fmt" - "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/client/pb/channel" - "github.com/Mrs4s/MiraiGo/internal/packets" - "github.com/Mrs4s/MiraiGo/utils" "github.com/pkg/errors" + protobuf "github.com/segmentio/encoding/proto" "google.golang.org/protobuf/proto" + + "github.com/Mrs4s/MiraiGo/binary" + "github.com/Mrs4s/MiraiGo/internal/packets" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/channel" + "github.com/Mrs4s/MiraiGo/utils" ) type ( @@ -346,7 +348,7 @@ func (s *GuildService) fetchChannelListState(guildId uint64, channels []*Channel return } pkg := new(oidb.OIDBSSOPkg) - if err = proto.Unmarshal(rsp, pkg); err != nil { + if err = protobuf.Unmarshal(rsp, pkg); err != nil { return //nil, errors.Wrap(err, "failed to unmarshal protobuf message") } } @@ -391,7 +393,7 @@ func (c *QQClient) syncChannelFirstView() { return } firstViewRsp := new(channel.FirstViewRsp) - if err = proto.Unmarshal(rsp, firstViewRsp); err != nil { + if err = protobuf.Unmarshal(rsp, firstViewRsp); err != nil { return } c.GuildService.TinyId = firstViewRsp.GetSelfTinyid() @@ -411,14 +413,14 @@ func (c *QQClient) buildSyncChannelFirstViewPacket() (uint16, []byte) { Seq: proto.Uint32(0), DirectMessageFlag: proto.Uint32(1), } - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(c.Uin, seq, "trpc.group_pro.synclogic.SyncLogic.SyncFirstView", 1, c.OutGoingPacketSessionId, []byte{}, c.sigInfo.d2Key, payload) return seq, packet } func decodeGuildPushFirstView(c *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { firstViewMsg := new(channel.FirstViewMsg) - if err := proto.Unmarshal(payload, firstViewMsg); err != nil { + if err := protobuf.Unmarshal(payload, firstViewMsg); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } if len(firstViewMsg.GuildNodes) > 0 { @@ -436,7 +438,7 @@ func decodeGuildPushFirstView(c *QQClient, _ *incomingPacketInfo, payload []byte c.Warning("waring: fetch guild %v channel error %v. will use sync node to fill channel list field", guild.GuildId, err) for _, node := range guild.ChannelNodes { meta := new(channel.ChannelMsgMeta) - _ = proto.Unmarshal(node.Meta, meta) + _ = protobuf.Unmarshal(node.Meta, meta) info.Channels = append(info.Channels, &ChannelInfo{ ChannelId: node.GetChannelId(), ChannelName: utils.B2S(node.ChannelName), diff --git a/client/guild_eventflow.go b/client/guild_eventflow.go index 98401c22..697b0965 100644 --- a/client/guild_eventflow.go +++ b/client/guild_eventflow.go @@ -3,11 +3,13 @@ package client import ( "time" - "github.com/Mrs4s/MiraiGo/client/pb/channel" - "github.com/Mrs4s/MiraiGo/client/pb/msg" - "github.com/Mrs4s/MiraiGo/internal/packets" "github.com/pkg/errors" - "google.golang.org/protobuf/proto" + protobuf "github.com/segmentio/encoding/proto" + + "github.com/Mrs4s/MiraiGo/internal/packets" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/channel" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/proto" ) func init() { @@ -16,7 +18,7 @@ func init() { func decodeGuildEventFlowPacket(c *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { push := new(channel.MsgOnlinePush) - if err := proto.Unmarshal(payload, push); err != nil { + if err := protobuf.Unmarshal(payload, push); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } for _, m := range push.Msgs { @@ -55,7 +57,7 @@ func decodeGuildEventFlowPacket(c *QQClient, _ *incomingPacketInfo, payload []by continue } eventBody := new(channel.EventBody) - if err := proto.Unmarshal(common.PbElem, eventBody); err != nil { + if err := protobuf.Unmarshal(common.PbElem, eventBody); err != nil { c.Error("failed to unmarshal guild channel event body: %v", err) continue } @@ -103,7 +105,7 @@ func decodeGuildEventFlowPacket(c *QQClient, _ *incomingPacketInfo, payload []by } func (s *GuildService) pullRoamMsgByEventFlow(guildId, channelId, beginSeq, endSeq, eventVersion uint64) ([]*channel.ChannelMsgContent, error) { - payload, _ := proto.Marshal(&channel.ChannelMsgReq{ + payload, _ := protobuf.Marshal(&channel.ChannelMsgReq{ ChannelParam: &channel.ChannelParam{ GuildId: &guildId, ChannelId: &channelId, @@ -121,7 +123,7 @@ func (s *GuildService) pullRoamMsgByEventFlow(guildId, channelId, beginSeq, endS return nil, errors.Wrap(err, "send packet error") } msgRsp := new(channel.ChannelMsgRsp) - if err = proto.Unmarshal(rsp, msgRsp); err != nil { + if err = protobuf.Unmarshal(rsp, msgRsp); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } return msgRsp.ChannelMsg.Msgs, nil diff --git a/client/guild_msg.go b/client/guild_msg.go index cffa977e..33b94fae 100644 --- a/client/guild_msg.go +++ b/client/guild_msg.go @@ -5,15 +5,18 @@ import ( "math/rand" "strconv" + protobuf "github.com/segmentio/encoding/proto" + "github.com/Mrs4s/MiraiGo/client/pb/cmd0x388" "github.com/Mrs4s/MiraiGo/internal/packets" "github.com/pkg/errors" - "github.com/Mrs4s/MiraiGo/client/pb/channel" - "github.com/Mrs4s/MiraiGo/client/pb/msg" - "github.com/Mrs4s/MiraiGo/message" "google.golang.org/protobuf/proto" + + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/channel" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" + "github.com/Mrs4s/MiraiGo/message" ) func (s *GuildService) SendGuildChannelMessage(guildId, channelId uint64, m *message.SendingMessage) error { @@ -37,14 +40,14 @@ func (s *GuildService) SendGuildChannelMessage(guildId, channelId uint64, m *mes }, }} seq := s.c.nextSeq() - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(s.c.Uin, seq, "MsgProxy.SendMsg", 1, s.c.OutGoingPacketSessionId, []byte{}, s.c.sigInfo.d2Key, payload) rsp, err := s.c.sendAndWaitDynamic(seq, packet) if err != nil { return errors.Wrap(err, "send packet error") } body := new(channel.DF62RspBody) - if err = proto.Unmarshal(rsp, body); err != nil { + if err = protobuf.Unmarshal(rsp, body); err != nil { return errors.Wrap(err, "failed to unmarshal protobuf message") } if body.GetResult() != 0 { @@ -56,7 +59,7 @@ func (s *GuildService) SendGuildChannelMessage(guildId, channelId uint64, m *mes func (s *GuildService) QueryImage(guildId, channelId uint64, hash []byte, size uint64) (*message.GuildImageElement, error) { seq := s.c.nextSeq() - payload, _ := proto.Marshal(&cmd0x388.D388ReqBody{ + payload, _ := protobuf.Marshal(&cmd0x388.D388ReqBody{ NetType: proto.Uint32(3), Subcmd: proto.Uint32(1), TryupImgReq: []*cmd0x388.TryUpImgReq{ @@ -86,7 +89,7 @@ func (s *GuildService) QueryImage(guildId, channelId uint64, hash []byte, size u return nil, errors.Wrap(err, "send packet error") } body := new(cmd0x388.D388RspBody) - if err = proto.Unmarshal(rsp, body); err != nil { + if err = protobuf.Unmarshal(rsp, body); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } if len(body.TryupImgRsp) == 0 { @@ -117,10 +120,10 @@ func decodeGuildMessageEmojiReactions(content *channel.ChannelMsgContent) (r []* return } serv38 := new(msg.MsgElemInfoServtype38) - _ = proto.Unmarshal(common.PbElem, serv38) + _ = protobuf.Unmarshal(common.PbElem, serv38) if len(serv38.ReactData) > 0 { cnt := new(channel.MsgCnt) - _ = proto.Unmarshal(serv38.ReactData, cnt) + _ = protobuf.Unmarshal(serv38.ReactData, cnt) if len(cnt.EmojiReaction) == 0 { return } @@ -154,7 +157,7 @@ func (c *QQClient) parseGuildChannelMessage(msg *channel.ChannelMsgContent) *mes Time: int64(msg.Head.ContentHead.GetTime()), Sender: &message.GuildSender{ TinyId: msg.Head.RoutingHead.GetFromTinyid(), - Nickname: string(msg.ExtInfo.GetFromNick()), + Nickname: string(msg.ExtInfo.FromNick), }, Elements: message.ParseMessageElems(msg.Body.RichText.Elems), } diff --git a/client/multimsg.go b/client/multimsg.go index 07425af3..76a7eb82 100644 --- a/client/multimsg.go +++ b/client/multimsg.go @@ -3,15 +3,18 @@ package client import ( "fmt" + protobuf "github.com/segmentio/encoding/proto" + "github.com/Mrs4s/MiraiGo/internal/packets" + "github.com/pkg/errors" + "google.golang.org/protobuf/proto" + "github.com/Mrs4s/MiraiGo/binary" "github.com/Mrs4s/MiraiGo/client/pb/longmsg" - "github.com/Mrs4s/MiraiGo/client/pb/msg" "github.com/Mrs4s/MiraiGo/client/pb/multimsg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/utils" - "github.com/pkg/errors" - "google.golang.org/protobuf/proto" ) func init() { @@ -126,7 +129,7 @@ func decodeMultiApplyDownResponse(_ *QQClient, _ *incomingPacketInfo, payload [] } uc := binary.GZipUncompress(msgContent) mt := msg.PbMultiMsgTransmit{} - if err = proto.Unmarshal(uc, &mt); err != nil { + if err = protobuf.Unmarshal(uc, &mt); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } return &mt, nil diff --git a/client/pb/channel/MsgResponsesSvr.pb.go b/client/pb/channel/MsgResponsesSvr.pb.go deleted file mode 100644 index 9e477770..00000000 --- a/client/pb/channel/MsgResponsesSvr.pb.go +++ /dev/null @@ -1,822 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.14.0 -// source: pb/channel/MsgResponsesSvr.proto - -package channel - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type BatchGetMsgRspCountReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildMsgList []*GuildMsg `protobuf:"bytes,1,rep,name=guildMsgList" json:"guildMsgList,omitempty"` -} - -func (x *BatchGetMsgRspCountReq) Reset() { - *x = BatchGetMsgRspCountReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BatchGetMsgRspCountReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchGetMsgRspCountReq) ProtoMessage() {} - -func (x *BatchGetMsgRspCountReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchGetMsgRspCountReq.ProtoReflect.Descriptor instead. -func (*BatchGetMsgRspCountReq) Descriptor() ([]byte, []int) { - return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{0} -} - -func (x *BatchGetMsgRspCountReq) GetGuildMsgList() []*GuildMsg { - if x != nil { - return x.GuildMsgList - } - return nil -} - -type BatchGetMsgRspCountRsp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildMsgInfoList []*GuildMsgInfo `protobuf:"bytes,1,rep,name=guildMsgInfoList" json:"guildMsgInfoList,omitempty"` -} - -func (x *BatchGetMsgRspCountRsp) Reset() { - *x = BatchGetMsgRspCountRsp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BatchGetMsgRspCountRsp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchGetMsgRspCountRsp) ProtoMessage() {} - -func (x *BatchGetMsgRspCountRsp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchGetMsgRspCountRsp.ProtoReflect.Descriptor instead. -func (*BatchGetMsgRspCountRsp) Descriptor() ([]byte, []int) { - return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{1} -} - -func (x *BatchGetMsgRspCountRsp) GetGuildMsgInfoList() []*GuildMsgInfo { - if x != nil { - return x.GuildMsgInfoList - } - return nil -} - -type SvrChannelMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelId *uint64 `protobuf:"varint,1,opt,name=channelId" json:"channelId,omitempty"` - Id []*MsgId `protobuf:"bytes,2,rep,name=id" json:"id,omitempty"` -} - -func (x *SvrChannelMsg) Reset() { - *x = SvrChannelMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SvrChannelMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SvrChannelMsg) ProtoMessage() {} - -func (x *SvrChannelMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SvrChannelMsg.ProtoReflect.Descriptor instead. -func (*SvrChannelMsg) Descriptor() ([]byte, []int) { - return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{2} -} - -func (x *SvrChannelMsg) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *SvrChannelMsg) GetId() []*MsgId { - if x != nil { - return x.Id - } - return nil -} - -type ChannelMsgInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelId *uint64 `protobuf:"varint,1,opt,name=channelId" json:"channelId,omitempty"` - RespData []*MsgRespData `protobuf:"bytes,2,rep,name=respData" json:"respData,omitempty"` -} - -func (x *ChannelMsgInfo) Reset() { - *x = ChannelMsgInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelMsgInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelMsgInfo) ProtoMessage() {} - -func (x *ChannelMsgInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelMsgInfo.ProtoReflect.Descriptor instead. -func (*ChannelMsgInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{3} -} - -func (x *ChannelMsgInfo) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *ChannelMsgInfo) GetRespData() []*MsgRespData { - if x != nil { - return x.RespData - } - return nil -} - -type EmojiReaction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EmojiId *string `protobuf:"bytes,1,opt,name=emojiId" json:"emojiId,omitempty"` - EmojiType *uint64 `protobuf:"varint,2,opt,name=emojiType" json:"emojiType,omitempty"` - Cnt *uint64 `protobuf:"varint,3,opt,name=cnt" json:"cnt,omitempty"` - IsClicked *bool `protobuf:"varint,4,opt,name=isClicked" json:"isClicked,omitempty"` -} - -func (x *EmojiReaction) Reset() { - *x = EmojiReaction{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EmojiReaction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EmojiReaction) ProtoMessage() {} - -func (x *EmojiReaction) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EmojiReaction.ProtoReflect.Descriptor instead. -func (*EmojiReaction) Descriptor() ([]byte, []int) { - return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{4} -} - -func (x *EmojiReaction) GetEmojiId() string { - if x != nil && x.EmojiId != nil { - return *x.EmojiId - } - return "" -} - -func (x *EmojiReaction) GetEmojiType() uint64 { - if x != nil && x.EmojiType != nil { - return *x.EmojiType - } - return 0 -} - -func (x *EmojiReaction) GetCnt() uint64 { - if x != nil && x.Cnt != nil { - return *x.Cnt - } - return 0 -} - -func (x *EmojiReaction) GetIsClicked() bool { - if x != nil && x.IsClicked != nil { - return *x.IsClicked - } - return false -} - -type GuildMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - ChannelMsgList []*SvrChannelMsg `protobuf:"bytes,2,rep,name=channelMsgList" json:"channelMsgList,omitempty"` -} - -func (x *GuildMsg) Reset() { - *x = GuildMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildMsg) ProtoMessage() {} - -func (x *GuildMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildMsg.ProtoReflect.Descriptor instead. -func (*GuildMsg) Descriptor() ([]byte, []int) { - return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{5} -} - -func (x *GuildMsg) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *GuildMsg) GetChannelMsgList() []*SvrChannelMsg { - if x != nil { - return x.ChannelMsgList - } - return nil -} - -type GuildMsgInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - ChannelMsgInfoList []*ChannelMsgInfo `protobuf:"bytes,2,rep,name=channelMsgInfoList" json:"channelMsgInfoList,omitempty"` -} - -func (x *GuildMsgInfo) Reset() { - *x = GuildMsgInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildMsgInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildMsgInfo) ProtoMessage() {} - -func (x *GuildMsgInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildMsgInfo.ProtoReflect.Descriptor instead. -func (*GuildMsgInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{6} -} - -func (x *GuildMsgInfo) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *GuildMsgInfo) GetChannelMsgInfoList() []*ChannelMsgInfo { - if x != nil { - return x.ChannelMsgInfoList - } - return nil -} - -type MsgCnt struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *MsgId `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` - EmojiReaction []*EmojiReaction `protobuf:"bytes,2,rep,name=emojiReaction" json:"emojiReaction,omitempty"` -} - -func (x *MsgCnt) Reset() { - *x = MsgCnt{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgCnt) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgCnt) ProtoMessage() {} - -func (x *MsgCnt) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgCnt.ProtoReflect.Descriptor instead. -func (*MsgCnt) Descriptor() ([]byte, []int) { - return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{7} -} - -func (x *MsgCnt) GetId() *MsgId { - if x != nil { - return x.Id - } - return nil -} - -func (x *MsgCnt) GetEmojiReaction() []*EmojiReaction { - if x != nil { - return x.EmojiReaction - } - return nil -} - -type MsgId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version *uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` - Seq *uint64 `protobuf:"varint,2,opt,name=seq" json:"seq,omitempty"` -} - -func (x *MsgId) Reset() { - *x = MsgId{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgId) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgId) ProtoMessage() {} - -func (x *MsgId) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgId.ProtoReflect.Descriptor instead. -func (*MsgId) Descriptor() ([]byte, []int) { - return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{8} -} - -func (x *MsgId) GetVersion() uint64 { - if x != nil && x.Version != nil { - return *x.Version - } - return 0 -} - -func (x *MsgId) GetSeq() uint64 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -type MsgRespData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *MsgId `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` - Cnt []byte `protobuf:"bytes,2,opt,name=cnt" json:"cnt,omitempty"` -} - -func (x *MsgRespData) Reset() { - *x = MsgRespData{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgRespData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgRespData) ProtoMessage() {} - -func (x *MsgRespData) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgRespData.ProtoReflect.Descriptor instead. -func (*MsgRespData) Descriptor() ([]byte, []int) { - return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{9} -} - -func (x *MsgRespData) GetId() *MsgId { - if x != nil { - return x.Id - } - return nil -} - -func (x *MsgRespData) GetCnt() []byte { - if x != nil { - return x.Cnt - } - return nil -} - -var File_pb_channel_MsgResponsesSvr_proto protoreflect.FileDescriptor - -var file_pb_channel_MsgResponsesSvr_proto_rawDesc = []byte{ - 0x0a, 0x20, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x53, 0x76, 0x72, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x16, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x4d, 0x73, - 0x67, 0x52, 0x73, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x2d, 0x0a, 0x0c, - 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x0c, 0x67, - 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x53, 0x0a, 0x16, 0x42, - 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x73, 0x70, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x73, 0x70, 0x12, 0x39, 0x0a, 0x10, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, - 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x0d, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, - 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, - 0x22, 0x45, 0x0a, 0x0d, 0x53, 0x76, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, - 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, - 0x16, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x4d, 0x73, - 0x67, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x22, 0x58, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x44, - 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4d, 0x73, 0x67, 0x52, - 0x65, 0x73, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x44, 0x61, 0x74, - 0x61, 0x22, 0x77, 0x0a, 0x0d, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x49, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, - 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x09, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x6e, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x63, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, - 0x69, 0x73, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x09, 0x69, 0x73, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x64, 0x22, 0x5c, 0x0a, 0x08, 0x47, 0x75, - 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, - 0x12, 0x36, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x4c, 0x69, - 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x53, 0x76, 0x72, 0x43, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x4d, 0x73, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x69, 0x0a, 0x0c, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, - 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x12, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, - 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x12, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x4c, - 0x69, 0x73, 0x74, 0x22, 0x56, 0x0a, 0x06, 0x4d, 0x73, 0x67, 0x43, 0x6e, 0x74, 0x12, 0x16, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x4d, 0x73, 0x67, 0x49, - 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x34, 0x0a, 0x0d, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x45, - 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x65, 0x6d, - 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x33, 0x0a, 0x05, 0x4d, - 0x73, 0x67, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, - 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x73, 0x65, 0x71, - 0x22, 0x37, 0x0a, 0x0b, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, - 0x16, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x4d, 0x73, - 0x67, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x6e, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x63, 0x6e, 0x74, 0x42, 0x14, 0x5a, 0x12, 0x70, 0x62, 0x2f, - 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, -} - -var ( - file_pb_channel_MsgResponsesSvr_proto_rawDescOnce sync.Once - file_pb_channel_MsgResponsesSvr_proto_rawDescData = file_pb_channel_MsgResponsesSvr_proto_rawDesc -) - -func file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP() []byte { - file_pb_channel_MsgResponsesSvr_proto_rawDescOnce.Do(func() { - file_pb_channel_MsgResponsesSvr_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_channel_MsgResponsesSvr_proto_rawDescData) - }) - return file_pb_channel_MsgResponsesSvr_proto_rawDescData -} - -var file_pb_channel_MsgResponsesSvr_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_pb_channel_MsgResponsesSvr_proto_goTypes = []interface{}{ - (*BatchGetMsgRspCountReq)(nil), // 0: BatchGetMsgRspCountReq - (*BatchGetMsgRspCountRsp)(nil), // 1: BatchGetMsgRspCountRsp - (*SvrChannelMsg)(nil), // 2: SvrChannelMsg - (*ChannelMsgInfo)(nil), // 3: ChannelMsgInfo - (*EmojiReaction)(nil), // 4: EmojiReaction - (*GuildMsg)(nil), // 5: GuildMsg - (*GuildMsgInfo)(nil), // 6: GuildMsgInfo - (*MsgCnt)(nil), // 7: MsgCnt - (*MsgId)(nil), // 8: MsgId - (*MsgRespData)(nil), // 9: MsgRespData -} -var file_pb_channel_MsgResponsesSvr_proto_depIdxs = []int32{ - 5, // 0: BatchGetMsgRspCountReq.guildMsgList:type_name -> GuildMsg - 6, // 1: BatchGetMsgRspCountRsp.guildMsgInfoList:type_name -> GuildMsgInfo - 8, // 2: SvrChannelMsg.id:type_name -> MsgId - 9, // 3: ChannelMsgInfo.respData:type_name -> MsgRespData - 2, // 4: GuildMsg.channelMsgList:type_name -> SvrChannelMsg - 3, // 5: GuildMsgInfo.channelMsgInfoList:type_name -> ChannelMsgInfo - 8, // 6: MsgCnt.id:type_name -> MsgId - 4, // 7: MsgCnt.emojiReaction:type_name -> EmojiReaction - 8, // 8: MsgRespData.id:type_name -> MsgId - 9, // [9:9] is the sub-list for method output_type - 9, // [9:9] is the sub-list for method input_type - 9, // [9:9] is the sub-list for extension type_name - 9, // [9:9] is the sub-list for extension extendee - 0, // [0:9] is the sub-list for field type_name -} - -func init() { file_pb_channel_MsgResponsesSvr_proto_init() } -func file_pb_channel_MsgResponsesSvr_proto_init() { - if File_pb_channel_MsgResponsesSvr_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_pb_channel_MsgResponsesSvr_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BatchGetMsgRspCountReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_MsgResponsesSvr_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BatchGetMsgRspCountRsp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_MsgResponsesSvr_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SvrChannelMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_MsgResponsesSvr_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelMsgInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_MsgResponsesSvr_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EmojiReaction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_MsgResponsesSvr_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_MsgResponsesSvr_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildMsgInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_MsgResponsesSvr_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgCnt); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_MsgResponsesSvr_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_MsgResponsesSvr_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRespData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pb_channel_MsgResponsesSvr_proto_rawDesc, - NumEnums: 0, - NumMessages: 10, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_pb_channel_MsgResponsesSvr_proto_goTypes, - DependencyIndexes: file_pb_channel_MsgResponsesSvr_proto_depIdxs, - MessageInfos: file_pb_channel_MsgResponsesSvr_proto_msgTypes, - }.Build() - File_pb_channel_MsgResponsesSvr_proto = out.File - file_pb_channel_MsgResponsesSvr_proto_rawDesc = nil - file_pb_channel_MsgResponsesSvr_proto_goTypes = nil - file_pb_channel_MsgResponsesSvr_proto_depIdxs = nil -} diff --git a/client/pb/channel/common.pb.go b/client/pb/channel/common.pb.go deleted file mode 100644 index 34774c6f..00000000 --- a/client/pb/channel/common.pb.go +++ /dev/null @@ -1,1754 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.14.0 -// source: pb/channel/common.proto - -package channel - -import ( - reflect "reflect" - sync "sync" - - msg "github.com/Mrs4s/MiraiGo/client/pb/msg" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type ChannelContentHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type *uint64 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` - SubType *uint64 `protobuf:"varint,2,opt,name=subType" json:"subType,omitempty"` - Random *uint64 `protobuf:"varint,3,opt,name=random" json:"random,omitempty"` - Seq *uint64 `protobuf:"varint,4,opt,name=seq" json:"seq,omitempty"` - CntSeq *uint64 `protobuf:"varint,5,opt,name=cntSeq" json:"cntSeq,omitempty"` - Time *uint64 `protobuf:"varint,6,opt,name=time" json:"time,omitempty"` - Meta []byte `protobuf:"bytes,7,opt,name=meta" json:"meta,omitempty"` -} - -func (x *ChannelContentHead) Reset() { - *x = ChannelContentHead{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelContentHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelContentHead) ProtoMessage() {} - -func (x *ChannelContentHead) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelContentHead.ProtoReflect.Descriptor instead. -func (*ChannelContentHead) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{0} -} - -func (x *ChannelContentHead) GetType() uint64 { - if x != nil && x.Type != nil { - return *x.Type - } - return 0 -} - -func (x *ChannelContentHead) GetSubType() uint64 { - if x != nil && x.SubType != nil { - return *x.SubType - } - return 0 -} - -func (x *ChannelContentHead) GetRandom() uint64 { - if x != nil && x.Random != nil { - return *x.Random - } - return 0 -} - -func (x *ChannelContentHead) GetSeq() uint64 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -func (x *ChannelContentHead) GetCntSeq() uint64 { - if x != nil && x.CntSeq != nil { - return *x.CntSeq - } - return 0 -} - -func (x *ChannelContentHead) GetTime() uint64 { - if x != nil && x.Time != nil { - return *x.Time - } - return 0 -} - -func (x *ChannelContentHead) GetMeta() []byte { - if x != nil { - return x.Meta - } - return nil -} - -type DirectMessageMember struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Uin *uint64 `protobuf:"varint,1,opt,name=uin" json:"uin,omitempty"` - Tinyid *uint64 `protobuf:"varint,2,opt,name=tinyid" json:"tinyid,omitempty"` - SourceGuildId *uint64 `protobuf:"varint,3,opt,name=sourceGuildId" json:"sourceGuildId,omitempty"` - SourceGuildName []byte `protobuf:"bytes,4,opt,name=sourceGuildName" json:"sourceGuildName,omitempty"` - NickName []byte `protobuf:"bytes,5,opt,name=nickName" json:"nickName,omitempty"` - MemberName []byte `protobuf:"bytes,6,opt,name=memberName" json:"memberName,omitempty"` - NotifyType *uint32 `protobuf:"varint,7,opt,name=notifyType" json:"notifyType,omitempty"` -} - -func (x *DirectMessageMember) Reset() { - *x = DirectMessageMember{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DirectMessageMember) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DirectMessageMember) ProtoMessage() {} - -func (x *DirectMessageMember) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DirectMessageMember.ProtoReflect.Descriptor instead. -func (*DirectMessageMember) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{1} -} - -func (x *DirectMessageMember) GetUin() uint64 { - if x != nil && x.Uin != nil { - return *x.Uin - } - return 0 -} - -func (x *DirectMessageMember) GetTinyid() uint64 { - if x != nil && x.Tinyid != nil { - return *x.Tinyid - } - return 0 -} - -func (x *DirectMessageMember) GetSourceGuildId() uint64 { - if x != nil && x.SourceGuildId != nil { - return *x.SourceGuildId - } - return 0 -} - -func (x *DirectMessageMember) GetSourceGuildName() []byte { - if x != nil { - return x.SourceGuildName - } - return nil -} - -func (x *DirectMessageMember) GetNickName() []byte { - if x != nil { - return x.NickName - } - return nil -} - -func (x *DirectMessageMember) GetMemberName() []byte { - if x != nil { - return x.MemberName - } - return nil -} - -func (x *DirectMessageMember) GetNotifyType() uint32 { - if x != nil && x.NotifyType != nil { - return *x.NotifyType - } - return 0 -} - -type ChannelEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type *uint64 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` - Version *uint64 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"` - OpInfo *ChannelMsgOpInfo `protobuf:"bytes,3,opt,name=opInfo" json:"opInfo,omitempty"` -} - -func (x *ChannelEvent) Reset() { - *x = ChannelEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelEvent) ProtoMessage() {} - -func (x *ChannelEvent) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelEvent.ProtoReflect.Descriptor instead. -func (*ChannelEvent) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{2} -} - -func (x *ChannelEvent) GetType() uint64 { - if x != nil && x.Type != nil { - return *x.Type - } - return 0 -} - -func (x *ChannelEvent) GetVersion() uint64 { - if x != nil && x.Version != nil { - return *x.Version - } - return 0 -} - -func (x *ChannelEvent) GetOpInfo() *ChannelMsgOpInfo { - if x != nil { - return x.OpInfo - } - return nil -} - -type ChannelExtInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FromNick []byte `protobuf:"bytes,1,opt,name=fromNick" json:"fromNick,omitempty"` - GuildName []byte `protobuf:"bytes,2,opt,name=guildName" json:"guildName,omitempty"` - ChannelName []byte `protobuf:"bytes,3,opt,name=channelName" json:"channelName,omitempty"` - Visibility *uint32 `protobuf:"varint,4,opt,name=visibility" json:"visibility,omitempty"` - NotifyType *uint32 `protobuf:"varint,5,opt,name=notifyType" json:"notifyType,omitempty"` - OfflineFlag *uint32 `protobuf:"varint,6,opt,name=offlineFlag" json:"offlineFlag,omitempty"` - NameType *uint32 `protobuf:"varint,7,opt,name=nameType" json:"nameType,omitempty"` - MemberName []byte `protobuf:"bytes,8,opt,name=memberName" json:"memberName,omitempty"` - Timestamp *uint32 `protobuf:"varint,9,opt,name=timestamp" json:"timestamp,omitempty"` - EventVersion *uint64 `protobuf:"varint,10,opt,name=eventVersion" json:"eventVersion,omitempty"` - Events []*ChannelEvent `protobuf:"bytes,11,rep,name=events" json:"events,omitempty"` - FromRoleInfo *ChannelRole `protobuf:"bytes,12,opt,name=fromRoleInfo" json:"fromRoleInfo,omitempty"` - FreqLimitInfo *ChannelFreqLimitInfo `protobuf:"bytes,13,opt,name=freqLimitInfo" json:"freqLimitInfo,omitempty"` - DirectMessageMember []*DirectMessageMember `protobuf:"bytes,14,rep,name=directMessageMember" json:"directMessageMember,omitempty"` -} - -func (x *ChannelExtInfo) Reset() { - *x = ChannelExtInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelExtInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelExtInfo) ProtoMessage() {} - -func (x *ChannelExtInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelExtInfo.ProtoReflect.Descriptor instead. -func (*ChannelExtInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{3} -} - -func (x *ChannelExtInfo) GetFromNick() []byte { - if x != nil { - return x.FromNick - } - return nil -} - -func (x *ChannelExtInfo) GetGuildName() []byte { - if x != nil { - return x.GuildName - } - return nil -} - -func (x *ChannelExtInfo) GetChannelName() []byte { - if x != nil { - return x.ChannelName - } - return nil -} - -func (x *ChannelExtInfo) GetVisibility() uint32 { - if x != nil && x.Visibility != nil { - return *x.Visibility - } - return 0 -} - -func (x *ChannelExtInfo) GetNotifyType() uint32 { - if x != nil && x.NotifyType != nil { - return *x.NotifyType - } - return 0 -} - -func (x *ChannelExtInfo) GetOfflineFlag() uint32 { - if x != nil && x.OfflineFlag != nil { - return *x.OfflineFlag - } - return 0 -} - -func (x *ChannelExtInfo) GetNameType() uint32 { - if x != nil && x.NameType != nil { - return *x.NameType - } - return 0 -} - -func (x *ChannelExtInfo) GetMemberName() []byte { - if x != nil { - return x.MemberName - } - return nil -} - -func (x *ChannelExtInfo) GetTimestamp() uint32 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -func (x *ChannelExtInfo) GetEventVersion() uint64 { - if x != nil && x.EventVersion != nil { - return *x.EventVersion - } - return 0 -} - -func (x *ChannelExtInfo) GetEvents() []*ChannelEvent { - if x != nil { - return x.Events - } - return nil -} - -func (x *ChannelExtInfo) GetFromRoleInfo() *ChannelRole { - if x != nil { - return x.FromRoleInfo - } - return nil -} - -func (x *ChannelExtInfo) GetFreqLimitInfo() *ChannelFreqLimitInfo { - if x != nil { - return x.FreqLimitInfo - } - return nil -} - -func (x *ChannelExtInfo) GetDirectMessageMember() []*DirectMessageMember { - if x != nil { - return x.DirectMessageMember - } - return nil -} - -type ChannelFreqLimitInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsLimited *uint32 `protobuf:"varint,1,opt,name=isLimited" json:"isLimited,omitempty"` - LeftCount *uint32 `protobuf:"varint,2,opt,name=leftCount" json:"leftCount,omitempty"` - LimitTimestamp *uint64 `protobuf:"varint,3,opt,name=limitTimestamp" json:"limitTimestamp,omitempty"` -} - -func (x *ChannelFreqLimitInfo) Reset() { - *x = ChannelFreqLimitInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelFreqLimitInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelFreqLimitInfo) ProtoMessage() {} - -func (x *ChannelFreqLimitInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelFreqLimitInfo.ProtoReflect.Descriptor instead. -func (*ChannelFreqLimitInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{4} -} - -func (x *ChannelFreqLimitInfo) GetIsLimited() uint32 { - if x != nil && x.IsLimited != nil { - return *x.IsLimited - } - return 0 -} - -func (x *ChannelFreqLimitInfo) GetLeftCount() uint32 { - if x != nil && x.LeftCount != nil { - return *x.LeftCount - } - return 0 -} - -func (x *ChannelFreqLimitInfo) GetLimitTimestamp() uint64 { - if x != nil && x.LimitTimestamp != nil { - return *x.LimitTimestamp - } - return 0 -} - -type ChannelInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` - Name []byte `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` - Color *uint32 `protobuf:"varint,3,opt,name=color" json:"color,omitempty"` - Hoist *uint32 `protobuf:"varint,4,opt,name=hoist" json:"hoist,omitempty"` -} - -func (x *ChannelInfo) Reset() { - *x = ChannelInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelInfo) ProtoMessage() {} - -func (x *ChannelInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelInfo.ProtoReflect.Descriptor instead. -func (*ChannelInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{5} -} - -func (x *ChannelInfo) GetId() uint64 { - if x != nil && x.Id != nil { - return *x.Id - } - return 0 -} - -func (x *ChannelInfo) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *ChannelInfo) GetColor() uint32 { - if x != nil && x.Color != nil { - return *x.Color - } - return 0 -} - -func (x *ChannelInfo) GetHoist() uint32 { - if x != nil && x.Hoist != nil { - return *x.Hoist - } - return 0 -} - -type ChannelLoginSig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type *uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` - Sig []byte `protobuf:"bytes,2,opt,name=sig" json:"sig,omitempty"` - Appid *uint32 `protobuf:"varint,3,opt,name=appid" json:"appid,omitempty"` -} - -func (x *ChannelLoginSig) Reset() { - *x = ChannelLoginSig{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelLoginSig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelLoginSig) ProtoMessage() {} - -func (x *ChannelLoginSig) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelLoginSig.ProtoReflect.Descriptor instead. -func (*ChannelLoginSig) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{6} -} - -func (x *ChannelLoginSig) GetType() uint32 { - if x != nil && x.Type != nil { - return *x.Type - } - return 0 -} - -func (x *ChannelLoginSig) GetSig() []byte { - if x != nil { - return x.Sig - } - return nil -} - -func (x *ChannelLoginSig) GetAppid() uint32 { - if x != nil && x.Appid != nil { - return *x.Appid - } - return 0 -} - -type ChannelMeta struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FromUin *uint64 `protobuf:"varint,1,opt,name=fromUin" json:"fromUin,omitempty"` - LoginSig *ChannelLoginSig `protobuf:"bytes,2,opt,name=loginSig" json:"loginSig,omitempty"` -} - -func (x *ChannelMeta) Reset() { - *x = ChannelMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelMeta) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelMeta) ProtoMessage() {} - -func (x *ChannelMeta) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelMeta.ProtoReflect.Descriptor instead. -func (*ChannelMeta) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{7} -} - -func (x *ChannelMeta) GetFromUin() uint64 { - if x != nil && x.FromUin != nil { - return *x.FromUin - } - return 0 -} - -func (x *ChannelMeta) GetLoginSig() *ChannelLoginSig { - if x != nil { - return x.LoginSig - } - return nil -} - -type ChannelMsgContent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Head *ChannelMsgHead `protobuf:"bytes,1,opt,name=head" json:"head,omitempty"` - CtrlHead *ChannelMsgCtrlHead `protobuf:"bytes,2,opt,name=ctrlHead" json:"ctrlHead,omitempty"` - Body *msg.MessageBody `protobuf:"bytes,3,opt,name=body" json:"body,omitempty"` - ExtInfo *ChannelExtInfo `protobuf:"bytes,4,opt,name=extInfo" json:"extInfo,omitempty"` -} - -func (x *ChannelMsgContent) Reset() { - *x = ChannelMsgContent{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelMsgContent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelMsgContent) ProtoMessage() {} - -func (x *ChannelMsgContent) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelMsgContent.ProtoReflect.Descriptor instead. -func (*ChannelMsgContent) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{8} -} - -func (x *ChannelMsgContent) GetHead() *ChannelMsgHead { - if x != nil { - return x.Head - } - return nil -} - -func (x *ChannelMsgContent) GetCtrlHead() *ChannelMsgCtrlHead { - if x != nil { - return x.CtrlHead - } - return nil -} - -func (x *ChannelMsgContent) GetBody() *msg.MessageBody { - if x != nil { - return x.Body - } - return nil -} - -func (x *ChannelMsgContent) GetExtInfo() *ChannelExtInfo { - if x != nil { - return x.ExtInfo - } - return nil -} - -type ChannelMsgCtrlHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IncludeUin []uint64 `protobuf:"varint,1,rep,name=includeUin" json:"includeUin,omitempty"` - ExcludeUin []uint64 `protobuf:"varint,2,rep,name=excludeUin" json:"excludeUin,omitempty"` - Featureid []uint64 `protobuf:"varint,3,rep,name=featureid" json:"featureid,omitempty"` - OfflineFlag *uint32 `protobuf:"varint,4,opt,name=offlineFlag" json:"offlineFlag,omitempty"` - Visibility *uint32 `protobuf:"varint,5,opt,name=visibility" json:"visibility,omitempty"` - CtrlFlag *uint64 `protobuf:"varint,6,opt,name=ctrlFlag" json:"ctrlFlag,omitempty"` - Events []*ChannelEvent `protobuf:"bytes,7,rep,name=events" json:"events,omitempty"` - Level *uint64 `protobuf:"varint,8,opt,name=level" json:"level,omitempty"` - PersonalLevels []*PersonalLevel `protobuf:"bytes,9,rep,name=personalLevels" json:"personalLevels,omitempty"` - GuildSyncSeq *uint64 `protobuf:"varint,10,opt,name=guildSyncSeq" json:"guildSyncSeq,omitempty"` - MemberNum *uint32 `protobuf:"varint,11,opt,name=memberNum" json:"memberNum,omitempty"` - ChannelType *uint32 `protobuf:"varint,12,opt,name=channelType" json:"channelType,omitempty"` - PrivateType *uint32 `protobuf:"varint,13,opt,name=privateType" json:"privateType,omitempty"` -} - -func (x *ChannelMsgCtrlHead) Reset() { - *x = ChannelMsgCtrlHead{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelMsgCtrlHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelMsgCtrlHead) ProtoMessage() {} - -func (x *ChannelMsgCtrlHead) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelMsgCtrlHead.ProtoReflect.Descriptor instead. -func (*ChannelMsgCtrlHead) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{9} -} - -func (x *ChannelMsgCtrlHead) GetIncludeUin() []uint64 { - if x != nil { - return x.IncludeUin - } - return nil -} - -func (x *ChannelMsgCtrlHead) GetExcludeUin() []uint64 { - if x != nil { - return x.ExcludeUin - } - return nil -} - -func (x *ChannelMsgCtrlHead) GetFeatureid() []uint64 { - if x != nil { - return x.Featureid - } - return nil -} - -func (x *ChannelMsgCtrlHead) GetOfflineFlag() uint32 { - if x != nil && x.OfflineFlag != nil { - return *x.OfflineFlag - } - return 0 -} - -func (x *ChannelMsgCtrlHead) GetVisibility() uint32 { - if x != nil && x.Visibility != nil { - return *x.Visibility - } - return 0 -} - -func (x *ChannelMsgCtrlHead) GetCtrlFlag() uint64 { - if x != nil && x.CtrlFlag != nil { - return *x.CtrlFlag - } - return 0 -} - -func (x *ChannelMsgCtrlHead) GetEvents() []*ChannelEvent { - if x != nil { - return x.Events - } - return nil -} - -func (x *ChannelMsgCtrlHead) GetLevel() uint64 { - if x != nil && x.Level != nil { - return *x.Level - } - return 0 -} - -func (x *ChannelMsgCtrlHead) GetPersonalLevels() []*PersonalLevel { - if x != nil { - return x.PersonalLevels - } - return nil -} - -func (x *ChannelMsgCtrlHead) GetGuildSyncSeq() uint64 { - if x != nil && x.GuildSyncSeq != nil { - return *x.GuildSyncSeq - } - return 0 -} - -func (x *ChannelMsgCtrlHead) GetMemberNum() uint32 { - if x != nil && x.MemberNum != nil { - return *x.MemberNum - } - return 0 -} - -func (x *ChannelMsgCtrlHead) GetChannelType() uint32 { - if x != nil && x.ChannelType != nil { - return *x.ChannelType - } - return 0 -} - -func (x *ChannelMsgCtrlHead) GetPrivateType() uint32 { - if x != nil && x.PrivateType != nil { - return *x.PrivateType - } - return 0 -} - -type ChannelMsgHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoutingHead *ChannelRoutingHead `protobuf:"bytes,1,opt,name=routingHead" json:"routingHead,omitempty"` - ContentHead *ChannelContentHead `protobuf:"bytes,2,opt,name=contentHead" json:"contentHead,omitempty"` -} - -func (x *ChannelMsgHead) Reset() { - *x = ChannelMsgHead{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelMsgHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelMsgHead) ProtoMessage() {} - -func (x *ChannelMsgHead) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelMsgHead.ProtoReflect.Descriptor instead. -func (*ChannelMsgHead) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{10} -} - -func (x *ChannelMsgHead) GetRoutingHead() *ChannelRoutingHead { - if x != nil { - return x.RoutingHead - } - return nil -} - -func (x *ChannelMsgHead) GetContentHead() *ChannelContentHead { - if x != nil { - return x.ContentHead - } - return nil -} - -type ChannelMsgMeta struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AtAllSeq *uint64 `protobuf:"varint,1,opt,name=atAllSeq" json:"atAllSeq,omitempty"` -} - -func (x *ChannelMsgMeta) Reset() { - *x = ChannelMsgMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelMsgMeta) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelMsgMeta) ProtoMessage() {} - -func (x *ChannelMsgMeta) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelMsgMeta.ProtoReflect.Descriptor instead. -func (*ChannelMsgMeta) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{11} -} - -func (x *ChannelMsgMeta) GetAtAllSeq() uint64 { - if x != nil && x.AtAllSeq != nil { - return *x.AtAllSeq - } - return 0 -} - -type ChannelMsgOpInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OperatorTinyid *uint64 `protobuf:"varint,1,opt,name=operatorTinyid" json:"operatorTinyid,omitempty"` - OperatorRole *uint64 `protobuf:"varint,2,opt,name=operatorRole" json:"operatorRole,omitempty"` - Reason *uint64 `protobuf:"varint,3,opt,name=reason" json:"reason,omitempty"` - Timestamp *uint64 `protobuf:"varint,4,opt,name=timestamp" json:"timestamp,omitempty"` - AtType *uint64 `protobuf:"varint,5,opt,name=atType" json:"atType,omitempty"` -} - -func (x *ChannelMsgOpInfo) Reset() { - *x = ChannelMsgOpInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelMsgOpInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelMsgOpInfo) ProtoMessage() {} - -func (x *ChannelMsgOpInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelMsgOpInfo.ProtoReflect.Descriptor instead. -func (*ChannelMsgOpInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{12} -} - -func (x *ChannelMsgOpInfo) GetOperatorTinyid() uint64 { - if x != nil && x.OperatorTinyid != nil { - return *x.OperatorTinyid - } - return 0 -} - -func (x *ChannelMsgOpInfo) GetOperatorRole() uint64 { - if x != nil && x.OperatorRole != nil { - return *x.OperatorRole - } - return 0 -} - -func (x *ChannelMsgOpInfo) GetReason() uint64 { - if x != nil && x.Reason != nil { - return *x.Reason - } - return 0 -} - -func (x *ChannelMsgOpInfo) GetTimestamp() uint64 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -func (x *ChannelMsgOpInfo) GetAtType() uint64 { - if x != nil && x.AtType != nil { - return *x.AtType - } - return 0 -} - -type PersonalLevel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ToUin *uint64 `protobuf:"varint,1,opt,name=toUin" json:"toUin,omitempty"` - Level *uint64 `protobuf:"varint,2,opt,name=level" json:"level,omitempty"` -} - -func (x *PersonalLevel) Reset() { - *x = PersonalLevel{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PersonalLevel) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PersonalLevel) ProtoMessage() {} - -func (x *PersonalLevel) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PersonalLevel.ProtoReflect.Descriptor instead. -func (*PersonalLevel) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{13} -} - -func (x *PersonalLevel) GetToUin() uint64 { - if x != nil && x.ToUin != nil { - return *x.ToUin - } - return 0 -} - -func (x *PersonalLevel) GetLevel() uint64 { - if x != nil && x.Level != nil { - return *x.Level - } - return 0 -} - -type ChannelRole struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` - Info []byte `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"` - Flag *uint32 `protobuf:"varint,3,opt,name=flag" json:"flag,omitempty"` -} - -func (x *ChannelRole) Reset() { - *x = ChannelRole{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelRole) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelRole) ProtoMessage() {} - -func (x *ChannelRole) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelRole.ProtoReflect.Descriptor instead. -func (*ChannelRole) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{14} -} - -func (x *ChannelRole) GetId() uint64 { - if x != nil && x.Id != nil { - return *x.Id - } - return 0 -} - -func (x *ChannelRole) GetInfo() []byte { - if x != nil { - return x.Info - } - return nil -} - -func (x *ChannelRole) GetFlag() uint32 { - if x != nil && x.Flag != nil { - return *x.Flag - } - return 0 -} - -type ChannelRoutingHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - ChannelId *uint64 `protobuf:"varint,2,opt,name=channelId" json:"channelId,omitempty"` - FromUin *uint64 `protobuf:"varint,3,opt,name=fromUin" json:"fromUin,omitempty"` - FromTinyid *uint64 `protobuf:"varint,4,opt,name=fromTinyid" json:"fromTinyid,omitempty"` - GuildCode *uint64 `protobuf:"varint,5,opt,name=guildCode" json:"guildCode,omitempty"` - FromAppid *uint64 `protobuf:"varint,6,opt,name=fromAppid" json:"fromAppid,omitempty"` - DirectMessageFlag *uint32 `protobuf:"varint,7,opt,name=directMessageFlag" json:"directMessageFlag,omitempty"` -} - -func (x *ChannelRoutingHead) Reset() { - *x = ChannelRoutingHead{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_common_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelRoutingHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelRoutingHead) ProtoMessage() {} - -func (x *ChannelRoutingHead) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_common_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelRoutingHead.ProtoReflect.Descriptor instead. -func (*ChannelRoutingHead) Descriptor() ([]byte, []int) { - return file_pb_channel_common_proto_rawDescGZIP(), []int{15} -} - -func (x *ChannelRoutingHead) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *ChannelRoutingHead) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *ChannelRoutingHead) GetFromUin() uint64 { - if x != nil && x.FromUin != nil { - return *x.FromUin - } - return 0 -} - -func (x *ChannelRoutingHead) GetFromTinyid() uint64 { - if x != nil && x.FromTinyid != nil { - return *x.FromTinyid - } - return 0 -} - -func (x *ChannelRoutingHead) GetGuildCode() uint64 { - if x != nil && x.GuildCode != nil { - return *x.GuildCode - } - return 0 -} - -func (x *ChannelRoutingHead) GetFromAppid() uint64 { - if x != nil && x.FromAppid != nil { - return *x.FromAppid - } - return 0 -} - -func (x *ChannelRoutingHead) GetDirectMessageFlag() uint32 { - if x != nil && x.DirectMessageFlag != nil { - return *x.DirectMessageFlag - } - return 0 -} - -var File_pb_channel_common_proto protoreflect.FileDescriptor - -var file_pb_channel_common_proto_rawDesc = []byte{ - 0x0a, 0x17, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x1a, 0x10, 0x70, 0x62, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x01, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x07, 0x73, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x6e, - 0x64, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x64, 0x6f, - 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, - 0x73, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6e, 0x74, 0x53, 0x65, 0x71, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x6e, 0x74, 0x53, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6d, - 0x65, 0x74, 0x61, 0x22, 0xeb, 0x01, 0x0a, 0x13, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, - 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x75, 0x69, 0x6e, 0x12, 0x16, 0x0a, - 0x06, 0x74, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x74, - 0x69, 0x6e, 0x79, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, - 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, - 0x65, 0x22, 0x6f, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x6f, 0x70, 0x49, 0x6e, - 0x66, 0x6f, 0x22, 0xca, 0x04, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x78, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x69, 0x63, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x69, 0x63, - 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x20, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x46, 0x6c, 0x61, 0x67, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x46, - 0x6c, 0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x22, 0x0a, - 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x2d, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x12, 0x38, 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x0c, 0x66, 0x72, - 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x43, 0x0a, 0x0d, 0x66, 0x72, - 0x65, 0x71, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x46, 0x72, 0x65, 0x71, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x0d, 0x66, 0x72, 0x65, 0x71, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x4e, 0x0a, 0x13, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x13, 0x64, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x22, - 0x7a, 0x0a, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x46, 0x72, 0x65, 0x71, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x69, 0x73, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6c, 0x69, 0x6d, - 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x5d, 0x0a, 0x0b, 0x43, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, - 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x6f, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x05, 0x68, 0x6f, 0x69, 0x73, 0x74, 0x22, 0x4d, 0x0a, 0x0f, 0x43, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x69, 0x67, 0x12, 0x12, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, - 0x73, 0x69, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x5d, 0x0a, 0x0b, 0x43, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, - 0x55, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x55, - 0x69, 0x6e, 0x12, 0x34, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x69, 0x67, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x69, 0x67, 0x52, 0x08, - 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x69, 0x67, 0x22, 0xd2, 0x01, 0x0a, 0x11, 0x43, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x2b, - 0x0a, 0x04, 0x68, 0x65, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, - 0x67, 0x48, 0x65, 0x61, 0x64, 0x52, 0x04, 0x68, 0x65, 0x61, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x63, - 0x74, 0x72, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, - 0x73, 0x67, 0x43, 0x74, 0x72, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x52, 0x08, 0x63, 0x74, 0x72, 0x6c, - 0x48, 0x65, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x31, 0x0a, 0x07, 0x65, 0x78, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x78, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x65, 0x78, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xdb, 0x03, - 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x43, 0x74, 0x72, 0x6c, - 0x48, 0x65, 0x61, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x55, - 0x69, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0a, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, - 0x65, 0x55, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x55, - 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, - 0x65, 0x55, 0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x69, - 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x46, 0x6c, 0x61, - 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, - 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x74, 0x72, 0x6c, 0x46, 0x6c, 0x61, 0x67, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x63, 0x74, 0x72, 0x6c, 0x46, 0x6c, 0x61, 0x67, - 0x12, 0x2d, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, - 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3e, 0x0a, 0x0e, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, - 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, - 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, - 0x65, 0x76, 0x65, 0x6c, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x79, - 0x6e, 0x63, 0x53, 0x65, 0x71, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x67, 0x75, 0x69, - 0x6c, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x72, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, - 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x0e, - 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x48, 0x65, 0x61, 0x64, 0x12, 0x3d, - 0x0a, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, - 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x12, 0x3d, 0x0a, - 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x52, - 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x22, 0x2c, 0x0a, 0x0e, - 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1a, - 0x0a, 0x08, 0x61, 0x74, 0x41, 0x6c, 0x6c, 0x53, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x08, 0x61, 0x74, 0x41, 0x6c, 0x6c, 0x53, 0x65, 0x71, 0x22, 0xac, 0x01, 0x0a, 0x10, 0x43, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x26, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x69, 0x6e, 0x79, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, - 0x72, 0x54, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, - 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x72, 0x65, 0x61, - 0x73, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x06, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3b, 0x0a, 0x0d, 0x50, 0x65, 0x72, - 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, - 0x55, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, - 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x45, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x61, - 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x22, 0xf0, 0x01, - 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, - 0x48, 0x65, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1c, - 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, - 0x66, 0x72, 0x6f, 0x6d, 0x55, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x66, - 0x72, 0x6f, 0x6d, 0x55, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x54, 0x69, - 0x6e, 0x79, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, - 0x54, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x43, - 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x70, 0x70, 0x69, - 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x70, 0x70, - 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x64, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, - 0x42, 0x14, 0x5a, 0x12, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x3b, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, -} - -var ( - file_pb_channel_common_proto_rawDescOnce sync.Once - file_pb_channel_common_proto_rawDescData = file_pb_channel_common_proto_rawDesc -) - -func file_pb_channel_common_proto_rawDescGZIP() []byte { - file_pb_channel_common_proto_rawDescOnce.Do(func() { - file_pb_channel_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_channel_common_proto_rawDescData) - }) - return file_pb_channel_common_proto_rawDescData -} - -var file_pb_channel_common_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_pb_channel_common_proto_goTypes = []interface{}{ - (*ChannelContentHead)(nil), // 0: channel.ChannelContentHead - (*DirectMessageMember)(nil), // 1: channel.DirectMessageMember - (*ChannelEvent)(nil), // 2: channel.ChannelEvent - (*ChannelExtInfo)(nil), // 3: channel.ChannelExtInfo - (*ChannelFreqLimitInfo)(nil), // 4: channel.ChannelFreqLimitInfo - (*ChannelInfo)(nil), // 5: channel.ChannelInfo - (*ChannelLoginSig)(nil), // 6: channel.ChannelLoginSig - (*ChannelMeta)(nil), // 7: channel.ChannelMeta - (*ChannelMsgContent)(nil), // 8: channel.ChannelMsgContent - (*ChannelMsgCtrlHead)(nil), // 9: channel.ChannelMsgCtrlHead - (*ChannelMsgHead)(nil), // 10: channel.ChannelMsgHead - (*ChannelMsgMeta)(nil), // 11: channel.ChannelMsgMeta - (*ChannelMsgOpInfo)(nil), // 12: channel.ChannelMsgOpInfo - (*PersonalLevel)(nil), // 13: channel.PersonalLevel - (*ChannelRole)(nil), // 14: channel.ChannelRole - (*ChannelRoutingHead)(nil), // 15: channel.ChannelRoutingHead - (*msg.MessageBody)(nil), // 16: msg.MessageBody -} -var file_pb_channel_common_proto_depIdxs = []int32{ - 12, // 0: channel.ChannelEvent.opInfo:type_name -> channel.ChannelMsgOpInfo - 2, // 1: channel.ChannelExtInfo.events:type_name -> channel.ChannelEvent - 14, // 2: channel.ChannelExtInfo.fromRoleInfo:type_name -> channel.ChannelRole - 4, // 3: channel.ChannelExtInfo.freqLimitInfo:type_name -> channel.ChannelFreqLimitInfo - 1, // 4: channel.ChannelExtInfo.directMessageMember:type_name -> channel.DirectMessageMember - 6, // 5: channel.ChannelMeta.loginSig:type_name -> channel.ChannelLoginSig - 10, // 6: channel.ChannelMsgContent.head:type_name -> channel.ChannelMsgHead - 9, // 7: channel.ChannelMsgContent.ctrlHead:type_name -> channel.ChannelMsgCtrlHead - 16, // 8: channel.ChannelMsgContent.body:type_name -> msg.MessageBody - 3, // 9: channel.ChannelMsgContent.extInfo:type_name -> channel.ChannelExtInfo - 2, // 10: channel.ChannelMsgCtrlHead.events:type_name -> channel.ChannelEvent - 13, // 11: channel.ChannelMsgCtrlHead.personalLevels:type_name -> channel.PersonalLevel - 15, // 12: channel.ChannelMsgHead.routingHead:type_name -> channel.ChannelRoutingHead - 0, // 13: channel.ChannelMsgHead.contentHead:type_name -> channel.ChannelContentHead - 14, // [14:14] is the sub-list for method output_type - 14, // [14:14] is the sub-list for method input_type - 14, // [14:14] is the sub-list for extension type_name - 14, // [14:14] is the sub-list for extension extendee - 0, // [0:14] is the sub-list for field type_name -} - -func init() { file_pb_channel_common_proto_init() } -func file_pb_channel_common_proto_init() { - if File_pb_channel_common_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_pb_channel_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelContentHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DirectMessageMember); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelExtInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelFreqLimitInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelLoginSig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelMeta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelMsgContent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelMsgCtrlHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelMsgHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelMsgMeta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelMsgOpInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PersonalLevel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelRole); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_common_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelRoutingHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pb_channel_common_proto_rawDesc, - NumEnums: 0, - NumMessages: 16, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_pb_channel_common_proto_goTypes, - DependencyIndexes: file_pb_channel_common_proto_depIdxs, - MessageInfos: file_pb_channel_common_proto_msgTypes, - }.Build() - File_pb_channel_common_proto = out.File - file_pb_channel_common_proto_rawDesc = nil - file_pb_channel_common_proto_goTypes = nil - file_pb_channel_common_proto_depIdxs = nil -} diff --git a/client/pb/channel/msgpush.pb.go b/client/pb/channel/msgpush.pb.go deleted file mode 100644 index c5838490..00000000 --- a/client/pb/channel/msgpush.pb.go +++ /dev/null @@ -1,494 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.14.0 -// source: pb/channel/msgpush.proto - -package channel - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type FocusInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelIdList []uint64 `protobuf:"varint,1,rep,name=channelIdList" json:"channelIdList,omitempty"` -} - -func (x *FocusInfo) Reset() { - *x = FocusInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_msgpush_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FocusInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FocusInfo) ProtoMessage() {} - -func (x *FocusInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_msgpush_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FocusInfo.ProtoReflect.Descriptor instead. -func (*FocusInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_msgpush_proto_rawDescGZIP(), []int{0} -} - -func (x *FocusInfo) GetChannelIdList() []uint64 { - if x != nil { - return x.ChannelIdList - } - return nil -} - -type MsgOnlinePush struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Msgs []*ChannelMsgContent `protobuf:"bytes,1,rep,name=msgs" json:"msgs,omitempty"` - GeneralFlag *uint32 `protobuf:"varint,2,opt,name=generalFlag" json:"generalFlag,omitempty"` - NeedResp *uint32 `protobuf:"varint,3,opt,name=needResp" json:"needResp,omitempty"` - ServerBuf []byte `protobuf:"bytes,4,opt,name=serverBuf" json:"serverBuf,omitempty"` - CompressFlag *uint32 `protobuf:"varint,5,opt,name=compressFlag" json:"compressFlag,omitempty"` - CompressMsg []byte `protobuf:"bytes,6,opt,name=compressMsg" json:"compressMsg,omitempty"` - FocusInfo *FocusInfo `protobuf:"bytes,7,opt,name=focusInfo" json:"focusInfo,omitempty"` - HugeFlag *uint32 `protobuf:"varint,8,opt,name=hugeFlag" json:"hugeFlag,omitempty"` -} - -func (x *MsgOnlinePush) Reset() { - *x = MsgOnlinePush{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_msgpush_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgOnlinePush) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgOnlinePush) ProtoMessage() {} - -func (x *MsgOnlinePush) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_msgpush_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgOnlinePush.ProtoReflect.Descriptor instead. -func (*MsgOnlinePush) Descriptor() ([]byte, []int) { - return file_pb_channel_msgpush_proto_rawDescGZIP(), []int{1} -} - -func (x *MsgOnlinePush) GetMsgs() []*ChannelMsgContent { - if x != nil { - return x.Msgs - } - return nil -} - -func (x *MsgOnlinePush) GetGeneralFlag() uint32 { - if x != nil && x.GeneralFlag != nil { - return *x.GeneralFlag - } - return 0 -} - -func (x *MsgOnlinePush) GetNeedResp() uint32 { - if x != nil && x.NeedResp != nil { - return *x.NeedResp - } - return 0 -} - -func (x *MsgOnlinePush) GetServerBuf() []byte { - if x != nil { - return x.ServerBuf - } - return nil -} - -func (x *MsgOnlinePush) GetCompressFlag() uint32 { - if x != nil && x.CompressFlag != nil { - return *x.CompressFlag - } - return 0 -} - -func (x *MsgOnlinePush) GetCompressMsg() []byte { - if x != nil { - return x.CompressMsg - } - return nil -} - -func (x *MsgOnlinePush) GetFocusInfo() *FocusInfo { - if x != nil { - return x.FocusInfo - } - return nil -} - -func (x *MsgOnlinePush) GetHugeFlag() uint32 { - if x != nil && x.HugeFlag != nil { - return *x.HugeFlag - } - return 0 -} - -type MsgPushResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServerBuf []byte `protobuf:"bytes,1,opt,name=serverBuf" json:"serverBuf,omitempty"` -} - -func (x *MsgPushResp) Reset() { - *x = MsgPushResp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_msgpush_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgPushResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgPushResp) ProtoMessage() {} - -func (x *MsgPushResp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_msgpush_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgPushResp.ProtoReflect.Descriptor instead. -func (*MsgPushResp) Descriptor() ([]byte, []int) { - return file_pb_channel_msgpush_proto_rawDescGZIP(), []int{2} -} - -func (x *MsgPushResp) GetServerBuf() []byte { - if x != nil { - return x.ServerBuf - } - return nil -} - -type PressMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Msgs []*ChannelMsgContent `protobuf:"bytes,1,rep,name=msgs" json:"msgs,omitempty"` -} - -func (x *PressMsg) Reset() { - *x = PressMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_msgpush_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PressMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PressMsg) ProtoMessage() {} - -func (x *PressMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_msgpush_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PressMsg.ProtoReflect.Descriptor instead. -func (*PressMsg) Descriptor() ([]byte, []int) { - return file_pb_channel_msgpush_proto_rawDescGZIP(), []int{3} -} - -func (x *PressMsg) GetMsgs() []*ChannelMsgContent { - if x != nil { - return x.Msgs - } - return nil -} - -type ServerBuf struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SvrIp *uint32 `protobuf:"varint,1,opt,name=svrIp" json:"svrIp,omitempty"` - SvrPort *uint32 `protobuf:"varint,2,opt,name=svrPort" json:"svrPort,omitempty"` - EchoKey []byte `protobuf:"bytes,3,opt,name=echoKey" json:"echoKey,omitempty"` -} - -func (x *ServerBuf) Reset() { - *x = ServerBuf{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_msgpush_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServerBuf) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServerBuf) ProtoMessage() {} - -func (x *ServerBuf) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_msgpush_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServerBuf.ProtoReflect.Descriptor instead. -func (*ServerBuf) Descriptor() ([]byte, []int) { - return file_pb_channel_msgpush_proto_rawDescGZIP(), []int{4} -} - -func (x *ServerBuf) GetSvrIp() uint32 { - if x != nil && x.SvrIp != nil { - return *x.SvrIp - } - return 0 -} - -func (x *ServerBuf) GetSvrPort() uint32 { - if x != nil && x.SvrPort != nil { - return *x.SvrPort - } - return 0 -} - -func (x *ServerBuf) GetEchoKey() []byte { - if x != nil { - return x.EchoKey - } - return nil -} - -var File_pb_channel_msgpush_proto protoreflect.FileDescriptor - -var file_pb_channel_msgpush_proto_rawDesc = []byte{ - 0x0a, 0x18, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x6d, 0x73, 0x67, - 0x70, 0x75, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x1a, 0x17, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, 0x0a, 0x09, - 0x46, 0x6f, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, - 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, - 0xaf, 0x02, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x75, 0x73, - 0x68, 0x12, 0x2e, 0x0a, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6d, 0x73, 0x67, - 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x46, 0x6c, 0x61, 0x67, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x46, - 0x6c, 0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6e, 0x65, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x12, 0x22, 0x0a, - 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6c, 0x61, - 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x73, 0x67, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, - 0x4d, 0x73, 0x67, 0x12, 0x30, 0x0a, 0x09, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x66, 0x6f, 0x63, 0x75, - 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x75, 0x67, 0x65, 0x46, 0x6c, 0x61, - 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x68, 0x75, 0x67, 0x65, 0x46, 0x6c, 0x61, - 0x67, 0x22, 0x2b, 0x0a, 0x0b, 0x4d, 0x73, 0x67, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x22, 0x3a, - 0x0a, 0x08, 0x50, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x73, 0x67, 0x12, 0x2e, 0x0a, 0x04, 0x6d, 0x73, - 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x22, 0x55, 0x0a, 0x09, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x76, 0x72, 0x49, 0x70, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x76, 0x72, 0x49, 0x70, 0x12, 0x18, 0x0a, - 0x07, 0x73, 0x76, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, - 0x73, 0x76, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x63, 0x68, 0x6f, 0x4b, - 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x65, 0x63, 0x68, 0x6f, 0x4b, 0x65, - 0x79, 0x42, 0x14, 0x5a, 0x12, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x3b, - 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, -} - -var ( - file_pb_channel_msgpush_proto_rawDescOnce sync.Once - file_pb_channel_msgpush_proto_rawDescData = file_pb_channel_msgpush_proto_rawDesc -) - -func file_pb_channel_msgpush_proto_rawDescGZIP() []byte { - file_pb_channel_msgpush_proto_rawDescOnce.Do(func() { - file_pb_channel_msgpush_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_channel_msgpush_proto_rawDescData) - }) - return file_pb_channel_msgpush_proto_rawDescData -} - -var file_pb_channel_msgpush_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_pb_channel_msgpush_proto_goTypes = []interface{}{ - (*FocusInfo)(nil), // 0: channel.FocusInfo - (*MsgOnlinePush)(nil), // 1: channel.MsgOnlinePush - (*MsgPushResp)(nil), // 2: channel.MsgPushResp - (*PressMsg)(nil), // 3: channel.PressMsg - (*ServerBuf)(nil), // 4: channel.ServerBuf - (*ChannelMsgContent)(nil), // 5: channel.ChannelMsgContent -} -var file_pb_channel_msgpush_proto_depIdxs = []int32{ - 5, // 0: channel.MsgOnlinePush.msgs:type_name -> channel.ChannelMsgContent - 0, // 1: channel.MsgOnlinePush.focusInfo:type_name -> channel.FocusInfo - 5, // 2: channel.PressMsg.msgs:type_name -> channel.ChannelMsgContent - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_pb_channel_msgpush_proto_init() } -func file_pb_channel_msgpush_proto_init() { - if File_pb_channel_msgpush_proto != nil { - return - } - file_pb_channel_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_pb_channel_msgpush_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FocusInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_msgpush_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgOnlinePush); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_msgpush_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPushResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_msgpush_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PressMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_msgpush_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerBuf); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pb_channel_msgpush_proto_rawDesc, - NumEnums: 0, - NumMessages: 5, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_pb_channel_msgpush_proto_goTypes, - DependencyIndexes: file_pb_channel_msgpush_proto_depIdxs, - MessageInfos: file_pb_channel_msgpush_proto_msgTypes, - }.Build() - File_pb_channel_msgpush_proto = out.File - file_pb_channel_msgpush_proto_rawDesc = nil - file_pb_channel_msgpush_proto_goTypes = nil - file_pb_channel_msgpush_proto_depIdxs = nil -} diff --git a/client/pb/channel/oidb0xf62.pb.go b/client/pb/channel/oidb0xf62.pb.go deleted file mode 100644 index c46e9d32..00000000 --- a/client/pb/channel/oidb0xf62.pb.go +++ /dev/null @@ -1,372 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.14.0 -// source: pb/channel/oidb0xf62.proto - -package channel - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type DF62ReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Msg *ChannelMsgContent `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"` -} - -func (x *DF62ReqBody) Reset() { - *x = DF62ReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_oidb0xf62_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DF62ReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DF62ReqBody) ProtoMessage() {} - -func (x *DF62ReqBody) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_oidb0xf62_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DF62ReqBody.ProtoReflect.Descriptor instead. -func (*DF62ReqBody) Descriptor() ([]byte, []int) { - return file_pb_channel_oidb0xf62_proto_rawDescGZIP(), []int{0} -} - -func (x *DF62ReqBody) GetMsg() *ChannelMsgContent { - if x != nil { - return x.Msg - } - return nil -} - -type DF62RspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - Errmsg []byte `protobuf:"bytes,2,opt,name=errmsg" json:"errmsg,omitempty"` - SendTime *uint32 `protobuf:"varint,3,opt,name=sendTime" json:"sendTime,omitempty"` - Head *ChannelMsgHead `protobuf:"bytes,4,opt,name=head" json:"head,omitempty"` - ErrType *uint32 `protobuf:"varint,5,opt,name=errType" json:"errType,omitempty"` - TransSvrInfo *TransSvrInfo `protobuf:"bytes,6,opt,name=transSvrInfo" json:"transSvrInfo,omitempty"` - FreqLimitInfo *ChannelFreqLimitInfo `protobuf:"bytes,7,opt,name=freqLimitInfo" json:"freqLimitInfo,omitempty"` -} - -func (x *DF62RspBody) Reset() { - *x = DF62RspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_oidb0xf62_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DF62RspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DF62RspBody) ProtoMessage() {} - -func (x *DF62RspBody) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_oidb0xf62_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DF62RspBody.ProtoReflect.Descriptor instead. -func (*DF62RspBody) Descriptor() ([]byte, []int) { - return file_pb_channel_oidb0xf62_proto_rawDescGZIP(), []int{1} -} - -func (x *DF62RspBody) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *DF62RspBody) GetErrmsg() []byte { - if x != nil { - return x.Errmsg - } - return nil -} - -func (x *DF62RspBody) GetSendTime() uint32 { - if x != nil && x.SendTime != nil { - return *x.SendTime - } - return 0 -} - -func (x *DF62RspBody) GetHead() *ChannelMsgHead { - if x != nil { - return x.Head - } - return nil -} - -func (x *DF62RspBody) GetErrType() uint32 { - if x != nil && x.ErrType != nil { - return *x.ErrType - } - return 0 -} - -func (x *DF62RspBody) GetTransSvrInfo() *TransSvrInfo { - if x != nil { - return x.TransSvrInfo - } - return nil -} - -func (x *DF62RspBody) GetFreqLimitInfo() *ChannelFreqLimitInfo { - if x != nil { - return x.FreqLimitInfo - } - return nil -} - -type TransSvrInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SubType *uint32 `protobuf:"varint,1,opt,name=subType" json:"subType,omitempty"` - RetCode *int32 `protobuf:"varint,2,opt,name=retCode" json:"retCode,omitempty"` - ErrMsg []byte `protobuf:"bytes,3,opt,name=errMsg" json:"errMsg,omitempty"` - TransInfo []byte `protobuf:"bytes,4,opt,name=transInfo" json:"transInfo,omitempty"` -} - -func (x *TransSvrInfo) Reset() { - *x = TransSvrInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_oidb0xf62_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TransSvrInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TransSvrInfo) ProtoMessage() {} - -func (x *TransSvrInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_oidb0xf62_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TransSvrInfo.ProtoReflect.Descriptor instead. -func (*TransSvrInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_oidb0xf62_proto_rawDescGZIP(), []int{2} -} - -func (x *TransSvrInfo) GetSubType() uint32 { - if x != nil && x.SubType != nil { - return *x.SubType - } - return 0 -} - -func (x *TransSvrInfo) GetRetCode() int32 { - if x != nil && x.RetCode != nil { - return *x.RetCode - } - return 0 -} - -func (x *TransSvrInfo) GetErrMsg() []byte { - if x != nil { - return x.ErrMsg - } - return nil -} - -func (x *TransSvrInfo) GetTransInfo() []byte { - if x != nil { - return x.TransInfo - } - return nil -} - -var File_pb_channel_oidb0xf62_proto protoreflect.FileDescriptor - -var file_pb_channel_oidb0xf62_proto_rawDesc = []byte{ - 0x0a, 0x1a, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x6f, 0x69, 0x64, - 0x62, 0x30, 0x78, 0x66, 0x36, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x17, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, - 0x0a, 0x0b, 0x44, 0x46, 0x36, 0x32, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x2c, 0x0a, - 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xa0, 0x02, 0x0a, 0x0b, - 0x44, 0x46, 0x36, 0x32, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x73, - 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, - 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x68, 0x65, 0x61, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x48, 0x65, 0x61, 0x64, 0x52, 0x04, - 0x68, 0x65, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x54, 0x79, 0x70, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x72, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x39, - 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x53, 0x76, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x53, 0x76, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x53, 0x76, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x43, 0x0a, 0x0d, 0x66, 0x72, 0x65, - 0x71, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x46, 0x72, 0x65, 0x71, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x0d, 0x66, 0x72, 0x65, 0x71, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x78, - 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x53, 0x76, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, - 0x0a, 0x07, 0x73, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x07, 0x73, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, - 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, - 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x14, 0x5a, 0x12, 0x70, 0x62, 0x2f, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, -} - -var ( - file_pb_channel_oidb0xf62_proto_rawDescOnce sync.Once - file_pb_channel_oidb0xf62_proto_rawDescData = file_pb_channel_oidb0xf62_proto_rawDesc -) - -func file_pb_channel_oidb0xf62_proto_rawDescGZIP() []byte { - file_pb_channel_oidb0xf62_proto_rawDescOnce.Do(func() { - file_pb_channel_oidb0xf62_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_channel_oidb0xf62_proto_rawDescData) - }) - return file_pb_channel_oidb0xf62_proto_rawDescData -} - -var file_pb_channel_oidb0xf62_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_pb_channel_oidb0xf62_proto_goTypes = []interface{}{ - (*DF62ReqBody)(nil), // 0: channel.DF62ReqBody - (*DF62RspBody)(nil), // 1: channel.DF62RspBody - (*TransSvrInfo)(nil), // 2: channel.TransSvrInfo - (*ChannelMsgContent)(nil), // 3: channel.ChannelMsgContent - (*ChannelMsgHead)(nil), // 4: channel.ChannelMsgHead - (*ChannelFreqLimitInfo)(nil), // 5: channel.ChannelFreqLimitInfo -} -var file_pb_channel_oidb0xf62_proto_depIdxs = []int32{ - 3, // 0: channel.DF62ReqBody.msg:type_name -> channel.ChannelMsgContent - 4, // 1: channel.DF62RspBody.head:type_name -> channel.ChannelMsgHead - 2, // 2: channel.DF62RspBody.transSvrInfo:type_name -> channel.TransSvrInfo - 5, // 3: channel.DF62RspBody.freqLimitInfo:type_name -> channel.ChannelFreqLimitInfo - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_pb_channel_oidb0xf62_proto_init() } -func file_pb_channel_oidb0xf62_proto_init() { - if File_pb_channel_oidb0xf62_proto != nil { - return - } - file_pb_channel_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_pb_channel_oidb0xf62_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DF62ReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_oidb0xf62_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DF62RspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_oidb0xf62_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransSvrInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pb_channel_oidb0xf62_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_pb_channel_oidb0xf62_proto_goTypes, - DependencyIndexes: file_pb_channel_oidb0xf62_proto_depIdxs, - MessageInfos: file_pb_channel_oidb0xf62_proto_msgTypes, - }.Build() - File_pb_channel_oidb0xf62_proto = out.File - file_pb_channel_oidb0xf62_proto_rawDesc = nil - file_pb_channel_oidb0xf62_proto_goTypes = nil - file_pb_channel_oidb0xf62_proto_depIdxs = nil -} diff --git a/client/pb/channel/servtype.pb.go b/client/pb/channel/servtype.pb.go deleted file mode 100644 index 66de229e..00000000 --- a/client/pb/channel/servtype.pb.go +++ /dev/null @@ -1,4358 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.14.0 -// source: pb/channel/servtype.proto - -package channel - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type AppChannelMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Summary *string `protobuf:"bytes,1,opt,name=summary" json:"summary,omitempty"` - Msg *string `protobuf:"bytes,2,opt,name=msg" json:"msg,omitempty"` - ExpireTimeMs *uint64 `protobuf:"varint,3,opt,name=expireTimeMs" json:"expireTimeMs,omitempty"` - SchemaType *uint32 `protobuf:"varint,4,opt,name=schemaType" json:"schemaType,omitempty"` - Schema *string `protobuf:"bytes,5,opt,name=schema" json:"schema,omitempty"` -} - -func (x *AppChannelMsg) Reset() { - *x = AppChannelMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AppChannelMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AppChannelMsg) ProtoMessage() {} - -func (x *AppChannelMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AppChannelMsg.ProtoReflect.Descriptor instead. -func (*AppChannelMsg) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{0} -} - -func (x *AppChannelMsg) GetSummary() string { - if x != nil && x.Summary != nil { - return *x.Summary - } - return "" -} - -func (x *AppChannelMsg) GetMsg() string { - if x != nil && x.Msg != nil { - return *x.Msg - } - return "" -} - -func (x *AppChannelMsg) GetExpireTimeMs() uint64 { - if x != nil && x.ExpireTimeMs != nil { - return *x.ExpireTimeMs - } - return 0 -} - -func (x *AppChannelMsg) GetSchemaType() uint32 { - if x != nil && x.SchemaType != nil { - return *x.SchemaType - } - return 0 -} - -func (x *AppChannelMsg) GetSchema() string { - if x != nil && x.Schema != nil { - return *x.Schema - } - return "" -} - -type CategoryChannelInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelIndex *uint32 `protobuf:"varint,1,opt,name=channelIndex" json:"channelIndex,omitempty"` - ChannelId *uint64 `protobuf:"varint,2,opt,name=channelId" json:"channelId,omitempty"` -} - -func (x *CategoryChannelInfo) Reset() { - *x = CategoryChannelInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CategoryChannelInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CategoryChannelInfo) ProtoMessage() {} - -func (x *CategoryChannelInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CategoryChannelInfo.ProtoReflect.Descriptor instead. -func (*CategoryChannelInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{1} -} - -func (x *CategoryChannelInfo) GetChannelIndex() uint32 { - if x != nil && x.ChannelIndex != nil { - return *x.ChannelIndex - } - return 0 -} - -func (x *CategoryChannelInfo) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -type CategoryInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CategoryIndex *uint32 `protobuf:"varint,1,opt,name=categoryIndex" json:"categoryIndex,omitempty"` - ChannelInfo []*CategoryChannelInfo `protobuf:"bytes,2,rep,name=channelInfo" json:"channelInfo,omitempty"` - CategoryName []byte `protobuf:"bytes,3,opt,name=categoryName" json:"categoryName,omitempty"` - CategoryId *uint64 `protobuf:"varint,4,opt,name=categoryId" json:"categoryId,omitempty"` -} - -func (x *CategoryInfo) Reset() { - *x = CategoryInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CategoryInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CategoryInfo) ProtoMessage() {} - -func (x *CategoryInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CategoryInfo.ProtoReflect.Descriptor instead. -func (*CategoryInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{2} -} - -func (x *CategoryInfo) GetCategoryIndex() uint32 { - if x != nil && x.CategoryIndex != nil { - return *x.CategoryIndex - } - return 0 -} - -func (x *CategoryInfo) GetChannelInfo() []*CategoryChannelInfo { - if x != nil { - return x.ChannelInfo - } - return nil -} - -func (x *CategoryInfo) GetCategoryName() []byte { - if x != nil { - return x.CategoryName - } - return nil -} - -func (x *CategoryInfo) GetCategoryId() uint64 { - if x != nil && x.CategoryId != nil { - return *x.CategoryId - } - return 0 -} - -type ChanInfoFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelName *uint32 `protobuf:"varint,2,opt,name=channelName" json:"channelName,omitempty"` - CreatorId *uint32 `protobuf:"varint,3,opt,name=creatorId" json:"creatorId,omitempty"` - CreateTime *uint32 `protobuf:"varint,4,opt,name=createTime" json:"createTime,omitempty"` - GuildId *uint32 `protobuf:"varint,5,opt,name=guildId" json:"guildId,omitempty"` - MsgNotifyType *uint32 `protobuf:"varint,6,opt,name=msgNotifyType" json:"msgNotifyType,omitempty"` - ChannelType *uint32 `protobuf:"varint,7,opt,name=channelType" json:"channelType,omitempty"` - SpeakPermission *uint32 `protobuf:"varint,8,opt,name=speakPermission" json:"speakPermission,omitempty"` - LastMsgSeq *uint32 `protobuf:"varint,11,opt,name=lastMsgSeq" json:"lastMsgSeq,omitempty"` - LastCntMsgSeq *uint32 `protobuf:"varint,12,opt,name=lastCntMsgSeq" json:"lastCntMsgSeq,omitempty"` - VoiceChannelInfoFilter *VoiceChannelInfoFilter `protobuf:"bytes,14,opt,name=voiceChannelInfoFilter" json:"voiceChannelInfoFilter,omitempty"` - LiveChannelInfoFilter *LiveChannelInfoFilter `protobuf:"bytes,15,opt,name=liveChannelInfoFilter" json:"liveChannelInfoFilter,omitempty"` - BannedSpeak *uint32 `protobuf:"varint,16,opt,name=bannedSpeak" json:"bannedSpeak,omitempty"` -} - -func (x *ChanInfoFilter) Reset() { - *x = ChanInfoFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChanInfoFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChanInfoFilter) ProtoMessage() {} - -func (x *ChanInfoFilter) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChanInfoFilter.ProtoReflect.Descriptor instead. -func (*ChanInfoFilter) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{3} -} - -func (x *ChanInfoFilter) GetChannelName() uint32 { - if x != nil && x.ChannelName != nil { - return *x.ChannelName - } - return 0 -} - -func (x *ChanInfoFilter) GetCreatorId() uint32 { - if x != nil && x.CreatorId != nil { - return *x.CreatorId - } - return 0 -} - -func (x *ChanInfoFilter) GetCreateTime() uint32 { - if x != nil && x.CreateTime != nil { - return *x.CreateTime - } - return 0 -} - -func (x *ChanInfoFilter) GetGuildId() uint32 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *ChanInfoFilter) GetMsgNotifyType() uint32 { - if x != nil && x.MsgNotifyType != nil { - return *x.MsgNotifyType - } - return 0 -} - -func (x *ChanInfoFilter) GetChannelType() uint32 { - if x != nil && x.ChannelType != nil { - return *x.ChannelType - } - return 0 -} - -func (x *ChanInfoFilter) GetSpeakPermission() uint32 { - if x != nil && x.SpeakPermission != nil { - return *x.SpeakPermission - } - return 0 -} - -func (x *ChanInfoFilter) GetLastMsgSeq() uint32 { - if x != nil && x.LastMsgSeq != nil { - return *x.LastMsgSeq - } - return 0 -} - -func (x *ChanInfoFilter) GetLastCntMsgSeq() uint32 { - if x != nil && x.LastCntMsgSeq != nil { - return *x.LastCntMsgSeq - } - return 0 -} - -func (x *ChanInfoFilter) GetVoiceChannelInfoFilter() *VoiceChannelInfoFilter { - if x != nil { - return x.VoiceChannelInfoFilter - } - return nil -} - -func (x *ChanInfoFilter) GetLiveChannelInfoFilter() *LiveChannelInfoFilter { - if x != nil { - return x.LiveChannelInfoFilter - } - return nil -} - -func (x *ChanInfoFilter) GetBannedSpeak() uint32 { - if x != nil && x.BannedSpeak != nil { - return *x.BannedSpeak - } - return 0 -} - -type ChangeChanInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - ChanId *uint64 `protobuf:"varint,2,opt,name=chanId" json:"chanId,omitempty"` - OperatorId *uint64 `protobuf:"varint,3,opt,name=operatorId" json:"operatorId,omitempty"` - InfoSeq *MsgSeq `protobuf:"bytes,4,opt,name=infoSeq" json:"infoSeq,omitempty"` - UpdateType *uint32 `protobuf:"varint,5,opt,name=updateType" json:"updateType,omitempty"` - ChanInfoFilter *ChanInfoFilter `protobuf:"bytes,6,opt,name=chanInfoFilter" json:"chanInfoFilter,omitempty"` - ChanInfo *ServChannelInfo `protobuf:"bytes,7,opt,name=chanInfo" json:"chanInfo,omitempty"` -} - -func (x *ChangeChanInfo) Reset() { - *x = ChangeChanInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChangeChanInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChangeChanInfo) ProtoMessage() {} - -func (x *ChangeChanInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChangeChanInfo.ProtoReflect.Descriptor instead. -func (*ChangeChanInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{4} -} - -func (x *ChangeChanInfo) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *ChangeChanInfo) GetChanId() uint64 { - if x != nil && x.ChanId != nil { - return *x.ChanId - } - return 0 -} - -func (x *ChangeChanInfo) GetOperatorId() uint64 { - if x != nil && x.OperatorId != nil { - return *x.OperatorId - } - return 0 -} - -func (x *ChangeChanInfo) GetInfoSeq() *MsgSeq { - if x != nil { - return x.InfoSeq - } - return nil -} - -func (x *ChangeChanInfo) GetUpdateType() uint32 { - if x != nil && x.UpdateType != nil { - return *x.UpdateType - } - return 0 -} - -func (x *ChangeChanInfo) GetChanInfoFilter() *ChanInfoFilter { - if x != nil { - return x.ChanInfoFilter - } - return nil -} - -func (x *ChangeChanInfo) GetChanInfo() *ServChannelInfo { - if x != nil { - return x.ChanInfo - } - return nil -} - -type ChangeGuildInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - OperatorId *uint64 `protobuf:"varint,2,opt,name=operatorId" json:"operatorId,omitempty"` - InfoSeq *MsgSeq `protobuf:"bytes,3,opt,name=infoSeq" json:"infoSeq,omitempty"` - FaceSeq *MsgSeq `protobuf:"bytes,4,opt,name=faceSeq" json:"faceSeq,omitempty"` - UpdateType *uint32 `protobuf:"varint,5,opt,name=updateType" json:"updateType,omitempty"` - GuildInfoFilter *GuildInfoFilter `protobuf:"bytes,6,opt,name=guildInfoFilter" json:"guildInfoFilter,omitempty"` - GuildInfo *GuildInfo `protobuf:"bytes,7,opt,name=guildInfo" json:"guildInfo,omitempty"` -} - -func (x *ChangeGuildInfo) Reset() { - *x = ChangeGuildInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChangeGuildInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChangeGuildInfo) ProtoMessage() {} - -func (x *ChangeGuildInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChangeGuildInfo.ProtoReflect.Descriptor instead. -func (*ChangeGuildInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{5} -} - -func (x *ChangeGuildInfo) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *ChangeGuildInfo) GetOperatorId() uint64 { - if x != nil && x.OperatorId != nil { - return *x.OperatorId - } - return 0 -} - -func (x *ChangeGuildInfo) GetInfoSeq() *MsgSeq { - if x != nil { - return x.InfoSeq - } - return nil -} - -func (x *ChangeGuildInfo) GetFaceSeq() *MsgSeq { - if x != nil { - return x.FaceSeq - } - return nil -} - -func (x *ChangeGuildInfo) GetUpdateType() uint32 { - if x != nil && x.UpdateType != nil { - return *x.UpdateType - } - return 0 -} - -func (x *ChangeGuildInfo) GetGuildInfoFilter() *GuildInfoFilter { - if x != nil { - return x.GuildInfoFilter - } - return nil -} - -func (x *ChangeGuildInfo) GetGuildInfo() *GuildInfo { - if x != nil { - return x.GuildInfo - } - return nil -} - -type ChannelID struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChanId *uint64 `protobuf:"varint,1,opt,name=chanId" json:"chanId,omitempty"` -} - -func (x *ChannelID) Reset() { - *x = ChannelID{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelID) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelID) ProtoMessage() {} - -func (x *ChannelID) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelID.ProtoReflect.Descriptor instead. -func (*ChannelID) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{6} -} - -func (x *ChannelID) GetChanId() uint64 { - if x != nil && x.ChanId != nil { - return *x.ChanId - } - return 0 -} - -type ServChannelInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelId *uint64 `protobuf:"varint,1,opt,name=channelId" json:"channelId,omitempty"` - ChannelName []byte `protobuf:"bytes,2,opt,name=channelName" json:"channelName,omitempty"` - CreatorId *uint64 `protobuf:"varint,3,opt,name=creatorId" json:"creatorId,omitempty"` - CreateTime *uint64 `protobuf:"varint,4,opt,name=createTime" json:"createTime,omitempty"` - GuildId *uint64 `protobuf:"varint,5,opt,name=guildId" json:"guildId,omitempty"` - MsgNotifyType *uint32 `protobuf:"varint,6,opt,name=msgNotifyType" json:"msgNotifyType,omitempty"` - ChannelType *uint32 `protobuf:"varint,7,opt,name=channelType" json:"channelType,omitempty"` - SpeakPermission *uint32 `protobuf:"varint,8,opt,name=speakPermission" json:"speakPermission,omitempty"` - LastMsgSeq *MsgSeq `protobuf:"bytes,11,opt,name=lastMsgSeq" json:"lastMsgSeq,omitempty"` - LastCntMsgSeq *MsgSeq `protobuf:"bytes,12,opt,name=lastCntMsgSeq" json:"lastCntMsgSeq,omitempty"` - VoiceChannelInfo *VoiceChannelInfo `protobuf:"bytes,14,opt,name=voiceChannelInfo" json:"voiceChannelInfo,omitempty"` - LiveChannelInfo *LiveChannelInfo `protobuf:"bytes,15,opt,name=liveChannelInfo" json:"liveChannelInfo,omitempty"` - BannedSpeak *uint32 `protobuf:"varint,16,opt,name=bannedSpeak" json:"bannedSpeak,omitempty"` -} - -func (x *ServChannelInfo) Reset() { - *x = ServChannelInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServChannelInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServChannelInfo) ProtoMessage() {} - -func (x *ServChannelInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServChannelInfo.ProtoReflect.Descriptor instead. -func (*ServChannelInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{7} -} - -func (x *ServChannelInfo) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *ServChannelInfo) GetChannelName() []byte { - if x != nil { - return x.ChannelName - } - return nil -} - -func (x *ServChannelInfo) GetCreatorId() uint64 { - if x != nil && x.CreatorId != nil { - return *x.CreatorId - } - return 0 -} - -func (x *ServChannelInfo) GetCreateTime() uint64 { - if x != nil && x.CreateTime != nil { - return *x.CreateTime - } - return 0 -} - -func (x *ServChannelInfo) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *ServChannelInfo) GetMsgNotifyType() uint32 { - if x != nil && x.MsgNotifyType != nil { - return *x.MsgNotifyType - } - return 0 -} - -func (x *ServChannelInfo) GetChannelType() uint32 { - if x != nil && x.ChannelType != nil { - return *x.ChannelType - } - return 0 -} - -func (x *ServChannelInfo) GetSpeakPermission() uint32 { - if x != nil && x.SpeakPermission != nil { - return *x.SpeakPermission - } - return 0 -} - -func (x *ServChannelInfo) GetLastMsgSeq() *MsgSeq { - if x != nil { - return x.LastMsgSeq - } - return nil -} - -func (x *ServChannelInfo) GetLastCntMsgSeq() *MsgSeq { - if x != nil { - return x.LastCntMsgSeq - } - return nil -} - -func (x *ServChannelInfo) GetVoiceChannelInfo() *VoiceChannelInfo { - if x != nil { - return x.VoiceChannelInfo - } - return nil -} - -func (x *ServChannelInfo) GetLiveChannelInfo() *LiveChannelInfo { - if x != nil { - return x.LiveChannelInfo - } - return nil -} - -func (x *ServChannelInfo) GetBannedSpeak() uint32 { - if x != nil && x.BannedSpeak != nil { - return *x.BannedSpeak - } - return 0 -} - -type CommGrayTips struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BusiType *uint64 `protobuf:"varint,1,opt,name=busiType" json:"busiType,omitempty"` - BusiId *uint64 `protobuf:"varint,2,opt,name=busiId" json:"busiId,omitempty"` - CtrlFlag *uint32 `protobuf:"varint,3,opt,name=ctrlFlag" json:"ctrlFlag,omitempty"` - TemplId *uint64 `protobuf:"varint,4,opt,name=templId" json:"templId,omitempty"` - TemplParam []*CommGrayTips_TemplParam `protobuf:"bytes,5,rep,name=templParam" json:"templParam,omitempty"` - Content []byte `protobuf:"bytes,6,opt,name=content" json:"content,omitempty"` - TipsSeqId *uint64 `protobuf:"varint,10,opt,name=tipsSeqId" json:"tipsSeqId,omitempty"` - PbReserv []byte `protobuf:"bytes,100,opt,name=pbReserv" json:"pbReserv,omitempty"` -} - -func (x *CommGrayTips) Reset() { - *x = CommGrayTips{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommGrayTips) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommGrayTips) ProtoMessage() {} - -func (x *CommGrayTips) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommGrayTips.ProtoReflect.Descriptor instead. -func (*CommGrayTips) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{8} -} - -func (x *CommGrayTips) GetBusiType() uint64 { - if x != nil && x.BusiType != nil { - return *x.BusiType - } - return 0 -} - -func (x *CommGrayTips) GetBusiId() uint64 { - if x != nil && x.BusiId != nil { - return *x.BusiId - } - return 0 -} - -func (x *CommGrayTips) GetCtrlFlag() uint32 { - if x != nil && x.CtrlFlag != nil { - return *x.CtrlFlag - } - return 0 -} - -func (x *CommGrayTips) GetTemplId() uint64 { - if x != nil && x.TemplId != nil { - return *x.TemplId - } - return 0 -} - -func (x *CommGrayTips) GetTemplParam() []*CommGrayTips_TemplParam { - if x != nil { - return x.TemplParam - } - return nil -} - -func (x *CommGrayTips) GetContent() []byte { - if x != nil { - return x.Content - } - return nil -} - -func (x *CommGrayTips) GetTipsSeqId() uint64 { - if x != nil && x.TipsSeqId != nil { - return *x.TipsSeqId - } - return 0 -} - -func (x *CommGrayTips) GetPbReserv() []byte { - if x != nil { - return x.PbReserv - } - return nil -} - -type CreateChan struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - OperatorId *uint64 `protobuf:"varint,3,opt,name=operatorId" json:"operatorId,omitempty"` - CreateId []*ChannelID `protobuf:"bytes,4,rep,name=createId" json:"createId,omitempty"` -} - -func (x *CreateChan) Reset() { - *x = CreateChan{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateChan) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateChan) ProtoMessage() {} - -func (x *CreateChan) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateChan.ProtoReflect.Descriptor instead. -func (*CreateChan) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{9} -} - -func (x *CreateChan) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *CreateChan) GetOperatorId() uint64 { - if x != nil && x.OperatorId != nil { - return *x.OperatorId - } - return 0 -} - -func (x *CreateChan) GetCreateId() []*ChannelID { - if x != nil { - return x.CreateId - } - return nil -} - -type CreateGuild struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OperatorId *uint64 `protobuf:"varint,1,opt,name=operatorId" json:"operatorId,omitempty"` - GuildId *uint64 `protobuf:"varint,2,opt,name=guildId" json:"guildId,omitempty"` -} - -func (x *CreateGuild) Reset() { - *x = CreateGuild{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateGuild) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateGuild) ProtoMessage() {} - -func (x *CreateGuild) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateGuild.ProtoReflect.Descriptor instead. -func (*CreateGuild) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{10} -} - -func (x *CreateGuild) GetOperatorId() uint64 { - if x != nil && x.OperatorId != nil { - return *x.OperatorId - } - return 0 -} - -func (x *CreateGuild) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -type DestroyChan struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - OperatorId *uint64 `protobuf:"varint,3,opt,name=operatorId" json:"operatorId,omitempty"` - DeleteId []*ChannelID `protobuf:"bytes,4,rep,name=deleteId" json:"deleteId,omitempty"` -} - -func (x *DestroyChan) Reset() { - *x = DestroyChan{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DestroyChan) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DestroyChan) ProtoMessage() {} - -func (x *DestroyChan) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DestroyChan.ProtoReflect.Descriptor instead. -func (*DestroyChan) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{11} -} - -func (x *DestroyChan) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *DestroyChan) GetOperatorId() uint64 { - if x != nil && x.OperatorId != nil { - return *x.OperatorId - } - return 0 -} - -func (x *DestroyChan) GetDeleteId() []*ChannelID { - if x != nil { - return x.DeleteId - } - return nil -} - -type DestroyGuild struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OperatorId *uint64 `protobuf:"varint,1,opt,name=operatorId" json:"operatorId,omitempty"` - GuildId *uint64 `protobuf:"varint,2,opt,name=guildId" json:"guildId,omitempty"` -} - -func (x *DestroyGuild) Reset() { - *x = DestroyGuild{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DestroyGuild) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DestroyGuild) ProtoMessage() {} - -func (x *DestroyGuild) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DestroyGuild.ProtoReflect.Descriptor instead. -func (*DestroyGuild) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{12} -} - -func (x *DestroyGuild) GetOperatorId() uint64 { - if x != nil && x.OperatorId != nil { - return *x.OperatorId - } - return 0 -} - -func (x *DestroyGuild) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -type EventBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ReadNotify *ReadNotify `protobuf:"bytes,1,opt,name=readNotify" json:"readNotify,omitempty"` - CommGrayTips *CommGrayTips `protobuf:"bytes,2,opt,name=commGrayTips" json:"commGrayTips,omitempty"` - CreateGuild *CreateGuild `protobuf:"bytes,3,opt,name=createGuild" json:"createGuild,omitempty"` - DestroyGuild *DestroyGuild `protobuf:"bytes,4,opt,name=destroyGuild" json:"destroyGuild,omitempty"` - JoinGuild *JoinGuild `protobuf:"bytes,5,opt,name=joinGuild" json:"joinGuild,omitempty"` - KickOffGuild *KickOffGuild `protobuf:"bytes,6,opt,name=kickOffGuild" json:"kickOffGuild,omitempty"` - QuitGuild *QuitGuild `protobuf:"bytes,7,opt,name=quitGuild" json:"quitGuild,omitempty"` - ChangeGuildInfo *ChangeGuildInfo `protobuf:"bytes,8,opt,name=changeGuildInfo" json:"changeGuildInfo,omitempty"` - CreateChan *CreateChan `protobuf:"bytes,9,opt,name=createChan" json:"createChan,omitempty"` - DestroyChan *DestroyChan `protobuf:"bytes,10,opt,name=destroyChan" json:"destroyChan,omitempty"` - ChangeChanInfo *ChangeChanInfo `protobuf:"bytes,11,opt,name=changeChanInfo" json:"changeChanInfo,omitempty"` - SetAdmin *SetAdmin `protobuf:"bytes,12,opt,name=setAdmin" json:"setAdmin,omitempty"` - SetMsgRecvType *SetMsgRecvType `protobuf:"bytes,13,opt,name=setMsgRecvType" json:"setMsgRecvType,omitempty"` - UpdateMsg *UpdateMsg `protobuf:"bytes,14,opt,name=updateMsg" json:"updateMsg,omitempty"` - SetTop *SetTop `protobuf:"bytes,17,opt,name=setTop" json:"setTop,omitempty"` - SwitchChannel *SwitchVoiceChannel `protobuf:"bytes,18,opt,name=switchChannel" json:"switchChannel,omitempty"` - UpdateCategory *UpdateCategory `protobuf:"bytes,21,opt,name=updateCategory" json:"updateCategory,omitempty"` - UpdateVoiceBlockList *UpdateVoiceBlockList `protobuf:"bytes,22,opt,name=updateVoiceBlockList" json:"updateVoiceBlockList,omitempty"` - SetMute *SetMute `protobuf:"bytes,23,opt,name=setMute" json:"setMute,omitempty"` - LiveStatusChangeRoom *LiveRoomStatusChangeMsg `protobuf:"bytes,24,opt,name=liveStatusChangeRoom" json:"liveStatusChangeRoom,omitempty"` - SwitchLiveRoom *SwitchLiveRoom `protobuf:"bytes,25,opt,name=switchLiveRoom" json:"switchLiveRoom,omitempty"` - Events []*MsgEvent `protobuf:"bytes,39,rep,name=events" json:"events,omitempty"` - Scheduler *SchedulerMsg `protobuf:"bytes,40,opt,name=scheduler" json:"scheduler,omitempty"` - AppChannel *AppChannelMsg `protobuf:"bytes,41,opt,name=appChannel" json:"appChannel,omitempty"` - WeakMsgAppChannel *AppChannelMsg `protobuf:"bytes,46,opt,name=weakMsgAppChannel" json:"weakMsgAppChannel,omitempty"` -} - -func (x *EventBody) Reset() { - *x = EventBody{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EventBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EventBody) ProtoMessage() {} - -func (x *EventBody) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EventBody.ProtoReflect.Descriptor instead. -func (*EventBody) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{13} -} - -func (x *EventBody) GetReadNotify() *ReadNotify { - if x != nil { - return x.ReadNotify - } - return nil -} - -func (x *EventBody) GetCommGrayTips() *CommGrayTips { - if x != nil { - return x.CommGrayTips - } - return nil -} - -func (x *EventBody) GetCreateGuild() *CreateGuild { - if x != nil { - return x.CreateGuild - } - return nil -} - -func (x *EventBody) GetDestroyGuild() *DestroyGuild { - if x != nil { - return x.DestroyGuild - } - return nil -} - -func (x *EventBody) GetJoinGuild() *JoinGuild { - if x != nil { - return x.JoinGuild - } - return nil -} - -func (x *EventBody) GetKickOffGuild() *KickOffGuild { - if x != nil { - return x.KickOffGuild - } - return nil -} - -func (x *EventBody) GetQuitGuild() *QuitGuild { - if x != nil { - return x.QuitGuild - } - return nil -} - -func (x *EventBody) GetChangeGuildInfo() *ChangeGuildInfo { - if x != nil { - return x.ChangeGuildInfo - } - return nil -} - -func (x *EventBody) GetCreateChan() *CreateChan { - if x != nil { - return x.CreateChan - } - return nil -} - -func (x *EventBody) GetDestroyChan() *DestroyChan { - if x != nil { - return x.DestroyChan - } - return nil -} - -func (x *EventBody) GetChangeChanInfo() *ChangeChanInfo { - if x != nil { - return x.ChangeChanInfo - } - return nil -} - -func (x *EventBody) GetSetAdmin() *SetAdmin { - if x != nil { - return x.SetAdmin - } - return nil -} - -func (x *EventBody) GetSetMsgRecvType() *SetMsgRecvType { - if x != nil { - return x.SetMsgRecvType - } - return nil -} - -func (x *EventBody) GetUpdateMsg() *UpdateMsg { - if x != nil { - return x.UpdateMsg - } - return nil -} - -func (x *EventBody) GetSetTop() *SetTop { - if x != nil { - return x.SetTop - } - return nil -} - -func (x *EventBody) GetSwitchChannel() *SwitchVoiceChannel { - if x != nil { - return x.SwitchChannel - } - return nil -} - -func (x *EventBody) GetUpdateCategory() *UpdateCategory { - if x != nil { - return x.UpdateCategory - } - return nil -} - -func (x *EventBody) GetUpdateVoiceBlockList() *UpdateVoiceBlockList { - if x != nil { - return x.UpdateVoiceBlockList - } - return nil -} - -func (x *EventBody) GetSetMute() *SetMute { - if x != nil { - return x.SetMute - } - return nil -} - -func (x *EventBody) GetLiveStatusChangeRoom() *LiveRoomStatusChangeMsg { - if x != nil { - return x.LiveStatusChangeRoom - } - return nil -} - -func (x *EventBody) GetSwitchLiveRoom() *SwitchLiveRoom { - if x != nil { - return x.SwitchLiveRoom - } - return nil -} - -func (x *EventBody) GetEvents() []*MsgEvent { - if x != nil { - return x.Events - } - return nil -} - -func (x *EventBody) GetScheduler() *SchedulerMsg { - if x != nil { - return x.Scheduler - } - return nil -} - -func (x *EventBody) GetAppChannel() *AppChannelMsg { - if x != nil { - return x.AppChannel - } - return nil -} - -func (x *EventBody) GetWeakMsgAppChannel() *AppChannelMsg { - if x != nil { - return x.WeakMsgAppChannel - } - return nil -} - -type GroupProStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsEnable *uint32 `protobuf:"varint,1,opt,name=isEnable" json:"isEnable,omitempty"` - IsBanned *uint32 `protobuf:"varint,2,opt,name=isBanned" json:"isBanned,omitempty"` - IsFrozen *uint32 `protobuf:"varint,3,opt,name=isFrozen" json:"isFrozen,omitempty"` -} - -func (x *GroupProStatus) Reset() { - *x = GroupProStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GroupProStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GroupProStatus) ProtoMessage() {} - -func (x *GroupProStatus) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GroupProStatus.ProtoReflect.Descriptor instead. -func (*GroupProStatus) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{14} -} - -func (x *GroupProStatus) GetIsEnable() uint32 { - if x != nil && x.IsEnable != nil { - return *x.IsEnable - } - return 0 -} - -func (x *GroupProStatus) GetIsBanned() uint32 { - if x != nil && x.IsBanned != nil { - return *x.IsBanned - } - return 0 -} - -func (x *GroupProStatus) GetIsFrozen() uint32 { - if x != nil && x.IsFrozen != nil { - return *x.IsFrozen - } - return 0 -} - -type GuildInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildCode *uint64 `protobuf:"varint,2,opt,name=guildCode" json:"guildCode,omitempty"` - OwnerId *uint64 `protobuf:"varint,3,opt,name=ownerId" json:"ownerId,omitempty"` - CreateTime *uint64 `protobuf:"varint,4,opt,name=createTime" json:"createTime,omitempty"` - MemberMaxNum *uint32 `protobuf:"varint,5,opt,name=memberMaxNum" json:"memberMaxNum,omitempty"` - MemberNum *uint32 `protobuf:"varint,6,opt,name=memberNum" json:"memberNum,omitempty"` - GuildType *uint32 `protobuf:"varint,7,opt,name=guildType" json:"guildType,omitempty"` - GuildName []byte `protobuf:"bytes,8,opt,name=guildName" json:"guildName,omitempty"` - RobotList []uint64 `protobuf:"varint,9,rep,name=robotList" json:"robotList,omitempty"` - AdminList []uint64 `protobuf:"varint,10,rep,name=adminList" json:"adminList,omitempty"` - RobotMaxNum *uint32 `protobuf:"varint,11,opt,name=robotMaxNum" json:"robotMaxNum,omitempty"` - AdminMaxNum *uint32 `protobuf:"varint,12,opt,name=adminMaxNum" json:"adminMaxNum,omitempty"` - Profile []byte `protobuf:"bytes,13,opt,name=profile" json:"profile,omitempty"` - FaceSeq *uint64 `protobuf:"varint,14,opt,name=faceSeq" json:"faceSeq,omitempty"` - GuildStatus *GroupProStatus `protobuf:"bytes,15,opt,name=guildStatus" json:"guildStatus,omitempty"` - ChannelNum *uint32 `protobuf:"varint,16,opt,name=channelNum" json:"channelNum,omitempty"` - MemberChangeSeq *MsgSeq `protobuf:"bytes,5002,opt,name=memberChangeSeq" json:"memberChangeSeq,omitempty"` - GuildInfoChangeSeq *MsgSeq `protobuf:"bytes,5003,opt,name=guildInfoChangeSeq" json:"guildInfoChangeSeq,omitempty"` - ChannelChangeSeq *MsgSeq `protobuf:"bytes,5004,opt,name=channelChangeSeq" json:"channelChangeSeq,omitempty"` -} - -func (x *GuildInfo) Reset() { - *x = GuildInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildInfo) ProtoMessage() {} - -func (x *GuildInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildInfo.ProtoReflect.Descriptor instead. -func (*GuildInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{15} -} - -func (x *GuildInfo) GetGuildCode() uint64 { - if x != nil && x.GuildCode != nil { - return *x.GuildCode - } - return 0 -} - -func (x *GuildInfo) GetOwnerId() uint64 { - if x != nil && x.OwnerId != nil { - return *x.OwnerId - } - return 0 -} - -func (x *GuildInfo) GetCreateTime() uint64 { - if x != nil && x.CreateTime != nil { - return *x.CreateTime - } - return 0 -} - -func (x *GuildInfo) GetMemberMaxNum() uint32 { - if x != nil && x.MemberMaxNum != nil { - return *x.MemberMaxNum - } - return 0 -} - -func (x *GuildInfo) GetMemberNum() uint32 { - if x != nil && x.MemberNum != nil { - return *x.MemberNum - } - return 0 -} - -func (x *GuildInfo) GetGuildType() uint32 { - if x != nil && x.GuildType != nil { - return *x.GuildType - } - return 0 -} - -func (x *GuildInfo) GetGuildName() []byte { - if x != nil { - return x.GuildName - } - return nil -} - -func (x *GuildInfo) GetRobotList() []uint64 { - if x != nil { - return x.RobotList - } - return nil -} - -func (x *GuildInfo) GetAdminList() []uint64 { - if x != nil { - return x.AdminList - } - return nil -} - -func (x *GuildInfo) GetRobotMaxNum() uint32 { - if x != nil && x.RobotMaxNum != nil { - return *x.RobotMaxNum - } - return 0 -} - -func (x *GuildInfo) GetAdminMaxNum() uint32 { - if x != nil && x.AdminMaxNum != nil { - return *x.AdminMaxNum - } - return 0 -} - -func (x *GuildInfo) GetProfile() []byte { - if x != nil { - return x.Profile - } - return nil -} - -func (x *GuildInfo) GetFaceSeq() uint64 { - if x != nil && x.FaceSeq != nil { - return *x.FaceSeq - } - return 0 -} - -func (x *GuildInfo) GetGuildStatus() *GroupProStatus { - if x != nil { - return x.GuildStatus - } - return nil -} - -func (x *GuildInfo) GetChannelNum() uint32 { - if x != nil && x.ChannelNum != nil { - return *x.ChannelNum - } - return 0 -} - -func (x *GuildInfo) GetMemberChangeSeq() *MsgSeq { - if x != nil { - return x.MemberChangeSeq - } - return nil -} - -func (x *GuildInfo) GetGuildInfoChangeSeq() *MsgSeq { - if x != nil { - return x.GuildInfoChangeSeq - } - return nil -} - -func (x *GuildInfo) GetChannelChangeSeq() *MsgSeq { - if x != nil { - return x.ChannelChangeSeq - } - return nil -} - -type GuildInfoFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildCode *uint32 `protobuf:"varint,2,opt,name=guildCode" json:"guildCode,omitempty"` - OwnerId *uint32 `protobuf:"varint,3,opt,name=ownerId" json:"ownerId,omitempty"` - CreateTime *uint32 `protobuf:"varint,4,opt,name=createTime" json:"createTime,omitempty"` - MemberMaxNum *uint32 `protobuf:"varint,5,opt,name=memberMaxNum" json:"memberMaxNum,omitempty"` - MemberNum *uint32 `protobuf:"varint,6,opt,name=memberNum" json:"memberNum,omitempty"` - GuildType *uint32 `protobuf:"varint,7,opt,name=guildType" json:"guildType,omitempty"` - GuildName *uint32 `protobuf:"varint,8,opt,name=guildName" json:"guildName,omitempty"` - RobotList *uint32 `protobuf:"varint,9,opt,name=robotList" json:"robotList,omitempty"` - AdminList *uint32 `protobuf:"varint,10,opt,name=adminList" json:"adminList,omitempty"` - RobotMaxNum *uint32 `protobuf:"varint,11,opt,name=robotMaxNum" json:"robotMaxNum,omitempty"` - AdminMaxNum *uint32 `protobuf:"varint,12,opt,name=adminMaxNum" json:"adminMaxNum,omitempty"` - Profile *uint32 `protobuf:"varint,13,opt,name=profile" json:"profile,omitempty"` - FaceSeq *uint32 `protobuf:"varint,14,opt,name=faceSeq" json:"faceSeq,omitempty"` - GuildStatus *uint32 `protobuf:"varint,15,opt,name=guildStatus" json:"guildStatus,omitempty"` - ChannelNum *uint32 `protobuf:"varint,16,opt,name=channelNum" json:"channelNum,omitempty"` - MemberChangeSeq *uint32 `protobuf:"varint,5002,opt,name=memberChangeSeq" json:"memberChangeSeq,omitempty"` - GuildInfoChangeSeq *uint32 `protobuf:"varint,5003,opt,name=guildInfoChangeSeq" json:"guildInfoChangeSeq,omitempty"` - ChannelChangeSeq *uint32 `protobuf:"varint,5004,opt,name=channelChangeSeq" json:"channelChangeSeq,omitempty"` -} - -func (x *GuildInfoFilter) Reset() { - *x = GuildInfoFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildInfoFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildInfoFilter) ProtoMessage() {} - -func (x *GuildInfoFilter) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildInfoFilter.ProtoReflect.Descriptor instead. -func (*GuildInfoFilter) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{16} -} - -func (x *GuildInfoFilter) GetGuildCode() uint32 { - if x != nil && x.GuildCode != nil { - return *x.GuildCode - } - return 0 -} - -func (x *GuildInfoFilter) GetOwnerId() uint32 { - if x != nil && x.OwnerId != nil { - return *x.OwnerId - } - return 0 -} - -func (x *GuildInfoFilter) GetCreateTime() uint32 { - if x != nil && x.CreateTime != nil { - return *x.CreateTime - } - return 0 -} - -func (x *GuildInfoFilter) GetMemberMaxNum() uint32 { - if x != nil && x.MemberMaxNum != nil { - return *x.MemberMaxNum - } - return 0 -} - -func (x *GuildInfoFilter) GetMemberNum() uint32 { - if x != nil && x.MemberNum != nil { - return *x.MemberNum - } - return 0 -} - -func (x *GuildInfoFilter) GetGuildType() uint32 { - if x != nil && x.GuildType != nil { - return *x.GuildType - } - return 0 -} - -func (x *GuildInfoFilter) GetGuildName() uint32 { - if x != nil && x.GuildName != nil { - return *x.GuildName - } - return 0 -} - -func (x *GuildInfoFilter) GetRobotList() uint32 { - if x != nil && x.RobotList != nil { - return *x.RobotList - } - return 0 -} - -func (x *GuildInfoFilter) GetAdminList() uint32 { - if x != nil && x.AdminList != nil { - return *x.AdminList - } - return 0 -} - -func (x *GuildInfoFilter) GetRobotMaxNum() uint32 { - if x != nil && x.RobotMaxNum != nil { - return *x.RobotMaxNum - } - return 0 -} - -func (x *GuildInfoFilter) GetAdminMaxNum() uint32 { - if x != nil && x.AdminMaxNum != nil { - return *x.AdminMaxNum - } - return 0 -} - -func (x *GuildInfoFilter) GetProfile() uint32 { - if x != nil && x.Profile != nil { - return *x.Profile - } - return 0 -} - -func (x *GuildInfoFilter) GetFaceSeq() uint32 { - if x != nil && x.FaceSeq != nil { - return *x.FaceSeq - } - return 0 -} - -func (x *GuildInfoFilter) GetGuildStatus() uint32 { - if x != nil && x.GuildStatus != nil { - return *x.GuildStatus - } - return 0 -} - -func (x *GuildInfoFilter) GetChannelNum() uint32 { - if x != nil && x.ChannelNum != nil { - return *x.ChannelNum - } - return 0 -} - -func (x *GuildInfoFilter) GetMemberChangeSeq() uint32 { - if x != nil && x.MemberChangeSeq != nil { - return *x.MemberChangeSeq - } - return 0 -} - -func (x *GuildInfoFilter) GetGuildInfoChangeSeq() uint32 { - if x != nil && x.GuildInfoChangeSeq != nil { - return *x.GuildInfoChangeSeq - } - return 0 -} - -func (x *GuildInfoFilter) GetChannelChangeSeq() uint32 { - if x != nil && x.ChannelChangeSeq != nil { - return *x.ChannelChangeSeq - } - return 0 -} - -type JoinGuild struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MemberId *uint64 `protobuf:"varint,3,opt,name=memberId" json:"memberId,omitempty"` - MemberType *uint32 `protobuf:"varint,4,opt,name=memberType" json:"memberType,omitempty"` - MemberTinyid *uint64 `protobuf:"varint,5,opt,name=memberTinyid" json:"memberTinyid,omitempty"` -} - -func (x *JoinGuild) Reset() { - *x = JoinGuild{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *JoinGuild) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*JoinGuild) ProtoMessage() {} - -func (x *JoinGuild) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use JoinGuild.ProtoReflect.Descriptor instead. -func (*JoinGuild) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{17} -} - -func (x *JoinGuild) GetMemberId() uint64 { - if x != nil && x.MemberId != nil { - return *x.MemberId - } - return 0 -} - -func (x *JoinGuild) GetMemberType() uint32 { - if x != nil && x.MemberType != nil { - return *x.MemberType - } - return 0 -} - -func (x *JoinGuild) GetMemberTinyid() uint64 { - if x != nil && x.MemberTinyid != nil { - return *x.MemberTinyid - } - return 0 -} - -type KickOffGuild struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MemberId *uint64 `protobuf:"varint,3,opt,name=memberId" json:"memberId,omitempty"` - SetBlack *uint32 `protobuf:"varint,4,opt,name=setBlack" json:"setBlack,omitempty"` - MemberTinyid *uint64 `protobuf:"varint,5,opt,name=memberTinyid" json:"memberTinyid,omitempty"` -} - -func (x *KickOffGuild) Reset() { - *x = KickOffGuild{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KickOffGuild) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KickOffGuild) ProtoMessage() {} - -func (x *KickOffGuild) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KickOffGuild.ProtoReflect.Descriptor instead. -func (*KickOffGuild) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{18} -} - -func (x *KickOffGuild) GetMemberId() uint64 { - if x != nil && x.MemberId != nil { - return *x.MemberId - } - return 0 -} - -func (x *KickOffGuild) GetSetBlack() uint32 { - if x != nil && x.SetBlack != nil { - return *x.SetBlack - } - return 0 -} - -func (x *KickOffGuild) GetMemberTinyid() uint64 { - if x != nil && x.MemberTinyid != nil { - return *x.MemberTinyid - } - return 0 -} - -type LiveChannelInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomId *uint64 `protobuf:"varint,1,opt,name=roomId" json:"roomId,omitempty"` - AnchorUin *uint64 `protobuf:"varint,2,opt,name=anchorUin" json:"anchorUin,omitempty"` - Name []byte `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` -} - -func (x *LiveChannelInfo) Reset() { - *x = LiveChannelInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LiveChannelInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LiveChannelInfo) ProtoMessage() {} - -func (x *LiveChannelInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LiveChannelInfo.ProtoReflect.Descriptor instead. -func (*LiveChannelInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{19} -} - -func (x *LiveChannelInfo) GetRoomId() uint64 { - if x != nil && x.RoomId != nil { - return *x.RoomId - } - return 0 -} - -func (x *LiveChannelInfo) GetAnchorUin() uint64 { - if x != nil && x.AnchorUin != nil { - return *x.AnchorUin - } - return 0 -} - -func (x *LiveChannelInfo) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -type LiveChannelInfoFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsNeedRoomId *uint32 `protobuf:"varint,1,opt,name=isNeedRoomId" json:"isNeedRoomId,omitempty"` - IsNeedAnchorUin *uint32 `protobuf:"varint,2,opt,name=isNeedAnchorUin" json:"isNeedAnchorUin,omitempty"` - IsNeedName *uint32 `protobuf:"varint,3,opt,name=isNeedName" json:"isNeedName,omitempty"` -} - -func (x *LiveChannelInfoFilter) Reset() { - *x = LiveChannelInfoFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LiveChannelInfoFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LiveChannelInfoFilter) ProtoMessage() {} - -func (x *LiveChannelInfoFilter) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LiveChannelInfoFilter.ProtoReflect.Descriptor instead. -func (*LiveChannelInfoFilter) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{20} -} - -func (x *LiveChannelInfoFilter) GetIsNeedRoomId() uint32 { - if x != nil && x.IsNeedRoomId != nil { - return *x.IsNeedRoomId - } - return 0 -} - -func (x *LiveChannelInfoFilter) GetIsNeedAnchorUin() uint32 { - if x != nil && x.IsNeedAnchorUin != nil { - return *x.IsNeedAnchorUin - } - return 0 -} - -func (x *LiveChannelInfoFilter) GetIsNeedName() uint32 { - if x != nil && x.IsNeedName != nil { - return *x.IsNeedName - } - return 0 -} - -type LiveRoomStatusChangeMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - ChannelId *uint64 `protobuf:"varint,2,opt,name=channelId" json:"channelId,omitempty"` - RoomId *uint64 `protobuf:"varint,3,opt,name=roomId" json:"roomId,omitempty"` - AnchorTinyid *uint64 `protobuf:"varint,4,opt,name=anchorTinyid" json:"anchorTinyid,omitempty"` - Action *uint32 `protobuf:"varint,5,opt,name=action" json:"action,omitempty"` -} - -func (x *LiveRoomStatusChangeMsg) Reset() { - *x = LiveRoomStatusChangeMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LiveRoomStatusChangeMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LiveRoomStatusChangeMsg) ProtoMessage() {} - -func (x *LiveRoomStatusChangeMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LiveRoomStatusChangeMsg.ProtoReflect.Descriptor instead. -func (*LiveRoomStatusChangeMsg) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{21} -} - -func (x *LiveRoomStatusChangeMsg) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *LiveRoomStatusChangeMsg) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *LiveRoomStatusChangeMsg) GetRoomId() uint64 { - if x != nil && x.RoomId != nil { - return *x.RoomId - } - return 0 -} - -func (x *LiveRoomStatusChangeMsg) GetAnchorTinyid() uint64 { - if x != nil && x.AnchorTinyid != nil { - return *x.AnchorTinyid - } - return 0 -} - -func (x *LiveRoomStatusChangeMsg) GetAction() uint32 { - if x != nil && x.Action != nil { - return *x.Action - } - return 0 -} - -type MsgEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Seq *uint64 `protobuf:"varint,1,opt,name=seq" json:"seq,omitempty"` - EventType *uint64 `protobuf:"varint,2,opt,name=eventType" json:"eventType,omitempty"` - EventVersion *uint64 `protobuf:"varint,3,opt,name=eventVersion" json:"eventVersion,omitempty"` -} - -func (x *MsgEvent) Reset() { - *x = MsgEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgEvent) ProtoMessage() {} - -func (x *MsgEvent) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgEvent.ProtoReflect.Descriptor instead. -func (*MsgEvent) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{22} -} - -func (x *MsgEvent) GetSeq() uint64 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -func (x *MsgEvent) GetEventType() uint64 { - if x != nil && x.EventType != nil { - return *x.EventType - } - return 0 -} - -func (x *MsgEvent) GetEventVersion() uint64 { - if x != nil && x.EventVersion != nil { - return *x.EventVersion - } - return 0 -} - -type MsgSeq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Seq *uint64 `protobuf:"varint,1,opt,name=seq" json:"seq,omitempty"` - Time *uint64 `protobuf:"varint,2,opt,name=time" json:"time,omitempty"` -} - -func (x *MsgSeq) Reset() { - *x = MsgSeq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgSeq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgSeq) ProtoMessage() {} - -func (x *MsgSeq) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgSeq.ProtoReflect.Descriptor instead. -func (*MsgSeq) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{23} -} - -func (x *MsgSeq) GetSeq() uint64 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -func (x *MsgSeq) GetTime() uint64 { - if x != nil && x.Time != nil { - return *x.Time - } - return 0 -} - -type QuitGuild struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *QuitGuild) Reset() { - *x = QuitGuild{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *QuitGuild) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QuitGuild) ProtoMessage() {} - -func (x *QuitGuild) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use QuitGuild.ProtoReflect.Descriptor instead. -func (*QuitGuild) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{24} -} - -type ReadNotify struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelId *uint64 `protobuf:"varint,1,opt,name=channelId" json:"channelId,omitempty"` - GuildId *uint64 `protobuf:"varint,2,opt,name=guildId" json:"guildId,omitempty"` - ReadMsgSeq *MsgSeq `protobuf:"bytes,3,opt,name=readMsgSeq" json:"readMsgSeq,omitempty"` - ReadCntMsgSeq *MsgSeq `protobuf:"bytes,4,opt,name=readCntMsgSeq" json:"readCntMsgSeq,omitempty"` - ReadMsgMeta []byte `protobuf:"bytes,5,opt,name=readMsgMeta" json:"readMsgMeta,omitempty"` -} - -func (x *ReadNotify) Reset() { - *x = ReadNotify{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReadNotify) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReadNotify) ProtoMessage() {} - -func (x *ReadNotify) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReadNotify.ProtoReflect.Descriptor instead. -func (*ReadNotify) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{25} -} - -func (x *ReadNotify) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *ReadNotify) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *ReadNotify) GetReadMsgSeq() *MsgSeq { - if x != nil { - return x.ReadMsgSeq - } - return nil -} - -func (x *ReadNotify) GetReadCntMsgSeq() *MsgSeq { - if x != nil { - return x.ReadCntMsgSeq - } - return nil -} - -func (x *ReadNotify) GetReadMsgMeta() []byte { - if x != nil { - return x.ReadMsgMeta - } - return nil -} - -type SchedulerMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CreatorHeadUrl []byte `protobuf:"bytes,1,opt,name=creatorHeadUrl" json:"creatorHeadUrl,omitempty"` - Wording *string `protobuf:"bytes,2,opt,name=wording" json:"wording,omitempty"` - ExpireTimeMs *uint64 `protobuf:"varint,3,opt,name=expireTimeMs" json:"expireTimeMs,omitempty"` -} - -func (x *SchedulerMsg) Reset() { - *x = SchedulerMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SchedulerMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SchedulerMsg) ProtoMessage() {} - -func (x *SchedulerMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SchedulerMsg.ProtoReflect.Descriptor instead. -func (*SchedulerMsg) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{26} -} - -func (x *SchedulerMsg) GetCreatorHeadUrl() []byte { - if x != nil { - return x.CreatorHeadUrl - } - return nil -} - -func (x *SchedulerMsg) GetWording() string { - if x != nil && x.Wording != nil { - return *x.Wording - } - return "" -} - -func (x *SchedulerMsg) GetExpireTimeMs() uint64 { - if x != nil && x.ExpireTimeMs != nil { - return *x.ExpireTimeMs - } - return 0 -} - -type SetAdmin struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - ChanId *uint64 `protobuf:"varint,2,opt,name=chanId" json:"chanId,omitempty"` - OperatorId *uint64 `protobuf:"varint,3,opt,name=operatorId" json:"operatorId,omitempty"` - AdminId *uint64 `protobuf:"varint,4,opt,name=adminId" json:"adminId,omitempty"` - AdminTinyid *uint64 `protobuf:"varint,5,opt,name=adminTinyid" json:"adminTinyid,omitempty"` - OperateType *uint32 `protobuf:"varint,6,opt,name=operateType" json:"operateType,omitempty"` -} - -func (x *SetAdmin) Reset() { - *x = SetAdmin{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetAdmin) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetAdmin) ProtoMessage() {} - -func (x *SetAdmin) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetAdmin.ProtoReflect.Descriptor instead. -func (*SetAdmin) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{27} -} - -func (x *SetAdmin) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *SetAdmin) GetChanId() uint64 { - if x != nil && x.ChanId != nil { - return *x.ChanId - } - return 0 -} - -func (x *SetAdmin) GetOperatorId() uint64 { - if x != nil && x.OperatorId != nil { - return *x.OperatorId - } - return 0 -} - -func (x *SetAdmin) GetAdminId() uint64 { - if x != nil && x.AdminId != nil { - return *x.AdminId - } - return 0 -} - -func (x *SetAdmin) GetAdminTinyid() uint64 { - if x != nil && x.AdminTinyid != nil { - return *x.AdminTinyid - } - return 0 -} - -func (x *SetAdmin) GetOperateType() uint32 { - if x != nil && x.OperateType != nil { - return *x.OperateType - } - return 0 -} - -type SetMsgRecvType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - ChanId *uint64 `protobuf:"varint,2,opt,name=chanId" json:"chanId,omitempty"` - OperatorId *uint64 `protobuf:"varint,3,opt,name=operatorId" json:"operatorId,omitempty"` - MsgNotifyType *uint32 `protobuf:"varint,4,opt,name=msgNotifyType" json:"msgNotifyType,omitempty"` -} - -func (x *SetMsgRecvType) Reset() { - *x = SetMsgRecvType{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetMsgRecvType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetMsgRecvType) ProtoMessage() {} - -func (x *SetMsgRecvType) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetMsgRecvType.ProtoReflect.Descriptor instead. -func (*SetMsgRecvType) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{28} -} - -func (x *SetMsgRecvType) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *SetMsgRecvType) GetChanId() uint64 { - if x != nil && x.ChanId != nil { - return *x.ChanId - } - return 0 -} - -func (x *SetMsgRecvType) GetOperatorId() uint64 { - if x != nil && x.OperatorId != nil { - return *x.OperatorId - } - return 0 -} - -func (x *SetMsgRecvType) GetMsgNotifyType() uint32 { - if x != nil && x.MsgNotifyType != nil { - return *x.MsgNotifyType - } - return 0 -} - -type SetMute struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Action *uint32 `protobuf:"varint,1,opt,name=action" json:"action,omitempty"` - TinyID *uint64 `protobuf:"varint,2,opt,name=tinyID" json:"tinyID,omitempty"` -} - -func (x *SetMute) Reset() { - *x = SetMute{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetMute) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetMute) ProtoMessage() {} - -func (x *SetMute) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetMute.ProtoReflect.Descriptor instead. -func (*SetMute) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{29} -} - -func (x *SetMute) GetAction() uint32 { - if x != nil && x.Action != nil { - return *x.Action - } - return 0 -} - -func (x *SetMute) GetTinyID() uint64 { - if x != nil && x.TinyID != nil { - return *x.TinyID - } - return 0 -} - -type SetTop struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Action *uint32 `protobuf:"varint,1,opt,name=action" json:"action,omitempty"` -} - -func (x *SetTop) Reset() { - *x = SetTop{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetTop) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetTop) ProtoMessage() {} - -func (x *SetTop) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetTop.ProtoReflect.Descriptor instead. -func (*SetTop) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{30} -} - -func (x *SetTop) GetAction() uint32 { - if x != nil && x.Action != nil { - return *x.Action - } - return 0 -} - -type SwitchDetail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - ChannelId *uint64 `protobuf:"varint,2,opt,name=channelId" json:"channelId,omitempty"` - Platform *uint32 `protobuf:"varint,3,opt,name=platform" json:"platform,omitempty"` -} - -func (x *SwitchDetail) Reset() { - *x = SwitchDetail{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SwitchDetail) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SwitchDetail) ProtoMessage() {} - -func (x *SwitchDetail) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SwitchDetail.ProtoReflect.Descriptor instead. -func (*SwitchDetail) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{31} -} - -func (x *SwitchDetail) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *SwitchDetail) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *SwitchDetail) GetPlatform() uint32 { - if x != nil && x.Platform != nil { - return *x.Platform - } - return 0 -} - -type SwitchLiveRoom struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - ChannelId *uint64 `protobuf:"varint,2,opt,name=channelId" json:"channelId,omitempty"` - RoomId *uint64 `protobuf:"varint,3,opt,name=roomId" json:"roomId,omitempty"` - Tinyid *uint64 `protobuf:"varint,4,opt,name=tinyid" json:"tinyid,omitempty"` - Action *uint32 `protobuf:"varint,5,opt,name=action" json:"action,omitempty"` -} - -func (x *SwitchLiveRoom) Reset() { - *x = SwitchLiveRoom{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SwitchLiveRoom) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SwitchLiveRoom) ProtoMessage() {} - -func (x *SwitchLiveRoom) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SwitchLiveRoom.ProtoReflect.Descriptor instead. -func (*SwitchLiveRoom) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{32} -} - -func (x *SwitchLiveRoom) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *SwitchLiveRoom) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *SwitchLiveRoom) GetRoomId() uint64 { - if x != nil && x.RoomId != nil { - return *x.RoomId - } - return 0 -} - -func (x *SwitchLiveRoom) GetTinyid() uint64 { - if x != nil && x.Tinyid != nil { - return *x.Tinyid - } - return 0 -} - -func (x *SwitchLiveRoom) GetAction() uint32 { - if x != nil && x.Action != nil { - return *x.Action - } - return 0 -} - -type SwitchVoiceChannel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MemberId *uint64 `protobuf:"varint,1,opt,name=memberId" json:"memberId,omitempty"` - EnterDetail *SwitchDetail `protobuf:"bytes,2,opt,name=enterDetail" json:"enterDetail,omitempty"` - LeaveDetail *SwitchDetail `protobuf:"bytes,3,opt,name=leaveDetail" json:"leaveDetail,omitempty"` -} - -func (x *SwitchVoiceChannel) Reset() { - *x = SwitchVoiceChannel{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SwitchVoiceChannel) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SwitchVoiceChannel) ProtoMessage() {} - -func (x *SwitchVoiceChannel) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SwitchVoiceChannel.ProtoReflect.Descriptor instead. -func (*SwitchVoiceChannel) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{33} -} - -func (x *SwitchVoiceChannel) GetMemberId() uint64 { - if x != nil && x.MemberId != nil { - return *x.MemberId - } - return 0 -} - -func (x *SwitchVoiceChannel) GetEnterDetail() *SwitchDetail { - if x != nil { - return x.EnterDetail - } - return nil -} - -func (x *SwitchVoiceChannel) GetLeaveDetail() *SwitchDetail { - if x != nil { - return x.LeaveDetail - } - return nil -} - -type UpdateCategory struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CategoryInfo []*CategoryInfo `protobuf:"bytes,1,rep,name=categoryInfo" json:"categoryInfo,omitempty"` - NoClassifyCategoryInfo *CategoryInfo `protobuf:"bytes,2,opt,name=noClassifyCategoryInfo" json:"noClassifyCategoryInfo,omitempty"` -} - -func (x *UpdateCategory) Reset() { - *x = UpdateCategory{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateCategory) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateCategory) ProtoMessage() {} - -func (x *UpdateCategory) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateCategory.ProtoReflect.Descriptor instead. -func (*UpdateCategory) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{34} -} - -func (x *UpdateCategory) GetCategoryInfo() []*CategoryInfo { - if x != nil { - return x.CategoryInfo - } - return nil -} - -func (x *UpdateCategory) GetNoClassifyCategoryInfo() *CategoryInfo { - if x != nil { - return x.NoClassifyCategoryInfo - } - return nil -} - -type UpdateMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MsgSeq *uint64 `protobuf:"varint,1,opt,name=msgSeq" json:"msgSeq,omitempty"` - OrigMsgUncountable *bool `protobuf:"varint,2,opt,name=origMsgUncountable" json:"origMsgUncountable,omitempty"` - EventType *uint64 `protobuf:"varint,3,opt,name=eventType" json:"eventType,omitempty"` - EventVersion *uint64 `protobuf:"varint,4,opt,name=eventVersion" json:"eventVersion,omitempty"` - OperatorTinyid *uint64 `protobuf:"varint,5,opt,name=operatorTinyid" json:"operatorTinyid,omitempty"` - OperatorRole *uint64 `protobuf:"varint,6,opt,name=operatorRole" json:"operatorRole,omitempty"` - Reason *uint64 `protobuf:"varint,7,opt,name=reason" json:"reason,omitempty"` - Timestamp *uint64 `protobuf:"varint,8,opt,name=timestamp" json:"timestamp,omitempty"` -} - -func (x *UpdateMsg) Reset() { - *x = UpdateMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateMsg) ProtoMessage() {} - -func (x *UpdateMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateMsg.ProtoReflect.Descriptor instead. -func (*UpdateMsg) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{35} -} - -func (x *UpdateMsg) GetMsgSeq() uint64 { - if x != nil && x.MsgSeq != nil { - return *x.MsgSeq - } - return 0 -} - -func (x *UpdateMsg) GetOrigMsgUncountable() bool { - if x != nil && x.OrigMsgUncountable != nil { - return *x.OrigMsgUncountable - } - return false -} - -func (x *UpdateMsg) GetEventType() uint64 { - if x != nil && x.EventType != nil { - return *x.EventType - } - return 0 -} - -func (x *UpdateMsg) GetEventVersion() uint64 { - if x != nil && x.EventVersion != nil { - return *x.EventVersion - } - return 0 -} - -func (x *UpdateMsg) GetOperatorTinyid() uint64 { - if x != nil && x.OperatorTinyid != nil { - return *x.OperatorTinyid - } - return 0 -} - -func (x *UpdateMsg) GetOperatorRole() uint64 { - if x != nil && x.OperatorRole != nil { - return *x.OperatorRole - } - return 0 -} - -func (x *UpdateMsg) GetReason() uint64 { - if x != nil && x.Reason != nil { - return *x.Reason - } - return 0 -} - -func (x *UpdateMsg) GetTimestamp() uint64 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -type UpdateVoiceBlockList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Action *uint32 `protobuf:"varint,1,opt,name=action" json:"action,omitempty"` - ObjectTinyid *uint64 `protobuf:"varint,2,opt,name=objectTinyid" json:"objectTinyid,omitempty"` -} - -func (x *UpdateVoiceBlockList) Reset() { - *x = UpdateVoiceBlockList{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateVoiceBlockList) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateVoiceBlockList) ProtoMessage() {} - -func (x *UpdateVoiceBlockList) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateVoiceBlockList.ProtoReflect.Descriptor instead. -func (*UpdateVoiceBlockList) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{36} -} - -func (x *UpdateVoiceBlockList) GetAction() uint32 { - if x != nil && x.Action != nil { - return *x.Action - } - return 0 -} - -func (x *UpdateVoiceBlockList) GetObjectTinyid() uint64 { - if x != nil && x.ObjectTinyid != nil { - return *x.ObjectTinyid - } - return 0 -} - -type VoiceChannelInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MemberMaxNum *uint32 `protobuf:"varint,1,opt,name=memberMaxNum" json:"memberMaxNum,omitempty"` -} - -func (x *VoiceChannelInfo) Reset() { - *x = VoiceChannelInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VoiceChannelInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VoiceChannelInfo) ProtoMessage() {} - -func (x *VoiceChannelInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VoiceChannelInfo.ProtoReflect.Descriptor instead. -func (*VoiceChannelInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{37} -} - -func (x *VoiceChannelInfo) GetMemberMaxNum() uint32 { - if x != nil && x.MemberMaxNum != nil { - return *x.MemberMaxNum - } - return 0 -} - -type VoiceChannelInfoFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MemberMaxNum *uint32 `protobuf:"varint,1,opt,name=memberMaxNum" json:"memberMaxNum,omitempty"` -} - -func (x *VoiceChannelInfoFilter) Reset() { - *x = VoiceChannelInfoFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VoiceChannelInfoFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VoiceChannelInfoFilter) ProtoMessage() {} - -func (x *VoiceChannelInfoFilter) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VoiceChannelInfoFilter.ProtoReflect.Descriptor instead. -func (*VoiceChannelInfoFilter) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{38} -} - -func (x *VoiceChannelInfoFilter) GetMemberMaxNum() uint32 { - if x != nil && x.MemberMaxNum != nil { - return *x.MemberMaxNum - } - return 0 -} - -type CommGrayTips_TemplParam struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name []byte `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Value []byte `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` -} - -func (x *CommGrayTips_TemplParam) Reset() { - *x = CommGrayTips_TemplParam{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_servtype_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommGrayTips_TemplParam) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommGrayTips_TemplParam) ProtoMessage() {} - -func (x *CommGrayTips_TemplParam) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_servtype_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommGrayTips_TemplParam.ProtoReflect.Descriptor instead. -func (*CommGrayTips_TemplParam) Descriptor() ([]byte, []int) { - return file_pb_channel_servtype_proto_rawDescGZIP(), []int{8, 0} -} - -func (x *CommGrayTips_TemplParam) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *CommGrayTips_TemplParam) GetValue() []byte { - if x != nil { - return x.Value - } - return nil -} - -var File_pb_channel_servtype_proto protoreflect.FileDescriptor - -var file_pb_channel_servtype_proto_rawDesc = []byte{ - 0x0a, 0x19, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x72, - 0x76, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x97, 0x01, 0x0a, 0x0d, 0x41, 0x70, 0x70, 0x43, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, - 0x73, 0x67, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, - 0x4d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, - 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x57, - 0x0a, 0x13, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x22, 0xb8, 0x01, 0x0a, 0x0c, 0x43, 0x61, 0x74, 0x65, - 0x67, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x61, 0x74, 0x65, - 0x67, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0d, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3e, - 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x61, - 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, - 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, - 0x49, 0x64, 0x22, 0x93, 0x04, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x46, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, - 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, - 0x24, 0x0a, 0x0d, 0x6d, 0x73, 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6d, 0x73, 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, - 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x70, 0x65, 0x61, 0x6b, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x0f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x53, 0x65, - 0x71, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6e, 0x74, 0x4d, 0x73, 0x67, 0x53, - 0x65, 0x71, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6e, - 0x74, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x12, 0x57, 0x0a, 0x16, 0x76, 0x6f, 0x69, 0x63, 0x65, - 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x46, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, - 0x66, 0x6f, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x16, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x43, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x12, 0x54, 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, - 0x6e, 0x66, 0x6f, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1e, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x4c, 0x69, 0x76, 0x65, 0x43, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, - 0x15, 0x6c, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, - 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, - 0x53, 0x70, 0x65, 0x61, 0x6b, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x62, 0x61, 0x6e, - 0x6e, 0x65, 0x64, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x22, 0xa4, 0x02, 0x0a, 0x0e, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x67, - 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, - 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, - 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, - 0x07, 0x69, 0x6e, 0x66, 0x6f, 0x53, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x52, - 0x07, 0x69, 0x6e, 0x66, 0x6f, 0x53, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6e, - 0x49, 0x6e, 0x66, 0x6f, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x08, 0x63, 0x68, 0x61, - 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, - 0xb7, 0x02, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1e, 0x0a, - 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, - 0x07, 0x69, 0x6e, 0x66, 0x6f, 0x53, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x52, - 0x07, 0x69, 0x6e, 0x66, 0x6f, 0x53, 0x65, 0x71, 0x12, 0x29, 0x0a, 0x07, 0x66, 0x61, 0x63, 0x65, - 0x53, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x52, 0x07, 0x66, 0x61, 0x63, 0x65, - 0x53, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a, 0x0f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, - 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, - 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, - 0x6f, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, - 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x23, 0x0a, 0x09, 0x43, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x22, 0xb0, - 0x04, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, - 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, - 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x6d, 0x73, - 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0d, 0x6d, 0x73, 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x73, 0x70, 0x65, - 0x61, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x0a, - 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0f, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, - 0x71, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x12, 0x35, 0x0a, - 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6e, 0x74, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x4d, - 0x73, 0x67, 0x53, 0x65, 0x71, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6e, 0x74, 0x4d, 0x73, - 0x67, 0x53, 0x65, 0x71, 0x12, 0x45, 0x0a, 0x10, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x43, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, - 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x43, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x76, 0x6f, 0x69, 0x63, 0x65, - 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x42, 0x0a, 0x0f, 0x6c, - 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0f, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x4c, - 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, - 0x6c, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x20, 0x0a, 0x0b, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x18, 0x10, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x53, 0x70, 0x65, 0x61, - 0x6b, 0x22, 0xc6, 0x02, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x47, 0x72, 0x61, 0x79, 0x54, 0x69, - 0x70, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x75, 0x73, 0x69, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x62, 0x75, 0x73, 0x69, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x62, 0x75, 0x73, 0x69, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, - 0x62, 0x75, 0x73, 0x69, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x74, 0x72, 0x6c, 0x46, 0x6c, - 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x74, 0x72, 0x6c, 0x46, 0x6c, - 0x61, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x49, 0x64, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0a, - 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x47, - 0x72, 0x61, 0x79, 0x54, 0x69, 0x70, 0x73, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x18, - 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x70, 0x73, - 0x53, 0x65, 0x71, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x70, - 0x73, 0x53, 0x65, 0x71, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, - 0x72, 0x76, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, - 0x72, 0x76, 0x1a, 0x36, 0x0a, 0x0a, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x76, 0x0a, 0x0a, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, - 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x08, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x64, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x49, 0x64, 0x22, 0x47, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, - 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x77, 0x0a, 0x0b, 0x44, - 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, - 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, - 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x6f, 0x72, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x08, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x64, - 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x64, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x0c, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x47, - 0x75, 0x69, 0x6c, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x6f, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0xc2, - 0x0b, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x33, 0x0a, 0x0a, - 0x72, 0x65, 0x61, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4e, - 0x6f, 0x74, 0x69, 0x66, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, - 0x79, 0x12, 0x39, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x47, 0x72, 0x61, 0x79, 0x54, 0x69, 0x70, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x47, 0x72, 0x61, 0x79, 0x54, 0x69, 0x70, 0x73, 0x52, 0x0c, - 0x63, 0x6f, 0x6d, 0x6d, 0x47, 0x72, 0x61, 0x79, 0x54, 0x69, 0x70, 0x73, 0x12, 0x36, 0x0a, 0x0b, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, - 0x75, 0x69, 0x6c, 0x64, 0x12, 0x39, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x47, - 0x75, 0x69, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x12, - 0x30, 0x0a, 0x09, 0x6a, 0x6f, 0x69, 0x6e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x4a, 0x6f, 0x69, - 0x6e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x09, 0x6a, 0x6f, 0x69, 0x6e, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x12, 0x39, 0x0a, 0x0c, 0x6b, 0x69, 0x63, 0x6b, 0x4f, 0x66, 0x66, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x4b, 0x69, 0x63, 0x6b, 0x4f, 0x66, 0x66, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x0c, - 0x6b, 0x69, 0x63, 0x6b, 0x4f, 0x66, 0x66, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x30, 0x0a, 0x09, - 0x71, 0x75, 0x69, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x51, 0x75, 0x69, 0x74, 0x47, 0x75, - 0x69, 0x6c, 0x64, 0x52, 0x09, 0x71, 0x75, 0x69, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x42, - 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, - 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x52, 0x0a, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x12, 0x36, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x72, - 0x6f, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x43, 0x68, - 0x61, 0x6e, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x12, - 0x3f, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x6e, 0x66, - 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x2d, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x65, 0x74, - 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x08, 0x73, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, - 0x3f, 0x0a, 0x0e, 0x73, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x63, 0x76, 0x54, 0x79, 0x70, - 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x63, 0x76, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x0e, 0x73, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x63, 0x76, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x30, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x73, 0x67, 0x18, 0x0e, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, - 0x73, 0x67, 0x12, 0x27, 0x0a, 0x06, 0x73, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x18, 0x11, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x65, 0x74, - 0x54, 0x6f, 0x70, 0x52, 0x06, 0x73, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x12, 0x41, 0x0a, 0x0d, 0x73, - 0x77, 0x69, 0x74, 0x63, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x12, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x77, 0x69, - 0x74, 0x63, 0x68, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, - 0x0d, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x3f, - 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, - 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, - 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, - 0x51, 0x0a, 0x14, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x6f, - 0x69, 0x63, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x14, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, - 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x65, 0x18, 0x17, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x65, - 0x74, 0x4d, 0x75, 0x74, 0x65, 0x52, 0x07, 0x73, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x65, 0x12, 0x54, - 0x0a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x4c, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x14, - 0x6c, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x3f, 0x0a, 0x0e, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x4c, 0x69, - 0x76, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x4c, 0x69, 0x76, - 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x0e, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x4c, 0x69, 0x76, - 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x29, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, - 0x27, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x4d, 0x73, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x12, 0x33, 0x0a, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x28, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x0a, 0x61, 0x70, 0x70, 0x43, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x18, 0x29, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, - 0x67, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x44, 0x0a, - 0x11, 0x77, 0x65, 0x61, 0x6b, 0x4d, 0x73, 0x67, 0x41, 0x70, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, - 0x52, 0x11, 0x77, 0x65, 0x61, 0x6b, 0x4d, 0x73, 0x67, 0x41, 0x70, 0x70, 0x43, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x22, 0x64, 0x0a, 0x0e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x69, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x08, 0x69, 0x73, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x1a, 0x0a, - 0x08, 0x69, 0x73, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x08, 0x69, 0x73, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x22, 0xac, 0x05, 0x0a, 0x09, 0x47, 0x75, - 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x75, 0x69, 0x6c, - 0x64, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, - 0x22, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x61, 0x78, - 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4e, 0x75, 0x6d, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4e, 0x75, - 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x1c, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x04, - 0x52, 0x09, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, - 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, - 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x6f, 0x62, - 0x6f, 0x74, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, - 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x61, - 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x12, 0x18, 0x0a, - 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, - 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x61, 0x63, 0x65, 0x53, - 0x65, 0x71, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x66, 0x61, 0x63, 0x65, 0x53, 0x65, - 0x71, 0x12, 0x39, 0x0a, 0x0b, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x0b, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1e, 0x0a, 0x0a, - 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x3a, 0x0a, 0x0f, - 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x71, 0x18, - 0x8a, 0x27, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x52, 0x0f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x71, 0x12, 0x40, 0x0a, 0x12, 0x67, 0x75, 0x69, 0x6c, - 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x71, 0x18, 0x8b, - 0x27, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x52, 0x12, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, - 0x6f, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x71, 0x12, 0x3c, 0x0a, 0x10, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x71, 0x18, 0x8c, - 0x27, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x52, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x71, 0x22, 0xe6, 0x04, 0x0a, 0x0f, 0x47, 0x75, 0x69, - 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, - 0x67, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x61, - 0x78, 0x4e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x54, - 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x61, 0x6d, - 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, - 0x0a, 0x0b, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, - 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x61, 0x78, 0x4e, - 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0d, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x66, 0x61, 0x63, 0x65, 0x53, 0x65, 0x71, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x66, - 0x61, 0x63, 0x65, 0x53, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x67, 0x75, 0x69, - 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x29, 0x0a, 0x0f, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x71, 0x18, 0x8a, 0x27, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x53, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x12, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x71, 0x18, 0x8b, 0x27, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x12, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x43, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x53, 0x65, 0x71, 0x12, 0x2b, 0x0a, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x71, 0x18, 0x8c, 0x27, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x10, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, - 0x71, 0x22, 0x6b, 0x0a, 0x09, 0x4a, 0x6f, 0x69, 0x6e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x1a, - 0x0a, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, - 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x54, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x22, 0x6a, - 0x0a, 0x0c, 0x4b, 0x69, 0x63, 0x6b, 0x4f, 0x66, 0x66, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x1a, - 0x0a, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, - 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x65, - 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x54, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x54, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x22, 0x5b, 0x0a, 0x0f, 0x4c, 0x69, - 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, - 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x72, - 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x55, - 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, - 0x55, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x76, 0x65, - 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x46, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x69, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x52, - 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x69, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x41, - 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x55, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, - 0x69, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x55, 0x69, 0x6e, 0x12, - 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x69, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x22, - 0xa5, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x67, - 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, - 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x61, - 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x54, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0c, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x54, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5e, 0x0a, 0x08, 0x4d, 0x73, 0x67, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x2e, 0x0a, 0x06, 0x4d, 0x73, 0x67, 0x53, 0x65, - 0x71, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, - 0x73, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x0b, 0x0a, 0x09, 0x51, 0x75, 0x69, 0x74, 0x47, - 0x75, 0x69, 0x6c, 0x64, 0x22, 0xce, 0x01, 0x0a, 0x0a, 0x52, 0x65, 0x61, 0x64, 0x4e, 0x6f, 0x74, - 0x69, 0x66, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, - 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x0a, 0x72, - 0x65, 0x61, 0x64, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0f, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, - 0x52, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x12, 0x35, 0x0a, 0x0d, - 0x72, 0x65, 0x61, 0x64, 0x43, 0x6e, 0x74, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x4d, 0x73, - 0x67, 0x53, 0x65, 0x71, 0x52, 0x0d, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6e, 0x74, 0x4d, 0x73, 0x67, - 0x53, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x73, 0x67, 0x4d, 0x65, - 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x73, - 0x67, 0x4d, 0x65, 0x74, 0x61, 0x22, 0x74, 0x0a, 0x0c, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, - 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, - 0x48, 0x65, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x48, 0x65, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x18, 0x0a, - 0x07, 0x77, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x77, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, - 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x65, - 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x08, - 0x53, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, - 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x69, 0x6e, - 0x79, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x54, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x74, - 0x4d, 0x73, 0x67, 0x52, 0x65, 0x63, 0x76, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, - 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, - 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, - 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x24, 0x0a, - 0x0d, 0x6d, 0x73, 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6d, 0x73, 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, - 0x79, 0x70, 0x65, 0x22, 0x39, 0x0a, 0x07, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x6e, 0x79, 0x49, 0x44, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x74, 0x69, 0x6e, 0x79, 0x49, 0x44, 0x22, 0x20, - 0x0a, 0x06, 0x53, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x62, 0x0a, 0x0c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x22, 0x90, 0x01, 0x0a, 0x0e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x4c, - 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, - 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x6e, 0x79, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x74, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x53, 0x77, 0x69, 0x74, - 0x63, 0x68, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1a, - 0x0a, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x0b, 0x65, 0x6e, - 0x74, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, - 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0b, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x12, 0x37, 0x0a, 0x0b, 0x6c, 0x65, 0x61, 0x76, 0x65, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x2e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, - 0x0b, 0x6c, 0x65, 0x61, 0x76, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x9a, 0x01, 0x0a, - 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, - 0x39, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x63, 0x61, - 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a, 0x16, 0x6e, 0x6f, - 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x79, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, - 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x16, 0x6e, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x79, 0x43, 0x61, 0x74, - 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x97, 0x02, 0x0a, 0x09, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x73, 0x67, 0x53, 0x65, - 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x12, - 0x2e, 0x0a, 0x12, 0x6f, 0x72, 0x69, 0x67, 0x4d, 0x73, 0x67, 0x55, 0x6e, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x6f, 0x72, 0x69, - 0x67, 0x4d, 0x73, 0x67, 0x55, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, - 0x1c, 0x0a, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, - 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x26, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x69, 0x6e, - 0x79, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x54, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x72, - 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x22, 0x52, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x69, - 0x63, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6e, - 0x79, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x54, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x22, 0x36, 0x0a, 0x10, 0x56, 0x6f, 0x69, 0x63, 0x65, - 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x6d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x22, - 0x3c, 0x0a, 0x16, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, - 0x6e, 0x66, 0x6f, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x42, 0x14, 0x5a, - 0x12, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x3b, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, -} - -var ( - file_pb_channel_servtype_proto_rawDescOnce sync.Once - file_pb_channel_servtype_proto_rawDescData = file_pb_channel_servtype_proto_rawDesc -) - -func file_pb_channel_servtype_proto_rawDescGZIP() []byte { - file_pb_channel_servtype_proto_rawDescOnce.Do(func() { - file_pb_channel_servtype_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_channel_servtype_proto_rawDescData) - }) - return file_pb_channel_servtype_proto_rawDescData -} - -var file_pb_channel_servtype_proto_msgTypes = make([]protoimpl.MessageInfo, 40) -var file_pb_channel_servtype_proto_goTypes = []interface{}{ - (*AppChannelMsg)(nil), // 0: channel.AppChannelMsg - (*CategoryChannelInfo)(nil), // 1: channel.CategoryChannelInfo - (*CategoryInfo)(nil), // 2: channel.CategoryInfo - (*ChanInfoFilter)(nil), // 3: channel.ChanInfoFilter - (*ChangeChanInfo)(nil), // 4: channel.ChangeChanInfo - (*ChangeGuildInfo)(nil), // 5: channel.ChangeGuildInfo - (*ChannelID)(nil), // 6: channel.ChannelID - (*ServChannelInfo)(nil), // 7: channel.ServChannelInfo - (*CommGrayTips)(nil), // 8: channel.CommGrayTips - (*CreateChan)(nil), // 9: channel.CreateChan - (*CreateGuild)(nil), // 10: channel.CreateGuild - (*DestroyChan)(nil), // 11: channel.DestroyChan - (*DestroyGuild)(nil), // 12: channel.DestroyGuild - (*EventBody)(nil), // 13: channel.EventBody - (*GroupProStatus)(nil), // 14: channel.GroupProStatus - (*GuildInfo)(nil), // 15: channel.GuildInfo - (*GuildInfoFilter)(nil), // 16: channel.GuildInfoFilter - (*JoinGuild)(nil), // 17: channel.JoinGuild - (*KickOffGuild)(nil), // 18: channel.KickOffGuild - (*LiveChannelInfo)(nil), // 19: channel.LiveChannelInfo - (*LiveChannelInfoFilter)(nil), // 20: channel.LiveChannelInfoFilter - (*LiveRoomStatusChangeMsg)(nil), // 21: channel.LiveRoomStatusChangeMsg - (*MsgEvent)(nil), // 22: channel.MsgEvent - (*MsgSeq)(nil), // 23: channel.MsgSeq - (*QuitGuild)(nil), // 24: channel.QuitGuild - (*ReadNotify)(nil), // 25: channel.ReadNotify - (*SchedulerMsg)(nil), // 26: channel.SchedulerMsg - (*SetAdmin)(nil), // 27: channel.SetAdmin - (*SetMsgRecvType)(nil), // 28: channel.SetMsgRecvType - (*SetMute)(nil), // 29: channel.SetMute - (*SetTop)(nil), // 30: channel.SetTop - (*SwitchDetail)(nil), // 31: channel.SwitchDetail - (*SwitchLiveRoom)(nil), // 32: channel.SwitchLiveRoom - (*SwitchVoiceChannel)(nil), // 33: channel.SwitchVoiceChannel - (*UpdateCategory)(nil), // 34: channel.UpdateCategory - (*UpdateMsg)(nil), // 35: channel.UpdateMsg - (*UpdateVoiceBlockList)(nil), // 36: channel.UpdateVoiceBlockList - (*VoiceChannelInfo)(nil), // 37: channel.VoiceChannelInfo - (*VoiceChannelInfoFilter)(nil), // 38: channel.VoiceChannelInfoFilter - (*CommGrayTips_TemplParam)(nil), // 39: channel.CommGrayTips.TemplParam -} -var file_pb_channel_servtype_proto_depIdxs = []int32{ - 1, // 0: channel.CategoryInfo.channelInfo:type_name -> channel.CategoryChannelInfo - 38, // 1: channel.ChanInfoFilter.voiceChannelInfoFilter:type_name -> channel.VoiceChannelInfoFilter - 20, // 2: channel.ChanInfoFilter.liveChannelInfoFilter:type_name -> channel.LiveChannelInfoFilter - 23, // 3: channel.ChangeChanInfo.infoSeq:type_name -> channel.MsgSeq - 3, // 4: channel.ChangeChanInfo.chanInfoFilter:type_name -> channel.ChanInfoFilter - 7, // 5: channel.ChangeChanInfo.chanInfo:type_name -> channel.ServChannelInfo - 23, // 6: channel.ChangeGuildInfo.infoSeq:type_name -> channel.MsgSeq - 23, // 7: channel.ChangeGuildInfo.faceSeq:type_name -> channel.MsgSeq - 16, // 8: channel.ChangeGuildInfo.guildInfoFilter:type_name -> channel.GuildInfoFilter - 15, // 9: channel.ChangeGuildInfo.guildInfo:type_name -> channel.GuildInfo - 23, // 10: channel.ServChannelInfo.lastMsgSeq:type_name -> channel.MsgSeq - 23, // 11: channel.ServChannelInfo.lastCntMsgSeq:type_name -> channel.MsgSeq - 37, // 12: channel.ServChannelInfo.voiceChannelInfo:type_name -> channel.VoiceChannelInfo - 19, // 13: channel.ServChannelInfo.liveChannelInfo:type_name -> channel.LiveChannelInfo - 39, // 14: channel.CommGrayTips.templParam:type_name -> channel.CommGrayTips.TemplParam - 6, // 15: channel.CreateChan.createId:type_name -> channel.ChannelID - 6, // 16: channel.DestroyChan.deleteId:type_name -> channel.ChannelID - 25, // 17: channel.EventBody.readNotify:type_name -> channel.ReadNotify - 8, // 18: channel.EventBody.commGrayTips:type_name -> channel.CommGrayTips - 10, // 19: channel.EventBody.createGuild:type_name -> channel.CreateGuild - 12, // 20: channel.EventBody.destroyGuild:type_name -> channel.DestroyGuild - 17, // 21: channel.EventBody.joinGuild:type_name -> channel.JoinGuild - 18, // 22: channel.EventBody.kickOffGuild:type_name -> channel.KickOffGuild - 24, // 23: channel.EventBody.quitGuild:type_name -> channel.QuitGuild - 5, // 24: channel.EventBody.changeGuildInfo:type_name -> channel.ChangeGuildInfo - 9, // 25: channel.EventBody.createChan:type_name -> channel.CreateChan - 11, // 26: channel.EventBody.destroyChan:type_name -> channel.DestroyChan - 4, // 27: channel.EventBody.changeChanInfo:type_name -> channel.ChangeChanInfo - 27, // 28: channel.EventBody.setAdmin:type_name -> channel.SetAdmin - 28, // 29: channel.EventBody.setMsgRecvType:type_name -> channel.SetMsgRecvType - 35, // 30: channel.EventBody.updateMsg:type_name -> channel.UpdateMsg - 30, // 31: channel.EventBody.setTop:type_name -> channel.SetTop - 33, // 32: channel.EventBody.switchChannel:type_name -> channel.SwitchVoiceChannel - 34, // 33: channel.EventBody.updateCategory:type_name -> channel.UpdateCategory - 36, // 34: channel.EventBody.updateVoiceBlockList:type_name -> channel.UpdateVoiceBlockList - 29, // 35: channel.EventBody.setMute:type_name -> channel.SetMute - 21, // 36: channel.EventBody.liveStatusChangeRoom:type_name -> channel.LiveRoomStatusChangeMsg - 32, // 37: channel.EventBody.switchLiveRoom:type_name -> channel.SwitchLiveRoom - 22, // 38: channel.EventBody.events:type_name -> channel.MsgEvent - 26, // 39: channel.EventBody.scheduler:type_name -> channel.SchedulerMsg - 0, // 40: channel.EventBody.appChannel:type_name -> channel.AppChannelMsg - 0, // 41: channel.EventBody.weakMsgAppChannel:type_name -> channel.AppChannelMsg - 14, // 42: channel.GuildInfo.guildStatus:type_name -> channel.GroupProStatus - 23, // 43: channel.GuildInfo.memberChangeSeq:type_name -> channel.MsgSeq - 23, // 44: channel.GuildInfo.guildInfoChangeSeq:type_name -> channel.MsgSeq - 23, // 45: channel.GuildInfo.channelChangeSeq:type_name -> channel.MsgSeq - 23, // 46: channel.ReadNotify.readMsgSeq:type_name -> channel.MsgSeq - 23, // 47: channel.ReadNotify.readCntMsgSeq:type_name -> channel.MsgSeq - 31, // 48: channel.SwitchVoiceChannel.enterDetail:type_name -> channel.SwitchDetail - 31, // 49: channel.SwitchVoiceChannel.leaveDetail:type_name -> channel.SwitchDetail - 2, // 50: channel.UpdateCategory.categoryInfo:type_name -> channel.CategoryInfo - 2, // 51: channel.UpdateCategory.noClassifyCategoryInfo:type_name -> channel.CategoryInfo - 52, // [52:52] is the sub-list for method output_type - 52, // [52:52] is the sub-list for method input_type - 52, // [52:52] is the sub-list for extension type_name - 52, // [52:52] is the sub-list for extension extendee - 0, // [0:52] is the sub-list for field type_name -} - -func init() { file_pb_channel_servtype_proto_init() } -func file_pb_channel_servtype_proto_init() { - if File_pb_channel_servtype_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_pb_channel_servtype_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppChannelMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CategoryChannelInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CategoryInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChanInfoFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeChanInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeGuildInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelID); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServChannelInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommGrayTips); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateChan); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateGuild); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DestroyChan); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DestroyGuild); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupProStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildInfoFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JoinGuild); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KickOffGuild); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LiveChannelInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LiveChannelInfoFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LiveRoomStatusChangeMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSeq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QuitGuild); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadNotify); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SchedulerMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetAdmin); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetMsgRecvType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetMute); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetTop); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SwitchDetail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SwitchLiveRoom); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SwitchVoiceChannel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateCategory); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateVoiceBlockList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoiceChannelInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoiceChannelInfoFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_servtype_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommGrayTips_TemplParam); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pb_channel_servtype_proto_rawDesc, - NumEnums: 0, - NumMessages: 40, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_pb_channel_servtype_proto_goTypes, - DependencyIndexes: file_pb_channel_servtype_proto_depIdxs, - MessageInfos: file_pb_channel_servtype_proto_msgTypes, - }.Build() - File_pb_channel_servtype_proto = out.File - file_pb_channel_servtype_proto_rawDesc = nil - file_pb_channel_servtype_proto_goTypes = nil - file_pb_channel_servtype_proto_depIdxs = nil -} diff --git a/client/pb/channel/synclogic.pb.go b/client/pb/channel/synclogic.pb.go deleted file mode 100644 index 0ad97e5e..00000000 --- a/client/pb/channel/synclogic.pb.go +++ /dev/null @@ -1,1736 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.14.0 -// source: pb/channel/synclogic.proto - -package channel - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type ChannelMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - ChannelId *uint64 `protobuf:"varint,2,opt,name=channelId" json:"channelId,omitempty"` - Result *uint32 `protobuf:"varint,3,opt,name=result" json:"result,omitempty"` - RspBeginSeq *uint64 `protobuf:"varint,4,opt,name=rspBeginSeq" json:"rspBeginSeq,omitempty"` - RspEndSeq *uint64 `protobuf:"varint,5,opt,name=rspEndSeq" json:"rspEndSeq,omitempty"` - Msgs []*ChannelMsgContent `protobuf:"bytes,6,rep,name=msgs" json:"msgs,omitempty"` -} - -func (x *ChannelMsg) Reset() { - *x = ChannelMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelMsg) ProtoMessage() {} - -func (x *ChannelMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelMsg.ProtoReflect.Descriptor instead. -func (*ChannelMsg) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{0} -} - -func (x *ChannelMsg) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *ChannelMsg) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *ChannelMsg) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *ChannelMsg) GetRspBeginSeq() uint64 { - if x != nil && x.RspBeginSeq != nil { - return *x.RspBeginSeq - } - return 0 -} - -func (x *ChannelMsg) GetRspEndSeq() uint64 { - if x != nil && x.RspEndSeq != nil { - return *x.RspEndSeq - } - return 0 -} - -func (x *ChannelMsg) GetMsgs() []*ChannelMsgContent { - if x != nil { - return x.Msgs - } - return nil -} - -type ChannelMsgReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelParam *ChannelParam `protobuf:"bytes,1,opt,name=channelParam" json:"channelParam,omitempty"` - WithVersionFlag *uint32 `protobuf:"varint,2,opt,name=withVersionFlag" json:"withVersionFlag,omitempty"` - DirectMessageFlag *uint32 `protobuf:"varint,3,opt,name=directMessageFlag" json:"directMessageFlag,omitempty"` -} - -func (x *ChannelMsgReq) Reset() { - *x = ChannelMsgReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelMsgReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelMsgReq) ProtoMessage() {} - -func (x *ChannelMsgReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelMsgReq.ProtoReflect.Descriptor instead. -func (*ChannelMsgReq) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{1} -} - -func (x *ChannelMsgReq) GetChannelParam() *ChannelParam { - if x != nil { - return x.ChannelParam - } - return nil -} - -func (x *ChannelMsgReq) GetWithVersionFlag() uint32 { - if x != nil && x.WithVersionFlag != nil { - return *x.WithVersionFlag - } - return 0 -} - -func (x *ChannelMsgReq) GetDirectMessageFlag() uint32 { - if x != nil && x.DirectMessageFlag != nil { - return *x.DirectMessageFlag - } - return 0 -} - -type ChannelMsgRsp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - ErrMsg []byte `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - ChannelMsg *ChannelMsg `protobuf:"bytes,3,opt,name=channelMsg" json:"channelMsg,omitempty"` - WithVersionFlag *uint32 `protobuf:"varint,4,opt,name=withVersionFlag" json:"withVersionFlag,omitempty"` - GetMsgTime *uint64 `protobuf:"varint,5,opt,name=getMsgTime" json:"getMsgTime,omitempty"` -} - -func (x *ChannelMsgRsp) Reset() { - *x = ChannelMsgRsp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelMsgRsp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelMsgRsp) ProtoMessage() {} - -func (x *ChannelMsgRsp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelMsgRsp.ProtoReflect.Descriptor instead. -func (*ChannelMsgRsp) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{2} -} - -func (x *ChannelMsgRsp) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *ChannelMsgRsp) GetErrMsg() []byte { - if x != nil { - return x.ErrMsg - } - return nil -} - -func (x *ChannelMsgRsp) GetChannelMsg() *ChannelMsg { - if x != nil { - return x.ChannelMsg - } - return nil -} - -func (x *ChannelMsgRsp) GetWithVersionFlag() uint32 { - if x != nil && x.WithVersionFlag != nil { - return *x.WithVersionFlag - } - return 0 -} - -func (x *ChannelMsgRsp) GetGetMsgTime() uint64 { - if x != nil && x.GetMsgTime != nil { - return *x.GetMsgTime - } - return 0 -} - -type ChannelNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelId *uint64 `protobuf:"varint,1,opt,name=channelId" json:"channelId,omitempty"` - Seq *uint64 `protobuf:"varint,2,opt,name=seq" json:"seq,omitempty"` - CntSeq *uint64 `protobuf:"varint,3,opt,name=cntSeq" json:"cntSeq,omitempty"` - Time *uint64 `protobuf:"varint,4,opt,name=time" json:"time,omitempty"` - MemberReadMsgSeq *uint64 `protobuf:"varint,5,opt,name=memberReadMsgSeq" json:"memberReadMsgSeq,omitempty"` - MemberReadCntSeq *uint64 `protobuf:"varint,6,opt,name=memberReadCntSeq" json:"memberReadCntSeq,omitempty"` - NotifyType *uint32 `protobuf:"varint,7,opt,name=notifyType" json:"notifyType,omitempty"` - ChannelName []byte `protobuf:"bytes,8,opt,name=channelName" json:"channelName,omitempty"` - ChannelType *uint32 `protobuf:"varint,9,opt,name=channelType" json:"channelType,omitempty"` - Meta []byte `protobuf:"bytes,10,opt,name=meta" json:"meta,omitempty"` - ReadMsgMeta []byte `protobuf:"bytes,11,opt,name=readMsgMeta" json:"readMsgMeta,omitempty"` - EventTime *uint32 `protobuf:"varint,12,opt,name=eventTime" json:"eventTime,omitempty"` -} - -func (x *ChannelNode) Reset() { - *x = ChannelNode{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelNode) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelNode) ProtoMessage() {} - -func (x *ChannelNode) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelNode.ProtoReflect.Descriptor instead. -func (*ChannelNode) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{3} -} - -func (x *ChannelNode) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *ChannelNode) GetSeq() uint64 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -func (x *ChannelNode) GetCntSeq() uint64 { - if x != nil && x.CntSeq != nil { - return *x.CntSeq - } - return 0 -} - -func (x *ChannelNode) GetTime() uint64 { - if x != nil && x.Time != nil { - return *x.Time - } - return 0 -} - -func (x *ChannelNode) GetMemberReadMsgSeq() uint64 { - if x != nil && x.MemberReadMsgSeq != nil { - return *x.MemberReadMsgSeq - } - return 0 -} - -func (x *ChannelNode) GetMemberReadCntSeq() uint64 { - if x != nil && x.MemberReadCntSeq != nil { - return *x.MemberReadCntSeq - } - return 0 -} - -func (x *ChannelNode) GetNotifyType() uint32 { - if x != nil && x.NotifyType != nil { - return *x.NotifyType - } - return 0 -} - -func (x *ChannelNode) GetChannelName() []byte { - if x != nil { - return x.ChannelName - } - return nil -} - -func (x *ChannelNode) GetChannelType() uint32 { - if x != nil && x.ChannelType != nil { - return *x.ChannelType - } - return 0 -} - -func (x *ChannelNode) GetMeta() []byte { - if x != nil { - return x.Meta - } - return nil -} - -func (x *ChannelNode) GetReadMsgMeta() []byte { - if x != nil { - return x.ReadMsgMeta - } - return nil -} - -func (x *ChannelNode) GetEventTime() uint32 { - if x != nil && x.EventTime != nil { - return *x.EventTime - } - return 0 -} - -type ChannelParam struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - ChannelId *uint64 `protobuf:"varint,2,opt,name=channelId" json:"channelId,omitempty"` - BeginSeq *uint64 `protobuf:"varint,3,opt,name=beginSeq" json:"beginSeq,omitempty"` - EndSeq *uint64 `protobuf:"varint,4,opt,name=endSeq" json:"endSeq,omitempty"` - Time *uint64 `protobuf:"varint,5,opt,name=time" json:"time,omitempty"` - Version []uint64 `protobuf:"varint,6,rep,name=version" json:"version,omitempty"` - Seqs []*MsgCond `protobuf:"bytes,7,rep,name=seqs" json:"seqs,omitempty"` -} - -func (x *ChannelParam) Reset() { - *x = ChannelParam{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelParam) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelParam) ProtoMessage() {} - -func (x *ChannelParam) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelParam.ProtoReflect.Descriptor instead. -func (*ChannelParam) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{4} -} - -func (x *ChannelParam) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *ChannelParam) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *ChannelParam) GetBeginSeq() uint64 { - if x != nil && x.BeginSeq != nil { - return *x.BeginSeq - } - return 0 -} - -func (x *ChannelParam) GetEndSeq() uint64 { - if x != nil && x.EndSeq != nil { - return *x.EndSeq - } - return 0 -} - -func (x *ChannelParam) GetTime() uint64 { - if x != nil && x.Time != nil { - return *x.Time - } - return 0 -} - -func (x *ChannelParam) GetVersion() []uint64 { - if x != nil { - return x.Version - } - return nil -} - -func (x *ChannelParam) GetSeqs() []*MsgCond { - if x != nil { - return x.Seqs - } - return nil -} - -type DirectMessageSource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TinyId *uint64 `protobuf:"varint,1,opt,name=tinyId" json:"tinyId,omitempty"` - GuildId *uint64 `protobuf:"varint,2,opt,name=guildId" json:"guildId,omitempty"` - GuildName []byte `protobuf:"bytes,3,opt,name=guildName" json:"guildName,omitempty"` - MemberName []byte `protobuf:"bytes,4,opt,name=memberName" json:"memberName,omitempty"` - NickName []byte `protobuf:"bytes,5,opt,name=nickName" json:"nickName,omitempty"` -} - -func (x *DirectMessageSource) Reset() { - *x = DirectMessageSource{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DirectMessageSource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DirectMessageSource) ProtoMessage() {} - -func (x *DirectMessageSource) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DirectMessageSource.ProtoReflect.Descriptor instead. -func (*DirectMessageSource) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{5} -} - -func (x *DirectMessageSource) GetTinyId() uint64 { - if x != nil && x.TinyId != nil { - return *x.TinyId - } - return 0 -} - -func (x *DirectMessageSource) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *DirectMessageSource) GetGuildName() []byte { - if x != nil { - return x.GuildName - } - return nil -} - -func (x *DirectMessageSource) GetMemberName() []byte { - if x != nil { - return x.MemberName - } - return nil -} - -func (x *DirectMessageSource) GetNickName() []byte { - if x != nil { - return x.NickName - } - return nil -} - -type FirstViewMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PushFlag *uint32 `protobuf:"varint,1,opt,name=pushFlag" json:"pushFlag,omitempty"` - Seq *uint32 `protobuf:"varint,2,opt,name=seq" json:"seq,omitempty"` - GuildNodes []*GuildNode `protobuf:"bytes,3,rep,name=guildNodes" json:"guildNodes,omitempty"` - ChannelMsgs []*ChannelMsg `protobuf:"bytes,4,rep,name=channelMsgs" json:"channelMsgs,omitempty"` - GetMsgTime *uint64 `protobuf:"varint,5,opt,name=getMsgTime" json:"getMsgTime,omitempty"` - DirectMessageGuildNodes []*GuildNode `protobuf:"bytes,6,rep,name=directMessageGuildNodes" json:"directMessageGuildNodes,omitempty"` -} - -func (x *FirstViewMsg) Reset() { - *x = FirstViewMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FirstViewMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FirstViewMsg) ProtoMessage() {} - -func (x *FirstViewMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FirstViewMsg.ProtoReflect.Descriptor instead. -func (*FirstViewMsg) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{6} -} - -func (x *FirstViewMsg) GetPushFlag() uint32 { - if x != nil && x.PushFlag != nil { - return *x.PushFlag - } - return 0 -} - -func (x *FirstViewMsg) GetSeq() uint32 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -func (x *FirstViewMsg) GetGuildNodes() []*GuildNode { - if x != nil { - return x.GuildNodes - } - return nil -} - -func (x *FirstViewMsg) GetChannelMsgs() []*ChannelMsg { - if x != nil { - return x.ChannelMsgs - } - return nil -} - -func (x *FirstViewMsg) GetGetMsgTime() uint64 { - if x != nil && x.GetMsgTime != nil { - return *x.GetMsgTime - } - return 0 -} - -func (x *FirstViewMsg) GetDirectMessageGuildNodes() []*GuildNode { - if x != nil { - return x.DirectMessageGuildNodes - } - return nil -} - -type FirstViewReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LastMsgTime *uint64 `protobuf:"varint,1,opt,name=lastMsgTime" json:"lastMsgTime,omitempty"` - UdcFlag *uint32 `protobuf:"varint,2,opt,name=udcFlag" json:"udcFlag,omitempty"` - Seq *uint32 `protobuf:"varint,3,opt,name=seq" json:"seq,omitempty"` - DirectMessageFlag *uint32 `protobuf:"varint,4,opt,name=directMessageFlag" json:"directMessageFlag,omitempty"` -} - -func (x *FirstViewReq) Reset() { - *x = FirstViewReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FirstViewReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FirstViewReq) ProtoMessage() {} - -func (x *FirstViewReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FirstViewReq.ProtoReflect.Descriptor instead. -func (*FirstViewReq) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{7} -} - -func (x *FirstViewReq) GetLastMsgTime() uint64 { - if x != nil && x.LastMsgTime != nil { - return *x.LastMsgTime - } - return 0 -} - -func (x *FirstViewReq) GetUdcFlag() uint32 { - if x != nil && x.UdcFlag != nil { - return *x.UdcFlag - } - return 0 -} - -func (x *FirstViewReq) GetSeq() uint32 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -func (x *FirstViewReq) GetDirectMessageFlag() uint32 { - if x != nil && x.DirectMessageFlag != nil { - return *x.DirectMessageFlag - } - return 0 -} - -type FirstViewRsp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - ErrMsg []byte `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - Seq *uint32 `protobuf:"varint,3,opt,name=seq" json:"seq,omitempty"` - UdcFlag *uint32 `protobuf:"varint,4,opt,name=udcFlag" json:"udcFlag,omitempty"` - GuildCount *uint32 `protobuf:"varint,5,opt,name=guildCount" json:"guildCount,omitempty"` - SelfTinyid *uint64 `protobuf:"varint,6,opt,name=selfTinyid" json:"selfTinyid,omitempty"` - DirectMessageSwitch *uint32 `protobuf:"varint,7,opt,name=directMessageSwitch" json:"directMessageSwitch,omitempty"` - DirectMessageGuildCount *uint32 `protobuf:"varint,8,opt,name=directMessageGuildCount" json:"directMessageGuildCount,omitempty"` -} - -func (x *FirstViewRsp) Reset() { - *x = FirstViewRsp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FirstViewRsp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FirstViewRsp) ProtoMessage() {} - -func (x *FirstViewRsp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FirstViewRsp.ProtoReflect.Descriptor instead. -func (*FirstViewRsp) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{8} -} - -func (x *FirstViewRsp) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *FirstViewRsp) GetErrMsg() []byte { - if x != nil { - return x.ErrMsg - } - return nil -} - -func (x *FirstViewRsp) GetSeq() uint32 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -func (x *FirstViewRsp) GetUdcFlag() uint32 { - if x != nil && x.UdcFlag != nil { - return *x.UdcFlag - } - return 0 -} - -func (x *FirstViewRsp) GetGuildCount() uint32 { - if x != nil && x.GuildCount != nil { - return *x.GuildCount - } - return 0 -} - -func (x *FirstViewRsp) GetSelfTinyid() uint64 { - if x != nil && x.SelfTinyid != nil { - return *x.SelfTinyid - } - return 0 -} - -func (x *FirstViewRsp) GetDirectMessageSwitch() uint32 { - if x != nil && x.DirectMessageSwitch != nil { - return *x.DirectMessageSwitch - } - return 0 -} - -func (x *FirstViewRsp) GetDirectMessageGuildCount() uint32 { - if x != nil && x.DirectMessageGuildCount != nil { - return *x.DirectMessageGuildCount - } - return 0 -} - -type GuildNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - GuildCode *uint64 `protobuf:"varint,2,opt,name=guildCode" json:"guildCode,omitempty"` - ChannelNodes []*ChannelNode `protobuf:"bytes,3,rep,name=channelNodes" json:"channelNodes,omitempty"` - GuildName []byte `protobuf:"bytes,4,opt,name=guildName" json:"guildName,omitempty"` - PeerSource *DirectMessageSource `protobuf:"bytes,5,opt,name=peerSource" json:"peerSource,omitempty"` -} - -func (x *GuildNode) Reset() { - *x = GuildNode{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildNode) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildNode) ProtoMessage() {} - -func (x *GuildNode) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildNode.ProtoReflect.Descriptor instead. -func (*GuildNode) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{9} -} - -func (x *GuildNode) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *GuildNode) GetGuildCode() uint64 { - if x != nil && x.GuildCode != nil { - return *x.GuildCode - } - return 0 -} - -func (x *GuildNode) GetChannelNodes() []*ChannelNode { - if x != nil { - return x.ChannelNodes - } - return nil -} - -func (x *GuildNode) GetGuildName() []byte { - if x != nil { - return x.GuildName - } - return nil -} - -func (x *GuildNode) GetPeerSource() *DirectMessageSource { - if x != nil { - return x.PeerSource - } - return nil -} - -type MsgCond struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Seq *uint64 `protobuf:"varint,1,opt,name=seq" json:"seq,omitempty"` - EventVersion *uint64 `protobuf:"varint,2,opt,name=eventVersion" json:"eventVersion,omitempty"` -} - -func (x *MsgCond) Reset() { - *x = MsgCond{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgCond) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgCond) ProtoMessage() {} - -func (x *MsgCond) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgCond.ProtoReflect.Descriptor instead. -func (*MsgCond) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{10} -} - -func (x *MsgCond) GetSeq() uint64 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -func (x *MsgCond) GetEventVersion() uint64 { - if x != nil && x.EventVersion != nil { - return *x.EventVersion - } - return 0 -} - -type MultiChannelMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PushFlag *uint32 `protobuf:"varint,1,opt,name=pushFlag" json:"pushFlag,omitempty"` - Seq *uint32 `protobuf:"varint,2,opt,name=seq" json:"seq,omitempty"` - ChannelMsgs []*ChannelMsg `protobuf:"bytes,3,rep,name=channelMsgs" json:"channelMsgs,omitempty"` - GetMsgTime *uint64 `protobuf:"varint,4,opt,name=getMsgTime" json:"getMsgTime,omitempty"` -} - -func (x *MultiChannelMsg) Reset() { - *x = MultiChannelMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiChannelMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiChannelMsg) ProtoMessage() {} - -func (x *MultiChannelMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MultiChannelMsg.ProtoReflect.Descriptor instead. -func (*MultiChannelMsg) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{11} -} - -func (x *MultiChannelMsg) GetPushFlag() uint32 { - if x != nil && x.PushFlag != nil { - return *x.PushFlag - } - return 0 -} - -func (x *MultiChannelMsg) GetSeq() uint32 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -func (x *MultiChannelMsg) GetChannelMsgs() []*ChannelMsg { - if x != nil { - return x.ChannelMsgs - } - return nil -} - -func (x *MultiChannelMsg) GetGetMsgTime() uint64 { - if x != nil && x.GetMsgTime != nil { - return *x.GetMsgTime - } - return 0 -} - -type MultiChannelMsgReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelParams []*ChannelParam `protobuf:"bytes,1,rep,name=channelParams" json:"channelParams,omitempty"` - Seq *uint32 `protobuf:"varint,2,opt,name=seq" json:"seq,omitempty"` - DirectMessageFlag *uint32 `protobuf:"varint,3,opt,name=directMessageFlag" json:"directMessageFlag,omitempty"` -} - -func (x *MultiChannelMsgReq) Reset() { - *x = MultiChannelMsgReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiChannelMsgReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiChannelMsgReq) ProtoMessage() {} - -func (x *MultiChannelMsgReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MultiChannelMsgReq.ProtoReflect.Descriptor instead. -func (*MultiChannelMsgReq) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{12} -} - -func (x *MultiChannelMsgReq) GetChannelParams() []*ChannelParam { - if x != nil { - return x.ChannelParams - } - return nil -} - -func (x *MultiChannelMsgReq) GetSeq() uint32 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -func (x *MultiChannelMsgReq) GetDirectMessageFlag() uint32 { - if x != nil && x.DirectMessageFlag != nil { - return *x.DirectMessageFlag - } - return 0 -} - -type MultiChannelMsgRsp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - ErrMsg []byte `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - Seq *uint32 `protobuf:"varint,3,opt,name=seq" json:"seq,omitempty"` -} - -func (x *MultiChannelMsgRsp) Reset() { - *x = MultiChannelMsgRsp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiChannelMsgRsp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiChannelMsgRsp) ProtoMessage() {} - -func (x *MultiChannelMsgRsp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MultiChannelMsgRsp.ProtoReflect.Descriptor instead. -func (*MultiChannelMsgRsp) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{13} -} - -func (x *MultiChannelMsgRsp) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *MultiChannelMsgRsp) GetErrMsg() []byte { - if x != nil { - return x.ErrMsg - } - return nil -} - -func (x *MultiChannelMsgRsp) GetSeq() uint32 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -type ReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelParam *ChannelParam `protobuf:"bytes,1,opt,name=channelParam" json:"channelParam,omitempty"` - DirectMessageFlag *uint32 `protobuf:"varint,2,opt,name=directMessageFlag" json:"directMessageFlag,omitempty"` -} - -func (x *ReqBody) Reset() { - *x = ReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReqBody) ProtoMessage() {} - -func (x *ReqBody) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReqBody.ProtoReflect.Descriptor instead. -func (*ReqBody) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{14} -} - -func (x *ReqBody) GetChannelParam() *ChannelParam { - if x != nil { - return x.ChannelParam - } - return nil -} - -func (x *ReqBody) GetDirectMessageFlag() uint32 { - if x != nil && x.DirectMessageFlag != nil { - return *x.DirectMessageFlag - } - return 0 -} - -type RspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - ErrMsg []byte `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - ChannelMsg *ChannelMsg `protobuf:"bytes,3,opt,name=channelMsg" json:"channelMsg,omitempty"` -} - -func (x *RspBody) Reset() { - *x = RspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_synclogic_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RspBody) ProtoMessage() {} - -func (x *RspBody) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_synclogic_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RspBody.ProtoReflect.Descriptor instead. -func (*RspBody) Descriptor() ([]byte, []int) { - return file_pb_channel_synclogic_proto_rawDescGZIP(), []int{15} -} - -func (x *RspBody) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *RspBody) GetErrMsg() []byte { - if x != nil { - return x.ErrMsg - } - return nil -} - -func (x *RspBody) GetChannelMsg() *ChannelMsg { - if x != nil { - return x.ChannelMsg - } - return nil -} - -var File_pb_channel_synclogic_proto protoreflect.FileDescriptor - -var file_pb_channel_synclogic_proto_rawDesc = []byte{ - 0x0a, 0x1a, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x73, 0x79, 0x6e, - 0x63, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x17, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcc, - 0x01, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x0a, - 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, - 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x20, 0x0a, - 0x0b, 0x72, 0x73, 0x70, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x0b, 0x72, 0x73, 0x70, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x71, 0x12, - 0x1c, 0x0a, 0x09, 0x72, 0x73, 0x70, 0x45, 0x6e, 0x64, 0x53, 0x65, 0x71, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x09, 0x72, 0x73, 0x70, 0x45, 0x6e, 0x64, 0x53, 0x65, 0x71, 0x12, 0x2e, 0x0a, - 0x04, 0x6d, 0x73, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x22, 0xa2, 0x01, - 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, - 0x39, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0c, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x28, 0x0a, 0x0f, 0x77, 0x69, - 0x74, 0x68, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x77, 0x69, 0x74, 0x68, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x46, 0x6c, 0x61, 0x67, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x6c, - 0x61, 0x67, 0x22, 0xbe, 0x01, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, - 0x67, 0x52, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x65, 0x72, - 0x72, 0x4d, 0x73, 0x67, 0x12, 0x33, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, - 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x52, 0x0a, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x12, 0x28, 0x0a, 0x0f, 0x77, 0x69, 0x74, - 0x68, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0f, 0x77, 0x69, 0x74, 0x68, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x46, - 0x6c, 0x61, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x67, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, - 0x69, 0x6d, 0x65, 0x22, 0xf9, 0x02, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, - 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, - 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, - 0x73, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6e, 0x74, 0x53, 0x65, 0x71, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x6e, 0x74, 0x53, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x2a, 0x0a, 0x10, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x73, 0x67, - 0x53, 0x65, 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x6d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x12, 0x2a, 0x0a, 0x10, 0x6d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x61, 0x64, 0x43, 0x6e, 0x74, 0x53, 0x65, 0x71, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x61, - 0x64, 0x43, 0x6e, 0x74, 0x53, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x6f, 0x74, 0x69, 0x66, - 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x6f, 0x74, - 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, - 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, - 0x65, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, - 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x73, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x73, 0x67, 0x4d, 0x65, 0x74, - 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, - 0xce, 0x01, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x65, 0x67, 0x69, - 0x6e, 0x53, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x62, 0x65, 0x67, 0x69, - 0x6e, 0x53, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x71, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, - 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x04, 0x73, 0x65, - 0x71, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x52, 0x04, 0x73, 0x65, 0x71, 0x73, - 0x22, 0xa1, 0x01, 0x0a, 0x13, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x6e, 0x79, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x74, 0x69, 0x6e, 0x79, 0x49, 0x64, - 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x75, - 0x69, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x67, - 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, - 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, - 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x95, 0x02, 0x0a, 0x0c, 0x46, 0x69, 0x72, 0x73, 0x74, 0x56, 0x69, - 0x65, 0x77, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x75, 0x73, 0x68, 0x46, 0x6c, 0x61, - 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x75, 0x73, 0x68, 0x46, 0x6c, 0x61, - 0x67, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, - 0x73, 0x65, 0x71, 0x12, 0x32, 0x0a, 0x0a, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x6f, 0x64, 0x65, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x67, 0x75, 0x69, - 0x6c, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, - 0x67, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x73, 0x12, 0x1e, - 0x0a, 0x0a, 0x67, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x0a, 0x67, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4c, - 0x0a, 0x17, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x47, - 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4e, - 0x6f, 0x64, 0x65, 0x52, 0x17, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x8a, 0x01, 0x0a, - 0x0c, 0x46, 0x69, 0x72, 0x73, 0x74, 0x56, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, - 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x75, 0x64, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x07, 0x75, 0x64, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x2c, 0x0a, 0x11, 0x64, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x22, 0x96, 0x02, 0x0a, 0x0c, 0x46, 0x69, - 0x72, 0x73, 0x74, 0x56, 0x69, 0x65, 0x77, 0x52, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, - 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, - 0x75, 0x64, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x75, - 0x64, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x67, 0x75, 0x69, 0x6c, - 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6c, 0x66, 0x54, 0x69, - 0x6e, 0x79, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x73, 0x65, 0x6c, 0x66, - 0x54, 0x69, 0x6e, 0x79, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x13, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x38, 0x0a, 0x17, 0x64, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x17, 0x64, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x22, 0xd9, 0x01, 0x0a, 0x09, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x6f, 0x64, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x75, - 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, - 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x38, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x6f, 0x64, - 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x3c, 0x0a, 0x0a, 0x70, 0x65, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x44, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x52, 0x0a, 0x70, 0x65, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x3f, - 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, - 0x96, 0x01, 0x0a, 0x0f, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x75, 0x73, 0x68, 0x46, 0x6c, 0x61, 0x67, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x75, 0x73, 0x68, 0x46, 0x6c, 0x61, 0x67, 0x12, - 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, - 0x71, 0x12, 0x35, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x52, 0x0b, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x74, 0x4d, - 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x67, 0x65, - 0x74, 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x12, 0x4d, 0x75, 0x6c, - 0x74, 0x69, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, - 0x3b, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0d, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x10, 0x0a, 0x03, - 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x2c, - 0x0a, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, - 0x6c, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x22, 0x56, 0x0a, 0x12, - 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x52, - 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, - 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, - 0x73, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x03, 0x73, 0x65, 0x71, 0x22, 0x72, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, - 0x39, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0c, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x22, 0x6e, 0x0a, 0x07, 0x52, 0x73, 0x70, 0x42, - 0x6f, 0x64, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, - 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x65, 0x72, 0x72, - 0x4d, 0x73, 0x67, 0x12, 0x33, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, - 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x52, 0x0a, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x42, 0x14, 0x5a, 0x12, 0x70, 0x62, 0x2f, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, -} - -var ( - file_pb_channel_synclogic_proto_rawDescOnce sync.Once - file_pb_channel_synclogic_proto_rawDescData = file_pb_channel_synclogic_proto_rawDesc -) - -func file_pb_channel_synclogic_proto_rawDescGZIP() []byte { - file_pb_channel_synclogic_proto_rawDescOnce.Do(func() { - file_pb_channel_synclogic_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_channel_synclogic_proto_rawDescData) - }) - return file_pb_channel_synclogic_proto_rawDescData -} - -var file_pb_channel_synclogic_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_pb_channel_synclogic_proto_goTypes = []interface{}{ - (*ChannelMsg)(nil), // 0: channel.ChannelMsg - (*ChannelMsgReq)(nil), // 1: channel.ChannelMsgReq - (*ChannelMsgRsp)(nil), // 2: channel.ChannelMsgRsp - (*ChannelNode)(nil), // 3: channel.ChannelNode - (*ChannelParam)(nil), // 4: channel.ChannelParam - (*DirectMessageSource)(nil), // 5: channel.DirectMessageSource - (*FirstViewMsg)(nil), // 6: channel.FirstViewMsg - (*FirstViewReq)(nil), // 7: channel.FirstViewReq - (*FirstViewRsp)(nil), // 8: channel.FirstViewRsp - (*GuildNode)(nil), // 9: channel.GuildNode - (*MsgCond)(nil), // 10: channel.MsgCond - (*MultiChannelMsg)(nil), // 11: channel.MultiChannelMsg - (*MultiChannelMsgReq)(nil), // 12: channel.MultiChannelMsgReq - (*MultiChannelMsgRsp)(nil), // 13: channel.MultiChannelMsgRsp - (*ReqBody)(nil), // 14: channel.ReqBody - (*RspBody)(nil), // 15: channel.RspBody - (*ChannelMsgContent)(nil), // 16: channel.ChannelMsgContent -} -var file_pb_channel_synclogic_proto_depIdxs = []int32{ - 16, // 0: channel.ChannelMsg.msgs:type_name -> channel.ChannelMsgContent - 4, // 1: channel.ChannelMsgReq.channelParam:type_name -> channel.ChannelParam - 0, // 2: channel.ChannelMsgRsp.channelMsg:type_name -> channel.ChannelMsg - 10, // 3: channel.ChannelParam.seqs:type_name -> channel.MsgCond - 9, // 4: channel.FirstViewMsg.guildNodes:type_name -> channel.GuildNode - 0, // 5: channel.FirstViewMsg.channelMsgs:type_name -> channel.ChannelMsg - 9, // 6: channel.FirstViewMsg.directMessageGuildNodes:type_name -> channel.GuildNode - 3, // 7: channel.GuildNode.channelNodes:type_name -> channel.ChannelNode - 5, // 8: channel.GuildNode.peerSource:type_name -> channel.DirectMessageSource - 0, // 9: channel.MultiChannelMsg.channelMsgs:type_name -> channel.ChannelMsg - 4, // 10: channel.MultiChannelMsgReq.channelParams:type_name -> channel.ChannelParam - 4, // 11: channel.ReqBody.channelParam:type_name -> channel.ChannelParam - 0, // 12: channel.RspBody.channelMsg:type_name -> channel.ChannelMsg - 13, // [13:13] is the sub-list for method output_type - 13, // [13:13] is the sub-list for method input_type - 13, // [13:13] is the sub-list for extension type_name - 13, // [13:13] is the sub-list for extension extendee - 0, // [0:13] is the sub-list for field type_name -} - -func init() { file_pb_channel_synclogic_proto_init() } -func file_pb_channel_synclogic_proto_init() { - if File_pb_channel_synclogic_proto != nil { - return - } - file_pb_channel_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_pb_channel_synclogic_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelMsgReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelMsgRsp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelNode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelParam); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DirectMessageSource); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FirstViewMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FirstViewReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FirstViewRsp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildNode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgCond); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiChannelMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiChannelMsgReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiChannelMsgRsp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_synclogic_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pb_channel_synclogic_proto_rawDesc, - NumEnums: 0, - NumMessages: 16, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_pb_channel_synclogic_proto_goTypes, - DependencyIndexes: file_pb_channel_synclogic_proto_depIdxs, - MessageInfos: file_pb_channel_synclogic_proto_msgTypes, - }.Build() - File_pb_channel_synclogic_proto = out.File - file_pb_channel_synclogic_proto_rawDesc = nil - file_pb_channel_synclogic_proto_goTypes = nil - file_pb_channel_synclogic_proto_depIdxs = nil -} diff --git a/client/pb/channel/unknown.pb.go b/client/pb/channel/unknown.pb.go deleted file mode 100644 index 9ce0c25d..00000000 --- a/client/pb/channel/unknown.pb.go +++ /dev/null @@ -1,1465 +0,0 @@ -// 存放所有未知的结构体, 均为手动分析复原 - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.14.0 -// source: pb/channel/unknown.proto - -package channel - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type ChannelOidb0Xf5BRsp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - Bots []*GuildMemberInfo `protobuf:"bytes,4,rep,name=bots" json:"bots,omitempty"` - Members []*GuildMemberInfo `protobuf:"bytes,5,rep,name=members" json:"members,omitempty"` - AdminInfo *GuildAdminInfo `protobuf:"bytes,25,opt,name=adminInfo" json:"adminInfo,omitempty"` -} - -func (x *ChannelOidb0Xf5BRsp) Reset() { - *x = ChannelOidb0Xf5BRsp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelOidb0Xf5BRsp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelOidb0Xf5BRsp) ProtoMessage() {} - -func (x *ChannelOidb0Xf5BRsp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelOidb0Xf5BRsp.ProtoReflect.Descriptor instead. -func (*ChannelOidb0Xf5BRsp) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{0} -} - -func (x *ChannelOidb0Xf5BRsp) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *ChannelOidb0Xf5BRsp) GetBots() []*GuildMemberInfo { - if x != nil { - return x.Bots - } - return nil -} - -func (x *ChannelOidb0Xf5BRsp) GetMembers() []*GuildMemberInfo { - if x != nil { - return x.Members - } - return nil -} - -func (x *ChannelOidb0Xf5BRsp) GetAdminInfo() *GuildAdminInfo { - if x != nil { - return x.AdminInfo - } - return nil -} - -type ChannelOidb0Xf88Rsp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Profile *GuildUserProfile `protobuf:"bytes,1,opt,name=profile" json:"profile,omitempty"` -} - -func (x *ChannelOidb0Xf88Rsp) Reset() { - *x = ChannelOidb0Xf88Rsp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelOidb0Xf88Rsp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelOidb0Xf88Rsp) ProtoMessage() {} - -func (x *ChannelOidb0Xf88Rsp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelOidb0Xf88Rsp.ProtoReflect.Descriptor instead. -func (*ChannelOidb0Xf88Rsp) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{1} -} - -func (x *ChannelOidb0Xf88Rsp) GetProfile() *GuildUserProfile { - if x != nil { - return x.Profile - } - return nil -} - -type ChannelOidb0Xfc9Rsp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Profile *GuildUserProfile `protobuf:"bytes,1,opt,name=profile" json:"profile,omitempty"` -} - -func (x *ChannelOidb0Xfc9Rsp) Reset() { - *x = ChannelOidb0Xfc9Rsp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelOidb0Xfc9Rsp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelOidb0Xfc9Rsp) ProtoMessage() {} - -func (x *ChannelOidb0Xfc9Rsp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelOidb0Xfc9Rsp.ProtoReflect.Descriptor instead. -func (*ChannelOidb0Xfc9Rsp) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{2} -} - -func (x *ChannelOidb0Xfc9Rsp) GetProfile() *GuildUserProfile { - if x != nil { - return x.Profile - } - return nil -} - -type ChannelOidb0Xf57Rsp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Rsp *GuildMetaRsp `protobuf:"bytes,1,opt,name=rsp" json:"rsp,omitempty"` -} - -func (x *ChannelOidb0Xf57Rsp) Reset() { - *x = ChannelOidb0Xf57Rsp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelOidb0Xf57Rsp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelOidb0Xf57Rsp) ProtoMessage() {} - -func (x *ChannelOidb0Xf57Rsp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelOidb0Xf57Rsp.ProtoReflect.Descriptor instead. -func (*ChannelOidb0Xf57Rsp) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{3} -} - -func (x *ChannelOidb0Xf57Rsp) GetRsp() *GuildMetaRsp { - if x != nil { - return x.Rsp - } - return nil -} - -type ChannelOidb0Xf55Rsp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Info *GuildChannelInfo `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"` -} - -func (x *ChannelOidb0Xf55Rsp) Reset() { - *x = ChannelOidb0Xf55Rsp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelOidb0Xf55Rsp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelOidb0Xf55Rsp) ProtoMessage() {} - -func (x *ChannelOidb0Xf55Rsp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelOidb0Xf55Rsp.ProtoReflect.Descriptor instead. -func (*ChannelOidb0Xf55Rsp) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{4} -} - -func (x *ChannelOidb0Xf55Rsp) GetInfo() *GuildChannelInfo { - if x != nil { - return x.Info - } - return nil -} - -type ChannelOidb0Xf5DRsp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Rsp *ChannelListRsp `protobuf:"bytes,1,opt,name=rsp" json:"rsp,omitempty"` -} - -func (x *ChannelOidb0Xf5DRsp) Reset() { - *x = ChannelOidb0Xf5DRsp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelOidb0Xf5DRsp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelOidb0Xf5DRsp) ProtoMessage() {} - -func (x *ChannelOidb0Xf5DRsp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelOidb0Xf5DRsp.ProtoReflect.Descriptor instead. -func (*ChannelOidb0Xf5DRsp) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{5} -} - -func (x *ChannelOidb0Xf5DRsp) GetRsp() *ChannelListRsp { - if x != nil { - return x.Rsp - } - return nil -} - -type GuildMetaRsp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,3,opt,name=guildId" json:"guildId,omitempty"` - Meta *GuildMeta `protobuf:"bytes,4,opt,name=meta" json:"meta,omitempty"` -} - -func (x *GuildMetaRsp) Reset() { - *x = GuildMetaRsp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildMetaRsp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildMetaRsp) ProtoMessage() {} - -func (x *GuildMetaRsp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildMetaRsp.ProtoReflect.Descriptor instead. -func (*GuildMetaRsp) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{6} -} - -func (x *GuildMetaRsp) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *GuildMetaRsp) GetMeta() *GuildMeta { - if x != nil { - return x.Meta - } - return nil -} - -type ChannelListRsp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"` - Channels []*GuildChannelInfo `protobuf:"bytes,2,rep,name=channels" json:"channels,omitempty"` // 5: Category infos -} - -func (x *ChannelListRsp) Reset() { - *x = ChannelListRsp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelListRsp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelListRsp) ProtoMessage() {} - -func (x *ChannelListRsp) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelListRsp.ProtoReflect.Descriptor instead. -func (*ChannelListRsp) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{7} -} - -func (x *ChannelListRsp) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *ChannelListRsp) GetChannels() []*GuildChannelInfo { - if x != nil { - return x.Channels - } - return nil -} - -type GuildAdminInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Admins []*GuildMemberInfo `protobuf:"bytes,2,rep,name=admins" json:"admins,omitempty"` -} - -func (x *GuildAdminInfo) Reset() { - *x = GuildAdminInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildAdminInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildAdminInfo) ProtoMessage() {} - -func (x *GuildAdminInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildAdminInfo.ProtoReflect.Descriptor instead. -func (*GuildAdminInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{8} -} - -func (x *GuildAdminInfo) GetAdmins() []*GuildMemberInfo { - if x != nil { - return x.Admins - } - return nil -} - -type GuildMemberInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"` - Nickname *string `protobuf:"bytes,3,opt,name=nickname" json:"nickname,omitempty"` - LastSpeakTime *int64 `protobuf:"varint,4,opt,name=lastSpeakTime" json:"lastSpeakTime,omitempty"` // uncertainty - Role *int32 `protobuf:"varint,5,opt,name=role" json:"role,omitempty"` // uncertainty - TinyId *uint64 `protobuf:"varint,8,opt,name=tinyId" json:"tinyId,omitempty"` -} - -func (x *GuildMemberInfo) Reset() { - *x = GuildMemberInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildMemberInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildMemberInfo) ProtoMessage() {} - -func (x *GuildMemberInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildMemberInfo.ProtoReflect.Descriptor instead. -func (*GuildMemberInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{9} -} - -func (x *GuildMemberInfo) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *GuildMemberInfo) GetNickname() string { - if x != nil && x.Nickname != nil { - return *x.Nickname - } - return "" -} - -func (x *GuildMemberInfo) GetLastSpeakTime() int64 { - if x != nil && x.LastSpeakTime != nil { - return *x.LastSpeakTime - } - return 0 -} - -func (x *GuildMemberInfo) GetRole() int32 { - if x != nil && x.Role != nil { - return *x.Role - } - return 0 -} - -func (x *GuildMemberInfo) GetTinyId() uint64 { - if x != nil && x.TinyId != nil { - return *x.TinyId - } - return 0 -} - -// 频道系统用户资料 -type GuildUserProfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TinyId *uint64 `protobuf:"varint,2,opt,name=tinyId" json:"tinyId,omitempty"` - Nickname *string `protobuf:"bytes,3,opt,name=nickname" json:"nickname,omitempty"` - AvatarUrl *string `protobuf:"bytes,6,opt,name=avatarUrl" json:"avatarUrl,omitempty"` - // 15: avatar url info - JoinTime *int64 `protobuf:"varint,16,opt,name=joinTime" json:"joinTime,omitempty"` // uncertainty -} - -func (x *GuildUserProfile) Reset() { - *x = GuildUserProfile{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildUserProfile) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildUserProfile) ProtoMessage() {} - -func (x *GuildUserProfile) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildUserProfile.ProtoReflect.Descriptor instead. -func (*GuildUserProfile) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{10} -} - -func (x *GuildUserProfile) GetTinyId() uint64 { - if x != nil && x.TinyId != nil { - return *x.TinyId - } - return 0 -} - -func (x *GuildUserProfile) GetNickname() string { - if x != nil && x.Nickname != nil { - return *x.Nickname - } - return "" -} - -func (x *GuildUserProfile) GetAvatarUrl() string { - if x != nil && x.AvatarUrl != nil { - return *x.AvatarUrl - } - return "" -} - -func (x *GuildUserProfile) GetJoinTime() int64 { - if x != nil && x.JoinTime != nil { - return *x.JoinTime - } - return 0 -} - -type GuildMeta struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GuildCode *uint64 `protobuf:"varint,2,opt,name=guildCode" json:"guildCode,omitempty"` - CreateTime *int64 `protobuf:"varint,4,opt,name=createTime" json:"createTime,omitempty"` - MaxMemberCount *int64 `protobuf:"varint,5,opt,name=maxMemberCount" json:"maxMemberCount,omitempty"` - MemberCount *int64 `protobuf:"varint,6,opt,name=memberCount" json:"memberCount,omitempty"` - Name *string `protobuf:"bytes,8,opt,name=name" json:"name,omitempty"` - RobotMaxNum *int32 `protobuf:"varint,11,opt,name=robotMaxNum" json:"robotMaxNum,omitempty"` - AdminMaxNum *int32 `protobuf:"varint,12,opt,name=adminMaxNum" json:"adminMaxNum,omitempty"` - Profile *string `protobuf:"bytes,13,opt,name=profile" json:"profile,omitempty"` - AvatarSeq *int64 `protobuf:"varint,14,opt,name=avatarSeq" json:"avatarSeq,omitempty"` - OwnerId *uint64 `protobuf:"varint,18,opt,name=ownerId" json:"ownerId,omitempty"` - CoverSeq *int64 `protobuf:"varint,19,opt,name=coverSeq" json:"coverSeq,omitempty"` - ClientId *int32 `protobuf:"varint,20,opt,name=clientId" json:"clientId,omitempty"` -} - -func (x *GuildMeta) Reset() { - *x = GuildMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildMeta) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildMeta) ProtoMessage() {} - -func (x *GuildMeta) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildMeta.ProtoReflect.Descriptor instead. -func (*GuildMeta) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{11} -} - -func (x *GuildMeta) GetGuildCode() uint64 { - if x != nil && x.GuildCode != nil { - return *x.GuildCode - } - return 0 -} - -func (x *GuildMeta) GetCreateTime() int64 { - if x != nil && x.CreateTime != nil { - return *x.CreateTime - } - return 0 -} - -func (x *GuildMeta) GetMaxMemberCount() int64 { - if x != nil && x.MaxMemberCount != nil { - return *x.MaxMemberCount - } - return 0 -} - -func (x *GuildMeta) GetMemberCount() int64 { - if x != nil && x.MemberCount != nil { - return *x.MemberCount - } - return 0 -} - -func (x *GuildMeta) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *GuildMeta) GetRobotMaxNum() int32 { - if x != nil && x.RobotMaxNum != nil { - return *x.RobotMaxNum - } - return 0 -} - -func (x *GuildMeta) GetAdminMaxNum() int32 { - if x != nil && x.AdminMaxNum != nil { - return *x.AdminMaxNum - } - return 0 -} - -func (x *GuildMeta) GetProfile() string { - if x != nil && x.Profile != nil { - return *x.Profile - } - return "" -} - -func (x *GuildMeta) GetAvatarSeq() int64 { - if x != nil && x.AvatarSeq != nil { - return *x.AvatarSeq - } - return 0 -} - -func (x *GuildMeta) GetOwnerId() uint64 { - if x != nil && x.OwnerId != nil { - return *x.OwnerId - } - return 0 -} - -func (x *GuildMeta) GetCoverSeq() int64 { - if x != nil && x.CoverSeq != nil { - return *x.CoverSeq - } - return 0 -} - -func (x *GuildMeta) GetClientId() int32 { - if x != nil && x.ClientId != nil { - return *x.ClientId - } - return 0 -} - -type GuildChannelInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelId *uint64 `protobuf:"varint,1,opt,name=channelId" json:"channelId,omitempty"` - ChannelName *string `protobuf:"bytes,2,opt,name=channelName" json:"channelName,omitempty"` - CreatorUin *int64 `protobuf:"varint,3,opt,name=creatorUin" json:"creatorUin,omitempty"` - CreateTime *int64 `protobuf:"varint,4,opt,name=createTime" json:"createTime,omitempty"` - GuildId *uint64 `protobuf:"varint,5,opt,name=guildId" json:"guildId,omitempty"` - FinalNotifyType *int32 `protobuf:"varint,6,opt,name=finalNotifyType" json:"finalNotifyType,omitempty"` - ChannelType *int32 `protobuf:"varint,7,opt,name=channelType" json:"channelType,omitempty"` - TalkPermission *int32 `protobuf:"varint,8,opt,name=talkPermission" json:"talkPermission,omitempty"` - // 11 - 14 : MsgInfo - CreatorTinyId *uint64 `protobuf:"varint,15,opt,name=creatorTinyId" json:"creatorTinyId,omitempty"` - // 16: Member info ? - VisibleType *int32 `protobuf:"varint,22,opt,name=visibleType" json:"visibleType,omitempty"` - TopMsg *GuildChannelTopMsgInfo `protobuf:"bytes,28,opt,name=topMsg" json:"topMsg,omitempty"` - CurrentSlowModeKey *int32 `protobuf:"varint,31,opt,name=currentSlowModeKey" json:"currentSlowModeKey,omitempty"` - SlowModeInfos []*GuildChannelSlowModeInfo `protobuf:"bytes,32,rep,name=slowModeInfos" json:"slowModeInfos,omitempty"` -} - -func (x *GuildChannelInfo) Reset() { - *x = GuildChannelInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildChannelInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildChannelInfo) ProtoMessage() {} - -func (x *GuildChannelInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildChannelInfo.ProtoReflect.Descriptor instead. -func (*GuildChannelInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{12} -} - -func (x *GuildChannelInfo) GetChannelId() uint64 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *GuildChannelInfo) GetChannelName() string { - if x != nil && x.ChannelName != nil { - return *x.ChannelName - } - return "" -} - -func (x *GuildChannelInfo) GetCreatorUin() int64 { - if x != nil && x.CreatorUin != nil { - return *x.CreatorUin - } - return 0 -} - -func (x *GuildChannelInfo) GetCreateTime() int64 { - if x != nil && x.CreateTime != nil { - return *x.CreateTime - } - return 0 -} - -func (x *GuildChannelInfo) GetGuildId() uint64 { - if x != nil && x.GuildId != nil { - return *x.GuildId - } - return 0 -} - -func (x *GuildChannelInfo) GetFinalNotifyType() int32 { - if x != nil && x.FinalNotifyType != nil { - return *x.FinalNotifyType - } - return 0 -} - -func (x *GuildChannelInfo) GetChannelType() int32 { - if x != nil && x.ChannelType != nil { - return *x.ChannelType - } - return 0 -} - -func (x *GuildChannelInfo) GetTalkPermission() int32 { - if x != nil && x.TalkPermission != nil { - return *x.TalkPermission - } - return 0 -} - -func (x *GuildChannelInfo) GetCreatorTinyId() uint64 { - if x != nil && x.CreatorTinyId != nil { - return *x.CreatorTinyId - } - return 0 -} - -func (x *GuildChannelInfo) GetVisibleType() int32 { - if x != nil && x.VisibleType != nil { - return *x.VisibleType - } - return 0 -} - -func (x *GuildChannelInfo) GetTopMsg() *GuildChannelTopMsgInfo { - if x != nil { - return x.TopMsg - } - return nil -} - -func (x *GuildChannelInfo) GetCurrentSlowModeKey() int32 { - if x != nil && x.CurrentSlowModeKey != nil { - return *x.CurrentSlowModeKey - } - return 0 -} - -func (x *GuildChannelInfo) GetSlowModeInfos() []*GuildChannelSlowModeInfo { - if x != nil { - return x.SlowModeInfos - } - return nil -} - -type GuildChannelSlowModeInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SlowModeKey *int32 `protobuf:"varint,1,opt,name=slowModeKey" json:"slowModeKey,omitempty"` - SpeakFrequency *int32 `protobuf:"varint,2,opt,name=speakFrequency" json:"speakFrequency,omitempty"` - SlowModeCircle *int32 `protobuf:"varint,3,opt,name=slowModeCircle" json:"slowModeCircle,omitempty"` - SlowModeText *string `protobuf:"bytes,4,opt,name=slowModeText" json:"slowModeText,omitempty"` -} - -func (x *GuildChannelSlowModeInfo) Reset() { - *x = GuildChannelSlowModeInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildChannelSlowModeInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildChannelSlowModeInfo) ProtoMessage() {} - -func (x *GuildChannelSlowModeInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildChannelSlowModeInfo.ProtoReflect.Descriptor instead. -func (*GuildChannelSlowModeInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{13} -} - -func (x *GuildChannelSlowModeInfo) GetSlowModeKey() int32 { - if x != nil && x.SlowModeKey != nil { - return *x.SlowModeKey - } - return 0 -} - -func (x *GuildChannelSlowModeInfo) GetSpeakFrequency() int32 { - if x != nil && x.SpeakFrequency != nil { - return *x.SpeakFrequency - } - return 0 -} - -func (x *GuildChannelSlowModeInfo) GetSlowModeCircle() int32 { - if x != nil && x.SlowModeCircle != nil { - return *x.SlowModeCircle - } - return 0 -} - -func (x *GuildChannelSlowModeInfo) GetSlowModeText() string { - if x != nil && x.SlowModeText != nil { - return *x.SlowModeText - } - return "" -} - -type GuildChannelTopMsgInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TopMsgSeq *uint64 `protobuf:"varint,1,opt,name=topMsgSeq" json:"topMsgSeq,omitempty"` - TopMsgTime *int64 `protobuf:"varint,2,opt,name=topMsgTime" json:"topMsgTime,omitempty"` - TopMsgOperatorTinyId *uint64 `protobuf:"varint,3,opt,name=topMsgOperatorTinyId" json:"topMsgOperatorTinyId,omitempty"` -} - -func (x *GuildChannelTopMsgInfo) Reset() { - *x = GuildChannelTopMsgInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_channel_unknown_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GuildChannelTopMsgInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GuildChannelTopMsgInfo) ProtoMessage() {} - -func (x *GuildChannelTopMsgInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_channel_unknown_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GuildChannelTopMsgInfo.ProtoReflect.Descriptor instead. -func (*GuildChannelTopMsgInfo) Descriptor() ([]byte, []int) { - return file_pb_channel_unknown_proto_rawDescGZIP(), []int{14} -} - -func (x *GuildChannelTopMsgInfo) GetTopMsgSeq() uint64 { - if x != nil && x.TopMsgSeq != nil { - return *x.TopMsgSeq - } - return 0 -} - -func (x *GuildChannelTopMsgInfo) GetTopMsgTime() int64 { - if x != nil && x.TopMsgTime != nil { - return *x.TopMsgTime - } - return 0 -} - -func (x *GuildChannelTopMsgInfo) GetTopMsgOperatorTinyId() uint64 { - if x != nil && x.TopMsgOperatorTinyId != nil { - return *x.TopMsgOperatorTinyId - } - return 0 -} - -var File_pb_channel_unknown_proto protoreflect.FileDescriptor - -var file_pb_channel_unknown_proto_rawDesc = []byte{ - 0x0a, 0x18, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x75, 0x6e, 0x6b, - 0x6e, 0x6f, 0x77, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x22, 0xc8, 0x01, 0x0a, 0x13, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4f, - 0x69, 0x64, 0x62, 0x30, 0x78, 0x66, 0x35, 0x62, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x67, - 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, - 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x04, 0x62, 0x6f, 0x74, 0x73, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x47, 0x75, - 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x62, - 0x6f, 0x74, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x47, - 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, - 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x35, 0x0a, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x4a, - 0x0a, 0x13, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x66, - 0x38, 0x38, 0x52, 0x73, 0x70, 0x12, 0x33, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, - 0x65, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x4a, 0x0a, 0x13, 0x43, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x66, 0x63, 0x39, 0x52, 0x73, - 0x70, 0x12, 0x33, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x47, 0x75, 0x69, - 0x6c, 0x64, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x07, 0x70, - 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x3e, 0x0a, 0x13, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x4f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x66, 0x35, 0x37, 0x52, 0x73, 0x70, 0x12, 0x27, 0x0a, - 0x03, 0x72, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x73, - 0x70, 0x52, 0x03, 0x72, 0x73, 0x70, 0x22, 0x44, 0x0a, 0x13, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x4f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x66, 0x35, 0x35, 0x52, 0x73, 0x70, 0x12, 0x2d, 0x0a, - 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x40, 0x0a, 0x13, - 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x66, 0x35, 0x64, - 0x52, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x03, 0x72, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x52, 0x03, 0x72, 0x73, 0x70, 0x22, 0x50, - 0x0a, 0x0c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x73, 0x70, 0x12, 0x18, - 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, - 0x22, 0x61, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x08, - 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, - 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x73, 0x22, 0x42, 0x0a, 0x0e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x41, 0x64, 0x6d, 0x69, - 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x30, 0x0a, 0x06, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x06, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x22, 0x95, 0x01, 0x0a, 0x0f, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x74, - 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, - 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x6e, 0x79, 0x49, - 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x74, 0x69, 0x6e, 0x79, 0x49, 0x64, 0x22, - 0x80, 0x01, 0x0a, 0x10, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, - 0x66, 0x69, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x6e, 0x79, 0x49, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x74, 0x69, 0x6e, 0x79, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, - 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, - 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, - 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6a, 0x6f, 0x69, 0x6e, 0x54, 0x69, - 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6a, 0x6f, 0x69, 0x6e, 0x54, 0x69, - 0x6d, 0x65, 0x22, 0xf5, 0x02, 0x0a, 0x09, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x61, - 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, - 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, - 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, - 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0b, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x12, 0x20, - 0x0a, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x18, 0x0c, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x61, 0x78, 0x4e, 0x75, 0x6d, - 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, - 0x61, 0x74, 0x61, 0x72, 0x53, 0x65, 0x71, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, - 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x49, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x65, 0x71, 0x18, 0x13, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x65, 0x71, 0x12, 0x1a, - 0x0a, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x9a, 0x04, 0x0a, 0x10, 0x47, - 0x75, 0x69, 0x6c, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x20, 0x0a, - 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x69, 0x6e, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x69, 0x6e, 0x12, - 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x66, 0x69, 0x6e, - 0x61, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x54, 0x79, - 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x61, 0x6c, 0x6b, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x74, - 0x61, 0x6c, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, - 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x69, 0x6e, 0x79, 0x49, 0x64, 0x18, 0x0f, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x69, 0x6e, - 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x4d, 0x73, 0x67, 0x18, - 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x54, 0x6f, 0x70, 0x4d, - 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x4d, 0x73, 0x67, 0x12, 0x2e, - 0x0a, 0x12, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, 0x64, - 0x65, 0x4b, 0x65, 0x79, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x63, 0x75, 0x72, 0x72, - 0x65, 0x6e, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x47, - 0x0a, 0x0d, 0x73, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, - 0x20, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x6c, 0x6f, 0x77, - 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x73, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, - 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x22, 0xb0, 0x01, 0x0a, 0x18, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x65, - 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x6c, 0x6f, 0x77, 0x4d, - 0x6f, 0x64, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x46, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, - 0x73, 0x70, 0x65, 0x61, 0x6b, 0x46, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x26, - 0x0a, 0x0e, 0x73, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x43, 0x69, 0x72, 0x63, 0x6c, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x73, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x65, - 0x43, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, - 0x64, 0x65, 0x54, 0x65, 0x78, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6c, - 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x54, 0x65, 0x78, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x47, - 0x75, 0x69, 0x6c, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x54, 0x6f, 0x70, 0x4d, 0x73, - 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x4d, 0x73, 0x67, 0x53, - 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x6f, 0x70, 0x4d, 0x73, 0x67, - 0x53, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x70, 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x70, 0x4d, 0x73, 0x67, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x14, 0x74, 0x6f, 0x70, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x69, 0x6e, 0x79, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x14, 0x74, 0x6f, 0x70, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, - 0x72, 0x54, 0x69, 0x6e, 0x79, 0x49, 0x64, 0x42, 0x14, 0x5a, 0x12, 0x70, 0x62, 0x2f, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, -} - -var ( - file_pb_channel_unknown_proto_rawDescOnce sync.Once - file_pb_channel_unknown_proto_rawDescData = file_pb_channel_unknown_proto_rawDesc -) - -func file_pb_channel_unknown_proto_rawDescGZIP() []byte { - file_pb_channel_unknown_proto_rawDescOnce.Do(func() { - file_pb_channel_unknown_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_channel_unknown_proto_rawDescData) - }) - return file_pb_channel_unknown_proto_rawDescData -} - -var file_pb_channel_unknown_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_pb_channel_unknown_proto_goTypes = []interface{}{ - (*ChannelOidb0Xf5BRsp)(nil), // 0: channel.ChannelOidb0xf5bRsp - (*ChannelOidb0Xf88Rsp)(nil), // 1: channel.ChannelOidb0xf88Rsp - (*ChannelOidb0Xfc9Rsp)(nil), // 2: channel.ChannelOidb0xfc9Rsp - (*ChannelOidb0Xf57Rsp)(nil), // 3: channel.ChannelOidb0xf57Rsp - (*ChannelOidb0Xf55Rsp)(nil), // 4: channel.ChannelOidb0xf55Rsp - (*ChannelOidb0Xf5DRsp)(nil), // 5: channel.ChannelOidb0xf5dRsp - (*GuildMetaRsp)(nil), // 6: channel.GuildMetaRsp - (*ChannelListRsp)(nil), // 7: channel.ChannelListRsp - (*GuildAdminInfo)(nil), // 8: channel.GuildAdminInfo - (*GuildMemberInfo)(nil), // 9: channel.GuildMemberInfo - (*GuildUserProfile)(nil), // 10: channel.GuildUserProfile - (*GuildMeta)(nil), // 11: channel.GuildMeta - (*GuildChannelInfo)(nil), // 12: channel.GuildChannelInfo - (*GuildChannelSlowModeInfo)(nil), // 13: channel.GuildChannelSlowModeInfo - (*GuildChannelTopMsgInfo)(nil), // 14: channel.GuildChannelTopMsgInfo -} -var file_pb_channel_unknown_proto_depIdxs = []int32{ - 9, // 0: channel.ChannelOidb0xf5bRsp.bots:type_name -> channel.GuildMemberInfo - 9, // 1: channel.ChannelOidb0xf5bRsp.members:type_name -> channel.GuildMemberInfo - 8, // 2: channel.ChannelOidb0xf5bRsp.adminInfo:type_name -> channel.GuildAdminInfo - 10, // 3: channel.ChannelOidb0xf88Rsp.profile:type_name -> channel.GuildUserProfile - 10, // 4: channel.ChannelOidb0xfc9Rsp.profile:type_name -> channel.GuildUserProfile - 6, // 5: channel.ChannelOidb0xf57Rsp.rsp:type_name -> channel.GuildMetaRsp - 12, // 6: channel.ChannelOidb0xf55Rsp.info:type_name -> channel.GuildChannelInfo - 7, // 7: channel.ChannelOidb0xf5dRsp.rsp:type_name -> channel.ChannelListRsp - 11, // 8: channel.GuildMetaRsp.meta:type_name -> channel.GuildMeta - 12, // 9: channel.ChannelListRsp.channels:type_name -> channel.GuildChannelInfo - 9, // 10: channel.GuildAdminInfo.admins:type_name -> channel.GuildMemberInfo - 14, // 11: channel.GuildChannelInfo.topMsg:type_name -> channel.GuildChannelTopMsgInfo - 13, // 12: channel.GuildChannelInfo.slowModeInfos:type_name -> channel.GuildChannelSlowModeInfo - 13, // [13:13] is the sub-list for method output_type - 13, // [13:13] is the sub-list for method input_type - 13, // [13:13] is the sub-list for extension type_name - 13, // [13:13] is the sub-list for extension extendee - 0, // [0:13] is the sub-list for field type_name -} - -func init() { file_pb_channel_unknown_proto_init() } -func file_pb_channel_unknown_proto_init() { - if File_pb_channel_unknown_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_pb_channel_unknown_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelOidb0Xf5BRsp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelOidb0Xf88Rsp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelOidb0Xfc9Rsp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelOidb0Xf57Rsp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelOidb0Xf55Rsp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelOidb0Xf5DRsp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildMetaRsp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelListRsp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildAdminInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildMemberInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildUserProfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildMeta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildChannelInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildChannelSlowModeInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_channel_unknown_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GuildChannelTopMsgInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pb_channel_unknown_proto_rawDesc, - NumEnums: 0, - NumMessages: 15, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_pb_channel_unknown_proto_goTypes, - DependencyIndexes: file_pb_channel_unknown_proto_depIdxs, - MessageInfos: file_pb_channel_unknown_proto_msgTypes, - }.Build() - File_pb_channel_unknown_proto = out.File - file_pb_channel_unknown_proto_rawDesc = nil - file_pb_channel_unknown_proto_goTypes = nil - file_pb_channel_unknown_proto_depIdxs = nil -} diff --git a/client/pb/msg/head.pb.go b/client/pb/msg/head.pb.go deleted file mode 100644 index c4b128c4..00000000 --- a/client/pb/msg/head.pb.go +++ /dev/null @@ -1,1473 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.1 -// source: head.proto - -package msg - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type C2CHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ToUin *uint64 `protobuf:"varint,1,opt,name=toUin" json:"toUin,omitempty"` - FromUin *uint64 `protobuf:"varint,2,opt,name=fromUin" json:"fromUin,omitempty"` - CcType *uint32 `protobuf:"varint,3,opt,name=ccType" json:"ccType,omitempty"` - CcCmd *uint32 `protobuf:"varint,4,opt,name=ccCmd" json:"ccCmd,omitempty"` - AuthPicSig []byte `protobuf:"bytes,5,opt,name=authPicSig" json:"authPicSig,omitempty"` - AuthSig []byte `protobuf:"bytes,6,opt,name=authSig" json:"authSig,omitempty"` - AuthBuf []byte `protobuf:"bytes,7,opt,name=authBuf" json:"authBuf,omitempty"` - ServerTime *uint32 `protobuf:"varint,8,opt,name=serverTime" json:"serverTime,omitempty"` - ClientTime *uint32 `protobuf:"varint,9,opt,name=clientTime" json:"clientTime,omitempty"` - Rand *uint32 `protobuf:"varint,10,opt,name=rand" json:"rand,omitempty"` - PhoneNumber *string `protobuf:"bytes,11,opt,name=phoneNumber" json:"phoneNumber,omitempty"` -} - -func (x *C2CHead) Reset() { - *x = C2CHead{} - if protoimpl.UnsafeEnabled { - mi := &file_head_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *C2CHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*C2CHead) ProtoMessage() {} - -func (x *C2CHead) ProtoReflect() protoreflect.Message { - mi := &file_head_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use C2CHead.ProtoReflect.Descriptor instead. -func (*C2CHead) Descriptor() ([]byte, []int) { - return file_head_proto_rawDescGZIP(), []int{0} -} - -func (x *C2CHead) GetToUin() uint64 { - if x != nil && x.ToUin != nil { - return *x.ToUin - } - return 0 -} - -func (x *C2CHead) GetFromUin() uint64 { - if x != nil && x.FromUin != nil { - return *x.FromUin - } - return 0 -} - -func (x *C2CHead) GetCcType() uint32 { - if x != nil && x.CcType != nil { - return *x.CcType - } - return 0 -} - -func (x *C2CHead) GetCcCmd() uint32 { - if x != nil && x.CcCmd != nil { - return *x.CcCmd - } - return 0 -} - -func (x *C2CHead) GetAuthPicSig() []byte { - if x != nil { - return x.AuthPicSig - } - return nil -} - -func (x *C2CHead) GetAuthSig() []byte { - if x != nil { - return x.AuthSig - } - return nil -} - -func (x *C2CHead) GetAuthBuf() []byte { - if x != nil { - return x.AuthBuf - } - return nil -} - -func (x *C2CHead) GetServerTime() uint32 { - if x != nil && x.ServerTime != nil { - return *x.ServerTime - } - return 0 -} - -func (x *C2CHead) GetClientTime() uint32 { - if x != nil && x.ClientTime != nil { - return *x.ClientTime - } - return 0 -} - -func (x *C2CHead) GetRand() uint32 { - if x != nil && x.Rand != nil { - return *x.Rand - } - return 0 -} - -func (x *C2CHead) GetPhoneNumber() string { - if x != nil && x.PhoneNumber != nil { - return *x.PhoneNumber - } - return "" -} - -type CSHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Uin *uint64 `protobuf:"varint,1,opt,name=uin" json:"uin,omitempty"` - Command *uint32 `protobuf:"varint,2,opt,name=command" json:"command,omitempty"` - Seq *uint32 `protobuf:"varint,3,opt,name=seq" json:"seq,omitempty"` - Version *uint32 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"` - RetryTimes *uint32 `protobuf:"varint,5,opt,name=retryTimes" json:"retryTimes,omitempty"` - ClientType *uint32 `protobuf:"varint,6,opt,name=clientType" json:"clientType,omitempty"` - Pubno *uint32 `protobuf:"varint,7,opt,name=pubno" json:"pubno,omitempty"` - Localid *uint32 `protobuf:"varint,8,opt,name=localid" json:"localid,omitempty"` - Timezone *uint32 `protobuf:"varint,9,opt,name=timezone" json:"timezone,omitempty"` - ClientIp *uint32 `protobuf:"fixed32,10,opt,name=clientIp" json:"clientIp,omitempty"` - ClientPort *uint32 `protobuf:"varint,11,opt,name=clientPort" json:"clientPort,omitempty"` - ConnIp *uint32 `protobuf:"fixed32,12,opt,name=connIp" json:"connIp,omitempty"` - ConnPort *uint32 `protobuf:"varint,13,opt,name=connPort" json:"connPort,omitempty"` - InterfaceIp *uint32 `protobuf:"fixed32,14,opt,name=interfaceIp" json:"interfaceIp,omitempty"` - InterfacePort *uint32 `protobuf:"varint,15,opt,name=interfacePort" json:"interfacePort,omitempty"` - ActualIp *uint32 `protobuf:"fixed32,16,opt,name=actualIp" json:"actualIp,omitempty"` - Flag *uint32 `protobuf:"varint,17,opt,name=flag" json:"flag,omitempty"` - Timestamp *uint32 `protobuf:"fixed32,18,opt,name=timestamp" json:"timestamp,omitempty"` - Subcmd *uint32 `protobuf:"varint,19,opt,name=subcmd" json:"subcmd,omitempty"` - Result *uint32 `protobuf:"varint,20,opt,name=result" json:"result,omitempty"` - AppId *uint32 `protobuf:"varint,21,opt,name=appId" json:"appId,omitempty"` - InstanceId *uint32 `protobuf:"varint,22,opt,name=instanceId" json:"instanceId,omitempty"` - SessionId *uint64 `protobuf:"varint,23,opt,name=sessionId" json:"sessionId,omitempty"` - IdcId *uint32 `protobuf:"varint,24,opt,name=idcId" json:"idcId,omitempty"` -} - -func (x *CSHead) Reset() { - *x = CSHead{} - if protoimpl.UnsafeEnabled { - mi := &file_head_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CSHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CSHead) ProtoMessage() {} - -func (x *CSHead) ProtoReflect() protoreflect.Message { - mi := &file_head_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CSHead.ProtoReflect.Descriptor instead. -func (*CSHead) Descriptor() ([]byte, []int) { - return file_head_proto_rawDescGZIP(), []int{1} -} - -func (x *CSHead) GetUin() uint64 { - if x != nil && x.Uin != nil { - return *x.Uin - } - return 0 -} - -func (x *CSHead) GetCommand() uint32 { - if x != nil && x.Command != nil { - return *x.Command - } - return 0 -} - -func (x *CSHead) GetSeq() uint32 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -func (x *CSHead) GetVersion() uint32 { - if x != nil && x.Version != nil { - return *x.Version - } - return 0 -} - -func (x *CSHead) GetRetryTimes() uint32 { - if x != nil && x.RetryTimes != nil { - return *x.RetryTimes - } - return 0 -} - -func (x *CSHead) GetClientType() uint32 { - if x != nil && x.ClientType != nil { - return *x.ClientType - } - return 0 -} - -func (x *CSHead) GetPubno() uint32 { - if x != nil && x.Pubno != nil { - return *x.Pubno - } - return 0 -} - -func (x *CSHead) GetLocalid() uint32 { - if x != nil && x.Localid != nil { - return *x.Localid - } - return 0 -} - -func (x *CSHead) GetTimezone() uint32 { - if x != nil && x.Timezone != nil { - return *x.Timezone - } - return 0 -} - -func (x *CSHead) GetClientIp() uint32 { - if x != nil && x.ClientIp != nil { - return *x.ClientIp - } - return 0 -} - -func (x *CSHead) GetClientPort() uint32 { - if x != nil && x.ClientPort != nil { - return *x.ClientPort - } - return 0 -} - -func (x *CSHead) GetConnIp() uint32 { - if x != nil && x.ConnIp != nil { - return *x.ConnIp - } - return 0 -} - -func (x *CSHead) GetConnPort() uint32 { - if x != nil && x.ConnPort != nil { - return *x.ConnPort - } - return 0 -} - -func (x *CSHead) GetInterfaceIp() uint32 { - if x != nil && x.InterfaceIp != nil { - return *x.InterfaceIp - } - return 0 -} - -func (x *CSHead) GetInterfacePort() uint32 { - if x != nil && x.InterfacePort != nil { - return *x.InterfacePort - } - return 0 -} - -func (x *CSHead) GetActualIp() uint32 { - if x != nil && x.ActualIp != nil { - return *x.ActualIp - } - return 0 -} - -func (x *CSHead) GetFlag() uint32 { - if x != nil && x.Flag != nil { - return *x.Flag - } - return 0 -} - -func (x *CSHead) GetTimestamp() uint32 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -func (x *CSHead) GetSubcmd() uint32 { - if x != nil && x.Subcmd != nil { - return *x.Subcmd - } - return 0 -} - -func (x *CSHead) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *CSHead) GetAppId() uint32 { - if x != nil && x.AppId != nil { - return *x.AppId - } - return 0 -} - -func (x *CSHead) GetInstanceId() uint32 { - if x != nil && x.InstanceId != nil { - return *x.InstanceId - } - return 0 -} - -func (x *CSHead) GetSessionId() uint64 { - if x != nil && x.SessionId != nil { - return *x.SessionId - } - return 0 -} - -func (x *CSHead) GetIdcId() uint32 { - if x != nil && x.IdcId != nil { - return *x.IdcId - } - return 0 -} - -type DeltaHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TotalLen *uint64 `protobuf:"varint,1,opt,name=totalLen" json:"totalLen,omitempty"` - Offset *uint64 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` - AckOffset *uint64 `protobuf:"varint,3,opt,name=ackOffset" json:"ackOffset,omitempty"` - Cookie []byte `protobuf:"bytes,4,opt,name=cookie" json:"cookie,omitempty"` - AckCookie []byte `protobuf:"bytes,5,opt,name=ackCookie" json:"ackCookie,omitempty"` - Result *uint32 `protobuf:"varint,6,opt,name=result" json:"result,omitempty"` - Flags *uint32 `protobuf:"varint,7,opt,name=flags" json:"flags,omitempty"` -} - -func (x *DeltaHead) Reset() { - *x = DeltaHead{} - if protoimpl.UnsafeEnabled { - mi := &file_head_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeltaHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeltaHead) ProtoMessage() {} - -func (x *DeltaHead) ProtoReflect() protoreflect.Message { - mi := &file_head_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeltaHead.ProtoReflect.Descriptor instead. -func (*DeltaHead) Descriptor() ([]byte, []int) { - return file_head_proto_rawDescGZIP(), []int{2} -} - -func (x *DeltaHead) GetTotalLen() uint64 { - if x != nil && x.TotalLen != nil { - return *x.TotalLen - } - return 0 -} - -func (x *DeltaHead) GetOffset() uint64 { - if x != nil && x.Offset != nil { - return *x.Offset - } - return 0 -} - -func (x *DeltaHead) GetAckOffset() uint64 { - if x != nil && x.AckOffset != nil { - return *x.AckOffset - } - return 0 -} - -func (x *DeltaHead) GetCookie() []byte { - if x != nil { - return x.Cookie - } - return nil -} - -func (x *DeltaHead) GetAckCookie() []byte { - if x != nil { - return x.AckCookie - } - return nil -} - -func (x *DeltaHead) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *DeltaHead) GetFlags() uint32 { - if x != nil && x.Flags != nil { - return *x.Flags - } - return 0 -} - -type IMHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - HeadType *uint32 `protobuf:"varint,1,opt,name=headType" json:"headType,omitempty"` - CsHead *CSHead `protobuf:"bytes,2,opt,name=csHead" json:"csHead,omitempty"` - S2CHead *S2CHead `protobuf:"bytes,3,opt,name=s2CHead" json:"s2CHead,omitempty"` - HttpconnHead *HttpConnHead `protobuf:"bytes,4,opt,name=httpconnHead" json:"httpconnHead,omitempty"` - PaintFlag *uint32 `protobuf:"varint,5,opt,name=paintFlag" json:"paintFlag,omitempty"` - LoginSig *LoginSig `protobuf:"bytes,6,opt,name=loginSig" json:"loginSig,omitempty"` - DeltaHead *DeltaHead `protobuf:"bytes,7,opt,name=deltaHead" json:"deltaHead,omitempty"` - C2CHead *C2CHead `protobuf:"bytes,8,opt,name=c2CHead" json:"c2CHead,omitempty"` -} - -func (x *IMHead) Reset() { - *x = IMHead{} - if protoimpl.UnsafeEnabled { - mi := &file_head_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IMHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IMHead) ProtoMessage() {} - -func (x *IMHead) ProtoReflect() protoreflect.Message { - mi := &file_head_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IMHead.ProtoReflect.Descriptor instead. -func (*IMHead) Descriptor() ([]byte, []int) { - return file_head_proto_rawDescGZIP(), []int{3} -} - -func (x *IMHead) GetHeadType() uint32 { - if x != nil && x.HeadType != nil { - return *x.HeadType - } - return 0 -} - -func (x *IMHead) GetCsHead() *CSHead { - if x != nil { - return x.CsHead - } - return nil -} - -func (x *IMHead) GetS2CHead() *S2CHead { - if x != nil { - return x.S2CHead - } - return nil -} - -func (x *IMHead) GetHttpconnHead() *HttpConnHead { - if x != nil { - return x.HttpconnHead - } - return nil -} - -func (x *IMHead) GetPaintFlag() uint32 { - if x != nil && x.PaintFlag != nil { - return *x.PaintFlag - } - return 0 -} - -func (x *IMHead) GetLoginSig() *LoginSig { - if x != nil { - return x.LoginSig - } - return nil -} - -func (x *IMHead) GetDeltaHead() *DeltaHead { - if x != nil { - return x.DeltaHead - } - return nil -} - -func (x *IMHead) GetC2CHead() *C2CHead { - if x != nil { - return x.C2CHead - } - return nil -} - -type HttpConnHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Uin *uint64 `protobuf:"varint,1,opt,name=uin" json:"uin,omitempty"` - Command *uint32 `protobuf:"varint,2,opt,name=command" json:"command,omitempty"` - SubCommand *uint32 `protobuf:"varint,3,opt,name=subCommand" json:"subCommand,omitempty"` - Seq *uint32 `protobuf:"varint,4,opt,name=seq" json:"seq,omitempty"` - Version *uint32 `protobuf:"varint,5,opt,name=version" json:"version,omitempty"` - RetryTimes *uint32 `protobuf:"varint,6,opt,name=retryTimes" json:"retryTimes,omitempty"` - ClientType *uint32 `protobuf:"varint,7,opt,name=clientType" json:"clientType,omitempty"` - PubNo *uint32 `protobuf:"varint,8,opt,name=pubNo" json:"pubNo,omitempty"` - LocalId *uint32 `protobuf:"varint,9,opt,name=localId" json:"localId,omitempty"` - TimeZone *uint32 `protobuf:"varint,10,opt,name=timeZone" json:"timeZone,omitempty"` - ClientIp *uint32 `protobuf:"fixed32,11,opt,name=clientIp" json:"clientIp,omitempty"` - ClientPort *uint32 `protobuf:"varint,12,opt,name=clientPort" json:"clientPort,omitempty"` - QzhttpIp *uint32 `protobuf:"fixed32,13,opt,name=qzhttpIp" json:"qzhttpIp,omitempty"` - QzhttpPort *uint32 `protobuf:"varint,14,opt,name=qzhttpPort" json:"qzhttpPort,omitempty"` - SppIp *uint32 `protobuf:"fixed32,15,opt,name=sppIp" json:"sppIp,omitempty"` - SppPort *uint32 `protobuf:"varint,16,opt,name=sppPort" json:"sppPort,omitempty"` - Flag *uint32 `protobuf:"varint,17,opt,name=flag" json:"flag,omitempty"` - Key []byte `protobuf:"bytes,18,opt,name=key" json:"key,omitempty"` - CompressType *uint32 `protobuf:"varint,19,opt,name=compressType" json:"compressType,omitempty"` - OriginSize *uint32 `protobuf:"varint,20,opt,name=originSize" json:"originSize,omitempty"` - ErrorCode *uint32 `protobuf:"varint,21,opt,name=errorCode" json:"errorCode,omitempty"` - Redirect *RedirectMsg `protobuf:"bytes,22,opt,name=redirect" json:"redirect,omitempty"` - CommandId *uint32 `protobuf:"varint,23,opt,name=commandId" json:"commandId,omitempty"` - ServiceCmdid *uint32 `protobuf:"varint,24,opt,name=serviceCmdid" json:"serviceCmdid,omitempty"` - Oidbhead *TransOidbHead `protobuf:"bytes,25,opt,name=oidbhead" json:"oidbhead,omitempty"` -} - -func (x *HttpConnHead) Reset() { - *x = HttpConnHead{} - if protoimpl.UnsafeEnabled { - mi := &file_head_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HttpConnHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HttpConnHead) ProtoMessage() {} - -func (x *HttpConnHead) ProtoReflect() protoreflect.Message { - mi := &file_head_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HttpConnHead.ProtoReflect.Descriptor instead. -func (*HttpConnHead) Descriptor() ([]byte, []int) { - return file_head_proto_rawDescGZIP(), []int{4} -} - -func (x *HttpConnHead) GetUin() uint64 { - if x != nil && x.Uin != nil { - return *x.Uin - } - return 0 -} - -func (x *HttpConnHead) GetCommand() uint32 { - if x != nil && x.Command != nil { - return *x.Command - } - return 0 -} - -func (x *HttpConnHead) GetSubCommand() uint32 { - if x != nil && x.SubCommand != nil { - return *x.SubCommand - } - return 0 -} - -func (x *HttpConnHead) GetSeq() uint32 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -func (x *HttpConnHead) GetVersion() uint32 { - if x != nil && x.Version != nil { - return *x.Version - } - return 0 -} - -func (x *HttpConnHead) GetRetryTimes() uint32 { - if x != nil && x.RetryTimes != nil { - return *x.RetryTimes - } - return 0 -} - -func (x *HttpConnHead) GetClientType() uint32 { - if x != nil && x.ClientType != nil { - return *x.ClientType - } - return 0 -} - -func (x *HttpConnHead) GetPubNo() uint32 { - if x != nil && x.PubNo != nil { - return *x.PubNo - } - return 0 -} - -func (x *HttpConnHead) GetLocalId() uint32 { - if x != nil && x.LocalId != nil { - return *x.LocalId - } - return 0 -} - -func (x *HttpConnHead) GetTimeZone() uint32 { - if x != nil && x.TimeZone != nil { - return *x.TimeZone - } - return 0 -} - -func (x *HttpConnHead) GetClientIp() uint32 { - if x != nil && x.ClientIp != nil { - return *x.ClientIp - } - return 0 -} - -func (x *HttpConnHead) GetClientPort() uint32 { - if x != nil && x.ClientPort != nil { - return *x.ClientPort - } - return 0 -} - -func (x *HttpConnHead) GetQzhttpIp() uint32 { - if x != nil && x.QzhttpIp != nil { - return *x.QzhttpIp - } - return 0 -} - -func (x *HttpConnHead) GetQzhttpPort() uint32 { - if x != nil && x.QzhttpPort != nil { - return *x.QzhttpPort - } - return 0 -} - -func (x *HttpConnHead) GetSppIp() uint32 { - if x != nil && x.SppIp != nil { - return *x.SppIp - } - return 0 -} - -func (x *HttpConnHead) GetSppPort() uint32 { - if x != nil && x.SppPort != nil { - return *x.SppPort - } - return 0 -} - -func (x *HttpConnHead) GetFlag() uint32 { - if x != nil && x.Flag != nil { - return *x.Flag - } - return 0 -} - -func (x *HttpConnHead) GetKey() []byte { - if x != nil { - return x.Key - } - return nil -} - -func (x *HttpConnHead) GetCompressType() uint32 { - if x != nil && x.CompressType != nil { - return *x.CompressType - } - return 0 -} - -func (x *HttpConnHead) GetOriginSize() uint32 { - if x != nil && x.OriginSize != nil { - return *x.OriginSize - } - return 0 -} - -func (x *HttpConnHead) GetErrorCode() uint32 { - if x != nil && x.ErrorCode != nil { - return *x.ErrorCode - } - return 0 -} - -func (x *HttpConnHead) GetRedirect() *RedirectMsg { - if x != nil { - return x.Redirect - } - return nil -} - -func (x *HttpConnHead) GetCommandId() uint32 { - if x != nil && x.CommandId != nil { - return *x.CommandId - } - return 0 -} - -func (x *HttpConnHead) GetServiceCmdid() uint32 { - if x != nil && x.ServiceCmdid != nil { - return *x.ServiceCmdid - } - return 0 -} - -func (x *HttpConnHead) GetOidbhead() *TransOidbHead { - if x != nil { - return x.Oidbhead - } - return nil -} - -type LoginSig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type *uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` - Sig []byte `protobuf:"bytes,2,opt,name=sig" json:"sig,omitempty"` -} - -func (x *LoginSig) Reset() { - *x = LoginSig{} - if protoimpl.UnsafeEnabled { - mi := &file_head_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LoginSig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LoginSig) ProtoMessage() {} - -func (x *LoginSig) ProtoReflect() protoreflect.Message { - mi := &file_head_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LoginSig.ProtoReflect.Descriptor instead. -func (*LoginSig) Descriptor() ([]byte, []int) { - return file_head_proto_rawDescGZIP(), []int{5} -} - -func (x *LoginSig) GetType() uint32 { - if x != nil && x.Type != nil { - return *x.Type - } - return 0 -} - -func (x *LoginSig) GetSig() []byte { - if x != nil { - return x.Sig - } - return nil -} - -type RedirectMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LastRedirectIp *uint32 `protobuf:"fixed32,1,opt,name=lastRedirectIp" json:"lastRedirectIp,omitempty"` - LastRedirectPort *uint32 `protobuf:"varint,2,opt,name=lastRedirectPort" json:"lastRedirectPort,omitempty"` - RedirectIp *uint32 `protobuf:"fixed32,3,opt,name=redirectIp" json:"redirectIp,omitempty"` - RedirectPort *uint32 `protobuf:"varint,4,opt,name=redirectPort" json:"redirectPort,omitempty"` - RedirectCount *uint32 `protobuf:"varint,5,opt,name=redirectCount" json:"redirectCount,omitempty"` -} - -func (x *RedirectMsg) Reset() { - *x = RedirectMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_head_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RedirectMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RedirectMsg) ProtoMessage() {} - -func (x *RedirectMsg) ProtoReflect() protoreflect.Message { - mi := &file_head_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RedirectMsg.ProtoReflect.Descriptor instead. -func (*RedirectMsg) Descriptor() ([]byte, []int) { - return file_head_proto_rawDescGZIP(), []int{6} -} - -func (x *RedirectMsg) GetLastRedirectIp() uint32 { - if x != nil && x.LastRedirectIp != nil { - return *x.LastRedirectIp - } - return 0 -} - -func (x *RedirectMsg) GetLastRedirectPort() uint32 { - if x != nil && x.LastRedirectPort != nil { - return *x.LastRedirectPort - } - return 0 -} - -func (x *RedirectMsg) GetRedirectIp() uint32 { - if x != nil && x.RedirectIp != nil { - return *x.RedirectIp - } - return 0 -} - -func (x *RedirectMsg) GetRedirectPort() uint32 { - if x != nil && x.RedirectPort != nil { - return *x.RedirectPort - } - return 0 -} - -func (x *RedirectMsg) GetRedirectCount() uint32 { - if x != nil && x.RedirectCount != nil { - return *x.RedirectCount - } - return 0 -} - -type S2CHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SubMsgtype *uint32 `protobuf:"varint,1,opt,name=subMsgtype" json:"subMsgtype,omitempty"` - MsgType *uint32 `protobuf:"varint,2,opt,name=msgType" json:"msgType,omitempty"` - FromUin *uint64 `protobuf:"varint,3,opt,name=fromUin" json:"fromUin,omitempty"` - MsgId *uint32 `protobuf:"varint,4,opt,name=msgId" json:"msgId,omitempty"` - RelayIp *uint32 `protobuf:"fixed32,5,opt,name=relayIp" json:"relayIp,omitempty"` - RelayPort *uint32 `protobuf:"varint,6,opt,name=relayPort" json:"relayPort,omitempty"` - ToUin *uint64 `protobuf:"varint,7,opt,name=toUin" json:"toUin,omitempty"` -} - -func (x *S2CHead) Reset() { - *x = S2CHead{} - if protoimpl.UnsafeEnabled { - mi := &file_head_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *S2CHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*S2CHead) ProtoMessage() {} - -func (x *S2CHead) ProtoReflect() protoreflect.Message { - mi := &file_head_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use S2CHead.ProtoReflect.Descriptor instead. -func (*S2CHead) Descriptor() ([]byte, []int) { - return file_head_proto_rawDescGZIP(), []int{7} -} - -func (x *S2CHead) GetSubMsgtype() uint32 { - if x != nil && x.SubMsgtype != nil { - return *x.SubMsgtype - } - return 0 -} - -func (x *S2CHead) GetMsgType() uint32 { - if x != nil && x.MsgType != nil { - return *x.MsgType - } - return 0 -} - -func (x *S2CHead) GetFromUin() uint64 { - if x != nil && x.FromUin != nil { - return *x.FromUin - } - return 0 -} - -func (x *S2CHead) GetMsgId() uint32 { - if x != nil && x.MsgId != nil { - return *x.MsgId - } - return 0 -} - -func (x *S2CHead) GetRelayIp() uint32 { - if x != nil && x.RelayIp != nil { - return *x.RelayIp - } - return 0 -} - -func (x *S2CHead) GetRelayPort() uint32 { - if x != nil && x.RelayPort != nil { - return *x.RelayPort - } - return 0 -} - -func (x *S2CHead) GetToUin() uint64 { - if x != nil && x.ToUin != nil { - return *x.ToUin - } - return 0 -} - -type TransOidbHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Command *uint32 `protobuf:"varint,1,opt,name=command" json:"command,omitempty"` - ServiceType *uint32 `protobuf:"varint,2,opt,name=serviceType" json:"serviceType,omitempty"` - Result *uint32 `protobuf:"varint,3,opt,name=result" json:"result,omitempty"` - ErrorMsg *string `protobuf:"bytes,4,opt,name=errorMsg" json:"errorMsg,omitempty"` -} - -func (x *TransOidbHead) Reset() { - *x = TransOidbHead{} - if protoimpl.UnsafeEnabled { - mi := &file_head_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TransOidbHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TransOidbHead) ProtoMessage() {} - -func (x *TransOidbHead) ProtoReflect() protoreflect.Message { - mi := &file_head_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TransOidbHead.ProtoReflect.Descriptor instead. -func (*TransOidbHead) Descriptor() ([]byte, []int) { - return file_head_proto_rawDescGZIP(), []int{8} -} - -func (x *TransOidbHead) GetCommand() uint32 { - if x != nil && x.Command != nil { - return *x.Command - } - return 0 -} - -func (x *TransOidbHead) GetServiceType() uint32 { - if x != nil && x.ServiceType != nil { - return *x.ServiceType - } - return 0 -} - -func (x *TransOidbHead) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *TransOidbHead) GetErrorMsg() string { - if x != nil && x.ErrorMsg != nil { - return *x.ErrorMsg - } - return "" -} - -var File_head_proto protoreflect.FileDescriptor - -var file_head_proto_rawDesc = []byte{ - 0x0a, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x02, 0x0a, - 0x07, 0x43, 0x32, 0x43, 0x48, 0x65, 0x61, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x55, 0x69, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x12, 0x18, - 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x55, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x55, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x63, 0x54, 0x79, - 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x63, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x63, 0x43, 0x6d, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x05, 0x63, 0x63, 0x43, 0x6d, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x50, 0x69, - 0x63, 0x53, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, - 0x50, 0x69, 0x63, 0x53, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x75, 0x74, 0x68, 0x53, 0x69, - 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, - 0x12, 0x18, 0x0a, 0x07, 0x61, 0x75, 0x74, 0x68, 0x42, 0x75, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, 0x42, 0x75, 0x66, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, - 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, - 0x6e, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x20, - 0x0a, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x22, 0x8c, 0x05, 0x0a, 0x06, 0x43, 0x53, 0x48, 0x65, 0x61, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, - 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x75, 0x69, 0x6e, 0x12, 0x18, 0x0a, - 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, - 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, - 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x75, 0x62, 0x6e, 0x6f, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x05, 0x70, 0x75, 0x62, 0x6e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x6f, 0x63, - 0x61, 0x6c, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x6f, 0x63, 0x61, - 0x6c, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x12, - 0x1a, 0x0a, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x07, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, - 0x6f, 0x6e, 0x6e, 0x49, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x07, 0x52, 0x06, 0x63, 0x6f, 0x6e, - 0x6e, 0x49, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x18, - 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, - 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x49, 0x70, 0x18, 0x0e, - 0x20, 0x01, 0x28, 0x07, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x49, - 0x70, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x50, 0x6f, - 0x72, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, - 0x61, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x75, 0x61, - 0x6c, 0x49, 0x70, 0x18, 0x10, 0x20, 0x01, 0x28, 0x07, 0x52, 0x08, 0x61, 0x63, 0x74, 0x75, 0x61, - 0x6c, 0x49, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x11, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x18, 0x12, 0x20, 0x01, 0x28, 0x07, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x63, 0x6d, 0x64, 0x18, - 0x13, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x75, 0x62, 0x63, 0x6d, 0x64, 0x12, 0x16, 0x0a, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x15, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, - 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, - 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x64, 0x63, - 0x49, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x64, 0x63, 0x49, 0x64, 0x22, - 0xc1, 0x01, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x12, 0x1a, 0x0a, - 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4c, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4c, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, - 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, - 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x6b, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x63, 0x6b, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x6b, 0x43, 0x6f, - 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x63, 0x6b, 0x43, - 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, - 0x61, 0x67, 0x73, 0x22, 0xaf, 0x02, 0x0a, 0x06, 0x49, 0x4d, 0x48, 0x65, 0x61, 0x64, 0x12, 0x1a, - 0x0a, 0x08, 0x68, 0x65, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x08, 0x68, 0x65, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x06, 0x63, 0x73, - 0x48, 0x65, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x43, 0x53, 0x48, - 0x65, 0x61, 0x64, 0x52, 0x06, 0x63, 0x73, 0x48, 0x65, 0x61, 0x64, 0x12, 0x22, 0x0a, 0x07, 0x73, - 0x32, 0x43, 0x48, 0x65, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x53, - 0x32, 0x43, 0x48, 0x65, 0x61, 0x64, 0x52, 0x07, 0x73, 0x32, 0x43, 0x48, 0x65, 0x61, 0x64, 0x12, - 0x31, 0x0a, 0x0c, 0x68, 0x74, 0x74, 0x70, 0x63, 0x6f, 0x6e, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x43, 0x6f, 0x6e, 0x6e, - 0x48, 0x65, 0x61, 0x64, 0x52, 0x0c, 0x68, 0x74, 0x74, 0x70, 0x63, 0x6f, 0x6e, 0x6e, 0x48, 0x65, - 0x61, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x69, 0x6e, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x61, 0x69, 0x6e, 0x74, 0x46, 0x6c, 0x61, 0x67, - 0x12, 0x25, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x69, 0x67, 0x52, 0x08, 0x6c, - 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x69, 0x67, 0x12, 0x28, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x74, 0x61, - 0x48, 0x65, 0x61, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x65, 0x6c, - 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x48, 0x65, 0x61, - 0x64, 0x12, 0x22, 0x0a, 0x07, 0x63, 0x32, 0x43, 0x48, 0x65, 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x43, 0x32, 0x43, 0x48, 0x65, 0x61, 0x64, 0x52, 0x07, 0x63, 0x32, - 0x43, 0x48, 0x65, 0x61, 0x64, 0x22, 0xda, 0x05, 0x0a, 0x0c, 0x48, 0x74, 0x74, 0x70, 0x43, 0x6f, - 0x6e, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x03, 0x75, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, - 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x43, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x03, 0x73, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, - 0x0a, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x1e, - 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x70, 0x75, 0x62, 0x4e, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, - 0x75, 0x62, 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x49, 0x64, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x1a, - 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x07, 0x52, 0x08, 0x63, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x50, 0x6f, 0x72, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x7a, 0x68, 0x74, 0x74, 0x70, - 0x49, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x07, 0x52, 0x08, 0x71, 0x7a, 0x68, 0x74, 0x74, 0x70, - 0x49, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x71, 0x7a, 0x68, 0x74, 0x74, 0x70, 0x50, 0x6f, 0x72, 0x74, - 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x71, 0x7a, 0x68, 0x74, 0x74, 0x70, 0x50, 0x6f, - 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x70, 0x70, 0x49, 0x70, 0x18, 0x0f, 0x20, 0x01, 0x28, - 0x07, 0x52, 0x05, 0x73, 0x70, 0x70, 0x49, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x70, 0x70, 0x50, - 0x6f, 0x72, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x70, 0x70, 0x50, 0x6f, - 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x12, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, - 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, - 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, - 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x0a, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1c, 0x0a, 0x09, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x72, 0x65, - 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, - 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x08, 0x72, 0x65, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x49, - 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6d, 0x64, - 0x69, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x43, 0x6d, 0x64, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x08, 0x6f, 0x69, 0x64, 0x62, 0x68, 0x65, - 0x61, 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x4f, 0x69, 0x64, 0x62, 0x48, 0x65, 0x61, 0x64, 0x52, 0x08, 0x6f, 0x69, 0x64, 0x62, 0x68, 0x65, - 0x61, 0x64, 0x22, 0x30, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x69, 0x67, 0x12, 0x12, - 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x03, 0x73, 0x69, 0x67, 0x22, 0xcb, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x4d, 0x73, 0x67, 0x12, 0x26, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x49, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0e, 0x6c, 0x61, - 0x73, 0x74, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x49, 0x70, 0x12, 0x2a, 0x0a, 0x10, - 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x72, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x49, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x72, 0x65, - 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x49, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, - 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x24, 0x0a, 0x0d, - 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x22, 0xc1, 0x01, 0x0a, 0x07, 0x53, 0x32, 0x43, 0x48, 0x65, 0x61, 0x64, 0x12, 0x1e, - 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x4d, 0x73, 0x67, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x4d, 0x73, 0x67, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, - 0x55, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x55, - 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x73, 0x67, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x05, 0x6d, 0x73, 0x67, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6c, 0x61, - 0x79, 0x49, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x07, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x61, 0x79, - 0x49, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x50, 0x6f, 0x72, 0x74, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x50, 0x6f, 0x72, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x22, 0x7f, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x4f, - 0x69, 0x64, 0x62, 0x48, 0x65, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x2f, 0x3b, 0x6d, 0x73, - 0x67, -} - -var ( - file_head_proto_rawDescOnce sync.Once - file_head_proto_rawDescData = file_head_proto_rawDesc -) - -func file_head_proto_rawDescGZIP() []byte { - file_head_proto_rawDescOnce.Do(func() { - file_head_proto_rawDescData = protoimpl.X.CompressGZIP(file_head_proto_rawDescData) - }) - return file_head_proto_rawDescData -} - -var file_head_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_head_proto_goTypes = []interface{}{ - (*C2CHead)(nil), // 0: C2CHead - (*CSHead)(nil), // 1: CSHead - (*DeltaHead)(nil), // 2: DeltaHead - (*IMHead)(nil), // 3: IMHead - (*HttpConnHead)(nil), // 4: HttpConnHead - (*LoginSig)(nil), // 5: LoginSig - (*RedirectMsg)(nil), // 6: RedirectMsg - (*S2CHead)(nil), // 7: S2CHead - (*TransOidbHead)(nil), // 8: TransOidbHead -} -var file_head_proto_depIdxs = []int32{ - 1, // 0: IMHead.csHead:type_name -> CSHead - 7, // 1: IMHead.s2CHead:type_name -> S2CHead - 4, // 2: IMHead.httpconnHead:type_name -> HttpConnHead - 5, // 3: IMHead.loginSig:type_name -> LoginSig - 2, // 4: IMHead.deltaHead:type_name -> DeltaHead - 0, // 5: IMHead.c2CHead:type_name -> C2CHead - 6, // 6: HttpConnHead.redirect:type_name -> RedirectMsg - 8, // 7: HttpConnHead.oidbhead:type_name -> TransOidbHead - 8, // [8:8] is the sub-list for method output_type - 8, // [8:8] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name -} - -func init() { file_head_proto_init() } -func file_head_proto_init() { - if File_head_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_head_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*C2CHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_head_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CSHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_head_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeltaHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_head_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IMHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_head_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HttpConnHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_head_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoginSig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_head_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RedirectMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_head_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*S2CHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_head_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransOidbHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_head_proto_rawDesc, - NumEnums: 0, - NumMessages: 9, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_head_proto_goTypes, - DependencyIndexes: file_head_proto_depIdxs, - MessageInfos: file_head_proto_msgTypes, - }.Build() - File_head_proto = out.File - file_head_proto_rawDesc = nil - file_head_proto_goTypes = nil - file_head_proto_depIdxs = nil -} diff --git a/client/pb/msg/msg.pb.go b/client/pb/msg/msg.pb.go deleted file mode 100644 index e78a8a5d..00000000 --- a/client/pb/msg/msg.pb.go +++ /dev/null @@ -1,9870 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.14.0 -// source: pb/msg/msg.proto - -package msg - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type SyncFlag int32 - -const ( - SyncFlag_START SyncFlag = 0 - SyncFlag_CONTINUME SyncFlag = 1 - SyncFlag_STOP SyncFlag = 2 -) - -// Enum value maps for SyncFlag. -var ( - SyncFlag_name = map[int32]string{ - 0: "START", - 1: "CONTINUME", - 2: "STOP", - } - SyncFlag_value = map[string]int32{ - "START": 0, - "CONTINUME": 1, - "STOP": 2, - } -) - -func (x SyncFlag) Enum() *SyncFlag { - p := new(SyncFlag) - *p = x - return p -} - -func (x SyncFlag) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SyncFlag) Descriptor() protoreflect.EnumDescriptor { - return file_pb_msg_msg_proto_enumTypes[0].Descriptor() -} - -func (SyncFlag) Type() protoreflect.EnumType { - return &file_pb_msg_msg_proto_enumTypes[0] -} - -func (x SyncFlag) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *SyncFlag) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = SyncFlag(num) - return nil -} - -// Deprecated: Use SyncFlag.Descriptor instead. -func (SyncFlag) EnumDescriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{0} -} - -type GetMessageRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SyncFlag *SyncFlag `protobuf:"varint,1,opt,name=syncFlag,enum=msg.SyncFlag" json:"syncFlag,omitempty"` - SyncCookie []byte `protobuf:"bytes,2,opt,name=syncCookie" json:"syncCookie,omitempty"` - RambleFlag *int32 `protobuf:"varint,3,opt,name=rambleFlag" json:"rambleFlag,omitempty"` - LatestRambleNumber *int32 `protobuf:"varint,4,opt,name=latestRambleNumber" json:"latestRambleNumber,omitempty"` - OtherRambleNumber *int32 `protobuf:"varint,5,opt,name=otherRambleNumber" json:"otherRambleNumber,omitempty"` - OnlineSyncFlag *int32 `protobuf:"varint,6,opt,name=onlineSyncFlag" json:"onlineSyncFlag,omitempty"` - ContextFlag *int32 `protobuf:"varint,7,opt,name=contextFlag" json:"contextFlag,omitempty"` - WhisperSessionId *int32 `protobuf:"varint,8,opt,name=whisperSessionId" json:"whisperSessionId,omitempty"` - MsgReqType *int32 `protobuf:"varint,9,opt,name=msgReqType" json:"msgReqType,omitempty"` - PubaccountCookie []byte `protobuf:"bytes,10,opt,name=pubaccountCookie" json:"pubaccountCookie,omitempty"` - MsgCtrlBuf []byte `protobuf:"bytes,11,opt,name=msgCtrlBuf" json:"msgCtrlBuf,omitempty"` - ServerBuf []byte `protobuf:"bytes,12,opt,name=serverBuf" json:"serverBuf,omitempty"` -} - -func (x *GetMessageRequest) Reset() { - *x = GetMessageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetMessageRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetMessageRequest) ProtoMessage() {} - -func (x *GetMessageRequest) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetMessageRequest.ProtoReflect.Descriptor instead. -func (*GetMessageRequest) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{0} -} - -func (x *GetMessageRequest) GetSyncFlag() SyncFlag { - if x != nil && x.SyncFlag != nil { - return *x.SyncFlag - } - return SyncFlag_START -} - -func (x *GetMessageRequest) GetSyncCookie() []byte { - if x != nil { - return x.SyncCookie - } - return nil -} - -func (x *GetMessageRequest) GetRambleFlag() int32 { - if x != nil && x.RambleFlag != nil { - return *x.RambleFlag - } - return 0 -} - -func (x *GetMessageRequest) GetLatestRambleNumber() int32 { - if x != nil && x.LatestRambleNumber != nil { - return *x.LatestRambleNumber - } - return 0 -} - -func (x *GetMessageRequest) GetOtherRambleNumber() int32 { - if x != nil && x.OtherRambleNumber != nil { - return *x.OtherRambleNumber - } - return 0 -} - -func (x *GetMessageRequest) GetOnlineSyncFlag() int32 { - if x != nil && x.OnlineSyncFlag != nil { - return *x.OnlineSyncFlag - } - return 0 -} - -func (x *GetMessageRequest) GetContextFlag() int32 { - if x != nil && x.ContextFlag != nil { - return *x.ContextFlag - } - return 0 -} - -func (x *GetMessageRequest) GetWhisperSessionId() int32 { - if x != nil && x.WhisperSessionId != nil { - return *x.WhisperSessionId - } - return 0 -} - -func (x *GetMessageRequest) GetMsgReqType() int32 { - if x != nil && x.MsgReqType != nil { - return *x.MsgReqType - } - return 0 -} - -func (x *GetMessageRequest) GetPubaccountCookie() []byte { - if x != nil { - return x.PubaccountCookie - } - return nil -} - -func (x *GetMessageRequest) GetMsgCtrlBuf() []byte { - if x != nil { - return x.MsgCtrlBuf - } - return nil -} - -func (x *GetMessageRequest) GetServerBuf() []byte { - if x != nil { - return x.ServerBuf - } - return nil -} - -type SendMessageRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoutingHead *RoutingHead `protobuf:"bytes,1,opt,name=routingHead" json:"routingHead,omitempty"` - ContentHead *ContentHead `protobuf:"bytes,2,opt,name=contentHead" json:"contentHead,omitempty"` - MsgBody *MessageBody `protobuf:"bytes,3,opt,name=msgBody" json:"msgBody,omitempty"` - MsgSeq *int32 `protobuf:"varint,4,opt,name=msgSeq" json:"msgSeq,omitempty"` - MsgRand *int32 `protobuf:"varint,5,opt,name=msgRand" json:"msgRand,omitempty"` - SyncCookie []byte `protobuf:"bytes,6,opt,name=syncCookie" json:"syncCookie,omitempty"` - //MsgComm.AppShareInfo? appShare = 7; - MsgVia *int32 `protobuf:"varint,8,opt,name=msgVia" json:"msgVia,omitempty"` - DataStatist *int32 `protobuf:"varint,9,opt,name=dataStatist" json:"dataStatist,omitempty"` - //MultiMsgAssist? multiMsgAssist = 10; - //PbInputNotifyInfo? inputNotifyInfo = 11; - MsgCtrl *MsgCtrl `protobuf:"bytes,12,opt,name=msgCtrl" json:"msgCtrl,omitempty"` - //ImReceipt.ReceiptReq? receiptReq = 13; - MultiSendSeq *int32 `protobuf:"varint,14,opt,name=multiSendSeq" json:"multiSendSeq,omitempty"` -} - -func (x *SendMessageRequest) Reset() { - *x = SendMessageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SendMessageRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SendMessageRequest) ProtoMessage() {} - -func (x *SendMessageRequest) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead. -func (*SendMessageRequest) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{1} -} - -func (x *SendMessageRequest) GetRoutingHead() *RoutingHead { - if x != nil { - return x.RoutingHead - } - return nil -} - -func (x *SendMessageRequest) GetContentHead() *ContentHead { - if x != nil { - return x.ContentHead - } - return nil -} - -func (x *SendMessageRequest) GetMsgBody() *MessageBody { - if x != nil { - return x.MsgBody - } - return nil -} - -func (x *SendMessageRequest) GetMsgSeq() int32 { - if x != nil && x.MsgSeq != nil { - return *x.MsgSeq - } - return 0 -} - -func (x *SendMessageRequest) GetMsgRand() int32 { - if x != nil && x.MsgRand != nil { - return *x.MsgRand - } - return 0 -} - -func (x *SendMessageRequest) GetSyncCookie() []byte { - if x != nil { - return x.SyncCookie - } - return nil -} - -func (x *SendMessageRequest) GetMsgVia() int32 { - if x != nil && x.MsgVia != nil { - return *x.MsgVia - } - return 0 -} - -func (x *SendMessageRequest) GetDataStatist() int32 { - if x != nil && x.DataStatist != nil { - return *x.DataStatist - } - return 0 -} - -func (x *SendMessageRequest) GetMsgCtrl() *MsgCtrl { - if x != nil { - return x.MsgCtrl - } - return nil -} - -func (x *SendMessageRequest) GetMultiSendSeq() int32 { - if x != nil && x.MultiSendSeq != nil { - return *x.MultiSendSeq - } - return 0 -} - -type SendMessageResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *int32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - ErrMsg *string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` -} - -func (x *SendMessageResponse) Reset() { - *x = SendMessageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SendMessageResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SendMessageResponse) ProtoMessage() {} - -func (x *SendMessageResponse) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead. -func (*SendMessageResponse) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{2} -} - -func (x *SendMessageResponse) GetResult() int32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *SendMessageResponse) GetErrMsg() string { - if x != nil && x.ErrMsg != nil { - return *x.ErrMsg - } - return "" -} - -type MsgWithDrawReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - C2CWithDraw []*C2CMsgWithDrawReq `protobuf:"bytes,1,rep,name=c2cWithDraw" json:"c2cWithDraw,omitempty"` - GroupWithDraw []*GroupMsgWithDrawReq `protobuf:"bytes,2,rep,name=groupWithDraw" json:"groupWithDraw,omitempty"` -} - -func (x *MsgWithDrawReq) Reset() { - *x = MsgWithDrawReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgWithDrawReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgWithDrawReq) ProtoMessage() {} - -func (x *MsgWithDrawReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgWithDrawReq.ProtoReflect.Descriptor instead. -func (*MsgWithDrawReq) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{3} -} - -func (x *MsgWithDrawReq) GetC2CWithDraw() []*C2CMsgWithDrawReq { - if x != nil { - return x.C2CWithDraw - } - return nil -} - -func (x *MsgWithDrawReq) GetGroupWithDraw() []*GroupMsgWithDrawReq { - if x != nil { - return x.GroupWithDraw - } - return nil -} - -type C2CMsgWithDrawReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MsgInfo []*C2CMsgInfo `protobuf:"bytes,1,rep,name=msgInfo" json:"msgInfo,omitempty"` - LongMessageFlag *int32 `protobuf:"varint,2,opt,name=longMessageFlag" json:"longMessageFlag,omitempty"` - Reserved []byte `protobuf:"bytes,3,opt,name=reserved" json:"reserved,omitempty"` - SubCmd *int32 `protobuf:"varint,4,opt,name=subCmd" json:"subCmd,omitempty"` -} - -func (x *C2CMsgWithDrawReq) Reset() { - *x = C2CMsgWithDrawReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *C2CMsgWithDrawReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*C2CMsgWithDrawReq) ProtoMessage() {} - -func (x *C2CMsgWithDrawReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use C2CMsgWithDrawReq.ProtoReflect.Descriptor instead. -func (*C2CMsgWithDrawReq) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{4} -} - -func (x *C2CMsgWithDrawReq) GetMsgInfo() []*C2CMsgInfo { - if x != nil { - return x.MsgInfo - } - return nil -} - -func (x *C2CMsgWithDrawReq) GetLongMessageFlag() int32 { - if x != nil && x.LongMessageFlag != nil { - return *x.LongMessageFlag - } - return 0 -} - -func (x *C2CMsgWithDrawReq) GetReserved() []byte { - if x != nil { - return x.Reserved - } - return nil -} - -func (x *C2CMsgWithDrawReq) GetSubCmd() int32 { - if x != nil && x.SubCmd != nil { - return *x.SubCmd - } - return 0 -} - -type GroupMsgWithDrawReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SubCmd *int32 `protobuf:"varint,1,opt,name=subCmd" json:"subCmd,omitempty"` - GroupType *int32 `protobuf:"varint,2,opt,name=groupType" json:"groupType,omitempty"` - GroupCode *int64 `protobuf:"varint,3,opt,name=groupCode" json:"groupCode,omitempty"` - MsgList []*GroupMsgInfo `protobuf:"bytes,4,rep,name=msgList" json:"msgList,omitempty"` - UserDef []byte `protobuf:"bytes,5,opt,name=userDef" json:"userDef,omitempty"` -} - -func (x *GroupMsgWithDrawReq) Reset() { - *x = GroupMsgWithDrawReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GroupMsgWithDrawReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GroupMsgWithDrawReq) ProtoMessage() {} - -func (x *GroupMsgWithDrawReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GroupMsgWithDrawReq.ProtoReflect.Descriptor instead. -func (*GroupMsgWithDrawReq) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{5} -} - -func (x *GroupMsgWithDrawReq) GetSubCmd() int32 { - if x != nil && x.SubCmd != nil { - return *x.SubCmd - } - return 0 -} - -func (x *GroupMsgWithDrawReq) GetGroupType() int32 { - if x != nil && x.GroupType != nil { - return *x.GroupType - } - return 0 -} - -func (x *GroupMsgWithDrawReq) GetGroupCode() int64 { - if x != nil && x.GroupCode != nil { - return *x.GroupCode - } - return 0 -} - -func (x *GroupMsgWithDrawReq) GetMsgList() []*GroupMsgInfo { - if x != nil { - return x.MsgList - } - return nil -} - -func (x *GroupMsgWithDrawReq) GetUserDef() []byte { - if x != nil { - return x.UserDef - } - return nil -} - -type MsgWithDrawResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - C2CWithDraw []*C2CMsgWithDrawResp `protobuf:"bytes,1,rep,name=c2cWithDraw" json:"c2cWithDraw,omitempty"` - GroupWithDraw []*GroupMsgWithDrawResp `protobuf:"bytes,2,rep,name=groupWithDraw" json:"groupWithDraw,omitempty"` -} - -func (x *MsgWithDrawResp) Reset() { - *x = MsgWithDrawResp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgWithDrawResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgWithDrawResp) ProtoMessage() {} - -func (x *MsgWithDrawResp) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgWithDrawResp.ProtoReflect.Descriptor instead. -func (*MsgWithDrawResp) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{6} -} - -func (x *MsgWithDrawResp) GetC2CWithDraw() []*C2CMsgWithDrawResp { - if x != nil { - return x.C2CWithDraw - } - return nil -} - -func (x *MsgWithDrawResp) GetGroupWithDraw() []*GroupMsgWithDrawResp { - if x != nil { - return x.GroupWithDraw - } - return nil -} - -type C2CMsgWithDrawResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *int32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - ErrMsg *string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` -} - -func (x *C2CMsgWithDrawResp) Reset() { - *x = C2CMsgWithDrawResp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *C2CMsgWithDrawResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*C2CMsgWithDrawResp) ProtoMessage() {} - -func (x *C2CMsgWithDrawResp) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use C2CMsgWithDrawResp.ProtoReflect.Descriptor instead. -func (*C2CMsgWithDrawResp) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{7} -} - -func (x *C2CMsgWithDrawResp) GetResult() int32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *C2CMsgWithDrawResp) GetErrMsg() string { - if x != nil && x.ErrMsg != nil { - return *x.ErrMsg - } - return "" -} - -type GroupMsgWithDrawResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *int32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - ErrMsg *string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` -} - -func (x *GroupMsgWithDrawResp) Reset() { - *x = GroupMsgWithDrawResp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GroupMsgWithDrawResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GroupMsgWithDrawResp) ProtoMessage() {} - -func (x *GroupMsgWithDrawResp) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GroupMsgWithDrawResp.ProtoReflect.Descriptor instead. -func (*GroupMsgWithDrawResp) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{8} -} - -func (x *GroupMsgWithDrawResp) GetResult() int32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *GroupMsgWithDrawResp) GetErrMsg() string { - if x != nil && x.ErrMsg != nil { - return *x.ErrMsg - } - return "" -} - -type GroupMsgInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MsgSeq *int32 `protobuf:"varint,1,opt,name=msgSeq" json:"msgSeq,omitempty"` - MsgRandom *int32 `protobuf:"varint,2,opt,name=msgRandom" json:"msgRandom,omitempty"` - MsgType *int32 `protobuf:"varint,3,opt,name=msgType" json:"msgType,omitempty"` -} - -func (x *GroupMsgInfo) Reset() { - *x = GroupMsgInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GroupMsgInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GroupMsgInfo) ProtoMessage() {} - -func (x *GroupMsgInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GroupMsgInfo.ProtoReflect.Descriptor instead. -func (*GroupMsgInfo) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{9} -} - -func (x *GroupMsgInfo) GetMsgSeq() int32 { - if x != nil && x.MsgSeq != nil { - return *x.MsgSeq - } - return 0 -} - -func (x *GroupMsgInfo) GetMsgRandom() int32 { - if x != nil && x.MsgRandom != nil { - return *x.MsgRandom - } - return 0 -} - -func (x *GroupMsgInfo) GetMsgType() int32 { - if x != nil && x.MsgType != nil { - return *x.MsgType - } - return 0 -} - -type C2CMsgInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FromUin *int64 `protobuf:"varint,1,opt,name=fromUin" json:"fromUin,omitempty"` - ToUin *int64 `protobuf:"varint,2,opt,name=toUin" json:"toUin,omitempty"` - MsgSeq *int32 `protobuf:"varint,3,opt,name=msgSeq" json:"msgSeq,omitempty"` - MsgUid *int64 `protobuf:"varint,4,opt,name=msgUid" json:"msgUid,omitempty"` - MsgTime *int64 `protobuf:"varint,5,opt,name=msgTime" json:"msgTime,omitempty"` - MsgRandom *int32 `protobuf:"varint,6,opt,name=msgRandom" json:"msgRandom,omitempty"` - PkgNum *int32 `protobuf:"varint,7,opt,name=pkgNum" json:"pkgNum,omitempty"` - PkgIndex *int32 `protobuf:"varint,8,opt,name=pkgIndex" json:"pkgIndex,omitempty"` - DivSeq *int32 `protobuf:"varint,9,opt,name=divSeq" json:"divSeq,omitempty"` - MsgType *int32 `protobuf:"varint,10,opt,name=msgType" json:"msgType,omitempty"` - RoutingHead *RoutingHead `protobuf:"bytes,20,opt,name=routingHead" json:"routingHead,omitempty"` -} - -func (x *C2CMsgInfo) Reset() { - *x = C2CMsgInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *C2CMsgInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*C2CMsgInfo) ProtoMessage() {} - -func (x *C2CMsgInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use C2CMsgInfo.ProtoReflect.Descriptor instead. -func (*C2CMsgInfo) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{10} -} - -func (x *C2CMsgInfo) GetFromUin() int64 { - if x != nil && x.FromUin != nil { - return *x.FromUin - } - return 0 -} - -func (x *C2CMsgInfo) GetToUin() int64 { - if x != nil && x.ToUin != nil { - return *x.ToUin - } - return 0 -} - -func (x *C2CMsgInfo) GetMsgSeq() int32 { - if x != nil && x.MsgSeq != nil { - return *x.MsgSeq - } - return 0 -} - -func (x *C2CMsgInfo) GetMsgUid() int64 { - if x != nil && x.MsgUid != nil { - return *x.MsgUid - } - return 0 -} - -func (x *C2CMsgInfo) GetMsgTime() int64 { - if x != nil && x.MsgTime != nil { - return *x.MsgTime - } - return 0 -} - -func (x *C2CMsgInfo) GetMsgRandom() int32 { - if x != nil && x.MsgRandom != nil { - return *x.MsgRandom - } - return 0 -} - -func (x *C2CMsgInfo) GetPkgNum() int32 { - if x != nil && x.PkgNum != nil { - return *x.PkgNum - } - return 0 -} - -func (x *C2CMsgInfo) GetPkgIndex() int32 { - if x != nil && x.PkgIndex != nil { - return *x.PkgIndex - } - return 0 -} - -func (x *C2CMsgInfo) GetDivSeq() int32 { - if x != nil && x.DivSeq != nil { - return *x.DivSeq - } - return 0 -} - -func (x *C2CMsgInfo) GetMsgType() int32 { - if x != nil && x.MsgType != nil { - return *x.MsgType - } - return 0 -} - -func (x *C2CMsgInfo) GetRoutingHead() *RoutingHead { - if x != nil { - return x.RoutingHead - } - return nil -} - -type RoutingHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - C2C *C2C `protobuf:"bytes,1,opt,name=c2c" json:"c2c,omitempty"` - Grp *Grp `protobuf:"bytes,2,opt,name=grp" json:"grp,omitempty"` - GrpTmp *GrpTmp `protobuf:"bytes,3,opt,name=grpTmp" json:"grpTmp,omitempty"` - WpaTmp *WPATmp `protobuf:"bytes,6,opt,name=wpaTmp" json:"wpaTmp,omitempty"` -} - -func (x *RoutingHead) Reset() { - *x = RoutingHead{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RoutingHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RoutingHead) ProtoMessage() {} - -func (x *RoutingHead) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RoutingHead.ProtoReflect.Descriptor instead. -func (*RoutingHead) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{11} -} - -func (x *RoutingHead) GetC2C() *C2C { - if x != nil { - return x.C2C - } - return nil -} - -func (x *RoutingHead) GetGrp() *Grp { - if x != nil { - return x.Grp - } - return nil -} - -func (x *RoutingHead) GetGrpTmp() *GrpTmp { - if x != nil { - return x.GrpTmp - } - return nil -} - -func (x *RoutingHead) GetWpaTmp() *WPATmp { - if x != nil { - return x.WpaTmp - } - return nil -} - -type WPATmp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ToUin *uint64 `protobuf:"varint,1,opt,name=toUin" json:"toUin,omitempty"` - Sig []byte `protobuf:"bytes,2,opt,name=sig" json:"sig,omitempty"` -} - -func (x *WPATmp) Reset() { - *x = WPATmp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WPATmp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WPATmp) ProtoMessage() {} - -func (x *WPATmp) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WPATmp.ProtoReflect.Descriptor instead. -func (*WPATmp) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{12} -} - -func (x *WPATmp) GetToUin() uint64 { - if x != nil && x.ToUin != nil { - return *x.ToUin - } - return 0 -} - -func (x *WPATmp) GetSig() []byte { - if x != nil { - return x.Sig - } - return nil -} - -type C2C struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ToUin *int64 `protobuf:"varint,1,opt,name=toUin" json:"toUin,omitempty"` -} - -func (x *C2C) Reset() { - *x = C2C{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *C2C) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*C2C) ProtoMessage() {} - -func (x *C2C) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use C2C.ProtoReflect.Descriptor instead. -func (*C2C) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{13} -} - -func (x *C2C) GetToUin() int64 { - if x != nil && x.ToUin != nil { - return *x.ToUin - } - return 0 -} - -type Grp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode *int64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"` -} - -func (x *Grp) Reset() { - *x = Grp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Grp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Grp) ProtoMessage() {} - -func (x *Grp) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Grp.ProtoReflect.Descriptor instead. -func (*Grp) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{14} -} - -func (x *Grp) GetGroupCode() int64 { - if x != nil && x.GroupCode != nil { - return *x.GroupCode - } - return 0 -} - -type GrpTmp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupUin *int64 `protobuf:"varint,1,opt,name=groupUin" json:"groupUin,omitempty"` - ToUin *int64 `protobuf:"varint,2,opt,name=toUin" json:"toUin,omitempty"` -} - -func (x *GrpTmp) Reset() { - *x = GrpTmp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GrpTmp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GrpTmp) ProtoMessage() {} - -func (x *GrpTmp) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GrpTmp.ProtoReflect.Descriptor instead. -func (*GrpTmp) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{15} -} - -func (x *GrpTmp) GetGroupUin() int64 { - if x != nil && x.GroupUin != nil { - return *x.GroupUin - } - return 0 -} - -func (x *GrpTmp) GetToUin() int64 { - if x != nil && x.ToUin != nil { - return *x.ToUin - } - return 0 -} - -type MsgCtrl struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MsgFlag *int32 `protobuf:"varint,1,opt,name=msgFlag" json:"msgFlag,omitempty"` -} - -func (x *MsgCtrl) Reset() { - *x = MsgCtrl{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgCtrl) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgCtrl) ProtoMessage() {} - -func (x *MsgCtrl) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgCtrl.ProtoReflect.Descriptor instead. -func (*MsgCtrl) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{16} -} - -func (x *MsgCtrl) GetMsgFlag() int32 { - if x != nil && x.MsgFlag != nil { - return *x.MsgFlag - } - return 0 -} - -type GetMessageResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *int32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - ErrorMessage *string `protobuf:"bytes,2,opt,name=errorMessage" json:"errorMessage,omitempty"` - SyncCookie []byte `protobuf:"bytes,3,opt,name=syncCookie" json:"syncCookie,omitempty"` - SyncFlag *SyncFlag `protobuf:"varint,4,opt,name=syncFlag,enum=msg.SyncFlag" json:"syncFlag,omitempty"` - UinPairMsgs []*UinPairMessage `protobuf:"bytes,5,rep,name=uinPairMsgs" json:"uinPairMsgs,omitempty"` - BindUin *int64 `protobuf:"varint,6,opt,name=bindUin" json:"bindUin,omitempty"` - MsgRspType *int32 `protobuf:"varint,7,opt,name=msgRspType" json:"msgRspType,omitempty"` - PubAccountCookie []byte `protobuf:"bytes,8,opt,name=pubAccountCookie" json:"pubAccountCookie,omitempty"` - IsPartialSync *bool `protobuf:"varint,9,opt,name=isPartialSync" json:"isPartialSync,omitempty"` - MsgCtrlBuf []byte `protobuf:"bytes,10,opt,name=msgCtrlBuf" json:"msgCtrlBuf,omitempty"` -} - -func (x *GetMessageResponse) Reset() { - *x = GetMessageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetMessageResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetMessageResponse) ProtoMessage() {} - -func (x *GetMessageResponse) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetMessageResponse.ProtoReflect.Descriptor instead. -func (*GetMessageResponse) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{17} -} - -func (x *GetMessageResponse) GetResult() int32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *GetMessageResponse) GetErrorMessage() string { - if x != nil && x.ErrorMessage != nil { - return *x.ErrorMessage - } - return "" -} - -func (x *GetMessageResponse) GetSyncCookie() []byte { - if x != nil { - return x.SyncCookie - } - return nil -} - -func (x *GetMessageResponse) GetSyncFlag() SyncFlag { - if x != nil && x.SyncFlag != nil { - return *x.SyncFlag - } - return SyncFlag_START -} - -func (x *GetMessageResponse) GetUinPairMsgs() []*UinPairMessage { - if x != nil { - return x.UinPairMsgs - } - return nil -} - -func (x *GetMessageResponse) GetBindUin() int64 { - if x != nil && x.BindUin != nil { - return *x.BindUin - } - return 0 -} - -func (x *GetMessageResponse) GetMsgRspType() int32 { - if x != nil && x.MsgRspType != nil { - return *x.MsgRspType - } - return 0 -} - -func (x *GetMessageResponse) GetPubAccountCookie() []byte { - if x != nil { - return x.PubAccountCookie - } - return nil -} - -func (x *GetMessageResponse) GetIsPartialSync() bool { - if x != nil && x.IsPartialSync != nil { - return *x.IsPartialSync - } - return false -} - -func (x *GetMessageResponse) GetMsgCtrlBuf() []byte { - if x != nil { - return x.MsgCtrlBuf - } - return nil -} - -type PushMessagePacket struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message *Message `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` - Svrip *int32 `protobuf:"varint,2,opt,name=svrip" json:"svrip,omitempty"` - PushToken []byte `protobuf:"bytes,3,opt,name=pushToken" json:"pushToken,omitempty"` - PingFLag *int32 `protobuf:"varint,4,opt,name=pingFLag" json:"pingFLag,omitempty"` - GeneralFlag *int32 `protobuf:"varint,9,opt,name=generalFlag" json:"generalFlag,omitempty"` -} - -func (x *PushMessagePacket) Reset() { - *x = PushMessagePacket{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PushMessagePacket) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushMessagePacket) ProtoMessage() {} - -func (x *PushMessagePacket) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushMessagePacket.ProtoReflect.Descriptor instead. -func (*PushMessagePacket) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{18} -} - -func (x *PushMessagePacket) GetMessage() *Message { - if x != nil { - return x.Message - } - return nil -} - -func (x *PushMessagePacket) GetSvrip() int32 { - if x != nil && x.Svrip != nil { - return *x.Svrip - } - return 0 -} - -func (x *PushMessagePacket) GetPushToken() []byte { - if x != nil { - return x.PushToken - } - return nil -} - -func (x *PushMessagePacket) GetPingFLag() int32 { - if x != nil && x.PingFLag != nil { - return *x.PingFLag - } - return 0 -} - -func (x *PushMessagePacket) GetGeneralFlag() int32 { - if x != nil && x.GeneralFlag != nil { - return *x.GeneralFlag - } - return 0 -} - -type UinPairMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LastReadTime *int32 `protobuf:"varint,1,opt,name=lastReadTime" json:"lastReadTime,omitempty"` - PeerUin *int64 `protobuf:"varint,2,opt,name=peerUin" json:"peerUin,omitempty"` - MsgCompleted *int32 `protobuf:"varint,3,opt,name=msgCompleted" json:"msgCompleted,omitempty"` - Messages []*Message `protobuf:"bytes,4,rep,name=messages" json:"messages,omitempty"` -} - -func (x *UinPairMessage) Reset() { - *x = UinPairMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UinPairMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UinPairMessage) ProtoMessage() {} - -func (x *UinPairMessage) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UinPairMessage.ProtoReflect.Descriptor instead. -func (*UinPairMessage) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{19} -} - -func (x *UinPairMessage) GetLastReadTime() int32 { - if x != nil && x.LastReadTime != nil { - return *x.LastReadTime - } - return 0 -} - -func (x *UinPairMessage) GetPeerUin() int64 { - if x != nil && x.PeerUin != nil { - return *x.PeerUin - } - return 0 -} - -func (x *UinPairMessage) GetMsgCompleted() int32 { - if x != nil && x.MsgCompleted != nil { - return *x.MsgCompleted - } - return 0 -} - -func (x *UinPairMessage) GetMessages() []*Message { - if x != nil { - return x.Messages - } - return nil -} - -type Message struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Head *MessageHead `protobuf:"bytes,1,opt,name=head" json:"head,omitempty"` - Content *ContentHead `protobuf:"bytes,2,opt,name=content" json:"content,omitempty"` - Body *MessageBody `protobuf:"bytes,3,opt,name=body" json:"body,omitempty"` -} - -func (x *Message) Reset() { - *x = Message{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Message) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Message) ProtoMessage() {} - -func (x *Message) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Message.ProtoReflect.Descriptor instead. -func (*Message) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{20} -} - -func (x *Message) GetHead() *MessageHead { - if x != nil { - return x.Head - } - return nil -} - -func (x *Message) GetContent() *ContentHead { - if x != nil { - return x.Content - } - return nil -} - -func (x *Message) GetBody() *MessageBody { - if x != nil { - return x.Body - } - return nil -} - -type MessageBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RichText *RichText `protobuf:"bytes,1,opt,name=richText" json:"richText,omitempty"` - MsgContent []byte `protobuf:"bytes,2,opt,name=msgContent" json:"msgContent,omitempty"` - MsgEncryptContent []byte `protobuf:"bytes,3,opt,name=msgEncryptContent" json:"msgEncryptContent,omitempty"` -} - -func (x *MessageBody) Reset() { - *x = MessageBody{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageBody) ProtoMessage() {} - -func (x *MessageBody) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageBody.ProtoReflect.Descriptor instead. -func (*MessageBody) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{21} -} - -func (x *MessageBody) GetRichText() *RichText { - if x != nil { - return x.RichText - } - return nil -} - -func (x *MessageBody) GetMsgContent() []byte { - if x != nil { - return x.MsgContent - } - return nil -} - -func (x *MessageBody) GetMsgEncryptContent() []byte { - if x != nil { - return x.MsgEncryptContent - } - return nil -} - -type RichText struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Attr *Attr `protobuf:"bytes,1,opt,name=attr" json:"attr,omitempty"` - Elems []*Elem `protobuf:"bytes,2,rep,name=elems" json:"elems,omitempty"` - NotOnlineFile *NotOnlineFile `protobuf:"bytes,3,opt,name=notOnlineFile" json:"notOnlineFile,omitempty"` - Ptt *Ptt `protobuf:"bytes,4,opt,name=ptt" json:"ptt,omitempty"` -} - -func (x *RichText) Reset() { - *x = RichText{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RichText) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RichText) ProtoMessage() {} - -func (x *RichText) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RichText.ProtoReflect.Descriptor instead. -func (*RichText) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{22} -} - -func (x *RichText) GetAttr() *Attr { - if x != nil { - return x.Attr - } - return nil -} - -func (x *RichText) GetElems() []*Elem { - if x != nil { - return x.Elems - } - return nil -} - -func (x *RichText) GetNotOnlineFile() *NotOnlineFile { - if x != nil { - return x.NotOnlineFile - } - return nil -} - -func (x *RichText) GetPtt() *Ptt { - if x != nil { - return x.Ptt - } - return nil -} - -type Elem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Text *Text `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` - Face *Face `protobuf:"bytes,2,opt,name=face" json:"face,omitempty"` - OnlineImage *OnlineImage `protobuf:"bytes,3,opt,name=onlineImage" json:"onlineImage,omitempty"` - NotOnlineImage *NotOnlineImage `protobuf:"bytes,4,opt,name=notOnlineImage" json:"notOnlineImage,omitempty"` - TransElemInfo *TransElem `protobuf:"bytes,5,opt,name=transElemInfo" json:"transElemInfo,omitempty"` - MarketFace *MarketFace `protobuf:"bytes,6,opt,name=marketFace" json:"marketFace,omitempty"` - //ElemFlags elemFlags = 7; - CustomFace *CustomFace `protobuf:"bytes,8,opt,name=customFace" json:"customFace,omitempty"` - ElemFlags2 *ElemFlags2 `protobuf:"bytes,9,opt,name=elemFlags2" json:"elemFlags2,omitempty"` - //FunFace funFace = 10; - //SecretFileMsg secretFile = 11; - RichMsg *RichMsg `protobuf:"bytes,12,opt,name=richMsg" json:"richMsg,omitempty"` - GroupFile *GroupFile `protobuf:"bytes,13,opt,name=groupFile" json:"groupFile,omitempty"` - //PubGroup pubGroup = 14; - //MarketTrans marketTrans = 15; - ExtraInfo *ExtraInfo `protobuf:"bytes,16,opt,name=extraInfo" json:"extraInfo,omitempty"` - //ShakeWindow? shakeWindow = 17; - //PubAccount? pubAccount = 18; - VideoFile *VideoFile `protobuf:"bytes,19,opt,name=videoFile" json:"videoFile,omitempty"` - //TipsInfo? tipsInfo = 20; - AnonGroupMsg *AnonymousGroupMessage `protobuf:"bytes,21,opt,name=anonGroupMsg" json:"anonGroupMsg,omitempty"` - //QQLiveOld? qqLiveOld = 22; - //LifeOnlineAccount? lifeOnline = 23; - QQWalletMsg *QQWalletMsg `protobuf:"bytes,24,opt,name=QQWalletMsg" json:"QQWalletMsg,omitempty"` - //CrmElem? crmElem = 25; - //ConferenceTipsInfo? conferenceTipsInfo = 26; - //RedBagInfo? redbagInfo = 27; - //LowVersionTips? lowVersionTips = 28; - //bytes bankcodeCtrlInfo = 29; - //NearByMessageType? nearByMsg = 30; - CustomElem *CustomElem `protobuf:"bytes,31,opt,name=customElem" json:"customElem,omitempty"` - //LocationInfo? locationInfo = 32; - //PubAccInfo? pubAccInfo = 33; - //SmallEmoji? smallEmoji = 34; - //FSJMessageElem? fsjMsgElem = 35; - //ArkAppElem? arkApp = 36; - GeneralFlags *GeneralFlags `protobuf:"bytes,37,opt,name=generalFlags" json:"generalFlags,omitempty"` - //CustomFace? hcFlashPic = 38; - //DeliverGiftMsg? deliverGiftMsg = 39; - //BitAppMsg? bitappMsg = 40; - //OpenQQData? openQqData = 41; - //ApolloActMsg? apolloMsg = 42; - //GroupPubAccountInfo? groupPubAccInfo = 43; - //BlessingMessage? blessMsg = 44; - SrcMsg *SourceMsg `protobuf:"bytes,45,opt,name=srcMsg" json:"srcMsg,omitempty"` - //LolaMsg? lolaMsg = 46; - //GroupBusinessMsg? groupBusinessMsg = 47; - //WorkflowNotifyMsg? msgWorkflowNotify = 48; - //PatsElem? patElem = 49; - //GroupPostElem? groupPostElem = 50; - LightApp *LightAppElem `protobuf:"bytes,51,opt,name=lightApp" json:"lightApp,omitempty"` - //EIMInfo? eimInfo = 52; - CommonElem *CommonElem `protobuf:"bytes,53,opt,name=commonElem" json:"commonElem,omitempty"` -} - -func (x *Elem) Reset() { - *x = Elem{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Elem) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Elem) ProtoMessage() {} - -func (x *Elem) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Elem.ProtoReflect.Descriptor instead. -func (*Elem) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{23} -} - -func (x *Elem) GetText() *Text { - if x != nil { - return x.Text - } - return nil -} - -func (x *Elem) GetFace() *Face { - if x != nil { - return x.Face - } - return nil -} - -func (x *Elem) GetOnlineImage() *OnlineImage { - if x != nil { - return x.OnlineImage - } - return nil -} - -func (x *Elem) GetNotOnlineImage() *NotOnlineImage { - if x != nil { - return x.NotOnlineImage - } - return nil -} - -func (x *Elem) GetTransElemInfo() *TransElem { - if x != nil { - return x.TransElemInfo - } - return nil -} - -func (x *Elem) GetMarketFace() *MarketFace { - if x != nil { - return x.MarketFace - } - return nil -} - -func (x *Elem) GetCustomFace() *CustomFace { - if x != nil { - return x.CustomFace - } - return nil -} - -func (x *Elem) GetElemFlags2() *ElemFlags2 { - if x != nil { - return x.ElemFlags2 - } - return nil -} - -func (x *Elem) GetRichMsg() *RichMsg { - if x != nil { - return x.RichMsg - } - return nil -} - -func (x *Elem) GetGroupFile() *GroupFile { - if x != nil { - return x.GroupFile - } - return nil -} - -func (x *Elem) GetExtraInfo() *ExtraInfo { - if x != nil { - return x.ExtraInfo - } - return nil -} - -func (x *Elem) GetVideoFile() *VideoFile { - if x != nil { - return x.VideoFile - } - return nil -} - -func (x *Elem) GetAnonGroupMsg() *AnonymousGroupMessage { - if x != nil { - return x.AnonGroupMsg - } - return nil -} - -func (x *Elem) GetQQWalletMsg() *QQWalletMsg { - if x != nil { - return x.QQWalletMsg - } - return nil -} - -func (x *Elem) GetCustomElem() *CustomElem { - if x != nil { - return x.CustomElem - } - return nil -} - -func (x *Elem) GetGeneralFlags() *GeneralFlags { - if x != nil { - return x.GeneralFlags - } - return nil -} - -func (x *Elem) GetSrcMsg() *SourceMsg { - if x != nil { - return x.SrcMsg - } - return nil -} - -func (x *Elem) GetLightApp() *LightAppElem { - if x != nil { - return x.LightApp - } - return nil -} - -func (x *Elem) GetCommonElem() *CommonElem { - if x != nil { - return x.CommonElem - } - return nil -} - -type MarketFace struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FaceName []byte `protobuf:"bytes,1,opt,name=faceName" json:"faceName,omitempty"` - ItemType *uint32 `protobuf:"varint,2,opt,name=itemType" json:"itemType,omitempty"` - FaceInfo *uint32 `protobuf:"varint,3,opt,name=faceInfo" json:"faceInfo,omitempty"` - FaceId []byte `protobuf:"bytes,4,opt,name=faceId" json:"faceId,omitempty"` - TabId *uint32 `protobuf:"varint,5,opt,name=tabId" json:"tabId,omitempty"` - SubType *uint32 `protobuf:"varint,6,opt,name=subType" json:"subType,omitempty"` - Key []byte `protobuf:"bytes,7,opt,name=key" json:"key,omitempty"` - Param []byte `protobuf:"bytes,8,opt,name=param" json:"param,omitempty"` - MediaType *uint32 `protobuf:"varint,9,opt,name=mediaType" json:"mediaType,omitempty"` - ImageWidth *uint32 `protobuf:"varint,10,opt,name=imageWidth" json:"imageWidth,omitempty"` - ImageHeight *uint32 `protobuf:"varint,11,opt,name=imageHeight" json:"imageHeight,omitempty"` - Mobileparam []byte `protobuf:"bytes,12,opt,name=mobileparam" json:"mobileparam,omitempty"` - PbReserve []byte `protobuf:"bytes,13,opt,name=pbReserve" json:"pbReserve,omitempty"` -} - -func (x *MarketFace) Reset() { - *x = MarketFace{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MarketFace) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MarketFace) ProtoMessage() {} - -func (x *MarketFace) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MarketFace.ProtoReflect.Descriptor instead. -func (*MarketFace) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{24} -} - -func (x *MarketFace) GetFaceName() []byte { - if x != nil { - return x.FaceName - } - return nil -} - -func (x *MarketFace) GetItemType() uint32 { - if x != nil && x.ItemType != nil { - return *x.ItemType - } - return 0 -} - -func (x *MarketFace) GetFaceInfo() uint32 { - if x != nil && x.FaceInfo != nil { - return *x.FaceInfo - } - return 0 -} - -func (x *MarketFace) GetFaceId() []byte { - if x != nil { - return x.FaceId - } - return nil -} - -func (x *MarketFace) GetTabId() uint32 { - if x != nil && x.TabId != nil { - return *x.TabId - } - return 0 -} - -func (x *MarketFace) GetSubType() uint32 { - if x != nil && x.SubType != nil { - return *x.SubType - } - return 0 -} - -func (x *MarketFace) GetKey() []byte { - if x != nil { - return x.Key - } - return nil -} - -func (x *MarketFace) GetParam() []byte { - if x != nil { - return x.Param - } - return nil -} - -func (x *MarketFace) GetMediaType() uint32 { - if x != nil && x.MediaType != nil { - return *x.MediaType - } - return 0 -} - -func (x *MarketFace) GetImageWidth() uint32 { - if x != nil && x.ImageWidth != nil { - return *x.ImageWidth - } - return 0 -} - -func (x *MarketFace) GetImageHeight() uint32 { - if x != nil && x.ImageHeight != nil { - return *x.ImageHeight - } - return 0 -} - -func (x *MarketFace) GetMobileparam() []byte { - if x != nil { - return x.Mobileparam - } - return nil -} - -func (x *MarketFace) GetPbReserve() []byte { - if x != nil { - return x.PbReserve - } - return nil -} - -type ElemFlags2 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ColorTextId *uint32 `protobuf:"varint,1,opt,name=colorTextId" json:"colorTextId,omitempty"` - MsgId *uint64 `protobuf:"varint,2,opt,name=msgId" json:"msgId,omitempty"` - WhisperSessionId *uint32 `protobuf:"varint,3,opt,name=whisperSessionId" json:"whisperSessionId,omitempty"` - PttChangeBit *uint32 `protobuf:"varint,4,opt,name=pttChangeBit" json:"pttChangeBit,omitempty"` - VipStatus *uint32 `protobuf:"varint,5,opt,name=vipStatus" json:"vipStatus,omitempty"` - CompatibleId *uint32 `protobuf:"varint,6,opt,name=compatibleId" json:"compatibleId,omitempty"` - Insts []*ElemFlags2_Inst `protobuf:"bytes,7,rep,name=insts" json:"insts,omitempty"` - MsgRptCnt *uint32 `protobuf:"varint,8,opt,name=msgRptCnt" json:"msgRptCnt,omitempty"` - SrcInst *ElemFlags2_Inst `protobuf:"bytes,9,opt,name=srcInst" json:"srcInst,omitempty"` - Longtitude *uint32 `protobuf:"varint,10,opt,name=longtitude" json:"longtitude,omitempty"` - Latitude *uint32 `protobuf:"varint,11,opt,name=latitude" json:"latitude,omitempty"` - CustomFont *uint32 `protobuf:"varint,12,opt,name=customFont" json:"customFont,omitempty"` - PcSupportDef *PcSupportDef `protobuf:"bytes,13,opt,name=pcSupportDef" json:"pcSupportDef,omitempty"` - CrmFlags *uint32 `protobuf:"varint,14,opt,name=crmFlags" json:"crmFlags,omitempty"` -} - -func (x *ElemFlags2) Reset() { - *x = ElemFlags2{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ElemFlags2) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ElemFlags2) ProtoMessage() {} - -func (x *ElemFlags2) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ElemFlags2.ProtoReflect.Descriptor instead. -func (*ElemFlags2) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{25} -} - -func (x *ElemFlags2) GetColorTextId() uint32 { - if x != nil && x.ColorTextId != nil { - return *x.ColorTextId - } - return 0 -} - -func (x *ElemFlags2) GetMsgId() uint64 { - if x != nil && x.MsgId != nil { - return *x.MsgId - } - return 0 -} - -func (x *ElemFlags2) GetWhisperSessionId() uint32 { - if x != nil && x.WhisperSessionId != nil { - return *x.WhisperSessionId - } - return 0 -} - -func (x *ElemFlags2) GetPttChangeBit() uint32 { - if x != nil && x.PttChangeBit != nil { - return *x.PttChangeBit - } - return 0 -} - -func (x *ElemFlags2) GetVipStatus() uint32 { - if x != nil && x.VipStatus != nil { - return *x.VipStatus - } - return 0 -} - -func (x *ElemFlags2) GetCompatibleId() uint32 { - if x != nil && x.CompatibleId != nil { - return *x.CompatibleId - } - return 0 -} - -func (x *ElemFlags2) GetInsts() []*ElemFlags2_Inst { - if x != nil { - return x.Insts - } - return nil -} - -func (x *ElemFlags2) GetMsgRptCnt() uint32 { - if x != nil && x.MsgRptCnt != nil { - return *x.MsgRptCnt - } - return 0 -} - -func (x *ElemFlags2) GetSrcInst() *ElemFlags2_Inst { - if x != nil { - return x.SrcInst - } - return nil -} - -func (x *ElemFlags2) GetLongtitude() uint32 { - if x != nil && x.Longtitude != nil { - return *x.Longtitude - } - return 0 -} - -func (x *ElemFlags2) GetLatitude() uint32 { - if x != nil && x.Latitude != nil { - return *x.Latitude - } - return 0 -} - -func (x *ElemFlags2) GetCustomFont() uint32 { - if x != nil && x.CustomFont != nil { - return *x.CustomFont - } - return 0 -} - -func (x *ElemFlags2) GetPcSupportDef() *PcSupportDef { - if x != nil { - return x.PcSupportDef - } - return nil -} - -func (x *ElemFlags2) GetCrmFlags() uint32 { - if x != nil && x.CrmFlags != nil { - return *x.CrmFlags - } - return 0 -} - -type PcSupportDef struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PcPtlBegin *uint32 `protobuf:"varint,1,opt,name=pcPtlBegin" json:"pcPtlBegin,omitempty"` - PcPtlEnd *uint32 `protobuf:"varint,2,opt,name=pcPtlEnd" json:"pcPtlEnd,omitempty"` - MacPtlBegin *uint32 `protobuf:"varint,3,opt,name=macPtlBegin" json:"macPtlBegin,omitempty"` - MacPtlEnd *uint32 `protobuf:"varint,4,opt,name=macPtlEnd" json:"macPtlEnd,omitempty"` - PtlsSupport []uint32 `protobuf:"varint,5,rep,name=ptlsSupport" json:"ptlsSupport,omitempty"` - PtlsNotSupport []uint32 `protobuf:"varint,6,rep,name=ptlsNotSupport" json:"ptlsNotSupport,omitempty"` -} - -func (x *PcSupportDef) Reset() { - *x = PcSupportDef{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PcSupportDef) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PcSupportDef) ProtoMessage() {} - -func (x *PcSupportDef) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PcSupportDef.ProtoReflect.Descriptor instead. -func (*PcSupportDef) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{26} -} - -func (x *PcSupportDef) GetPcPtlBegin() uint32 { - if x != nil && x.PcPtlBegin != nil { - return *x.PcPtlBegin - } - return 0 -} - -func (x *PcSupportDef) GetPcPtlEnd() uint32 { - if x != nil && x.PcPtlEnd != nil { - return *x.PcPtlEnd - } - return 0 -} - -func (x *PcSupportDef) GetMacPtlBegin() uint32 { - if x != nil && x.MacPtlBegin != nil { - return *x.MacPtlBegin - } - return 0 -} - -func (x *PcSupportDef) GetMacPtlEnd() uint32 { - if x != nil && x.MacPtlEnd != nil { - return *x.MacPtlEnd - } - return 0 -} - -func (x *PcSupportDef) GetPtlsSupport() []uint32 { - if x != nil { - return x.PtlsSupport - } - return nil -} - -func (x *PcSupportDef) GetPtlsNotSupport() []uint32 { - if x != nil { - return x.PtlsNotSupport - } - return nil -} - -type CommonElem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceType *int32 `protobuf:"varint,1,opt,name=serviceType" json:"serviceType,omitempty"` - PbElem []byte `protobuf:"bytes,2,opt,name=pbElem" json:"pbElem,omitempty"` - BusinessType *int32 `protobuf:"varint,3,opt,name=businessType" json:"businessType,omitempty"` -} - -func (x *CommonElem) Reset() { - *x = CommonElem{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommonElem) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommonElem) ProtoMessage() {} - -func (x *CommonElem) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommonElem.ProtoReflect.Descriptor instead. -func (*CommonElem) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{27} -} - -func (x *CommonElem) GetServiceType() int32 { - if x != nil && x.ServiceType != nil { - return *x.ServiceType - } - return 0 -} - -func (x *CommonElem) GetPbElem() []byte { - if x != nil { - return x.PbElem - } - return nil -} - -func (x *CommonElem) GetBusinessType() int32 { - if x != nil && x.BusinessType != nil { - return *x.BusinessType - } - return 0 -} - -type QQWalletMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AioBody *QQWalletAioBody `protobuf:"bytes,1,opt,name=aioBody" json:"aioBody,omitempty"` -} - -func (x *QQWalletMsg) Reset() { - *x = QQWalletMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *QQWalletMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QQWalletMsg) ProtoMessage() {} - -func (x *QQWalletMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use QQWalletMsg.ProtoReflect.Descriptor instead. -func (*QQWalletMsg) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{28} -} - -func (x *QQWalletMsg) GetAioBody() *QQWalletAioBody { - if x != nil { - return x.AioBody - } - return nil -} - -type QQWalletAioBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SendUin *uint64 `protobuf:"varint,1,opt,name=sendUin" json:"sendUin,omitempty"` - Sender *QQWalletAioElem `protobuf:"bytes,2,opt,name=sender" json:"sender,omitempty"` - Receiver *QQWalletAioElem `protobuf:"bytes,3,opt,name=receiver" json:"receiver,omitempty"` - ChannelId *int32 `protobuf:"zigzag32,4,opt,name=ChannelId" json:"ChannelId,omitempty"` - TemplateId *int32 `protobuf:"zigzag32,5,opt,name=templateId" json:"templateId,omitempty"` - Resend *uint32 `protobuf:"varint,6,opt,name=resend" json:"resend,omitempty"` - MsgPriority *uint32 `protobuf:"varint,7,opt,name=msgPriority" json:"msgPriority,omitempty"` - RedType *int32 `protobuf:"zigzag32,8,opt,name=redType" json:"redType,omitempty"` - BillNo []byte `protobuf:"bytes,9,opt,name=billNo" json:"billNo,omitempty"` - AuthKey []byte `protobuf:"bytes,10,opt,name=authKey" json:"authKey,omitempty"` - SessionType *int32 `protobuf:"zigzag32,11,opt,name=sessionType" json:"sessionType,omitempty"` - MsgType *int32 `protobuf:"zigzag32,12,opt,name=msgType" json:"msgType,omitempty"` - EnvelOpeId *int32 `protobuf:"zigzag32,13,opt,name=envelOpeId" json:"envelOpeId,omitempty"` - Name []byte `protobuf:"bytes,14,opt,name=name" json:"name,omitempty"` - ConfType *int32 `protobuf:"zigzag32,15,opt,name=confType" json:"confType,omitempty"` - MsgFrom *int32 `protobuf:"zigzag32,16,opt,name=msgFrom" json:"msgFrom,omitempty"` - PcBody []byte `protobuf:"bytes,17,opt,name=pcBody" json:"pcBody,omitempty"` - Index []byte `protobuf:"bytes,18,opt,name=index" json:"index,omitempty"` - RedChannel *uint32 `protobuf:"varint,19,opt,name=redChannel" json:"redChannel,omitempty"` - GrapUin []uint64 `protobuf:"varint,20,rep,name=grapUin" json:"grapUin,omitempty"` - PbReserve []byte `protobuf:"bytes,21,opt,name=pbReserve" json:"pbReserve,omitempty"` -} - -func (x *QQWalletAioBody) Reset() { - *x = QQWalletAioBody{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *QQWalletAioBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QQWalletAioBody) ProtoMessage() {} - -func (x *QQWalletAioBody) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use QQWalletAioBody.ProtoReflect.Descriptor instead. -func (*QQWalletAioBody) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{29} -} - -func (x *QQWalletAioBody) GetSendUin() uint64 { - if x != nil && x.SendUin != nil { - return *x.SendUin - } - return 0 -} - -func (x *QQWalletAioBody) GetSender() *QQWalletAioElem { - if x != nil { - return x.Sender - } - return nil -} - -func (x *QQWalletAioBody) GetReceiver() *QQWalletAioElem { - if x != nil { - return x.Receiver - } - return nil -} - -func (x *QQWalletAioBody) GetChannelId() int32 { - if x != nil && x.ChannelId != nil { - return *x.ChannelId - } - return 0 -} - -func (x *QQWalletAioBody) GetTemplateId() int32 { - if x != nil && x.TemplateId != nil { - return *x.TemplateId - } - return 0 -} - -func (x *QQWalletAioBody) GetResend() uint32 { - if x != nil && x.Resend != nil { - return *x.Resend - } - return 0 -} - -func (x *QQWalletAioBody) GetMsgPriority() uint32 { - if x != nil && x.MsgPriority != nil { - return *x.MsgPriority - } - return 0 -} - -func (x *QQWalletAioBody) GetRedType() int32 { - if x != nil && x.RedType != nil { - return *x.RedType - } - return 0 -} - -func (x *QQWalletAioBody) GetBillNo() []byte { - if x != nil { - return x.BillNo - } - return nil -} - -func (x *QQWalletAioBody) GetAuthKey() []byte { - if x != nil { - return x.AuthKey - } - return nil -} - -func (x *QQWalletAioBody) GetSessionType() int32 { - if x != nil && x.SessionType != nil { - return *x.SessionType - } - return 0 -} - -func (x *QQWalletAioBody) GetMsgType() int32 { - if x != nil && x.MsgType != nil { - return *x.MsgType - } - return 0 -} - -func (x *QQWalletAioBody) GetEnvelOpeId() int32 { - if x != nil && x.EnvelOpeId != nil { - return *x.EnvelOpeId - } - return 0 -} - -func (x *QQWalletAioBody) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *QQWalletAioBody) GetConfType() int32 { - if x != nil && x.ConfType != nil { - return *x.ConfType - } - return 0 -} - -func (x *QQWalletAioBody) GetMsgFrom() int32 { - if x != nil && x.MsgFrom != nil { - return *x.MsgFrom - } - return 0 -} - -func (x *QQWalletAioBody) GetPcBody() []byte { - if x != nil { - return x.PcBody - } - return nil -} - -func (x *QQWalletAioBody) GetIndex() []byte { - if x != nil { - return x.Index - } - return nil -} - -func (x *QQWalletAioBody) GetRedChannel() uint32 { - if x != nil && x.RedChannel != nil { - return *x.RedChannel - } - return 0 -} - -func (x *QQWalletAioBody) GetGrapUin() []uint64 { - if x != nil { - return x.GrapUin - } - return nil -} - -func (x *QQWalletAioBody) GetPbReserve() []byte { - if x != nil { - return x.PbReserve - } - return nil -} - -type QQWalletAioElem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Background *uint32 `protobuf:"varint,1,opt,name=background" json:"background,omitempty"` - Icon *uint32 `protobuf:"varint,2,opt,name=icon" json:"icon,omitempty"` - Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"` - Subtitle *string `protobuf:"bytes,4,opt,name=subtitle" json:"subtitle,omitempty"` - Content *string `protobuf:"bytes,5,opt,name=content" json:"content,omitempty"` - LinkUrl []byte `protobuf:"bytes,6,opt,name=linkUrl" json:"linkUrl,omitempty"` - BlackStripe []byte `protobuf:"bytes,7,opt,name=blackStripe" json:"blackStripe,omitempty"` - Notice []byte `protobuf:"bytes,8,opt,name=notice" json:"notice,omitempty"` - TitleColor *uint32 `protobuf:"varint,9,opt,name=titleColor" json:"titleColor,omitempty"` - SubtitleColor *uint32 `protobuf:"varint,10,opt,name=subtitleColor" json:"subtitleColor,omitempty"` - ActionsPriority []byte `protobuf:"bytes,11,opt,name=actionsPriority" json:"actionsPriority,omitempty"` - JumpUrl []byte `protobuf:"bytes,12,opt,name=jumpUrl" json:"jumpUrl,omitempty"` - NativeIos []byte `protobuf:"bytes,13,opt,name=nativeIos" json:"nativeIos,omitempty"` - NativeAndroid []byte `protobuf:"bytes,14,opt,name=nativeAndroid" json:"nativeAndroid,omitempty"` - IconUrl []byte `protobuf:"bytes,15,opt,name=iconUrl" json:"iconUrl,omitempty"` - ContentColor *uint32 `protobuf:"varint,16,opt,name=contentColor" json:"contentColor,omitempty"` - ContentBgColor *uint32 `protobuf:"varint,17,opt,name=contentBgColor" json:"contentBgColor,omitempty"` - AioImageLeft []byte `protobuf:"bytes,18,opt,name=aioImageLeft" json:"aioImageLeft,omitempty"` - AioImageRight []byte `protobuf:"bytes,19,opt,name=aioImageRight" json:"aioImageRight,omitempty"` - CftImage []byte `protobuf:"bytes,20,opt,name=cftImage" json:"cftImage,omitempty"` - PbReserve []byte `protobuf:"bytes,21,opt,name=pbReserve" json:"pbReserve,omitempty"` -} - -func (x *QQWalletAioElem) Reset() { - *x = QQWalletAioElem{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *QQWalletAioElem) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QQWalletAioElem) ProtoMessage() {} - -func (x *QQWalletAioElem) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use QQWalletAioElem.ProtoReflect.Descriptor instead. -func (*QQWalletAioElem) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{30} -} - -func (x *QQWalletAioElem) GetBackground() uint32 { - if x != nil && x.Background != nil { - return *x.Background - } - return 0 -} - -func (x *QQWalletAioElem) GetIcon() uint32 { - if x != nil && x.Icon != nil { - return *x.Icon - } - return 0 -} - -func (x *QQWalletAioElem) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *QQWalletAioElem) GetSubtitle() string { - if x != nil && x.Subtitle != nil { - return *x.Subtitle - } - return "" -} - -func (x *QQWalletAioElem) GetContent() string { - if x != nil && x.Content != nil { - return *x.Content - } - return "" -} - -func (x *QQWalletAioElem) GetLinkUrl() []byte { - if x != nil { - return x.LinkUrl - } - return nil -} - -func (x *QQWalletAioElem) GetBlackStripe() []byte { - if x != nil { - return x.BlackStripe - } - return nil -} - -func (x *QQWalletAioElem) GetNotice() []byte { - if x != nil { - return x.Notice - } - return nil -} - -func (x *QQWalletAioElem) GetTitleColor() uint32 { - if x != nil && x.TitleColor != nil { - return *x.TitleColor - } - return 0 -} - -func (x *QQWalletAioElem) GetSubtitleColor() uint32 { - if x != nil && x.SubtitleColor != nil { - return *x.SubtitleColor - } - return 0 -} - -func (x *QQWalletAioElem) GetActionsPriority() []byte { - if x != nil { - return x.ActionsPriority - } - return nil -} - -func (x *QQWalletAioElem) GetJumpUrl() []byte { - if x != nil { - return x.JumpUrl - } - return nil -} - -func (x *QQWalletAioElem) GetNativeIos() []byte { - if x != nil { - return x.NativeIos - } - return nil -} - -func (x *QQWalletAioElem) GetNativeAndroid() []byte { - if x != nil { - return x.NativeAndroid - } - return nil -} - -func (x *QQWalletAioElem) GetIconUrl() []byte { - if x != nil { - return x.IconUrl - } - return nil -} - -func (x *QQWalletAioElem) GetContentColor() uint32 { - if x != nil && x.ContentColor != nil { - return *x.ContentColor - } - return 0 -} - -func (x *QQWalletAioElem) GetContentBgColor() uint32 { - if x != nil && x.ContentBgColor != nil { - return *x.ContentBgColor - } - return 0 -} - -func (x *QQWalletAioElem) GetAioImageLeft() []byte { - if x != nil { - return x.AioImageLeft - } - return nil -} - -func (x *QQWalletAioElem) GetAioImageRight() []byte { - if x != nil { - return x.AioImageRight - } - return nil -} - -func (x *QQWalletAioElem) GetCftImage() []byte { - if x != nil { - return x.CftImage - } - return nil -} - -func (x *QQWalletAioElem) GetPbReserve() []byte { - if x != nil { - return x.PbReserve - } - return nil -} - -type RichMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Template1 []byte `protobuf:"bytes,1,opt,name=template1" json:"template1,omitempty"` - ServiceId *int32 `protobuf:"varint,2,opt,name=serviceId" json:"serviceId,omitempty"` - MsgResId []byte `protobuf:"bytes,3,opt,name=msgResId" json:"msgResId,omitempty"` - Rand *int32 `protobuf:"varint,4,opt,name=rand" json:"rand,omitempty"` - Seq *int32 `protobuf:"varint,5,opt,name=seq" json:"seq,omitempty"` -} - -func (x *RichMsg) Reset() { - *x = RichMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RichMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RichMsg) ProtoMessage() {} - -func (x *RichMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RichMsg.ProtoReflect.Descriptor instead. -func (*RichMsg) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{31} -} - -func (x *RichMsg) GetTemplate1() []byte { - if x != nil { - return x.Template1 - } - return nil -} - -func (x *RichMsg) GetServiceId() int32 { - if x != nil && x.ServiceId != nil { - return *x.ServiceId - } - return 0 -} - -func (x *RichMsg) GetMsgResId() []byte { - if x != nil { - return x.MsgResId - } - return nil -} - -func (x *RichMsg) GetRand() int32 { - if x != nil && x.Rand != nil { - return *x.Rand - } - return 0 -} - -func (x *RichMsg) GetSeq() int32 { - if x != nil && x.Seq != nil { - return *x.Seq - } - return 0 -} - -type CustomElem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Desc []byte `protobuf:"bytes,1,opt,name=desc" json:"desc,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"` - EnumType *int32 `protobuf:"varint,3,opt,name=enumType" json:"enumType,omitempty"` - Ext []byte `protobuf:"bytes,4,opt,name=ext" json:"ext,omitempty"` - Sound []byte `protobuf:"bytes,5,opt,name=sound" json:"sound,omitempty"` -} - -func (x *CustomElem) Reset() { - *x = CustomElem{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CustomElem) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CustomElem) ProtoMessage() {} - -func (x *CustomElem) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CustomElem.ProtoReflect.Descriptor instead. -func (*CustomElem) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{32} -} - -func (x *CustomElem) GetDesc() []byte { - if x != nil { - return x.Desc - } - return nil -} - -func (x *CustomElem) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *CustomElem) GetEnumType() int32 { - if x != nil && x.EnumType != nil { - return *x.EnumType - } - return 0 -} - -func (x *CustomElem) GetExt() []byte { - if x != nil { - return x.Ext - } - return nil -} - -func (x *CustomElem) GetSound() []byte { - if x != nil { - return x.Sound - } - return nil -} - -type Text struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Str *string `protobuf:"bytes,1,opt,name=str" json:"str,omitempty"` - Link *string `protobuf:"bytes,2,opt,name=link" json:"link,omitempty"` - Attr6Buf []byte `protobuf:"bytes,3,opt,name=attr6Buf" json:"attr6Buf,omitempty"` - Attr7Buf []byte `protobuf:"bytes,4,opt,name=attr7Buf" json:"attr7Buf,omitempty"` - Buf []byte `protobuf:"bytes,11,opt,name=buf" json:"buf,omitempty"` - PbReserve []byte `protobuf:"bytes,12,opt,name=pbReserve" json:"pbReserve,omitempty"` -} - -func (x *Text) Reset() { - *x = Text{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Text) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Text) ProtoMessage() {} - -func (x *Text) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Text.ProtoReflect.Descriptor instead. -func (*Text) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{33} -} - -func (x *Text) GetStr() string { - if x != nil && x.Str != nil { - return *x.Str - } - return "" -} - -func (x *Text) GetLink() string { - if x != nil && x.Link != nil { - return *x.Link - } - return "" -} - -func (x *Text) GetAttr6Buf() []byte { - if x != nil { - return x.Attr6Buf - } - return nil -} - -func (x *Text) GetAttr7Buf() []byte { - if x != nil { - return x.Attr7Buf - } - return nil -} - -func (x *Text) GetBuf() []byte { - if x != nil { - return x.Buf - } - return nil -} - -func (x *Text) GetPbReserve() []byte { - if x != nil { - return x.PbReserve - } - return nil -} - -type Attr struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CodePage *int32 `protobuf:"varint,1,opt,name=codePage" json:"codePage,omitempty"` - Time *int32 `protobuf:"varint,2,opt,name=time" json:"time,omitempty"` - Random *int32 `protobuf:"varint,3,opt,name=random" json:"random,omitempty"` - Color *int32 `protobuf:"varint,4,opt,name=color" json:"color,omitempty"` - Size *int32 `protobuf:"varint,5,opt,name=size" json:"size,omitempty"` - Effect *int32 `protobuf:"varint,6,opt,name=effect" json:"effect,omitempty"` - CharSet *int32 `protobuf:"varint,7,opt,name=charSet" json:"charSet,omitempty"` - PitchAndFamily *int32 `protobuf:"varint,8,opt,name=pitchAndFamily" json:"pitchAndFamily,omitempty"` - FontName *string `protobuf:"bytes,9,opt,name=fontName" json:"fontName,omitempty"` - ReserveData []byte `protobuf:"bytes,10,opt,name=reserveData" json:"reserveData,omitempty"` -} - -func (x *Attr) Reset() { - *x = Attr{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Attr) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Attr) ProtoMessage() {} - -func (x *Attr) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Attr.ProtoReflect.Descriptor instead. -func (*Attr) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{34} -} - -func (x *Attr) GetCodePage() int32 { - if x != nil && x.CodePage != nil { - return *x.CodePage - } - return 0 -} - -func (x *Attr) GetTime() int32 { - if x != nil && x.Time != nil { - return *x.Time - } - return 0 -} - -func (x *Attr) GetRandom() int32 { - if x != nil && x.Random != nil { - return *x.Random - } - return 0 -} - -func (x *Attr) GetColor() int32 { - if x != nil && x.Color != nil { - return *x.Color - } - return 0 -} - -func (x *Attr) GetSize() int32 { - if x != nil && x.Size != nil { - return *x.Size - } - return 0 -} - -func (x *Attr) GetEffect() int32 { - if x != nil && x.Effect != nil { - return *x.Effect - } - return 0 -} - -func (x *Attr) GetCharSet() int32 { - if x != nil && x.CharSet != nil { - return *x.CharSet - } - return 0 -} - -func (x *Attr) GetPitchAndFamily() int32 { - if x != nil && x.PitchAndFamily != nil { - return *x.PitchAndFamily - } - return 0 -} - -func (x *Attr) GetFontName() string { - if x != nil && x.FontName != nil { - return *x.FontName - } - return "" -} - -func (x *Attr) GetReserveData() []byte { - if x != nil { - return x.ReserveData - } - return nil -} - -type Ptt struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FileType *int32 `protobuf:"varint,1,opt,name=fileType" json:"fileType,omitempty"` - SrcUin *int64 `protobuf:"varint,2,opt,name=srcUin" json:"srcUin,omitempty"` - FileUuid []byte `protobuf:"bytes,3,opt,name=fileUuid" json:"fileUuid,omitempty"` - FileMd5 []byte `protobuf:"bytes,4,opt,name=fileMd5" json:"fileMd5,omitempty"` - FileName *string `protobuf:"bytes,5,opt,name=fileName" json:"fileName,omitempty"` - FileSize *int32 `protobuf:"varint,6,opt,name=fileSize" json:"fileSize,omitempty"` - Reserve []byte `protobuf:"bytes,7,opt,name=reserve" json:"reserve,omitempty"` - FileId *int32 `protobuf:"varint,8,opt,name=fileId" json:"fileId,omitempty"` - ServerIp *int32 `protobuf:"varint,9,opt,name=serverIp" json:"serverIp,omitempty"` - ServerPort *int32 `protobuf:"varint,10,opt,name=serverPort" json:"serverPort,omitempty"` - BoolValid *bool `protobuf:"varint,11,opt,name=boolValid" json:"boolValid,omitempty"` - Signature []byte `protobuf:"bytes,12,opt,name=signature" json:"signature,omitempty"` - Shortcut []byte `protobuf:"bytes,13,opt,name=shortcut" json:"shortcut,omitempty"` - FileKey []byte `protobuf:"bytes,14,opt,name=fileKey" json:"fileKey,omitempty"` - MagicPttIndex *int32 `protobuf:"varint,15,opt,name=magicPttIndex" json:"magicPttIndex,omitempty"` - VoiceSwitch *int32 `protobuf:"varint,16,opt,name=voiceSwitch" json:"voiceSwitch,omitempty"` - PttUrl []byte `protobuf:"bytes,17,opt,name=pttUrl" json:"pttUrl,omitempty"` - GroupFileKey []byte `protobuf:"bytes,18,opt,name=groupFileKey" json:"groupFileKey,omitempty"` - Time *int32 `protobuf:"varint,19,opt,name=time" json:"time,omitempty"` - DownPara []byte `protobuf:"bytes,20,opt,name=downPara" json:"downPara,omitempty"` - Format *int32 `protobuf:"varint,29,opt,name=format" json:"format,omitempty"` - PbReserve []byte `protobuf:"bytes,30,opt,name=pbReserve" json:"pbReserve,omitempty"` - BytesPttUrls [][]byte `protobuf:"bytes,31,rep,name=bytesPttUrls" json:"bytesPttUrls,omitempty"` - DownloadFlag *int32 `protobuf:"varint,32,opt,name=downloadFlag" json:"downloadFlag,omitempty"` -} - -func (x *Ptt) Reset() { - *x = Ptt{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Ptt) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Ptt) ProtoMessage() {} - -func (x *Ptt) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Ptt.ProtoReflect.Descriptor instead. -func (*Ptt) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{35} -} - -func (x *Ptt) GetFileType() int32 { - if x != nil && x.FileType != nil { - return *x.FileType - } - return 0 -} - -func (x *Ptt) GetSrcUin() int64 { - if x != nil && x.SrcUin != nil { - return *x.SrcUin - } - return 0 -} - -func (x *Ptt) GetFileUuid() []byte { - if x != nil { - return x.FileUuid - } - return nil -} - -func (x *Ptt) GetFileMd5() []byte { - if x != nil { - return x.FileMd5 - } - return nil -} - -func (x *Ptt) GetFileName() string { - if x != nil && x.FileName != nil { - return *x.FileName - } - return "" -} - -func (x *Ptt) GetFileSize() int32 { - if x != nil && x.FileSize != nil { - return *x.FileSize - } - return 0 -} - -func (x *Ptt) GetReserve() []byte { - if x != nil { - return x.Reserve - } - return nil -} - -func (x *Ptt) GetFileId() int32 { - if x != nil && x.FileId != nil { - return *x.FileId - } - return 0 -} - -func (x *Ptt) GetServerIp() int32 { - if x != nil && x.ServerIp != nil { - return *x.ServerIp - } - return 0 -} - -func (x *Ptt) GetServerPort() int32 { - if x != nil && x.ServerPort != nil { - return *x.ServerPort - } - return 0 -} - -func (x *Ptt) GetBoolValid() bool { - if x != nil && x.BoolValid != nil { - return *x.BoolValid - } - return false -} - -func (x *Ptt) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -func (x *Ptt) GetShortcut() []byte { - if x != nil { - return x.Shortcut - } - return nil -} - -func (x *Ptt) GetFileKey() []byte { - if x != nil { - return x.FileKey - } - return nil -} - -func (x *Ptt) GetMagicPttIndex() int32 { - if x != nil && x.MagicPttIndex != nil { - return *x.MagicPttIndex - } - return 0 -} - -func (x *Ptt) GetVoiceSwitch() int32 { - if x != nil && x.VoiceSwitch != nil { - return *x.VoiceSwitch - } - return 0 -} - -func (x *Ptt) GetPttUrl() []byte { - if x != nil { - return x.PttUrl - } - return nil -} - -func (x *Ptt) GetGroupFileKey() []byte { - if x != nil { - return x.GroupFileKey - } - return nil -} - -func (x *Ptt) GetTime() int32 { - if x != nil && x.Time != nil { - return *x.Time - } - return 0 -} - -func (x *Ptt) GetDownPara() []byte { - if x != nil { - return x.DownPara - } - return nil -} - -func (x *Ptt) GetFormat() int32 { - if x != nil && x.Format != nil { - return *x.Format - } - return 0 -} - -func (x *Ptt) GetPbReserve() []byte { - if x != nil { - return x.PbReserve - } - return nil -} - -func (x *Ptt) GetBytesPttUrls() [][]byte { - if x != nil { - return x.BytesPttUrls - } - return nil -} - -func (x *Ptt) GetDownloadFlag() int32 { - if x != nil && x.DownloadFlag != nil { - return *x.DownloadFlag - } - return 0 -} - -type OnlineImage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Guid []byte `protobuf:"bytes,1,opt,name=guid" json:"guid,omitempty"` - FilePath []byte `protobuf:"bytes,2,opt,name=filePath" json:"filePath,omitempty"` - OldVerSendFile []byte `protobuf:"bytes,3,opt,name=oldVerSendFile" json:"oldVerSendFile,omitempty"` -} - -func (x *OnlineImage) Reset() { - *x = OnlineImage{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OnlineImage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OnlineImage) ProtoMessage() {} - -func (x *OnlineImage) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OnlineImage.ProtoReflect.Descriptor instead. -func (*OnlineImage) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{36} -} - -func (x *OnlineImage) GetGuid() []byte { - if x != nil { - return x.Guid - } - return nil -} - -func (x *OnlineImage) GetFilePath() []byte { - if x != nil { - return x.FilePath - } - return nil -} - -func (x *OnlineImage) GetOldVerSendFile() []byte { - if x != nil { - return x.OldVerSendFile - } - return nil -} - -type NotOnlineImage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FilePath *string `protobuf:"bytes,1,opt,name=filePath" json:"filePath,omitempty"` - FileLen *int32 `protobuf:"varint,2,opt,name=fileLen" json:"fileLen,omitempty"` - DownloadPath *string `protobuf:"bytes,3,opt,name=downloadPath" json:"downloadPath,omitempty"` - OldVerSendFile []byte `protobuf:"bytes,4,opt,name=oldVerSendFile" json:"oldVerSendFile,omitempty"` - ImgType *int32 `protobuf:"varint,5,opt,name=imgType" json:"imgType,omitempty"` - PreviewsImage []byte `protobuf:"bytes,6,opt,name=previewsImage" json:"previewsImage,omitempty"` - PicMd5 []byte `protobuf:"bytes,7,opt,name=picMd5" json:"picMd5,omitempty"` - PicHeight *int32 `protobuf:"varint,8,opt,name=picHeight" json:"picHeight,omitempty"` - PicWidth *int32 `protobuf:"varint,9,opt,name=picWidth" json:"picWidth,omitempty"` - ResId *string `protobuf:"bytes,10,opt,name=resId" json:"resId,omitempty"` - Flag []byte `protobuf:"bytes,11,opt,name=flag" json:"flag,omitempty"` - ThumbUrl *string `protobuf:"bytes,12,opt,name=thumbUrl" json:"thumbUrl,omitempty"` - Original *int32 `protobuf:"varint,13,opt,name=original" json:"original,omitempty"` - BigUrl *string `protobuf:"bytes,14,opt,name=bigUrl" json:"bigUrl,omitempty"` - OrigUrl *string `protobuf:"bytes,15,opt,name=origUrl" json:"origUrl,omitempty"` - BizType *int32 `protobuf:"varint,16,opt,name=bizType" json:"bizType,omitempty"` - Result *int32 `protobuf:"varint,17,opt,name=result" json:"result,omitempty"` - Index *int32 `protobuf:"varint,18,opt,name=index" json:"index,omitempty"` - OpFaceBuf []byte `protobuf:"bytes,19,opt,name=opFaceBuf" json:"opFaceBuf,omitempty"` - OldPicMd5 *bool `protobuf:"varint,20,opt,name=oldPicMd5" json:"oldPicMd5,omitempty"` - ThumbWidth *int32 `protobuf:"varint,21,opt,name=thumbWidth" json:"thumbWidth,omitempty"` - ThumbHeight *int32 `protobuf:"varint,22,opt,name=thumbHeight" json:"thumbHeight,omitempty"` - FileId *int32 `protobuf:"varint,23,opt,name=fileId" json:"fileId,omitempty"` - ShowLen *int32 `protobuf:"varint,24,opt,name=showLen" json:"showLen,omitempty"` - DownloadLen *int32 `protobuf:"varint,25,opt,name=downloadLen" json:"downloadLen,omitempty"` - PbReserve []byte `protobuf:"bytes,29,opt,name=pbReserve" json:"pbReserve,omitempty"` -} - -func (x *NotOnlineImage) Reset() { - *x = NotOnlineImage{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NotOnlineImage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NotOnlineImage) ProtoMessage() {} - -func (x *NotOnlineImage) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NotOnlineImage.ProtoReflect.Descriptor instead. -func (*NotOnlineImage) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{37} -} - -func (x *NotOnlineImage) GetFilePath() string { - if x != nil && x.FilePath != nil { - return *x.FilePath - } - return "" -} - -func (x *NotOnlineImage) GetFileLen() int32 { - if x != nil && x.FileLen != nil { - return *x.FileLen - } - return 0 -} - -func (x *NotOnlineImage) GetDownloadPath() string { - if x != nil && x.DownloadPath != nil { - return *x.DownloadPath - } - return "" -} - -func (x *NotOnlineImage) GetOldVerSendFile() []byte { - if x != nil { - return x.OldVerSendFile - } - return nil -} - -func (x *NotOnlineImage) GetImgType() int32 { - if x != nil && x.ImgType != nil { - return *x.ImgType - } - return 0 -} - -func (x *NotOnlineImage) GetPreviewsImage() []byte { - if x != nil { - return x.PreviewsImage - } - return nil -} - -func (x *NotOnlineImage) GetPicMd5() []byte { - if x != nil { - return x.PicMd5 - } - return nil -} - -func (x *NotOnlineImage) GetPicHeight() int32 { - if x != nil && x.PicHeight != nil { - return *x.PicHeight - } - return 0 -} - -func (x *NotOnlineImage) GetPicWidth() int32 { - if x != nil && x.PicWidth != nil { - return *x.PicWidth - } - return 0 -} - -func (x *NotOnlineImage) GetResId() string { - if x != nil && x.ResId != nil { - return *x.ResId - } - return "" -} - -func (x *NotOnlineImage) GetFlag() []byte { - if x != nil { - return x.Flag - } - return nil -} - -func (x *NotOnlineImage) GetThumbUrl() string { - if x != nil && x.ThumbUrl != nil { - return *x.ThumbUrl - } - return "" -} - -func (x *NotOnlineImage) GetOriginal() int32 { - if x != nil && x.Original != nil { - return *x.Original - } - return 0 -} - -func (x *NotOnlineImage) GetBigUrl() string { - if x != nil && x.BigUrl != nil { - return *x.BigUrl - } - return "" -} - -func (x *NotOnlineImage) GetOrigUrl() string { - if x != nil && x.OrigUrl != nil { - return *x.OrigUrl - } - return "" -} - -func (x *NotOnlineImage) GetBizType() int32 { - if x != nil && x.BizType != nil { - return *x.BizType - } - return 0 -} - -func (x *NotOnlineImage) GetResult() int32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *NotOnlineImage) GetIndex() int32 { - if x != nil && x.Index != nil { - return *x.Index - } - return 0 -} - -func (x *NotOnlineImage) GetOpFaceBuf() []byte { - if x != nil { - return x.OpFaceBuf - } - return nil -} - -func (x *NotOnlineImage) GetOldPicMd5() bool { - if x != nil && x.OldPicMd5 != nil { - return *x.OldPicMd5 - } - return false -} - -func (x *NotOnlineImage) GetThumbWidth() int32 { - if x != nil && x.ThumbWidth != nil { - return *x.ThumbWidth - } - return 0 -} - -func (x *NotOnlineImage) GetThumbHeight() int32 { - if x != nil && x.ThumbHeight != nil { - return *x.ThumbHeight - } - return 0 -} - -func (x *NotOnlineImage) GetFileId() int32 { - if x != nil && x.FileId != nil { - return *x.FileId - } - return 0 -} - -func (x *NotOnlineImage) GetShowLen() int32 { - if x != nil && x.ShowLen != nil { - return *x.ShowLen - } - return 0 -} - -func (x *NotOnlineImage) GetDownloadLen() int32 { - if x != nil && x.DownloadLen != nil { - return *x.DownloadLen - } - return 0 -} - -func (x *NotOnlineImage) GetPbReserve() []byte { - if x != nil { - return x.PbReserve - } - return nil -} - -type NotOnlineFile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FileType *int32 `protobuf:"varint,1,opt,name=fileType" json:"fileType,omitempty"` - Sig []byte `protobuf:"bytes,2,opt,name=sig" json:"sig,omitempty"` - FileUuid []byte `protobuf:"bytes,3,opt,name=fileUuid" json:"fileUuid,omitempty"` - FileMd5 []byte `protobuf:"bytes,4,opt,name=fileMd5" json:"fileMd5,omitempty"` - FileName []byte `protobuf:"bytes,5,opt,name=fileName" json:"fileName,omitempty"` - FileSize *int64 `protobuf:"varint,6,opt,name=fileSize" json:"fileSize,omitempty"` - Note []byte `protobuf:"bytes,7,opt,name=note" json:"note,omitempty"` - Reserved *int32 `protobuf:"varint,8,opt,name=reserved" json:"reserved,omitempty"` - Subcmd *int32 `protobuf:"varint,9,opt,name=subcmd" json:"subcmd,omitempty"` - MicroCloud *int32 `protobuf:"varint,10,opt,name=microCloud" json:"microCloud,omitempty"` - BytesFileUrls [][]byte `protobuf:"bytes,11,rep,name=bytesFileUrls" json:"bytesFileUrls,omitempty"` - DownloadFlag *int32 `protobuf:"varint,12,opt,name=downloadFlag" json:"downloadFlag,omitempty"` - DangerEvel *int32 `protobuf:"varint,50,opt,name=dangerEvel" json:"dangerEvel,omitempty"` - LifeTime *int32 `protobuf:"varint,51,opt,name=lifeTime" json:"lifeTime,omitempty"` - UploadTime *int32 `protobuf:"varint,52,opt,name=uploadTime" json:"uploadTime,omitempty"` - AbsFileType *int32 `protobuf:"varint,53,opt,name=absFileType" json:"absFileType,omitempty"` - ClientType *int32 `protobuf:"varint,54,opt,name=clientType" json:"clientType,omitempty"` - ExpireTime *int32 `protobuf:"varint,55,opt,name=expireTime" json:"expireTime,omitempty"` - PbReserve []byte `protobuf:"bytes,56,opt,name=pbReserve" json:"pbReserve,omitempty"` -} - -func (x *NotOnlineFile) Reset() { - *x = NotOnlineFile{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NotOnlineFile) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NotOnlineFile) ProtoMessage() {} - -func (x *NotOnlineFile) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NotOnlineFile.ProtoReflect.Descriptor instead. -func (*NotOnlineFile) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{38} -} - -func (x *NotOnlineFile) GetFileType() int32 { - if x != nil && x.FileType != nil { - return *x.FileType - } - return 0 -} - -func (x *NotOnlineFile) GetSig() []byte { - if x != nil { - return x.Sig - } - return nil -} - -func (x *NotOnlineFile) GetFileUuid() []byte { - if x != nil { - return x.FileUuid - } - return nil -} - -func (x *NotOnlineFile) GetFileMd5() []byte { - if x != nil { - return x.FileMd5 - } - return nil -} - -func (x *NotOnlineFile) GetFileName() []byte { - if x != nil { - return x.FileName - } - return nil -} - -func (x *NotOnlineFile) GetFileSize() int64 { - if x != nil && x.FileSize != nil { - return *x.FileSize - } - return 0 -} - -func (x *NotOnlineFile) GetNote() []byte { - if x != nil { - return x.Note - } - return nil -} - -func (x *NotOnlineFile) GetReserved() int32 { - if x != nil && x.Reserved != nil { - return *x.Reserved - } - return 0 -} - -func (x *NotOnlineFile) GetSubcmd() int32 { - if x != nil && x.Subcmd != nil { - return *x.Subcmd - } - return 0 -} - -func (x *NotOnlineFile) GetMicroCloud() int32 { - if x != nil && x.MicroCloud != nil { - return *x.MicroCloud - } - return 0 -} - -func (x *NotOnlineFile) GetBytesFileUrls() [][]byte { - if x != nil { - return x.BytesFileUrls - } - return nil -} - -func (x *NotOnlineFile) GetDownloadFlag() int32 { - if x != nil && x.DownloadFlag != nil { - return *x.DownloadFlag - } - return 0 -} - -func (x *NotOnlineFile) GetDangerEvel() int32 { - if x != nil && x.DangerEvel != nil { - return *x.DangerEvel - } - return 0 -} - -func (x *NotOnlineFile) GetLifeTime() int32 { - if x != nil && x.LifeTime != nil { - return *x.LifeTime - } - return 0 -} - -func (x *NotOnlineFile) GetUploadTime() int32 { - if x != nil && x.UploadTime != nil { - return *x.UploadTime - } - return 0 -} - -func (x *NotOnlineFile) GetAbsFileType() int32 { - if x != nil && x.AbsFileType != nil { - return *x.AbsFileType - } - return 0 -} - -func (x *NotOnlineFile) GetClientType() int32 { - if x != nil && x.ClientType != nil { - return *x.ClientType - } - return 0 -} - -func (x *NotOnlineFile) GetExpireTime() int32 { - if x != nil && x.ExpireTime != nil { - return *x.ExpireTime - } - return 0 -} - -func (x *NotOnlineFile) GetPbReserve() []byte { - if x != nil { - return x.PbReserve - } - return nil -} - -type TransElem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ElemType *int32 `protobuf:"varint,1,opt,name=elemType" json:"elemType,omitempty"` - ElemValue []byte `protobuf:"bytes,2,opt,name=elemValue" json:"elemValue,omitempty"` -} - -func (x *TransElem) Reset() { - *x = TransElem{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TransElem) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TransElem) ProtoMessage() {} - -func (x *TransElem) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TransElem.ProtoReflect.Descriptor instead. -func (*TransElem) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{39} -} - -func (x *TransElem) GetElemType() int32 { - if x != nil && x.ElemType != nil { - return *x.ElemType - } - return 0 -} - -func (x *TransElem) GetElemValue() []byte { - if x != nil { - return x.ElemValue - } - return nil -} - -type ExtraInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Nick []byte `protobuf:"bytes,1,opt,name=nick" json:"nick,omitempty"` - GroupCard []byte `protobuf:"bytes,2,opt,name=groupCard" json:"groupCard,omitempty"` - Level *int32 `protobuf:"varint,3,opt,name=level" json:"level,omitempty"` - Flags *int32 `protobuf:"varint,4,opt,name=flags" json:"flags,omitempty"` - GroupMask *int32 `protobuf:"varint,5,opt,name=groupMask" json:"groupMask,omitempty"` - MsgTailId *int32 `protobuf:"varint,6,opt,name=msgTailId" json:"msgTailId,omitempty"` - SenderTitle []byte `protobuf:"bytes,7,opt,name=senderTitle" json:"senderTitle,omitempty"` - ApnsTips []byte `protobuf:"bytes,8,opt,name=apnsTips" json:"apnsTips,omitempty"` - Uin *int64 `protobuf:"varint,9,opt,name=uin" json:"uin,omitempty"` - MsgStateFlag *int32 `protobuf:"varint,10,opt,name=msgStateFlag" json:"msgStateFlag,omitempty"` - ApnsSoundType *int32 `protobuf:"varint,11,opt,name=apnsSoundType" json:"apnsSoundType,omitempty"` - NewGroupFlag *int32 `protobuf:"varint,12,opt,name=newGroupFlag" json:"newGroupFlag,omitempty"` -} - -func (x *ExtraInfo) Reset() { - *x = ExtraInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtraInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtraInfo) ProtoMessage() {} - -func (x *ExtraInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExtraInfo.ProtoReflect.Descriptor instead. -func (*ExtraInfo) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{40} -} - -func (x *ExtraInfo) GetNick() []byte { - if x != nil { - return x.Nick - } - return nil -} - -func (x *ExtraInfo) GetGroupCard() []byte { - if x != nil { - return x.GroupCard - } - return nil -} - -func (x *ExtraInfo) GetLevel() int32 { - if x != nil && x.Level != nil { - return *x.Level - } - return 0 -} - -func (x *ExtraInfo) GetFlags() int32 { - if x != nil && x.Flags != nil { - return *x.Flags - } - return 0 -} - -func (x *ExtraInfo) GetGroupMask() int32 { - if x != nil && x.GroupMask != nil { - return *x.GroupMask - } - return 0 -} - -func (x *ExtraInfo) GetMsgTailId() int32 { - if x != nil && x.MsgTailId != nil { - return *x.MsgTailId - } - return 0 -} - -func (x *ExtraInfo) GetSenderTitle() []byte { - if x != nil { - return x.SenderTitle - } - return nil -} - -func (x *ExtraInfo) GetApnsTips() []byte { - if x != nil { - return x.ApnsTips - } - return nil -} - -func (x *ExtraInfo) GetUin() int64 { - if x != nil && x.Uin != nil { - return *x.Uin - } - return 0 -} - -func (x *ExtraInfo) GetMsgStateFlag() int32 { - if x != nil && x.MsgStateFlag != nil { - return *x.MsgStateFlag - } - return 0 -} - -func (x *ExtraInfo) GetApnsSoundType() int32 { - if x != nil && x.ApnsSoundType != nil { - return *x.ApnsSoundType - } - return 0 -} - -func (x *ExtraInfo) GetNewGroupFlag() int32 { - if x != nil && x.NewGroupFlag != nil { - return *x.NewGroupFlag - } - return 0 -} - -type GroupFile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Filename []byte `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"` - FileSize *int64 `protobuf:"varint,2,opt,name=fileSize" json:"fileSize,omitempty"` - FileId []byte `protobuf:"bytes,3,opt,name=fileId" json:"fileId,omitempty"` - BatchId []byte `protobuf:"bytes,4,opt,name=batchId" json:"batchId,omitempty"` - FileKey []byte `protobuf:"bytes,5,opt,name=fileKey" json:"fileKey,omitempty"` - Mark []byte `protobuf:"bytes,6,opt,name=mark" json:"mark,omitempty"` - Sequence *int64 `protobuf:"varint,7,opt,name=sequence" json:"sequence,omitempty"` - BatchItemId []byte `protobuf:"bytes,8,opt,name=batchItemId" json:"batchItemId,omitempty"` - FeedMsgTime *int32 `protobuf:"varint,9,opt,name=feedMsgTime" json:"feedMsgTime,omitempty"` - PbReserve []byte `protobuf:"bytes,10,opt,name=pbReserve" json:"pbReserve,omitempty"` -} - -func (x *GroupFile) Reset() { - *x = GroupFile{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GroupFile) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GroupFile) ProtoMessage() {} - -func (x *GroupFile) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GroupFile.ProtoReflect.Descriptor instead. -func (*GroupFile) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{41} -} - -func (x *GroupFile) GetFilename() []byte { - if x != nil { - return x.Filename - } - return nil -} - -func (x *GroupFile) GetFileSize() int64 { - if x != nil && x.FileSize != nil { - return *x.FileSize - } - return 0 -} - -func (x *GroupFile) GetFileId() []byte { - if x != nil { - return x.FileId - } - return nil -} - -func (x *GroupFile) GetBatchId() []byte { - if x != nil { - return x.BatchId - } - return nil -} - -func (x *GroupFile) GetFileKey() []byte { - if x != nil { - return x.FileKey - } - return nil -} - -func (x *GroupFile) GetMark() []byte { - if x != nil { - return x.Mark - } - return nil -} - -func (x *GroupFile) GetSequence() int64 { - if x != nil && x.Sequence != nil { - return *x.Sequence - } - return 0 -} - -func (x *GroupFile) GetBatchItemId() []byte { - if x != nil { - return x.BatchItemId - } - return nil -} - -func (x *GroupFile) GetFeedMsgTime() int32 { - if x != nil && x.FeedMsgTime != nil { - return *x.FeedMsgTime - } - return 0 -} - -func (x *GroupFile) GetPbReserve() []byte { - if x != nil { - return x.PbReserve - } - return nil -} - -type AnonymousGroupMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Flags *int32 `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"` - AnonId []byte `protobuf:"bytes,2,opt,name=anonId" json:"anonId,omitempty"` - AnonNick []byte `protobuf:"bytes,3,opt,name=anonNick" json:"anonNick,omitempty"` - HeadPortrait *int32 `protobuf:"varint,4,opt,name=headPortrait" json:"headPortrait,omitempty"` - ExpireTime *int32 `protobuf:"varint,5,opt,name=expireTime" json:"expireTime,omitempty"` - BubbleId *int32 `protobuf:"varint,6,opt,name=bubbleId" json:"bubbleId,omitempty"` - RankColor []byte `protobuf:"bytes,7,opt,name=rankColor" json:"rankColor,omitempty"` -} - -func (x *AnonymousGroupMessage) Reset() { - *x = AnonymousGroupMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AnonymousGroupMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AnonymousGroupMessage) ProtoMessage() {} - -func (x *AnonymousGroupMessage) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AnonymousGroupMessage.ProtoReflect.Descriptor instead. -func (*AnonymousGroupMessage) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{42} -} - -func (x *AnonymousGroupMessage) GetFlags() int32 { - if x != nil && x.Flags != nil { - return *x.Flags - } - return 0 -} - -func (x *AnonymousGroupMessage) GetAnonId() []byte { - if x != nil { - return x.AnonId - } - return nil -} - -func (x *AnonymousGroupMessage) GetAnonNick() []byte { - if x != nil { - return x.AnonNick - } - return nil -} - -func (x *AnonymousGroupMessage) GetHeadPortrait() int32 { - if x != nil && x.HeadPortrait != nil { - return *x.HeadPortrait - } - return 0 -} - -func (x *AnonymousGroupMessage) GetExpireTime() int32 { - if x != nil && x.ExpireTime != nil { - return *x.ExpireTime - } - return 0 -} - -func (x *AnonymousGroupMessage) GetBubbleId() int32 { - if x != nil && x.BubbleId != nil { - return *x.BubbleId - } - return 0 -} - -func (x *AnonymousGroupMessage) GetRankColor() []byte { - if x != nil { - return x.RankColor - } - return nil -} - -type VideoFile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FileUuid []byte `protobuf:"bytes,1,opt,name=fileUuid" json:"fileUuid,omitempty"` - FileMd5 []byte `protobuf:"bytes,2,opt,name=fileMd5" json:"fileMd5,omitempty"` - FileName []byte `protobuf:"bytes,3,opt,name=fileName" json:"fileName,omitempty"` - FileFormat *int32 `protobuf:"varint,4,opt,name=fileFormat" json:"fileFormat,omitempty"` - FileTime *int32 `protobuf:"varint,5,opt,name=fileTime" json:"fileTime,omitempty"` - FileSize *int32 `protobuf:"varint,6,opt,name=fileSize" json:"fileSize,omitempty"` - ThumbWidth *int32 `protobuf:"varint,7,opt,name=thumbWidth" json:"thumbWidth,omitempty"` - ThumbHeight *int32 `protobuf:"varint,8,opt,name=thumbHeight" json:"thumbHeight,omitempty"` - ThumbFileMd5 []byte `protobuf:"bytes,9,opt,name=thumbFileMd5" json:"thumbFileMd5,omitempty"` - Source []byte `protobuf:"bytes,10,opt,name=source" json:"source,omitempty"` - ThumbFileSize *int32 `protobuf:"varint,11,opt,name=thumbFileSize" json:"thumbFileSize,omitempty"` - BusiType *int32 `protobuf:"varint,12,opt,name=busiType" json:"busiType,omitempty"` - FromChatType *int32 `protobuf:"varint,13,opt,name=fromChatType" json:"fromChatType,omitempty"` - ToChatType *int32 `protobuf:"varint,14,opt,name=toChatType" json:"toChatType,omitempty"` - BoolSupportProgressive *bool `protobuf:"varint,15,opt,name=boolSupportProgressive" json:"boolSupportProgressive,omitempty"` - FileWidth *int32 `protobuf:"varint,16,opt,name=fileWidth" json:"fileWidth,omitempty"` - FileHeight *int32 `protobuf:"varint,17,opt,name=fileHeight" json:"fileHeight,omitempty"` - SubBusiType *int32 `protobuf:"varint,18,opt,name=subBusiType" json:"subBusiType,omitempty"` - VideoAttr *int32 `protobuf:"varint,19,opt,name=videoAttr" json:"videoAttr,omitempty"` - BytesThumbFileUrls [][]byte `protobuf:"bytes,20,rep,name=bytesThumbFileUrls" json:"bytesThumbFileUrls,omitempty"` - BytesVideoFileUrls [][]byte `protobuf:"bytes,21,rep,name=bytesVideoFileUrls" json:"bytesVideoFileUrls,omitempty"` - ThumbDownloadFlag *int32 `protobuf:"varint,22,opt,name=thumbDownloadFlag" json:"thumbDownloadFlag,omitempty"` - VideoDownloadFlag *int32 `protobuf:"varint,23,opt,name=videoDownloadFlag" json:"videoDownloadFlag,omitempty"` - PbReserve []byte `protobuf:"bytes,24,opt,name=pbReserve" json:"pbReserve,omitempty"` -} - -func (x *VideoFile) Reset() { - *x = VideoFile{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VideoFile) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VideoFile) ProtoMessage() {} - -func (x *VideoFile) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VideoFile.ProtoReflect.Descriptor instead. -func (*VideoFile) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{43} -} - -func (x *VideoFile) GetFileUuid() []byte { - if x != nil { - return x.FileUuid - } - return nil -} - -func (x *VideoFile) GetFileMd5() []byte { - if x != nil { - return x.FileMd5 - } - return nil -} - -func (x *VideoFile) GetFileName() []byte { - if x != nil { - return x.FileName - } - return nil -} - -func (x *VideoFile) GetFileFormat() int32 { - if x != nil && x.FileFormat != nil { - return *x.FileFormat - } - return 0 -} - -func (x *VideoFile) GetFileTime() int32 { - if x != nil && x.FileTime != nil { - return *x.FileTime - } - return 0 -} - -func (x *VideoFile) GetFileSize() int32 { - if x != nil && x.FileSize != nil { - return *x.FileSize - } - return 0 -} - -func (x *VideoFile) GetThumbWidth() int32 { - if x != nil && x.ThumbWidth != nil { - return *x.ThumbWidth - } - return 0 -} - -func (x *VideoFile) GetThumbHeight() int32 { - if x != nil && x.ThumbHeight != nil { - return *x.ThumbHeight - } - return 0 -} - -func (x *VideoFile) GetThumbFileMd5() []byte { - if x != nil { - return x.ThumbFileMd5 - } - return nil -} - -func (x *VideoFile) GetSource() []byte { - if x != nil { - return x.Source - } - return nil -} - -func (x *VideoFile) GetThumbFileSize() int32 { - if x != nil && x.ThumbFileSize != nil { - return *x.ThumbFileSize - } - return 0 -} - -func (x *VideoFile) GetBusiType() int32 { - if x != nil && x.BusiType != nil { - return *x.BusiType - } - return 0 -} - -func (x *VideoFile) GetFromChatType() int32 { - if x != nil && x.FromChatType != nil { - return *x.FromChatType - } - return 0 -} - -func (x *VideoFile) GetToChatType() int32 { - if x != nil && x.ToChatType != nil { - return *x.ToChatType - } - return 0 -} - -func (x *VideoFile) GetBoolSupportProgressive() bool { - if x != nil && x.BoolSupportProgressive != nil { - return *x.BoolSupportProgressive - } - return false -} - -func (x *VideoFile) GetFileWidth() int32 { - if x != nil && x.FileWidth != nil { - return *x.FileWidth - } - return 0 -} - -func (x *VideoFile) GetFileHeight() int32 { - if x != nil && x.FileHeight != nil { - return *x.FileHeight - } - return 0 -} - -func (x *VideoFile) GetSubBusiType() int32 { - if x != nil && x.SubBusiType != nil { - return *x.SubBusiType - } - return 0 -} - -func (x *VideoFile) GetVideoAttr() int32 { - if x != nil && x.VideoAttr != nil { - return *x.VideoAttr - } - return 0 -} - -func (x *VideoFile) GetBytesThumbFileUrls() [][]byte { - if x != nil { - return x.BytesThumbFileUrls - } - return nil -} - -func (x *VideoFile) GetBytesVideoFileUrls() [][]byte { - if x != nil { - return x.BytesVideoFileUrls - } - return nil -} - -func (x *VideoFile) GetThumbDownloadFlag() int32 { - if x != nil && x.ThumbDownloadFlag != nil { - return *x.ThumbDownloadFlag - } - return 0 -} - -func (x *VideoFile) GetVideoDownloadFlag() int32 { - if x != nil && x.VideoDownloadFlag != nil { - return *x.VideoDownloadFlag - } - return 0 -} - -func (x *VideoFile) GetPbReserve() []byte { - if x != nil { - return x.PbReserve - } - return nil -} - -type SourceMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OrigSeqs []int32 `protobuf:"varint,1,rep,name=origSeqs" json:"origSeqs,omitempty"` - SenderUin *int64 `protobuf:"varint,2,opt,name=senderUin" json:"senderUin,omitempty"` - Time *int32 `protobuf:"varint,3,opt,name=time" json:"time,omitempty"` - Flag *int32 `protobuf:"varint,4,opt,name=flag" json:"flag,omitempty"` - Elems []*Elem `protobuf:"bytes,5,rep,name=elems" json:"elems,omitempty"` - Type *int32 `protobuf:"varint,6,opt,name=type" json:"type,omitempty"` - RichMsg []byte `protobuf:"bytes,7,opt,name=richMsg" json:"richMsg,omitempty"` - PbReserve []byte `protobuf:"bytes,8,opt,name=pbReserve" json:"pbReserve,omitempty"` - SrcMsg []byte `protobuf:"bytes,9,opt,name=srcMsg" json:"srcMsg,omitempty"` - ToUin *int64 `protobuf:"varint,10,opt,name=toUin" json:"toUin,omitempty"` - TroopName []byte `protobuf:"bytes,11,opt,name=troopName" json:"troopName,omitempty"` -} - -func (x *SourceMsg) Reset() { - *x = SourceMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SourceMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SourceMsg) ProtoMessage() {} - -func (x *SourceMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SourceMsg.ProtoReflect.Descriptor instead. -func (*SourceMsg) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{44} -} - -func (x *SourceMsg) GetOrigSeqs() []int32 { - if x != nil { - return x.OrigSeqs - } - return nil -} - -func (x *SourceMsg) GetSenderUin() int64 { - if x != nil && x.SenderUin != nil { - return *x.SenderUin - } - return 0 -} - -func (x *SourceMsg) GetTime() int32 { - if x != nil && x.Time != nil { - return *x.Time - } - return 0 -} - -func (x *SourceMsg) GetFlag() int32 { - if x != nil && x.Flag != nil { - return *x.Flag - } - return 0 -} - -func (x *SourceMsg) GetElems() []*Elem { - if x != nil { - return x.Elems - } - return nil -} - -func (x *SourceMsg) GetType() int32 { - if x != nil && x.Type != nil { - return *x.Type - } - return 0 -} - -func (x *SourceMsg) GetRichMsg() []byte { - if x != nil { - return x.RichMsg - } - return nil -} - -func (x *SourceMsg) GetPbReserve() []byte { - if x != nil { - return x.PbReserve - } - return nil -} - -func (x *SourceMsg) GetSrcMsg() []byte { - if x != nil { - return x.SrcMsg - } - return nil -} - -func (x *SourceMsg) GetToUin() int64 { - if x != nil && x.ToUin != nil { - return *x.ToUin - } - return 0 -} - -func (x *SourceMsg) GetTroopName() []byte { - if x != nil { - return x.TroopName - } - return nil -} - -type Face struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Index *int32 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"` - Old []byte `protobuf:"bytes,2,opt,name=old" json:"old,omitempty"` - Buf []byte `protobuf:"bytes,11,opt,name=buf" json:"buf,omitempty"` -} - -func (x *Face) Reset() { - *x = Face{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Face) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Face) ProtoMessage() {} - -func (x *Face) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Face.ProtoReflect.Descriptor instead. -func (*Face) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{45} -} - -func (x *Face) GetIndex() int32 { - if x != nil && x.Index != nil { - return *x.Index - } - return 0 -} - -func (x *Face) GetOld() []byte { - if x != nil { - return x.Old - } - return nil -} - -func (x *Face) GetBuf() []byte { - if x != nil { - return x.Buf - } - return nil -} - -type LightAppElem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"` - MsgResid []byte `protobuf:"bytes,2,opt,name=msgResid" json:"msgResid,omitempty"` -} - -func (x *LightAppElem) Reset() { - *x = LightAppElem{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LightAppElem) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LightAppElem) ProtoMessage() {} - -func (x *LightAppElem) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LightAppElem.ProtoReflect.Descriptor instead. -func (*LightAppElem) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{46} -} - -func (x *LightAppElem) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *LightAppElem) GetMsgResid() []byte { - if x != nil { - return x.MsgResid - } - return nil -} - -type CustomFace struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Guid []byte `protobuf:"bytes,1,opt,name=guid" json:"guid,omitempty"` - FilePath *string `protobuf:"bytes,2,opt,name=filePath" json:"filePath,omitempty"` - Shortcut *string `protobuf:"bytes,3,opt,name=shortcut" json:"shortcut,omitempty"` - Buffer []byte `protobuf:"bytes,4,opt,name=buffer" json:"buffer,omitempty"` - Flag []byte `protobuf:"bytes,5,opt,name=flag" json:"flag,omitempty"` - OldData []byte `protobuf:"bytes,6,opt,name=oldData" json:"oldData,omitempty"` - FileId *int32 `protobuf:"varint,7,opt,name=fileId" json:"fileId,omitempty"` - ServerIp *int32 `protobuf:"varint,8,opt,name=serverIp" json:"serverIp,omitempty"` - ServerPort *int32 `protobuf:"varint,9,opt,name=serverPort" json:"serverPort,omitempty"` - FileType *int32 `protobuf:"varint,10,opt,name=fileType" json:"fileType,omitempty"` - Signature []byte `protobuf:"bytes,11,opt,name=signature" json:"signature,omitempty"` - Useful *int32 `protobuf:"varint,12,opt,name=useful" json:"useful,omitempty"` - Md5 []byte `protobuf:"bytes,13,opt,name=md5" json:"md5,omitempty"` - ThumbUrl *string `protobuf:"bytes,14,opt,name=thumbUrl" json:"thumbUrl,omitempty"` - BigUrl *string `protobuf:"bytes,15,opt,name=bigUrl" json:"bigUrl,omitempty"` - OrigUrl *string `protobuf:"bytes,16,opt,name=origUrl" json:"origUrl,omitempty"` - BizType *int32 `protobuf:"varint,17,opt,name=bizType" json:"bizType,omitempty"` - RepeatIndex *int32 `protobuf:"varint,18,opt,name=repeatIndex" json:"repeatIndex,omitempty"` - RepeatImage *int32 `protobuf:"varint,19,opt,name=repeatImage" json:"repeatImage,omitempty"` - ImageType *int32 `protobuf:"varint,20,opt,name=imageType" json:"imageType,omitempty"` - Index *int32 `protobuf:"varint,21,opt,name=index" json:"index,omitempty"` - Width *int32 `protobuf:"varint,22,opt,name=width" json:"width,omitempty"` - Height *int32 `protobuf:"varint,23,opt,name=height" json:"height,omitempty"` - Source *int32 `protobuf:"varint,24,opt,name=source" json:"source,omitempty"` - Size *int32 `protobuf:"varint,25,opt,name=size" json:"size,omitempty"` - Origin *int32 `protobuf:"varint,26,opt,name=origin" json:"origin,omitempty"` - ThumbWidth *int32 `protobuf:"varint,27,opt,name=thumbWidth" json:"thumbWidth,omitempty"` - ThumbHeight *int32 `protobuf:"varint,28,opt,name=thumbHeight" json:"thumbHeight,omitempty"` - ShowLen *int32 `protobuf:"varint,29,opt,name=showLen" json:"showLen,omitempty"` - DownloadLen *int32 `protobuf:"varint,30,opt,name=downloadLen" json:"downloadLen,omitempty"` - X400Url *string `protobuf:"bytes,31,opt,name=_400Url,json=400Url" json:"_400Url,omitempty"` - X400Width *int32 `protobuf:"varint,32,opt,name=_400Width,json=400Width" json:"_400Width,omitempty"` - X400Height *int32 `protobuf:"varint,33,opt,name=_400Height,json=400Height" json:"_400Height,omitempty"` - PbReserve []byte `protobuf:"bytes,34,opt,name=pbReserve" json:"pbReserve,omitempty"` -} - -func (x *CustomFace) Reset() { - *x = CustomFace{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CustomFace) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CustomFace) ProtoMessage() {} - -func (x *CustomFace) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CustomFace.ProtoReflect.Descriptor instead. -func (*CustomFace) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{47} -} - -func (x *CustomFace) GetGuid() []byte { - if x != nil { - return x.Guid - } - return nil -} - -func (x *CustomFace) GetFilePath() string { - if x != nil && x.FilePath != nil { - return *x.FilePath - } - return "" -} - -func (x *CustomFace) GetShortcut() string { - if x != nil && x.Shortcut != nil { - return *x.Shortcut - } - return "" -} - -func (x *CustomFace) GetBuffer() []byte { - if x != nil { - return x.Buffer - } - return nil -} - -func (x *CustomFace) GetFlag() []byte { - if x != nil { - return x.Flag - } - return nil -} - -func (x *CustomFace) GetOldData() []byte { - if x != nil { - return x.OldData - } - return nil -} - -func (x *CustomFace) GetFileId() int32 { - if x != nil && x.FileId != nil { - return *x.FileId - } - return 0 -} - -func (x *CustomFace) GetServerIp() int32 { - if x != nil && x.ServerIp != nil { - return *x.ServerIp - } - return 0 -} - -func (x *CustomFace) GetServerPort() int32 { - if x != nil && x.ServerPort != nil { - return *x.ServerPort - } - return 0 -} - -func (x *CustomFace) GetFileType() int32 { - if x != nil && x.FileType != nil { - return *x.FileType - } - return 0 -} - -func (x *CustomFace) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -func (x *CustomFace) GetUseful() int32 { - if x != nil && x.Useful != nil { - return *x.Useful - } - return 0 -} - -func (x *CustomFace) GetMd5() []byte { - if x != nil { - return x.Md5 - } - return nil -} - -func (x *CustomFace) GetThumbUrl() string { - if x != nil && x.ThumbUrl != nil { - return *x.ThumbUrl - } - return "" -} - -func (x *CustomFace) GetBigUrl() string { - if x != nil && x.BigUrl != nil { - return *x.BigUrl - } - return "" -} - -func (x *CustomFace) GetOrigUrl() string { - if x != nil && x.OrigUrl != nil { - return *x.OrigUrl - } - return "" -} - -func (x *CustomFace) GetBizType() int32 { - if x != nil && x.BizType != nil { - return *x.BizType - } - return 0 -} - -func (x *CustomFace) GetRepeatIndex() int32 { - if x != nil && x.RepeatIndex != nil { - return *x.RepeatIndex - } - return 0 -} - -func (x *CustomFace) GetRepeatImage() int32 { - if x != nil && x.RepeatImage != nil { - return *x.RepeatImage - } - return 0 -} - -func (x *CustomFace) GetImageType() int32 { - if x != nil && x.ImageType != nil { - return *x.ImageType - } - return 0 -} - -func (x *CustomFace) GetIndex() int32 { - if x != nil && x.Index != nil { - return *x.Index - } - return 0 -} - -func (x *CustomFace) GetWidth() int32 { - if x != nil && x.Width != nil { - return *x.Width - } - return 0 -} - -func (x *CustomFace) GetHeight() int32 { - if x != nil && x.Height != nil { - return *x.Height - } - return 0 -} - -func (x *CustomFace) GetSource() int32 { - if x != nil && x.Source != nil { - return *x.Source - } - return 0 -} - -func (x *CustomFace) GetSize() int32 { - if x != nil && x.Size != nil { - return *x.Size - } - return 0 -} - -func (x *CustomFace) GetOrigin() int32 { - if x != nil && x.Origin != nil { - return *x.Origin - } - return 0 -} - -func (x *CustomFace) GetThumbWidth() int32 { - if x != nil && x.ThumbWidth != nil { - return *x.ThumbWidth - } - return 0 -} - -func (x *CustomFace) GetThumbHeight() int32 { - if x != nil && x.ThumbHeight != nil { - return *x.ThumbHeight - } - return 0 -} - -func (x *CustomFace) GetShowLen() int32 { - if x != nil && x.ShowLen != nil { - return *x.ShowLen - } - return 0 -} - -func (x *CustomFace) GetDownloadLen() int32 { - if x != nil && x.DownloadLen != nil { - return *x.DownloadLen - } - return 0 -} - -func (x *CustomFace) GetX400Url() string { - if x != nil && x.X400Url != nil { - return *x.X400Url - } - return "" -} - -func (x *CustomFace) GetX400Width() int32 { - if x != nil && x.X400Width != nil { - return *x.X400Width - } - return 0 -} - -func (x *CustomFace) GetX400Height() int32 { - if x != nil && x.X400Height != nil { - return *x.X400Height - } - return 0 -} - -func (x *CustomFace) GetPbReserve() []byte { - if x != nil { - return x.PbReserve - } - return nil -} - -type ContentHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PkgNum *int32 `protobuf:"varint,1,opt,name=pkgNum" json:"pkgNum,omitempty"` - PkgIndex *int32 `protobuf:"varint,2,opt,name=pkgIndex" json:"pkgIndex,omitempty"` - DivSeq *int32 `protobuf:"varint,3,opt,name=divSeq" json:"divSeq,omitempty"` - AutoReply *int32 `protobuf:"varint,4,opt,name=autoReply" json:"autoReply,omitempty"` -} - -func (x *ContentHead) Reset() { - *x = ContentHead{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContentHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContentHead) ProtoMessage() {} - -func (x *ContentHead) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContentHead.ProtoReflect.Descriptor instead. -func (*ContentHead) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{48} -} - -func (x *ContentHead) GetPkgNum() int32 { - if x != nil && x.PkgNum != nil { - return *x.PkgNum - } - return 0 -} - -func (x *ContentHead) GetPkgIndex() int32 { - if x != nil && x.PkgIndex != nil { - return *x.PkgIndex - } - return 0 -} - -func (x *ContentHead) GetDivSeq() int32 { - if x != nil && x.DivSeq != nil { - return *x.DivSeq - } - return 0 -} - -func (x *ContentHead) GetAutoReply() int32 { - if x != nil && x.AutoReply != nil { - return *x.AutoReply - } - return 0 -} - -type MessageHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FromUin *int64 `protobuf:"varint,1,opt,name=fromUin" json:"fromUin,omitempty"` - ToUin *int64 `protobuf:"varint,2,opt,name=toUin" json:"toUin,omitempty"` - MsgType *int32 `protobuf:"varint,3,opt,name=msgType" json:"msgType,omitempty"` - C2CCmd *int32 `protobuf:"varint,4,opt,name=c2cCmd" json:"c2cCmd,omitempty"` - MsgSeq *int32 `protobuf:"varint,5,opt,name=msgSeq" json:"msgSeq,omitempty"` - MsgTime *int32 `protobuf:"varint,6,opt,name=msgTime" json:"msgTime,omitempty"` - MsgUid *int64 `protobuf:"varint,7,opt,name=msgUid" json:"msgUid,omitempty"` - C2CTmpMsgHead *C2CTempMessageHead `protobuf:"bytes,8,opt,name=c2cTmpMsgHead" json:"c2cTmpMsgHead,omitempty"` - GroupInfo *GroupInfo `protobuf:"bytes,9,opt,name=groupInfo" json:"groupInfo,omitempty"` - FromAppid *int32 `protobuf:"varint,10,opt,name=fromAppid" json:"fromAppid,omitempty"` - FromInstid *int32 `protobuf:"varint,11,opt,name=fromInstid" json:"fromInstid,omitempty"` - UserActive *int32 `protobuf:"varint,12,opt,name=userActive" json:"userActive,omitempty"` - DiscussInfo *DiscussInfo `protobuf:"bytes,13,opt,name=discussInfo" json:"discussInfo,omitempty"` - FromNick *string `protobuf:"bytes,14,opt,name=fromNick" json:"fromNick,omitempty"` - AuthUin *int64 `protobuf:"varint,15,opt,name=authUin" json:"authUin,omitempty"` - AuthNick *string `protobuf:"bytes,16,opt,name=authNick" json:"authNick,omitempty"` - MsgFlag *int32 `protobuf:"varint,17,opt,name=msgFlag" json:"msgFlag,omitempty"` - AuthRemark *string `protobuf:"bytes,18,opt,name=authRemark" json:"authRemark,omitempty"` - GroupName *string `protobuf:"bytes,19,opt,name=groupName" json:"groupName,omitempty"` - MutiltransHead *MutilTransHead `protobuf:"bytes,20,opt,name=mutiltransHead" json:"mutiltransHead,omitempty"` - MsgInstCtrl *InstCtrl `protobuf:"bytes,21,opt,name=msgInstCtrl" json:"msgInstCtrl,omitempty"` - PublicAccountGroupSendFlag *int32 `protobuf:"varint,22,opt,name=publicAccountGroupSendFlag" json:"publicAccountGroupSendFlag,omitempty"` - WseqInC2CMsghead *int32 `protobuf:"varint,23,opt,name=wseqInC2cMsghead" json:"wseqInC2cMsghead,omitempty"` - Cpid *int64 `protobuf:"varint,24,opt,name=cpid" json:"cpid,omitempty"` - ExtGroupKeyInfo *ExtGroupKeyInfo `protobuf:"bytes,25,opt,name=extGroupKeyInfo" json:"extGroupKeyInfo,omitempty"` - MultiCompatibleText *string `protobuf:"bytes,26,opt,name=multiCompatibleText" json:"multiCompatibleText,omitempty"` - AuthSex *int32 `protobuf:"varint,27,opt,name=authSex" json:"authSex,omitempty"` - IsSrcMsg *bool `protobuf:"varint,28,opt,name=isSrcMsg" json:"isSrcMsg,omitempty"` -} - -func (x *MessageHead) Reset() { - *x = MessageHead{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageHead) ProtoMessage() {} - -func (x *MessageHead) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageHead.ProtoReflect.Descriptor instead. -func (*MessageHead) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{49} -} - -func (x *MessageHead) GetFromUin() int64 { - if x != nil && x.FromUin != nil { - return *x.FromUin - } - return 0 -} - -func (x *MessageHead) GetToUin() int64 { - if x != nil && x.ToUin != nil { - return *x.ToUin - } - return 0 -} - -func (x *MessageHead) GetMsgType() int32 { - if x != nil && x.MsgType != nil { - return *x.MsgType - } - return 0 -} - -func (x *MessageHead) GetC2CCmd() int32 { - if x != nil && x.C2CCmd != nil { - return *x.C2CCmd - } - return 0 -} - -func (x *MessageHead) GetMsgSeq() int32 { - if x != nil && x.MsgSeq != nil { - return *x.MsgSeq - } - return 0 -} - -func (x *MessageHead) GetMsgTime() int32 { - if x != nil && x.MsgTime != nil { - return *x.MsgTime - } - return 0 -} - -func (x *MessageHead) GetMsgUid() int64 { - if x != nil && x.MsgUid != nil { - return *x.MsgUid - } - return 0 -} - -func (x *MessageHead) GetC2CTmpMsgHead() *C2CTempMessageHead { - if x != nil { - return x.C2CTmpMsgHead - } - return nil -} - -func (x *MessageHead) GetGroupInfo() *GroupInfo { - if x != nil { - return x.GroupInfo - } - return nil -} - -func (x *MessageHead) GetFromAppid() int32 { - if x != nil && x.FromAppid != nil { - return *x.FromAppid - } - return 0 -} - -func (x *MessageHead) GetFromInstid() int32 { - if x != nil && x.FromInstid != nil { - return *x.FromInstid - } - return 0 -} - -func (x *MessageHead) GetUserActive() int32 { - if x != nil && x.UserActive != nil { - return *x.UserActive - } - return 0 -} - -func (x *MessageHead) GetDiscussInfo() *DiscussInfo { - if x != nil { - return x.DiscussInfo - } - return nil -} - -func (x *MessageHead) GetFromNick() string { - if x != nil && x.FromNick != nil { - return *x.FromNick - } - return "" -} - -func (x *MessageHead) GetAuthUin() int64 { - if x != nil && x.AuthUin != nil { - return *x.AuthUin - } - return 0 -} - -func (x *MessageHead) GetAuthNick() string { - if x != nil && x.AuthNick != nil { - return *x.AuthNick - } - return "" -} - -func (x *MessageHead) GetMsgFlag() int32 { - if x != nil && x.MsgFlag != nil { - return *x.MsgFlag - } - return 0 -} - -func (x *MessageHead) GetAuthRemark() string { - if x != nil && x.AuthRemark != nil { - return *x.AuthRemark - } - return "" -} - -func (x *MessageHead) GetGroupName() string { - if x != nil && x.GroupName != nil { - return *x.GroupName - } - return "" -} - -func (x *MessageHead) GetMutiltransHead() *MutilTransHead { - if x != nil { - return x.MutiltransHead - } - return nil -} - -func (x *MessageHead) GetMsgInstCtrl() *InstCtrl { - if x != nil { - return x.MsgInstCtrl - } - return nil -} - -func (x *MessageHead) GetPublicAccountGroupSendFlag() int32 { - if x != nil && x.PublicAccountGroupSendFlag != nil { - return *x.PublicAccountGroupSendFlag - } - return 0 -} - -func (x *MessageHead) GetWseqInC2CMsghead() int32 { - if x != nil && x.WseqInC2CMsghead != nil { - return *x.WseqInC2CMsghead - } - return 0 -} - -func (x *MessageHead) GetCpid() int64 { - if x != nil && x.Cpid != nil { - return *x.Cpid - } - return 0 -} - -func (x *MessageHead) GetExtGroupKeyInfo() *ExtGroupKeyInfo { - if x != nil { - return x.ExtGroupKeyInfo - } - return nil -} - -func (x *MessageHead) GetMultiCompatibleText() string { - if x != nil && x.MultiCompatibleText != nil { - return *x.MultiCompatibleText - } - return "" -} - -func (x *MessageHead) GetAuthSex() int32 { - if x != nil && x.AuthSex != nil { - return *x.AuthSex - } - return 0 -} - -func (x *MessageHead) GetIsSrcMsg() bool { - if x != nil && x.IsSrcMsg != nil { - return *x.IsSrcMsg - } - return false -} - -type GroupInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode *int64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"` - GroupType *int32 `protobuf:"varint,2,opt,name=groupType" json:"groupType,omitempty"` - GroupInfoSeq *int64 `protobuf:"varint,3,opt,name=groupInfoSeq" json:"groupInfoSeq,omitempty"` - GroupCard *string `protobuf:"bytes,4,opt,name=groupCard" json:"groupCard,omitempty"` - GroupRank []byte `protobuf:"bytes,5,opt,name=groupRank" json:"groupRank,omitempty"` - GroupLevel *int32 `protobuf:"varint,6,opt,name=groupLevel" json:"groupLevel,omitempty"` - GroupCardType *int32 `protobuf:"varint,7,opt,name=groupCardType" json:"groupCardType,omitempty"` - GroupName []byte `protobuf:"bytes,8,opt,name=groupName" json:"groupName,omitempty"` -} - -func (x *GroupInfo) Reset() { - *x = GroupInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GroupInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GroupInfo) ProtoMessage() {} - -func (x *GroupInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GroupInfo.ProtoReflect.Descriptor instead. -func (*GroupInfo) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{50} -} - -func (x *GroupInfo) GetGroupCode() int64 { - if x != nil && x.GroupCode != nil { - return *x.GroupCode - } - return 0 -} - -func (x *GroupInfo) GetGroupType() int32 { - if x != nil && x.GroupType != nil { - return *x.GroupType - } - return 0 -} - -func (x *GroupInfo) GetGroupInfoSeq() int64 { - if x != nil && x.GroupInfoSeq != nil { - return *x.GroupInfoSeq - } - return 0 -} - -func (x *GroupInfo) GetGroupCard() string { - if x != nil && x.GroupCard != nil { - return *x.GroupCard - } - return "" -} - -func (x *GroupInfo) GetGroupRank() []byte { - if x != nil { - return x.GroupRank - } - return nil -} - -func (x *GroupInfo) GetGroupLevel() int32 { - if x != nil && x.GroupLevel != nil { - return *x.GroupLevel - } - return 0 -} - -func (x *GroupInfo) GetGroupCardType() int32 { - if x != nil && x.GroupCardType != nil { - return *x.GroupCardType - } - return 0 -} - -func (x *GroupInfo) GetGroupName() []byte { - if x != nil { - return x.GroupName - } - return nil -} - -type DiscussInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DiscussUin *int64 `protobuf:"varint,1,opt,name=discussUin" json:"discussUin,omitempty"` - DiscussType *int32 `protobuf:"varint,2,opt,name=discussType" json:"discussType,omitempty"` - DiscussInfoSeq *int64 `protobuf:"varint,3,opt,name=discussInfoSeq" json:"discussInfoSeq,omitempty"` - DiscussRemark []byte `protobuf:"bytes,4,opt,name=discussRemark" json:"discussRemark,omitempty"` - DiscussName []byte `protobuf:"bytes,5,opt,name=discussName" json:"discussName,omitempty"` -} - -func (x *DiscussInfo) Reset() { - *x = DiscussInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DiscussInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DiscussInfo) ProtoMessage() {} - -func (x *DiscussInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DiscussInfo.ProtoReflect.Descriptor instead. -func (*DiscussInfo) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{51} -} - -func (x *DiscussInfo) GetDiscussUin() int64 { - if x != nil && x.DiscussUin != nil { - return *x.DiscussUin - } - return 0 -} - -func (x *DiscussInfo) GetDiscussType() int32 { - if x != nil && x.DiscussType != nil { - return *x.DiscussType - } - return 0 -} - -func (x *DiscussInfo) GetDiscussInfoSeq() int64 { - if x != nil && x.DiscussInfoSeq != nil { - return *x.DiscussInfoSeq - } - return 0 -} - -func (x *DiscussInfo) GetDiscussRemark() []byte { - if x != nil { - return x.DiscussRemark - } - return nil -} - -func (x *DiscussInfo) GetDiscussName() []byte { - if x != nil { - return x.DiscussName - } - return nil -} - -type MutilTransHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Status *int32 `protobuf:"varint,1,opt,name=status" json:"status,omitempty"` - MsgId *int32 `protobuf:"varint,2,opt,name=msgId" json:"msgId,omitempty"` -} - -func (x *MutilTransHead) Reset() { - *x = MutilTransHead{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MutilTransHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MutilTransHead) ProtoMessage() {} - -func (x *MutilTransHead) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MutilTransHead.ProtoReflect.Descriptor instead. -func (*MutilTransHead) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{52} -} - -func (x *MutilTransHead) GetStatus() int32 { - if x != nil && x.Status != nil { - return *x.Status - } - return 0 -} - -func (x *MutilTransHead) GetMsgId() int32 { - if x != nil && x.MsgId != nil { - return *x.MsgId - } - return 0 -} - -type C2CTempMessageHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - C2CType *int32 `protobuf:"varint,1,opt,name=c2cType" json:"c2cType,omitempty"` - ServiceType *int32 `protobuf:"varint,2,opt,name=serviceType" json:"serviceType,omitempty"` - GroupUin *int64 `protobuf:"varint,3,opt,name=groupUin" json:"groupUin,omitempty"` - GroupCode *int64 `protobuf:"varint,4,opt,name=groupCode" json:"groupCode,omitempty"` - Sig []byte `protobuf:"bytes,5,opt,name=sig" json:"sig,omitempty"` - SigType *int32 `protobuf:"varint,6,opt,name=sigType" json:"sigType,omitempty"` - FromPhone *string `protobuf:"bytes,7,opt,name=fromPhone" json:"fromPhone,omitempty"` - ToPhone *string `protobuf:"bytes,8,opt,name=toPhone" json:"toPhone,omitempty"` - LockDisplay *int32 `protobuf:"varint,9,opt,name=lockDisplay" json:"lockDisplay,omitempty"` - DirectionFlag *int32 `protobuf:"varint,10,opt,name=directionFlag" json:"directionFlag,omitempty"` - Reserved []byte `protobuf:"bytes,11,opt,name=reserved" json:"reserved,omitempty"` -} - -func (x *C2CTempMessageHead) Reset() { - *x = C2CTempMessageHead{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *C2CTempMessageHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*C2CTempMessageHead) ProtoMessage() {} - -func (x *C2CTempMessageHead) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use C2CTempMessageHead.ProtoReflect.Descriptor instead. -func (*C2CTempMessageHead) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{53} -} - -func (x *C2CTempMessageHead) GetC2CType() int32 { - if x != nil && x.C2CType != nil { - return *x.C2CType - } - return 0 -} - -func (x *C2CTempMessageHead) GetServiceType() int32 { - if x != nil && x.ServiceType != nil { - return *x.ServiceType - } - return 0 -} - -func (x *C2CTempMessageHead) GetGroupUin() int64 { - if x != nil && x.GroupUin != nil { - return *x.GroupUin - } - return 0 -} - -func (x *C2CTempMessageHead) GetGroupCode() int64 { - if x != nil && x.GroupCode != nil { - return *x.GroupCode - } - return 0 -} - -func (x *C2CTempMessageHead) GetSig() []byte { - if x != nil { - return x.Sig - } - return nil -} - -func (x *C2CTempMessageHead) GetSigType() int32 { - if x != nil && x.SigType != nil { - return *x.SigType - } - return 0 -} - -func (x *C2CTempMessageHead) GetFromPhone() string { - if x != nil && x.FromPhone != nil { - return *x.FromPhone - } - return "" -} - -func (x *C2CTempMessageHead) GetToPhone() string { - if x != nil && x.ToPhone != nil { - return *x.ToPhone - } - return "" -} - -func (x *C2CTempMessageHead) GetLockDisplay() int32 { - if x != nil && x.LockDisplay != nil { - return *x.LockDisplay - } - return 0 -} - -func (x *C2CTempMessageHead) GetDirectionFlag() int32 { - if x != nil && x.DirectionFlag != nil { - return *x.DirectionFlag - } - return 0 -} - -func (x *C2CTempMessageHead) GetReserved() []byte { - if x != nil { - return x.Reserved - } - return nil -} - -type InstCtrl struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MsgSendToInst []*InstInfo `protobuf:"bytes,1,rep,name=msgSendToInst" json:"msgSendToInst,omitempty"` - MsgExcludeInst []*InstInfo `protobuf:"bytes,2,rep,name=msgExcludeInst" json:"msgExcludeInst,omitempty"` - MsgFromInst *InstInfo `protobuf:"bytes,3,opt,name=msgFromInst" json:"msgFromInst,omitempty"` -} - -func (x *InstCtrl) Reset() { - *x = InstCtrl{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InstCtrl) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InstCtrl) ProtoMessage() {} - -func (x *InstCtrl) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InstCtrl.ProtoReflect.Descriptor instead. -func (*InstCtrl) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{54} -} - -func (x *InstCtrl) GetMsgSendToInst() []*InstInfo { - if x != nil { - return x.MsgSendToInst - } - return nil -} - -func (x *InstCtrl) GetMsgExcludeInst() []*InstInfo { - if x != nil { - return x.MsgExcludeInst - } - return nil -} - -func (x *InstCtrl) GetMsgFromInst() *InstInfo { - if x != nil { - return x.MsgFromInst - } - return nil -} - -type InstInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Apppid *int32 `protobuf:"varint,1,opt,name=apppid" json:"apppid,omitempty"` - Instid *int32 `protobuf:"varint,2,opt,name=instid" json:"instid,omitempty"` - Platform *int32 `protobuf:"varint,3,opt,name=platform" json:"platform,omitempty"` - EnumDeviceType *int32 `protobuf:"varint,10,opt,name=enumDeviceType" json:"enumDeviceType,omitempty"` -} - -func (x *InstInfo) Reset() { - *x = InstInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InstInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InstInfo) ProtoMessage() {} - -func (x *InstInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InstInfo.ProtoReflect.Descriptor instead. -func (*InstInfo) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{55} -} - -func (x *InstInfo) GetApppid() int32 { - if x != nil && x.Apppid != nil { - return *x.Apppid - } - return 0 -} - -func (x *InstInfo) GetInstid() int32 { - if x != nil && x.Instid != nil { - return *x.Instid - } - return 0 -} - -func (x *InstInfo) GetPlatform() int32 { - if x != nil && x.Platform != nil { - return *x.Platform - } - return 0 -} - -func (x *InstInfo) GetEnumDeviceType() int32 { - if x != nil && x.EnumDeviceType != nil { - return *x.EnumDeviceType - } - return 0 -} - -type ExtGroupKeyInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CurMaxSeq *int32 `protobuf:"varint,1,opt,name=curMaxSeq" json:"curMaxSeq,omitempty"` - CurTime *int64 `protobuf:"varint,2,opt,name=curTime" json:"curTime,omitempty"` -} - -func (x *ExtGroupKeyInfo) Reset() { - *x = ExtGroupKeyInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtGroupKeyInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtGroupKeyInfo) ProtoMessage() {} - -func (x *ExtGroupKeyInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExtGroupKeyInfo.ProtoReflect.Descriptor instead. -func (*ExtGroupKeyInfo) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{56} -} - -func (x *ExtGroupKeyInfo) GetCurMaxSeq() int32 { - if x != nil && x.CurMaxSeq != nil { - return *x.CurMaxSeq - } - return 0 -} - -func (x *ExtGroupKeyInfo) GetCurTime() int64 { - if x != nil && x.CurTime != nil { - return *x.CurTime - } - return 0 -} - -type SyncCookie struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Time1 *int64 `protobuf:"varint,1,opt,name=time1" json:"time1,omitempty"` - Time *int64 `protobuf:"varint,2,opt,name=time" json:"time,omitempty"` - Ran1 *int64 `protobuf:"varint,3,opt,name=ran1" json:"ran1,omitempty"` - Ran2 *int64 `protobuf:"varint,4,opt,name=ran2" json:"ran2,omitempty"` - Const1 *int64 `protobuf:"varint,5,opt,name=const1" json:"const1,omitempty"` - Const2 *int64 `protobuf:"varint,11,opt,name=const2" json:"const2,omitempty"` - Const3 *int64 `protobuf:"varint,12,opt,name=const3" json:"const3,omitempty"` - LastSyncTime *int64 `protobuf:"varint,13,opt,name=lastSyncTime" json:"lastSyncTime,omitempty"` - Const4 *int64 `protobuf:"varint,14,opt,name=const4" json:"const4,omitempty"` -} - -func (x *SyncCookie) Reset() { - *x = SyncCookie{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncCookie) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncCookie) ProtoMessage() {} - -func (x *SyncCookie) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncCookie.ProtoReflect.Descriptor instead. -func (*SyncCookie) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{57} -} - -func (x *SyncCookie) GetTime1() int64 { - if x != nil && x.Time1 != nil { - return *x.Time1 - } - return 0 -} - -func (x *SyncCookie) GetTime() int64 { - if x != nil && x.Time != nil { - return *x.Time - } - return 0 -} - -func (x *SyncCookie) GetRan1() int64 { - if x != nil && x.Ran1 != nil { - return *x.Ran1 - } - return 0 -} - -func (x *SyncCookie) GetRan2() int64 { - if x != nil && x.Ran2 != nil { - return *x.Ran2 - } - return 0 -} - -func (x *SyncCookie) GetConst1() int64 { - if x != nil && x.Const1 != nil { - return *x.Const1 - } - return 0 -} - -func (x *SyncCookie) GetConst2() int64 { - if x != nil && x.Const2 != nil { - return *x.Const2 - } - return 0 -} - -func (x *SyncCookie) GetConst3() int64 { - if x != nil && x.Const3 != nil { - return *x.Const3 - } - return 0 -} - -func (x *SyncCookie) GetLastSyncTime() int64 { - if x != nil && x.LastSyncTime != nil { - return *x.LastSyncTime - } - return 0 -} - -func (x *SyncCookie) GetConst4() int64 { - if x != nil && x.Const4 != nil { - return *x.Const4 - } - return 0 -} - -type TransMsgInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FromUin *int64 `protobuf:"varint,1,opt,name=fromUin" json:"fromUin,omitempty"` - ToUin *int64 `protobuf:"varint,2,opt,name=toUin" json:"toUin,omitempty"` - MsgType *int32 `protobuf:"varint,3,opt,name=msgType" json:"msgType,omitempty"` - MsgSubtype *int32 `protobuf:"varint,4,opt,name=msgSubtype" json:"msgSubtype,omitempty"` - MsgSeq *int32 `protobuf:"varint,5,opt,name=msgSeq" json:"msgSeq,omitempty"` - MsgUid *int64 `protobuf:"varint,6,opt,name=msgUid" json:"msgUid,omitempty"` - MsgTime *int32 `protobuf:"varint,7,opt,name=msgTime" json:"msgTime,omitempty"` - RealMsgTime *int32 `protobuf:"varint,8,opt,name=realMsgTime" json:"realMsgTime,omitempty"` - NickName *string `protobuf:"bytes,9,opt,name=nickName" json:"nickName,omitempty"` - MsgData []byte `protobuf:"bytes,10,opt,name=msgData" json:"msgData,omitempty"` - SvrIp *int32 `protobuf:"varint,11,opt,name=svrIp" json:"svrIp,omitempty"` - ExtGroupKeyInfo *ExtGroupKeyInfo `protobuf:"bytes,12,opt,name=extGroupKeyInfo" json:"extGroupKeyInfo,omitempty"` - GeneralFlag *int32 `protobuf:"varint,17,opt,name=generalFlag" json:"generalFlag,omitempty"` -} - -func (x *TransMsgInfo) Reset() { - *x = TransMsgInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TransMsgInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TransMsgInfo) ProtoMessage() {} - -func (x *TransMsgInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TransMsgInfo.ProtoReflect.Descriptor instead. -func (*TransMsgInfo) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{58} -} - -func (x *TransMsgInfo) GetFromUin() int64 { - if x != nil && x.FromUin != nil { - return *x.FromUin - } - return 0 -} - -func (x *TransMsgInfo) GetToUin() int64 { - if x != nil && x.ToUin != nil { - return *x.ToUin - } - return 0 -} - -func (x *TransMsgInfo) GetMsgType() int32 { - if x != nil && x.MsgType != nil { - return *x.MsgType - } - return 0 -} - -func (x *TransMsgInfo) GetMsgSubtype() int32 { - if x != nil && x.MsgSubtype != nil { - return *x.MsgSubtype - } - return 0 -} - -func (x *TransMsgInfo) GetMsgSeq() int32 { - if x != nil && x.MsgSeq != nil { - return *x.MsgSeq - } - return 0 -} - -func (x *TransMsgInfo) GetMsgUid() int64 { - if x != nil && x.MsgUid != nil { - return *x.MsgUid - } - return 0 -} - -func (x *TransMsgInfo) GetMsgTime() int32 { - if x != nil && x.MsgTime != nil { - return *x.MsgTime - } - return 0 -} - -func (x *TransMsgInfo) GetRealMsgTime() int32 { - if x != nil && x.RealMsgTime != nil { - return *x.RealMsgTime - } - return 0 -} - -func (x *TransMsgInfo) GetNickName() string { - if x != nil && x.NickName != nil { - return *x.NickName - } - return "" -} - -func (x *TransMsgInfo) GetMsgData() []byte { - if x != nil { - return x.MsgData - } - return nil -} - -func (x *TransMsgInfo) GetSvrIp() int32 { - if x != nil && x.SvrIp != nil { - return *x.SvrIp - } - return 0 -} - -func (x *TransMsgInfo) GetExtGroupKeyInfo() *ExtGroupKeyInfo { - if x != nil { - return x.ExtGroupKeyInfo - } - return nil -} - -func (x *TransMsgInfo) GetGeneralFlag() int32 { - if x != nil && x.GeneralFlag != nil { - return *x.GeneralFlag - } - return 0 -} - -type GeneralFlags struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BubbleDiyTextId *int32 `protobuf:"varint,1,opt,name=bubbleDiyTextId" json:"bubbleDiyTextId,omitempty"` - GroupFlagNew *int32 `protobuf:"varint,2,opt,name=groupFlagNew" json:"groupFlagNew,omitempty"` - Uin *int64 `protobuf:"varint,3,opt,name=uin" json:"uin,omitempty"` - RpId []byte `protobuf:"bytes,4,opt,name=rpId" json:"rpId,omitempty"` - PrpFold *int32 `protobuf:"varint,5,opt,name=prpFold" json:"prpFold,omitempty"` - LongTextFlag *int32 `protobuf:"varint,6,opt,name=longTextFlag" json:"longTextFlag,omitempty"` - LongTextResid *string `protobuf:"bytes,7,opt,name=longTextResid" json:"longTextResid,omitempty"` - GroupType *int32 `protobuf:"varint,8,opt,name=groupType" json:"groupType,omitempty"` - ToUinFlag *int32 `protobuf:"varint,9,opt,name=toUinFlag" json:"toUinFlag,omitempty"` - GlamourLevel *int32 `protobuf:"varint,10,opt,name=glamourLevel" json:"glamourLevel,omitempty"` - MemberLevel *int32 `protobuf:"varint,11,opt,name=memberLevel" json:"memberLevel,omitempty"` - GroupRankSeq *int64 `protobuf:"varint,12,opt,name=groupRankSeq" json:"groupRankSeq,omitempty"` - OlympicTorch *int32 `protobuf:"varint,13,opt,name=olympicTorch" json:"olympicTorch,omitempty"` - BabyqGuideMsgCookie []byte `protobuf:"bytes,14,opt,name=babyqGuideMsgCookie" json:"babyqGuideMsgCookie,omitempty"` - Uin32ExpertFlag *int32 `protobuf:"varint,15,opt,name=uin32ExpertFlag" json:"uin32ExpertFlag,omitempty"` - BubbleSubId *int32 `protobuf:"varint,16,opt,name=bubbleSubId" json:"bubbleSubId,omitempty"` - PendantId *int64 `protobuf:"varint,17,opt,name=pendantId" json:"pendantId,omitempty"` - RpIndex []byte `protobuf:"bytes,18,opt,name=rpIndex" json:"rpIndex,omitempty"` - PbReserve []byte `protobuf:"bytes,19,opt,name=pbReserve" json:"pbReserve,omitempty"` -} - -func (x *GeneralFlags) Reset() { - *x = GeneralFlags{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GeneralFlags) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GeneralFlags) ProtoMessage() {} - -func (x *GeneralFlags) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GeneralFlags.ProtoReflect.Descriptor instead. -func (*GeneralFlags) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{59} -} - -func (x *GeneralFlags) GetBubbleDiyTextId() int32 { - if x != nil && x.BubbleDiyTextId != nil { - return *x.BubbleDiyTextId - } - return 0 -} - -func (x *GeneralFlags) GetGroupFlagNew() int32 { - if x != nil && x.GroupFlagNew != nil { - return *x.GroupFlagNew - } - return 0 -} - -func (x *GeneralFlags) GetUin() int64 { - if x != nil && x.Uin != nil { - return *x.Uin - } - return 0 -} - -func (x *GeneralFlags) GetRpId() []byte { - if x != nil { - return x.RpId - } - return nil -} - -func (x *GeneralFlags) GetPrpFold() int32 { - if x != nil && x.PrpFold != nil { - return *x.PrpFold - } - return 0 -} - -func (x *GeneralFlags) GetLongTextFlag() int32 { - if x != nil && x.LongTextFlag != nil { - return *x.LongTextFlag - } - return 0 -} - -func (x *GeneralFlags) GetLongTextResid() string { - if x != nil && x.LongTextResid != nil { - return *x.LongTextResid - } - return "" -} - -func (x *GeneralFlags) GetGroupType() int32 { - if x != nil && x.GroupType != nil { - return *x.GroupType - } - return 0 -} - -func (x *GeneralFlags) GetToUinFlag() int32 { - if x != nil && x.ToUinFlag != nil { - return *x.ToUinFlag - } - return 0 -} - -func (x *GeneralFlags) GetGlamourLevel() int32 { - if x != nil && x.GlamourLevel != nil { - return *x.GlamourLevel - } - return 0 -} - -func (x *GeneralFlags) GetMemberLevel() int32 { - if x != nil && x.MemberLevel != nil { - return *x.MemberLevel - } - return 0 -} - -func (x *GeneralFlags) GetGroupRankSeq() int64 { - if x != nil && x.GroupRankSeq != nil { - return *x.GroupRankSeq - } - return 0 -} - -func (x *GeneralFlags) GetOlympicTorch() int32 { - if x != nil && x.OlympicTorch != nil { - return *x.OlympicTorch - } - return 0 -} - -func (x *GeneralFlags) GetBabyqGuideMsgCookie() []byte { - if x != nil { - return x.BabyqGuideMsgCookie - } - return nil -} - -func (x *GeneralFlags) GetUin32ExpertFlag() int32 { - if x != nil && x.Uin32ExpertFlag != nil { - return *x.Uin32ExpertFlag - } - return 0 -} - -func (x *GeneralFlags) GetBubbleSubId() int32 { - if x != nil && x.BubbleSubId != nil { - return *x.BubbleSubId - } - return 0 -} - -func (x *GeneralFlags) GetPendantId() int64 { - if x != nil && x.PendantId != nil { - return *x.PendantId - } - return 0 -} - -func (x *GeneralFlags) GetRpIndex() []byte { - if x != nil { - return x.RpIndex - } - return nil -} - -func (x *GeneralFlags) GetPbReserve() []byte { - if x != nil { - return x.PbReserve - } - return nil -} - -type PbMultiMsgItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FileName *string `protobuf:"bytes,1,opt,name=fileName" json:"fileName,omitempty"` - Buffer *PbMultiMsgNew `protobuf:"bytes,2,opt,name=buffer" json:"buffer,omitempty"` -} - -func (x *PbMultiMsgItem) Reset() { - *x = PbMultiMsgItem{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbMultiMsgItem) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbMultiMsgItem) ProtoMessage() {} - -func (x *PbMultiMsgItem) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbMultiMsgItem.ProtoReflect.Descriptor instead. -func (*PbMultiMsgItem) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{60} -} - -func (x *PbMultiMsgItem) GetFileName() string { - if x != nil && x.FileName != nil { - return *x.FileName - } - return "" -} - -func (x *PbMultiMsgItem) GetBuffer() *PbMultiMsgNew { - if x != nil { - return x.Buffer - } - return nil -} - -type PbMultiMsgNew struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Msg []*Message `protobuf:"bytes,1,rep,name=msg" json:"msg,omitempty"` -} - -func (x *PbMultiMsgNew) Reset() { - *x = PbMultiMsgNew{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbMultiMsgNew) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbMultiMsgNew) ProtoMessage() {} - -func (x *PbMultiMsgNew) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[61] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbMultiMsgNew.ProtoReflect.Descriptor instead. -func (*PbMultiMsgNew) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{61} -} - -func (x *PbMultiMsgNew) GetMsg() []*Message { - if x != nil { - return x.Msg - } - return nil -} - -type PbMultiMsgTransmit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Msg []*Message `protobuf:"bytes,1,rep,name=msg" json:"msg,omitempty"` - PbItemList []*PbMultiMsgItem `protobuf:"bytes,2,rep,name=pbItemList" json:"pbItemList,omitempty"` -} - -func (x *PbMultiMsgTransmit) Reset() { - *x = PbMultiMsgTransmit{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbMultiMsgTransmit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbMultiMsgTransmit) ProtoMessage() {} - -func (x *PbMultiMsgTransmit) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[62] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbMultiMsgTransmit.ProtoReflect.Descriptor instead. -func (*PbMultiMsgTransmit) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{62} -} - -func (x *PbMultiMsgTransmit) GetMsg() []*Message { - if x != nil { - return x.Msg - } - return nil -} - -func (x *PbMultiMsgTransmit) GetPbItemList() []*PbMultiMsgItem { - if x != nil { - return x.PbItemList - } - return nil -} - -type MsgElemInfoServtype3 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FlashTroopPic *CustomFace `protobuf:"bytes,1,opt,name=flash_troop_pic,json=flashTroopPic" json:"flash_troop_pic,omitempty"` - FlashC2CPic *NotOnlineImage `protobuf:"bytes,2,opt,name=flash_c2c_pic,json=flashC2cPic" json:"flash_c2c_pic,omitempty"` -} - -func (x *MsgElemInfoServtype3) Reset() { - *x = MsgElemInfoServtype3{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgElemInfoServtype3) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgElemInfoServtype3) ProtoMessage() {} - -func (x *MsgElemInfoServtype3) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[63] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgElemInfoServtype3.ProtoReflect.Descriptor instead. -func (*MsgElemInfoServtype3) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{63} -} - -func (x *MsgElemInfoServtype3) GetFlashTroopPic() *CustomFace { - if x != nil { - return x.FlashTroopPic - } - return nil -} - -func (x *MsgElemInfoServtype3) GetFlashC2CPic() *NotOnlineImage { - if x != nil { - return x.FlashC2CPic - } - return nil -} - -type MsgElemInfoServtype33 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Index *uint32 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"` - Text []byte `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` - Compat []byte `protobuf:"bytes,3,opt,name=compat" json:"compat,omitempty"` - Buf []byte `protobuf:"bytes,4,opt,name=buf" json:"buf,omitempty"` -} - -func (x *MsgElemInfoServtype33) Reset() { - *x = MsgElemInfoServtype33{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgElemInfoServtype33) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgElemInfoServtype33) ProtoMessage() {} - -func (x *MsgElemInfoServtype33) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[64] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgElemInfoServtype33.ProtoReflect.Descriptor instead. -func (*MsgElemInfoServtype33) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{64} -} - -func (x *MsgElemInfoServtype33) GetIndex() uint32 { - if x != nil && x.Index != nil { - return *x.Index - } - return 0 -} - -func (x *MsgElemInfoServtype33) GetText() []byte { - if x != nil { - return x.Text - } - return nil -} - -func (x *MsgElemInfoServtype33) GetCompat() []byte { - if x != nil { - return x.Compat - } - return nil -} - -func (x *MsgElemInfoServtype33) GetBuf() []byte { - if x != nil { - return x.Buf - } - return nil -} - -type MsgElemInfoServtype38 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ReactData []byte `protobuf:"bytes,1,opt,name=reactData" json:"reactData,omitempty"` - ReplyData []byte `protobuf:"bytes,2,opt,name=replyData" json:"replyData,omitempty"` -} - -func (x *MsgElemInfoServtype38) Reset() { - *x = MsgElemInfoServtype38{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgElemInfoServtype38) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgElemInfoServtype38) ProtoMessage() {} - -func (x *MsgElemInfoServtype38) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[65] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgElemInfoServtype38.ProtoReflect.Descriptor instead. -func (*MsgElemInfoServtype38) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{65} -} - -func (x *MsgElemInfoServtype38) GetReactData() []byte { - if x != nil { - return x.ReactData - } - return nil -} - -func (x *MsgElemInfoServtype38) GetReplyData() []byte { - if x != nil { - return x.ReplyData - } - return nil -} - -type SubMsgType0X4Body struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - NotOnlineFile *NotOnlineFile `protobuf:"bytes,1,opt,name=notOnlineFile" json:"notOnlineFile,omitempty"` - MsgTime *uint32 `protobuf:"varint,2,opt,name=msgTime" json:"msgTime,omitempty"` - OnlineFileForPolyToOffline *uint32 `protobuf:"varint,3,opt,name=onlineFileForPolyToOffline" json:"onlineFileForPolyToOffline,omitempty"` // fileImageInfo -} - -func (x *SubMsgType0X4Body) Reset() { - *x = SubMsgType0X4Body{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SubMsgType0X4Body) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubMsgType0X4Body) ProtoMessage() {} - -func (x *SubMsgType0X4Body) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[66] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubMsgType0X4Body.ProtoReflect.Descriptor instead. -func (*SubMsgType0X4Body) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{66} -} - -func (x *SubMsgType0X4Body) GetNotOnlineFile() *NotOnlineFile { - if x != nil { - return x.NotOnlineFile - } - return nil -} - -func (x *SubMsgType0X4Body) GetMsgTime() uint32 { - if x != nil && x.MsgTime != nil { - return *x.MsgTime - } - return 0 -} - -func (x *SubMsgType0X4Body) GetOnlineFileForPolyToOffline() uint32 { - if x != nil && x.OnlineFileForPolyToOffline != nil { - return *x.OnlineFileForPolyToOffline - } - return 0 -} - -type ResvAttr struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ImageBizType *uint32 `protobuf:"varint,1,opt,name=imageBizType" json:"imageBizType,omitempty"` - ImageShow *AnimationImageShow `protobuf:"bytes,7,opt,name=image_show,json=imageShow" json:"image_show,omitempty"` -} - -func (x *ResvAttr) Reset() { - *x = ResvAttr{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResvAttr) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResvAttr) ProtoMessage() {} - -func (x *ResvAttr) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[67] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResvAttr.ProtoReflect.Descriptor instead. -func (*ResvAttr) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{67} -} - -func (x *ResvAttr) GetImageBizType() uint32 { - if x != nil && x.ImageBizType != nil { - return *x.ImageBizType - } - return 0 -} - -func (x *ResvAttr) GetImageShow() *AnimationImageShow { - if x != nil { - return x.ImageShow - } - return nil -} - -type AnimationImageShow struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EffectId *int32 `protobuf:"varint,1,opt,name=effect_id,json=effectId" json:"effect_id,omitempty"` - AnimationParam []byte `protobuf:"bytes,2,opt,name=animation_param,json=animationParam" json:"animation_param,omitempty"` -} - -func (x *AnimationImageShow) Reset() { - *x = AnimationImageShow{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AnimationImageShow) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AnimationImageShow) ProtoMessage() {} - -func (x *AnimationImageShow) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[68] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AnimationImageShow.ProtoReflect.Descriptor instead. -func (*AnimationImageShow) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{68} -} - -func (x *AnimationImageShow) GetEffectId() int32 { - if x != nil && x.EffectId != nil { - return *x.EffectId - } - return 0 -} - -func (x *AnimationImageShow) GetAnimationParam() []byte { - if x != nil { - return x.AnimationParam - } - return nil -} - -type UinTypeUserDef struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FromUinType *int32 `protobuf:"varint,1,opt,name=fromUinType" json:"fromUinType,omitempty"` - FromGroupCode *int64 `protobuf:"varint,2,opt,name=fromGroupCode" json:"fromGroupCode,omitempty"` - FileUuid *string `protobuf:"bytes,3,opt,name=fileUuid" json:"fileUuid,omitempty"` -} - -func (x *UinTypeUserDef) Reset() { - *x = UinTypeUserDef{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UinTypeUserDef) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UinTypeUserDef) ProtoMessage() {} - -func (x *UinTypeUserDef) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[69] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UinTypeUserDef.ProtoReflect.Descriptor instead. -func (*UinTypeUserDef) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{69} -} - -func (x *UinTypeUserDef) GetFromUinType() int32 { - if x != nil && x.FromUinType != nil { - return *x.FromUinType - } - return 0 -} - -func (x *UinTypeUserDef) GetFromGroupCode() int64 { - if x != nil && x.FromGroupCode != nil { - return *x.FromGroupCode - } - return 0 -} - -func (x *UinTypeUserDef) GetFileUuid() string { - if x != nil && x.FileUuid != nil { - return *x.FileUuid - } - return "" -} - -type GetGroupMsgReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode *uint64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"` - BeginSeq *uint64 `protobuf:"varint,2,opt,name=beginSeq" json:"beginSeq,omitempty"` - EndSeq *uint64 `protobuf:"varint,3,opt,name=endSeq" json:"endSeq,omitempty"` - Filter *uint32 `protobuf:"varint,4,opt,name=filter" json:"filter,omitempty"` - MemberSeq *uint64 `protobuf:"varint,5,opt,name=memberSeq" json:"memberSeq,omitempty"` - PublicGroup *bool `protobuf:"varint,6,opt,name=publicGroup" json:"publicGroup,omitempty"` - ShieldFlag *uint32 `protobuf:"varint,7,opt,name=shieldFlag" json:"shieldFlag,omitempty"` - SaveTrafficFlag *uint32 `protobuf:"varint,8,opt,name=saveTrafficFlag" json:"saveTrafficFlag,omitempty"` -} - -func (x *GetGroupMsgReq) Reset() { - *x = GetGroupMsgReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetGroupMsgReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetGroupMsgReq) ProtoMessage() {} - -func (x *GetGroupMsgReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[70] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetGroupMsgReq.ProtoReflect.Descriptor instead. -func (*GetGroupMsgReq) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{70} -} - -func (x *GetGroupMsgReq) GetGroupCode() uint64 { - if x != nil && x.GroupCode != nil { - return *x.GroupCode - } - return 0 -} - -func (x *GetGroupMsgReq) GetBeginSeq() uint64 { - if x != nil && x.BeginSeq != nil { - return *x.BeginSeq - } - return 0 -} - -func (x *GetGroupMsgReq) GetEndSeq() uint64 { - if x != nil && x.EndSeq != nil { - return *x.EndSeq - } - return 0 -} - -func (x *GetGroupMsgReq) GetFilter() uint32 { - if x != nil && x.Filter != nil { - return *x.Filter - } - return 0 -} - -func (x *GetGroupMsgReq) GetMemberSeq() uint64 { - if x != nil && x.MemberSeq != nil { - return *x.MemberSeq - } - return 0 -} - -func (x *GetGroupMsgReq) GetPublicGroup() bool { - if x != nil && x.PublicGroup != nil { - return *x.PublicGroup - } - return false -} - -func (x *GetGroupMsgReq) GetShieldFlag() uint32 { - if x != nil && x.ShieldFlag != nil { - return *x.ShieldFlag - } - return 0 -} - -func (x *GetGroupMsgReq) GetSaveTrafficFlag() uint32 { - if x != nil && x.SaveTrafficFlag != nil { - return *x.SaveTrafficFlag - } - return 0 -} - -type GetGroupMsgResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - Errmsg *string `protobuf:"bytes,2,opt,name=errmsg" json:"errmsg,omitempty"` - GroupCode *uint64 `protobuf:"varint,3,opt,name=groupCode" json:"groupCode,omitempty"` - ReturnBeginSeq *uint64 `protobuf:"varint,4,opt,name=returnBeginSeq" json:"returnBeginSeq,omitempty"` - ReturnEndSeq *uint64 `protobuf:"varint,5,opt,name=returnEndSeq" json:"returnEndSeq,omitempty"` - Msg []*Message `protobuf:"bytes,6,rep,name=msg" json:"msg,omitempty"` -} - -func (x *GetGroupMsgResp) Reset() { - *x = GetGroupMsgResp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetGroupMsgResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetGroupMsgResp) ProtoMessage() {} - -func (x *GetGroupMsgResp) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[71] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetGroupMsgResp.ProtoReflect.Descriptor instead. -func (*GetGroupMsgResp) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{71} -} - -func (x *GetGroupMsgResp) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *GetGroupMsgResp) GetErrmsg() string { - if x != nil && x.Errmsg != nil { - return *x.Errmsg - } - return "" -} - -func (x *GetGroupMsgResp) GetGroupCode() uint64 { - if x != nil && x.GroupCode != nil { - return *x.GroupCode - } - return 0 -} - -func (x *GetGroupMsgResp) GetReturnBeginSeq() uint64 { - if x != nil && x.ReturnBeginSeq != nil { - return *x.ReturnBeginSeq - } - return 0 -} - -func (x *GetGroupMsgResp) GetReturnEndSeq() uint64 { - if x != nil && x.ReturnEndSeq != nil { - return *x.ReturnEndSeq - } - return 0 -} - -func (x *GetGroupMsgResp) GetMsg() []*Message { - if x != nil { - return x.Msg - } - return nil -} - -type PbGetOneDayRoamMsgReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PeerUin *uint64 `protobuf:"varint,1,opt,name=peerUin" json:"peerUin,omitempty"` - LastMsgTime *uint64 `protobuf:"varint,2,opt,name=lastMsgTime" json:"lastMsgTime,omitempty"` - Random *uint64 `protobuf:"varint,3,opt,name=random" json:"random,omitempty"` - ReadCnt *uint32 `protobuf:"varint,4,opt,name=readCnt" json:"readCnt,omitempty"` -} - -func (x *PbGetOneDayRoamMsgReq) Reset() { - *x = PbGetOneDayRoamMsgReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[72] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbGetOneDayRoamMsgReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbGetOneDayRoamMsgReq) ProtoMessage() {} - -func (x *PbGetOneDayRoamMsgReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[72] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbGetOneDayRoamMsgReq.ProtoReflect.Descriptor instead. -func (*PbGetOneDayRoamMsgReq) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{72} -} - -func (x *PbGetOneDayRoamMsgReq) GetPeerUin() uint64 { - if x != nil && x.PeerUin != nil { - return *x.PeerUin - } - return 0 -} - -func (x *PbGetOneDayRoamMsgReq) GetLastMsgTime() uint64 { - if x != nil && x.LastMsgTime != nil { - return *x.LastMsgTime - } - return 0 -} - -func (x *PbGetOneDayRoamMsgReq) GetRandom() uint64 { - if x != nil && x.Random != nil { - return *x.Random - } - return 0 -} - -func (x *PbGetOneDayRoamMsgReq) GetReadCnt() uint32 { - if x != nil && x.ReadCnt != nil { - return *x.ReadCnt - } - return 0 -} - -type PbGetOneDayRoamMsgResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - ErrMsg *string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - PeerUin *uint64 `protobuf:"varint,3,opt,name=peerUin" json:"peerUin,omitempty"` - LastMsgTime *uint64 `protobuf:"varint,4,opt,name=lastMsgTime" json:"lastMsgTime,omitempty"` - Random *uint64 `protobuf:"varint,5,opt,name=random" json:"random,omitempty"` - Msg []*Message `protobuf:"bytes,6,rep,name=msg" json:"msg,omitempty"` - IsComplete *uint32 `protobuf:"varint,7,opt,name=isComplete" json:"isComplete,omitempty"` -} - -func (x *PbGetOneDayRoamMsgResp) Reset() { - *x = PbGetOneDayRoamMsgResp{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[73] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbGetOneDayRoamMsgResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbGetOneDayRoamMsgResp) ProtoMessage() {} - -func (x *PbGetOneDayRoamMsgResp) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[73] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbGetOneDayRoamMsgResp.ProtoReflect.Descriptor instead. -func (*PbGetOneDayRoamMsgResp) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{73} -} - -func (x *PbGetOneDayRoamMsgResp) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *PbGetOneDayRoamMsgResp) GetErrMsg() string { - if x != nil && x.ErrMsg != nil { - return *x.ErrMsg - } - return "" -} - -func (x *PbGetOneDayRoamMsgResp) GetPeerUin() uint64 { - if x != nil && x.PeerUin != nil { - return *x.PeerUin - } - return 0 -} - -func (x *PbGetOneDayRoamMsgResp) GetLastMsgTime() uint64 { - if x != nil && x.LastMsgTime != nil { - return *x.LastMsgTime - } - return 0 -} - -func (x *PbGetOneDayRoamMsgResp) GetRandom() uint64 { - if x != nil && x.Random != nil { - return *x.Random - } - return 0 -} - -func (x *PbGetOneDayRoamMsgResp) GetMsg() []*Message { - if x != nil { - return x.Msg - } - return nil -} - -func (x *PbGetOneDayRoamMsgResp) GetIsComplete() uint32 { - if x != nil && x.IsComplete != nil { - return *x.IsComplete - } - return 0 -} - -type PbPushMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Msg *Message `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"` - Svrip *int32 `protobuf:"varint,2,opt,name=svrip" json:"svrip,omitempty"` - PushToken []byte `protobuf:"bytes,3,opt,name=pushToken" json:"pushToken,omitempty"` - PingFlag *uint32 `protobuf:"varint,4,opt,name=pingFlag" json:"pingFlag,omitempty"` - GeneralFlag *uint32 `protobuf:"varint,9,opt,name=generalFlag" json:"generalFlag,omitempty"` - BindUin *uint64 `protobuf:"varint,10,opt,name=bindUin" json:"bindUin,omitempty"` -} - -func (x *PbPushMsg) Reset() { - *x = PbPushMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbPushMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbPushMsg) ProtoMessage() {} - -func (x *PbPushMsg) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[74] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbPushMsg.ProtoReflect.Descriptor instead. -func (*PbPushMsg) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{74} -} - -func (x *PbPushMsg) GetMsg() *Message { - if x != nil { - return x.Msg - } - return nil -} - -func (x *PbPushMsg) GetSvrip() int32 { - if x != nil && x.Svrip != nil { - return *x.Svrip - } - return 0 -} - -func (x *PbPushMsg) GetPushToken() []byte { - if x != nil { - return x.PushToken - } - return nil -} - -func (x *PbPushMsg) GetPingFlag() uint32 { - if x != nil && x.PingFlag != nil { - return *x.PingFlag - } - return 0 -} - -func (x *PbPushMsg) GetGeneralFlag() uint32 { - if x != nil && x.GeneralFlag != nil { - return *x.GeneralFlag - } - return 0 -} - -func (x *PbPushMsg) GetBindUin() uint64 { - if x != nil && x.BindUin != nil { - return *x.BindUin - } - return 0 -} - -type ElemFlags2_Inst struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AppId *uint32 `protobuf:"varint,1,opt,name=appId" json:"appId,omitempty"` - InstId *uint32 `protobuf:"varint,2,opt,name=instId" json:"instId,omitempty"` -} - -func (x *ElemFlags2_Inst) Reset() { - *x = ElemFlags2_Inst{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_msg_msg_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ElemFlags2_Inst) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ElemFlags2_Inst) ProtoMessage() {} - -func (x *ElemFlags2_Inst) ProtoReflect() protoreflect.Message { - mi := &file_pb_msg_msg_proto_msgTypes[75] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ElemFlags2_Inst.ProtoReflect.Descriptor instead. -func (*ElemFlags2_Inst) Descriptor() ([]byte, []int) { - return file_pb_msg_msg_proto_rawDescGZIP(), []int{25, 0} -} - -func (x *ElemFlags2_Inst) GetAppId() uint32 { - if x != nil && x.AppId != nil { - return *x.AppId - } - return 0 -} - -func (x *ElemFlags2_Inst) GetInstId() uint32 { - if x != nil && x.InstId != nil { - return *x.InstId - } - return 0 -} - -var File_pb_msg_msg_proto protoreflect.FileDescriptor - -var file_pb_msg_msg_proto_rawDesc = []byte{ - 0x0a, 0x10, 0x70, 0x62, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xdc, 0x03, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, - 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x0d, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x52, 0x08, - 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x79, 0x6e, 0x63, - 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x79, - 0x6e, 0x63, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x61, 0x6d, 0x62, - 0x6c, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x61, - 0x6d, 0x62, 0x6c, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x2e, 0x0a, 0x12, 0x6c, 0x61, 0x74, 0x65, - 0x73, 0x74, 0x52, 0x61, 0x6d, 0x62, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x52, 0x61, 0x6d, 0x62, - 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x11, 0x6f, 0x74, 0x68, 0x65, - 0x72, 0x52, 0x61, 0x6d, 0x62, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x11, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x52, 0x61, 0x6d, 0x62, 0x6c, 0x65, - 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, - 0x53, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, - 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x20, - 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x46, 0x6c, 0x61, 0x67, - 0x12, 0x2a, 0x0a, 0x10, 0x77, 0x68, 0x69, 0x73, 0x70, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x77, 0x68, 0x69, 0x73, - 0x70, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, - 0x6d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0a, 0x6d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x10, - 0x70, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x70, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x73, 0x67, 0x43, - 0x74, 0x72, 0x6c, 0x42, 0x75, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6d, 0x73, - 0x67, 0x43, 0x74, 0x72, 0x6c, 0x42, 0x75, 0x66, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x42, 0x75, 0x66, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x22, 0x80, 0x03, 0x0a, 0x12, 0x53, 0x65, 0x6e, 0x64, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, - 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, - 0x48, 0x65, 0x61, 0x64, 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, - 0x64, 0x12, 0x32, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x48, 0x65, 0x61, 0x64, 0x12, 0x2a, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x42, 0x6f, 0x64, 0x79, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x42, 0x6f, 0x64, - 0x79, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x06, 0x6d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, - 0x52, 0x61, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x52, - 0x61, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6f, 0x6b, 0x69, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6f, - 0x6b, 0x69, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x73, 0x67, 0x56, 0x69, 0x61, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x73, 0x67, 0x56, 0x69, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x64, - 0x61, 0x74, 0x61, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a, - 0x07, 0x6d, 0x73, 0x67, 0x43, 0x74, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, - 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x74, 0x72, 0x6c, 0x52, 0x07, 0x6d, 0x73, - 0x67, 0x43, 0x74, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, - 0x6e, 0x64, 0x53, 0x65, 0x71, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x75, 0x6c, - 0x74, 0x69, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x71, 0x22, 0x45, 0x0a, 0x13, 0x53, 0x65, 0x6e, - 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, - 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, - 0x22, 0x8a, 0x01, 0x0a, 0x0e, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, - 0x52, 0x65, 0x71, 0x12, 0x38, 0x0a, 0x0b, 0x63, 0x32, 0x63, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, - 0x61, 0x77, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x43, - 0x32, 0x43, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, 0x52, 0x65, 0x71, - 0x52, 0x0b, 0x63, 0x32, 0x63, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, 0x12, 0x3e, 0x0a, - 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, 0x52, 0x65, 0x71, 0x52, 0x0d, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, 0x22, 0x9c, 0x01, - 0x0a, 0x11, 0x43, 0x32, 0x43, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, - 0x52, 0x65, 0x71, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x43, 0x32, 0x43, 0x4d, 0x73, - 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, - 0x0a, 0x0f, 0x6c, 0x6f, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x6c, 0x61, - 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6c, 0x6f, 0x6e, 0x67, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x43, 0x6d, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x75, 0x62, 0x43, 0x6d, 0x64, 0x22, 0xb0, 0x01, 0x0a, - 0x13, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, - 0x77, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x43, 0x6d, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x75, 0x62, 0x43, 0x6d, 0x64, 0x12, 0x1c, 0x0a, 0x09, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x4c, - 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x73, 0x67, 0x2e, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6d, 0x73, - 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, 0x22, - 0x8d, 0x01, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x39, 0x0a, 0x0b, 0x63, 0x32, 0x63, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, - 0x61, 0x77, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x43, - 0x32, 0x43, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, 0x52, 0x65, 0x73, - 0x70, 0x52, 0x0b, 0x63, 0x32, 0x63, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, 0x12, 0x3f, - 0x0a, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, 0x52, 0x65, 0x73, 0x70, - 0x52, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, 0x22, - 0x44, 0x0a, 0x12, 0x43, 0x32, 0x43, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, - 0x77, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, - 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, - 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x46, 0x0a, 0x14, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x73, - 0x67, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x61, 0x77, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x5e, 0x0a, - 0x0c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, - 0x06, 0x6d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, - 0x73, 0x67, 0x53, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x73, 0x67, 0x52, 0x61, 0x6e, 0x64, - 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x73, 0x67, 0x52, 0x61, 0x6e, - 0x64, 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0xbe, 0x02, - 0x0a, 0x0a, 0x43, 0x32, 0x43, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, - 0x66, 0x72, 0x6f, 0x6d, 0x55, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x66, - 0x72, 0x6f, 0x6d, 0x55, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, - 0x6d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x73, - 0x67, 0x53, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x73, 0x67, 0x55, 0x69, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x73, 0x67, 0x55, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, - 0x6d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, - 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x73, 0x67, 0x52, 0x61, 0x6e, - 0x64, 0x6f, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x73, 0x67, 0x52, 0x61, - 0x6e, 0x64, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6b, 0x67, 0x4e, 0x75, 0x6d, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x6b, 0x67, 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, - 0x70, 0x6b, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, - 0x70, 0x6b, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x76, 0x53, - 0x65, 0x71, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x64, 0x69, 0x76, 0x53, 0x65, 0x71, - 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x0b, 0x72, 0x6f, - 0x75, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x10, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, - 0x64, 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x22, 0x8f, - 0x01, 0x0a, 0x0b, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 0x64, 0x12, 0x1a, - 0x0a, 0x03, 0x63, 0x32, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x6d, 0x73, - 0x67, 0x2e, 0x43, 0x32, 0x43, 0x52, 0x03, 0x63, 0x32, 0x63, 0x12, 0x1a, 0x0a, 0x03, 0x67, 0x72, - 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x47, 0x72, - 0x70, 0x52, 0x03, 0x67, 0x72, 0x70, 0x12, 0x23, 0x0a, 0x06, 0x67, 0x72, 0x70, 0x54, 0x6d, 0x70, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x47, 0x72, 0x70, - 0x54, 0x6d, 0x70, 0x52, 0x06, 0x67, 0x72, 0x70, 0x54, 0x6d, 0x70, 0x12, 0x23, 0x0a, 0x06, 0x77, - 0x70, 0x61, 0x54, 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6d, 0x73, - 0x67, 0x2e, 0x57, 0x50, 0x41, 0x54, 0x6d, 0x70, 0x52, 0x06, 0x77, 0x70, 0x61, 0x54, 0x6d, 0x70, - 0x22, 0x30, 0x0a, 0x06, 0x57, 0x50, 0x41, 0x54, 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, - 0x55, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, - 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x73, - 0x69, 0x67, 0x22, 0x1b, 0x0a, 0x03, 0x43, 0x32, 0x43, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x55, - 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x22, - 0x23, 0x0a, 0x03, 0x47, 0x72, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x43, 0x6f, 0x64, 0x65, 0x22, 0x3a, 0x0a, 0x06, 0x47, 0x72, 0x70, 0x54, 0x6d, 0x70, 0x12, 0x1a, - 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x55, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x55, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, - 0x55, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, - 0x22, 0x23, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x43, 0x74, 0x72, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, - 0x73, 0x67, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x73, - 0x67, 0x46, 0x6c, 0x61, 0x67, 0x22, 0xfe, 0x02, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x79, 0x6e, 0x63, - 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x79, - 0x6e, 0x63, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x29, 0x0a, 0x08, 0x73, 0x79, 0x6e, 0x63, - 0x46, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x6d, 0x73, 0x67, - 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x52, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, - 0x6c, 0x61, 0x67, 0x12, 0x35, 0x0a, 0x0b, 0x75, 0x69, 0x6e, 0x50, 0x61, 0x69, 0x72, 0x4d, 0x73, - 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x55, - 0x69, 0x6e, 0x50, 0x61, 0x69, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x75, - 0x69, 0x6e, 0x50, 0x61, 0x69, 0x72, 0x4d, 0x73, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x69, - 0x6e, 0x64, 0x55, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x69, 0x6e, - 0x64, 0x55, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x73, 0x67, 0x52, 0x73, 0x70, 0x54, 0x79, - 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6d, 0x73, 0x67, 0x52, 0x73, 0x70, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x70, 0x75, 0x62, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, - 0x70, 0x75, 0x62, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, - 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x73, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x79, 0x6e, - 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x50, 0x61, 0x72, 0x74, 0x69, - 0x61, 0x6c, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x73, 0x67, 0x43, 0x74, 0x72, - 0x6c, 0x42, 0x75, 0x66, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6d, 0x73, 0x67, 0x43, - 0x74, 0x72, 0x6c, 0x42, 0x75, 0x66, 0x22, 0xad, 0x01, 0x0a, 0x11, 0x50, 0x75, 0x73, 0x68, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x26, 0x0a, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, - 0x6d, 0x73, 0x67, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x76, 0x72, 0x69, 0x70, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x76, 0x72, 0x69, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, - 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, - 0x75, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x6e, 0x67, - 0x46, 0x4c, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x69, 0x6e, 0x67, - 0x46, 0x4c, 0x61, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x46, - 0x6c, 0x61, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x22, 0x9c, 0x01, 0x0a, 0x0e, 0x55, 0x69, 0x6e, 0x50, 0x61, - 0x69, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x73, - 0x74, 0x52, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x70, 0x65, 0x65, 0x72, 0x55, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, - 0x70, 0x65, 0x65, 0x72, 0x55, 0x69, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x73, 0x67, 0x43, 0x6f, - 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, - 0x73, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x28, 0x0a, 0x08, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, - 0x6d, 0x73, 0x67, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x81, 0x01, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x24, 0x0a, 0x04, 0x68, 0x65, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x10, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, - 0x64, 0x52, 0x04, 0x68, 0x65, 0x61, 0x64, 0x12, 0x2a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, - 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x86, 0x01, 0x0a, 0x0b, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x29, 0x0a, 0x08, 0x72, 0x69, 0x63, - 0x68, 0x54, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6d, 0x73, - 0x67, 0x2e, 0x52, 0x69, 0x63, 0x68, 0x54, 0x65, 0x78, 0x74, 0x52, 0x08, 0x72, 0x69, 0x63, 0x68, - 0x54, 0x65, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x73, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6d, 0x73, 0x67, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x6d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x11, 0x6d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x22, 0xa0, 0x01, 0x0a, 0x08, 0x52, 0x69, 0x63, 0x68, 0x54, 0x65, 0x78, 0x74, 0x12, - 0x1d, 0x0a, 0x04, 0x61, 0x74, 0x74, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, - 0x6d, 0x73, 0x67, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x52, 0x04, 0x61, 0x74, 0x74, 0x72, 0x12, 0x1f, - 0x0a, 0x05, 0x65, 0x6c, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, - 0x6d, 0x73, 0x67, 0x2e, 0x45, 0x6c, 0x65, 0x6d, 0x52, 0x05, 0x65, 0x6c, 0x65, 0x6d, 0x73, 0x12, - 0x38, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x46, 0x69, 0x6c, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4e, 0x6f, 0x74, - 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x4f, - 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x03, 0x70, 0x74, 0x74, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x50, 0x74, 0x74, - 0x52, 0x03, 0x70, 0x74, 0x74, 0x22, 0x94, 0x07, 0x0a, 0x04, 0x45, 0x6c, 0x65, 0x6d, 0x12, 0x1d, - 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x6d, - 0x73, 0x67, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1d, 0x0a, - 0x04, 0x66, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x6d, 0x73, - 0x67, 0x2e, 0x46, 0x61, 0x63, 0x65, 0x52, 0x04, 0x66, 0x61, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x0b, - 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6d, - 0x61, 0x67, 0x65, 0x52, 0x0b, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, - 0x12, 0x3b, 0x0a, 0x0e, 0x6e, 0x6f, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6d, 0x61, - 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4e, - 0x6f, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x6e, - 0x6f, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x34, 0x0a, - 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x45, 0x6c, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x45, 0x6c, 0x65, 0x6d, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x45, 0x6c, 0x65, 0x6d, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x61, 0x63, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x46, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x46, 0x61, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x61, - 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x43, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, - 0x6d, 0x46, 0x61, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x0a, 0x65, 0x6c, 0x65, 0x6d, 0x46, 0x6c, 0x61, - 0x67, 0x73, 0x32, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6d, 0x73, 0x67, 0x2e, - 0x45, 0x6c, 0x65, 0x6d, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x32, 0x52, 0x0a, 0x65, 0x6c, 0x65, 0x6d, - 0x46, 0x6c, 0x61, 0x67, 0x73, 0x32, 0x12, 0x26, 0x0a, 0x07, 0x72, 0x69, 0x63, 0x68, 0x4d, 0x73, - 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x52, 0x69, - 0x63, 0x68, 0x4d, 0x73, 0x67, 0x52, 0x07, 0x72, 0x69, 0x63, 0x68, 0x4d, 0x73, 0x67, 0x12, 0x2c, - 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, 0x6c, - 0x65, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x09, - 0x65, 0x78, 0x74, 0x72, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0e, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x09, 0x65, 0x78, 0x74, 0x72, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x09, 0x76, 0x69, - 0x64, 0x65, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, - 0x6d, 0x73, 0x67, 0x2e, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x09, 0x76, - 0x69, 0x64, 0x65, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x3e, 0x0a, 0x0c, 0x61, 0x6e, 0x6f, 0x6e, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x73, 0x67, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x41, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0c, 0x61, 0x6e, 0x6f, 0x6e, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x73, 0x67, 0x12, 0x32, 0x0a, 0x0b, 0x51, 0x51, 0x57, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, - 0x6d, 0x73, 0x67, 0x2e, 0x51, 0x51, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x52, - 0x0b, 0x51, 0x51, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x2f, 0x0a, 0x0a, - 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6c, 0x65, 0x6d, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0f, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6c, 0x65, - 0x6d, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6c, 0x65, 0x6d, 0x12, 0x35, 0x0a, - 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x25, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, - 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x52, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x46, - 0x6c, 0x61, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x06, 0x73, 0x72, 0x63, 0x4d, 0x73, 0x67, 0x18, 0x2d, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x4d, 0x73, 0x67, 0x52, 0x06, 0x73, 0x72, 0x63, 0x4d, 0x73, 0x67, 0x12, 0x2d, 0x0a, 0x08, - 0x6c, 0x69, 0x67, 0x68, 0x74, 0x41, 0x70, 0x70, 0x18, 0x33, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, - 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x41, 0x70, 0x70, 0x45, 0x6c, 0x65, - 0x6d, 0x52, 0x08, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x41, 0x70, 0x70, 0x12, 0x2f, 0x0a, 0x0a, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x18, 0x35, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0f, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x6c, 0x65, 0x6d, - 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x22, 0xf0, 0x02, 0x0a, - 0x0a, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, - 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, - 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x54, - 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x66, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x16, 0x0a, 0x06, 0x66, 0x61, 0x63, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x06, 0x66, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x49, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x74, 0x61, 0x62, 0x49, 0x64, 0x12, 0x18, 0x0a, - 0x07, 0x73, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, - 0x73, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, - 0x1c, 0x0a, 0x09, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, - 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x57, 0x69, 0x64, 0x74, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x57, 0x69, 0x64, 0x74, 0x68, 0x12, 0x20, 0x0a, - 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0b, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, - 0x20, 0x0a, 0x0b, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x0d, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, - 0xb5, 0x04, 0x0a, 0x0a, 0x45, 0x6c, 0x65, 0x6d, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x32, 0x12, 0x20, - 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x54, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x54, 0x65, 0x78, 0x74, 0x49, 0x64, - 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x73, 0x67, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x6d, 0x73, 0x67, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x77, 0x68, 0x69, 0x73, 0x70, 0x65, - 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x10, 0x77, 0x68, 0x69, 0x73, 0x70, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x74, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, - 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x74, 0x74, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x42, 0x69, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x76, 0x69, 0x70, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x76, 0x69, 0x70, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x69, 0x62, - 0x6c, 0x65, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70, - 0x61, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x05, 0x69, 0x6e, 0x73, 0x74, - 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x45, 0x6c, - 0x65, 0x6d, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x32, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x52, 0x05, 0x69, - 0x6e, 0x73, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x73, 0x67, 0x52, 0x70, 0x74, 0x43, 0x6e, - 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x73, 0x67, 0x52, 0x70, 0x74, 0x43, - 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x07, 0x73, 0x72, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x45, 0x6c, 0x65, 0x6d, 0x46, 0x6c, - 0x61, 0x67, 0x73, 0x32, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x52, 0x07, 0x73, 0x72, 0x63, 0x49, 0x6e, - 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x6f, 0x6e, 0x67, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6c, 0x6f, 0x6e, 0x67, 0x74, 0x69, 0x74, 0x75, - 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x12, 0x1e, - 0x0a, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x6f, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x6f, 0x6e, 0x74, 0x12, 0x35, - 0x0a, 0x0c, 0x70, 0x63, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x66, 0x18, 0x0d, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x50, 0x63, 0x53, 0x75, 0x70, - 0x70, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x66, 0x52, 0x0c, 0x70, 0x63, 0x53, 0x75, 0x70, 0x70, 0x6f, - 0x72, 0x74, 0x44, 0x65, 0x66, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x72, 0x6d, 0x46, 0x6c, 0x61, 0x67, - 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x72, 0x6d, 0x46, 0x6c, 0x61, 0x67, - 0x73, 0x1a, 0x34, 0x0a, 0x04, 0x49, 0x6e, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x73, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x06, 0x69, 0x6e, 0x73, 0x74, 0x49, 0x64, 0x22, 0xd4, 0x01, 0x0a, 0x0c, 0x50, 0x63, 0x53, 0x75, - 0x70, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x66, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x63, 0x50, 0x74, - 0x6c, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x63, - 0x50, 0x74, 0x6c, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x63, 0x50, 0x74, - 0x6c, 0x45, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x63, 0x50, 0x74, - 0x6c, 0x45, 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x61, 0x63, 0x50, 0x74, 0x6c, 0x42, 0x65, - 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6d, 0x61, 0x63, 0x50, 0x74, - 0x6c, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x61, 0x63, 0x50, 0x74, 0x6c, - 0x45, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x61, 0x63, 0x50, 0x74, - 0x6c, 0x45, 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x74, 0x6c, 0x73, 0x53, 0x75, 0x70, 0x70, - 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x74, 0x6c, 0x73, 0x53, - 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x74, 0x6c, 0x73, 0x4e, 0x6f, - 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, - 0x70, 0x74, 0x6c, 0x73, 0x4e, 0x6f, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x6a, - 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x12, 0x20, 0x0a, 0x0b, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x70, 0x62, 0x45, 0x6c, 0x65, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, - 0x70, 0x62, 0x45, 0x6c, 0x65, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, - 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x75, - 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3d, 0x0a, 0x0b, 0x51, 0x51, - 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x2e, 0x0a, 0x07, 0x61, 0x69, 0x6f, - 0x42, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x73, 0x67, - 0x2e, 0x51, 0x51, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x41, 0x69, 0x6f, 0x42, 0x6f, 0x64, 0x79, - 0x52, 0x07, 0x61, 0x69, 0x6f, 0x42, 0x6f, 0x64, 0x79, 0x22, 0xfb, 0x04, 0x0a, 0x0f, 0x51, 0x51, - 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x41, 0x69, 0x6f, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, - 0x07, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, - 0x73, 0x65, 0x6e, 0x64, 0x55, 0x69, 0x6e, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x51, 0x51, - 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x41, 0x69, 0x6f, 0x45, 0x6c, 0x65, 0x6d, 0x52, 0x06, 0x73, - 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x51, 0x51, - 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x41, 0x69, 0x6f, 0x45, 0x6c, 0x65, 0x6d, 0x52, 0x08, 0x72, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x09, 0x43, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x12, 0x20, 0x0a, - 0x0b, 0x6d, 0x73, 0x67, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0b, 0x6d, 0x73, 0x67, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, - 0x18, 0x0a, 0x07, 0x72, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x11, - 0x52, 0x07, 0x72, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x6c, - 0x6c, 0x4e, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x69, 0x6c, 0x6c, 0x4e, - 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x73, - 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x11, - 0x52, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x11, 0x52, 0x07, - 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x76, 0x65, 0x6c, - 0x4f, 0x70, 0x65, 0x49, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x11, 0x52, 0x0a, 0x65, 0x6e, 0x76, - 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, - 0x6f, 0x6e, 0x66, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x11, 0x52, 0x08, 0x63, - 0x6f, 0x6e, 0x66, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x46, 0x72, - 0x6f, 0x6d, 0x18, 0x10, 0x20, 0x01, 0x28, 0x11, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x46, 0x72, 0x6f, - 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x63, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x11, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x06, 0x70, 0x63, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x13, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, - 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x70, 0x55, 0x69, 0x6e, 0x18, 0x14, 0x20, 0x03, 0x28, 0x04, - 0x52, 0x07, 0x67, 0x72, 0x61, 0x70, 0x55, 0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x62, 0x52, - 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x62, - 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x9d, 0x05, 0x0a, 0x0f, 0x51, 0x51, 0x57, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x41, 0x69, 0x6f, 0x45, 0x6c, 0x65, 0x6d, 0x12, 0x1e, 0x0a, 0x0a, 0x62, - 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, - 0x63, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6c, - 0x69, 0x6e, 0x6b, 0x55, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6c, 0x69, - 0x6e, 0x6b, 0x55, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x53, 0x74, - 0x72, 0x69, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x62, 0x6c, 0x61, 0x63, - 0x6b, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x69, 0x63, - 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, - 0x1e, 0x0a, 0x0a, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, - 0x24, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, - 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, - 0x18, 0x0a, 0x07, 0x6a, 0x75, 0x6d, 0x70, 0x55, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x07, 0x6a, 0x75, 0x6d, 0x70, 0x55, 0x72, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x74, - 0x69, 0x76, 0x65, 0x49, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6e, 0x61, - 0x74, 0x69, 0x76, 0x65, 0x49, 0x6f, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x61, 0x74, 0x69, 0x76, - 0x65, 0x41, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, - 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x41, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x12, 0x18, 0x0a, - 0x07, 0x69, 0x63, 0x6f, 0x6e, 0x55, 0x72, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, - 0x69, 0x63, 0x6f, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, - 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x63, - 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x67, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x11, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x67, 0x43, 0x6f, - 0x6c, 0x6f, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x69, 0x6f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4c, - 0x65, 0x66, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x69, 0x6f, 0x49, 0x6d, - 0x61, 0x67, 0x65, 0x4c, 0x65, 0x66, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x69, 0x6f, 0x49, 0x6d, - 0x61, 0x67, 0x65, 0x52, 0x69, 0x67, 0x68, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, - 0x61, 0x69, 0x6f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1a, 0x0a, - 0x08, 0x63, 0x66, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x08, 0x63, 0x66, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x62, 0x52, - 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x62, - 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x87, 0x01, 0x0a, 0x07, 0x52, 0x69, 0x63, 0x68, - 0x4d, 0x73, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x31, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x31, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, - 0x1a, 0x0a, 0x08, 0x6d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x08, 0x6d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, - 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x64, 0x12, - 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, - 0x71, 0x22, 0x78, 0x0a, 0x0a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6c, 0x65, 0x6d, 0x12, - 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, - 0x65, 0x73, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54, - 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x03, 0x65, 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x6f, 0x75, 0x6e, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x04, - 0x54, 0x65, 0x78, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x74, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x73, 0x74, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x74, - 0x74, 0x72, 0x36, 0x42, 0x75, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x61, 0x74, - 0x74, 0x72, 0x36, 0x42, 0x75, 0x66, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x74, 0x74, 0x72, 0x37, 0x42, - 0x75, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x61, 0x74, 0x74, 0x72, 0x37, 0x42, - 0x75, 0x66, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x75, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x03, 0x62, 0x75, 0x66, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, - 0x76, 0x65, 0x22, 0x90, 0x02, 0x0a, 0x04, 0x41, 0x74, 0x74, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x63, - 0x6f, 0x64, 0x65, 0x50, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, - 0x6f, 0x64, 0x65, 0x50, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, - 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x61, 0x6e, - 0x64, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x65, - 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x72, 0x53, 0x65, 0x74, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x68, 0x61, 0x72, 0x53, 0x65, 0x74, 0x12, - 0x26, 0x0a, 0x0e, 0x70, 0x69, 0x74, 0x63, 0x68, 0x41, 0x6e, 0x64, 0x46, 0x61, 0x6d, 0x69, 0x6c, - 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x69, 0x74, 0x63, 0x68, 0x41, 0x6e, - 0x64, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x6f, 0x6e, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x6f, 0x6e, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x44, 0x61, - 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x44, 0x61, 0x74, 0x61, 0x22, 0xb9, 0x05, 0x0a, 0x03, 0x50, 0x74, 0x74, 0x12, 0x1a, 0x0a, - 0x08, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x72, 0x63, - 0x55, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x72, 0x63, 0x55, 0x69, - 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x55, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x55, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, - 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4d, 0x64, 0x35, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, - 0x66, 0x69, 0x6c, 0x65, 0x4d, 0x64, 0x35, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, - 0x65, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, - 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x70, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x70, 0x12, 0x1e, 0x0a, - 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1c, 0x0a, - 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, - 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, - 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x68, 0x6f, - 0x72, 0x74, 0x63, 0x75, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x73, 0x68, 0x6f, - 0x72, 0x74, 0x63, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, - 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x12, - 0x24, 0x0a, 0x0d, 0x6d, 0x61, 0x67, 0x69, 0x63, 0x50, 0x74, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61, 0x67, 0x69, 0x63, 0x50, 0x74, 0x74, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x20, 0x0a, 0x0b, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x77, - 0x69, 0x74, 0x63, 0x68, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x76, 0x6f, 0x69, 0x63, - 0x65, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x74, 0x74, 0x55, 0x72, - 0x6c, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x74, 0x74, 0x55, 0x72, 0x6c, 0x12, - 0x22, 0x0a, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x18, - 0x12, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, 0x6c, 0x65, - 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x6f, 0x77, 0x6e, 0x50, - 0x61, 0x72, 0x61, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x64, 0x6f, 0x77, 0x6e, 0x50, - 0x61, 0x72, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x1d, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x70, - 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, - 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x79, 0x74, - 0x65, 0x73, 0x50, 0x74, 0x74, 0x55, 0x72, 0x6c, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x0c, 0x52, - 0x0c, 0x62, 0x79, 0x74, 0x65, 0x73, 0x50, 0x74, 0x74, 0x55, 0x72, 0x6c, 0x73, 0x12, 0x22, 0x0a, - 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x20, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6c, 0x61, - 0x67, 0x22, 0x65, 0x0a, 0x0b, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x67, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x26, 0x0a, 0x0e, 0x6f, 0x6c, 0x64, 0x56, 0x65, 0x72, 0x53, 0x65, 0x6e, 0x64, 0x46, 0x69, - 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6f, 0x6c, 0x64, 0x56, 0x65, 0x72, - 0x53, 0x65, 0x6e, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x22, 0xf0, 0x05, 0x0a, 0x0e, 0x4e, 0x6f, 0x74, - 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, - 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, - 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4c, - 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4c, 0x65, - 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x74, - 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, - 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x0e, 0x6f, 0x6c, 0x64, 0x56, 0x65, 0x72, 0x53, - 0x65, 0x6e, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6f, - 0x6c, 0x64, 0x56, 0x65, 0x72, 0x53, 0x65, 0x6e, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x69, 0x6d, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, - 0x69, 0x6d, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, - 0x65, 0x77, 0x73, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, - 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x70, 0x69, 0x63, 0x4d, 0x64, 0x35, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, - 0x69, 0x63, 0x4d, 0x64, 0x35, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x69, 0x63, 0x48, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x69, 0x63, 0x48, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x57, 0x69, 0x64, 0x74, 0x68, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x69, 0x63, 0x57, 0x69, 0x64, 0x74, 0x68, 0x12, - 0x14, 0x0a, 0x05, 0x72, 0x65, 0x73, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x72, 0x65, 0x73, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x68, 0x75, - 0x6d, 0x62, 0x55, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x68, 0x75, - 0x6d, 0x62, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, - 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, - 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x67, 0x55, 0x72, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x62, 0x69, 0x67, 0x55, 0x72, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x69, - 0x67, 0x55, 0x72, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x69, 0x67, - 0x55, 0x72, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x69, 0x7a, 0x54, 0x79, 0x70, 0x65, 0x18, 0x10, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x62, 0x69, 0x7a, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x12, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x6f, - 0x70, 0x46, 0x61, 0x63, 0x65, 0x42, 0x75, 0x66, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, - 0x6f, 0x70, 0x46, 0x61, 0x63, 0x65, 0x42, 0x75, 0x66, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x6c, 0x64, - 0x50, 0x69, 0x63, 0x4d, 0x64, 0x35, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x6c, - 0x64, 0x50, 0x69, 0x63, 0x4d, 0x64, 0x35, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x68, 0x75, 0x6d, 0x62, - 0x57, 0x69, 0x64, 0x74, 0x68, 0x18, 0x15, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x68, 0x75, - 0x6d, 0x62, 0x57, 0x69, 0x64, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x68, 0x75, 0x6d, 0x62, - 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x68, - 0x75, 0x6d, 0x62, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, - 0x65, 0x49, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, - 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x4c, 0x65, 0x6e, 0x18, 0x18, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x4c, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, - 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x65, 0x6e, 0x18, 0x19, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x65, 0x6e, 0x12, 0x1c, 0x0a, - 0x09, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x09, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0xb9, 0x04, 0x0a, 0x0d, - 0x4e, 0x6f, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1a, 0x0a, - 0x08, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x67, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x73, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x66, - 0x69, 0x6c, 0x65, 0x55, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, - 0x69, 0x6c, 0x65, 0x55, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4d, - 0x64, 0x35, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4d, 0x64, - 0x35, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, - 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x74, - 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x1a, 0x0a, - 0x08, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, - 0x63, 0x6d, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x75, 0x62, 0x63, 0x6d, - 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x43, 0x6c, 0x6f, 0x75, - 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x62, 0x79, 0x74, 0x65, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x72, - 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0d, 0x62, 0x79, 0x74, 0x65, 0x73, 0x46, - 0x69, 0x6c, 0x65, 0x55, 0x72, 0x6c, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, - 0x6f, 0x61, 0x64, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x64, - 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x64, - 0x61, 0x6e, 0x67, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6c, 0x18, 0x32, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x0a, 0x64, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6c, - 0x69, 0x66, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x33, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6c, - 0x69, 0x66, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x70, 0x6c, 0x6f, 0x61, - 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x34, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x75, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x62, 0x73, 0x46, 0x69, - 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x35, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x62, - 0x73, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x36, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, - 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x37, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x65, - 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x62, 0x52, - 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x38, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x62, - 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x45, 0x0a, 0x09, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x45, 0x6c, 0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6c, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x6c, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6c, 0x65, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65, 0x6c, 0x65, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xe3, - 0x02, 0x0a, 0x09, 0x45, 0x78, 0x74, 0x72, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x69, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x69, 0x63, 0x6b, - 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x61, 0x72, 0x64, 0x12, 0x14, - 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, - 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x4d, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x73, 0x67, 0x54, - 0x61, 0x69, 0x6c, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x73, 0x67, - 0x54, 0x61, 0x69, 0x6c, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, - 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6e, - 0x64, 0x65, 0x72, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x70, 0x6e, 0x73, - 0x54, 0x69, 0x70, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x61, 0x70, 0x6e, 0x73, - 0x54, 0x69, 0x70, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x03, 0x75, 0x69, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x73, 0x67, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x73, - 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, - 0x6e, 0x73, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0d, 0x61, 0x70, 0x6e, 0x73, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x22, 0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x6c, 0x61, 0x67, - 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x46, 0x6c, 0x61, 0x67, 0x22, 0xa1, 0x02, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, - 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, - 0x6c, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, - 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x07, 0x62, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, - 0x66, 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x66, - 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, - 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, - 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x49, - 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x62, 0x61, 0x74, - 0x63, 0x68, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x65, 0x65, 0x64, - 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x66, - 0x65, 0x65, 0x64, 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x62, - 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, - 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0xdf, 0x01, 0x0a, 0x15, 0x41, 0x6e, 0x6f, - 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6e, 0x6f, 0x6e, - 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x61, 0x6e, 0x6f, 0x6e, 0x49, 0x64, - 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x6e, 0x6f, 0x6e, 0x4e, 0x69, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x08, 0x61, 0x6e, 0x6f, 0x6e, 0x4e, 0x69, 0x63, 0x6b, 0x12, 0x22, 0x0a, 0x0c, - 0x68, 0x65, 0x61, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x72, 0x61, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x72, 0x61, 0x69, 0x74, - 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x75, 0x62, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x08, 0x62, 0x75, 0x62, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, - 0x72, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x09, 0x72, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0xc9, 0x06, 0x0a, 0x09, 0x56, - 0x69, 0x64, 0x65, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, - 0x55, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, - 0x55, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4d, 0x64, 0x35, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4d, 0x64, 0x35, 0x12, 0x1a, - 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x69, - 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, - 0x66, 0x69, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, - 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x69, - 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, - 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, - 0x7a, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x57, 0x69, 0x64, 0x74, 0x68, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x57, 0x69, 0x64, - 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x48, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x48, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x46, 0x69, 0x6c, - 0x65, 0x4d, 0x64, 0x35, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x74, 0x68, 0x75, 0x6d, - 0x62, 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x64, 0x35, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x46, 0x69, - 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x75, 0x73, 0x69, 0x54, 0x79, - 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x75, 0x73, 0x69, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x43, 0x68, 0x61, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x43, 0x68, - 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x43, 0x68, - 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x62, 0x6f, 0x6f, 0x6c, 0x53, 0x75, - 0x70, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, - 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x62, 0x6f, 0x6f, 0x6c, 0x53, 0x75, 0x70, 0x70, - 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x76, 0x65, 0x12, 0x1c, - 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x57, 0x69, 0x64, 0x74, 0x68, 0x18, 0x10, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x57, 0x69, 0x64, 0x74, 0x68, 0x12, 0x1e, 0x0a, 0x0a, - 0x66, 0x69, 0x6c, 0x65, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x20, 0x0a, 0x0b, - 0x73, 0x75, 0x62, 0x42, 0x75, 0x73, 0x69, 0x54, 0x79, 0x70, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x42, 0x75, 0x73, 0x69, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, - 0x0a, 0x09, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x18, 0x13, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x09, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x12, 0x2e, 0x0a, 0x12, - 0x62, 0x79, 0x74, 0x65, 0x73, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x72, - 0x6c, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x12, 0x62, 0x79, 0x74, 0x65, 0x73, 0x54, - 0x68, 0x75, 0x6d, 0x62, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x72, 0x6c, 0x73, 0x12, 0x2e, 0x0a, 0x12, - 0x62, 0x79, 0x74, 0x65, 0x73, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x72, - 0x6c, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x12, 0x62, 0x79, 0x74, 0x65, 0x73, 0x56, - 0x69, 0x64, 0x65, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x72, 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x11, - 0x74, 0x68, 0x75, 0x6d, 0x62, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6c, 0x61, - 0x67, 0x18, 0x16, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x44, 0x6f, - 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x2c, 0x0a, 0x11, 0x76, 0x69, - 0x64, 0x65, 0x6f, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6c, 0x61, 0x67, 0x18, - 0x17, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x44, 0x6f, 0x77, 0x6e, - 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x62, 0x52, 0x65, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x62, 0x52, - 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0xa6, 0x02, 0x0a, 0x09, 0x53, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x53, 0x65, 0x71, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x53, 0x65, 0x71, 0x73, - 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x55, 0x69, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x55, 0x69, 0x6e, 0x12, 0x12, - 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x69, - 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x12, 0x1f, 0x0a, 0x05, 0x65, 0x6c, 0x65, 0x6d, 0x73, 0x18, - 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x45, 0x6c, 0x65, 0x6d, - 0x52, 0x05, 0x65, 0x6c, 0x65, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, - 0x69, 0x63, 0x68, 0x4d, 0x73, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x69, - 0x63, 0x68, 0x4d, 0x73, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, - 0x76, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x72, 0x63, 0x4d, 0x73, 0x67, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x72, 0x63, 0x4d, 0x73, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74, - 0x6f, 0x55, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x55, 0x69, - 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x72, 0x6f, 0x6f, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x72, 0x6f, 0x6f, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x22, - 0x40, 0x0a, 0x04, 0x46, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, - 0x03, 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x6c, 0x64, 0x12, - 0x10, 0x0a, 0x03, 0x62, 0x75, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x62, 0x75, - 0x66, 0x22, 0x3e, 0x0a, 0x0c, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x41, 0x70, 0x70, 0x45, 0x6c, 0x65, - 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x69, - 0x64, 0x22, 0x99, 0x07, 0x0a, 0x0a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x61, 0x63, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x67, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x63, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x63, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x75, - 0x66, 0x66, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x6c, 0x64, 0x44, - 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x44, 0x61, - 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x49, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x49, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x50, 0x6f, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x66, 0x75, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x06, 0x75, 0x73, 0x65, 0x66, 0x75, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x64, 0x35, 0x18, - 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6d, 0x64, 0x35, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x68, - 0x75, 0x6d, 0x62, 0x55, 0x72, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x68, - 0x75, 0x6d, 0x62, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x67, 0x55, 0x72, 0x6c, - 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x69, 0x67, 0x55, 0x72, 0x6c, 0x12, 0x18, - 0x0a, 0x07, 0x6f, 0x72, 0x69, 0x67, 0x55, 0x72, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x6f, 0x72, 0x69, 0x67, 0x55, 0x72, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x69, 0x7a, 0x54, - 0x79, 0x70, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x62, 0x69, 0x7a, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x64, 0x65, - 0x78, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x49, 0x6d, - 0x61, 0x67, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x65, 0x61, - 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x15, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, - 0x64, 0x74, 0x68, 0x18, 0x16, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, - 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, - 0x73, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x1a, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, - 0x74, 0x68, 0x75, 0x6d, 0x62, 0x57, 0x69, 0x64, 0x74, 0x68, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0a, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x57, 0x69, 0x64, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, - 0x74, 0x68, 0x75, 0x6d, 0x62, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0b, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x18, - 0x0a, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x4c, 0x65, 0x6e, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x73, 0x68, 0x6f, 0x77, 0x4c, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6f, 0x77, 0x6e, - 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x65, 0x6e, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x64, - 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x65, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x5f, 0x34, - 0x30, 0x30, 0x55, 0x72, 0x6c, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x34, 0x30, 0x30, - 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x5f, 0x34, 0x30, 0x30, 0x57, 0x69, 0x64, 0x74, 0x68, - 0x18, 0x20, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x34, 0x30, 0x30, 0x57, 0x69, 0x64, 0x74, 0x68, - 0x12, 0x1d, 0x0a, 0x0a, 0x5f, 0x34, 0x30, 0x30, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x21, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x34, 0x30, 0x30, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, - 0x1c, 0x0a, 0x09, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x22, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x09, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x77, 0x0a, - 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x12, 0x16, 0x0a, 0x06, - 0x70, 0x6b, 0x67, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x6b, - 0x67, 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6b, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6b, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x76, 0x53, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x06, 0x64, 0x69, 0x76, 0x53, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x6f, - 0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x75, 0x74, - 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0xf8, 0x07, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x55, 0x69, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x55, 0x69, 0x6e, - 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x63, 0x32, 0x63, 0x43, 0x6d, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x06, 0x63, 0x32, 0x63, 0x43, 0x6d, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x73, 0x67, 0x53, - 0x65, 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x73, 0x67, 0x53, 0x65, 0x71, - 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x73, - 0x67, 0x55, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x73, 0x67, 0x55, - 0x69, 0x64, 0x12, 0x3d, 0x0a, 0x0d, 0x63, 0x32, 0x63, 0x54, 0x6d, 0x70, 0x4d, 0x73, 0x67, 0x48, - 0x65, 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x73, 0x67, 0x2e, - 0x43, 0x32, 0x43, 0x54, 0x65, 0x6d, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, - 0x61, 0x64, 0x52, 0x0d, 0x63, 0x32, 0x63, 0x54, 0x6d, 0x70, 0x4d, 0x73, 0x67, 0x48, 0x65, 0x61, - 0x64, 0x12, 0x2c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x1c, 0x0a, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x70, 0x70, 0x69, 0x64, 0x12, 0x1e, 0x0a, - 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x69, 0x64, 0x12, 0x1e, 0x0a, - 0x0a, 0x75, 0x73, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x32, 0x0a, - 0x0b, 0x64, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x18, 0x0e, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x12, 0x18, 0x0a, - 0x07, 0x61, 0x75, 0x74, 0x68, 0x55, 0x69, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, - 0x61, 0x75, 0x74, 0x68, 0x55, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x75, 0x74, 0x68, 0x4e, - 0x69, 0x63, 0x6b, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x4e, - 0x69, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x11, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1e, 0x0a, - 0x0a, 0x61, 0x75, 0x74, 0x68, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x12, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x1c, 0x0a, - 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0e, 0x6d, - 0x75, 0x74, 0x69, 0x6c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x48, 0x65, 0x61, 0x64, 0x18, 0x14, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4d, 0x75, 0x74, 0x69, 0x6c, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x48, 0x65, 0x61, 0x64, 0x52, 0x0e, 0x6d, 0x75, 0x74, 0x69, 0x6c, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x48, 0x65, 0x61, 0x64, 0x12, 0x2f, 0x0a, 0x0b, 0x6d, 0x73, 0x67, 0x49, - 0x6e, 0x73, 0x74, 0x43, 0x74, 0x72, 0x6c, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, - 0x6d, 0x73, 0x67, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x43, 0x74, 0x72, 0x6c, 0x52, 0x0b, 0x6d, 0x73, - 0x67, 0x49, 0x6e, 0x73, 0x74, 0x43, 0x74, 0x72, 0x6c, 0x12, 0x3e, 0x0a, 0x1a, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, - 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x16, 0x20, 0x01, 0x28, 0x05, 0x52, 0x1a, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x53, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x2a, 0x0a, 0x10, 0x77, 0x73, 0x65, - 0x71, 0x49, 0x6e, 0x43, 0x32, 0x63, 0x4d, 0x73, 0x67, 0x68, 0x65, 0x61, 0x64, 0x18, 0x17, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x10, 0x77, 0x73, 0x65, 0x71, 0x49, 0x6e, 0x43, 0x32, 0x63, 0x4d, 0x73, - 0x67, 0x68, 0x65, 0x61, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x70, 0x69, 0x64, 0x18, 0x18, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x70, 0x69, 0x64, 0x12, 0x3e, 0x0a, 0x0f, 0x65, 0x78, 0x74, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x45, 0x78, 0x74, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x65, 0x78, 0x74, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x30, 0x0a, 0x13, 0x6d, 0x75, 0x6c, - 0x74, 0x69, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x54, 0x65, 0x78, 0x74, - 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x6f, 0x6d, - 0x70, 0x61, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x54, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, - 0x75, 0x74, 0x68, 0x53, 0x65, 0x78, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x61, 0x75, - 0x74, 0x68, 0x53, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x53, 0x72, 0x63, 0x4d, 0x73, - 0x67, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x53, 0x72, 0x63, 0x4d, 0x73, - 0x67, 0x22, 0x8b, 0x02, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x53, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x53, 0x65, 0x71, 0x12, - 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x61, 0x72, 0x64, 0x12, 0x1c, 0x0a, - 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x61, 0x6e, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x61, 0x6e, 0x6b, 0x12, 0x1e, 0x0a, 0x0a, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x24, 0x0a, 0x0d, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x43, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x22, - 0xbf, 0x01, 0x0a, 0x0b, 0x44, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x55, 0x69, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0a, 0x64, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x55, 0x69, 0x6e, 0x12, - 0x20, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, - 0x53, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x75, - 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x53, 0x65, 0x71, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x69, 0x73, - 0x63, 0x75, 0x73, 0x73, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0d, 0x64, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, - 0x20, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x4e, 0x61, 0x6d, - 0x65, 0x22, 0x3e, 0x0a, 0x0e, 0x4d, 0x75, 0x74, 0x69, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x48, - 0x65, 0x61, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6d, - 0x73, 0x67, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x73, 0x67, 0x49, - 0x64, 0x22, 0xd2, 0x02, 0x0a, 0x12, 0x43, 0x32, 0x43, 0x54, 0x65, 0x6d, 0x70, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x32, 0x63, 0x54, - 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x32, 0x63, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x55, 0x69, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x55, 0x69, 0x6e, - 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, - 0x0a, 0x03, 0x73, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x73, 0x69, 0x67, - 0x12, 0x18, 0x0a, 0x07, 0x73, 0x69, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x07, 0x73, 0x69, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x72, - 0x6f, 0x6d, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, - 0x72, 0x6f, 0x6d, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6f, 0x50, 0x68, - 0x6f, 0x6e, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x6f, 0x50, 0x68, 0x6f, - 0x6e, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, - 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x69, 0x73, - 0x70, 0x6c, 0x61, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x64, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x22, 0xa7, 0x01, 0x0a, 0x08, 0x49, 0x6e, 0x73, 0x74, 0x43, - 0x74, 0x72, 0x6c, 0x12, 0x33, 0x0a, 0x0d, 0x6d, 0x73, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x6f, - 0x49, 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6d, 0x73, 0x67, - 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x6d, 0x73, 0x67, 0x53, 0x65, - 0x6e, 0x64, 0x54, 0x6f, 0x49, 0x6e, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x0e, 0x6d, 0x73, 0x67, 0x45, - 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x0e, 0x6d, 0x73, 0x67, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x12, - 0x2f, 0x0a, 0x0b, 0x6d, 0x73, 0x67, 0x46, 0x72, 0x6f, 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6d, 0x73, 0x67, 0x46, 0x72, 0x6f, 0x6d, 0x49, 0x6e, 0x73, 0x74, - 0x22, 0x7e, 0x0a, 0x08, 0x49, 0x6e, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, - 0x61, 0x70, 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x61, 0x70, - 0x70, 0x70, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x75, 0x6d, - 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0e, 0x65, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x22, 0x49, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x65, 0x79, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x4d, 0x61, 0x78, 0x53, 0x65, 0x71, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x75, 0x72, 0x4d, 0x61, 0x78, 0x53, 0x65, - 0x71, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x07, 0x63, 0x75, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xe2, 0x01, 0x0a, 0x0a, - 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, - 0x6d, 0x65, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x69, 0x6d, 0x65, 0x31, - 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, - 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x6e, 0x31, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x31, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x6e, 0x32, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x32, 0x12, 0x16, 0x0a, 0x06, - 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x31, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x6f, - 0x6e, 0x73, 0x74, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x32, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x32, 0x12, 0x16, 0x0a, 0x06, - 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x33, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x6f, - 0x6e, 0x73, 0x74, 0x33, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, - 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, - 0x53, 0x79, 0x6e, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x73, - 0x74, 0x34, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x34, - 0x22, 0x92, 0x03, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x55, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x55, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, - 0x6f, 0x55, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x55, 0x69, - 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, - 0x73, 0x67, 0x53, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x0a, 0x6d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, - 0x73, 0x67, 0x53, 0x65, 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x73, 0x67, - 0x53, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x73, 0x67, 0x55, 0x69, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x73, 0x67, 0x55, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, - 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x73, - 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x61, 0x6c, 0x4d, 0x73, 0x67, - 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x61, 0x6c, - 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x44, 0x61, 0x74, 0x61, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, - 0x05, 0x73, 0x76, 0x72, 0x49, 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x76, - 0x72, 0x49, 0x70, 0x12, 0x3e, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, - 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, - 0x73, 0x67, 0x2e, 0x45, 0x78, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x65, 0x79, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x0f, 0x65, 0x78, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x65, 0x79, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x46, 0x6c, - 0x61, 0x67, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, - 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x22, 0x84, 0x05, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, - 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x62, 0x75, 0x62, 0x62, 0x6c, 0x65, - 0x44, 0x69, 0x79, 0x54, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x0f, 0x62, 0x75, 0x62, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x79, 0x54, 0x65, 0x78, 0x74, 0x49, 0x64, - 0x12, 0x22, 0x0a, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x6c, 0x61, 0x67, 0x4e, 0x65, 0x77, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x6c, 0x61, - 0x67, 0x4e, 0x65, 0x77, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x03, 0x75, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x70, 0x49, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x72, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, - 0x70, 0x46, 0x6f, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x70, 0x72, 0x70, - 0x46, 0x6f, 0x6c, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x6f, 0x6e, 0x67, 0x54, 0x65, 0x78, 0x74, - 0x46, 0x6c, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6c, 0x6f, 0x6e, 0x67, - 0x54, 0x65, 0x78, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x6f, 0x6e, 0x67, - 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x6c, 0x6f, 0x6e, 0x67, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x69, 0x64, 0x12, 0x1c, - 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, - 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x09, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x22, 0x0a, 0x0c, 0x67, 0x6c, - 0x61, 0x6d, 0x6f, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0c, 0x67, 0x6c, 0x61, 0x6d, 0x6f, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x20, - 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, - 0x12, 0x22, 0x0a, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x61, 0x6e, 0x6b, 0x53, 0x65, 0x71, - 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x61, 0x6e, - 0x6b, 0x53, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x6c, 0x79, 0x6d, 0x70, 0x69, 0x63, 0x54, - 0x6f, 0x72, 0x63, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6f, 0x6c, 0x79, 0x6d, - 0x70, 0x69, 0x63, 0x54, 0x6f, 0x72, 0x63, 0x68, 0x12, 0x30, 0x0a, 0x13, 0x62, 0x61, 0x62, 0x79, - 0x71, 0x47, 0x75, 0x69, 0x64, 0x65, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, - 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x13, 0x62, 0x61, 0x62, 0x79, 0x71, 0x47, 0x75, 0x69, 0x64, - 0x65, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x75, 0x69, - 0x6e, 0x33, 0x32, 0x45, 0x78, 0x70, 0x65, 0x72, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x0f, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x0f, 0x75, 0x69, 0x6e, 0x33, 0x32, 0x45, 0x78, 0x70, 0x65, 0x72, 0x74, - 0x46, 0x6c, 0x61, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x75, 0x62, 0x62, 0x6c, 0x65, 0x53, 0x75, - 0x62, 0x49, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x62, 0x75, 0x62, 0x62, 0x6c, - 0x65, 0x53, 0x75, 0x62, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x65, 0x6e, 0x64, 0x61, 0x6e, - 0x74, 0x49, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x65, 0x6e, 0x64, 0x61, - 0x6e, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x70, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, - 0x12, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x70, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1c, - 0x0a, 0x09, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x09, 0x70, 0x62, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x58, 0x0a, 0x0e, - 0x50, 0x62, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x4d, 0x73, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, - 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x62, 0x75, - 0x66, 0x66, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x73, 0x67, - 0x2e, 0x50, 0x62, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x4d, 0x73, 0x67, 0x4e, 0x65, 0x77, 0x52, 0x06, - 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x22, 0x2f, 0x0a, 0x0d, 0x50, 0x62, 0x4d, 0x75, 0x6c, 0x74, - 0x69, 0x4d, 0x73, 0x67, 0x4e, 0x65, 0x77, 0x12, 0x1e, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x69, 0x0a, 0x12, 0x50, 0x62, 0x4d, 0x75, 0x6c, - 0x74, 0x69, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, 0x12, 0x1e, 0x0a, - 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x73, 0x67, - 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x33, 0x0a, - 0x0a, 0x70, 0x62, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x50, 0x62, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x4d, - 0x73, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0a, 0x70, 0x62, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, - 0x73, 0x74, 0x22, 0x89, 0x01, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x45, 0x6c, 0x65, 0x6d, 0x49, 0x6e, - 0x66, 0x6f, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x74, 0x79, 0x70, 0x65, 0x33, 0x12, 0x37, 0x0a, 0x0f, - 0x66, 0x6c, 0x61, 0x73, 0x68, 0x5f, 0x74, 0x72, 0x6f, 0x6f, 0x70, 0x5f, 0x70, 0x69, 0x63, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x43, 0x75, 0x73, 0x74, - 0x6f, 0x6d, 0x46, 0x61, 0x63, 0x65, 0x52, 0x0d, 0x66, 0x6c, 0x61, 0x73, 0x68, 0x54, 0x72, 0x6f, - 0x6f, 0x70, 0x50, 0x69, 0x63, 0x12, 0x37, 0x0a, 0x0d, 0x66, 0x6c, 0x61, 0x73, 0x68, 0x5f, 0x63, - 0x32, 0x63, 0x5f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, - 0x73, 0x67, 0x2e, 0x4e, 0x6f, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6d, 0x61, 0x67, - 0x65, 0x52, 0x0b, 0x66, 0x6c, 0x61, 0x73, 0x68, 0x43, 0x32, 0x63, 0x50, 0x69, 0x63, 0x22, 0x6c, - 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x45, 0x6c, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x5f, 0x73, 0x65, - 0x72, 0x76, 0x74, 0x79, 0x70, 0x65, 0x33, 0x33, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12, - 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x65, - 0x78, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x75, - 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x62, 0x75, 0x66, 0x22, 0x54, 0x0a, 0x16, - 0x4d, 0x73, 0x67, 0x45, 0x6c, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x5f, 0x73, 0x65, 0x72, 0x76, - 0x74, 0x79, 0x70, 0x65, 0x33, 0x38, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x63, 0x74, 0x44, - 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x72, 0x65, 0x61, 0x63, 0x74, - 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x44, 0x61, 0x74, - 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x44, 0x61, - 0x74, 0x61, 0x22, 0xa7, 0x01, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, - 0x65, 0x30, 0x78, 0x34, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x38, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x4f, - 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4e, 0x6f, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x46, 0x69, - 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x1a, - 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x6c, - 0x79, 0x54, 0x6f, 0x4f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x1a, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x50, - 0x6f, 0x6c, 0x79, 0x54, 0x6f, 0x4f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x66, 0x0a, 0x08, - 0x52, 0x65, 0x73, 0x76, 0x41, 0x74, 0x74, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x42, 0x69, 0x7a, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x69, 0x7a, 0x54, 0x79, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x0a, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, - 0x53, 0x68, 0x6f, 0x77, 0x22, 0x5a, 0x0a, 0x12, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x66, - 0x66, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, - 0x66, 0x66, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x6e, 0x69, 0x6d, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0e, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x22, 0x74, 0x0a, 0x0e, 0x55, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x55, 0x73, 0x65, 0x72, 0x44, - 0x65, 0x66, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x55, 0x69, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x55, 0x69, 0x6e, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x6d, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, - 0x6d, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, - 0x6c, 0x65, 0x55, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, - 0x6c, 0x65, 0x55, 0x75, 0x69, 0x64, 0x22, 0x84, 0x02, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x65, 0x67, 0x69, 0x6e, - 0x53, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x62, 0x65, 0x67, 0x69, 0x6e, - 0x53, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x71, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x06, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x66, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x65, 0x71, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x65, - 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x6c, 0x61, - 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x46, - 0x6c, 0x61, 0x67, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x61, 0x76, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, - 0x69, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x73, 0x61, - 0x76, 0x65, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x22, 0xcb, 0x01, - 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, - 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, - 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, - 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x65, - 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x42, - 0x65, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x74, 0x75, 0x72, - 0x6e, 0x45, 0x6e, 0x64, 0x53, 0x65, 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, - 0x65, 0x74, 0x75, 0x72, 0x6e, 0x45, 0x6e, 0x64, 0x53, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x03, 0x6d, - 0x73, 0x67, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x85, 0x01, 0x0a, 0x15, - 0x50, 0x62, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x44, 0x61, 0x79, 0x52, 0x6f, 0x61, 0x6d, 0x4d, - 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x55, 0x69, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x70, 0x65, 0x65, 0x72, 0x55, 0x69, 0x6e, 0x12, - 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, - 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x61, - 0x64, 0x43, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x72, 0x65, 0x61, 0x64, - 0x43, 0x6e, 0x74, 0x22, 0xdc, 0x01, 0x0a, 0x16, 0x50, 0x62, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, - 0x44, 0x61, 0x79, 0x52, 0x6f, 0x61, 0x6d, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, - 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x18, - 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x55, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x07, 0x70, 0x65, 0x65, 0x72, 0x55, 0x69, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, - 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6c, - 0x61, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, - 0x6e, 0x64, 0x6f, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x64, - 0x6f, 0x6d, 0x12, 0x1e, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x0c, 0x2e, 0x6d, 0x73, 0x67, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x6d, - 0x73, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, - 0x74, 0x65, 0x22, 0xb7, 0x01, 0x0a, 0x09, 0x50, 0x62, 0x50, 0x75, 0x73, 0x68, 0x4d, 0x73, 0x67, - 0x12, 0x1e, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, - 0x6d, 0x73, 0x67, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x6d, 0x73, 0x67, - 0x12, 0x14, 0x0a, 0x05, 0x73, 0x76, 0x72, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x05, 0x73, 0x76, 0x72, 0x69, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, 0x73, 0x68, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x73, 0x68, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x6e, 0x67, 0x46, 0x6c, 0x61, 0x67, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x69, 0x6e, 0x67, 0x46, 0x6c, 0x61, 0x67, - 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x46, 0x6c, - 0x61, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x69, 0x6e, 0x64, 0x55, 0x69, 0x6e, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x07, 0x62, 0x69, 0x6e, 0x64, 0x55, 0x69, 0x6e, 0x2a, 0x2e, 0x0a, 0x08, - 0x53, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x54, 0x41, 0x52, - 0x54, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x55, 0x4d, 0x45, - 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x4f, 0x50, 0x10, 0x02, 0x42, 0x0c, 0x5a, 0x0a, - 0x70, 0x62, 0x2f, 0x6d, 0x73, 0x67, 0x3b, 0x6d, 0x73, 0x67, -} - -var ( - file_pb_msg_msg_proto_rawDescOnce sync.Once - file_pb_msg_msg_proto_rawDescData = file_pb_msg_msg_proto_rawDesc -) - -func file_pb_msg_msg_proto_rawDescGZIP() []byte { - file_pb_msg_msg_proto_rawDescOnce.Do(func() { - file_pb_msg_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_msg_msg_proto_rawDescData) - }) - return file_pb_msg_msg_proto_rawDescData -} - -var file_pb_msg_msg_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_pb_msg_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 76) -var file_pb_msg_msg_proto_goTypes = []interface{}{ - (SyncFlag)(0), // 0: msg.SyncFlag - (*GetMessageRequest)(nil), // 1: msg.GetMessageRequest - (*SendMessageRequest)(nil), // 2: msg.SendMessageRequest - (*SendMessageResponse)(nil), // 3: msg.SendMessageResponse - (*MsgWithDrawReq)(nil), // 4: msg.MsgWithDrawReq - (*C2CMsgWithDrawReq)(nil), // 5: msg.C2CMsgWithDrawReq - (*GroupMsgWithDrawReq)(nil), // 6: msg.GroupMsgWithDrawReq - (*MsgWithDrawResp)(nil), // 7: msg.MsgWithDrawResp - (*C2CMsgWithDrawResp)(nil), // 8: msg.C2CMsgWithDrawResp - (*GroupMsgWithDrawResp)(nil), // 9: msg.GroupMsgWithDrawResp - (*GroupMsgInfo)(nil), // 10: msg.GroupMsgInfo - (*C2CMsgInfo)(nil), // 11: msg.C2CMsgInfo - (*RoutingHead)(nil), // 12: msg.RoutingHead - (*WPATmp)(nil), // 13: msg.WPATmp - (*C2C)(nil), // 14: msg.C2C - (*Grp)(nil), // 15: msg.Grp - (*GrpTmp)(nil), // 16: msg.GrpTmp - (*MsgCtrl)(nil), // 17: msg.MsgCtrl - (*GetMessageResponse)(nil), // 18: msg.GetMessageResponse - (*PushMessagePacket)(nil), // 19: msg.PushMessagePacket - (*UinPairMessage)(nil), // 20: msg.UinPairMessage - (*Message)(nil), // 21: msg.Message - (*MessageBody)(nil), // 22: msg.MessageBody - (*RichText)(nil), // 23: msg.RichText - (*Elem)(nil), // 24: msg.Elem - (*MarketFace)(nil), // 25: msg.MarketFace - (*ElemFlags2)(nil), // 26: msg.ElemFlags2 - (*PcSupportDef)(nil), // 27: msg.PcSupportDef - (*CommonElem)(nil), // 28: msg.CommonElem - (*QQWalletMsg)(nil), // 29: msg.QQWalletMsg - (*QQWalletAioBody)(nil), // 30: msg.QQWalletAioBody - (*QQWalletAioElem)(nil), // 31: msg.QQWalletAioElem - (*RichMsg)(nil), // 32: msg.RichMsg - (*CustomElem)(nil), // 33: msg.CustomElem - (*Text)(nil), // 34: msg.Text - (*Attr)(nil), // 35: msg.Attr - (*Ptt)(nil), // 36: msg.Ptt - (*OnlineImage)(nil), // 37: msg.OnlineImage - (*NotOnlineImage)(nil), // 38: msg.NotOnlineImage - (*NotOnlineFile)(nil), // 39: msg.NotOnlineFile - (*TransElem)(nil), // 40: msg.TransElem - (*ExtraInfo)(nil), // 41: msg.ExtraInfo - (*GroupFile)(nil), // 42: msg.GroupFile - (*AnonymousGroupMessage)(nil), // 43: msg.AnonymousGroupMessage - (*VideoFile)(nil), // 44: msg.VideoFile - (*SourceMsg)(nil), // 45: msg.SourceMsg - (*Face)(nil), // 46: msg.Face - (*LightAppElem)(nil), // 47: msg.LightAppElem - (*CustomFace)(nil), // 48: msg.CustomFace - (*ContentHead)(nil), // 49: msg.ContentHead - (*MessageHead)(nil), // 50: msg.MessageHead - (*GroupInfo)(nil), // 51: msg.GroupInfo - (*DiscussInfo)(nil), // 52: msg.DiscussInfo - (*MutilTransHead)(nil), // 53: msg.MutilTransHead - (*C2CTempMessageHead)(nil), // 54: msg.C2CTempMessageHead - (*InstCtrl)(nil), // 55: msg.InstCtrl - (*InstInfo)(nil), // 56: msg.InstInfo - (*ExtGroupKeyInfo)(nil), // 57: msg.ExtGroupKeyInfo - (*SyncCookie)(nil), // 58: msg.SyncCookie - (*TransMsgInfo)(nil), // 59: msg.TransMsgInfo - (*GeneralFlags)(nil), // 60: msg.GeneralFlags - (*PbMultiMsgItem)(nil), // 61: msg.PbMultiMsgItem - (*PbMultiMsgNew)(nil), // 62: msg.PbMultiMsgNew - (*PbMultiMsgTransmit)(nil), // 63: msg.PbMultiMsgTransmit - (*MsgElemInfoServtype3)(nil), // 64: msg.MsgElemInfo_servtype3 - (*MsgElemInfoServtype33)(nil), // 65: msg.MsgElemInfo_servtype33 - (*MsgElemInfoServtype38)(nil), // 66: msg.MsgElemInfo_servtype38 - (*SubMsgType0X4Body)(nil), // 67: msg.SubMsgType0x4Body - (*ResvAttr)(nil), // 68: msg.ResvAttr - (*AnimationImageShow)(nil), // 69: msg.AnimationImageShow - (*UinTypeUserDef)(nil), // 70: msg.UinTypeUserDef - (*GetGroupMsgReq)(nil), // 71: msg.GetGroupMsgReq - (*GetGroupMsgResp)(nil), // 72: msg.GetGroupMsgResp - (*PbGetOneDayRoamMsgReq)(nil), // 73: msg.PbGetOneDayRoamMsgReq - (*PbGetOneDayRoamMsgResp)(nil), // 74: msg.PbGetOneDayRoamMsgResp - (*PbPushMsg)(nil), // 75: msg.PbPushMsg - (*ElemFlags2_Inst)(nil), // 76: msg.ElemFlags2.Inst -} -var file_pb_msg_msg_proto_depIdxs = []int32{ - 0, // 0: msg.GetMessageRequest.syncFlag:type_name -> msg.SyncFlag - 12, // 1: msg.SendMessageRequest.routingHead:type_name -> msg.RoutingHead - 49, // 2: msg.SendMessageRequest.contentHead:type_name -> msg.ContentHead - 22, // 3: msg.SendMessageRequest.msgBody:type_name -> msg.MessageBody - 17, // 4: msg.SendMessageRequest.msgCtrl:type_name -> msg.MsgCtrl - 5, // 5: msg.MsgWithDrawReq.c2cWithDraw:type_name -> msg.C2CMsgWithDrawReq - 6, // 6: msg.MsgWithDrawReq.groupWithDraw:type_name -> msg.GroupMsgWithDrawReq - 11, // 7: msg.C2CMsgWithDrawReq.msgInfo:type_name -> msg.C2CMsgInfo - 10, // 8: msg.GroupMsgWithDrawReq.msgList:type_name -> msg.GroupMsgInfo - 8, // 9: msg.MsgWithDrawResp.c2cWithDraw:type_name -> msg.C2CMsgWithDrawResp - 9, // 10: msg.MsgWithDrawResp.groupWithDraw:type_name -> msg.GroupMsgWithDrawResp - 12, // 11: msg.C2CMsgInfo.routingHead:type_name -> msg.RoutingHead - 14, // 12: msg.RoutingHead.c2c:type_name -> msg.C2C - 15, // 13: msg.RoutingHead.grp:type_name -> msg.Grp - 16, // 14: msg.RoutingHead.grpTmp:type_name -> msg.GrpTmp - 13, // 15: msg.RoutingHead.wpaTmp:type_name -> msg.WPATmp - 0, // 16: msg.GetMessageResponse.syncFlag:type_name -> msg.SyncFlag - 20, // 17: msg.GetMessageResponse.uinPairMsgs:type_name -> msg.UinPairMessage - 21, // 18: msg.PushMessagePacket.message:type_name -> msg.Message - 21, // 19: msg.UinPairMessage.messages:type_name -> msg.Message - 50, // 20: msg.Message.head:type_name -> msg.MessageHead - 49, // 21: msg.Message.content:type_name -> msg.ContentHead - 22, // 22: msg.Message.body:type_name -> msg.MessageBody - 23, // 23: msg.MessageBody.richText:type_name -> msg.RichText - 35, // 24: msg.RichText.attr:type_name -> msg.Attr - 24, // 25: msg.RichText.elems:type_name -> msg.Elem - 39, // 26: msg.RichText.notOnlineFile:type_name -> msg.NotOnlineFile - 36, // 27: msg.RichText.ptt:type_name -> msg.Ptt - 34, // 28: msg.Elem.text:type_name -> msg.Text - 46, // 29: msg.Elem.face:type_name -> msg.Face - 37, // 30: msg.Elem.onlineImage:type_name -> msg.OnlineImage - 38, // 31: msg.Elem.notOnlineImage:type_name -> msg.NotOnlineImage - 40, // 32: msg.Elem.transElemInfo:type_name -> msg.TransElem - 25, // 33: msg.Elem.marketFace:type_name -> msg.MarketFace - 48, // 34: msg.Elem.customFace:type_name -> msg.CustomFace - 26, // 35: msg.Elem.elemFlags2:type_name -> msg.ElemFlags2 - 32, // 36: msg.Elem.richMsg:type_name -> msg.RichMsg - 42, // 37: msg.Elem.groupFile:type_name -> msg.GroupFile - 41, // 38: msg.Elem.extraInfo:type_name -> msg.ExtraInfo - 44, // 39: msg.Elem.videoFile:type_name -> msg.VideoFile - 43, // 40: msg.Elem.anonGroupMsg:type_name -> msg.AnonymousGroupMessage - 29, // 41: msg.Elem.QQWalletMsg:type_name -> msg.QQWalletMsg - 33, // 42: msg.Elem.customElem:type_name -> msg.CustomElem - 60, // 43: msg.Elem.generalFlags:type_name -> msg.GeneralFlags - 45, // 44: msg.Elem.srcMsg:type_name -> msg.SourceMsg - 47, // 45: msg.Elem.lightApp:type_name -> msg.LightAppElem - 28, // 46: msg.Elem.commonElem:type_name -> msg.CommonElem - 76, // 47: msg.ElemFlags2.insts:type_name -> msg.ElemFlags2.Inst - 76, // 48: msg.ElemFlags2.srcInst:type_name -> msg.ElemFlags2.Inst - 27, // 49: msg.ElemFlags2.pcSupportDef:type_name -> msg.PcSupportDef - 30, // 50: msg.QQWalletMsg.aioBody:type_name -> msg.QQWalletAioBody - 31, // 51: msg.QQWalletAioBody.sender:type_name -> msg.QQWalletAioElem - 31, // 52: msg.QQWalletAioBody.receiver:type_name -> msg.QQWalletAioElem - 24, // 53: msg.SourceMsg.elems:type_name -> msg.Elem - 54, // 54: msg.MessageHead.c2cTmpMsgHead:type_name -> msg.C2CTempMessageHead - 51, // 55: msg.MessageHead.groupInfo:type_name -> msg.GroupInfo - 52, // 56: msg.MessageHead.discussInfo:type_name -> msg.DiscussInfo - 53, // 57: msg.MessageHead.mutiltransHead:type_name -> msg.MutilTransHead - 55, // 58: msg.MessageHead.msgInstCtrl:type_name -> msg.InstCtrl - 57, // 59: msg.MessageHead.extGroupKeyInfo:type_name -> msg.ExtGroupKeyInfo - 56, // 60: msg.InstCtrl.msgSendToInst:type_name -> msg.InstInfo - 56, // 61: msg.InstCtrl.msgExcludeInst:type_name -> msg.InstInfo - 56, // 62: msg.InstCtrl.msgFromInst:type_name -> msg.InstInfo - 57, // 63: msg.TransMsgInfo.extGroupKeyInfo:type_name -> msg.ExtGroupKeyInfo - 62, // 64: msg.PbMultiMsgItem.buffer:type_name -> msg.PbMultiMsgNew - 21, // 65: msg.PbMultiMsgNew.msg:type_name -> msg.Message - 21, // 66: msg.PbMultiMsgTransmit.msg:type_name -> msg.Message - 61, // 67: msg.PbMultiMsgTransmit.pbItemList:type_name -> msg.PbMultiMsgItem - 48, // 68: msg.MsgElemInfo_servtype3.flash_troop_pic:type_name -> msg.CustomFace - 38, // 69: msg.MsgElemInfo_servtype3.flash_c2c_pic:type_name -> msg.NotOnlineImage - 39, // 70: msg.SubMsgType0x4Body.notOnlineFile:type_name -> msg.NotOnlineFile - 69, // 71: msg.ResvAttr.image_show:type_name -> msg.AnimationImageShow - 21, // 72: msg.GetGroupMsgResp.msg:type_name -> msg.Message - 21, // 73: msg.PbGetOneDayRoamMsgResp.msg:type_name -> msg.Message - 21, // 74: msg.PbPushMsg.msg:type_name -> msg.Message - 75, // [75:75] is the sub-list for method output_type - 75, // [75:75] is the sub-list for method input_type - 75, // [75:75] is the sub-list for extension type_name - 75, // [75:75] is the sub-list for extension extendee - 0, // [0:75] is the sub-list for field type_name -} - -func init() { file_pb_msg_msg_proto_init() } -func file_pb_msg_msg_proto_init() { - if File_pb_msg_msg_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_pb_msg_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMessageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendMessageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendMessageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgWithDrawReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*C2CMsgWithDrawReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupMsgWithDrawReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgWithDrawResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*C2CMsgWithDrawResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupMsgWithDrawResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupMsgInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*C2CMsgInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoutingHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WPATmp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*C2C); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Grp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GrpTmp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgCtrl); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMessageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushMessagePacket); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UinPairMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Message); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RichText); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Elem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketFace); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ElemFlags2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PcSupportDef); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommonElem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QQWalletMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QQWalletAioBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QQWalletAioElem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RichMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomElem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Text); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Attr); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Ptt); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OnlineImage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotOnlineImage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotOnlineFile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransElem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExtraInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupFile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnonymousGroupMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VideoFile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Face); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LightAppElem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomFace); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContentHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscussInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MutilTransHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*C2CTempMessageHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InstCtrl); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InstInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExtGroupKeyInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncCookie); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransMsgInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GeneralFlags); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbMultiMsgItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbMultiMsgNew); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbMultiMsgTransmit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgElemInfoServtype3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgElemInfoServtype33); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgElemInfoServtype38); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubMsgType0X4Body); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResvAttr); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnimationImageShow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UinTypeUserDef); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGroupMsgReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGroupMsgResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbGetOneDayRoamMsgReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbGetOneDayRoamMsgResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbPushMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_msg_msg_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ElemFlags2_Inst); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pb_msg_msg_proto_rawDesc, - NumEnums: 1, - NumMessages: 76, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_pb_msg_msg_proto_goTypes, - DependencyIndexes: file_pb_msg_msg_proto_depIdxs, - EnumInfos: file_pb_msg_msg_proto_enumTypes, - MessageInfos: file_pb_msg_msg_proto_msgTypes, - }.Build() - File_pb_msg_msg_proto = out.File - file_pb_msg_msg_proto_rawDesc = nil - file_pb_msg_msg_proto_goTypes = nil - file_pb_msg_msg_proto_depIdxs = nil -} diff --git a/client/pb/msg/objmsg.pb.go b/client/pb/msg/objmsg.pb.go deleted file mode 100644 index e967dc91..00000000 --- a/client/pb/msg/objmsg.pb.go +++ /dev/null @@ -1,484 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.1 -// source: objmsg.proto - -package msg - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type MsgPic struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SmallPicUrl []byte `protobuf:"bytes,1,opt,name=smallPicUrl,proto3" json:"smallPicUrl,omitempty"` - OriginalPicUrl []byte `protobuf:"bytes,2,opt,name=originalPicUrl,proto3" json:"originalPicUrl,omitempty"` - LocalPicId int32 `protobuf:"varint,3,opt,name=localPicId,proto3" json:"localPicId,omitempty"` -} - -func (x *MsgPic) Reset() { - *x = MsgPic{} - if protoimpl.UnsafeEnabled { - mi := &file_objmsg_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgPic) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgPic) ProtoMessage() {} - -func (x *MsgPic) ProtoReflect() protoreflect.Message { - mi := &file_objmsg_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgPic.ProtoReflect.Descriptor instead. -func (*MsgPic) Descriptor() ([]byte, []int) { - return file_objmsg_proto_rawDescGZIP(), []int{0} -} - -func (x *MsgPic) GetSmallPicUrl() []byte { - if x != nil { - return x.SmallPicUrl - } - return nil -} - -func (x *MsgPic) GetOriginalPicUrl() []byte { - if x != nil { - return x.OriginalPicUrl - } - return nil -} - -func (x *MsgPic) GetLocalPicId() int32 { - if x != nil { - return x.LocalPicId - } - return 0 -} - -type ObjMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MsgType int32 `protobuf:"varint,1,opt,name=msgType,proto3" json:"msgType,omitempty"` - Title []byte `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - BytesAbstact []byte `protobuf:"bytes,3,opt,name=bytesAbstact,proto3" json:"bytesAbstact,omitempty"` - TitleExt []byte `protobuf:"bytes,5,opt,name=titleExt,proto3" json:"titleExt,omitempty"` - MsgPic []*MsgPic `protobuf:"bytes,6,rep,name=msgPic,proto3" json:"msgPic,omitempty"` - MsgContentInfo []*MsgContentInfo `protobuf:"bytes,7,rep,name=msgContentInfo,proto3" json:"msgContentInfo,omitempty"` - ReportIdShow int32 `protobuf:"varint,8,opt,name=reportIdShow,proto3" json:"reportIdShow,omitempty"` -} - -func (x *ObjMsg) Reset() { - *x = ObjMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_objmsg_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ObjMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ObjMsg) ProtoMessage() {} - -func (x *ObjMsg) ProtoReflect() protoreflect.Message { - mi := &file_objmsg_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ObjMsg.ProtoReflect.Descriptor instead. -func (*ObjMsg) Descriptor() ([]byte, []int) { - return file_objmsg_proto_rawDescGZIP(), []int{1} -} - -func (x *ObjMsg) GetMsgType() int32 { - if x != nil { - return x.MsgType - } - return 0 -} - -func (x *ObjMsg) GetTitle() []byte { - if x != nil { - return x.Title - } - return nil -} - -func (x *ObjMsg) GetBytesAbstact() []byte { - if x != nil { - return x.BytesAbstact - } - return nil -} - -func (x *ObjMsg) GetTitleExt() []byte { - if x != nil { - return x.TitleExt - } - return nil -} - -func (x *ObjMsg) GetMsgPic() []*MsgPic { - if x != nil { - return x.MsgPic - } - return nil -} - -func (x *ObjMsg) GetMsgContentInfo() []*MsgContentInfo { - if x != nil { - return x.MsgContentInfo - } - return nil -} - -func (x *ObjMsg) GetReportIdShow() int32 { - if x != nil { - return x.ReportIdShow - } - return 0 -} - -type MsgContentInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ContentInfoId []byte `protobuf:"bytes,1,opt,name=contentInfoId,proto3" json:"contentInfoId,omitempty"` - MsgFile *MsgFile `protobuf:"bytes,2,opt,name=msgFile,proto3" json:"msgFile,omitempty"` -} - -func (x *MsgContentInfo) Reset() { - *x = MsgContentInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_objmsg_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgContentInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgContentInfo) ProtoMessage() {} - -func (x *MsgContentInfo) ProtoReflect() protoreflect.Message { - mi := &file_objmsg_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgContentInfo.ProtoReflect.Descriptor instead. -func (*MsgContentInfo) Descriptor() ([]byte, []int) { - return file_objmsg_proto_rawDescGZIP(), []int{2} -} - -func (x *MsgContentInfo) GetContentInfoId() []byte { - if x != nil { - return x.ContentInfoId - } - return nil -} - -func (x *MsgContentInfo) GetMsgFile() *MsgFile { - if x != nil { - return x.MsgFile - } - return nil -} - -type MsgFile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BusId int32 `protobuf:"varint,1,opt,name=busId,proto3" json:"busId,omitempty"` - FilePath []byte `protobuf:"bytes,2,opt,name=filePath,proto3" json:"filePath,omitempty"` - FileSize int64 `protobuf:"varint,3,opt,name=fileSize,proto3" json:"fileSize,omitempty"` - FileName string `protobuf:"bytes,4,opt,name=fileName,proto3" json:"fileName,omitempty"` - Int64DeadTime int64 `protobuf:"varint,5,opt,name=int64DeadTime,proto3" json:"int64DeadTime,omitempty"` - FileSha1 []byte `protobuf:"bytes,6,opt,name=fileSha1,proto3" json:"fileSha1,omitempty"` - Ext []byte `protobuf:"bytes,7,opt,name=ext,proto3" json:"ext,omitempty"` -} - -func (x *MsgFile) Reset() { - *x = MsgFile{} - if protoimpl.UnsafeEnabled { - mi := &file_objmsg_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgFile) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgFile) ProtoMessage() {} - -func (x *MsgFile) ProtoReflect() protoreflect.Message { - mi := &file_objmsg_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgFile.ProtoReflect.Descriptor instead. -func (*MsgFile) Descriptor() ([]byte, []int) { - return file_objmsg_proto_rawDescGZIP(), []int{3} -} - -func (x *MsgFile) GetBusId() int32 { - if x != nil { - return x.BusId - } - return 0 -} - -func (x *MsgFile) GetFilePath() []byte { - if x != nil { - return x.FilePath - } - return nil -} - -func (x *MsgFile) GetFileSize() int64 { - if x != nil { - return x.FileSize - } - return 0 -} - -func (x *MsgFile) GetFileName() string { - if x != nil { - return x.FileName - } - return "" -} - -func (x *MsgFile) GetInt64DeadTime() int64 { - if x != nil { - return x.Int64DeadTime - } - return 0 -} - -func (x *MsgFile) GetFileSha1() []byte { - if x != nil { - return x.FileSha1 - } - return nil -} - -func (x *MsgFile) GetExt() []byte { - if x != nil { - return x.Ext - } - return nil -} - -var File_objmsg_proto protoreflect.FileDescriptor - -var file_objmsg_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x6f, 0x62, 0x6a, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, - 0x0a, 0x06, 0x4d, 0x73, 0x67, 0x50, 0x69, 0x63, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x6d, 0x61, 0x6c, - 0x6c, 0x50, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, - 0x6d, 0x61, 0x6c, 0x6c, 0x50, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x12, 0x26, 0x0a, 0x0e, 0x6f, 0x72, - 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x50, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0e, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x50, 0x69, 0x63, 0x55, - 0x72, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x69, 0x63, 0x49, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x69, 0x63, - 0x49, 0x64, 0x22, 0xf6, 0x01, 0x0a, 0x06, 0x4f, 0x62, 0x6a, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x0a, - 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, - 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x22, 0x0a, - 0x0c, 0x62, 0x79, 0x74, 0x65, 0x73, 0x41, 0x62, 0x73, 0x74, 0x61, 0x63, 0x74, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x62, 0x79, 0x74, 0x65, 0x73, 0x41, 0x62, 0x73, 0x74, 0x61, 0x63, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x08, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x12, 0x1f, 0x0a, - 0x06, 0x6d, 0x73, 0x67, 0x50, 0x69, 0x63, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, - 0x4d, 0x73, 0x67, 0x50, 0x69, 0x63, 0x52, 0x06, 0x6d, 0x73, 0x67, 0x50, 0x69, 0x63, 0x12, 0x37, - 0x0a, 0x0e, 0x6d, 0x73, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x6d, 0x73, 0x67, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x49, 0x64, 0x53, 0x68, 0x6f, 0x77, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x5a, 0x0a, 0x0e, 0x4d, - 0x73, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, - 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x49, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, - 0x6f, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x4d, 0x73, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x07, - 0x6d, 0x73, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x73, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x05, 0x62, 0x75, 0x73, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, - 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x69, 0x6c, - 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, - 0x0d, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x44, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x44, 0x65, 0x61, 0x64, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x68, 0x61, 0x31, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x68, 0x61, 0x31, 0x12, - 0x10, 0x0a, 0x03, 0x65, 0x78, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x65, 0x78, - 0x74, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x2f, 0x3b, 0x6d, 0x73, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_objmsg_proto_rawDescOnce sync.Once - file_objmsg_proto_rawDescData = file_objmsg_proto_rawDesc -) - -func file_objmsg_proto_rawDescGZIP() []byte { - file_objmsg_proto_rawDescOnce.Do(func() { - file_objmsg_proto_rawDescData = protoimpl.X.CompressGZIP(file_objmsg_proto_rawDescData) - }) - return file_objmsg_proto_rawDescData -} - -var file_objmsg_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_objmsg_proto_goTypes = []interface{}{ - (*MsgPic)(nil), // 0: MsgPic - (*ObjMsg)(nil), // 1: ObjMsg - (*MsgContentInfo)(nil), // 2: MsgContentInfo - (*MsgFile)(nil), // 3: MsgFile -} -var file_objmsg_proto_depIdxs = []int32{ - 0, // 0: ObjMsg.msgPic:type_name -> MsgPic - 2, // 1: ObjMsg.msgContentInfo:type_name -> MsgContentInfo - 3, // 2: MsgContentInfo.msgFile:type_name -> MsgFile - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_objmsg_proto_init() } -func file_objmsg_proto_init() { - if File_objmsg_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_objmsg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPic); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objmsg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ObjMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objmsg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgContentInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objmsg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgFile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_objmsg_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_objmsg_proto_goTypes, - DependencyIndexes: file_objmsg_proto_depIdxs, - MessageInfos: file_objmsg_proto_msgTypes, - }.Build() - File_objmsg_proto = out.File - file_objmsg_proto_rawDesc = nil - file_objmsg_proto_goTypes = nil - file_objmsg_proto_depIdxs = nil -} diff --git a/client/pb/msg/report.pb.go b/client/pb/msg/report.pb.go deleted file mode 100644 index b8b26046..00000000 --- a/client/pb/msg/report.pb.go +++ /dev/null @@ -1,904 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.1 -// source: report.proto - -package msg - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type PbMsgReadedReportReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GrpReadReport []*PbGroupReadedReportReq `protobuf:"bytes,1,rep,name=grpReadReport" json:"grpReadReport,omitempty"` - DisReadReport []*PbDiscussReadedReportReq `protobuf:"bytes,2,rep,name=disReadReport" json:"disReadReport,omitempty"` - C2CReadReport *PbC2CReadedReportReq `protobuf:"bytes,3,opt,name=c2CReadReport" json:"c2CReadReport,omitempty"` //optional PbBindUinMsgReadedConfirmReq bindUinReadReport = 4; -} - -func (x *PbMsgReadedReportReq) Reset() { - *x = PbMsgReadedReportReq{} - if protoimpl.UnsafeEnabled { - mi := &file_report_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbMsgReadedReportReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbMsgReadedReportReq) ProtoMessage() {} - -func (x *PbMsgReadedReportReq) ProtoReflect() protoreflect.Message { - mi := &file_report_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbMsgReadedReportReq.ProtoReflect.Descriptor instead. -func (*PbMsgReadedReportReq) Descriptor() ([]byte, []int) { - return file_report_proto_rawDescGZIP(), []int{0} -} - -func (x *PbMsgReadedReportReq) GetGrpReadReport() []*PbGroupReadedReportReq { - if x != nil { - return x.GrpReadReport - } - return nil -} - -func (x *PbMsgReadedReportReq) GetDisReadReport() []*PbDiscussReadedReportReq { - if x != nil { - return x.DisReadReport - } - return nil -} - -func (x *PbMsgReadedReportReq) GetC2CReadReport() *PbC2CReadedReportReq { - if x != nil { - return x.C2CReadReport - } - return nil -} - -type PbMsgReadedReportResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GrpReadReport []*PbGroupReadedReportResp `protobuf:"bytes,1,rep,name=grpReadReport" json:"grpReadReport,omitempty"` - DisReadReport []*PbDiscussReadedReportResp `protobuf:"bytes,2,rep,name=disReadReport" json:"disReadReport,omitempty"` - C2CReadReport *PbC2CReadedReportResp `protobuf:"bytes,3,opt,name=c2CReadReport" json:"c2CReadReport,omitempty"` //optional PbBindUinMsgReadedConfirmResp bindUinReadReport = 4; -} - -func (x *PbMsgReadedReportResp) Reset() { - *x = PbMsgReadedReportResp{} - if protoimpl.UnsafeEnabled { - mi := &file_report_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbMsgReadedReportResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbMsgReadedReportResp) ProtoMessage() {} - -func (x *PbMsgReadedReportResp) ProtoReflect() protoreflect.Message { - mi := &file_report_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbMsgReadedReportResp.ProtoReflect.Descriptor instead. -func (*PbMsgReadedReportResp) Descriptor() ([]byte, []int) { - return file_report_proto_rawDescGZIP(), []int{1} -} - -func (x *PbMsgReadedReportResp) GetGrpReadReport() []*PbGroupReadedReportResp { - if x != nil { - return x.GrpReadReport - } - return nil -} - -func (x *PbMsgReadedReportResp) GetDisReadReport() []*PbDiscussReadedReportResp { - if x != nil { - return x.DisReadReport - } - return nil -} - -func (x *PbMsgReadedReportResp) GetC2CReadReport() *PbC2CReadedReportResp { - if x != nil { - return x.C2CReadReport - } - return nil -} - -type PbGroupReadedReportReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode *uint64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"` - LastReadSeq *uint64 `protobuf:"varint,2,opt,name=lastReadSeq" json:"lastReadSeq,omitempty"` -} - -func (x *PbGroupReadedReportReq) Reset() { - *x = PbGroupReadedReportReq{} - if protoimpl.UnsafeEnabled { - mi := &file_report_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbGroupReadedReportReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbGroupReadedReportReq) ProtoMessage() {} - -func (x *PbGroupReadedReportReq) ProtoReflect() protoreflect.Message { - mi := &file_report_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbGroupReadedReportReq.ProtoReflect.Descriptor instead. -func (*PbGroupReadedReportReq) Descriptor() ([]byte, []int) { - return file_report_proto_rawDescGZIP(), []int{2} -} - -func (x *PbGroupReadedReportReq) GetGroupCode() uint64 { - if x != nil && x.GroupCode != nil { - return *x.GroupCode - } - return 0 -} - -func (x *PbGroupReadedReportReq) GetLastReadSeq() uint64 { - if x != nil && x.LastReadSeq != nil { - return *x.LastReadSeq - } - return 0 -} - -type PbDiscussReadedReportReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ConfUin *uint64 `protobuf:"varint,1,opt,name=confUin" json:"confUin,omitempty"` - LastReadSeq *uint64 `protobuf:"varint,2,opt,name=lastReadSeq" json:"lastReadSeq,omitempty"` -} - -func (x *PbDiscussReadedReportReq) Reset() { - *x = PbDiscussReadedReportReq{} - if protoimpl.UnsafeEnabled { - mi := &file_report_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbDiscussReadedReportReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbDiscussReadedReportReq) ProtoMessage() {} - -func (x *PbDiscussReadedReportReq) ProtoReflect() protoreflect.Message { - mi := &file_report_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbDiscussReadedReportReq.ProtoReflect.Descriptor instead. -func (*PbDiscussReadedReportReq) Descriptor() ([]byte, []int) { - return file_report_proto_rawDescGZIP(), []int{3} -} - -func (x *PbDiscussReadedReportReq) GetConfUin() uint64 { - if x != nil && x.ConfUin != nil { - return *x.ConfUin - } - return 0 -} - -func (x *PbDiscussReadedReportReq) GetLastReadSeq() uint64 { - if x != nil && x.LastReadSeq != nil { - return *x.LastReadSeq - } - return 0 -} - -type PbC2CReadedReportReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SyncCookie []byte `protobuf:"bytes,1,opt,name=syncCookie" json:"syncCookie,omitempty"` - PairInfo []*UinPairReadInfo `protobuf:"bytes,2,rep,name=pairInfo" json:"pairInfo,omitempty"` -} - -func (x *PbC2CReadedReportReq) Reset() { - *x = PbC2CReadedReportReq{} - if protoimpl.UnsafeEnabled { - mi := &file_report_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbC2CReadedReportReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbC2CReadedReportReq) ProtoMessage() {} - -func (x *PbC2CReadedReportReq) ProtoReflect() protoreflect.Message { - mi := &file_report_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbC2CReadedReportReq.ProtoReflect.Descriptor instead. -func (*PbC2CReadedReportReq) Descriptor() ([]byte, []int) { - return file_report_proto_rawDescGZIP(), []int{4} -} - -func (x *PbC2CReadedReportReq) GetSyncCookie() []byte { - if x != nil { - return x.SyncCookie - } - return nil -} - -func (x *PbC2CReadedReportReq) GetPairInfo() []*UinPairReadInfo { - if x != nil { - return x.PairInfo - } - return nil -} - -type UinPairReadInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PeerUin *uint64 `protobuf:"varint,1,opt,name=peerUin" json:"peerUin,omitempty"` - LastReadTime *uint32 `protobuf:"varint,2,opt,name=lastReadTime" json:"lastReadTime,omitempty"` - CrmSig []byte `protobuf:"bytes,3,opt,name=crmSig" json:"crmSig,omitempty"` - PeerType *uint32 `protobuf:"varint,4,opt,name=peerType" json:"peerType,omitempty"` - ChatType *uint32 `protobuf:"varint,5,opt,name=chatType" json:"chatType,omitempty"` - Cpid *uint64 `protobuf:"varint,6,opt,name=cpid" json:"cpid,omitempty"` - AioType *uint32 `protobuf:"varint,7,opt,name=aioType" json:"aioType,omitempty"` - ToTinyId *uint64 `protobuf:"varint,9,opt,name=toTinyId" json:"toTinyId,omitempty"` -} - -func (x *UinPairReadInfo) Reset() { - *x = UinPairReadInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_report_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UinPairReadInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UinPairReadInfo) ProtoMessage() {} - -func (x *UinPairReadInfo) ProtoReflect() protoreflect.Message { - mi := &file_report_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UinPairReadInfo.ProtoReflect.Descriptor instead. -func (*UinPairReadInfo) Descriptor() ([]byte, []int) { - return file_report_proto_rawDescGZIP(), []int{5} -} - -func (x *UinPairReadInfo) GetPeerUin() uint64 { - if x != nil && x.PeerUin != nil { - return *x.PeerUin - } - return 0 -} - -func (x *UinPairReadInfo) GetLastReadTime() uint32 { - if x != nil && x.LastReadTime != nil { - return *x.LastReadTime - } - return 0 -} - -func (x *UinPairReadInfo) GetCrmSig() []byte { - if x != nil { - return x.CrmSig - } - return nil -} - -func (x *UinPairReadInfo) GetPeerType() uint32 { - if x != nil && x.PeerType != nil { - return *x.PeerType - } - return 0 -} - -func (x *UinPairReadInfo) GetChatType() uint32 { - if x != nil && x.ChatType != nil { - return *x.ChatType - } - return 0 -} - -func (x *UinPairReadInfo) GetCpid() uint64 { - if x != nil && x.Cpid != nil { - return *x.Cpid - } - return 0 -} - -func (x *UinPairReadInfo) GetAioType() uint32 { - if x != nil && x.AioType != nil { - return *x.AioType - } - return 0 -} - -func (x *UinPairReadInfo) GetToTinyId() uint64 { - if x != nil && x.ToTinyId != nil { - return *x.ToTinyId - } - return 0 -} - -type PbGroupReadedReportResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - Errmsg *string `protobuf:"bytes,2,opt,name=errmsg" json:"errmsg,omitempty"` - GroupCode *uint64 `protobuf:"varint,3,opt,name=groupCode" json:"groupCode,omitempty"` - MemberSeq *uint64 `protobuf:"varint,4,opt,name=memberSeq" json:"memberSeq,omitempty"` - GroupMsgSeq *uint64 `protobuf:"varint,5,opt,name=groupMsgSeq" json:"groupMsgSeq,omitempty"` -} - -func (x *PbGroupReadedReportResp) Reset() { - *x = PbGroupReadedReportResp{} - if protoimpl.UnsafeEnabled { - mi := &file_report_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbGroupReadedReportResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbGroupReadedReportResp) ProtoMessage() {} - -func (x *PbGroupReadedReportResp) ProtoReflect() protoreflect.Message { - mi := &file_report_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbGroupReadedReportResp.ProtoReflect.Descriptor instead. -func (*PbGroupReadedReportResp) Descriptor() ([]byte, []int) { - return file_report_proto_rawDescGZIP(), []int{6} -} - -func (x *PbGroupReadedReportResp) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *PbGroupReadedReportResp) GetErrmsg() string { - if x != nil && x.Errmsg != nil { - return *x.Errmsg - } - return "" -} - -func (x *PbGroupReadedReportResp) GetGroupCode() uint64 { - if x != nil && x.GroupCode != nil { - return *x.GroupCode - } - return 0 -} - -func (x *PbGroupReadedReportResp) GetMemberSeq() uint64 { - if x != nil && x.MemberSeq != nil { - return *x.MemberSeq - } - return 0 -} - -func (x *PbGroupReadedReportResp) GetGroupMsgSeq() uint64 { - if x != nil && x.GroupMsgSeq != nil { - return *x.GroupMsgSeq - } - return 0 -} - -type PbDiscussReadedReportResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - Errmsg *string `protobuf:"bytes,2,opt,name=errmsg" json:"errmsg,omitempty"` - ConfUin *uint64 `protobuf:"varint,3,opt,name=confUin" json:"confUin,omitempty"` - MemberSeq *uint64 `protobuf:"varint,4,opt,name=memberSeq" json:"memberSeq,omitempty"` - ConfSeq *uint64 `protobuf:"varint,5,opt,name=confSeq" json:"confSeq,omitempty"` -} - -func (x *PbDiscussReadedReportResp) Reset() { - *x = PbDiscussReadedReportResp{} - if protoimpl.UnsafeEnabled { - mi := &file_report_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbDiscussReadedReportResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbDiscussReadedReportResp) ProtoMessage() {} - -func (x *PbDiscussReadedReportResp) ProtoReflect() protoreflect.Message { - mi := &file_report_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbDiscussReadedReportResp.ProtoReflect.Descriptor instead. -func (*PbDiscussReadedReportResp) Descriptor() ([]byte, []int) { - return file_report_proto_rawDescGZIP(), []int{7} -} - -func (x *PbDiscussReadedReportResp) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *PbDiscussReadedReportResp) GetErrmsg() string { - if x != nil && x.Errmsg != nil { - return *x.Errmsg - } - return "" -} - -func (x *PbDiscussReadedReportResp) GetConfUin() uint64 { - if x != nil && x.ConfUin != nil { - return *x.ConfUin - } - return 0 -} - -func (x *PbDiscussReadedReportResp) GetMemberSeq() uint64 { - if x != nil && x.MemberSeq != nil { - return *x.MemberSeq - } - return 0 -} - -func (x *PbDiscussReadedReportResp) GetConfSeq() uint64 { - if x != nil && x.ConfSeq != nil { - return *x.ConfSeq - } - return 0 -} - -type PbC2CReadedReportResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` - Errmsg *string `protobuf:"bytes,2,opt,name=errmsg" json:"errmsg,omitempty"` - SyncCookie []byte `protobuf:"bytes,3,opt,name=syncCookie" json:"syncCookie,omitempty"` -} - -func (x *PbC2CReadedReportResp) Reset() { - *x = PbC2CReadedReportResp{} - if protoimpl.UnsafeEnabled { - mi := &file_report_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PbC2CReadedReportResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PbC2CReadedReportResp) ProtoMessage() {} - -func (x *PbC2CReadedReportResp) ProtoReflect() protoreflect.Message { - mi := &file_report_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PbC2CReadedReportResp.ProtoReflect.Descriptor instead. -func (*PbC2CReadedReportResp) Descriptor() ([]byte, []int) { - return file_report_proto_rawDescGZIP(), []int{8} -} - -func (x *PbC2CReadedReportResp) GetResult() uint32 { - if x != nil && x.Result != nil { - return *x.Result - } - return 0 -} - -func (x *PbC2CReadedReportResp) GetErrmsg() string { - if x != nil && x.Errmsg != nil { - return *x.Errmsg - } - return "" -} - -func (x *PbC2CReadedReportResp) GetSyncCookie() []byte { - if x != nil { - return x.SyncCookie - } - return nil -} - -var File_report_proto protoreflect.FileDescriptor - -var file_report_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3, - 0x01, 0x0a, 0x14, 0x50, 0x62, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x61, 0x64, 0x65, 0x64, 0x52, 0x65, - 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x0d, 0x67, 0x72, 0x70, 0x52, 0x65, - 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, - 0x2e, 0x50, 0x62, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x61, 0x64, 0x65, 0x64, 0x52, 0x65, - 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x52, 0x0d, 0x67, 0x72, 0x70, 0x52, 0x65, 0x61, 0x64, - 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x3f, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x52, 0x65, 0x61, - 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x50, 0x62, 0x44, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x52, 0x65, 0x61, 0x64, 0x65, 0x64, 0x52, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x52, 0x65, 0x61, - 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x63, 0x32, 0x43, 0x52, 0x65, - 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, - 0x2e, 0x50, 0x62, 0x43, 0x32, 0x43, 0x52, 0x65, 0x61, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, - 0x72, 0x74, 0x52, 0x65, 0x71, 0x52, 0x0d, 0x63, 0x32, 0x43, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, - 0x70, 0x6f, 0x72, 0x74, 0x22, 0xd7, 0x01, 0x0a, 0x15, 0x50, 0x62, 0x4d, 0x73, 0x67, 0x52, 0x65, - 0x61, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3e, - 0x0a, 0x0d, 0x67, 0x72, 0x70, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x50, 0x62, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, - 0x65, 0x61, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x52, - 0x0d, 0x67, 0x72, 0x70, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x40, - 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x50, 0x62, 0x44, 0x69, 0x73, 0x63, 0x75, 0x73, - 0x73, 0x52, 0x65, 0x61, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, - 0x12, 0x3c, 0x0a, 0x0d, 0x63, 0x32, 0x43, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x50, 0x62, 0x43, 0x32, 0x43, 0x52, - 0x65, 0x61, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x52, - 0x0d, 0x63, 0x32, 0x43, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x58, - 0x0a, 0x16, 0x50, 0x62, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x61, 0x64, 0x65, 0x64, 0x52, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, - 0x61, 0x64, 0x53, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6c, 0x61, 0x73, - 0x74, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x71, 0x22, 0x56, 0x0a, 0x18, 0x50, 0x62, 0x44, 0x69, - 0x73, 0x63, 0x75, 0x73, 0x73, 0x52, 0x65, 0x61, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x55, 0x69, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x55, 0x69, 0x6e, 0x12, 0x20, - 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x71, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x71, - 0x22, 0x64, 0x0a, 0x14, 0x50, 0x62, 0x43, 0x32, 0x43, 0x52, 0x65, 0x61, 0x64, 0x65, 0x64, 0x52, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x79, 0x6e, 0x63, - 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x79, - 0x6e, 0x63, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x70, 0x61, 0x69, 0x72, - 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x55, 0x69, 0x6e, - 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x70, 0x61, - 0x69, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xe9, 0x01, 0x0a, 0x0f, 0x55, 0x69, 0x6e, 0x50, 0x61, - 0x69, 0x72, 0x52, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x65, - 0x65, 0x72, 0x55, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x70, 0x65, 0x65, - 0x72, 0x55, 0x69, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x61, 0x64, - 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, - 0x52, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x6d, 0x53, - 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x72, 0x6d, 0x53, 0x69, 0x67, - 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x08, 0x70, 0x65, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x63, 0x68, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, - 0x63, 0x68, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x70, 0x69, 0x64, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x63, 0x70, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, - 0x61, 0x69, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x61, - 0x69, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x6f, 0x54, 0x69, 0x6e, 0x79, - 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x74, 0x6f, 0x54, 0x69, 0x6e, 0x79, - 0x49, 0x64, 0x22, 0xa7, 0x01, 0x0a, 0x17, 0x50, 0x62, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, - 0x61, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, - 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12, 0x1c, - 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, - 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x71, 0x22, 0x9d, 0x01, 0x0a, - 0x19, 0x50, 0x62, 0x44, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x52, 0x65, 0x61, 0x64, 0x65, 0x64, - 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, - 0x6e, 0x66, 0x55, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x6f, 0x6e, - 0x66, 0x55, 0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x65, - 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, - 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x53, 0x65, 0x71, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x53, 0x65, 0x71, 0x22, 0x67, 0x0a, 0x15, - 0x50, 0x62, 0x43, 0x32, 0x43, 0x52, 0x65, 0x61, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, - 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, - 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6f, - 0x6b, 0x69, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x79, 0x6e, 0x63, 0x43, - 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x2f, 0x3b, 0x6d, 0x73, 0x67, -} - -var ( - file_report_proto_rawDescOnce sync.Once - file_report_proto_rawDescData = file_report_proto_rawDesc -) - -func file_report_proto_rawDescGZIP() []byte { - file_report_proto_rawDescOnce.Do(func() { - file_report_proto_rawDescData = protoimpl.X.CompressGZIP(file_report_proto_rawDescData) - }) - return file_report_proto_rawDescData -} - -var file_report_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_report_proto_goTypes = []interface{}{ - (*PbMsgReadedReportReq)(nil), // 0: PbMsgReadedReportReq - (*PbMsgReadedReportResp)(nil), // 1: PbMsgReadedReportResp - (*PbGroupReadedReportReq)(nil), // 2: PbGroupReadedReportReq - (*PbDiscussReadedReportReq)(nil), // 3: PbDiscussReadedReportReq - (*PbC2CReadedReportReq)(nil), // 4: PbC2CReadedReportReq - (*UinPairReadInfo)(nil), // 5: UinPairReadInfo - (*PbGroupReadedReportResp)(nil), // 6: PbGroupReadedReportResp - (*PbDiscussReadedReportResp)(nil), // 7: PbDiscussReadedReportResp - (*PbC2CReadedReportResp)(nil), // 8: PbC2CReadedReportResp -} -var file_report_proto_depIdxs = []int32{ - 2, // 0: PbMsgReadedReportReq.grpReadReport:type_name -> PbGroupReadedReportReq - 3, // 1: PbMsgReadedReportReq.disReadReport:type_name -> PbDiscussReadedReportReq - 4, // 2: PbMsgReadedReportReq.c2CReadReport:type_name -> PbC2CReadedReportReq - 6, // 3: PbMsgReadedReportResp.grpReadReport:type_name -> PbGroupReadedReportResp - 7, // 4: PbMsgReadedReportResp.disReadReport:type_name -> PbDiscussReadedReportResp - 8, // 5: PbMsgReadedReportResp.c2CReadReport:type_name -> PbC2CReadedReportResp - 5, // 6: PbC2CReadedReportReq.pairInfo:type_name -> UinPairReadInfo - 7, // [7:7] is the sub-list for method output_type - 7, // [7:7] is the sub-list for method input_type - 7, // [7:7] is the sub-list for extension type_name - 7, // [7:7] is the sub-list for extension extendee - 0, // [0:7] is the sub-list for field type_name -} - -func init() { file_report_proto_init() } -func file_report_proto_init() { - if File_report_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_report_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbMsgReadedReportReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_report_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbMsgReadedReportResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_report_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbGroupReadedReportReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_report_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbDiscussReadedReportReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_report_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbC2CReadedReportReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_report_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UinPairReadInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_report_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbGroupReadedReportResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_report_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbDiscussReadedReportResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_report_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PbC2CReadedReportResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_report_proto_rawDesc, - NumEnums: 0, - NumMessages: 9, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_report_proto_goTypes, - DependencyIndexes: file_report_proto_depIdxs, - MessageInfos: file_report_proto_msgTypes, - }.Build() - File_report_proto = out.File - file_report_proto_rawDesc = nil - file_report_proto_goTypes = nil - file_report_proto_depIdxs = nil -} diff --git a/client/private_msg.go b/client/private_msg.go index 2cb69f9e..57beea52 100644 --- a/client/private_msg.go +++ b/client/private_msg.go @@ -5,12 +5,12 @@ import ( "sync/atomic" "time" - "github.com/Mrs4s/MiraiGo/internal/packets" - "github.com/pkg/errors" + protobuf "github.com/segmentio/encoding/proto" "google.golang.org/protobuf/proto" - "github.com/Mrs4s/MiraiGo/client/pb/msg" + "github.com/Mrs4s/MiraiGo/internal/packets" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/message" ) @@ -140,7 +140,7 @@ func (c *QQClient) buildGetOneDayRoamMsgRequest(target, lastMsgTime, random int6 Random: proto.Uint64(uint64(random)), ReadCnt: &count, } - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(c.Uin, seq, "MessageSvc.PbGetOneDayRoamMsg", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) return seq, packet } @@ -175,11 +175,11 @@ func (c *QQClient) buildFriendSendingPacket(target int64, msgSeq, r, pkgNum, pkg Const2: &syncConst2, Const3: proto.Int64(0x1d), } - b, _ := proto.Marshal(cookie) + b, _ := protobuf.Marshal(cookie) return b }(), } - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(c.Uin, seq, "MessageSvc.PbSendMsg", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) return seq, packet } @@ -209,11 +209,11 @@ func (c *QQClient) buildGroupTempSendingPacket(groupUin, target int64, msgSeq, r Const2: &syncConst2, Const3: proto.Int64(0x1d), } - b, _ := proto.Marshal(cookie) + b, _ := protobuf.Marshal(cookie) return b }(), } - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(c.Uin, seq, "MessageSvc.PbSendMsg", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) return seq, packet } @@ -242,11 +242,11 @@ func (c *QQClient) buildWPATempSendingPacket(uin int64, sig []byte, msgSeq, r in Const2: &syncConst2, Const3: proto.Int64(0x1d), } - b, _ := proto.Marshal(cookie) + b, _ := protobuf.Marshal(cookie) return b }(), } - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(c.Uin, seq, "MessageSvc.PbSendMsg", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) return seq, packet } diff --git a/client/ptt.go b/client/ptt.go index bb5b1810..14695b17 100644 --- a/client/ptt.go +++ b/client/ptt.go @@ -15,8 +15,8 @@ import ( "github.com/Mrs4s/MiraiGo/binary" "github.com/Mrs4s/MiraiGo/client/pb/cmd0x346" - "github.com/Mrs4s/MiraiGo/client/pb/msg" "github.com/Mrs4s/MiraiGo/client/pb/pttcenter" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/message" "github.com/Mrs4s/MiraiGo/utils" ) diff --git a/client/qidian.go b/client/qidian.go index 8df47bf9..5c65b42e 100644 --- a/client/qidian.go +++ b/client/qidian.go @@ -7,6 +7,8 @@ import ( "io" "net/http" + protobuf "github.com/segmentio/encoding/proto" + "github.com/Mrs4s/MiraiGo/internal/packets" "github.com/pkg/errors" @@ -15,7 +17,7 @@ import ( "github.com/Mrs4s/MiraiGo/binary" "github.com/Mrs4s/MiraiGo/client/pb/cmd0x3f6" "github.com/Mrs4s/MiraiGo/client/pb/cmd0x6ff" - "github.com/Mrs4s/MiraiGo/client/pb/msg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/utils" ) @@ -43,7 +45,7 @@ func (c *QQClient) getQiDianAddressDetailList() ([]*FriendInfo, error) { return nil, errors.Wrap(err, "request error") } rsp := &cmd0x6ff.C519RspBody{} - if err = proto.Unmarshal(rspData, rsp); err != nil { + if err = protobuf.Unmarshal(rspData, rsp); err != nil { return nil, errors.Wrap(err, "unmarshal error") } if rsp.GetAddressDetailListRspBody == nil { @@ -86,7 +88,7 @@ func (c *QQClient) buildLoginExtraPacket() (uint16, []byte) { SubAppId: &c.version.AppId, }, } - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(c.Uin, seq, "qidianservice.69", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) return seq, packet } @@ -103,7 +105,7 @@ func (c *QQClient) buildConnKeyRequestPacket() (uint16, []byte) { ServiceTypes: []uint32{1}, }, } - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(c.Uin, seq, "HttpConn.0x6ff_501", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) return seq, packet } @@ -112,8 +114,8 @@ func (c *QQClient) bigDataRequest(subCmd uint32, req proto.Message) ([]byte, err if c.QiDian.bigDataReqSession == nil { return nil, errors.New("please call conn key request method before") } - data, _ := proto.Marshal(req) - head, _ := proto.Marshal(&msg.IMHead{ + data, _ := protobuf.Marshal(req) + head, _ := protobuf.Marshal(&msg.IMHead{ HeadType: proto.Uint32(4), HttpconnHead: &msg.HttpConnHead{ Uin: proto.Uint64(uint64(c.Uin)), @@ -158,7 +160,7 @@ func (c *QQClient) bigDataRequest(subCmd uint32, req proto.Message) ([]byte, err func decodeLoginExtraResponse(c *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { rsp := cmd0x3f6.C3F6RspBody{} - if err := proto.Unmarshal(payload, &rsp); err != nil { + if err := protobuf.Unmarshal(payload, &rsp); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } if rsp.SubcmdLoginProcessCompleteRspBody == nil { @@ -174,7 +176,7 @@ func decodeLoginExtraResponse(c *QQClient, _ *incomingPacketInfo, payload []byte func decodeConnKeyResponse(c *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { rsp := cmd0x6ff.C501RspBody{} - if err := proto.Unmarshal(payload, &rsp); err != nil { + if err := protobuf.Unmarshal(payload, &rsp); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } if c.QiDian == nil { diff --git a/client/recall.go b/client/recall.go index 4bae7ae1..6af0550c 100644 --- a/client/recall.go +++ b/client/recall.go @@ -1,11 +1,12 @@ package client import ( - "github.com/Mrs4s/MiraiGo/internal/packets" "github.com/pkg/errors" + protobuf "github.com/segmentio/encoding/proto" "google.golang.org/protobuf/proto" - "github.com/Mrs4s/MiraiGo/client/pb/msg" + "github.com/Mrs4s/MiraiGo/internal/packets" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/message" ) @@ -62,7 +63,7 @@ func (c *QQClient) buildGroupRecallPacket(groupCode int64, msgSeq, msgRan int32) }, }, } - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(c.Uin, seq, "PbMessageSvc.PbMsgWithDraw", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) return seq, packet } @@ -91,14 +92,14 @@ func (c *QQClient) buildPrivateRecallPacket(uin, ts int64, msgSeq, random int32) SubCmd: proto.Int32(1), }, }} - payload, _ := proto.Marshal(req) + payload, _ := protobuf.Marshal(req) packet := packets.BuildUniPacket(c.Uin, seq, "PbMessageSvc.PbMsgWithDraw", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) return seq, packet } func decodeMsgWithDrawResponse(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { rsp := msg.MsgWithDrawResp{} - if err := proto.Unmarshal(payload, &rsp); err != nil { + if err := protobuf.Unmarshal(payload, &rsp); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } if len(rsp.C2CWithDraw) > 0 { diff --git a/client/sync.go b/client/sync.go index 7dcdab34..f5fbfd72 100644 --- a/client/sync.go +++ b/client/sync.go @@ -12,8 +12,8 @@ import ( "github.com/Mrs4s/MiraiGo/binary/jce" "github.com/Mrs4s/MiraiGo/client/pb/msf" - "github.com/Mrs4s/MiraiGo/client/pb/msg" "github.com/Mrs4s/MiraiGo/internal/packets" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x769" "github.com/Mrs4s/MiraiGo/message" ) @@ -175,7 +175,7 @@ func (c *QQClient) buildGetOfflineMsgRequestPacket() (uint16, []byte) { EndSeq: time.Now().Unix(), } flag := msg.SyncFlag_START - msgReq, _ := proto.Marshal(&msg.GetMessageRequest{ + msgReq, _ := protobuf.Marshal(&msg.GetMessageRequest{ SyncFlag: &flag, SyncCookie: c.syncCookie, RambleFlag: proto.Int32(0), @@ -252,11 +252,11 @@ func (c *QQClient) buildSyncMsgRequestPacket() (uint16, []byte) { OtherRambleNumber: proto.Int32(3), MsgReqType: proto.Int32(1), } - offMsg, _ := proto.Marshal(msgReq) + offMsg, _ := protobuf.Marshal(msgReq) msgReq.MsgReqType = proto.Int32(2) msgReq.SyncCookie = nil msgReq.PubaccountCookie = c.pubAccountCookie - pubMsg, _ := proto.Marshal(msgReq) + pubMsg, _ := protobuf.Marshal(msgReq) buf := &jce.RequestDataVersion3{Map: map[string][]byte{ "req_PbOffMsg": jce.NewJceWriter().WriteBytes(append([]byte{0, 0, 0, 0}, offMsg...), 0).Bytes(), "req_PbPubMsg": jce.NewJceWriter().WriteBytes(append([]byte{0, 0, 0, 0}, pubMsg...), 0).Bytes(), @@ -276,7 +276,7 @@ func (c *QQClient) buildSyncMsgRequestPacket() (uint16, []byte) { // PbMessageSvc.PbMsgReadedReport func (c *QQClient) buildGroupMsgReadedPacket(groupCode, msgSeq int64) (uint16, []byte) { seq := c.nextSeq() - req, _ := proto.Marshal(&msg.PbMsgReadedReportReq{GrpReadReport: []*msg.PbGroupReadedReportReq{{ + req, _ := protobuf.Marshal(&msg.PbMsgReadedReportReq{GrpReadReport: []*msg.PbGroupReadedReportReq{{ GroupCode: proto.Uint64(uint64(groupCode)), LastReadSeq: proto.Uint64(uint64(msgSeq)), }}}) @@ -286,7 +286,7 @@ func (c *QQClient) buildGroupMsgReadedPacket(groupCode, msgSeq int64) (uint16, [ func (c *QQClient) buildPrivateMsgReadedPacket(uin, time int64) (uint16, []byte) { seq := c.nextSeq() - req, _ := proto.Marshal(&msg.PbMsgReadedReportReq{C2CReadReport: &msg.PbC2CReadedReportReq{PairInfo: []*msg.UinPairReadInfo{ + req, _ := protobuf.Marshal(&msg.PbMsgReadedReportReq{C2CReadReport: &msg.PbC2CReadedReportReq{PairInfo: []*msg.UinPairReadInfo{ { PeerUin: proto.Uint64(uint64(uin)), LastReadTime: proto.Uint32(uint32(time)), @@ -367,7 +367,7 @@ func decodePushParamPacket(c *QQClient, _ *incomingPacketInfo, payload []byte) ( // RegPrxySvc.PbSyncMsg func decodeMsgSyncResponse(c *QQClient, info *incomingPacketInfo, payload []byte) (interface{}, error) { rsp := &msf.SvcRegisterProxyMsgResp{} - if err := proto.Unmarshal(payload, rsp); err != nil { + if err := protobuf.Unmarshal(payload, rsp); err != nil { return nil, err } ret := &sessionSyncEvent{ @@ -380,7 +380,7 @@ func decodeMsgSyncResponse(c *QQClient, info *incomingPacketInfo, payload []byte if len(rsp.GroupMsg) > 0 { for _, gm := range rsp.GroupMsg { gmRsp := &msg.GetGroupMsgResp{} - if err := proto.Unmarshal(gm.Content[4:], gmRsp); err != nil { + if err := protobuf.Unmarshal(gm.Content[4:], gmRsp); err != nil { continue } var latest []*message.GroupMessage @@ -401,7 +401,7 @@ func decodeMsgSyncResponse(c *QQClient, info *incomingPacketInfo, payload []byte } if len(rsp.C2CMsg) > 4 { c2cRsp := &msg.GetMessageResponse{} - if proto.Unmarshal(rsp.C2CMsg[4:], c2cRsp) == nil { + if protobuf.Unmarshal(rsp.C2CMsg[4:], c2cRsp) == nil { c.c2cMessageSyncProcessor(c2cRsp, info) } } @@ -411,17 +411,17 @@ func decodeMsgSyncResponse(c *QQClient, info *incomingPacketInfo, payload []byte // OnlinePush.PbC2CMsgSync func decodeC2CSyncPacket(c *QQClient, info *incomingPacketInfo, payload []byte) (interface{}, error) { m := msg.PbPushMsg{} - if err := proto.Unmarshal(payload, &m); err != nil { + if err := protobuf.Unmarshal(payload, &m); err != nil { return nil, err } - _ = c.sendPacket(c.buildDeleteOnlinePushPacket(c.Uin, m.GetSvrip(), m.GetPushToken(), info.SequenceId, nil)) + _ = c.sendPacket(c.buildDeleteOnlinePushPacket(c.Uin, m.GetSvrip(), m.PushToken, info.SequenceId, nil)) c.commMsgProcessor(m.Msg, info) return nil, nil } func decodeMsgReadedResponse(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { rsp := msg.PbMsgReadedReportResp{} - if err := proto.Unmarshal(payload, &rsp); err != nil { + if err := protobuf.Unmarshal(payload, &rsp); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } if len(rsp.GrpReadReport) > 0 { diff --git a/go.mod b/go.mod index 7f062501..11e7e490 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.16 require ( github.com/klauspost/compress v1.13.6 github.com/pkg/errors v0.9.1 - github.com/segmentio/encoding v0.2.23 + github.com/segmentio/encoding v0.3.0 github.com/stretchr/testify v1.3.0 github.com/tidwall/gjson v1.11.0 golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f diff --git a/go.sum b/go.sum index 4c07a111..08699850 100644 --- a/go.sum +++ b/go.sum @@ -13,8 +13,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/segmentio/asm v1.1.0 h1:fkVr8k5J4sKoFjTGVD6r1yKvDKqmvrEh3K7iyVxgBs8= github.com/segmentio/asm v1.1.0/go.mod h1:4EUJGaKsB8ImLUwOGORVsNd9vTRDeh44JGsY4aKp5I4= -github.com/segmentio/encoding v0.2.23 h1:5C68yOwOsmUc04L+Od9VeNvqxaVsTcUPbnOUzXDs48A= -github.com/segmentio/encoding v0.2.23/go.mod h1:waft2p6XI4z2pk07M0YzZV4wEiqaRvsBSyWNHxVx4gU= +github.com/segmentio/encoding v0.3.0 h1:kv9Y9vWgmG/3N/ENT4FxLKmmG5kaAcV2auRjhEus494= +github.com/segmentio/encoding v0.3.0/go.mod h1:waft2p6XI4z2pk07M0YzZV4wEiqaRvsBSyWNHxVx4gU= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= diff --git a/internal/protobuf/data/channel/MsgResponsesSvr.pb.go b/internal/protobuf/data/channel/MsgResponsesSvr.pb.go new file mode 100644 index 00000000..b796e127 --- /dev/null +++ b/internal/protobuf/data/channel/MsgResponsesSvr.pb.go @@ -0,0 +1,199 @@ +// Code generated by yaprotoc. DO NOT EDIT. +// source: channel/MsgResponsesSvr.proto + +package channel + +import ( + "github.com/pkg/errors" + "github.com/segmentio/encoding/proto" +) + +type BatchGetMsgRspCountReq struct { + GuildMsgList []*GuildMsg `protobuf:"bytes,1,rep"` +} + +func (x *BatchGetMsgRspCountReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type BatchGetMsgRspCountRsp struct { + GuildMsgInfoList []*GuildMsgInfo `protobuf:"bytes,1,rep"` +} + +func (x *BatchGetMsgRspCountRsp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelMsgInfo struct { + ChannelId *uint64 `protobuf:"varint,1,opt"` + RespData []*MsgRespData `protobuf:"bytes,2,rep"` +} + +func (x *ChannelMsgInfo) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *ChannelMsgInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type EmojiReaction struct { + EmojiId *string `protobuf:"bytes,1,opt"` + EmojiType *uint64 `protobuf:"varint,2,opt"` + Cnt *uint64 `protobuf:"varint,3,opt"` + IsClicked *bool `protobuf:"varint,4,opt"` +} + +func (x *EmojiReaction) GetEmojiId() string { + if x != nil && x.EmojiId != nil { + return *x.EmojiId + } + return "" +} + +func (x *EmojiReaction) GetEmojiType() uint64 { + if x != nil && x.EmojiType != nil { + return *x.EmojiType + } + return 0 +} + +func (x *EmojiReaction) GetCnt() uint64 { + if x != nil && x.Cnt != nil { + return *x.Cnt + } + return 0 +} + +func (x *EmojiReaction) GetIsClicked() bool { + if x != nil && x.IsClicked != nil { + return *x.IsClicked + } + return false +} + +func (x *EmojiReaction) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildMsg struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + ChannelMsgList []*SvrChannelMsg `protobuf:"bytes,2,rep"` +} + +func (x *GuildMsg) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *GuildMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildMsgInfo struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + ChannelMsgInfoList []*ChannelMsgInfo `protobuf:"bytes,2,rep"` +} + +func (x *GuildMsgInfo) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *GuildMsgInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgCnt struct { + Id *MsgId `protobuf:"bytes,1,opt"` + EmojiReaction []*EmojiReaction `protobuf:"bytes,2,rep"` +} + +func (x *MsgCnt) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgId struct { + Version *uint64 `protobuf:"varint,1,opt"` + Seq *uint64 `protobuf:"varint,2,opt"` +} + +func (x *MsgId) GetVersion() uint64 { + if x != nil && x.Version != nil { + return *x.Version + } + return 0 +} + +func (x *MsgId) GetSeq() uint64 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *MsgId) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgRespData struct { + Id *MsgId `protobuf:"bytes,1,opt"` + Cnt []byte `protobuf:"bytes,2,opt"` +} + +func (x *MsgRespData) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SvrChannelMsg struct { + ChannelId *uint64 `protobuf:"varint,1,opt"` + Id []*MsgId `protobuf:"bytes,2,rep"` +} + +func (x *SvrChannelMsg) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *SvrChannelMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} diff --git a/internal/protobuf/data/channel/common.pb.go b/internal/protobuf/data/channel/common.pb.go new file mode 100644 index 00000000..531d47aa --- /dev/null +++ b/internal/protobuf/data/channel/common.pb.go @@ -0,0 +1,614 @@ +// Code generated by yaprotoc. DO NOT EDIT. +// source: channel/common.proto + +package channel + +import ( + msg "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" + "github.com/pkg/errors" + "github.com/segmentio/encoding/proto" +) + +type ChannelContentHead struct { + Type *uint64 `protobuf:"varint,1,opt"` + SubType *uint64 `protobuf:"varint,2,opt"` + Random *uint64 `protobuf:"varint,3,opt"` + Seq *uint64 `protobuf:"varint,4,opt"` + CntSeq *uint64 `protobuf:"varint,5,opt"` + Time *uint64 `protobuf:"varint,6,opt"` + Meta []byte `protobuf:"bytes,7,opt"` +} + +func (x *ChannelContentHead) GetType() uint64 { + if x != nil && x.Type != nil { + return *x.Type + } + return 0 +} + +func (x *ChannelContentHead) GetSubType() uint64 { + if x != nil && x.SubType != nil { + return *x.SubType + } + return 0 +} + +func (x *ChannelContentHead) GetRandom() uint64 { + if x != nil && x.Random != nil { + return *x.Random + } + return 0 +} + +func (x *ChannelContentHead) GetSeq() uint64 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *ChannelContentHead) GetCntSeq() uint64 { + if x != nil && x.CntSeq != nil { + return *x.CntSeq + } + return 0 +} + +func (x *ChannelContentHead) GetTime() uint64 { + if x != nil && x.Time != nil { + return *x.Time + } + return 0 +} + +func (x *ChannelContentHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelEvent struct { + Type *uint64 `protobuf:"varint,1,opt"` + Version *uint64 `protobuf:"varint,2,opt"` + OpInfo *ChannelMsgOpInfo `protobuf:"bytes,3,opt"` +} + +func (x *ChannelEvent) GetType() uint64 { + if x != nil && x.Type != nil { + return *x.Type + } + return 0 +} + +func (x *ChannelEvent) GetVersion() uint64 { + if x != nil && x.Version != nil { + return *x.Version + } + return 0 +} + +func (x *ChannelEvent) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelExtInfo struct { + FromNick []byte `protobuf:"bytes,1,opt"` + GuildName []byte `protobuf:"bytes,2,opt"` + ChannelName []byte `protobuf:"bytes,3,opt"` + Visibility *uint32 `protobuf:"varint,4,opt"` + NotifyType *uint32 `protobuf:"varint,5,opt"` + OfflineFlag *uint32 `protobuf:"varint,6,opt"` + NameType *uint32 `protobuf:"varint,7,opt"` + MemberName []byte `protobuf:"bytes,8,opt"` + Timestamp *uint32 `protobuf:"varint,9,opt"` + EventVersion *uint64 `protobuf:"varint,10,opt"` + Events []*ChannelEvent `protobuf:"bytes,11,rep"` + FromRoleInfo *ChannelRole `protobuf:"bytes,12,opt"` + FreqLimitInfo *ChannelFreqLimitInfo `protobuf:"bytes,13,opt"` + DirectMessageMember []*DirectMessageMember `protobuf:"bytes,14,rep"` +} + +func (x *ChannelExtInfo) GetVisibility() uint32 { + if x != nil && x.Visibility != nil { + return *x.Visibility + } + return 0 +} + +func (x *ChannelExtInfo) GetNotifyType() uint32 { + if x != nil && x.NotifyType != nil { + return *x.NotifyType + } + return 0 +} + +func (x *ChannelExtInfo) GetOfflineFlag() uint32 { + if x != nil && x.OfflineFlag != nil { + return *x.OfflineFlag + } + return 0 +} + +func (x *ChannelExtInfo) GetNameType() uint32 { + if x != nil && x.NameType != nil { + return *x.NameType + } + return 0 +} + +func (x *ChannelExtInfo) GetTimestamp() uint32 { + if x != nil && x.Timestamp != nil { + return *x.Timestamp + } + return 0 +} + +func (x *ChannelExtInfo) GetEventVersion() uint64 { + if x != nil && x.EventVersion != nil { + return *x.EventVersion + } + return 0 +} + +func (x *ChannelExtInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelFreqLimitInfo struct { + IsLimited *uint32 `protobuf:"varint,1,opt"` + LeftCount *uint32 `protobuf:"varint,2,opt"` + LimitTimestamp *uint64 `protobuf:"varint,3,opt"` +} + +func (x *ChannelFreqLimitInfo) GetIsLimited() uint32 { + if x != nil && x.IsLimited != nil { + return *x.IsLimited + } + return 0 +} + +func (x *ChannelFreqLimitInfo) GetLeftCount() uint32 { + if x != nil && x.LeftCount != nil { + return *x.LeftCount + } + return 0 +} + +func (x *ChannelFreqLimitInfo) GetLimitTimestamp() uint64 { + if x != nil && x.LimitTimestamp != nil { + return *x.LimitTimestamp + } + return 0 +} + +func (x *ChannelFreqLimitInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelInfo struct { + Id *uint64 `protobuf:"varint,1,opt"` + Name []byte `protobuf:"bytes,2,opt"` + Color *uint32 `protobuf:"varint,3,opt"` + Hoist *uint32 `protobuf:"varint,4,opt"` +} + +func (x *ChannelInfo) GetId() uint64 { + if x != nil && x.Id != nil { + return *x.Id + } + return 0 +} + +func (x *ChannelInfo) GetColor() uint32 { + if x != nil && x.Color != nil { + return *x.Color + } + return 0 +} + +func (x *ChannelInfo) GetHoist() uint32 { + if x != nil && x.Hoist != nil { + return *x.Hoist + } + return 0 +} + +func (x *ChannelInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelLoginSig struct { + Type *uint32 `protobuf:"varint,1,opt"` + Sig []byte `protobuf:"bytes,2,opt"` + Appid *uint32 `protobuf:"varint,3,opt"` +} + +func (x *ChannelLoginSig) GetType() uint32 { + if x != nil && x.Type != nil { + return *x.Type + } + return 0 +} + +func (x *ChannelLoginSig) GetAppid() uint32 { + if x != nil && x.Appid != nil { + return *x.Appid + } + return 0 +} + +func (x *ChannelLoginSig) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelMeta struct { + FromUin *uint64 `protobuf:"varint,1,opt"` + LoginSig *ChannelLoginSig `protobuf:"bytes,2,opt"` +} + +func (x *ChannelMeta) GetFromUin() uint64 { + if x != nil && x.FromUin != nil { + return *x.FromUin + } + return 0 +} + +func (x *ChannelMeta) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelMsgContent struct { + Head *ChannelMsgHead `protobuf:"bytes,1,opt"` + CtrlHead *ChannelMsgCtrlHead `protobuf:"bytes,2,opt"` + Body *msg.MessageBody `protobuf:"bytes,3,opt"` + ExtInfo *ChannelExtInfo `protobuf:"bytes,4,opt"` +} + +func (x *ChannelMsgContent) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelMsgCtrlHead struct { + IncludeUin []uint64 `protobuf:"varint,1,rep"` + ExcludeUin []uint64 `protobuf:"varint,2,rep"` + Featureid []uint64 `protobuf:"varint,3,rep"` + OfflineFlag *uint32 `protobuf:"varint,4,opt"` + Visibility *uint32 `protobuf:"varint,5,opt"` + CtrlFlag *uint64 `protobuf:"varint,6,opt"` + Events []*ChannelEvent `protobuf:"bytes,7,rep"` + Level *uint64 `protobuf:"varint,8,opt"` + PersonalLevels []*PersonalLevel `protobuf:"bytes,9,rep"` + GuildSyncSeq *uint64 `protobuf:"varint,10,opt"` + MemberNum *uint32 `protobuf:"varint,11,opt"` + ChannelType *uint32 `protobuf:"varint,12,opt"` + PrivateType *uint32 `protobuf:"varint,13,opt"` +} + +func (x *ChannelMsgCtrlHead) GetOfflineFlag() uint32 { + if x != nil && x.OfflineFlag != nil { + return *x.OfflineFlag + } + return 0 +} + +func (x *ChannelMsgCtrlHead) GetVisibility() uint32 { + if x != nil && x.Visibility != nil { + return *x.Visibility + } + return 0 +} + +func (x *ChannelMsgCtrlHead) GetCtrlFlag() uint64 { + if x != nil && x.CtrlFlag != nil { + return *x.CtrlFlag + } + return 0 +} + +func (x *ChannelMsgCtrlHead) GetLevel() uint64 { + if x != nil && x.Level != nil { + return *x.Level + } + return 0 +} + +func (x *ChannelMsgCtrlHead) GetGuildSyncSeq() uint64 { + if x != nil && x.GuildSyncSeq != nil { + return *x.GuildSyncSeq + } + return 0 +} + +func (x *ChannelMsgCtrlHead) GetMemberNum() uint32 { + if x != nil && x.MemberNum != nil { + return *x.MemberNum + } + return 0 +} + +func (x *ChannelMsgCtrlHead) GetChannelType() uint32 { + if x != nil && x.ChannelType != nil { + return *x.ChannelType + } + return 0 +} + +func (x *ChannelMsgCtrlHead) GetPrivateType() uint32 { + if x != nil && x.PrivateType != nil { + return *x.PrivateType + } + return 0 +} + +func (x *ChannelMsgCtrlHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelMsgHead struct { + RoutingHead *ChannelRoutingHead `protobuf:"bytes,1,opt"` + ContentHead *ChannelContentHead `protobuf:"bytes,2,opt"` +} + +func (x *ChannelMsgHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelMsgMeta struct { + AtAllSeq *uint64 `protobuf:"varint,1,opt"` +} + +func (x *ChannelMsgMeta) GetAtAllSeq() uint64 { + if x != nil && x.AtAllSeq != nil { + return *x.AtAllSeq + } + return 0 +} + +func (x *ChannelMsgMeta) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelMsgOpInfo struct { + OperatorTinyid *uint64 `protobuf:"varint,1,opt"` + OperatorRole *uint64 `protobuf:"varint,2,opt"` + Reason *uint64 `protobuf:"varint,3,opt"` + Timestamp *uint64 `protobuf:"varint,4,opt"` + AtType *uint64 `protobuf:"varint,5,opt"` +} + +func (x *ChannelMsgOpInfo) GetOperatorTinyid() uint64 { + if x != nil && x.OperatorTinyid != nil { + return *x.OperatorTinyid + } + return 0 +} + +func (x *ChannelMsgOpInfo) GetOperatorRole() uint64 { + if x != nil && x.OperatorRole != nil { + return *x.OperatorRole + } + return 0 +} + +func (x *ChannelMsgOpInfo) GetReason() uint64 { + if x != nil && x.Reason != nil { + return *x.Reason + } + return 0 +} + +func (x *ChannelMsgOpInfo) GetTimestamp() uint64 { + if x != nil && x.Timestamp != nil { + return *x.Timestamp + } + return 0 +} + +func (x *ChannelMsgOpInfo) GetAtType() uint64 { + if x != nil && x.AtType != nil { + return *x.AtType + } + return 0 +} + +func (x *ChannelMsgOpInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelRole struct { + Id *uint64 `protobuf:"varint,1,opt"` + Info []byte `protobuf:"bytes,2,opt"` + Flag *uint32 `protobuf:"varint,3,opt"` +} + +func (x *ChannelRole) GetId() uint64 { + if x != nil && x.Id != nil { + return *x.Id + } + return 0 +} + +func (x *ChannelRole) GetFlag() uint32 { + if x != nil && x.Flag != nil { + return *x.Flag + } + return 0 +} + +func (x *ChannelRole) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelRoutingHead struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + ChannelId *uint64 `protobuf:"varint,2,opt"` + FromUin *uint64 `protobuf:"varint,3,opt"` + FromTinyid *uint64 `protobuf:"varint,4,opt"` + GuildCode *uint64 `protobuf:"varint,5,opt"` + FromAppid *uint64 `protobuf:"varint,6,opt"` + DirectMessageFlag *uint32 `protobuf:"varint,7,opt"` +} + +func (x *ChannelRoutingHead) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *ChannelRoutingHead) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *ChannelRoutingHead) GetFromUin() uint64 { + if x != nil && x.FromUin != nil { + return *x.FromUin + } + return 0 +} + +func (x *ChannelRoutingHead) GetFromTinyid() uint64 { + if x != nil && x.FromTinyid != nil { + return *x.FromTinyid + } + return 0 +} + +func (x *ChannelRoutingHead) GetGuildCode() uint64 { + if x != nil && x.GuildCode != nil { + return *x.GuildCode + } + return 0 +} + +func (x *ChannelRoutingHead) GetFromAppid() uint64 { + if x != nil && x.FromAppid != nil { + return *x.FromAppid + } + return 0 +} + +func (x *ChannelRoutingHead) GetDirectMessageFlag() uint32 { + if x != nil && x.DirectMessageFlag != nil { + return *x.DirectMessageFlag + } + return 0 +} + +func (x *ChannelRoutingHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type DirectMessageMember struct { + Uin *uint64 `protobuf:"varint,1,opt"` + Tinyid *uint64 `protobuf:"varint,2,opt"` + SourceGuildId *uint64 `protobuf:"varint,3,opt"` + SourceGuildName []byte `protobuf:"bytes,4,opt"` + NickName []byte `protobuf:"bytes,5,opt"` + MemberName []byte `protobuf:"bytes,6,opt"` + NotifyType *uint32 `protobuf:"varint,7,opt"` +} + +func (x *DirectMessageMember) GetUin() uint64 { + if x != nil && x.Uin != nil { + return *x.Uin + } + return 0 +} + +func (x *DirectMessageMember) GetTinyid() uint64 { + if x != nil && x.Tinyid != nil { + return *x.Tinyid + } + return 0 +} + +func (x *DirectMessageMember) GetSourceGuildId() uint64 { + if x != nil && x.SourceGuildId != nil { + return *x.SourceGuildId + } + return 0 +} + +func (x *DirectMessageMember) GetNotifyType() uint32 { + if x != nil && x.NotifyType != nil { + return *x.NotifyType + } + return 0 +} + +func (x *DirectMessageMember) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PersonalLevel struct { + ToUin *uint64 `protobuf:"varint,1,opt"` + Level *uint64 `protobuf:"varint,2,opt"` +} + +func (x *PersonalLevel) GetToUin() uint64 { + if x != nil && x.ToUin != nil { + return *x.ToUin + } + return 0 +} + +func (x *PersonalLevel) GetLevel() uint64 { + if x != nil && x.Level != nil { + return *x.Level + } + return 0 +} + +func (x *PersonalLevel) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} diff --git a/internal/protobuf/data/channel/msgpush.pb.go b/internal/protobuf/data/channel/msgpush.pb.go new file mode 100644 index 00000000..a7217c4e --- /dev/null +++ b/internal/protobuf/data/channel/msgpush.pb.go @@ -0,0 +1,115 @@ +// Code generated by yaprotoc. DO NOT EDIT. +// source: channel/msgpush.proto + +package channel + +import ( + "github.com/pkg/errors" + "github.com/segmentio/encoding/proto" +) + +type FocusInfo struct { + ChannelIdList []uint64 `protobuf:"varint,1,rep"` +} + +func (x *FocusInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgOnlinePush struct { + Msgs []*ChannelMsgContent `protobuf:"bytes,1,rep"` + GeneralFlag *uint32 `protobuf:"varint,2,opt"` + NeedResp *uint32 `protobuf:"varint,3,opt"` + ServerBuf []byte `protobuf:"bytes,4,opt"` + CompressFlag *uint32 `protobuf:"varint,5,opt"` + CompressMsg []byte `protobuf:"bytes,6,opt"` + FocusInfo *FocusInfo `protobuf:"bytes,7,opt"` + HugeFlag *uint32 `protobuf:"varint,8,opt"` +} + +func (x *MsgOnlinePush) GetGeneralFlag() uint32 { + if x != nil && x.GeneralFlag != nil { + return *x.GeneralFlag + } + return 0 +} + +func (x *MsgOnlinePush) GetNeedResp() uint32 { + if x != nil && x.NeedResp != nil { + return *x.NeedResp + } + return 0 +} + +func (x *MsgOnlinePush) GetCompressFlag() uint32 { + if x != nil && x.CompressFlag != nil { + return *x.CompressFlag + } + return 0 +} + +func (x *MsgOnlinePush) GetHugeFlag() uint32 { + if x != nil && x.HugeFlag != nil { + return *x.HugeFlag + } + return 0 +} + +func (x *MsgOnlinePush) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgPushResp struct { + ServerBuf []byte `protobuf:"bytes,1,opt"` +} + +func (x *MsgPushResp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PressMsg struct { + Msgs []*ChannelMsgContent `protobuf:"bytes,1,rep"` +} + +func (x *PressMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ServerBuf struct { + SvrIp *uint32 `protobuf:"varint,1,opt"` + SvrPort *uint32 `protobuf:"varint,2,opt"` + EchoKey []byte `protobuf:"bytes,3,opt"` +} + +func (x *ServerBuf) GetSvrIp() uint32 { + if x != nil && x.SvrIp != nil { + return *x.SvrIp + } + return 0 +} + +func (x *ServerBuf) GetSvrPort() uint32 { + if x != nil && x.SvrPort != nil { + return *x.SvrPort + } + return 0 +} + +func (x *ServerBuf) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} diff --git a/internal/protobuf/data/channel/oidb0xf62.pb.go b/internal/protobuf/data/channel/oidb0xf62.pb.go new file mode 100644 index 00000000..7611b17e --- /dev/null +++ b/internal/protobuf/data/channel/oidb0xf62.pb.go @@ -0,0 +1,86 @@ +// Code generated by yaprotoc. DO NOT EDIT. +// source: channel/oidb0xf62.proto + +package channel + +import ( + "github.com/pkg/errors" + "github.com/segmentio/encoding/proto" +) + +type DF62ReqBody struct { + Msg *ChannelMsgContent `protobuf:"bytes,1,opt"` +} + +func (x *DF62ReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type DF62RspBody struct { + Result *uint32 `protobuf:"varint,1,opt"` + Errmsg []byte `protobuf:"bytes,2,opt"` + SendTime *uint32 `protobuf:"varint,3,opt"` + Head *ChannelMsgHead `protobuf:"bytes,4,opt"` + ErrType *uint32 `protobuf:"varint,5,opt"` + TransSvrInfo *TransSvrInfo `protobuf:"bytes,6,opt"` + FreqLimitInfo *ChannelFreqLimitInfo `protobuf:"bytes,7,opt"` +} + +func (x *DF62RspBody) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *DF62RspBody) GetSendTime() uint32 { + if x != nil && x.SendTime != nil { + return *x.SendTime + } + return 0 +} + +func (x *DF62RspBody) GetErrType() uint32 { + if x != nil && x.ErrType != nil { + return *x.ErrType + } + return 0 +} + +func (x *DF62RspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type TransSvrInfo struct { + SubType *uint32 `protobuf:"varint,1,opt"` + RetCode *int32 `protobuf:"varint,2,opt"` + ErrMsg []byte `protobuf:"bytes,3,opt"` + TransInfo []byte `protobuf:"bytes,4,opt"` +} + +func (x *TransSvrInfo) GetSubType() uint32 { + if x != nil && x.SubType != nil { + return *x.SubType + } + return 0 +} + +func (x *TransSvrInfo) GetRetCode() int32 { + if x != nil && x.RetCode != nil { + return *x.RetCode + } + return 0 +} + +func (x *TransSvrInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} diff --git a/internal/protobuf/data/channel/servtype.pb.go b/internal/protobuf/data/channel/servtype.pb.go new file mode 100644 index 00000000..0d33ddfb --- /dev/null +++ b/internal/protobuf/data/channel/servtype.pb.go @@ -0,0 +1,1578 @@ +// Code generated by yaprotoc. DO NOT EDIT. +// source: channel/servtype.proto + +package channel + +import ( + "github.com/pkg/errors" + "github.com/segmentio/encoding/proto" +) + +type AppChannelMsg struct { + Summary *string `protobuf:"bytes,1,opt"` + Msg *string `protobuf:"bytes,2,opt"` + ExpireTimeMs *uint64 `protobuf:"varint,3,opt"` + SchemaType *uint32 `protobuf:"varint,4,opt"` + Schema *string `protobuf:"bytes,5,opt"` +} + +func (x *AppChannelMsg) GetSummary() string { + if x != nil && x.Summary != nil { + return *x.Summary + } + return "" +} + +func (x *AppChannelMsg) GetMsg() string { + if x != nil && x.Msg != nil { + return *x.Msg + } + return "" +} + +func (x *AppChannelMsg) GetExpireTimeMs() uint64 { + if x != nil && x.ExpireTimeMs != nil { + return *x.ExpireTimeMs + } + return 0 +} + +func (x *AppChannelMsg) GetSchemaType() uint32 { + if x != nil && x.SchemaType != nil { + return *x.SchemaType + } + return 0 +} + +func (x *AppChannelMsg) GetSchema() string { + if x != nil && x.Schema != nil { + return *x.Schema + } + return "" +} + +func (x *AppChannelMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type CategoryChannelInfo struct { + ChannelIndex *uint32 `protobuf:"varint,1,opt"` + ChannelId *uint64 `protobuf:"varint,2,opt"` +} + +func (x *CategoryChannelInfo) GetChannelIndex() uint32 { + if x != nil && x.ChannelIndex != nil { + return *x.ChannelIndex + } + return 0 +} + +func (x *CategoryChannelInfo) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *CategoryChannelInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type CategoryInfo struct { + CategoryIndex *uint32 `protobuf:"varint,1,opt"` + ChannelInfo []*CategoryChannelInfo `protobuf:"bytes,2,rep"` + CategoryName []byte `protobuf:"bytes,3,opt"` + CategoryId *uint64 `protobuf:"varint,4,opt"` +} + +func (x *CategoryInfo) GetCategoryIndex() uint32 { + if x != nil && x.CategoryIndex != nil { + return *x.CategoryIndex + } + return 0 +} + +func (x *CategoryInfo) GetCategoryId() uint64 { + if x != nil && x.CategoryId != nil { + return *x.CategoryId + } + return 0 +} + +func (x *CategoryInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChanInfoFilter struct { + ChannelName *uint32 `protobuf:"varint,2,opt"` + CreatorId *uint32 `protobuf:"varint,3,opt"` + CreateTime *uint32 `protobuf:"varint,4,opt"` + GuildId *uint32 `protobuf:"varint,5,opt"` + MsgNotifyType *uint32 `protobuf:"varint,6,opt"` + ChannelType *uint32 `protobuf:"varint,7,opt"` + SpeakPermission *uint32 `protobuf:"varint,8,opt"` + LastMsgSeq *uint32 `protobuf:"varint,11,opt"` + LastCntMsgSeq *uint32 `protobuf:"varint,12,opt"` + VoiceChannelInfoFilter *VoiceChannelInfoFilter `protobuf:"bytes,14,opt"` + LiveChannelInfoFilter *LiveChannelInfoFilter `protobuf:"bytes,15,opt"` + BannedSpeak *uint32 `protobuf:"varint,16,opt"` +} + +func (x *ChanInfoFilter) GetChannelName() uint32 { + if x != nil && x.ChannelName != nil { + return *x.ChannelName + } + return 0 +} + +func (x *ChanInfoFilter) GetCreatorId() uint32 { + if x != nil && x.CreatorId != nil { + return *x.CreatorId + } + return 0 +} + +func (x *ChanInfoFilter) GetCreateTime() uint32 { + if x != nil && x.CreateTime != nil { + return *x.CreateTime + } + return 0 +} + +func (x *ChanInfoFilter) GetGuildId() uint32 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *ChanInfoFilter) GetMsgNotifyType() uint32 { + if x != nil && x.MsgNotifyType != nil { + return *x.MsgNotifyType + } + return 0 +} + +func (x *ChanInfoFilter) GetChannelType() uint32 { + if x != nil && x.ChannelType != nil { + return *x.ChannelType + } + return 0 +} + +func (x *ChanInfoFilter) GetSpeakPermission() uint32 { + if x != nil && x.SpeakPermission != nil { + return *x.SpeakPermission + } + return 0 +} + +func (x *ChanInfoFilter) GetLastMsgSeq() uint32 { + if x != nil && x.LastMsgSeq != nil { + return *x.LastMsgSeq + } + return 0 +} + +func (x *ChanInfoFilter) GetLastCntMsgSeq() uint32 { + if x != nil && x.LastCntMsgSeq != nil { + return *x.LastCntMsgSeq + } + return 0 +} + +func (x *ChanInfoFilter) GetBannedSpeak() uint32 { + if x != nil && x.BannedSpeak != nil { + return *x.BannedSpeak + } + return 0 +} + +func (x *ChanInfoFilter) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChangeChanInfo struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + ChanId *uint64 `protobuf:"varint,2,opt"` + OperatorId *uint64 `protobuf:"varint,3,opt"` + InfoSeq *MsgSeq `protobuf:"bytes,4,opt"` + UpdateType *uint32 `protobuf:"varint,5,opt"` + ChanInfoFilter *ChanInfoFilter `protobuf:"bytes,6,opt"` + ChanInfo *ServChannelInfo `protobuf:"bytes,7,opt"` +} + +func (x *ChangeChanInfo) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *ChangeChanInfo) GetChanId() uint64 { + if x != nil && x.ChanId != nil { + return *x.ChanId + } + return 0 +} + +func (x *ChangeChanInfo) GetOperatorId() uint64 { + if x != nil && x.OperatorId != nil { + return *x.OperatorId + } + return 0 +} + +func (x *ChangeChanInfo) GetUpdateType() uint32 { + if x != nil && x.UpdateType != nil { + return *x.UpdateType + } + return 0 +} + +func (x *ChangeChanInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChangeGuildInfo struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + OperatorId *uint64 `protobuf:"varint,2,opt"` + InfoSeq *MsgSeq `protobuf:"bytes,3,opt"` + FaceSeq *MsgSeq `protobuf:"bytes,4,opt"` + UpdateType *uint32 `protobuf:"varint,5,opt"` + GuildInfoFilter *GuildInfoFilter `protobuf:"bytes,6,opt"` + GuildInfo *GuildInfo `protobuf:"bytes,7,opt"` +} + +func (x *ChangeGuildInfo) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *ChangeGuildInfo) GetOperatorId() uint64 { + if x != nil && x.OperatorId != nil { + return *x.OperatorId + } + return 0 +} + +func (x *ChangeGuildInfo) GetUpdateType() uint32 { + if x != nil && x.UpdateType != nil { + return *x.UpdateType + } + return 0 +} + +func (x *ChangeGuildInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelID struct { + ChanId *uint64 `protobuf:"varint,1,opt"` +} + +func (x *ChannelID) GetChanId() uint64 { + if x != nil && x.ChanId != nil { + return *x.ChanId + } + return 0 +} + +func (x *ChannelID) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type CommGrayTips struct { + BusiType *uint64 `protobuf:"varint,1,opt"` + BusiId *uint64 `protobuf:"varint,2,opt"` + CtrlFlag *uint32 `protobuf:"varint,3,opt"` + TemplId *uint64 `protobuf:"varint,4,opt"` + TemplParam []*CommGrayTips_TemplParam `protobuf:"bytes,5,rep"` + Content []byte `protobuf:"bytes,6,opt"` + TipsSeqId *uint64 `protobuf:"varint,10,opt"` + PbReserv []byte `protobuf:"bytes,100,opt"` +} + +func (x *CommGrayTips) GetBusiType() uint64 { + if x != nil && x.BusiType != nil { + return *x.BusiType + } + return 0 +} + +func (x *CommGrayTips) GetBusiId() uint64 { + if x != nil && x.BusiId != nil { + return *x.BusiId + } + return 0 +} + +func (x *CommGrayTips) GetCtrlFlag() uint32 { + if x != nil && x.CtrlFlag != nil { + return *x.CtrlFlag + } + return 0 +} + +func (x *CommGrayTips) GetTemplId() uint64 { + if x != nil && x.TemplId != nil { + return *x.TemplId + } + return 0 +} + +func (x *CommGrayTips) GetTipsSeqId() uint64 { + if x != nil && x.TipsSeqId != nil { + return *x.TipsSeqId + } + return 0 +} + +func (x *CommGrayTips) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type CreateChan struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + OperatorId *uint64 `protobuf:"varint,3,opt"` + CreateId []*ChannelID `protobuf:"bytes,4,rep"` +} + +func (x *CreateChan) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *CreateChan) GetOperatorId() uint64 { + if x != nil && x.OperatorId != nil { + return *x.OperatorId + } + return 0 +} + +func (x *CreateChan) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type CreateGuild struct { + OperatorId *uint64 `protobuf:"varint,1,opt"` + GuildId *uint64 `protobuf:"varint,2,opt"` +} + +func (x *CreateGuild) GetOperatorId() uint64 { + if x != nil && x.OperatorId != nil { + return *x.OperatorId + } + return 0 +} + +func (x *CreateGuild) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *CreateGuild) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type DestroyChan struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + OperatorId *uint64 `protobuf:"varint,3,opt"` + DeleteId []*ChannelID `protobuf:"bytes,4,rep"` +} + +func (x *DestroyChan) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *DestroyChan) GetOperatorId() uint64 { + if x != nil && x.OperatorId != nil { + return *x.OperatorId + } + return 0 +} + +func (x *DestroyChan) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type DestroyGuild struct { + OperatorId *uint64 `protobuf:"varint,1,opt"` + GuildId *uint64 `protobuf:"varint,2,opt"` +} + +func (x *DestroyGuild) GetOperatorId() uint64 { + if x != nil && x.OperatorId != nil { + return *x.OperatorId + } + return 0 +} + +func (x *DestroyGuild) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *DestroyGuild) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type EventBody struct { + ReadNotify *ReadNotify `protobuf:"bytes,1,opt"` + CommGrayTips *CommGrayTips `protobuf:"bytes,2,opt"` + CreateGuild *CreateGuild `protobuf:"bytes,3,opt"` + DestroyGuild *DestroyGuild `protobuf:"bytes,4,opt"` + JoinGuild *JoinGuild `protobuf:"bytes,5,opt"` + KickOffGuild *KickOffGuild `protobuf:"bytes,6,opt"` + QuitGuild *QuitGuild `protobuf:"bytes,7,opt"` + ChangeGuildInfo *ChangeGuildInfo `protobuf:"bytes,8,opt"` + CreateChan *CreateChan `protobuf:"bytes,9,opt"` + DestroyChan *DestroyChan `protobuf:"bytes,10,opt"` + ChangeChanInfo *ChangeChanInfo `protobuf:"bytes,11,opt"` + SetAdmin *SetAdmin `protobuf:"bytes,12,opt"` + SetMsgRecvType *SetMsgRecvType `protobuf:"bytes,13,opt"` + UpdateMsg *UpdateMsg `protobuf:"bytes,14,opt"` + SetTop *SetTop `protobuf:"bytes,17,opt"` + SwitchChannel *SwitchVoiceChannel `protobuf:"bytes,18,opt"` + UpdateCategory *UpdateCategory `protobuf:"bytes,21,opt"` + UpdateVoiceBlockList *UpdateVoiceBlockList `protobuf:"bytes,22,opt"` + SetMute *SetMute `protobuf:"bytes,23,opt"` + LiveStatusChangeRoom *LiveRoomStatusChangeMsg `protobuf:"bytes,24,opt"` + SwitchLiveRoom *SwitchLiveRoom `protobuf:"bytes,25,opt"` + Events []*MsgEvent `protobuf:"bytes,39,rep"` + Scheduler *SchedulerMsg `protobuf:"bytes,40,opt"` + AppChannel *AppChannelMsg `protobuf:"bytes,41,opt"` + WeakMsgAppChannel *AppChannelMsg `protobuf:"bytes,46,opt"` +} + +func (x *EventBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GroupProStatus struct { + IsEnable *uint32 `protobuf:"varint,1,opt"` + IsBanned *uint32 `protobuf:"varint,2,opt"` + IsFrozen *uint32 `protobuf:"varint,3,opt"` +} + +func (x *GroupProStatus) GetIsEnable() uint32 { + if x != nil && x.IsEnable != nil { + return *x.IsEnable + } + return 0 +} + +func (x *GroupProStatus) GetIsBanned() uint32 { + if x != nil && x.IsBanned != nil { + return *x.IsBanned + } + return 0 +} + +func (x *GroupProStatus) GetIsFrozen() uint32 { + if x != nil && x.IsFrozen != nil { + return *x.IsFrozen + } + return 0 +} + +func (x *GroupProStatus) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildInfo struct { + GuildCode *uint64 `protobuf:"varint,2,opt"` + OwnerId *uint64 `protobuf:"varint,3,opt"` + CreateTime *uint64 `protobuf:"varint,4,opt"` + MemberMaxNum *uint32 `protobuf:"varint,5,opt"` + MemberNum *uint32 `protobuf:"varint,6,opt"` + GuildType *uint32 `protobuf:"varint,7,opt"` + GuildName []byte `protobuf:"bytes,8,opt"` + RobotList []uint64 `protobuf:"varint,9,rep"` + AdminList []uint64 `protobuf:"varint,10,rep"` + RobotMaxNum *uint32 `protobuf:"varint,11,opt"` + AdminMaxNum *uint32 `protobuf:"varint,12,opt"` + Profile []byte `protobuf:"bytes,13,opt"` + FaceSeq *uint64 `protobuf:"varint,14,opt"` + GuildStatus *GroupProStatus `protobuf:"bytes,15,opt"` + ChannelNum *uint32 `protobuf:"varint,16,opt"` + MemberChangeSeq *MsgSeq `protobuf:"bytes,5002,opt"` + GuildInfoChangeSeq *MsgSeq `protobuf:"bytes,5003,opt"` + ChannelChangeSeq *MsgSeq `protobuf:"bytes,5004,opt"` +} + +func (x *GuildInfo) GetGuildCode() uint64 { + if x != nil && x.GuildCode != nil { + return *x.GuildCode + } + return 0 +} + +func (x *GuildInfo) GetOwnerId() uint64 { + if x != nil && x.OwnerId != nil { + return *x.OwnerId + } + return 0 +} + +func (x *GuildInfo) GetCreateTime() uint64 { + if x != nil && x.CreateTime != nil { + return *x.CreateTime + } + return 0 +} + +func (x *GuildInfo) GetMemberMaxNum() uint32 { + if x != nil && x.MemberMaxNum != nil { + return *x.MemberMaxNum + } + return 0 +} + +func (x *GuildInfo) GetMemberNum() uint32 { + if x != nil && x.MemberNum != nil { + return *x.MemberNum + } + return 0 +} + +func (x *GuildInfo) GetGuildType() uint32 { + if x != nil && x.GuildType != nil { + return *x.GuildType + } + return 0 +} + +func (x *GuildInfo) GetRobotMaxNum() uint32 { + if x != nil && x.RobotMaxNum != nil { + return *x.RobotMaxNum + } + return 0 +} + +func (x *GuildInfo) GetAdminMaxNum() uint32 { + if x != nil && x.AdminMaxNum != nil { + return *x.AdminMaxNum + } + return 0 +} + +func (x *GuildInfo) GetFaceSeq() uint64 { + if x != nil && x.FaceSeq != nil { + return *x.FaceSeq + } + return 0 +} + +func (x *GuildInfo) GetChannelNum() uint32 { + if x != nil && x.ChannelNum != nil { + return *x.ChannelNum + } + return 0 +} + +func (x *GuildInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildInfoFilter struct { + GuildCode *uint32 `protobuf:"varint,2,opt"` + OwnerId *uint32 `protobuf:"varint,3,opt"` + CreateTime *uint32 `protobuf:"varint,4,opt"` + MemberMaxNum *uint32 `protobuf:"varint,5,opt"` + MemberNum *uint32 `protobuf:"varint,6,opt"` + GuildType *uint32 `protobuf:"varint,7,opt"` + GuildName *uint32 `protobuf:"varint,8,opt"` + RobotList *uint32 `protobuf:"varint,9,opt"` + AdminList *uint32 `protobuf:"varint,10,opt"` + RobotMaxNum *uint32 `protobuf:"varint,11,opt"` + AdminMaxNum *uint32 `protobuf:"varint,12,opt"` + Profile *uint32 `protobuf:"varint,13,opt"` + FaceSeq *uint32 `protobuf:"varint,14,opt"` + GuildStatus *uint32 `protobuf:"varint,15,opt"` + ChannelNum *uint32 `protobuf:"varint,16,opt"` + MemberChangeSeq *uint32 `protobuf:"varint,5002,opt"` + GuildInfoChangeSeq *uint32 `protobuf:"varint,5003,opt"` + ChannelChangeSeq *uint32 `protobuf:"varint,5004,opt"` +} + +func (x *GuildInfoFilter) GetGuildCode() uint32 { + if x != nil && x.GuildCode != nil { + return *x.GuildCode + } + return 0 +} + +func (x *GuildInfoFilter) GetOwnerId() uint32 { + if x != nil && x.OwnerId != nil { + return *x.OwnerId + } + return 0 +} + +func (x *GuildInfoFilter) GetCreateTime() uint32 { + if x != nil && x.CreateTime != nil { + return *x.CreateTime + } + return 0 +} + +func (x *GuildInfoFilter) GetMemberMaxNum() uint32 { + if x != nil && x.MemberMaxNum != nil { + return *x.MemberMaxNum + } + return 0 +} + +func (x *GuildInfoFilter) GetMemberNum() uint32 { + if x != nil && x.MemberNum != nil { + return *x.MemberNum + } + return 0 +} + +func (x *GuildInfoFilter) GetGuildType() uint32 { + if x != nil && x.GuildType != nil { + return *x.GuildType + } + return 0 +} + +func (x *GuildInfoFilter) GetGuildName() uint32 { + if x != nil && x.GuildName != nil { + return *x.GuildName + } + return 0 +} + +func (x *GuildInfoFilter) GetRobotList() uint32 { + if x != nil && x.RobotList != nil { + return *x.RobotList + } + return 0 +} + +func (x *GuildInfoFilter) GetAdminList() uint32 { + if x != nil && x.AdminList != nil { + return *x.AdminList + } + return 0 +} + +func (x *GuildInfoFilter) GetRobotMaxNum() uint32 { + if x != nil && x.RobotMaxNum != nil { + return *x.RobotMaxNum + } + return 0 +} + +func (x *GuildInfoFilter) GetAdminMaxNum() uint32 { + if x != nil && x.AdminMaxNum != nil { + return *x.AdminMaxNum + } + return 0 +} + +func (x *GuildInfoFilter) GetProfile() uint32 { + if x != nil && x.Profile != nil { + return *x.Profile + } + return 0 +} + +func (x *GuildInfoFilter) GetFaceSeq() uint32 { + if x != nil && x.FaceSeq != nil { + return *x.FaceSeq + } + return 0 +} + +func (x *GuildInfoFilter) GetGuildStatus() uint32 { + if x != nil && x.GuildStatus != nil { + return *x.GuildStatus + } + return 0 +} + +func (x *GuildInfoFilter) GetChannelNum() uint32 { + if x != nil && x.ChannelNum != nil { + return *x.ChannelNum + } + return 0 +} + +func (x *GuildInfoFilter) GetMemberChangeSeq() uint32 { + if x != nil && x.MemberChangeSeq != nil { + return *x.MemberChangeSeq + } + return 0 +} + +func (x *GuildInfoFilter) GetGuildInfoChangeSeq() uint32 { + if x != nil && x.GuildInfoChangeSeq != nil { + return *x.GuildInfoChangeSeq + } + return 0 +} + +func (x *GuildInfoFilter) GetChannelChangeSeq() uint32 { + if x != nil && x.ChannelChangeSeq != nil { + return *x.ChannelChangeSeq + } + return 0 +} + +func (x *GuildInfoFilter) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type JoinGuild struct { + MemberId *uint64 `protobuf:"varint,3,opt"` + MemberType *uint32 `protobuf:"varint,4,opt"` + MemberTinyid *uint64 `protobuf:"varint,5,opt"` +} + +func (x *JoinGuild) GetMemberId() uint64 { + if x != nil && x.MemberId != nil { + return *x.MemberId + } + return 0 +} + +func (x *JoinGuild) GetMemberType() uint32 { + if x != nil && x.MemberType != nil { + return *x.MemberType + } + return 0 +} + +func (x *JoinGuild) GetMemberTinyid() uint64 { + if x != nil && x.MemberTinyid != nil { + return *x.MemberTinyid + } + return 0 +} + +func (x *JoinGuild) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type KickOffGuild struct { + MemberId *uint64 `protobuf:"varint,3,opt"` + SetBlack *uint32 `protobuf:"varint,4,opt"` + MemberTinyid *uint64 `protobuf:"varint,5,opt"` +} + +func (x *KickOffGuild) GetMemberId() uint64 { + if x != nil && x.MemberId != nil { + return *x.MemberId + } + return 0 +} + +func (x *KickOffGuild) GetSetBlack() uint32 { + if x != nil && x.SetBlack != nil { + return *x.SetBlack + } + return 0 +} + +func (x *KickOffGuild) GetMemberTinyid() uint64 { + if x != nil && x.MemberTinyid != nil { + return *x.MemberTinyid + } + return 0 +} + +func (x *KickOffGuild) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type LiveChannelInfo struct { + RoomId *uint64 `protobuf:"varint,1,opt"` + AnchorUin *uint64 `protobuf:"varint,2,opt"` + Name []byte `protobuf:"bytes,3,opt"` +} + +func (x *LiveChannelInfo) GetRoomId() uint64 { + if x != nil && x.RoomId != nil { + return *x.RoomId + } + return 0 +} + +func (x *LiveChannelInfo) GetAnchorUin() uint64 { + if x != nil && x.AnchorUin != nil { + return *x.AnchorUin + } + return 0 +} + +func (x *LiveChannelInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type LiveChannelInfoFilter struct { + IsNeedRoomId *uint32 `protobuf:"varint,1,opt"` + IsNeedAnchorUin *uint32 `protobuf:"varint,2,opt"` + IsNeedName *uint32 `protobuf:"varint,3,opt"` +} + +func (x *LiveChannelInfoFilter) GetIsNeedRoomId() uint32 { + if x != nil && x.IsNeedRoomId != nil { + return *x.IsNeedRoomId + } + return 0 +} + +func (x *LiveChannelInfoFilter) GetIsNeedAnchorUin() uint32 { + if x != nil && x.IsNeedAnchorUin != nil { + return *x.IsNeedAnchorUin + } + return 0 +} + +func (x *LiveChannelInfoFilter) GetIsNeedName() uint32 { + if x != nil && x.IsNeedName != nil { + return *x.IsNeedName + } + return 0 +} + +func (x *LiveChannelInfoFilter) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type LiveRoomStatusChangeMsg struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + ChannelId *uint64 `protobuf:"varint,2,opt"` + RoomId *uint64 `protobuf:"varint,3,opt"` + AnchorTinyid *uint64 `protobuf:"varint,4,opt"` + Action *uint32 `protobuf:"varint,5,opt"` +} + +func (x *LiveRoomStatusChangeMsg) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *LiveRoomStatusChangeMsg) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *LiveRoomStatusChangeMsg) GetRoomId() uint64 { + if x != nil && x.RoomId != nil { + return *x.RoomId + } + return 0 +} + +func (x *LiveRoomStatusChangeMsg) GetAnchorTinyid() uint64 { + if x != nil && x.AnchorTinyid != nil { + return *x.AnchorTinyid + } + return 0 +} + +func (x *LiveRoomStatusChangeMsg) GetAction() uint32 { + if x != nil && x.Action != nil { + return *x.Action + } + return 0 +} + +func (x *LiveRoomStatusChangeMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgEvent struct { + Seq *uint64 `protobuf:"varint,1,opt"` + EventType *uint64 `protobuf:"varint,2,opt"` + EventVersion *uint64 `protobuf:"varint,3,opt"` +} + +func (x *MsgEvent) GetSeq() uint64 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *MsgEvent) GetEventType() uint64 { + if x != nil && x.EventType != nil { + return *x.EventType + } + return 0 +} + +func (x *MsgEvent) GetEventVersion() uint64 { + if x != nil && x.EventVersion != nil { + return *x.EventVersion + } + return 0 +} + +func (x *MsgEvent) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgSeq struct { + Seq *uint64 `protobuf:"varint,1,opt"` + Time *uint64 `protobuf:"varint,2,opt"` +} + +func (x *MsgSeq) GetSeq() uint64 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *MsgSeq) GetTime() uint64 { + if x != nil && x.Time != nil { + return *x.Time + } + return 0 +} + +func (x *MsgSeq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type QuitGuild struct { +} + +func (x *QuitGuild) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ReadNotify struct { + ChannelId *uint64 `protobuf:"varint,1,opt"` + GuildId *uint64 `protobuf:"varint,2,opt"` + ReadMsgSeq *MsgSeq `protobuf:"bytes,3,opt"` + ReadCntMsgSeq *MsgSeq `protobuf:"bytes,4,opt"` + ReadMsgMeta []byte `protobuf:"bytes,5,opt"` +} + +func (x *ReadNotify) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *ReadNotify) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *ReadNotify) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SchedulerMsg struct { + CreatorHeadUrl []byte `protobuf:"bytes,1,opt"` + Wording *string `protobuf:"bytes,2,opt"` + ExpireTimeMs *uint64 `protobuf:"varint,3,opt"` +} + +func (x *SchedulerMsg) GetWording() string { + if x != nil && x.Wording != nil { + return *x.Wording + } + return "" +} + +func (x *SchedulerMsg) GetExpireTimeMs() uint64 { + if x != nil && x.ExpireTimeMs != nil { + return *x.ExpireTimeMs + } + return 0 +} + +func (x *SchedulerMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ServChannelInfo struct { + ChannelId *uint64 `protobuf:"varint,1,opt"` + ChannelName []byte `protobuf:"bytes,2,opt"` + CreatorId *uint64 `protobuf:"varint,3,opt"` + CreateTime *uint64 `protobuf:"varint,4,opt"` + GuildId *uint64 `protobuf:"varint,5,opt"` + MsgNotifyType *uint32 `protobuf:"varint,6,opt"` + ChannelType *uint32 `protobuf:"varint,7,opt"` + SpeakPermission *uint32 `protobuf:"varint,8,opt"` + LastMsgSeq *MsgSeq `protobuf:"bytes,11,opt"` + LastCntMsgSeq *MsgSeq `protobuf:"bytes,12,opt"` + VoiceChannelInfo *VoiceChannelInfo `protobuf:"bytes,14,opt"` + LiveChannelInfo *LiveChannelInfo `protobuf:"bytes,15,opt"` + BannedSpeak *uint32 `protobuf:"varint,16,opt"` +} + +func (x *ServChannelInfo) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *ServChannelInfo) GetCreatorId() uint64 { + if x != nil && x.CreatorId != nil { + return *x.CreatorId + } + return 0 +} + +func (x *ServChannelInfo) GetCreateTime() uint64 { + if x != nil && x.CreateTime != nil { + return *x.CreateTime + } + return 0 +} + +func (x *ServChannelInfo) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *ServChannelInfo) GetMsgNotifyType() uint32 { + if x != nil && x.MsgNotifyType != nil { + return *x.MsgNotifyType + } + return 0 +} + +func (x *ServChannelInfo) GetChannelType() uint32 { + if x != nil && x.ChannelType != nil { + return *x.ChannelType + } + return 0 +} + +func (x *ServChannelInfo) GetSpeakPermission() uint32 { + if x != nil && x.SpeakPermission != nil { + return *x.SpeakPermission + } + return 0 +} + +func (x *ServChannelInfo) GetBannedSpeak() uint32 { + if x != nil && x.BannedSpeak != nil { + return *x.BannedSpeak + } + return 0 +} + +func (x *ServChannelInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SetAdmin struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + ChanId *uint64 `protobuf:"varint,2,opt"` + OperatorId *uint64 `protobuf:"varint,3,opt"` + AdminId *uint64 `protobuf:"varint,4,opt"` + AdminTinyid *uint64 `protobuf:"varint,5,opt"` + OperateType *uint32 `protobuf:"varint,6,opt"` +} + +func (x *SetAdmin) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *SetAdmin) GetChanId() uint64 { + if x != nil && x.ChanId != nil { + return *x.ChanId + } + return 0 +} + +func (x *SetAdmin) GetOperatorId() uint64 { + if x != nil && x.OperatorId != nil { + return *x.OperatorId + } + return 0 +} + +func (x *SetAdmin) GetAdminId() uint64 { + if x != nil && x.AdminId != nil { + return *x.AdminId + } + return 0 +} + +func (x *SetAdmin) GetAdminTinyid() uint64 { + if x != nil && x.AdminTinyid != nil { + return *x.AdminTinyid + } + return 0 +} + +func (x *SetAdmin) GetOperateType() uint32 { + if x != nil && x.OperateType != nil { + return *x.OperateType + } + return 0 +} + +func (x *SetAdmin) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SetMsgRecvType struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + ChanId *uint64 `protobuf:"varint,2,opt"` + OperatorId *uint64 `protobuf:"varint,3,opt"` + MsgNotifyType *uint32 `protobuf:"varint,4,opt"` +} + +func (x *SetMsgRecvType) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *SetMsgRecvType) GetChanId() uint64 { + if x != nil && x.ChanId != nil { + return *x.ChanId + } + return 0 +} + +func (x *SetMsgRecvType) GetOperatorId() uint64 { + if x != nil && x.OperatorId != nil { + return *x.OperatorId + } + return 0 +} + +func (x *SetMsgRecvType) GetMsgNotifyType() uint32 { + if x != nil && x.MsgNotifyType != nil { + return *x.MsgNotifyType + } + return 0 +} + +func (x *SetMsgRecvType) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SetMute struct { + Action *uint32 `protobuf:"varint,1,opt"` + TinyID *uint64 `protobuf:"varint,2,opt"` +} + +func (x *SetMute) GetAction() uint32 { + if x != nil && x.Action != nil { + return *x.Action + } + return 0 +} + +func (x *SetMute) GetTinyID() uint64 { + if x != nil && x.TinyID != nil { + return *x.TinyID + } + return 0 +} + +func (x *SetMute) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SetTop struct { + Action *uint32 `protobuf:"varint,1,opt"` +} + +func (x *SetTop) GetAction() uint32 { + if x != nil && x.Action != nil { + return *x.Action + } + return 0 +} + +func (x *SetTop) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SwitchDetail struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + ChannelId *uint64 `protobuf:"varint,2,opt"` + Platform *uint32 `protobuf:"varint,3,opt"` +} + +func (x *SwitchDetail) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *SwitchDetail) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *SwitchDetail) GetPlatform() uint32 { + if x != nil && x.Platform != nil { + return *x.Platform + } + return 0 +} + +func (x *SwitchDetail) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SwitchLiveRoom struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + ChannelId *uint64 `protobuf:"varint,2,opt"` + RoomId *uint64 `protobuf:"varint,3,opt"` + Tinyid *uint64 `protobuf:"varint,4,opt"` + Action *uint32 `protobuf:"varint,5,opt"` +} + +func (x *SwitchLiveRoom) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *SwitchLiveRoom) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *SwitchLiveRoom) GetRoomId() uint64 { + if x != nil && x.RoomId != nil { + return *x.RoomId + } + return 0 +} + +func (x *SwitchLiveRoom) GetTinyid() uint64 { + if x != nil && x.Tinyid != nil { + return *x.Tinyid + } + return 0 +} + +func (x *SwitchLiveRoom) GetAction() uint32 { + if x != nil && x.Action != nil { + return *x.Action + } + return 0 +} + +func (x *SwitchLiveRoom) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SwitchVoiceChannel struct { + MemberId *uint64 `protobuf:"varint,1,opt"` + EnterDetail *SwitchDetail `protobuf:"bytes,2,opt"` + LeaveDetail *SwitchDetail `protobuf:"bytes,3,opt"` +} + +func (x *SwitchVoiceChannel) GetMemberId() uint64 { + if x != nil && x.MemberId != nil { + return *x.MemberId + } + return 0 +} + +func (x *SwitchVoiceChannel) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type CommGrayTips_TemplParam struct { + Name []byte `protobuf:"bytes,1,opt"` + Value []byte `protobuf:"bytes,2,opt"` +} + +func (x *CommGrayTips_TemplParam) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type UpdateCategory struct { + CategoryInfo []*CategoryInfo `protobuf:"bytes,1,rep"` + NoClassifyCategoryInfo *CategoryInfo `protobuf:"bytes,2,opt"` +} + +func (x *UpdateCategory) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type UpdateMsg struct { + MsgSeq *uint64 `protobuf:"varint,1,opt"` + OrigMsgUncountable *bool `protobuf:"varint,2,opt"` + EventType *uint64 `protobuf:"varint,3,opt"` + EventVersion *uint64 `protobuf:"varint,4,opt"` + OperatorTinyid *uint64 `protobuf:"varint,5,opt"` + OperatorRole *uint64 `protobuf:"varint,6,opt"` + Reason *uint64 `protobuf:"varint,7,opt"` + Timestamp *uint64 `protobuf:"varint,8,opt"` +} + +func (x *UpdateMsg) GetMsgSeq() uint64 { + if x != nil && x.MsgSeq != nil { + return *x.MsgSeq + } + return 0 +} + +func (x *UpdateMsg) GetOrigMsgUncountable() bool { + if x != nil && x.OrigMsgUncountable != nil { + return *x.OrigMsgUncountable + } + return false +} + +func (x *UpdateMsg) GetEventType() uint64 { + if x != nil && x.EventType != nil { + return *x.EventType + } + return 0 +} + +func (x *UpdateMsg) GetEventVersion() uint64 { + if x != nil && x.EventVersion != nil { + return *x.EventVersion + } + return 0 +} + +func (x *UpdateMsg) GetOperatorTinyid() uint64 { + if x != nil && x.OperatorTinyid != nil { + return *x.OperatorTinyid + } + return 0 +} + +func (x *UpdateMsg) GetOperatorRole() uint64 { + if x != nil && x.OperatorRole != nil { + return *x.OperatorRole + } + return 0 +} + +func (x *UpdateMsg) GetReason() uint64 { + if x != nil && x.Reason != nil { + return *x.Reason + } + return 0 +} + +func (x *UpdateMsg) GetTimestamp() uint64 { + if x != nil && x.Timestamp != nil { + return *x.Timestamp + } + return 0 +} + +func (x *UpdateMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type UpdateVoiceBlockList struct { + Action *uint32 `protobuf:"varint,1,opt"` + ObjectTinyid *uint64 `protobuf:"varint,2,opt"` +} + +func (x *UpdateVoiceBlockList) GetAction() uint32 { + if x != nil && x.Action != nil { + return *x.Action + } + return 0 +} + +func (x *UpdateVoiceBlockList) GetObjectTinyid() uint64 { + if x != nil && x.ObjectTinyid != nil { + return *x.ObjectTinyid + } + return 0 +} + +func (x *UpdateVoiceBlockList) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type VoiceChannelInfo struct { + MemberMaxNum *uint32 `protobuf:"varint,1,opt"` +} + +func (x *VoiceChannelInfo) GetMemberMaxNum() uint32 { + if x != nil && x.MemberMaxNum != nil { + return *x.MemberMaxNum + } + return 0 +} + +func (x *VoiceChannelInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type VoiceChannelInfoFilter struct { + MemberMaxNum *uint32 `protobuf:"varint,1,opt"` +} + +func (x *VoiceChannelInfoFilter) GetMemberMaxNum() uint32 { + if x != nil && x.MemberMaxNum != nil { + return *x.MemberMaxNum + } + return 0 +} + +func (x *VoiceChannelInfoFilter) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} diff --git a/internal/protobuf/data/channel/synclogic.pb.go b/internal/protobuf/data/channel/synclogic.pb.go new file mode 100644 index 00000000..2a7b4cde --- /dev/null +++ b/internal/protobuf/data/channel/synclogic.pb.go @@ -0,0 +1,618 @@ +// Code generated by yaprotoc. DO NOT EDIT. +// source: channel/synclogic.proto + +package channel + +import ( + "github.com/pkg/errors" + "github.com/segmentio/encoding/proto" +) + +type ChannelMsg struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + ChannelId *uint64 `protobuf:"varint,2,opt"` + Result *uint32 `protobuf:"varint,3,opt"` + RspBeginSeq *uint64 `protobuf:"varint,4,opt"` + RspEndSeq *uint64 `protobuf:"varint,5,opt"` + Msgs []*ChannelMsgContent `protobuf:"bytes,6,rep"` +} + +func (x *ChannelMsg) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *ChannelMsg) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *ChannelMsg) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *ChannelMsg) GetRspBeginSeq() uint64 { + if x != nil && x.RspBeginSeq != nil { + return *x.RspBeginSeq + } + return 0 +} + +func (x *ChannelMsg) GetRspEndSeq() uint64 { + if x != nil && x.RspEndSeq != nil { + return *x.RspEndSeq + } + return 0 +} + +func (x *ChannelMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelMsgReq struct { + ChannelParam *ChannelParam `protobuf:"bytes,1,opt"` + WithVersionFlag *uint32 `protobuf:"varint,2,opt"` + DirectMessageFlag *uint32 `protobuf:"varint,3,opt"` +} + +func (x *ChannelMsgReq) GetWithVersionFlag() uint32 { + if x != nil && x.WithVersionFlag != nil { + return *x.WithVersionFlag + } + return 0 +} + +func (x *ChannelMsgReq) GetDirectMessageFlag() uint32 { + if x != nil && x.DirectMessageFlag != nil { + return *x.DirectMessageFlag + } + return 0 +} + +func (x *ChannelMsgReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelMsgRsp struct { + Result *uint32 `protobuf:"varint,1,opt"` + ErrMsg []byte `protobuf:"bytes,2,opt"` + ChannelMsg *ChannelMsg `protobuf:"bytes,3,opt"` + WithVersionFlag *uint32 `protobuf:"varint,4,opt"` + GetMsgTime *uint64 `protobuf:"varint,5,opt"` +} + +func (x *ChannelMsgRsp) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *ChannelMsgRsp) GetWithVersionFlag() uint32 { + if x != nil && x.WithVersionFlag != nil { + return *x.WithVersionFlag + } + return 0 +} + +func (x *ChannelMsgRsp) GetGetMsgTime() uint64 { + if x != nil && x.GetMsgTime != nil { + return *x.GetMsgTime + } + return 0 +} + +func (x *ChannelMsgRsp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelNode struct { + ChannelId *uint64 `protobuf:"varint,1,opt"` + Seq *uint64 `protobuf:"varint,2,opt"` + CntSeq *uint64 `protobuf:"varint,3,opt"` + Time *uint64 `protobuf:"varint,4,opt"` + MemberReadMsgSeq *uint64 `protobuf:"varint,5,opt"` + MemberReadCntSeq *uint64 `protobuf:"varint,6,opt"` + NotifyType *uint32 `protobuf:"varint,7,opt"` + ChannelName []byte `protobuf:"bytes,8,opt"` + ChannelType *uint32 `protobuf:"varint,9,opt"` + Meta []byte `protobuf:"bytes,10,opt"` + ReadMsgMeta []byte `protobuf:"bytes,11,opt"` + EventTime *uint32 `protobuf:"varint,12,opt"` +} + +func (x *ChannelNode) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *ChannelNode) GetSeq() uint64 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *ChannelNode) GetCntSeq() uint64 { + if x != nil && x.CntSeq != nil { + return *x.CntSeq + } + return 0 +} + +func (x *ChannelNode) GetTime() uint64 { + if x != nil && x.Time != nil { + return *x.Time + } + return 0 +} + +func (x *ChannelNode) GetMemberReadMsgSeq() uint64 { + if x != nil && x.MemberReadMsgSeq != nil { + return *x.MemberReadMsgSeq + } + return 0 +} + +func (x *ChannelNode) GetMemberReadCntSeq() uint64 { + if x != nil && x.MemberReadCntSeq != nil { + return *x.MemberReadCntSeq + } + return 0 +} + +func (x *ChannelNode) GetNotifyType() uint32 { + if x != nil && x.NotifyType != nil { + return *x.NotifyType + } + return 0 +} + +func (x *ChannelNode) GetChannelType() uint32 { + if x != nil && x.ChannelType != nil { + return *x.ChannelType + } + return 0 +} + +func (x *ChannelNode) GetEventTime() uint32 { + if x != nil && x.EventTime != nil { + return *x.EventTime + } + return 0 +} + +func (x *ChannelNode) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelParam struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + ChannelId *uint64 `protobuf:"varint,2,opt"` + BeginSeq *uint64 `protobuf:"varint,3,opt"` + EndSeq *uint64 `protobuf:"varint,4,opt"` + Time *uint64 `protobuf:"varint,5,opt"` + Version []uint64 `protobuf:"varint,6,rep"` + Seqs []*MsgCond `protobuf:"bytes,7,rep"` +} + +func (x *ChannelParam) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *ChannelParam) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *ChannelParam) GetBeginSeq() uint64 { + if x != nil && x.BeginSeq != nil { + return *x.BeginSeq + } + return 0 +} + +func (x *ChannelParam) GetEndSeq() uint64 { + if x != nil && x.EndSeq != nil { + return *x.EndSeq + } + return 0 +} + +func (x *ChannelParam) GetTime() uint64 { + if x != nil && x.Time != nil { + return *x.Time + } + return 0 +} + +func (x *ChannelParam) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type DirectMessageSource struct { + TinyId *uint64 `protobuf:"varint,1,opt"` + GuildId *uint64 `protobuf:"varint,2,opt"` + GuildName []byte `protobuf:"bytes,3,opt"` + MemberName []byte `protobuf:"bytes,4,opt"` + NickName []byte `protobuf:"bytes,5,opt"` +} + +func (x *DirectMessageSource) GetTinyId() uint64 { + if x != nil && x.TinyId != nil { + return *x.TinyId + } + return 0 +} + +func (x *DirectMessageSource) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *DirectMessageSource) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type FirstViewMsg struct { + PushFlag *uint32 `protobuf:"varint,1,opt"` + Seq *uint32 `protobuf:"varint,2,opt"` + GuildNodes []*GuildNode `protobuf:"bytes,3,rep"` + ChannelMsgs []*ChannelMsg `protobuf:"bytes,4,rep"` + GetMsgTime *uint64 `protobuf:"varint,5,opt"` + DirectMessageGuildNodes []*GuildNode `protobuf:"bytes,6,rep"` +} + +func (x *FirstViewMsg) GetPushFlag() uint32 { + if x != nil && x.PushFlag != nil { + return *x.PushFlag + } + return 0 +} + +func (x *FirstViewMsg) GetSeq() uint32 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *FirstViewMsg) GetGetMsgTime() uint64 { + if x != nil && x.GetMsgTime != nil { + return *x.GetMsgTime + } + return 0 +} + +func (x *FirstViewMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type FirstViewReq struct { + LastMsgTime *uint64 `protobuf:"varint,1,opt"` + UdcFlag *uint32 `protobuf:"varint,2,opt"` + Seq *uint32 `protobuf:"varint,3,opt"` + DirectMessageFlag *uint32 `protobuf:"varint,4,opt"` +} + +func (x *FirstViewReq) GetLastMsgTime() uint64 { + if x != nil && x.LastMsgTime != nil { + return *x.LastMsgTime + } + return 0 +} + +func (x *FirstViewReq) GetUdcFlag() uint32 { + if x != nil && x.UdcFlag != nil { + return *x.UdcFlag + } + return 0 +} + +func (x *FirstViewReq) GetSeq() uint32 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *FirstViewReq) GetDirectMessageFlag() uint32 { + if x != nil && x.DirectMessageFlag != nil { + return *x.DirectMessageFlag + } + return 0 +} + +func (x *FirstViewReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type FirstViewRsp struct { + Result *uint32 `protobuf:"varint,1,opt"` + ErrMsg []byte `protobuf:"bytes,2,opt"` + Seq *uint32 `protobuf:"varint,3,opt"` + UdcFlag *uint32 `protobuf:"varint,4,opt"` + GuildCount *uint32 `protobuf:"varint,5,opt"` + SelfTinyid *uint64 `protobuf:"varint,6,opt"` + DirectMessageSwitch *uint32 `protobuf:"varint,7,opt"` + DirectMessageGuildCount *uint32 `protobuf:"varint,8,opt"` +} + +func (x *FirstViewRsp) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *FirstViewRsp) GetSeq() uint32 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *FirstViewRsp) GetUdcFlag() uint32 { + if x != nil && x.UdcFlag != nil { + return *x.UdcFlag + } + return 0 +} + +func (x *FirstViewRsp) GetGuildCount() uint32 { + if x != nil && x.GuildCount != nil { + return *x.GuildCount + } + return 0 +} + +func (x *FirstViewRsp) GetSelfTinyid() uint64 { + if x != nil && x.SelfTinyid != nil { + return *x.SelfTinyid + } + return 0 +} + +func (x *FirstViewRsp) GetDirectMessageSwitch() uint32 { + if x != nil && x.DirectMessageSwitch != nil { + return *x.DirectMessageSwitch + } + return 0 +} + +func (x *FirstViewRsp) GetDirectMessageGuildCount() uint32 { + if x != nil && x.DirectMessageGuildCount != nil { + return *x.DirectMessageGuildCount + } + return 0 +} + +func (x *FirstViewRsp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildNode struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + GuildCode *uint64 `protobuf:"varint,2,opt"` + ChannelNodes []*ChannelNode `protobuf:"bytes,3,rep"` + GuildName []byte `protobuf:"bytes,4,opt"` + PeerSource *DirectMessageSource `protobuf:"bytes,5,opt"` +} + +func (x *GuildNode) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *GuildNode) GetGuildCode() uint64 { + if x != nil && x.GuildCode != nil { + return *x.GuildCode + } + return 0 +} + +func (x *GuildNode) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgCond struct { + Seq *uint64 `protobuf:"varint,1,opt"` + EventVersion *uint64 `protobuf:"varint,2,opt"` +} + +func (x *MsgCond) GetSeq() uint64 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *MsgCond) GetEventVersion() uint64 { + if x != nil && x.EventVersion != nil { + return *x.EventVersion + } + return 0 +} + +func (x *MsgCond) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MultiChannelMsg struct { + PushFlag *uint32 `protobuf:"varint,1,opt"` + Seq *uint32 `protobuf:"varint,2,opt"` + ChannelMsgs []*ChannelMsg `protobuf:"bytes,3,rep"` + GetMsgTime *uint64 `protobuf:"varint,4,opt"` +} + +func (x *MultiChannelMsg) GetPushFlag() uint32 { + if x != nil && x.PushFlag != nil { + return *x.PushFlag + } + return 0 +} + +func (x *MultiChannelMsg) GetSeq() uint32 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *MultiChannelMsg) GetGetMsgTime() uint64 { + if x != nil && x.GetMsgTime != nil { + return *x.GetMsgTime + } + return 0 +} + +func (x *MultiChannelMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MultiChannelMsgReq struct { + ChannelParams []*ChannelParam `protobuf:"bytes,1,rep"` + Seq *uint32 `protobuf:"varint,2,opt"` + DirectMessageFlag *uint32 `protobuf:"varint,3,opt"` +} + +func (x *MultiChannelMsgReq) GetSeq() uint32 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *MultiChannelMsgReq) GetDirectMessageFlag() uint32 { + if x != nil && x.DirectMessageFlag != nil { + return *x.DirectMessageFlag + } + return 0 +} + +func (x *MultiChannelMsgReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MultiChannelMsgRsp struct { + Result *uint32 `protobuf:"varint,1,opt"` + ErrMsg []byte `protobuf:"bytes,2,opt"` + Seq *uint32 `protobuf:"varint,3,opt"` +} + +func (x *MultiChannelMsgRsp) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *MultiChannelMsgRsp) GetSeq() uint32 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *MultiChannelMsgRsp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ReqBody struct { + ChannelParam *ChannelParam `protobuf:"bytes,1,opt"` + DirectMessageFlag *uint32 `protobuf:"varint,2,opt"` +} + +func (x *ReqBody) GetDirectMessageFlag() uint32 { + if x != nil && x.DirectMessageFlag != nil { + return *x.DirectMessageFlag + } + return 0 +} + +func (x *ReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type RspBody struct { + Result *uint32 `protobuf:"varint,1,opt"` + ErrMsg []byte `protobuf:"bytes,2,opt"` + ChannelMsg *ChannelMsg `protobuf:"bytes,3,opt"` +} + +func (x *RspBody) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *RspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} diff --git a/internal/protobuf/data/channel/unknown.pb.go b/internal/protobuf/data/channel/unknown.pb.go new file mode 100644 index 00000000..0e0a16b7 --- /dev/null +++ b/internal/protobuf/data/channel/unknown.pb.go @@ -0,0 +1,508 @@ +// Code generated by yaprotoc. DO NOT EDIT. +// source: channel/unknown.proto + +package channel + +import ( + "github.com/pkg/errors" + "github.com/segmentio/encoding/proto" +) + +type ChannelListRsp struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + Channels []*GuildChannelInfo `protobuf:"bytes,2,rep"` +} + +func (x *ChannelListRsp) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *ChannelListRsp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelOidb0Xf55Rsp struct { + Info *GuildChannelInfo `protobuf:"bytes,1,opt"` +} + +func (x *ChannelOidb0Xf55Rsp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelOidb0Xf57Rsp struct { + Rsp *GuildMetaRsp `protobuf:"bytes,1,opt"` +} + +func (x *ChannelOidb0Xf57Rsp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelOidb0Xf5BRsp struct { + GuildId *uint64 `protobuf:"varint,1,opt"` + Bots []*GuildMemberInfo `protobuf:"bytes,4,rep"` + Members []*GuildMemberInfo `protobuf:"bytes,5,rep"` + AdminInfo *GuildAdminInfo `protobuf:"bytes,25,opt"` +} + +func (x *ChannelOidb0Xf5BRsp) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *ChannelOidb0Xf5BRsp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelOidb0Xf5DRsp struct { + Rsp *ChannelListRsp `protobuf:"bytes,1,opt"` +} + +func (x *ChannelOidb0Xf5DRsp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelOidb0Xf88Rsp struct { + Profile *GuildUserProfile `protobuf:"bytes,1,opt"` +} + +func (x *ChannelOidb0Xf88Rsp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ChannelOidb0Xfc9Rsp struct { + Profile *GuildUserProfile `protobuf:"bytes,1,opt"` +} + +func (x *ChannelOidb0Xfc9Rsp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildAdminInfo struct { + Admins []*GuildMemberInfo `protobuf:"bytes,2,rep"` +} + +func (x *GuildAdminInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildChannelInfo struct { + ChannelId *uint64 `protobuf:"varint,1,opt"` + ChannelName *string `protobuf:"bytes,2,opt"` + CreatorUin *int64 `protobuf:"varint,3,opt"` + CreateTime *int64 `protobuf:"varint,4,opt"` + GuildId *uint64 `protobuf:"varint,5,opt"` + FinalNotifyType *int32 `protobuf:"varint,6,opt"` + ChannelType *int32 `protobuf:"varint,7,opt"` + TalkPermission *int32 `protobuf:"varint,8,opt"` + CreatorTinyId *uint64 `protobuf:"varint,15,opt"` + VisibleType *int32 `protobuf:"varint,22,opt"` + TopMsg *GuildChannelTopMsgInfo `protobuf:"bytes,28,opt"` + CurrentSlowModeKey *int32 `protobuf:"varint,31,opt"` + SlowModeInfos []*GuildChannelSlowModeInfo `protobuf:"bytes,32,rep"` +} + +func (x *GuildChannelInfo) GetChannelId() uint64 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *GuildChannelInfo) GetChannelName() string { + if x != nil && x.ChannelName != nil { + return *x.ChannelName + } + return "" +} + +func (x *GuildChannelInfo) GetCreatorUin() int64 { + if x != nil && x.CreatorUin != nil { + return *x.CreatorUin + } + return 0 +} + +func (x *GuildChannelInfo) GetCreateTime() int64 { + if x != nil && x.CreateTime != nil { + return *x.CreateTime + } + return 0 +} + +func (x *GuildChannelInfo) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *GuildChannelInfo) GetFinalNotifyType() int32 { + if x != nil && x.FinalNotifyType != nil { + return *x.FinalNotifyType + } + return 0 +} + +func (x *GuildChannelInfo) GetChannelType() int32 { + if x != nil && x.ChannelType != nil { + return *x.ChannelType + } + return 0 +} + +func (x *GuildChannelInfo) GetTalkPermission() int32 { + if x != nil && x.TalkPermission != nil { + return *x.TalkPermission + } + return 0 +} + +func (x *GuildChannelInfo) GetCreatorTinyId() uint64 { + if x != nil && x.CreatorTinyId != nil { + return *x.CreatorTinyId + } + return 0 +} + +func (x *GuildChannelInfo) GetVisibleType() int32 { + if x != nil && x.VisibleType != nil { + return *x.VisibleType + } + return 0 +} + +func (x *GuildChannelInfo) GetCurrentSlowModeKey() int32 { + if x != nil && x.CurrentSlowModeKey != nil { + return *x.CurrentSlowModeKey + } + return 0 +} + +func (x *GuildChannelInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildChannelSlowModeInfo struct { + SlowModeKey *int32 `protobuf:"varint,1,opt"` + SpeakFrequency *int32 `protobuf:"varint,2,opt"` + SlowModeCircle *int32 `protobuf:"varint,3,opt"` + SlowModeText *string `protobuf:"bytes,4,opt"` +} + +func (x *GuildChannelSlowModeInfo) GetSlowModeKey() int32 { + if x != nil && x.SlowModeKey != nil { + return *x.SlowModeKey + } + return 0 +} + +func (x *GuildChannelSlowModeInfo) GetSpeakFrequency() int32 { + if x != nil && x.SpeakFrequency != nil { + return *x.SpeakFrequency + } + return 0 +} + +func (x *GuildChannelSlowModeInfo) GetSlowModeCircle() int32 { + if x != nil && x.SlowModeCircle != nil { + return *x.SlowModeCircle + } + return 0 +} + +func (x *GuildChannelSlowModeInfo) GetSlowModeText() string { + if x != nil && x.SlowModeText != nil { + return *x.SlowModeText + } + return "" +} + +func (x *GuildChannelSlowModeInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildChannelTopMsgInfo struct { + TopMsgSeq *uint64 `protobuf:"varint,1,opt"` + TopMsgTime *int64 `protobuf:"varint,2,opt"` + TopMsgOperatorTinyId *uint64 `protobuf:"varint,3,opt"` +} + +func (x *GuildChannelTopMsgInfo) GetTopMsgSeq() uint64 { + if x != nil && x.TopMsgSeq != nil { + return *x.TopMsgSeq + } + return 0 +} + +func (x *GuildChannelTopMsgInfo) GetTopMsgTime() int64 { + if x != nil && x.TopMsgTime != nil { + return *x.TopMsgTime + } + return 0 +} + +func (x *GuildChannelTopMsgInfo) GetTopMsgOperatorTinyId() uint64 { + if x != nil && x.TopMsgOperatorTinyId != nil { + return *x.TopMsgOperatorTinyId + } + return 0 +} + +func (x *GuildChannelTopMsgInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildMemberInfo struct { + Title *string `protobuf:"bytes,2,opt"` + Nickname *string `protobuf:"bytes,3,opt"` + LastSpeakTime *int64 `protobuf:"varint,4,opt"` + Role *int32 `protobuf:"varint,5,opt"` + TinyId *uint64 `protobuf:"varint,8,opt"` +} + +func (x *GuildMemberInfo) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title + } + return "" +} + +func (x *GuildMemberInfo) GetNickname() string { + if x != nil && x.Nickname != nil { + return *x.Nickname + } + return "" +} + +func (x *GuildMemberInfo) GetLastSpeakTime() int64 { + if x != nil && x.LastSpeakTime != nil { + return *x.LastSpeakTime + } + return 0 +} + +func (x *GuildMemberInfo) GetRole() int32 { + if x != nil && x.Role != nil { + return *x.Role + } + return 0 +} + +func (x *GuildMemberInfo) GetTinyId() uint64 { + if x != nil && x.TinyId != nil { + return *x.TinyId + } + return 0 +} + +func (x *GuildMemberInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildMeta struct { + GuildCode *uint64 `protobuf:"varint,2,opt"` + CreateTime *int64 `protobuf:"varint,4,opt"` + MaxMemberCount *int64 `protobuf:"varint,5,opt"` + MemberCount *int64 `protobuf:"varint,6,opt"` + Name *string `protobuf:"bytes,8,opt"` + RobotMaxNum *int32 `protobuf:"varint,11,opt"` + AdminMaxNum *int32 `protobuf:"varint,12,opt"` + Profile *string `protobuf:"bytes,13,opt"` + AvatarSeq *int64 `protobuf:"varint,14,opt"` + OwnerId *uint64 `protobuf:"varint,18,opt"` + CoverSeq *int64 `protobuf:"varint,19,opt"` + ClientId *int32 `protobuf:"varint,20,opt"` +} + +func (x *GuildMeta) GetGuildCode() uint64 { + if x != nil && x.GuildCode != nil { + return *x.GuildCode + } + return 0 +} + +func (x *GuildMeta) GetCreateTime() int64 { + if x != nil && x.CreateTime != nil { + return *x.CreateTime + } + return 0 +} + +func (x *GuildMeta) GetMaxMemberCount() int64 { + if x != nil && x.MaxMemberCount != nil { + return *x.MaxMemberCount + } + return 0 +} + +func (x *GuildMeta) GetMemberCount() int64 { + if x != nil && x.MemberCount != nil { + return *x.MemberCount + } + return 0 +} + +func (x *GuildMeta) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *GuildMeta) GetRobotMaxNum() int32 { + if x != nil && x.RobotMaxNum != nil { + return *x.RobotMaxNum + } + return 0 +} + +func (x *GuildMeta) GetAdminMaxNum() int32 { + if x != nil && x.AdminMaxNum != nil { + return *x.AdminMaxNum + } + return 0 +} + +func (x *GuildMeta) GetProfile() string { + if x != nil && x.Profile != nil { + return *x.Profile + } + return "" +} + +func (x *GuildMeta) GetAvatarSeq() int64 { + if x != nil && x.AvatarSeq != nil { + return *x.AvatarSeq + } + return 0 +} + +func (x *GuildMeta) GetOwnerId() uint64 { + if x != nil && x.OwnerId != nil { + return *x.OwnerId + } + return 0 +} + +func (x *GuildMeta) GetCoverSeq() int64 { + if x != nil && x.CoverSeq != nil { + return *x.CoverSeq + } + return 0 +} + +func (x *GuildMeta) GetClientId() int32 { + if x != nil && x.ClientId != nil { + return *x.ClientId + } + return 0 +} + +func (x *GuildMeta) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildMetaRsp struct { + GuildId *uint64 `protobuf:"varint,3,opt"` + Meta *GuildMeta `protobuf:"bytes,4,opt"` +} + +func (x *GuildMetaRsp) GetGuildId() uint64 { + if x != nil && x.GuildId != nil { + return *x.GuildId + } + return 0 +} + +func (x *GuildMetaRsp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GuildUserProfile struct { + TinyId *uint64 `protobuf:"varint,2,opt"` + Nickname *string `protobuf:"bytes,3,opt"` + AvatarUrl *string `protobuf:"bytes,6,opt"` + JoinTime *int64 `protobuf:"varint,16,opt"` +} + +func (x *GuildUserProfile) GetTinyId() uint64 { + if x != nil && x.TinyId != nil { + return *x.TinyId + } + return 0 +} + +func (x *GuildUserProfile) GetNickname() string { + if x != nil && x.Nickname != nil { + return *x.Nickname + } + return "" +} + +func (x *GuildUserProfile) GetAvatarUrl() string { + if x != nil && x.AvatarUrl != nil { + return *x.AvatarUrl + } + return "" +} + +func (x *GuildUserProfile) GetJoinTime() int64 { + if x != nil && x.JoinTime != nil { + return *x.JoinTime + } + return 0 +} + +func (x *GuildUserProfile) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} diff --git a/internal/protobuf/data/msg/head.pb.go b/internal/protobuf/data/msg/head.pb.go new file mode 100644 index 00000000..dbe96c31 --- /dev/null +++ b/internal/protobuf/data/msg/head.pb.go @@ -0,0 +1,738 @@ +// Code generated by yaprotoc. DO NOT EDIT. +// source: msg/head.proto + +package msg + +import ( + "github.com/pkg/errors" + "github.com/segmentio/encoding/proto" +) + +type C2CHead struct { + ToUin *uint64 `protobuf:"varint,1,opt"` + FromUin *uint64 `protobuf:"varint,2,opt"` + CcType *uint32 `protobuf:"varint,3,opt"` + CcCmd *uint32 `protobuf:"varint,4,opt"` + AuthPicSig []byte `protobuf:"bytes,5,opt"` + AuthSig []byte `protobuf:"bytes,6,opt"` + AuthBuf []byte `protobuf:"bytes,7,opt"` + ServerTime *uint32 `protobuf:"varint,8,opt"` + ClientTime *uint32 `protobuf:"varint,9,opt"` + Rand *uint32 `protobuf:"varint,10,opt"` + PhoneNumber *string `protobuf:"bytes,11,opt"` +} + +func (x *C2CHead) GetToUin() uint64 { + if x != nil && x.ToUin != nil { + return *x.ToUin + } + return 0 +} + +func (x *C2CHead) GetFromUin() uint64 { + if x != nil && x.FromUin != nil { + return *x.FromUin + } + return 0 +} + +func (x *C2CHead) GetCcType() uint32 { + if x != nil && x.CcType != nil { + return *x.CcType + } + return 0 +} + +func (x *C2CHead) GetCcCmd() uint32 { + if x != nil && x.CcCmd != nil { + return *x.CcCmd + } + return 0 +} + +func (x *C2CHead) GetServerTime() uint32 { + if x != nil && x.ServerTime != nil { + return *x.ServerTime + } + return 0 +} + +func (x *C2CHead) GetClientTime() uint32 { + if x != nil && x.ClientTime != nil { + return *x.ClientTime + } + return 0 +} + +func (x *C2CHead) GetRand() uint32 { + if x != nil && x.Rand != nil { + return *x.Rand + } + return 0 +} + +func (x *C2CHead) GetPhoneNumber() string { + if x != nil && x.PhoneNumber != nil { + return *x.PhoneNumber + } + return "" +} + +func (x *C2CHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type CSHead struct { + Uin *uint64 `protobuf:"varint,1,opt"` + Command *uint32 `protobuf:"varint,2,opt"` + Seq *uint32 `protobuf:"varint,3,opt"` + Version *uint32 `protobuf:"varint,4,opt"` + RetryTimes *uint32 `protobuf:"varint,5,opt"` + ClientType *uint32 `protobuf:"varint,6,opt"` + Pubno *uint32 `protobuf:"varint,7,opt"` + Localid *uint32 `protobuf:"varint,8,opt"` + Timezone *uint32 `protobuf:"varint,9,opt"` + ClientIp *uint32 `protobuf:"fixed32,10,opt"` + ClientPort *uint32 `protobuf:"varint,11,opt"` + ConnIp *uint32 `protobuf:"fixed32,12,opt"` + ConnPort *uint32 `protobuf:"varint,13,opt"` + InterfaceIp *uint32 `protobuf:"fixed32,14,opt"` + InterfacePort *uint32 `protobuf:"varint,15,opt"` + ActualIp *uint32 `protobuf:"fixed32,16,opt"` + Flag *uint32 `protobuf:"varint,17,opt"` + Timestamp *uint32 `protobuf:"fixed32,18,opt"` + Subcmd *uint32 `protobuf:"varint,19,opt"` + Result *uint32 `protobuf:"varint,20,opt"` + AppId *uint32 `protobuf:"varint,21,opt"` + InstanceId *uint32 `protobuf:"varint,22,opt"` + SessionId *uint64 `protobuf:"varint,23,opt"` + IdcId *uint32 `protobuf:"varint,24,opt"` +} + +func (x *CSHead) GetUin() uint64 { + if x != nil && x.Uin != nil { + return *x.Uin + } + return 0 +} + +func (x *CSHead) GetCommand() uint32 { + if x != nil && x.Command != nil { + return *x.Command + } + return 0 +} + +func (x *CSHead) GetSeq() uint32 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *CSHead) GetVersion() uint32 { + if x != nil && x.Version != nil { + return *x.Version + } + return 0 +} + +func (x *CSHead) GetRetryTimes() uint32 { + if x != nil && x.RetryTimes != nil { + return *x.RetryTimes + } + return 0 +} + +func (x *CSHead) GetClientType() uint32 { + if x != nil && x.ClientType != nil { + return *x.ClientType + } + return 0 +} + +func (x *CSHead) GetPubno() uint32 { + if x != nil && x.Pubno != nil { + return *x.Pubno + } + return 0 +} + +func (x *CSHead) GetLocalid() uint32 { + if x != nil && x.Localid != nil { + return *x.Localid + } + return 0 +} + +func (x *CSHead) GetTimezone() uint32 { + if x != nil && x.Timezone != nil { + return *x.Timezone + } + return 0 +} + +func (x *CSHead) GetClientIp() uint32 { + if x != nil && x.ClientIp != nil { + return *x.ClientIp + } + return 0 +} + +func (x *CSHead) GetClientPort() uint32 { + if x != nil && x.ClientPort != nil { + return *x.ClientPort + } + return 0 +} + +func (x *CSHead) GetConnIp() uint32 { + if x != nil && x.ConnIp != nil { + return *x.ConnIp + } + return 0 +} + +func (x *CSHead) GetConnPort() uint32 { + if x != nil && x.ConnPort != nil { + return *x.ConnPort + } + return 0 +} + +func (x *CSHead) GetInterfaceIp() uint32 { + if x != nil && x.InterfaceIp != nil { + return *x.InterfaceIp + } + return 0 +} + +func (x *CSHead) GetInterfacePort() uint32 { + if x != nil && x.InterfacePort != nil { + return *x.InterfacePort + } + return 0 +} + +func (x *CSHead) GetActualIp() uint32 { + if x != nil && x.ActualIp != nil { + return *x.ActualIp + } + return 0 +} + +func (x *CSHead) GetFlag() uint32 { + if x != nil && x.Flag != nil { + return *x.Flag + } + return 0 +} + +func (x *CSHead) GetTimestamp() uint32 { + if x != nil && x.Timestamp != nil { + return *x.Timestamp + } + return 0 +} + +func (x *CSHead) GetSubcmd() uint32 { + if x != nil && x.Subcmd != nil { + return *x.Subcmd + } + return 0 +} + +func (x *CSHead) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *CSHead) GetAppId() uint32 { + if x != nil && x.AppId != nil { + return *x.AppId + } + return 0 +} + +func (x *CSHead) GetInstanceId() uint32 { + if x != nil && x.InstanceId != nil { + return *x.InstanceId + } + return 0 +} + +func (x *CSHead) GetSessionId() uint64 { + if x != nil && x.SessionId != nil { + return *x.SessionId + } + return 0 +} + +func (x *CSHead) GetIdcId() uint32 { + if x != nil && x.IdcId != nil { + return *x.IdcId + } + return 0 +} + +func (x *CSHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type DeltaHead struct { + TotalLen *uint64 `protobuf:"varint,1,opt"` + Offset *uint64 `protobuf:"varint,2,opt"` + AckOffset *uint64 `protobuf:"varint,3,opt"` + Cookie []byte `protobuf:"bytes,4,opt"` + AckCookie []byte `protobuf:"bytes,5,opt"` + Result *uint32 `protobuf:"varint,6,opt"` + Flags *uint32 `protobuf:"varint,7,opt"` +} + +func (x *DeltaHead) GetTotalLen() uint64 { + if x != nil && x.TotalLen != nil { + return *x.TotalLen + } + return 0 +} + +func (x *DeltaHead) GetOffset() uint64 { + if x != nil && x.Offset != nil { + return *x.Offset + } + return 0 +} + +func (x *DeltaHead) GetAckOffset() uint64 { + if x != nil && x.AckOffset != nil { + return *x.AckOffset + } + return 0 +} + +func (x *DeltaHead) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *DeltaHead) GetFlags() uint32 { + if x != nil && x.Flags != nil { + return *x.Flags + } + return 0 +} + +func (x *DeltaHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type HttpConnHead struct { + Uin *uint64 `protobuf:"varint,1,opt"` + Command *uint32 `protobuf:"varint,2,opt"` + SubCommand *uint32 `protobuf:"varint,3,opt"` + Seq *uint32 `protobuf:"varint,4,opt"` + Version *uint32 `protobuf:"varint,5,opt"` + RetryTimes *uint32 `protobuf:"varint,6,opt"` + ClientType *uint32 `protobuf:"varint,7,opt"` + PubNo *uint32 `protobuf:"varint,8,opt"` + LocalId *uint32 `protobuf:"varint,9,opt"` + TimeZone *uint32 `protobuf:"varint,10,opt"` + ClientIp *uint32 `protobuf:"fixed32,11,opt"` + ClientPort *uint32 `protobuf:"varint,12,opt"` + QzhttpIp *uint32 `protobuf:"fixed32,13,opt"` + QzhttpPort *uint32 `protobuf:"varint,14,opt"` + SppIp *uint32 `protobuf:"fixed32,15,opt"` + SppPort *uint32 `protobuf:"varint,16,opt"` + Flag *uint32 `protobuf:"varint,17,opt"` + Key []byte `protobuf:"bytes,18,opt"` + CompressType *uint32 `protobuf:"varint,19,opt"` + OriginSize *uint32 `protobuf:"varint,20,opt"` + ErrorCode *uint32 `protobuf:"varint,21,opt"` + Redirect *RedirectMsg `protobuf:"bytes,22,opt"` + CommandId *uint32 `protobuf:"varint,23,opt"` + ServiceCmdid *uint32 `protobuf:"varint,24,opt"` + Oidbhead *TransOidbHead `protobuf:"bytes,25,opt"` +} + +func (x *HttpConnHead) GetUin() uint64 { + if x != nil && x.Uin != nil { + return *x.Uin + } + return 0 +} + +func (x *HttpConnHead) GetCommand() uint32 { + if x != nil && x.Command != nil { + return *x.Command + } + return 0 +} + +func (x *HttpConnHead) GetSubCommand() uint32 { + if x != nil && x.SubCommand != nil { + return *x.SubCommand + } + return 0 +} + +func (x *HttpConnHead) GetSeq() uint32 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *HttpConnHead) GetVersion() uint32 { + if x != nil && x.Version != nil { + return *x.Version + } + return 0 +} + +func (x *HttpConnHead) GetRetryTimes() uint32 { + if x != nil && x.RetryTimes != nil { + return *x.RetryTimes + } + return 0 +} + +func (x *HttpConnHead) GetClientType() uint32 { + if x != nil && x.ClientType != nil { + return *x.ClientType + } + return 0 +} + +func (x *HttpConnHead) GetPubNo() uint32 { + if x != nil && x.PubNo != nil { + return *x.PubNo + } + return 0 +} + +func (x *HttpConnHead) GetLocalId() uint32 { + if x != nil && x.LocalId != nil { + return *x.LocalId + } + return 0 +} + +func (x *HttpConnHead) GetTimeZone() uint32 { + if x != nil && x.TimeZone != nil { + return *x.TimeZone + } + return 0 +} + +func (x *HttpConnHead) GetClientIp() uint32 { + if x != nil && x.ClientIp != nil { + return *x.ClientIp + } + return 0 +} + +func (x *HttpConnHead) GetClientPort() uint32 { + if x != nil && x.ClientPort != nil { + return *x.ClientPort + } + return 0 +} + +func (x *HttpConnHead) GetQzhttpIp() uint32 { + if x != nil && x.QzhttpIp != nil { + return *x.QzhttpIp + } + return 0 +} + +func (x *HttpConnHead) GetQzhttpPort() uint32 { + if x != nil && x.QzhttpPort != nil { + return *x.QzhttpPort + } + return 0 +} + +func (x *HttpConnHead) GetSppIp() uint32 { + if x != nil && x.SppIp != nil { + return *x.SppIp + } + return 0 +} + +func (x *HttpConnHead) GetSppPort() uint32 { + if x != nil && x.SppPort != nil { + return *x.SppPort + } + return 0 +} + +func (x *HttpConnHead) GetFlag() uint32 { + if x != nil && x.Flag != nil { + return *x.Flag + } + return 0 +} + +func (x *HttpConnHead) GetCompressType() uint32 { + if x != nil && x.CompressType != nil { + return *x.CompressType + } + return 0 +} + +func (x *HttpConnHead) GetOriginSize() uint32 { + if x != nil && x.OriginSize != nil { + return *x.OriginSize + } + return 0 +} + +func (x *HttpConnHead) GetErrorCode() uint32 { + if x != nil && x.ErrorCode != nil { + return *x.ErrorCode + } + return 0 +} + +func (x *HttpConnHead) GetCommandId() uint32 { + if x != nil && x.CommandId != nil { + return *x.CommandId + } + return 0 +} + +func (x *HttpConnHead) GetServiceCmdid() uint32 { + if x != nil && x.ServiceCmdid != nil { + return *x.ServiceCmdid + } + return 0 +} + +func (x *HttpConnHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type IMHead struct { + HeadType *uint32 `protobuf:"varint,1,opt"` + CsHead *CSHead `protobuf:"bytes,2,opt"` + S2CHead *S2CHead `protobuf:"bytes,3,opt"` + HttpconnHead *HttpConnHead `protobuf:"bytes,4,opt"` + PaintFlag *uint32 `protobuf:"varint,5,opt"` + LoginSig *LoginSig `protobuf:"bytes,6,opt"` + DeltaHead *DeltaHead `protobuf:"bytes,7,opt"` + C2CHead *C2CHead `protobuf:"bytes,8,opt"` +} + +func (x *IMHead) GetHeadType() uint32 { + if x != nil && x.HeadType != nil { + return *x.HeadType + } + return 0 +} + +func (x *IMHead) GetPaintFlag() uint32 { + if x != nil && x.PaintFlag != nil { + return *x.PaintFlag + } + return 0 +} + +func (x *IMHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type LoginSig struct { + Type *uint32 `protobuf:"varint,1,opt"` + Sig []byte `protobuf:"bytes,2,opt"` +} + +func (x *LoginSig) GetType() uint32 { + if x != nil && x.Type != nil { + return *x.Type + } + return 0 +} + +func (x *LoginSig) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type RedirectMsg struct { + LastRedirectIp *uint32 `protobuf:"fixed32,1,opt"` + LastRedirectPort *uint32 `protobuf:"varint,2,opt"` + RedirectIp *uint32 `protobuf:"fixed32,3,opt"` + RedirectPort *uint32 `protobuf:"varint,4,opt"` + RedirectCount *uint32 `protobuf:"varint,5,opt"` +} + +func (x *RedirectMsg) GetLastRedirectIp() uint32 { + if x != nil && x.LastRedirectIp != nil { + return *x.LastRedirectIp + } + return 0 +} + +func (x *RedirectMsg) GetLastRedirectPort() uint32 { + if x != nil && x.LastRedirectPort != nil { + return *x.LastRedirectPort + } + return 0 +} + +func (x *RedirectMsg) GetRedirectIp() uint32 { + if x != nil && x.RedirectIp != nil { + return *x.RedirectIp + } + return 0 +} + +func (x *RedirectMsg) GetRedirectPort() uint32 { + if x != nil && x.RedirectPort != nil { + return *x.RedirectPort + } + return 0 +} + +func (x *RedirectMsg) GetRedirectCount() uint32 { + if x != nil && x.RedirectCount != nil { + return *x.RedirectCount + } + return 0 +} + +func (x *RedirectMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type S2CHead struct { + SubMsgtype *uint32 `protobuf:"varint,1,opt"` + MsgType *uint32 `protobuf:"varint,2,opt"` + FromUin *uint64 `protobuf:"varint,3,opt"` + MsgId *uint32 `protobuf:"varint,4,opt"` + RelayIp *uint32 `protobuf:"fixed32,5,opt"` + RelayPort *uint32 `protobuf:"varint,6,opt"` + ToUin *uint64 `protobuf:"varint,7,opt"` +} + +func (x *S2CHead) GetSubMsgtype() uint32 { + if x != nil && x.SubMsgtype != nil { + return *x.SubMsgtype + } + return 0 +} + +func (x *S2CHead) GetMsgType() uint32 { + if x != nil && x.MsgType != nil { + return *x.MsgType + } + return 0 +} + +func (x *S2CHead) GetFromUin() uint64 { + if x != nil && x.FromUin != nil { + return *x.FromUin + } + return 0 +} + +func (x *S2CHead) GetMsgId() uint32 { + if x != nil && x.MsgId != nil { + return *x.MsgId + } + return 0 +} + +func (x *S2CHead) GetRelayIp() uint32 { + if x != nil && x.RelayIp != nil { + return *x.RelayIp + } + return 0 +} + +func (x *S2CHead) GetRelayPort() uint32 { + if x != nil && x.RelayPort != nil { + return *x.RelayPort + } + return 0 +} + +func (x *S2CHead) GetToUin() uint64 { + if x != nil && x.ToUin != nil { + return *x.ToUin + } + return 0 +} + +func (x *S2CHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type TransOidbHead struct { + Command *uint32 `protobuf:"varint,1,opt"` + ServiceType *uint32 `protobuf:"varint,2,opt"` + Result *uint32 `protobuf:"varint,3,opt"` + ErrorMsg *string `protobuf:"bytes,4,opt"` +} + +func (x *TransOidbHead) GetCommand() uint32 { + if x != nil && x.Command != nil { + return *x.Command + } + return 0 +} + +func (x *TransOidbHead) GetServiceType() uint32 { + if x != nil && x.ServiceType != nil { + return *x.ServiceType + } + return 0 +} + +func (x *TransOidbHead) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *TransOidbHead) GetErrorMsg() string { + if x != nil && x.ErrorMsg != nil { + return *x.ErrorMsg + } + return "" +} + +func (x *TransOidbHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} diff --git a/internal/protobuf/data/msg/msg.pb.go b/internal/protobuf/data/msg/msg.pb.go new file mode 100644 index 00000000..85cb8c37 --- /dev/null +++ b/internal/protobuf/data/msg/msg.pb.go @@ -0,0 +1,3793 @@ +// Code generated by yaprotoc. DO NOT EDIT. +// source: msg/msg.proto + +package msg + +import ( + "github.com/pkg/errors" + "github.com/segmentio/encoding/proto" +) + +type AnimationImageShow struct { + EffectId *int32 `protobuf:"varint,1,opt"` + AnimationParam []byte `protobuf:"bytes,2,opt"` +} + +func (x *AnimationImageShow) GetEffectId() int32 { + if x != nil && x.EffectId != nil { + return *x.EffectId + } + return 0 +} + +func (x *AnimationImageShow) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type AnonymousGroupMessage struct { + Flags *int32 `protobuf:"varint,1,opt"` + AnonId []byte `protobuf:"bytes,2,opt"` + AnonNick []byte `protobuf:"bytes,3,opt"` + HeadPortrait *int32 `protobuf:"varint,4,opt"` + ExpireTime *int32 `protobuf:"varint,5,opt"` + BubbleId *int32 `protobuf:"varint,6,opt"` + RankColor []byte `protobuf:"bytes,7,opt"` +} + +func (x *AnonymousGroupMessage) GetFlags() int32 { + if x != nil && x.Flags != nil { + return *x.Flags + } + return 0 +} + +func (x *AnonymousGroupMessage) GetHeadPortrait() int32 { + if x != nil && x.HeadPortrait != nil { + return *x.HeadPortrait + } + return 0 +} + +func (x *AnonymousGroupMessage) GetExpireTime() int32 { + if x != nil && x.ExpireTime != nil { + return *x.ExpireTime + } + return 0 +} + +func (x *AnonymousGroupMessage) GetBubbleId() int32 { + if x != nil && x.BubbleId != nil { + return *x.BubbleId + } + return 0 +} + +func (x *AnonymousGroupMessage) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type Attr struct { + CodePage *int32 `protobuf:"varint,1,opt"` + Time *int32 `protobuf:"varint,2,opt"` + Random *int32 `protobuf:"varint,3,opt"` + Color *int32 `protobuf:"varint,4,opt"` + Size *int32 `protobuf:"varint,5,opt"` + Effect *int32 `protobuf:"varint,6,opt"` + CharSet *int32 `protobuf:"varint,7,opt"` + PitchAndFamily *int32 `protobuf:"varint,8,opt"` + FontName *string `protobuf:"bytes,9,opt"` + ReserveData []byte `protobuf:"bytes,10,opt"` +} + +func (x *Attr) GetCodePage() int32 { + if x != nil && x.CodePage != nil { + return *x.CodePage + } + return 0 +} + +func (x *Attr) GetTime() int32 { + if x != nil && x.Time != nil { + return *x.Time + } + return 0 +} + +func (x *Attr) GetRandom() int32 { + if x != nil && x.Random != nil { + return *x.Random + } + return 0 +} + +func (x *Attr) GetColor() int32 { + if x != nil && x.Color != nil { + return *x.Color + } + return 0 +} + +func (x *Attr) GetSize() int32 { + if x != nil && x.Size != nil { + return *x.Size + } + return 0 +} + +func (x *Attr) GetEffect() int32 { + if x != nil && x.Effect != nil { + return *x.Effect + } + return 0 +} + +func (x *Attr) GetCharSet() int32 { + if x != nil && x.CharSet != nil { + return *x.CharSet + } + return 0 +} + +func (x *Attr) GetPitchAndFamily() int32 { + if x != nil && x.PitchAndFamily != nil { + return *x.PitchAndFamily + } + return 0 +} + +func (x *Attr) GetFontName() string { + if x != nil && x.FontName != nil { + return *x.FontName + } + return "" +} + +func (x *Attr) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type C2C struct { + ToUin *int64 `protobuf:"varint,1,opt"` +} + +func (x *C2C) GetToUin() int64 { + if x != nil && x.ToUin != nil { + return *x.ToUin + } + return 0 +} + +func (x *C2C) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type C2CMsgInfo struct { + FromUin *int64 `protobuf:"varint,1,opt"` + ToUin *int64 `protobuf:"varint,2,opt"` + MsgSeq *int32 `protobuf:"varint,3,opt"` + MsgUid *int64 `protobuf:"varint,4,opt"` + MsgTime *int64 `protobuf:"varint,5,opt"` + MsgRandom *int32 `protobuf:"varint,6,opt"` + PkgNum *int32 `protobuf:"varint,7,opt"` + PkgIndex *int32 `protobuf:"varint,8,opt"` + DivSeq *int32 `protobuf:"varint,9,opt"` + MsgType *int32 `protobuf:"varint,10,opt"` + RoutingHead *RoutingHead `protobuf:"bytes,20,opt"` +} + +func (x *C2CMsgInfo) GetFromUin() int64 { + if x != nil && x.FromUin != nil { + return *x.FromUin + } + return 0 +} + +func (x *C2CMsgInfo) GetToUin() int64 { + if x != nil && x.ToUin != nil { + return *x.ToUin + } + return 0 +} + +func (x *C2CMsgInfo) GetMsgSeq() int32 { + if x != nil && x.MsgSeq != nil { + return *x.MsgSeq + } + return 0 +} + +func (x *C2CMsgInfo) GetMsgUid() int64 { + if x != nil && x.MsgUid != nil { + return *x.MsgUid + } + return 0 +} + +func (x *C2CMsgInfo) GetMsgTime() int64 { + if x != nil && x.MsgTime != nil { + return *x.MsgTime + } + return 0 +} + +func (x *C2CMsgInfo) GetMsgRandom() int32 { + if x != nil && x.MsgRandom != nil { + return *x.MsgRandom + } + return 0 +} + +func (x *C2CMsgInfo) GetPkgNum() int32 { + if x != nil && x.PkgNum != nil { + return *x.PkgNum + } + return 0 +} + +func (x *C2CMsgInfo) GetPkgIndex() int32 { + if x != nil && x.PkgIndex != nil { + return *x.PkgIndex + } + return 0 +} + +func (x *C2CMsgInfo) GetDivSeq() int32 { + if x != nil && x.DivSeq != nil { + return *x.DivSeq + } + return 0 +} + +func (x *C2CMsgInfo) GetMsgType() int32 { + if x != nil && x.MsgType != nil { + return *x.MsgType + } + return 0 +} + +func (x *C2CMsgInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type C2CMsgWithDrawReq struct { + MsgInfo []*C2CMsgInfo `protobuf:"bytes,1,rep"` + LongMessageFlag *int32 `protobuf:"varint,2,opt"` + Reserved []byte `protobuf:"bytes,3,opt"` + SubCmd *int32 `protobuf:"varint,4,opt"` +} + +func (x *C2CMsgWithDrawReq) GetLongMessageFlag() int32 { + if x != nil && x.LongMessageFlag != nil { + return *x.LongMessageFlag + } + return 0 +} + +func (x *C2CMsgWithDrawReq) GetSubCmd() int32 { + if x != nil && x.SubCmd != nil { + return *x.SubCmd + } + return 0 +} + +func (x *C2CMsgWithDrawReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type C2CMsgWithDrawResp struct { + Result *int32 `protobuf:"varint,1,opt"` + ErrMsg *string `protobuf:"bytes,2,opt"` +} + +func (x *C2CMsgWithDrawResp) GetResult() int32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *C2CMsgWithDrawResp) GetErrMsg() string { + if x != nil && x.ErrMsg != nil { + return *x.ErrMsg + } + return "" +} + +func (x *C2CMsgWithDrawResp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type C2CTempMessageHead struct { + C2CType *int32 `protobuf:"varint,1,opt"` + ServiceType *int32 `protobuf:"varint,2,opt"` + GroupUin *int64 `protobuf:"varint,3,opt"` + GroupCode *int64 `protobuf:"varint,4,opt"` + Sig []byte `protobuf:"bytes,5,opt"` + SigType *int32 `protobuf:"varint,6,opt"` + FromPhone *string `protobuf:"bytes,7,opt"` + ToPhone *string `protobuf:"bytes,8,opt"` + LockDisplay *int32 `protobuf:"varint,9,opt"` + DirectionFlag *int32 `protobuf:"varint,10,opt"` + Reserved []byte `protobuf:"bytes,11,opt"` +} + +func (x *C2CTempMessageHead) GetC2CType() int32 { + if x != nil && x.C2CType != nil { + return *x.C2CType + } + return 0 +} + +func (x *C2CTempMessageHead) GetServiceType() int32 { + if x != nil && x.ServiceType != nil { + return *x.ServiceType + } + return 0 +} + +func (x *C2CTempMessageHead) GetGroupUin() int64 { + if x != nil && x.GroupUin != nil { + return *x.GroupUin + } + return 0 +} + +func (x *C2CTempMessageHead) GetGroupCode() int64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *C2CTempMessageHead) GetSigType() int32 { + if x != nil && x.SigType != nil { + return *x.SigType + } + return 0 +} + +func (x *C2CTempMessageHead) GetFromPhone() string { + if x != nil && x.FromPhone != nil { + return *x.FromPhone + } + return "" +} + +func (x *C2CTempMessageHead) GetToPhone() string { + if x != nil && x.ToPhone != nil { + return *x.ToPhone + } + return "" +} + +func (x *C2CTempMessageHead) GetLockDisplay() int32 { + if x != nil && x.LockDisplay != nil { + return *x.LockDisplay + } + return 0 +} + +func (x *C2CTempMessageHead) GetDirectionFlag() int32 { + if x != nil && x.DirectionFlag != nil { + return *x.DirectionFlag + } + return 0 +} + +func (x *C2CTempMessageHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type CommonElem struct { + ServiceType *int32 `protobuf:"varint,1,opt"` + PbElem []byte `protobuf:"bytes,2,opt"` + BusinessType *int32 `protobuf:"varint,3,opt"` +} + +func (x *CommonElem) GetServiceType() int32 { + if x != nil && x.ServiceType != nil { + return *x.ServiceType + } + return 0 +} + +func (x *CommonElem) GetBusinessType() int32 { + if x != nil && x.BusinessType != nil { + return *x.BusinessType + } + return 0 +} + +func (x *CommonElem) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ContentHead struct { + PkgNum *int32 `protobuf:"varint,1,opt"` + PkgIndex *int32 `protobuf:"varint,2,opt"` + DivSeq *int32 `protobuf:"varint,3,opt"` + AutoReply *int32 `protobuf:"varint,4,opt"` +} + +func (x *ContentHead) GetPkgNum() int32 { + if x != nil && x.PkgNum != nil { + return *x.PkgNum + } + return 0 +} + +func (x *ContentHead) GetPkgIndex() int32 { + if x != nil && x.PkgIndex != nil { + return *x.PkgIndex + } + return 0 +} + +func (x *ContentHead) GetDivSeq() int32 { + if x != nil && x.DivSeq != nil { + return *x.DivSeq + } + return 0 +} + +func (x *ContentHead) GetAutoReply() int32 { + if x != nil && x.AutoReply != nil { + return *x.AutoReply + } + return 0 +} + +func (x *ContentHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type CustomElem struct { + Desc []byte `protobuf:"bytes,1,opt"` + Data []byte `protobuf:"bytes,2,opt"` + EnumType *int32 `protobuf:"varint,3,opt"` + Ext []byte `protobuf:"bytes,4,opt"` + Sound []byte `protobuf:"bytes,5,opt"` +} + +func (x *CustomElem) GetEnumType() int32 { + if x != nil && x.EnumType != nil { + return *x.EnumType + } + return 0 +} + +func (x *CustomElem) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type CustomFace struct { + Guid []byte `protobuf:"bytes,1,opt"` + FilePath *string `protobuf:"bytes,2,opt"` + Shortcut *string `protobuf:"bytes,3,opt"` + Buffer []byte `protobuf:"bytes,4,opt"` + Flag []byte `protobuf:"bytes,5,opt"` + OldData []byte `protobuf:"bytes,6,opt"` + FileId *int32 `protobuf:"varint,7,opt"` + ServerIp *int32 `protobuf:"varint,8,opt"` + ServerPort *int32 `protobuf:"varint,9,opt"` + FileType *int32 `protobuf:"varint,10,opt"` + Signature []byte `protobuf:"bytes,11,opt"` + Useful *int32 `protobuf:"varint,12,opt"` + Md5 []byte `protobuf:"bytes,13,opt"` + ThumbUrl *string `protobuf:"bytes,14,opt"` + BigUrl *string `protobuf:"bytes,15,opt"` + OrigUrl *string `protobuf:"bytes,16,opt"` + BizType *int32 `protobuf:"varint,17,opt"` + RepeatIndex *int32 `protobuf:"varint,18,opt"` + RepeatImage *int32 `protobuf:"varint,19,opt"` + ImageType *int32 `protobuf:"varint,20,opt"` + Index *int32 `protobuf:"varint,21,opt"` + Width *int32 `protobuf:"varint,22,opt"` + Height *int32 `protobuf:"varint,23,opt"` + Source *int32 `protobuf:"varint,24,opt"` + Size *int32 `protobuf:"varint,25,opt"` + Origin *int32 `protobuf:"varint,26,opt"` + ThumbWidth *int32 `protobuf:"varint,27,opt"` + ThumbHeight *int32 `protobuf:"varint,28,opt"` + ShowLen *int32 `protobuf:"varint,29,opt"` + DownloadLen *int32 `protobuf:"varint,30,opt"` + X400Url *string `protobuf:"bytes,31,opt"` + X400Width *int32 `protobuf:"varint,32,opt"` + X400Height *int32 `protobuf:"varint,33,opt"` + PbReserve []byte `protobuf:"bytes,34,opt"` +} + +func (x *CustomFace) GetFilePath() string { + if x != nil && x.FilePath != nil { + return *x.FilePath + } + return "" +} + +func (x *CustomFace) GetShortcut() string { + if x != nil && x.Shortcut != nil { + return *x.Shortcut + } + return "" +} + +func (x *CustomFace) GetFileId() int32 { + if x != nil && x.FileId != nil { + return *x.FileId + } + return 0 +} + +func (x *CustomFace) GetServerIp() int32 { + if x != nil && x.ServerIp != nil { + return *x.ServerIp + } + return 0 +} + +func (x *CustomFace) GetServerPort() int32 { + if x != nil && x.ServerPort != nil { + return *x.ServerPort + } + return 0 +} + +func (x *CustomFace) GetFileType() int32 { + if x != nil && x.FileType != nil { + return *x.FileType + } + return 0 +} + +func (x *CustomFace) GetUseful() int32 { + if x != nil && x.Useful != nil { + return *x.Useful + } + return 0 +} + +func (x *CustomFace) GetThumbUrl() string { + if x != nil && x.ThumbUrl != nil { + return *x.ThumbUrl + } + return "" +} + +func (x *CustomFace) GetBigUrl() string { + if x != nil && x.BigUrl != nil { + return *x.BigUrl + } + return "" +} + +func (x *CustomFace) GetOrigUrl() string { + if x != nil && x.OrigUrl != nil { + return *x.OrigUrl + } + return "" +} + +func (x *CustomFace) GetBizType() int32 { + if x != nil && x.BizType != nil { + return *x.BizType + } + return 0 +} + +func (x *CustomFace) GetRepeatIndex() int32 { + if x != nil && x.RepeatIndex != nil { + return *x.RepeatIndex + } + return 0 +} + +func (x *CustomFace) GetRepeatImage() int32 { + if x != nil && x.RepeatImage != nil { + return *x.RepeatImage + } + return 0 +} + +func (x *CustomFace) GetImageType() int32 { + if x != nil && x.ImageType != nil { + return *x.ImageType + } + return 0 +} + +func (x *CustomFace) GetIndex() int32 { + if x != nil && x.Index != nil { + return *x.Index + } + return 0 +} + +func (x *CustomFace) GetWidth() int32 { + if x != nil && x.Width != nil { + return *x.Width + } + return 0 +} + +func (x *CustomFace) GetHeight() int32 { + if x != nil && x.Height != nil { + return *x.Height + } + return 0 +} + +func (x *CustomFace) GetSource() int32 { + if x != nil && x.Source != nil { + return *x.Source + } + return 0 +} + +func (x *CustomFace) GetSize() int32 { + if x != nil && x.Size != nil { + return *x.Size + } + return 0 +} + +func (x *CustomFace) GetOrigin() int32 { + if x != nil && x.Origin != nil { + return *x.Origin + } + return 0 +} + +func (x *CustomFace) GetThumbWidth() int32 { + if x != nil && x.ThumbWidth != nil { + return *x.ThumbWidth + } + return 0 +} + +func (x *CustomFace) GetThumbHeight() int32 { + if x != nil && x.ThumbHeight != nil { + return *x.ThumbHeight + } + return 0 +} + +func (x *CustomFace) GetShowLen() int32 { + if x != nil && x.ShowLen != nil { + return *x.ShowLen + } + return 0 +} + +func (x *CustomFace) GetDownloadLen() int32 { + if x != nil && x.DownloadLen != nil { + return *x.DownloadLen + } + return 0 +} + +func (x *CustomFace) GetX400Url() string { + if x != nil && x.X400Url != nil { + return *x.X400Url + } + return "" +} + +func (x *CustomFace) GetX400Width() int32 { + if x != nil && x.X400Width != nil { + return *x.X400Width + } + return 0 +} + +func (x *CustomFace) GetX400Height() int32 { + if x != nil && x.X400Height != nil { + return *x.X400Height + } + return 0 +} + +func (x *CustomFace) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type DiscussInfo struct { + DiscussUin *int64 `protobuf:"varint,1,opt"` + DiscussType *int32 `protobuf:"varint,2,opt"` + DiscussInfoSeq *int64 `protobuf:"varint,3,opt"` + DiscussRemark []byte `protobuf:"bytes,4,opt"` + DiscussName []byte `protobuf:"bytes,5,opt"` +} + +func (x *DiscussInfo) GetDiscussUin() int64 { + if x != nil && x.DiscussUin != nil { + return *x.DiscussUin + } + return 0 +} + +func (x *DiscussInfo) GetDiscussType() int32 { + if x != nil && x.DiscussType != nil { + return *x.DiscussType + } + return 0 +} + +func (x *DiscussInfo) GetDiscussInfoSeq() int64 { + if x != nil && x.DiscussInfoSeq != nil { + return *x.DiscussInfoSeq + } + return 0 +} + +func (x *DiscussInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type Elem struct { + Text *Text `protobuf:"bytes,1,opt"` + Face *Face `protobuf:"bytes,2,opt"` + OnlineImage *OnlineImage `protobuf:"bytes,3,opt"` + NotOnlineImage *NotOnlineImage `protobuf:"bytes,4,opt"` + TransElemInfo *TransElem `protobuf:"bytes,5,opt"` + MarketFace *MarketFace `protobuf:"bytes,6,opt"` + CustomFace *CustomFace `protobuf:"bytes,8,opt"` + ElemFlags2 *ElemFlags2 `protobuf:"bytes,9,opt"` + RichMsg *RichMsg `protobuf:"bytes,12,opt"` + GroupFile *GroupFile `protobuf:"bytes,13,opt"` + ExtraInfo *ExtraInfo `protobuf:"bytes,16,opt"` + VideoFile *VideoFile `protobuf:"bytes,19,opt"` + AnonGroupMsg *AnonymousGroupMessage `protobuf:"bytes,21,opt"` + QQWalletMsg *QQWalletMsg `protobuf:"bytes,24,opt"` + CustomElem *CustomElem `protobuf:"bytes,31,opt"` + GeneralFlags *GeneralFlags `protobuf:"bytes,37,opt"` + SrcMsg *SourceMsg `protobuf:"bytes,45,opt"` + LightApp *LightAppElem `protobuf:"bytes,51,opt"` + CommonElem *CommonElem `protobuf:"bytes,53,opt"` +} + +func (x *Elem) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ElemFlags2 struct { + ColorTextId *uint32 `protobuf:"varint,1,opt"` + MsgId *uint64 `protobuf:"varint,2,opt"` + WhisperSessionId *uint32 `protobuf:"varint,3,opt"` + PttChangeBit *uint32 `protobuf:"varint,4,opt"` + VipStatus *uint32 `protobuf:"varint,5,opt"` + CompatibleId *uint32 `protobuf:"varint,6,opt"` + Insts []*ElemFlags2_Inst `protobuf:"bytes,7,rep"` + MsgRptCnt *uint32 `protobuf:"varint,8,opt"` + SrcInst *ElemFlags2_Inst `protobuf:"bytes,9,opt"` + Longtitude *uint32 `protobuf:"varint,10,opt"` + Latitude *uint32 `protobuf:"varint,11,opt"` + CustomFont *uint32 `protobuf:"varint,12,opt"` + PcSupportDef *PcSupportDef `protobuf:"bytes,13,opt"` + CrmFlags *uint32 `protobuf:"varint,14,opt"` +} + +func (x *ElemFlags2) GetColorTextId() uint32 { + if x != nil && x.ColorTextId != nil { + return *x.ColorTextId + } + return 0 +} + +func (x *ElemFlags2) GetMsgId() uint64 { + if x != nil && x.MsgId != nil { + return *x.MsgId + } + return 0 +} + +func (x *ElemFlags2) GetWhisperSessionId() uint32 { + if x != nil && x.WhisperSessionId != nil { + return *x.WhisperSessionId + } + return 0 +} + +func (x *ElemFlags2) GetPttChangeBit() uint32 { + if x != nil && x.PttChangeBit != nil { + return *x.PttChangeBit + } + return 0 +} + +func (x *ElemFlags2) GetVipStatus() uint32 { + if x != nil && x.VipStatus != nil { + return *x.VipStatus + } + return 0 +} + +func (x *ElemFlags2) GetCompatibleId() uint32 { + if x != nil && x.CompatibleId != nil { + return *x.CompatibleId + } + return 0 +} + +func (x *ElemFlags2) GetMsgRptCnt() uint32 { + if x != nil && x.MsgRptCnt != nil { + return *x.MsgRptCnt + } + return 0 +} + +func (x *ElemFlags2) GetLongtitude() uint32 { + if x != nil && x.Longtitude != nil { + return *x.Longtitude + } + return 0 +} + +func (x *ElemFlags2) GetLatitude() uint32 { + if x != nil && x.Latitude != nil { + return *x.Latitude + } + return 0 +} + +func (x *ElemFlags2) GetCustomFont() uint32 { + if x != nil && x.CustomFont != nil { + return *x.CustomFont + } + return 0 +} + +func (x *ElemFlags2) GetCrmFlags() uint32 { + if x != nil && x.CrmFlags != nil { + return *x.CrmFlags + } + return 0 +} + +func (x *ElemFlags2) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ExtGroupKeyInfo struct { + CurMaxSeq *int32 `protobuf:"varint,1,opt"` + CurTime *int64 `protobuf:"varint,2,opt"` +} + +func (x *ExtGroupKeyInfo) GetCurMaxSeq() int32 { + if x != nil && x.CurMaxSeq != nil { + return *x.CurMaxSeq + } + return 0 +} + +func (x *ExtGroupKeyInfo) GetCurTime() int64 { + if x != nil && x.CurTime != nil { + return *x.CurTime + } + return 0 +} + +func (x *ExtGroupKeyInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ExtraInfo struct { + Nick []byte `protobuf:"bytes,1,opt"` + GroupCard []byte `protobuf:"bytes,2,opt"` + Level *int32 `protobuf:"varint,3,opt"` + Flags *int32 `protobuf:"varint,4,opt"` + GroupMask *int32 `protobuf:"varint,5,opt"` + MsgTailId *int32 `protobuf:"varint,6,opt"` + SenderTitle []byte `protobuf:"bytes,7,opt"` + ApnsTips []byte `protobuf:"bytes,8,opt"` + Uin *int64 `protobuf:"varint,9,opt"` + MsgStateFlag *int32 `protobuf:"varint,10,opt"` + ApnsSoundType *int32 `protobuf:"varint,11,opt"` + NewGroupFlag *int32 `protobuf:"varint,12,opt"` +} + +func (x *ExtraInfo) GetLevel() int32 { + if x != nil && x.Level != nil { + return *x.Level + } + return 0 +} + +func (x *ExtraInfo) GetFlags() int32 { + if x != nil && x.Flags != nil { + return *x.Flags + } + return 0 +} + +func (x *ExtraInfo) GetGroupMask() int32 { + if x != nil && x.GroupMask != nil { + return *x.GroupMask + } + return 0 +} + +func (x *ExtraInfo) GetMsgTailId() int32 { + if x != nil && x.MsgTailId != nil { + return *x.MsgTailId + } + return 0 +} + +func (x *ExtraInfo) GetUin() int64 { + if x != nil && x.Uin != nil { + return *x.Uin + } + return 0 +} + +func (x *ExtraInfo) GetMsgStateFlag() int32 { + if x != nil && x.MsgStateFlag != nil { + return *x.MsgStateFlag + } + return 0 +} + +func (x *ExtraInfo) GetApnsSoundType() int32 { + if x != nil && x.ApnsSoundType != nil { + return *x.ApnsSoundType + } + return 0 +} + +func (x *ExtraInfo) GetNewGroupFlag() int32 { + if x != nil && x.NewGroupFlag != nil { + return *x.NewGroupFlag + } + return 0 +} + +func (x *ExtraInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type Face struct { + Index *int32 `protobuf:"varint,1,opt"` + Old []byte `protobuf:"bytes,2,opt"` + Buf []byte `protobuf:"bytes,11,opt"` +} + +func (x *Face) GetIndex() int32 { + if x != nil && x.Index != nil { + return *x.Index + } + return 0 +} + +func (x *Face) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GeneralFlags struct { + BubbleDiyTextId *int32 `protobuf:"varint,1,opt"` + GroupFlagNew *int32 `protobuf:"varint,2,opt"` + Uin *int64 `protobuf:"varint,3,opt"` + RpId []byte `protobuf:"bytes,4,opt"` + PrpFold *int32 `protobuf:"varint,5,opt"` + LongTextFlag *int32 `protobuf:"varint,6,opt"` + LongTextResid *string `protobuf:"bytes,7,opt"` + GroupType *int32 `protobuf:"varint,8,opt"` + ToUinFlag *int32 `protobuf:"varint,9,opt"` + GlamourLevel *int32 `protobuf:"varint,10,opt"` + MemberLevel *int32 `protobuf:"varint,11,opt"` + GroupRankSeq *int64 `protobuf:"varint,12,opt"` + OlympicTorch *int32 `protobuf:"varint,13,opt"` + BabyqGuideMsgCookie []byte `protobuf:"bytes,14,opt"` + Uin32ExpertFlag *int32 `protobuf:"varint,15,opt"` + BubbleSubId *int32 `protobuf:"varint,16,opt"` + PendantId *int64 `protobuf:"varint,17,opt"` + RpIndex []byte `protobuf:"bytes,18,opt"` + PbReserve []byte `protobuf:"bytes,19,opt"` +} + +func (x *GeneralFlags) GetBubbleDiyTextId() int32 { + if x != nil && x.BubbleDiyTextId != nil { + return *x.BubbleDiyTextId + } + return 0 +} + +func (x *GeneralFlags) GetGroupFlagNew() int32 { + if x != nil && x.GroupFlagNew != nil { + return *x.GroupFlagNew + } + return 0 +} + +func (x *GeneralFlags) GetUin() int64 { + if x != nil && x.Uin != nil { + return *x.Uin + } + return 0 +} + +func (x *GeneralFlags) GetPrpFold() int32 { + if x != nil && x.PrpFold != nil { + return *x.PrpFold + } + return 0 +} + +func (x *GeneralFlags) GetLongTextFlag() int32 { + if x != nil && x.LongTextFlag != nil { + return *x.LongTextFlag + } + return 0 +} + +func (x *GeneralFlags) GetLongTextResid() string { + if x != nil && x.LongTextResid != nil { + return *x.LongTextResid + } + return "" +} + +func (x *GeneralFlags) GetGroupType() int32 { + if x != nil && x.GroupType != nil { + return *x.GroupType + } + return 0 +} + +func (x *GeneralFlags) GetToUinFlag() int32 { + if x != nil && x.ToUinFlag != nil { + return *x.ToUinFlag + } + return 0 +} + +func (x *GeneralFlags) GetGlamourLevel() int32 { + if x != nil && x.GlamourLevel != nil { + return *x.GlamourLevel + } + return 0 +} + +func (x *GeneralFlags) GetMemberLevel() int32 { + if x != nil && x.MemberLevel != nil { + return *x.MemberLevel + } + return 0 +} + +func (x *GeneralFlags) GetGroupRankSeq() int64 { + if x != nil && x.GroupRankSeq != nil { + return *x.GroupRankSeq + } + return 0 +} + +func (x *GeneralFlags) GetOlympicTorch() int32 { + if x != nil && x.OlympicTorch != nil { + return *x.OlympicTorch + } + return 0 +} + +func (x *GeneralFlags) GetUin32ExpertFlag() int32 { + if x != nil && x.Uin32ExpertFlag != nil { + return *x.Uin32ExpertFlag + } + return 0 +} + +func (x *GeneralFlags) GetBubbleSubId() int32 { + if x != nil && x.BubbleSubId != nil { + return *x.BubbleSubId + } + return 0 +} + +func (x *GeneralFlags) GetPendantId() int64 { + if x != nil && x.PendantId != nil { + return *x.PendantId + } + return 0 +} + +func (x *GeneralFlags) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GetGroupMsgReq struct { + GroupCode *uint64 `protobuf:"varint,1,opt"` + BeginSeq *uint64 `protobuf:"varint,2,opt"` + EndSeq *uint64 `protobuf:"varint,3,opt"` + Filter *uint32 `protobuf:"varint,4,opt"` + MemberSeq *uint64 `protobuf:"varint,5,opt"` + PublicGroup *bool `protobuf:"varint,6,opt"` + ShieldFlag *uint32 `protobuf:"varint,7,opt"` + SaveTrafficFlag *uint32 `protobuf:"varint,8,opt"` +} + +func (x *GetGroupMsgReq) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *GetGroupMsgReq) GetBeginSeq() uint64 { + if x != nil && x.BeginSeq != nil { + return *x.BeginSeq + } + return 0 +} + +func (x *GetGroupMsgReq) GetEndSeq() uint64 { + if x != nil && x.EndSeq != nil { + return *x.EndSeq + } + return 0 +} + +func (x *GetGroupMsgReq) GetFilter() uint32 { + if x != nil && x.Filter != nil { + return *x.Filter + } + return 0 +} + +func (x *GetGroupMsgReq) GetMemberSeq() uint64 { + if x != nil && x.MemberSeq != nil { + return *x.MemberSeq + } + return 0 +} + +func (x *GetGroupMsgReq) GetPublicGroup() bool { + if x != nil && x.PublicGroup != nil { + return *x.PublicGroup + } + return false +} + +func (x *GetGroupMsgReq) GetShieldFlag() uint32 { + if x != nil && x.ShieldFlag != nil { + return *x.ShieldFlag + } + return 0 +} + +func (x *GetGroupMsgReq) GetSaveTrafficFlag() uint32 { + if x != nil && x.SaveTrafficFlag != nil { + return *x.SaveTrafficFlag + } + return 0 +} + +func (x *GetGroupMsgReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GetGroupMsgResp struct { + Result *uint32 `protobuf:"varint,1,opt"` + Errmsg *string `protobuf:"bytes,2,opt"` + GroupCode *uint64 `protobuf:"varint,3,opt"` + ReturnBeginSeq *uint64 `protobuf:"varint,4,opt"` + ReturnEndSeq *uint64 `protobuf:"varint,5,opt"` + Msg []*Message `protobuf:"bytes,6,rep"` +} + +func (x *GetGroupMsgResp) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *GetGroupMsgResp) GetErrmsg() string { + if x != nil && x.Errmsg != nil { + return *x.Errmsg + } + return "" +} + +func (x *GetGroupMsgResp) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *GetGroupMsgResp) GetReturnBeginSeq() uint64 { + if x != nil && x.ReturnBeginSeq != nil { + return *x.ReturnBeginSeq + } + return 0 +} + +func (x *GetGroupMsgResp) GetReturnEndSeq() uint64 { + if x != nil && x.ReturnEndSeq != nil { + return *x.ReturnEndSeq + } + return 0 +} + +func (x *GetGroupMsgResp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GetMessageRequest struct { + SyncFlag *SyncFlag `protobuf:"varint,1,opt"` + SyncCookie []byte `protobuf:"bytes,2,opt"` + RambleFlag *int32 `protobuf:"varint,3,opt"` + LatestRambleNumber *int32 `protobuf:"varint,4,opt"` + OtherRambleNumber *int32 `protobuf:"varint,5,opt"` + OnlineSyncFlag *int32 `protobuf:"varint,6,opt"` + ContextFlag *int32 `protobuf:"varint,7,opt"` + WhisperSessionId *int32 `protobuf:"varint,8,opt"` + MsgReqType *int32 `protobuf:"varint,9,opt"` + PubaccountCookie []byte `protobuf:"bytes,10,opt"` + MsgCtrlBuf []byte `protobuf:"bytes,11,opt"` + ServerBuf []byte `protobuf:"bytes,12,opt"` +} + +func (x *GetMessageRequest) GetSyncFlag() SyncFlag { + if x != nil && x.SyncFlag != nil { + return *x.SyncFlag + } + return 0 +} + +func (x *GetMessageRequest) GetRambleFlag() int32 { + if x != nil && x.RambleFlag != nil { + return *x.RambleFlag + } + return 0 +} + +func (x *GetMessageRequest) GetLatestRambleNumber() int32 { + if x != nil && x.LatestRambleNumber != nil { + return *x.LatestRambleNumber + } + return 0 +} + +func (x *GetMessageRequest) GetOtherRambleNumber() int32 { + if x != nil && x.OtherRambleNumber != nil { + return *x.OtherRambleNumber + } + return 0 +} + +func (x *GetMessageRequest) GetOnlineSyncFlag() int32 { + if x != nil && x.OnlineSyncFlag != nil { + return *x.OnlineSyncFlag + } + return 0 +} + +func (x *GetMessageRequest) GetContextFlag() int32 { + if x != nil && x.ContextFlag != nil { + return *x.ContextFlag + } + return 0 +} + +func (x *GetMessageRequest) GetWhisperSessionId() int32 { + if x != nil && x.WhisperSessionId != nil { + return *x.WhisperSessionId + } + return 0 +} + +func (x *GetMessageRequest) GetMsgReqType() int32 { + if x != nil && x.MsgReqType != nil { + return *x.MsgReqType + } + return 0 +} + +func (x *GetMessageRequest) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GetMessageResponse struct { + Result *int32 `protobuf:"varint,1,opt"` + ErrorMessage *string `protobuf:"bytes,2,opt"` + SyncCookie []byte `protobuf:"bytes,3,opt"` + SyncFlag *SyncFlag `protobuf:"varint,4,opt"` + UinPairMsgs []*UinPairMessage `protobuf:"bytes,5,rep"` + BindUin *int64 `protobuf:"varint,6,opt"` + MsgRspType *int32 `protobuf:"varint,7,opt"` + PubAccountCookie []byte `protobuf:"bytes,8,opt"` + IsPartialSync *bool `protobuf:"varint,9,opt"` + MsgCtrlBuf []byte `protobuf:"bytes,10,opt"` +} + +func (x *GetMessageResponse) GetResult() int32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *GetMessageResponse) GetErrorMessage() string { + if x != nil && x.ErrorMessage != nil { + return *x.ErrorMessage + } + return "" +} + +func (x *GetMessageResponse) GetSyncFlag() SyncFlag { + if x != nil && x.SyncFlag != nil { + return *x.SyncFlag + } + return 0 +} + +func (x *GetMessageResponse) GetBindUin() int64 { + if x != nil && x.BindUin != nil { + return *x.BindUin + } + return 0 +} + +func (x *GetMessageResponse) GetMsgRspType() int32 { + if x != nil && x.MsgRspType != nil { + return *x.MsgRspType + } + return 0 +} + +func (x *GetMessageResponse) GetIsPartialSync() bool { + if x != nil && x.IsPartialSync != nil { + return *x.IsPartialSync + } + return false +} + +func (x *GetMessageResponse) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GroupFile struct { + Filename []byte `protobuf:"bytes,1,opt"` + FileSize *int64 `protobuf:"varint,2,opt"` + FileId []byte `protobuf:"bytes,3,opt"` + BatchId []byte `protobuf:"bytes,4,opt"` + FileKey []byte `protobuf:"bytes,5,opt"` + Mark []byte `protobuf:"bytes,6,opt"` + Sequence *int64 `protobuf:"varint,7,opt"` + BatchItemId []byte `protobuf:"bytes,8,opt"` + FeedMsgTime *int32 `protobuf:"varint,9,opt"` + PbReserve []byte `protobuf:"bytes,10,opt"` +} + +func (x *GroupFile) GetFileSize() int64 { + if x != nil && x.FileSize != nil { + return *x.FileSize + } + return 0 +} + +func (x *GroupFile) GetSequence() int64 { + if x != nil && x.Sequence != nil { + return *x.Sequence + } + return 0 +} + +func (x *GroupFile) GetFeedMsgTime() int32 { + if x != nil && x.FeedMsgTime != nil { + return *x.FeedMsgTime + } + return 0 +} + +func (x *GroupFile) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GroupInfo struct { + GroupCode *int64 `protobuf:"varint,1,opt"` + GroupType *int32 `protobuf:"varint,2,opt"` + GroupInfoSeq *int64 `protobuf:"varint,3,opt"` + GroupCard *string `protobuf:"bytes,4,opt"` + GroupRank []byte `protobuf:"bytes,5,opt"` + GroupLevel *int32 `protobuf:"varint,6,opt"` + GroupCardType *int32 `protobuf:"varint,7,opt"` + GroupName []byte `protobuf:"bytes,8,opt"` +} + +func (x *GroupInfo) GetGroupCode() int64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *GroupInfo) GetGroupType() int32 { + if x != nil && x.GroupType != nil { + return *x.GroupType + } + return 0 +} + +func (x *GroupInfo) GetGroupInfoSeq() int64 { + if x != nil && x.GroupInfoSeq != nil { + return *x.GroupInfoSeq + } + return 0 +} + +func (x *GroupInfo) GetGroupCard() string { + if x != nil && x.GroupCard != nil { + return *x.GroupCard + } + return "" +} + +func (x *GroupInfo) GetGroupLevel() int32 { + if x != nil && x.GroupLevel != nil { + return *x.GroupLevel + } + return 0 +} + +func (x *GroupInfo) GetGroupCardType() int32 { + if x != nil && x.GroupCardType != nil { + return *x.GroupCardType + } + return 0 +} + +func (x *GroupInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GroupMsgInfo struct { + MsgSeq *int32 `protobuf:"varint,1,opt"` + MsgRandom *int32 `protobuf:"varint,2,opt"` + MsgType *int32 `protobuf:"varint,3,opt"` +} + +func (x *GroupMsgInfo) GetMsgSeq() int32 { + if x != nil && x.MsgSeq != nil { + return *x.MsgSeq + } + return 0 +} + +func (x *GroupMsgInfo) GetMsgRandom() int32 { + if x != nil && x.MsgRandom != nil { + return *x.MsgRandom + } + return 0 +} + +func (x *GroupMsgInfo) GetMsgType() int32 { + if x != nil && x.MsgType != nil { + return *x.MsgType + } + return 0 +} + +func (x *GroupMsgInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GroupMsgWithDrawReq struct { + SubCmd *int32 `protobuf:"varint,1,opt"` + GroupType *int32 `protobuf:"varint,2,opt"` + GroupCode *int64 `protobuf:"varint,3,opt"` + MsgList []*GroupMsgInfo `protobuf:"bytes,4,rep"` + UserDef []byte `protobuf:"bytes,5,opt"` +} + +func (x *GroupMsgWithDrawReq) GetSubCmd() int32 { + if x != nil && x.SubCmd != nil { + return *x.SubCmd + } + return 0 +} + +func (x *GroupMsgWithDrawReq) GetGroupType() int32 { + if x != nil && x.GroupType != nil { + return *x.GroupType + } + return 0 +} + +func (x *GroupMsgWithDrawReq) GetGroupCode() int64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *GroupMsgWithDrawReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GroupMsgWithDrawResp struct { + Result *int32 `protobuf:"varint,1,opt"` + ErrMsg *string `protobuf:"bytes,2,opt"` +} + +func (x *GroupMsgWithDrawResp) GetResult() int32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *GroupMsgWithDrawResp) GetErrMsg() string { + if x != nil && x.ErrMsg != nil { + return *x.ErrMsg + } + return "" +} + +func (x *GroupMsgWithDrawResp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type Grp struct { + GroupCode *int64 `protobuf:"varint,1,opt"` +} + +func (x *Grp) GetGroupCode() int64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *Grp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type GrpTmp struct { + GroupUin *int64 `protobuf:"varint,1,opt"` + ToUin *int64 `protobuf:"varint,2,opt"` +} + +func (x *GrpTmp) GetGroupUin() int64 { + if x != nil && x.GroupUin != nil { + return *x.GroupUin + } + return 0 +} + +func (x *GrpTmp) GetToUin() int64 { + if x != nil && x.ToUin != nil { + return *x.ToUin + } + return 0 +} + +func (x *GrpTmp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ElemFlags2_Inst struct { + AppId *uint32 `protobuf:"varint,1,opt"` + InstId *uint32 `protobuf:"varint,2,opt"` +} + +func (x *ElemFlags2_Inst) GetAppId() uint32 { + if x != nil && x.AppId != nil { + return *x.AppId + } + return 0 +} + +func (x *ElemFlags2_Inst) GetInstId() uint32 { + if x != nil && x.InstId != nil { + return *x.InstId + } + return 0 +} + +func (x *ElemFlags2_Inst) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type InstCtrl struct { + MsgSendToInst []*InstInfo `protobuf:"bytes,1,rep"` + MsgExcludeInst []*InstInfo `protobuf:"bytes,2,rep"` + MsgFromInst *InstInfo `protobuf:"bytes,3,opt"` +} + +func (x *InstCtrl) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type InstInfo struct { + Apppid *int32 `protobuf:"varint,1,opt"` + Instid *int32 `protobuf:"varint,2,opt"` + Platform *int32 `protobuf:"varint,3,opt"` + EnumDeviceType *int32 `protobuf:"varint,10,opt"` +} + +func (x *InstInfo) GetApppid() int32 { + if x != nil && x.Apppid != nil { + return *x.Apppid + } + return 0 +} + +func (x *InstInfo) GetInstid() int32 { + if x != nil && x.Instid != nil { + return *x.Instid + } + return 0 +} + +func (x *InstInfo) GetPlatform() int32 { + if x != nil && x.Platform != nil { + return *x.Platform + } + return 0 +} + +func (x *InstInfo) GetEnumDeviceType() int32 { + if x != nil && x.EnumDeviceType != nil { + return *x.EnumDeviceType + } + return 0 +} + +func (x *InstInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type LightAppElem struct { + Data []byte `protobuf:"bytes,1,opt"` + MsgResid []byte `protobuf:"bytes,2,opt"` +} + +func (x *LightAppElem) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MarketFace struct { + FaceName []byte `protobuf:"bytes,1,opt"` + ItemType *uint32 `protobuf:"varint,2,opt"` + FaceInfo *uint32 `protobuf:"varint,3,opt"` + FaceId []byte `protobuf:"bytes,4,opt"` + TabId *uint32 `protobuf:"varint,5,opt"` + SubType *uint32 `protobuf:"varint,6,opt"` + Key []byte `protobuf:"bytes,7,opt"` + Param []byte `protobuf:"bytes,8,opt"` + MediaType *uint32 `protobuf:"varint,9,opt"` + ImageWidth *uint32 `protobuf:"varint,10,opt"` + ImageHeight *uint32 `protobuf:"varint,11,opt"` + Mobileparam []byte `protobuf:"bytes,12,opt"` + PbReserve []byte `protobuf:"bytes,13,opt"` +} + +func (x *MarketFace) GetItemType() uint32 { + if x != nil && x.ItemType != nil { + return *x.ItemType + } + return 0 +} + +func (x *MarketFace) GetFaceInfo() uint32 { + if x != nil && x.FaceInfo != nil { + return *x.FaceInfo + } + return 0 +} + +func (x *MarketFace) GetTabId() uint32 { + if x != nil && x.TabId != nil { + return *x.TabId + } + return 0 +} + +func (x *MarketFace) GetSubType() uint32 { + if x != nil && x.SubType != nil { + return *x.SubType + } + return 0 +} + +func (x *MarketFace) GetMediaType() uint32 { + if x != nil && x.MediaType != nil { + return *x.MediaType + } + return 0 +} + +func (x *MarketFace) GetImageWidth() uint32 { + if x != nil && x.ImageWidth != nil { + return *x.ImageWidth + } + return 0 +} + +func (x *MarketFace) GetImageHeight() uint32 { + if x != nil && x.ImageHeight != nil { + return *x.ImageHeight + } + return 0 +} + +func (x *MarketFace) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type Message struct { + Head *MessageHead `protobuf:"bytes,1,opt"` + Content *ContentHead `protobuf:"bytes,2,opt"` + Body *MessageBody `protobuf:"bytes,3,opt"` +} + +func (x *Message) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MessageBody struct { + RichText *RichText `protobuf:"bytes,1,opt"` + MsgContent []byte `protobuf:"bytes,2,opt"` + MsgEncryptContent []byte `protobuf:"bytes,3,opt"` +} + +func (x *MessageBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MessageHead struct { + FromUin *int64 `protobuf:"varint,1,opt"` + ToUin *int64 `protobuf:"varint,2,opt"` + MsgType *int32 `protobuf:"varint,3,opt"` + C2CCmd *int32 `protobuf:"varint,4,opt"` + MsgSeq *int32 `protobuf:"varint,5,opt"` + MsgTime *int32 `protobuf:"varint,6,opt"` + MsgUid *int64 `protobuf:"varint,7,opt"` + C2CTmpMsgHead *C2CTempMessageHead `protobuf:"bytes,8,opt"` + GroupInfo *GroupInfo `protobuf:"bytes,9,opt"` + FromAppid *int32 `protobuf:"varint,10,opt"` + FromInstid *int32 `protobuf:"varint,11,opt"` + UserActive *int32 `protobuf:"varint,12,opt"` + DiscussInfo *DiscussInfo `protobuf:"bytes,13,opt"` + FromNick *string `protobuf:"bytes,14,opt"` + AuthUin *int64 `protobuf:"varint,15,opt"` + AuthNick *string `protobuf:"bytes,16,opt"` + MsgFlag *int32 `protobuf:"varint,17,opt"` + AuthRemark *string `protobuf:"bytes,18,opt"` + GroupName *string `protobuf:"bytes,19,opt"` + MutiltransHead *MutilTransHead `protobuf:"bytes,20,opt"` + MsgInstCtrl *InstCtrl `protobuf:"bytes,21,opt"` + PublicAccountGroupSendFlag *int32 `protobuf:"varint,22,opt"` + WseqInC2CMsghead *int32 `protobuf:"varint,23,opt"` + Cpid *int64 `protobuf:"varint,24,opt"` + ExtGroupKeyInfo *ExtGroupKeyInfo `protobuf:"bytes,25,opt"` + MultiCompatibleText *string `protobuf:"bytes,26,opt"` + AuthSex *int32 `protobuf:"varint,27,opt"` + IsSrcMsg *bool `protobuf:"varint,28,opt"` +} + +func (x *MessageHead) GetFromUin() int64 { + if x != nil && x.FromUin != nil { + return *x.FromUin + } + return 0 +} + +func (x *MessageHead) GetToUin() int64 { + if x != nil && x.ToUin != nil { + return *x.ToUin + } + return 0 +} + +func (x *MessageHead) GetMsgType() int32 { + if x != nil && x.MsgType != nil { + return *x.MsgType + } + return 0 +} + +func (x *MessageHead) GetC2CCmd() int32 { + if x != nil && x.C2CCmd != nil { + return *x.C2CCmd + } + return 0 +} + +func (x *MessageHead) GetMsgSeq() int32 { + if x != nil && x.MsgSeq != nil { + return *x.MsgSeq + } + return 0 +} + +func (x *MessageHead) GetMsgTime() int32 { + if x != nil && x.MsgTime != nil { + return *x.MsgTime + } + return 0 +} + +func (x *MessageHead) GetMsgUid() int64 { + if x != nil && x.MsgUid != nil { + return *x.MsgUid + } + return 0 +} + +func (x *MessageHead) GetFromAppid() int32 { + if x != nil && x.FromAppid != nil { + return *x.FromAppid + } + return 0 +} + +func (x *MessageHead) GetFromInstid() int32 { + if x != nil && x.FromInstid != nil { + return *x.FromInstid + } + return 0 +} + +func (x *MessageHead) GetUserActive() int32 { + if x != nil && x.UserActive != nil { + return *x.UserActive + } + return 0 +} + +func (x *MessageHead) GetFromNick() string { + if x != nil && x.FromNick != nil { + return *x.FromNick + } + return "" +} + +func (x *MessageHead) GetAuthUin() int64 { + if x != nil && x.AuthUin != nil { + return *x.AuthUin + } + return 0 +} + +func (x *MessageHead) GetAuthNick() string { + if x != nil && x.AuthNick != nil { + return *x.AuthNick + } + return "" +} + +func (x *MessageHead) GetMsgFlag() int32 { + if x != nil && x.MsgFlag != nil { + return *x.MsgFlag + } + return 0 +} + +func (x *MessageHead) GetAuthRemark() string { + if x != nil && x.AuthRemark != nil { + return *x.AuthRemark + } + return "" +} + +func (x *MessageHead) GetGroupName() string { + if x != nil && x.GroupName != nil { + return *x.GroupName + } + return "" +} + +func (x *MessageHead) GetPublicAccountGroupSendFlag() int32 { + if x != nil && x.PublicAccountGroupSendFlag != nil { + return *x.PublicAccountGroupSendFlag + } + return 0 +} + +func (x *MessageHead) GetWseqInC2CMsghead() int32 { + if x != nil && x.WseqInC2CMsghead != nil { + return *x.WseqInC2CMsghead + } + return 0 +} + +func (x *MessageHead) GetCpid() int64 { + if x != nil && x.Cpid != nil { + return *x.Cpid + } + return 0 +} + +func (x *MessageHead) GetMultiCompatibleText() string { + if x != nil && x.MultiCompatibleText != nil { + return *x.MultiCompatibleText + } + return "" +} + +func (x *MessageHead) GetAuthSex() int32 { + if x != nil && x.AuthSex != nil { + return *x.AuthSex + } + return 0 +} + +func (x *MessageHead) GetIsSrcMsg() bool { + if x != nil && x.IsSrcMsg != nil { + return *x.IsSrcMsg + } + return false +} + +func (x *MessageHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgCtrl struct { + MsgFlag *int32 `protobuf:"varint,1,opt"` +} + +func (x *MsgCtrl) GetMsgFlag() int32 { + if x != nil && x.MsgFlag != nil { + return *x.MsgFlag + } + return 0 +} + +func (x *MsgCtrl) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgElemInfoServtype3 struct { + FlashTroopPic *CustomFace `protobuf:"bytes,1,opt"` + FlashC2CPic *NotOnlineImage `protobuf:"bytes,2,opt"` +} + +func (x *MsgElemInfoServtype3) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgElemInfoServtype33 struct { + Index *uint32 `protobuf:"varint,1,opt"` + Text []byte `protobuf:"bytes,2,opt"` + Compat []byte `protobuf:"bytes,3,opt"` + Buf []byte `protobuf:"bytes,4,opt"` +} + +func (x *MsgElemInfoServtype33) GetIndex() uint32 { + if x != nil && x.Index != nil { + return *x.Index + } + return 0 +} + +func (x *MsgElemInfoServtype33) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgElemInfoServtype38 struct { + ReactData []byte `protobuf:"bytes,1,opt"` + ReplyData []byte `protobuf:"bytes,2,opt"` +} + +func (x *MsgElemInfoServtype38) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgWithDrawReq struct { + C2CWithDraw []*C2CMsgWithDrawReq `protobuf:"bytes,1,rep"` + GroupWithDraw []*GroupMsgWithDrawReq `protobuf:"bytes,2,rep"` +} + +func (x *MsgWithDrawReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgWithDrawResp struct { + C2CWithDraw []*C2CMsgWithDrawResp `protobuf:"bytes,1,rep"` + GroupWithDraw []*GroupMsgWithDrawResp `protobuf:"bytes,2,rep"` +} + +func (x *MsgWithDrawResp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MutilTransHead struct { + Status *int32 `protobuf:"varint,1,opt"` + MsgId *int32 `protobuf:"varint,2,opt"` +} + +func (x *MutilTransHead) GetStatus() int32 { + if x != nil && x.Status != nil { + return *x.Status + } + return 0 +} + +func (x *MutilTransHead) GetMsgId() int32 { + if x != nil && x.MsgId != nil { + return *x.MsgId + } + return 0 +} + +func (x *MutilTransHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type NotOnlineFile struct { + FileType *int32 `protobuf:"varint,1,opt"` + Sig []byte `protobuf:"bytes,2,opt"` + FileUuid []byte `protobuf:"bytes,3,opt"` + FileMd5 []byte `protobuf:"bytes,4,opt"` + FileName []byte `protobuf:"bytes,5,opt"` + FileSize *int64 `protobuf:"varint,6,opt"` + Note []byte `protobuf:"bytes,7,opt"` + Reserved *int32 `protobuf:"varint,8,opt"` + Subcmd *int32 `protobuf:"varint,9,opt"` + MicroCloud *int32 `protobuf:"varint,10,opt"` + BytesFileUrls [][]byte `protobuf:"bytes,11,rep"` + DownloadFlag *int32 `protobuf:"varint,12,opt"` + DangerEvel *int32 `protobuf:"varint,50,opt"` + LifeTime *int32 `protobuf:"varint,51,opt"` + UploadTime *int32 `protobuf:"varint,52,opt"` + AbsFileType *int32 `protobuf:"varint,53,opt"` + ClientType *int32 `protobuf:"varint,54,opt"` + ExpireTime *int32 `protobuf:"varint,55,opt"` + PbReserve []byte `protobuf:"bytes,56,opt"` +} + +func (x *NotOnlineFile) GetFileType() int32 { + if x != nil && x.FileType != nil { + return *x.FileType + } + return 0 +} + +func (x *NotOnlineFile) GetFileSize() int64 { + if x != nil && x.FileSize != nil { + return *x.FileSize + } + return 0 +} + +func (x *NotOnlineFile) GetReserved() int32 { + if x != nil && x.Reserved != nil { + return *x.Reserved + } + return 0 +} + +func (x *NotOnlineFile) GetSubcmd() int32 { + if x != nil && x.Subcmd != nil { + return *x.Subcmd + } + return 0 +} + +func (x *NotOnlineFile) GetMicroCloud() int32 { + if x != nil && x.MicroCloud != nil { + return *x.MicroCloud + } + return 0 +} + +func (x *NotOnlineFile) GetDownloadFlag() int32 { + if x != nil && x.DownloadFlag != nil { + return *x.DownloadFlag + } + return 0 +} + +func (x *NotOnlineFile) GetDangerEvel() int32 { + if x != nil && x.DangerEvel != nil { + return *x.DangerEvel + } + return 0 +} + +func (x *NotOnlineFile) GetLifeTime() int32 { + if x != nil && x.LifeTime != nil { + return *x.LifeTime + } + return 0 +} + +func (x *NotOnlineFile) GetUploadTime() int32 { + if x != nil && x.UploadTime != nil { + return *x.UploadTime + } + return 0 +} + +func (x *NotOnlineFile) GetAbsFileType() int32 { + if x != nil && x.AbsFileType != nil { + return *x.AbsFileType + } + return 0 +} + +func (x *NotOnlineFile) GetClientType() int32 { + if x != nil && x.ClientType != nil { + return *x.ClientType + } + return 0 +} + +func (x *NotOnlineFile) GetExpireTime() int32 { + if x != nil && x.ExpireTime != nil { + return *x.ExpireTime + } + return 0 +} + +func (x *NotOnlineFile) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type NotOnlineImage struct { + FilePath *string `protobuf:"bytes,1,opt"` + FileLen *int32 `protobuf:"varint,2,opt"` + DownloadPath *string `protobuf:"bytes,3,opt"` + OldVerSendFile []byte `protobuf:"bytes,4,opt"` + ImgType *int32 `protobuf:"varint,5,opt"` + PreviewsImage []byte `protobuf:"bytes,6,opt"` + PicMd5 []byte `protobuf:"bytes,7,opt"` + PicHeight *int32 `protobuf:"varint,8,opt"` + PicWidth *int32 `protobuf:"varint,9,opt"` + ResId *string `protobuf:"bytes,10,opt"` + Flag []byte `protobuf:"bytes,11,opt"` + ThumbUrl *string `protobuf:"bytes,12,opt"` + Original *int32 `protobuf:"varint,13,opt"` + BigUrl *string `protobuf:"bytes,14,opt"` + OrigUrl *string `protobuf:"bytes,15,opt"` + BizType *int32 `protobuf:"varint,16,opt"` + Result *int32 `protobuf:"varint,17,opt"` + Index *int32 `protobuf:"varint,18,opt"` + OpFaceBuf []byte `protobuf:"bytes,19,opt"` + OldPicMd5 *bool `protobuf:"varint,20,opt"` + ThumbWidth *int32 `protobuf:"varint,21,opt"` + ThumbHeight *int32 `protobuf:"varint,22,opt"` + FileId *int32 `protobuf:"varint,23,opt"` + ShowLen *int32 `protobuf:"varint,24,opt"` + DownloadLen *int32 `protobuf:"varint,25,opt"` + PbReserve []byte `protobuf:"bytes,29,opt"` +} + +func (x *NotOnlineImage) GetFilePath() string { + if x != nil && x.FilePath != nil { + return *x.FilePath + } + return "" +} + +func (x *NotOnlineImage) GetFileLen() int32 { + if x != nil && x.FileLen != nil { + return *x.FileLen + } + return 0 +} + +func (x *NotOnlineImage) GetDownloadPath() string { + if x != nil && x.DownloadPath != nil { + return *x.DownloadPath + } + return "" +} + +func (x *NotOnlineImage) GetImgType() int32 { + if x != nil && x.ImgType != nil { + return *x.ImgType + } + return 0 +} + +func (x *NotOnlineImage) GetPicHeight() int32 { + if x != nil && x.PicHeight != nil { + return *x.PicHeight + } + return 0 +} + +func (x *NotOnlineImage) GetPicWidth() int32 { + if x != nil && x.PicWidth != nil { + return *x.PicWidth + } + return 0 +} + +func (x *NotOnlineImage) GetResId() string { + if x != nil && x.ResId != nil { + return *x.ResId + } + return "" +} + +func (x *NotOnlineImage) GetThumbUrl() string { + if x != nil && x.ThumbUrl != nil { + return *x.ThumbUrl + } + return "" +} + +func (x *NotOnlineImage) GetOriginal() int32 { + if x != nil && x.Original != nil { + return *x.Original + } + return 0 +} + +func (x *NotOnlineImage) GetBigUrl() string { + if x != nil && x.BigUrl != nil { + return *x.BigUrl + } + return "" +} + +func (x *NotOnlineImage) GetOrigUrl() string { + if x != nil && x.OrigUrl != nil { + return *x.OrigUrl + } + return "" +} + +func (x *NotOnlineImage) GetBizType() int32 { + if x != nil && x.BizType != nil { + return *x.BizType + } + return 0 +} + +func (x *NotOnlineImage) GetResult() int32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *NotOnlineImage) GetIndex() int32 { + if x != nil && x.Index != nil { + return *x.Index + } + return 0 +} + +func (x *NotOnlineImage) GetOldPicMd5() bool { + if x != nil && x.OldPicMd5 != nil { + return *x.OldPicMd5 + } + return false +} + +func (x *NotOnlineImage) GetThumbWidth() int32 { + if x != nil && x.ThumbWidth != nil { + return *x.ThumbWidth + } + return 0 +} + +func (x *NotOnlineImage) GetThumbHeight() int32 { + if x != nil && x.ThumbHeight != nil { + return *x.ThumbHeight + } + return 0 +} + +func (x *NotOnlineImage) GetFileId() int32 { + if x != nil && x.FileId != nil { + return *x.FileId + } + return 0 +} + +func (x *NotOnlineImage) GetShowLen() int32 { + if x != nil && x.ShowLen != nil { + return *x.ShowLen + } + return 0 +} + +func (x *NotOnlineImage) GetDownloadLen() int32 { + if x != nil && x.DownloadLen != nil { + return *x.DownloadLen + } + return 0 +} + +func (x *NotOnlineImage) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type OnlineImage struct { + Guid []byte `protobuf:"bytes,1,opt"` + FilePath []byte `protobuf:"bytes,2,opt"` + OldVerSendFile []byte `protobuf:"bytes,3,opt"` +} + +func (x *OnlineImage) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbGetOneDayRoamMsgReq struct { + PeerUin *uint64 `protobuf:"varint,1,opt"` + LastMsgTime *uint64 `protobuf:"varint,2,opt"` + Random *uint64 `protobuf:"varint,3,opt"` + ReadCnt *uint32 `protobuf:"varint,4,opt"` +} + +func (x *PbGetOneDayRoamMsgReq) GetPeerUin() uint64 { + if x != nil && x.PeerUin != nil { + return *x.PeerUin + } + return 0 +} + +func (x *PbGetOneDayRoamMsgReq) GetLastMsgTime() uint64 { + if x != nil && x.LastMsgTime != nil { + return *x.LastMsgTime + } + return 0 +} + +func (x *PbGetOneDayRoamMsgReq) GetRandom() uint64 { + if x != nil && x.Random != nil { + return *x.Random + } + return 0 +} + +func (x *PbGetOneDayRoamMsgReq) GetReadCnt() uint32 { + if x != nil && x.ReadCnt != nil { + return *x.ReadCnt + } + return 0 +} + +func (x *PbGetOneDayRoamMsgReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbGetOneDayRoamMsgResp struct { + Result *uint32 `protobuf:"varint,1,opt"` + ErrMsg *string `protobuf:"bytes,2,opt"` + PeerUin *uint64 `protobuf:"varint,3,opt"` + LastMsgTime *uint64 `protobuf:"varint,4,opt"` + Random *uint64 `protobuf:"varint,5,opt"` + Msg []*Message `protobuf:"bytes,6,rep"` + IsComplete *uint32 `protobuf:"varint,7,opt"` +} + +func (x *PbGetOneDayRoamMsgResp) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *PbGetOneDayRoamMsgResp) GetErrMsg() string { + if x != nil && x.ErrMsg != nil { + return *x.ErrMsg + } + return "" +} + +func (x *PbGetOneDayRoamMsgResp) GetPeerUin() uint64 { + if x != nil && x.PeerUin != nil { + return *x.PeerUin + } + return 0 +} + +func (x *PbGetOneDayRoamMsgResp) GetLastMsgTime() uint64 { + if x != nil && x.LastMsgTime != nil { + return *x.LastMsgTime + } + return 0 +} + +func (x *PbGetOneDayRoamMsgResp) GetRandom() uint64 { + if x != nil && x.Random != nil { + return *x.Random + } + return 0 +} + +func (x *PbGetOneDayRoamMsgResp) GetIsComplete() uint32 { + if x != nil && x.IsComplete != nil { + return *x.IsComplete + } + return 0 +} + +func (x *PbGetOneDayRoamMsgResp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbMultiMsgItem struct { + FileName *string `protobuf:"bytes,1,opt"` + Buffer *PbMultiMsgNew `protobuf:"bytes,2,opt"` +} + +func (x *PbMultiMsgItem) GetFileName() string { + if x != nil && x.FileName != nil { + return *x.FileName + } + return "" +} + +func (x *PbMultiMsgItem) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbMultiMsgNew struct { + Msg []*Message `protobuf:"bytes,1,rep"` +} + +func (x *PbMultiMsgNew) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbMultiMsgTransmit struct { + Msg []*Message `protobuf:"bytes,1,rep"` + PbItemList []*PbMultiMsgItem `protobuf:"bytes,2,rep"` +} + +func (x *PbMultiMsgTransmit) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbPushMsg struct { + Msg *Message `protobuf:"bytes,1,opt"` + Svrip *int32 `protobuf:"varint,2,opt"` + PushToken []byte `protobuf:"bytes,3,opt"` + PingFlag *uint32 `protobuf:"varint,4,opt"` + GeneralFlag *uint32 `protobuf:"varint,9,opt"` + BindUin *uint64 `protobuf:"varint,10,opt"` +} + +func (x *PbPushMsg) GetSvrip() int32 { + if x != nil && x.Svrip != nil { + return *x.Svrip + } + return 0 +} + +func (x *PbPushMsg) GetPingFlag() uint32 { + if x != nil && x.PingFlag != nil { + return *x.PingFlag + } + return 0 +} + +func (x *PbPushMsg) GetGeneralFlag() uint32 { + if x != nil && x.GeneralFlag != nil { + return *x.GeneralFlag + } + return 0 +} + +func (x *PbPushMsg) GetBindUin() uint64 { + if x != nil && x.BindUin != nil { + return *x.BindUin + } + return 0 +} + +func (x *PbPushMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PcSupportDef struct { + PcPtlBegin *uint32 `protobuf:"varint,1,opt"` + PcPtlEnd *uint32 `protobuf:"varint,2,opt"` + MacPtlBegin *uint32 `protobuf:"varint,3,opt"` + MacPtlEnd *uint32 `protobuf:"varint,4,opt"` + PtlsSupport []uint32 `protobuf:"varint,5,rep"` + PtlsNotSupport []uint32 `protobuf:"varint,6,rep"` +} + +func (x *PcSupportDef) GetPcPtlBegin() uint32 { + if x != nil && x.PcPtlBegin != nil { + return *x.PcPtlBegin + } + return 0 +} + +func (x *PcSupportDef) GetPcPtlEnd() uint32 { + if x != nil && x.PcPtlEnd != nil { + return *x.PcPtlEnd + } + return 0 +} + +func (x *PcSupportDef) GetMacPtlBegin() uint32 { + if x != nil && x.MacPtlBegin != nil { + return *x.MacPtlBegin + } + return 0 +} + +func (x *PcSupportDef) GetMacPtlEnd() uint32 { + if x != nil && x.MacPtlEnd != nil { + return *x.MacPtlEnd + } + return 0 +} + +func (x *PcSupportDef) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type Ptt struct { + FileType *int32 `protobuf:"varint,1,opt"` + SrcUin *int64 `protobuf:"varint,2,opt"` + FileUuid []byte `protobuf:"bytes,3,opt"` + FileMd5 []byte `protobuf:"bytes,4,opt"` + FileName *string `protobuf:"bytes,5,opt"` + FileSize *int32 `protobuf:"varint,6,opt"` + Reserve []byte `protobuf:"bytes,7,opt"` + FileId *int32 `protobuf:"varint,8,opt"` + ServerIp *int32 `protobuf:"varint,9,opt"` + ServerPort *int32 `protobuf:"varint,10,opt"` + BoolValid *bool `protobuf:"varint,11,opt"` + Signature []byte `protobuf:"bytes,12,opt"` + Shortcut []byte `protobuf:"bytes,13,opt"` + FileKey []byte `protobuf:"bytes,14,opt"` + MagicPttIndex *int32 `protobuf:"varint,15,opt"` + VoiceSwitch *int32 `protobuf:"varint,16,opt"` + PttUrl []byte `protobuf:"bytes,17,opt"` + GroupFileKey []byte `protobuf:"bytes,18,opt"` + Time *int32 `protobuf:"varint,19,opt"` + DownPara []byte `protobuf:"bytes,20,opt"` + Format *int32 `protobuf:"varint,29,opt"` + PbReserve []byte `protobuf:"bytes,30,opt"` + BytesPttUrls [][]byte `protobuf:"bytes,31,rep"` + DownloadFlag *int32 `protobuf:"varint,32,opt"` +} + +func (x *Ptt) GetFileType() int32 { + if x != nil && x.FileType != nil { + return *x.FileType + } + return 0 +} + +func (x *Ptt) GetSrcUin() int64 { + if x != nil && x.SrcUin != nil { + return *x.SrcUin + } + return 0 +} + +func (x *Ptt) GetFileName() string { + if x != nil && x.FileName != nil { + return *x.FileName + } + return "" +} + +func (x *Ptt) GetFileSize() int32 { + if x != nil && x.FileSize != nil { + return *x.FileSize + } + return 0 +} + +func (x *Ptt) GetFileId() int32 { + if x != nil && x.FileId != nil { + return *x.FileId + } + return 0 +} + +func (x *Ptt) GetServerIp() int32 { + if x != nil && x.ServerIp != nil { + return *x.ServerIp + } + return 0 +} + +func (x *Ptt) GetServerPort() int32 { + if x != nil && x.ServerPort != nil { + return *x.ServerPort + } + return 0 +} + +func (x *Ptt) GetBoolValid() bool { + if x != nil && x.BoolValid != nil { + return *x.BoolValid + } + return false +} + +func (x *Ptt) GetMagicPttIndex() int32 { + if x != nil && x.MagicPttIndex != nil { + return *x.MagicPttIndex + } + return 0 +} + +func (x *Ptt) GetVoiceSwitch() int32 { + if x != nil && x.VoiceSwitch != nil { + return *x.VoiceSwitch + } + return 0 +} + +func (x *Ptt) GetTime() int32 { + if x != nil && x.Time != nil { + return *x.Time + } + return 0 +} + +func (x *Ptt) GetFormat() int32 { + if x != nil && x.Format != nil { + return *x.Format + } + return 0 +} + +func (x *Ptt) GetDownloadFlag() int32 { + if x != nil && x.DownloadFlag != nil { + return *x.DownloadFlag + } + return 0 +} + +func (x *Ptt) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PushMessagePacket struct { + Message *Message `protobuf:"bytes,1,opt"` + Svrip *int32 `protobuf:"varint,2,opt"` + PushToken []byte `protobuf:"bytes,3,opt"` + PingFLag *int32 `protobuf:"varint,4,opt"` + GeneralFlag *int32 `protobuf:"varint,9,opt"` +} + +func (x *PushMessagePacket) GetSvrip() int32 { + if x != nil && x.Svrip != nil { + return *x.Svrip + } + return 0 +} + +func (x *PushMessagePacket) GetPingFLag() int32 { + if x != nil && x.PingFLag != nil { + return *x.PingFLag + } + return 0 +} + +func (x *PushMessagePacket) GetGeneralFlag() int32 { + if x != nil && x.GeneralFlag != nil { + return *x.GeneralFlag + } + return 0 +} + +func (x *PushMessagePacket) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type QQWalletAioBody struct { + SendUin *uint64 `protobuf:"varint,1,opt"` + Sender *QQWalletAioElem `protobuf:"bytes,2,opt"` + Receiver *QQWalletAioElem `protobuf:"bytes,3,opt"` + ChannelId *int32 `protobuf:"zigzag32,4,opt"` + TemplateId *int32 `protobuf:"zigzag32,5,opt"` + Resend *uint32 `protobuf:"varint,6,opt"` + MsgPriority *uint32 `protobuf:"varint,7,opt"` + RedType *int32 `protobuf:"zigzag32,8,opt"` + BillNo []byte `protobuf:"bytes,9,opt"` + AuthKey []byte `protobuf:"bytes,10,opt"` + SessionType *int32 `protobuf:"zigzag32,11,opt"` + MsgType *int32 `protobuf:"zigzag32,12,opt"` + EnvelOpeId *int32 `protobuf:"zigzag32,13,opt"` + Name []byte `protobuf:"bytes,14,opt"` + ConfType *int32 `protobuf:"zigzag32,15,opt"` + MsgFrom *int32 `protobuf:"zigzag32,16,opt"` + PcBody []byte `protobuf:"bytes,17,opt"` + Index []byte `protobuf:"bytes,18,opt"` + RedChannel *uint32 `protobuf:"varint,19,opt"` + GrapUin []uint64 `protobuf:"varint,20,rep"` + PbReserve []byte `protobuf:"bytes,21,opt"` +} + +func (x *QQWalletAioBody) GetSendUin() uint64 { + if x != nil && x.SendUin != nil { + return *x.SendUin + } + return 0 +} + +func (x *QQWalletAioBody) GetChannelId() int32 { + if x != nil && x.ChannelId != nil { + return *x.ChannelId + } + return 0 +} + +func (x *QQWalletAioBody) GetTemplateId() int32 { + if x != nil && x.TemplateId != nil { + return *x.TemplateId + } + return 0 +} + +func (x *QQWalletAioBody) GetResend() uint32 { + if x != nil && x.Resend != nil { + return *x.Resend + } + return 0 +} + +func (x *QQWalletAioBody) GetMsgPriority() uint32 { + if x != nil && x.MsgPriority != nil { + return *x.MsgPriority + } + return 0 +} + +func (x *QQWalletAioBody) GetRedType() int32 { + if x != nil && x.RedType != nil { + return *x.RedType + } + return 0 +} + +func (x *QQWalletAioBody) GetSessionType() int32 { + if x != nil && x.SessionType != nil { + return *x.SessionType + } + return 0 +} + +func (x *QQWalletAioBody) GetMsgType() int32 { + if x != nil && x.MsgType != nil { + return *x.MsgType + } + return 0 +} + +func (x *QQWalletAioBody) GetEnvelOpeId() int32 { + if x != nil && x.EnvelOpeId != nil { + return *x.EnvelOpeId + } + return 0 +} + +func (x *QQWalletAioBody) GetConfType() int32 { + if x != nil && x.ConfType != nil { + return *x.ConfType + } + return 0 +} + +func (x *QQWalletAioBody) GetMsgFrom() int32 { + if x != nil && x.MsgFrom != nil { + return *x.MsgFrom + } + return 0 +} + +func (x *QQWalletAioBody) GetRedChannel() uint32 { + if x != nil && x.RedChannel != nil { + return *x.RedChannel + } + return 0 +} + +func (x *QQWalletAioBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type QQWalletAioElem struct { + Background *uint32 `protobuf:"varint,1,opt"` + Icon *uint32 `protobuf:"varint,2,opt"` + Title *string `protobuf:"bytes,3,opt"` + Subtitle *string `protobuf:"bytes,4,opt"` + Content *string `protobuf:"bytes,5,opt"` + LinkUrl []byte `protobuf:"bytes,6,opt"` + BlackStripe []byte `protobuf:"bytes,7,opt"` + Notice []byte `protobuf:"bytes,8,opt"` + TitleColor *uint32 `protobuf:"varint,9,opt"` + SubtitleColor *uint32 `protobuf:"varint,10,opt"` + ActionsPriority []byte `protobuf:"bytes,11,opt"` + JumpUrl []byte `protobuf:"bytes,12,opt"` + NativeIos []byte `protobuf:"bytes,13,opt"` + NativeAndroid []byte `protobuf:"bytes,14,opt"` + IconUrl []byte `protobuf:"bytes,15,opt"` + ContentColor *uint32 `protobuf:"varint,16,opt"` + ContentBgColor *uint32 `protobuf:"varint,17,opt"` + AioImageLeft []byte `protobuf:"bytes,18,opt"` + AioImageRight []byte `protobuf:"bytes,19,opt"` + CftImage []byte `protobuf:"bytes,20,opt"` + PbReserve []byte `protobuf:"bytes,21,opt"` +} + +func (x *QQWalletAioElem) GetBackground() uint32 { + if x != nil && x.Background != nil { + return *x.Background + } + return 0 +} + +func (x *QQWalletAioElem) GetIcon() uint32 { + if x != nil && x.Icon != nil { + return *x.Icon + } + return 0 +} + +func (x *QQWalletAioElem) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title + } + return "" +} + +func (x *QQWalletAioElem) GetSubtitle() string { + if x != nil && x.Subtitle != nil { + return *x.Subtitle + } + return "" +} + +func (x *QQWalletAioElem) GetContent() string { + if x != nil && x.Content != nil { + return *x.Content + } + return "" +} + +func (x *QQWalletAioElem) GetTitleColor() uint32 { + if x != nil && x.TitleColor != nil { + return *x.TitleColor + } + return 0 +} + +func (x *QQWalletAioElem) GetSubtitleColor() uint32 { + if x != nil && x.SubtitleColor != nil { + return *x.SubtitleColor + } + return 0 +} + +func (x *QQWalletAioElem) GetContentColor() uint32 { + if x != nil && x.ContentColor != nil { + return *x.ContentColor + } + return 0 +} + +func (x *QQWalletAioElem) GetContentBgColor() uint32 { + if x != nil && x.ContentBgColor != nil { + return *x.ContentBgColor + } + return 0 +} + +func (x *QQWalletAioElem) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type QQWalletMsg struct { + AioBody *QQWalletAioBody `protobuf:"bytes,1,opt"` +} + +func (x *QQWalletMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ResvAttr struct { + ImageBizType *uint32 `protobuf:"varint,1,opt"` + ImageShow *AnimationImageShow `protobuf:"bytes,7,opt"` +} + +func (x *ResvAttr) GetImageBizType() uint32 { + if x != nil && x.ImageBizType != nil { + return *x.ImageBizType + } + return 0 +} + +func (x *ResvAttr) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type RichMsg struct { + Template1 []byte `protobuf:"bytes,1,opt"` + ServiceId *int32 `protobuf:"varint,2,opt"` + MsgResId []byte `protobuf:"bytes,3,opt"` + Rand *int32 `protobuf:"varint,4,opt"` + Seq *int32 `protobuf:"varint,5,opt"` +} + +func (x *RichMsg) GetServiceId() int32 { + if x != nil && x.ServiceId != nil { + return *x.ServiceId + } + return 0 +} + +func (x *RichMsg) GetRand() int32 { + if x != nil && x.Rand != nil { + return *x.Rand + } + return 0 +} + +func (x *RichMsg) GetSeq() int32 { + if x != nil && x.Seq != nil { + return *x.Seq + } + return 0 +} + +func (x *RichMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type RichText struct { + Attr *Attr `protobuf:"bytes,1,opt"` + Elems []*Elem `protobuf:"bytes,2,rep"` + NotOnlineFile *NotOnlineFile `protobuf:"bytes,3,opt"` + Ptt *Ptt `protobuf:"bytes,4,opt"` +} + +func (x *RichText) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type RoutingHead struct { + C2C *C2C `protobuf:"bytes,1,opt"` + Grp *Grp `protobuf:"bytes,2,opt"` + GrpTmp *GrpTmp `protobuf:"bytes,3,opt"` + WpaTmp *WPATmp `protobuf:"bytes,6,opt"` +} + +func (x *RoutingHead) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SendMessageRequest struct { + RoutingHead *RoutingHead `protobuf:"bytes,1,opt"` + ContentHead *ContentHead `protobuf:"bytes,2,opt"` + MsgBody *MessageBody `protobuf:"bytes,3,opt"` + MsgSeq *int32 `protobuf:"varint,4,opt"` + MsgRand *int32 `protobuf:"varint,5,opt"` + SyncCookie []byte `protobuf:"bytes,6,opt"` + MsgVia *int32 `protobuf:"varint,8,opt"` + DataStatist *int32 `protobuf:"varint,9,opt"` + MsgCtrl *MsgCtrl `protobuf:"bytes,12,opt"` + MultiSendSeq *int32 `protobuf:"varint,14,opt"` +} + +func (x *SendMessageRequest) GetMsgSeq() int32 { + if x != nil && x.MsgSeq != nil { + return *x.MsgSeq + } + return 0 +} + +func (x *SendMessageRequest) GetMsgRand() int32 { + if x != nil && x.MsgRand != nil { + return *x.MsgRand + } + return 0 +} + +func (x *SendMessageRequest) GetMsgVia() int32 { + if x != nil && x.MsgVia != nil { + return *x.MsgVia + } + return 0 +} + +func (x *SendMessageRequest) GetDataStatist() int32 { + if x != nil && x.DataStatist != nil { + return *x.DataStatist + } + return 0 +} + +func (x *SendMessageRequest) GetMultiSendSeq() int32 { + if x != nil && x.MultiSendSeq != nil { + return *x.MultiSendSeq + } + return 0 +} + +func (x *SendMessageRequest) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SendMessageResponse struct { + Result *int32 `protobuf:"varint,1,opt"` + ErrMsg *string `protobuf:"bytes,2,opt"` +} + +func (x *SendMessageResponse) GetResult() int32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *SendMessageResponse) GetErrMsg() string { + if x != nil && x.ErrMsg != nil { + return *x.ErrMsg + } + return "" +} + +func (x *SendMessageResponse) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SourceMsg struct { + OrigSeqs []int32 `protobuf:"varint,1,rep"` + SenderUin *int64 `protobuf:"varint,2,opt"` + Time *int32 `protobuf:"varint,3,opt"` + Flag *int32 `protobuf:"varint,4,opt"` + Elems []*Elem `protobuf:"bytes,5,rep"` + Type *int32 `protobuf:"varint,6,opt"` + RichMsg []byte `protobuf:"bytes,7,opt"` + PbReserve []byte `protobuf:"bytes,8,opt"` + SrcMsg []byte `protobuf:"bytes,9,opt"` + ToUin *int64 `protobuf:"varint,10,opt"` + TroopName []byte `protobuf:"bytes,11,opt"` +} + +func (x *SourceMsg) GetSenderUin() int64 { + if x != nil && x.SenderUin != nil { + return *x.SenderUin + } + return 0 +} + +func (x *SourceMsg) GetTime() int32 { + if x != nil && x.Time != nil { + return *x.Time + } + return 0 +} + +func (x *SourceMsg) GetFlag() int32 { + if x != nil && x.Flag != nil { + return *x.Flag + } + return 0 +} + +func (x *SourceMsg) GetType() int32 { + if x != nil && x.Type != nil { + return *x.Type + } + return 0 +} + +func (x *SourceMsg) GetToUin() int64 { + if x != nil && x.ToUin != nil { + return *x.ToUin + } + return 0 +} + +func (x *SourceMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SubMsgType0X4Body struct { + NotOnlineFile *NotOnlineFile `protobuf:"bytes,1,opt"` + MsgTime *uint32 `protobuf:"varint,2,opt"` + OnlineFileForPolyToOffline *uint32 `protobuf:"varint,3,opt"` +} + +func (x *SubMsgType0X4Body) GetMsgTime() uint32 { + if x != nil && x.MsgTime != nil { + return *x.MsgTime + } + return 0 +} + +func (x *SubMsgType0X4Body) GetOnlineFileForPolyToOffline() uint32 { + if x != nil && x.OnlineFileForPolyToOffline != nil { + return *x.OnlineFileForPolyToOffline + } + return 0 +} + +func (x *SubMsgType0X4Body) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SyncCookie struct { + Time1 *int64 `protobuf:"varint,1,opt"` + Time *int64 `protobuf:"varint,2,opt"` + Ran1 *int64 `protobuf:"varint,3,opt"` + Ran2 *int64 `protobuf:"varint,4,opt"` + Const1 *int64 `protobuf:"varint,5,opt"` + Const2 *int64 `protobuf:"varint,11,opt"` + Const3 *int64 `protobuf:"varint,12,opt"` + LastSyncTime *int64 `protobuf:"varint,13,opt"` + Const4 *int64 `protobuf:"varint,14,opt"` +} + +func (x *SyncCookie) GetTime1() int64 { + if x != nil && x.Time1 != nil { + return *x.Time1 + } + return 0 +} + +func (x *SyncCookie) GetTime() int64 { + if x != nil && x.Time != nil { + return *x.Time + } + return 0 +} + +func (x *SyncCookie) GetRan1() int64 { + if x != nil && x.Ran1 != nil { + return *x.Ran1 + } + return 0 +} + +func (x *SyncCookie) GetRan2() int64 { + if x != nil && x.Ran2 != nil { + return *x.Ran2 + } + return 0 +} + +func (x *SyncCookie) GetConst1() int64 { + if x != nil && x.Const1 != nil { + return *x.Const1 + } + return 0 +} + +func (x *SyncCookie) GetConst2() int64 { + if x != nil && x.Const2 != nil { + return *x.Const2 + } + return 0 +} + +func (x *SyncCookie) GetConst3() int64 { + if x != nil && x.Const3 != nil { + return *x.Const3 + } + return 0 +} + +func (x *SyncCookie) GetLastSyncTime() int64 { + if x != nil && x.LastSyncTime != nil { + return *x.LastSyncTime + } + return 0 +} + +func (x *SyncCookie) GetConst4() int64 { + if x != nil && x.Const4 != nil { + return *x.Const4 + } + return 0 +} + +func (x *SyncCookie) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type SyncFlag int32 + +const ( + SyncFlag_START SyncFlag = 0 + SyncFlag_CONTINUME SyncFlag = 1 + SyncFlag_STOP SyncFlag = 2 +) + +func (x SyncFlag) Enum() *SyncFlag { + p := new(SyncFlag) + *p = x + return p +} + +type Text struct { + Str *string `protobuf:"bytes,1,opt"` + Link *string `protobuf:"bytes,2,opt"` + Attr6Buf []byte `protobuf:"bytes,3,opt"` + Attr7Buf []byte `protobuf:"bytes,4,opt"` + Buf []byte `protobuf:"bytes,11,opt"` + PbReserve []byte `protobuf:"bytes,12,opt"` +} + +func (x *Text) GetStr() string { + if x != nil && x.Str != nil { + return *x.Str + } + return "" +} + +func (x *Text) GetLink() string { + if x != nil && x.Link != nil { + return *x.Link + } + return "" +} + +func (x *Text) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type TransElem struct { + ElemType *int32 `protobuf:"varint,1,opt"` + ElemValue []byte `protobuf:"bytes,2,opt"` +} + +func (x *TransElem) GetElemType() int32 { + if x != nil && x.ElemType != nil { + return *x.ElemType + } + return 0 +} + +func (x *TransElem) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type TransMsgInfo struct { + FromUin *int64 `protobuf:"varint,1,opt"` + ToUin *int64 `protobuf:"varint,2,opt"` + MsgType *int32 `protobuf:"varint,3,opt"` + MsgSubtype *int32 `protobuf:"varint,4,opt"` + MsgSeq *int32 `protobuf:"varint,5,opt"` + MsgUid *int64 `protobuf:"varint,6,opt"` + MsgTime *int32 `protobuf:"varint,7,opt"` + RealMsgTime *int32 `protobuf:"varint,8,opt"` + NickName *string `protobuf:"bytes,9,opt"` + MsgData []byte `protobuf:"bytes,10,opt"` + SvrIp *int32 `protobuf:"varint,11,opt"` + ExtGroupKeyInfo *ExtGroupKeyInfo `protobuf:"bytes,12,opt"` + GeneralFlag *int32 `protobuf:"varint,17,opt"` +} + +func (x *TransMsgInfo) GetFromUin() int64 { + if x != nil && x.FromUin != nil { + return *x.FromUin + } + return 0 +} + +func (x *TransMsgInfo) GetToUin() int64 { + if x != nil && x.ToUin != nil { + return *x.ToUin + } + return 0 +} + +func (x *TransMsgInfo) GetMsgType() int32 { + if x != nil && x.MsgType != nil { + return *x.MsgType + } + return 0 +} + +func (x *TransMsgInfo) GetMsgSubtype() int32 { + if x != nil && x.MsgSubtype != nil { + return *x.MsgSubtype + } + return 0 +} + +func (x *TransMsgInfo) GetMsgSeq() int32 { + if x != nil && x.MsgSeq != nil { + return *x.MsgSeq + } + return 0 +} + +func (x *TransMsgInfo) GetMsgUid() int64 { + if x != nil && x.MsgUid != nil { + return *x.MsgUid + } + return 0 +} + +func (x *TransMsgInfo) GetMsgTime() int32 { + if x != nil && x.MsgTime != nil { + return *x.MsgTime + } + return 0 +} + +func (x *TransMsgInfo) GetRealMsgTime() int32 { + if x != nil && x.RealMsgTime != nil { + return *x.RealMsgTime + } + return 0 +} + +func (x *TransMsgInfo) GetNickName() string { + if x != nil && x.NickName != nil { + return *x.NickName + } + return "" +} + +func (x *TransMsgInfo) GetSvrIp() int32 { + if x != nil && x.SvrIp != nil { + return *x.SvrIp + } + return 0 +} + +func (x *TransMsgInfo) GetGeneralFlag() int32 { + if x != nil && x.GeneralFlag != nil { + return *x.GeneralFlag + } + return 0 +} + +func (x *TransMsgInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type UinPairMessage struct { + LastReadTime *int32 `protobuf:"varint,1,opt"` + PeerUin *int64 `protobuf:"varint,2,opt"` + MsgCompleted *int32 `protobuf:"varint,3,opt"` + Messages []*Message `protobuf:"bytes,4,rep"` +} + +func (x *UinPairMessage) GetLastReadTime() int32 { + if x != nil && x.LastReadTime != nil { + return *x.LastReadTime + } + return 0 +} + +func (x *UinPairMessage) GetPeerUin() int64 { + if x != nil && x.PeerUin != nil { + return *x.PeerUin + } + return 0 +} + +func (x *UinPairMessage) GetMsgCompleted() int32 { + if x != nil && x.MsgCompleted != nil { + return *x.MsgCompleted + } + return 0 +} + +func (x *UinPairMessage) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type UinTypeUserDef struct { + FromUinType *int32 `protobuf:"varint,1,opt"` + FromGroupCode *int64 `protobuf:"varint,2,opt"` + FileUuid *string `protobuf:"bytes,3,opt"` +} + +func (x *UinTypeUserDef) GetFromUinType() int32 { + if x != nil && x.FromUinType != nil { + return *x.FromUinType + } + return 0 +} + +func (x *UinTypeUserDef) GetFromGroupCode() int64 { + if x != nil && x.FromGroupCode != nil { + return *x.FromGroupCode + } + return 0 +} + +func (x *UinTypeUserDef) GetFileUuid() string { + if x != nil && x.FileUuid != nil { + return *x.FileUuid + } + return "" +} + +func (x *UinTypeUserDef) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type VideoFile struct { + FileUuid []byte `protobuf:"bytes,1,opt"` + FileMd5 []byte `protobuf:"bytes,2,opt"` + FileName []byte `protobuf:"bytes,3,opt"` + FileFormat *int32 `protobuf:"varint,4,opt"` + FileTime *int32 `protobuf:"varint,5,opt"` + FileSize *int32 `protobuf:"varint,6,opt"` + ThumbWidth *int32 `protobuf:"varint,7,opt"` + ThumbHeight *int32 `protobuf:"varint,8,opt"` + ThumbFileMd5 []byte `protobuf:"bytes,9,opt"` + Source []byte `protobuf:"bytes,10,opt"` + ThumbFileSize *int32 `protobuf:"varint,11,opt"` + BusiType *int32 `protobuf:"varint,12,opt"` + FromChatType *int32 `protobuf:"varint,13,opt"` + ToChatType *int32 `protobuf:"varint,14,opt"` + BoolSupportProgressive *bool `protobuf:"varint,15,opt"` + FileWidth *int32 `protobuf:"varint,16,opt"` + FileHeight *int32 `protobuf:"varint,17,opt"` + SubBusiType *int32 `protobuf:"varint,18,opt"` + VideoAttr *int32 `protobuf:"varint,19,opt"` + BytesThumbFileUrls [][]byte `protobuf:"bytes,20,rep"` + BytesVideoFileUrls [][]byte `protobuf:"bytes,21,rep"` + ThumbDownloadFlag *int32 `protobuf:"varint,22,opt"` + VideoDownloadFlag *int32 `protobuf:"varint,23,opt"` + PbReserve []byte `protobuf:"bytes,24,opt"` +} + +func (x *VideoFile) GetFileFormat() int32 { + if x != nil && x.FileFormat != nil { + return *x.FileFormat + } + return 0 +} + +func (x *VideoFile) GetFileTime() int32 { + if x != nil && x.FileTime != nil { + return *x.FileTime + } + return 0 +} + +func (x *VideoFile) GetFileSize() int32 { + if x != nil && x.FileSize != nil { + return *x.FileSize + } + return 0 +} + +func (x *VideoFile) GetThumbWidth() int32 { + if x != nil && x.ThumbWidth != nil { + return *x.ThumbWidth + } + return 0 +} + +func (x *VideoFile) GetThumbHeight() int32 { + if x != nil && x.ThumbHeight != nil { + return *x.ThumbHeight + } + return 0 +} + +func (x *VideoFile) GetThumbFileSize() int32 { + if x != nil && x.ThumbFileSize != nil { + return *x.ThumbFileSize + } + return 0 +} + +func (x *VideoFile) GetBusiType() int32 { + if x != nil && x.BusiType != nil { + return *x.BusiType + } + return 0 +} + +func (x *VideoFile) GetFromChatType() int32 { + if x != nil && x.FromChatType != nil { + return *x.FromChatType + } + return 0 +} + +func (x *VideoFile) GetToChatType() int32 { + if x != nil && x.ToChatType != nil { + return *x.ToChatType + } + return 0 +} + +func (x *VideoFile) GetBoolSupportProgressive() bool { + if x != nil && x.BoolSupportProgressive != nil { + return *x.BoolSupportProgressive + } + return false +} + +func (x *VideoFile) GetFileWidth() int32 { + if x != nil && x.FileWidth != nil { + return *x.FileWidth + } + return 0 +} + +func (x *VideoFile) GetFileHeight() int32 { + if x != nil && x.FileHeight != nil { + return *x.FileHeight + } + return 0 +} + +func (x *VideoFile) GetSubBusiType() int32 { + if x != nil && x.SubBusiType != nil { + return *x.SubBusiType + } + return 0 +} + +func (x *VideoFile) GetVideoAttr() int32 { + if x != nil && x.VideoAttr != nil { + return *x.VideoAttr + } + return 0 +} + +func (x *VideoFile) GetThumbDownloadFlag() int32 { + if x != nil && x.ThumbDownloadFlag != nil { + return *x.ThumbDownloadFlag + } + return 0 +} + +func (x *VideoFile) GetVideoDownloadFlag() int32 { + if x != nil && x.VideoDownloadFlag != nil { + return *x.VideoDownloadFlag + } + return 0 +} + +func (x *VideoFile) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type WPATmp struct { + ToUin *uint64 `protobuf:"varint,1,opt"` + Sig []byte `protobuf:"bytes,2,opt"` +} + +func (x *WPATmp) GetToUin() uint64 { + if x != nil && x.ToUin != nil { + return *x.ToUin + } + return 0 +} + +func (x *WPATmp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} diff --git a/internal/protobuf/data/msg/objmsg.pb.go b/internal/protobuf/data/msg/objmsg.pb.go new file mode 100644 index 00000000..fd198be7 --- /dev/null +++ b/internal/protobuf/data/msg/objmsg.pb.go @@ -0,0 +1,68 @@ +// Code generated by yaprotoc. DO NOT EDIT. +// source: msg/objmsg.proto + +package msg + +import ( + "github.com/pkg/errors" + "github.com/segmentio/encoding/proto" +) + +type MsgContentInfo struct { + ContentInfoId []byte `protobuf:"bytes,1,opt"` + MsgFile *MsgFile `protobuf:"bytes,2,opt"` +} + +func (x *MsgContentInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgFile struct { + BusId int32 `protobuf:"varint,1,opt"` + FilePath []byte `protobuf:"bytes,2,opt"` + FileSize int64 `protobuf:"varint,3,opt"` + FileName string `protobuf:"bytes,4,opt"` + Int64DeadTime int64 `protobuf:"varint,5,opt"` + FileSha1 []byte `protobuf:"bytes,6,opt"` + Ext []byte `protobuf:"bytes,7,opt"` +} + +func (x *MsgFile) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type MsgPic struct { + SmallPicUrl []byte `protobuf:"bytes,1,opt"` + OriginalPicUrl []byte `protobuf:"bytes,2,opt"` + LocalPicId int32 `protobuf:"varint,3,opt"` +} + +func (x *MsgPic) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type ObjMsg struct { + MsgType int32 `protobuf:"varint,1,opt"` + Title []byte `protobuf:"bytes,2,opt"` + BytesAbstact []byte `protobuf:"bytes,3,opt"` + TitleExt []byte `protobuf:"bytes,5,opt"` + MsgPic []*MsgPic `protobuf:"bytes,6,rep"` + MsgContentInfo []*MsgContentInfo `protobuf:"bytes,7,rep"` + ReportIdShow int32 `protobuf:"varint,8,opt"` +} + +func (x *ObjMsg) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} diff --git a/internal/protobuf/data/msg/report.pb.go b/internal/protobuf/data/msg/report.pb.go new file mode 100644 index 00000000..9d7cb65d --- /dev/null +++ b/internal/protobuf/data/msg/report.pb.go @@ -0,0 +1,293 @@ +// Code generated by yaprotoc. DO NOT EDIT. +// source: msg/report.proto + +package msg + +import ( + "github.com/pkg/errors" + "github.com/segmentio/encoding/proto" +) + +type PbC2CReadedReportReq struct { + SyncCookie []byte `protobuf:"bytes,1,opt"` + PairInfo []*UinPairReadInfo `protobuf:"bytes,2,rep"` +} + +func (x *PbC2CReadedReportReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbC2CReadedReportResp struct { + Result *uint32 `protobuf:"varint,1,opt"` + Errmsg *string `protobuf:"bytes,2,opt"` + SyncCookie []byte `protobuf:"bytes,3,opt"` +} + +func (x *PbC2CReadedReportResp) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *PbC2CReadedReportResp) GetErrmsg() string { + if x != nil && x.Errmsg != nil { + return *x.Errmsg + } + return "" +} + +func (x *PbC2CReadedReportResp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbDiscussReadedReportReq struct { + ConfUin *uint64 `protobuf:"varint,1,opt"` + LastReadSeq *uint64 `protobuf:"varint,2,opt"` +} + +func (x *PbDiscussReadedReportReq) GetConfUin() uint64 { + if x != nil && x.ConfUin != nil { + return *x.ConfUin + } + return 0 +} + +func (x *PbDiscussReadedReportReq) GetLastReadSeq() uint64 { + if x != nil && x.LastReadSeq != nil { + return *x.LastReadSeq + } + return 0 +} + +func (x *PbDiscussReadedReportReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbDiscussReadedReportResp struct { + Result *uint32 `protobuf:"varint,1,opt"` + Errmsg *string `protobuf:"bytes,2,opt"` + ConfUin *uint64 `protobuf:"varint,3,opt"` + MemberSeq *uint64 `protobuf:"varint,4,opt"` + ConfSeq *uint64 `protobuf:"varint,5,opt"` +} + +func (x *PbDiscussReadedReportResp) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *PbDiscussReadedReportResp) GetErrmsg() string { + if x != nil && x.Errmsg != nil { + return *x.Errmsg + } + return "" +} + +func (x *PbDiscussReadedReportResp) GetConfUin() uint64 { + if x != nil && x.ConfUin != nil { + return *x.ConfUin + } + return 0 +} + +func (x *PbDiscussReadedReportResp) GetMemberSeq() uint64 { + if x != nil && x.MemberSeq != nil { + return *x.MemberSeq + } + return 0 +} + +func (x *PbDiscussReadedReportResp) GetConfSeq() uint64 { + if x != nil && x.ConfSeq != nil { + return *x.ConfSeq + } + return 0 +} + +func (x *PbDiscussReadedReportResp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbGroupReadedReportReq struct { + GroupCode *uint64 `protobuf:"varint,1,opt"` + LastReadSeq *uint64 `protobuf:"varint,2,opt"` +} + +func (x *PbGroupReadedReportReq) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *PbGroupReadedReportReq) GetLastReadSeq() uint64 { + if x != nil && x.LastReadSeq != nil { + return *x.LastReadSeq + } + return 0 +} + +func (x *PbGroupReadedReportReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbGroupReadedReportResp struct { + Result *uint32 `protobuf:"varint,1,opt"` + Errmsg *string `protobuf:"bytes,2,opt"` + GroupCode *uint64 `protobuf:"varint,3,opt"` + MemberSeq *uint64 `protobuf:"varint,4,opt"` + GroupMsgSeq *uint64 `protobuf:"varint,5,opt"` +} + +func (x *PbGroupReadedReportResp) GetResult() uint32 { + if x != nil && x.Result != nil { + return *x.Result + } + return 0 +} + +func (x *PbGroupReadedReportResp) GetErrmsg() string { + if x != nil && x.Errmsg != nil { + return *x.Errmsg + } + return "" +} + +func (x *PbGroupReadedReportResp) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *PbGroupReadedReportResp) GetMemberSeq() uint64 { + if x != nil && x.MemberSeq != nil { + return *x.MemberSeq + } + return 0 +} + +func (x *PbGroupReadedReportResp) GetGroupMsgSeq() uint64 { + if x != nil && x.GroupMsgSeq != nil { + return *x.GroupMsgSeq + } + return 0 +} + +func (x *PbGroupReadedReportResp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbMsgReadedReportReq struct { + GrpReadReport []*PbGroupReadedReportReq `protobuf:"bytes,1,rep"` + DisReadReport []*PbDiscussReadedReportReq `protobuf:"bytes,2,rep"` + C2CReadReport *PbC2CReadedReportReq `protobuf:"bytes,3,opt"` +} + +func (x *PbMsgReadedReportReq) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type PbMsgReadedReportResp struct { + GrpReadReport []*PbGroupReadedReportResp `protobuf:"bytes,1,rep"` + DisReadReport []*PbDiscussReadedReportResp `protobuf:"bytes,2,rep"` + C2CReadReport *PbC2CReadedReportResp `protobuf:"bytes,3,opt"` +} + +func (x *PbMsgReadedReportResp) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} + +type UinPairReadInfo struct { + PeerUin *uint64 `protobuf:"varint,1,opt"` + LastReadTime *uint32 `protobuf:"varint,2,opt"` + CrmSig []byte `protobuf:"bytes,3,opt"` + PeerType *uint32 `protobuf:"varint,4,opt"` + ChatType *uint32 `protobuf:"varint,5,opt"` + Cpid *uint64 `protobuf:"varint,6,opt"` + AioType *uint32 `protobuf:"varint,7,opt"` + ToTinyId *uint64 `protobuf:"varint,9,opt"` +} + +func (x *UinPairReadInfo) GetPeerUin() uint64 { + if x != nil && x.PeerUin != nil { + return *x.PeerUin + } + return 0 +} + +func (x *UinPairReadInfo) GetLastReadTime() uint32 { + if x != nil && x.LastReadTime != nil { + return *x.LastReadTime + } + return 0 +} + +func (x *UinPairReadInfo) GetPeerType() uint32 { + if x != nil && x.PeerType != nil { + return *x.PeerType + } + return 0 +} + +func (x *UinPairReadInfo) GetChatType() uint32 { + if x != nil && x.ChatType != nil { + return *x.ChatType + } + return 0 +} + +func (x *UinPairReadInfo) GetCpid() uint64 { + if x != nil && x.Cpid != nil { + return *x.Cpid + } + return 0 +} + +func (x *UinPairReadInfo) GetAioType() uint32 { + if x != nil && x.AioType != nil { + return *x.AioType + } + return 0 +} + +func (x *UinPairReadInfo) GetToTinyId() uint64 { + if x != nil && x.ToTinyId != nil { + return *x.ToTinyId + } + return 0 +} + +func (x *UinPairReadInfo) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil message") + } + return proto.Marshal(x) +} diff --git a/message/elements.go b/message/elements.go index ec5135a9..1e8b9f2f 100644 --- a/message/elements.go +++ b/message/elements.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/Mrs4s/MiraiGo/client/pb/msg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" ) //go:generate go run generate.go diff --git a/message/forward.go b/message/forward.go index 1b144d6e..839aab60 100644 --- a/message/forward.go +++ b/message/forward.go @@ -4,10 +4,11 @@ import ( "bytes" "crypto/md5" + protobuf "github.com/segmentio/encoding/proto" "google.golang.org/protobuf/proto" "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/client/pb/msg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/utils" ) @@ -111,7 +112,7 @@ func (f *ForwardMessage) CalculateValidationData(seq, random int32, groupCode in Buffer: &msg.PbMultiMsgNew{Msg: msgs}, }, }} - b, _ := proto.Marshal(trans) + b, _ := protobuf.Marshal(trans) data := binary.GZipCompress(b) hash := md5.Sum(data) return data, hash[:] @@ -127,7 +128,7 @@ func (f *ForwardMessage) CalculateValidationDataForward(seq, random int32, group }, }} trans.PbItemList = append(trans.PbItemList, f.items...) - b, _ := proto.Marshal(trans) + b, _ := protobuf.Marshal(trans) data := binary.GZipCompress(b) hash := md5.Sum(data) return data, hash[:], trans.PbItemList diff --git a/message/image.go b/message/image.go index b8cbdcc3..8d21976d 100644 --- a/message/image.go +++ b/message/image.go @@ -3,10 +3,11 @@ package message import ( "strings" + protobuf "github.com/segmentio/encoding/proto" "google.golang.org/protobuf/proto" "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/client/pb/msg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" ) /* -------- Definitions -------- */ @@ -109,7 +110,7 @@ func (e *GroupImageElement) Pack() (r []*msg.Elem) { if e.Flash { // resolve flash pic flash := &msg.MsgElemInfoServtype3{FlashTroopPic: cface} - data, _ := proto.Marshal(flash) + data, _ := protobuf.Marshal(flash) flashElem := &msg.Elem{ CommonElem: &msg.CommonElem{ ServiceType: proto.Int32(3), @@ -134,7 +135,7 @@ func (e *GroupImageElement) Pack() (r []*msg.Elem) { if e.ImageBizType != UnknownBizType { res.ImageBizType = proto.Uint32(uint32(e.ImageBizType)) } - cface.PbReserve, _ = proto.Marshal(res) + cface.PbReserve, _ = protobuf.Marshal(res) elem := &msg.Elem{CustomFace: cface} return []*msg.Elem{elem} } @@ -153,7 +154,7 @@ func (e *FriendImageElement) Pack() (r []*msg.Elem) { if e.Flash { flash := &msg.MsgElemInfoServtype3{FlashC2CPic: image} - data, _ := proto.Marshal(flash) + data, _ := protobuf.Marshal(flash) flashElem := &msg.Elem{ CommonElem: &msg.CommonElem{ ServiceType: proto.Int32(3), diff --git a/message/marketface.go b/message/marketface.go index da1b69cd..edbe1231 100644 --- a/message/marketface.go +++ b/message/marketface.go @@ -3,7 +3,7 @@ package message import ( "fmt" - "github.com/Mrs4s/MiraiGo/client/pb/msg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/utils" "google.golang.org/protobuf/proto" ) diff --git a/message/message.go b/message/message.go index 53b24c90..c81932be 100644 --- a/message/message.go +++ b/message/message.go @@ -7,10 +7,11 @@ import ( "strconv" "strings" + protobuf "github.com/segmentio/encoding/proto" "google.golang.org/protobuf/proto" "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/client/pb/msg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" "github.com/Mrs4s/MiraiGo/utils" ) @@ -353,7 +354,7 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement { if r.ReadByte() == 1 { pb := r.ReadBytes(int(r.ReadUInt16())) objMsg := msg.ObjMsg{} - if err := proto.Unmarshal(pb, &objMsg); err == nil && len(objMsg.MsgContentInfo) > 0 { + if err := protobuf.Unmarshal(pb, &objMsg); err == nil && len(objMsg.MsgContentInfo) > 0 { info := objMsg.MsgContentInfo[0] res = append(res, &GroupFileElement{ Name: info.MsgFile.FileName, @@ -387,7 +388,7 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement { Size: elem.VideoFile.GetFileSize(), ThumbSize: elem.VideoFile.GetThumbFileSize(), Md5: elem.VideoFile.FileMd5, - ThumbMd5: elem.VideoFile.GetThumbFileMd5(), + ThumbMd5: elem.VideoFile.ThumbFileMd5, }, } } @@ -460,7 +461,7 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement { return UnknownBizType } attr := new(msg.ResvAttr) - if proto.Unmarshal(elem.CustomFace.PbReserve, attr) != nil { + if protobuf.Unmarshal(elem.CustomFace.PbReserve, attr) != nil { return UnknownBizType } return ImageBizType(attr.GetImageBizType()) @@ -470,13 +471,13 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement { } if elem.MarketFace != nil { face := &MarketFaceElement{ - Name: utils.B2S(elem.MarketFace.GetFaceName()), + Name: utils.B2S(elem.MarketFace.FaceName), FaceId: elem.MarketFace.FaceId, TabId: int32(elem.MarketFace.GetTabId()), ItemType: int32(elem.MarketFace.GetItemType()), SubType: int32(elem.MarketFace.GetSubType()), MediaType: int32(elem.MarketFace.GetMediaType()), - EncryptKey: elem.MarketFace.GetKey(), + EncryptKey: elem.MarketFace.Key, MagicValue: utils.B2S(elem.MarketFace.Mobileparam), } if face.Name == "[骰子]" { @@ -534,7 +535,7 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement { switch elem.CommonElem.GetServiceType() { case 3: flash := &msg.MsgElemInfoServtype3{} - _ = proto.Unmarshal(elem.CommonElem.PbElem, flash) + _ = protobuf.Unmarshal(elem.CommonElem.PbElem, flash) if flash.FlashTroopPic != nil { res = append(res, &GroupImageElement{ FileId: int64(flash.FlashTroopPic.GetFileId()), @@ -558,7 +559,7 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement { } case 33: newSysFaceMsg := &msg.MsgElemInfoServtype33{} - _ = proto.Unmarshal(elem.CommonElem.PbElem, newSysFaceMsg) + _ = protobuf.Unmarshal(elem.CommonElem.PbElem, newSysFaceMsg) res = append(res, NewFace(int32(newSysFaceMsg.GetIndex()))) } } diff --git a/message/pack.go b/message/pack.go index f2ea0b0e..2e5c3440 100644 --- a/message/pack.go +++ b/message/pack.go @@ -3,10 +3,11 @@ package message import ( "encoding/hex" + protobuf "github.com/segmentio/encoding/proto" "google.golang.org/protobuf/proto" "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/client/pb/msg" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg" ) /* @@ -34,7 +35,7 @@ func (e *FaceElement) Pack() (r []*msg.Elem) { Text: []byte("/" + e.Name), Compat: []byte("/" + e.Name), } - b, _ := proto.Marshal(elem) + b, _ := protobuf.Marshal(elem) r = append(r, &msg.Elem{ CommonElem: &msg.CommonElem{ ServiceType: proto.Int32(33), diff --git a/client/pb/channel/MsgResponsesSvr.proto b/proto/channel/MsgResponsesSvr.proto similarity index 95% rename from client/pb/channel/MsgResponsesSvr.proto rename to proto/channel/MsgResponsesSvr.proto index 4028abdc..8e2eb630 100644 --- a/client/pb/channel/MsgResponsesSvr.proto +++ b/proto/channel/MsgResponsesSvr.proto @@ -1,6 +1,6 @@ syntax = "proto2"; -option go_package = "pb/channel;channel"; +option go_package = "channel;channel"; message BatchGetMsgRspCountReq { diff --git a/client/pb/channel/common.proto b/proto/channel/common.proto similarity index 97% rename from client/pb/channel/common.proto rename to proto/channel/common.proto index c44b728c..ef621cbe 100644 --- a/client/pb/channel/common.proto +++ b/proto/channel/common.proto @@ -2,9 +2,9 @@ syntax = "proto2"; package channel; -option go_package = "pb/channel;channel"; +option go_package = "channel;channel"; -import "pb/msg/msg.proto"; +import "msg/msg.proto"; message ChannelContentHead { optional uint64 type = 1; diff --git a/client/pb/channel/msgpush.proto b/proto/channel/msgpush.proto similarity index 89% rename from client/pb/channel/msgpush.proto rename to proto/channel/msgpush.proto index a686ae08..b8903f07 100644 --- a/client/pb/channel/msgpush.proto +++ b/proto/channel/msgpush.proto @@ -2,9 +2,9 @@ syntax = "proto2"; package channel; -option go_package = "pb/channel;channel"; +option go_package = "channel;channel"; -import "pb/channel/common.proto"; +import "channel/common.proto"; message FocusInfo { repeated uint64 channelIdList = 1; diff --git a/client/pb/channel/oidb0xf62.proto b/proto/channel/oidb0xf62.proto similarity index 87% rename from client/pb/channel/oidb0xf62.proto rename to proto/channel/oidb0xf62.proto index 96a3f389..67fa6024 100644 --- a/client/pb/channel/oidb0xf62.proto +++ b/proto/channel/oidb0xf62.proto @@ -2,8 +2,8 @@ syntax = "proto2"; package channel; -option go_package = "pb/channel;channel"; -import "pb/channel/common.proto"; +option go_package = "channel;channel"; +import "channel/common.proto"; message DF62ReqBody { optional ChannelMsgContent msg = 1; diff --git a/client/pb/channel/servtype.proto b/proto/channel/servtype.proto similarity index 99% rename from client/pb/channel/servtype.proto rename to proto/channel/servtype.proto index 92d84768..1c1b923b 100644 --- a/client/pb/channel/servtype.proto +++ b/proto/channel/servtype.proto @@ -2,7 +2,7 @@ syntax = "proto2"; package channel; -option go_package = "pb/channel;channel"; +option go_package = "channel;channel"; message AppChannelMsg { optional string summary = 1; diff --git a/client/pb/channel/synclogic.proto b/proto/channel/synclogic.proto similarity index 97% rename from client/pb/channel/synclogic.proto rename to proto/channel/synclogic.proto index 692cb2a1..440e078e 100644 --- a/client/pb/channel/synclogic.proto +++ b/proto/channel/synclogic.proto @@ -2,9 +2,9 @@ syntax = "proto2"; package channel; -option go_package = "pb/channel;channel"; +option go_package = "channel;channel"; -import "pb/channel/common.proto"; +import "channel/common.proto"; message ChannelMsg { optional uint64 guildId = 1; diff --git a/client/pb/channel/unknown.proto b/proto/channel/unknown.proto similarity index 98% rename from client/pb/channel/unknown.proto rename to proto/channel/unknown.proto index 133dec86..c526f36e 100644 --- a/client/pb/channel/unknown.proto +++ b/proto/channel/unknown.proto @@ -3,7 +3,7 @@ syntax = "proto2"; package channel; -option go_package = "pb/channel;channel"; +option go_package = "channel;channel"; message ChannelOidb0xf5bRsp { optional uint64 guildId = 1; diff --git a/client/pb/msg/head.proto b/proto/msg/head.proto similarity index 99% rename from client/pb/msg/head.proto rename to proto/msg/head.proto index 0ff60d1e..5a276d63 100644 --- a/client/pb/msg/head.proto +++ b/proto/msg/head.proto @@ -1,5 +1,6 @@ syntax = "proto2"; -option go_package = "./;msg"; + +option go_package = "msg;msg"; message C2CHead { optional uint64 toUin = 1; diff --git a/client/pb/msg/msg.proto b/proto/msg/msg.proto similarity index 98% rename from client/pb/msg/msg.proto rename to proto/msg/msg.proto index 92bb34c5..f331b326 100644 --- a/client/pb/msg/msg.proto +++ b/proto/msg/msg.proto @@ -2,7 +2,7 @@ syntax = "proto2"; package msg; -option go_package = "pb/msg;msg"; +option go_package = "msg;msg"; message GetMessageRequest { optional SyncFlag syncFlag = 1; @@ -379,14 +379,14 @@ message Text { } message Attr { - optional int32 codePage = 1; - optional int32 time = 2; - optional int32 random = 3; - optional int32 color = 4; - optional int32 size = 5; - optional int32 effect = 6; - optional int32 charSet = 7; - optional int32 pitchAndFamily = 8; + optional sint32 codePage = 1; + optional uint32 time = 2; + optional uint32 random = 3; + optional uint32 color = 4; + optional uint32 size = 5; + optional uint32 effect = 6; + optional uint32 charSet = 7; + optional uint32 pitchAndFamily = 8; optional string fontName = 9; optional bytes reserveData = 10; } diff --git a/client/pb/msg/objmsg.proto b/proto/msg/objmsg.proto similarity index 94% rename from client/pb/msg/objmsg.proto rename to proto/msg/objmsg.proto index 6733055d..26d2d4f6 100644 --- a/client/pb/msg/objmsg.proto +++ b/proto/msg/objmsg.proto @@ -1,12 +1,13 @@ syntax = "proto3"; -option go_package = "./;msg"; +option go_package = "msg;msg"; message MsgPic { bytes smallPicUrl = 1; bytes originalPicUrl = 2; int32 localPicId = 3; } + message ObjMsg { int32 msgType = 1; bytes title = 2; @@ -16,10 +17,12 @@ message ObjMsg { repeated MsgContentInfo msgContentInfo = 7; int32 reportIdShow = 8; } + message MsgContentInfo { bytes contentInfoId = 1; MsgFile msgFile = 2; } + message MsgFile { int32 busId = 1; bytes filePath = 2; diff --git a/client/pb/msg/report.proto b/proto/msg/report.proto similarity index 98% rename from client/pb/msg/report.proto rename to proto/msg/report.proto index 799f0de1..c7267138 100644 --- a/client/pb/msg/report.proto +++ b/proto/msg/report.proto @@ -1,6 +1,6 @@ syntax = "proto2"; -option go_package = "./;msg"; +option go_package = "msg;msg"; message PbMsgReadedReportReq { repeated PbGroupReadedReportReq grpReadReport = 1;