1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-07-08 15:18:32 +00:00

13 Commits

Author SHA1 Message Date
a54f4d82f5 feat: move msg&channel proto to yaprotoc gen 2021-11-12 10:43:12 +08:00
0f149a925f Merge branch 'master' into reflection-based-protobuf
# Conflicts:
#	client/builders.go
#	client/global.go
2021-11-11 19:32:13 +08:00
44393e904d Merge branch 'master' into reflection-based-protobuf
# Conflicts:
#	client/builders.go
#	client/global.go
2021-11-11 19:17:09 +08:00
055f034b9e dep: update proto gen 2021-11-07 13:14:05 +08:00
e7f07499f3 rf: use yaprotoc generate proto 2021-11-07 10:15:31 +08:00
d1fd299faa refactor: use new protobuf impl oidb 2021-11-05 22:16:58 +08:00
f0bceae09f refactor: use new protobuf impl oidb0x8fc 2021-11-05 20:44:11 +08:00
a105f65e45 refactor: use new protobuf impl oidb0x8a7 2021-11-05 20:13:54 +08:00
a8760a5821 refactor: use new protobuf impl oidb0x6d9 2021-11-05 20:05:57 +08:00
b0fd43cea1 refactor: use new protobuf impl oidb0x6d6 & oidb0x6d7 2021-11-03 02:33:19 +08:00
28da394096 refactor: use new protobuf impl oidb0x6d8 2021-11-03 02:00:12 +08:00
8e5ac24d32 dep: update proto code gen 2021-11-02 21:56:09 +08:00
b7b13c64b4 refactor: use new protobuf impl oidb0x88d 2021-11-02 03:28:10 +08:00
139 changed files with 18110 additions and 43355 deletions

View File

@ -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,

View File

@ -7,22 +7,25 @@ import (
"math/rand"
"time"
"github.com/Mrs4s/MiraiGo/internal/crypto"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/internal/tlv"
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/oidb"
"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/message"
"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"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0xd79"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0xed3"
"github.com/Mrs4s/MiraiGo/internal/tlv"
)
var (
@ -757,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),
@ -778,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
}
@ -899,27 +902,27 @@ func (c *QQClient) buildEditGroupTagPacket(groupCode, memberUin int64, newTag st
// OidbSvc.0x8fc_2
func (c *QQClient) buildEditSpecialTitlePacket(groupCode, memberUin int64, newTitle string) (uint16, []byte) {
seq := c.nextSeq()
body := &oidb.D8FCReqBody{
GroupCode: &groupCode,
MemLevelInfo: []*oidb.D8FCMemberInfo{
body := &oidb0x8fc.ReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
MemLevelInfo: []*oidb0x8fc.MemberInfo{
{
Uin: &memberUin,
Uin: proto.Uint64(uint64(memberUin)),
UinName: []byte(newTitle),
SpecialTitle: []byte(newTitle),
SpecialTitleExpireTime: proto.Int32(-1),
},
},
}
b, _ := proto.Marshal(body)
b, _ := body.Marshal()
payload := c.packOIDBPackage(2300, 2, b)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x8fc_2", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
}
// OidbSvc.0x89a_0
func (c *QQClient) buildGroupOperationPacket(body *oidb.D89AReqBody) (uint16, []byte) {
func (c *QQClient) buildGroupOperationPacket(body *oidb0x89a.ReqBody) (uint16, []byte) {
seq := c.nextSeq()
b, _ := proto.Marshal(body)
b, _ := body.Marshal()
payload := c.packOIDBPackage(2202, 0, b)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x89a_0", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
@ -927,20 +930,20 @@ func (c *QQClient) buildGroupOperationPacket(body *oidb.D89AReqBody) (uint16, []
// OidbSvc.0x89a_0
func (c *QQClient) buildGroupNameUpdatePacket(groupCode int64, newName string) (uint16, []byte) {
body := &oidb.D89AReqBody{
GroupCode: groupCode,
StGroupInfo: &oidb.D89AGroupinfo{
IngGroupName: []byte(newName),
body := &oidb0x89a.ReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
StGroupInfo: &oidb0x89a.GroupInfo{
GroupName: []byte(newName),
},
}
return c.buildGroupOperationPacket(body)
}
func (c *QQClient) buildGroupMemoUpdatePacket(groupCode int64, newMemo string) (uint16, []byte) {
body := &oidb.D89AReqBody{
GroupCode: groupCode,
StGroupInfo: &oidb.D89AGroupinfo{
IngGroupMemo: []byte(newMemo),
body := &oidb0x89a.ReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
StGroupInfo: &oidb0x89a.GroupInfo{
GroupMemo: []byte(newMemo),
},
}
return c.buildGroupOperationPacket(body)
@ -948,17 +951,15 @@ func (c *QQClient) buildGroupMemoUpdatePacket(groupCode int64, newMemo string) (
// OidbSvc.0x89a_0
func (c *QQClient) buildGroupMuteAllPacket(groupCode int64, mute bool) (uint16, []byte) {
body := &oidb.D89AReqBody{
GroupCode: groupCode,
StGroupInfo: &oidb.D89AGroupinfo{
ShutupTime: &oidb.D89AGroupinfo_Val{Val: func() int32 {
if mute {
return 268435455
}
return 0
}()},
body := &oidb0x89a.ReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
StGroupInfo: &oidb0x89a.GroupInfo{
ShutupTime: proto.Uint32(0),
},
}
if mute {
body.StGroupInfo.ShutupTime = proto.Uint32(268435455)
}
return c.buildGroupOperationPacket(body)
}
@ -969,18 +970,18 @@ func (c *QQClient) buildGroupKickPacket(groupCode, memberUin int64, kickMsg stri
if block {
flagBlock = 1
}
body := &oidb.D8A0ReqBody{
OptUint64GroupCode: groupCode,
MsgKickList: []*oidb.D8A0KickMemberInfo{
body := &oidb0x8a0.ReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
MsgKickList: []*oidb0x8a0.KickMemberInfo{
{
OptUint32Operate: 5,
OptUint64MemberUin: memberUin,
OptUint32Flag: int32(flagBlock),
Operate: proto.Uint32(5),
MemberUin: proto.Uint64(uint64(memberUin)),
Flag: proto.Uint32(uint32(flagBlock)),
},
},
KickMsg: []byte(kickMsg),
}
b, _ := proto.Marshal(body)
b, _ := body.Marshal()
payload := c.packOIDBPackage(2208, 0, b)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x8a0_0", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
@ -1003,11 +1004,11 @@ func (c *QQClient) buildGroupMutePacket(groupCode, memberUin int64, time uint32)
// OidbSvc.0xed3
func (c *QQClient) buildGroupPokePacket(groupCode, target int64) (uint16, []byte) {
seq := c.nextSeq()
body := &oidb.DED3ReqBody{
ToUin: target,
GroupCode: groupCode,
body := &oidb0xed3.ReqBody{
ToUin: proto.Uint64(uint64(target)),
GroupCode: proto.Uint64(uint64(groupCode)),
}
b, _ := proto.Marshal(body)
b, _ := body.Marshal()
payload := c.packOIDBPackage(3795, 1, b)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0xed3", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
@ -1016,11 +1017,11 @@ func (c *QQClient) buildGroupPokePacket(groupCode, target int64) (uint16, []byte
// OidbSvc.0xed3
func (c *QQClient) buildFriendPokePacket(target int64) (uint16, []byte) {
seq := c.nextSeq()
body := &oidb.DED3ReqBody{
ToUin: target,
AioUin: target,
body := &oidb0xed3.ReqBody{
ToUin: proto.Uint64(uint64(target)),
AioUin: proto.Uint64(uint64(target)),
}
b, _ := proto.Marshal(body)
b, _ := body.Marshal()
payload := c.packOIDBPackage(3795, 1, b)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0xed3", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
@ -1089,8 +1090,8 @@ func (c *QQClient) buildAppInfoRequestPacket(id string) (uint16, []byte) {
func (c *QQClient) buildWordSegmentationPacket(data []byte) (uint16, []byte) {
seq := c.nextSeq()
payload := c.packOIDBPackageProto(3449, 1, &oidb.D79ReqBody{
Uin: uint64(c.Uin),
payload := c.packOIDBPackageProto2(3449, 1, &oidb0xd79.ReqBody{
Uin: proto.Uint64(uint64(c.Uin)),
Content: data,
Qua: []byte("and_537065262_8.4.5"),
})
@ -1098,10 +1099,11 @@ func (c *QQClient) buildWordSegmentationPacket(data []byte) (uint16, []byte) {
return seq, packet
}
/*
// OidbSvc.0xdad_1
func (c *QQClient) sendGroupGiftPacket(groupCode, uin uint64, productID message.GroupGift) (uint16, []byte) {
seq := c.nextSeq()
payload := c.packOIDBPackageProto(3501, 1, &oidb.DADReqBody{
payload := c.packOIDBPackageProto2(3501, 1, &oidb0xdad.ReqBody{
Client: 1,
ProductId: uint64(productID),
ToUin: uin,
@ -1115,3 +1117,4 @@ func (c *QQClient) sendGroupGiftPacket(groupCode, uin uint64, productID message.
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0xdad_1", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
}
*/

View File

@ -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

View File

@ -3,7 +3,7 @@
package client
import (
"github.com/Mrs4s/MiraiGo/client/pb/msg"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/msg"
)
const (

View File

@ -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(`<title size="26" color="#777777">%s: %s</title>`,
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,
)
}
@ -838,10 +838,12 @@ func (c *QQClient) SetCustomServer(servers []*net.TCPAddr) {
c.servers = append(servers, c.servers...)
}
/*
func (c *QQClient) SendGroupGift(groupCode, uin uint64, gift message.GroupGift) {
_, packet := c.sendGroupGiftPacket(groupCode, uin, gift)
_ = c.sendPacket(packet)
}
*/
func (c *QQClient) registerClient() error {
_, err := c.sendAndWait(c.buildClientRegisterPacket())

View File

@ -11,6 +11,7 @@ import (
"time"
"github.com/pkg/errors"
protobuf "github.com/segmentio/encoding/proto"
"google.golang.org/protobuf/proto"
"github.com/Mrs4s/MiraiGo/binary"
@ -18,11 +19,12 @@ 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/oidb"
"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"
)
@ -375,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")
}
@ -643,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")
}
@ -790,11 +792,11 @@ func decodeMSFOfflinePacket(c *QQClient, _ *incomingPacketInfo, _ []byte) (inter
// OidbSvc.0xd79
func decodeWordSegmentation(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
pkg := oidb.OIDBSSOPkg{}
rsp := &oidb.D79RspBody{}
if err := proto.Unmarshal(payload, &pkg); err != nil {
rsp := &oidb0xd79.RspBody{}
if err := protobuf.Unmarshal(payload, &pkg); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if err := proto.Unmarshal(pkg.Bodybuffer, rsp); err != nil {
if err := protobuf.Unmarshal(pkg.Bodybuffer, rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if rsp.Content != nil {

View File

@ -13,13 +13,15 @@ import (
"time"
"github.com/pkg/errors"
protobuf "github.com/segmentio/encoding/proto"
"google.golang.org/protobuf/proto"
"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/client/pb/oidb"
"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"
"github.com/Mrs4s/MiraiGo/utils"
)
@ -643,35 +645,40 @@ func (p requestParams) int32(k string) int32 {
return i.(int32)
}
func (c *QQClient) packOIDBPackage(cmd, serviceType int32, body []byte) []byte {
func (c *QQClient) packOIDBPackage(cmd, serviceType uint32, body []byte) []byte {
pkg := &oidb.OIDBSSOPkg{
Command: cmd,
ServiceType: serviceType,
Command: &cmd,
ServiceType: &serviceType,
Bodybuffer: body,
ClientVersion: "Android " + c.version.SortVersionName,
ClientVersion: proto.String("Android " + c.version.SortVersionName),
}
r, _ := proto.Marshal(pkg)
r, _ := pkg.Marshal()
return r
}
func (c *QQClient) packOIDBPackageDynamically(cmd, serviceType int32, msg binary.DynamicProtoMessage) []byte {
func (c *QQClient) packOIDBPackageDynamically(cmd, serviceType uint32, msg binary.DynamicProtoMessage) []byte {
return c.packOIDBPackage(cmd, serviceType, msg.Encode())
}
func (c *QQClient) packOIDBPackageProto(cmd, serviceType int32, msg proto.Message) []byte {
func (c *QQClient) packOIDBPackageProto(cmd, serviceType uint32, msg proto.Message) []byte {
b, _ := proto.Marshal(msg)
return c.packOIDBPackage(cmd, serviceType, b)
}
func (c *QQClient) unpackOIDBPackage(buff []byte, payload proto.Message) error {
func (c *QQClient) packOIDBPackageProto2(cmd, serviceType uint32, msg proto2.Message) []byte {
b, _ := msg.Marshal()
return c.packOIDBPackage(cmd, serviceType, b)
}
func (c *QQClient) unpackOIDBPackage(buff []byte, payload interface{}) error {
pkg := new(oidb.OIDBSSOPkg)
if err := proto.Unmarshal(buff, pkg); err != nil {
if err := protobuf.Unmarshal(buff, pkg); err != nil {
return errors.Wrap(err, "failed to unmarshal protobuf message")
}
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

View File

@ -9,14 +9,18 @@ import (
"os"
"runtime/debug"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/pkg/errors"
protobuf "github.com/segmentio/encoding/proto"
"google.golang.org/protobuf/proto"
"github.com/pkg/errors"
"github.com/Mrs4s/MiraiGo/client/pb/exciting"
"github.com/Mrs4s/MiraiGo/client/pb/oidb"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/group_file_common"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x6d6"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x6d7"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x6d8"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x6d9"
"github.com/Mrs4s/MiraiGo/utils"
)
@ -85,8 +89,8 @@ func (c *QQClient) GetGroupFileSystem(groupCode int64) (fs *GroupFileSystem, err
return nil, e
}
fs = &GroupFileSystem{
FileCount: rsp.(*oidb.D6D8RspBody).FileCountRsp.GetAllFileCount(),
LimitCount: rsp.(*oidb.D6D8RspBody).FileCountRsp.GetLimitCount(),
FileCount: rsp.(*oidb0x6d8.RspBody).GroupFileCntRsp.GetAllFileCount(),
LimitCount: rsp.(*oidb0x6d8.RspBody).GroupFileCntRsp.GetLimitCount(),
GroupCode: groupCode,
client: c,
}
@ -94,8 +98,8 @@ func (c *QQClient) GetGroupFileSystem(groupCode int64) (fs *GroupFileSystem, err
if err != nil {
return nil, err
}
fs.TotalSpace = rsp.(*oidb.D6D8RspBody).GroupSpaceRsp.GetTotalSpace()
fs.UsedSpace = rsp.(*oidb.D6D8RspBody).GroupSpaceRsp.GetUsedSpace()
fs.TotalSpace = rsp.(*oidb0x6d8.RspBody).GroupSpaceRsp.GetTotalSpace()
fs.UsedSpace = rsp.(*oidb0x6d8.RspBody).GroupSpaceRsp.GetUsedSpace()
return fs, nil
}
@ -122,7 +126,7 @@ func (fs *GroupFileSystem) GetFilesByFolder(folderID string) ([]*GroupFile, []*G
if err != nil {
return nil, nil, err
}
rsp := i.(*oidb.D6D8RspBody)
rsp := i.(*oidb0x6d8.RspBody)
if rsp.FileListInfoRsp == nil {
break
}
@ -182,9 +186,9 @@ func (fs *GroupFileSystem) UploadFile(p, name, folderId string) error {
if err != nil {
return errors.Wrap(err, "query upload failed")
}
rsp := i.(*oidb.UploadFileRspBody)
if rsp.BoolFileExist {
_, pkt := fs.client.buildGroupFileFeedsRequest(fs.GroupCode, rsp.FileId, rsp.BusId, rand.Int31())
rsp := i.(*oidb0x6d6.UploadFileRspBody)
if rsp.GetFileExist() {
_, pkt := fs.client.buildGroupFileFeedsRequest(fs.GroupCode, rsp.GetFileId(), int32(rsp.GetBusId()), rand.Int31())
return fs.client.sendPacket(pkt)
}
if len(rsp.UploadIpLanV4) == 0 {
@ -195,7 +199,7 @@ func (fs *GroupFileSystem) UploadFile(p, name, folderId string) error {
Unknown2: proto.Int32(1),
Entry: &exciting.GroupFileUploadEntry{
BusiBuff: &exciting.ExcitingBusiInfo{
BusId: &rsp.BusId,
BusId: proto.Int32(int32(rsp.GetBusId())),
SenderUin: &fs.client.Uin,
ReceiverUin: &fs.GroupCode,
GroupCode: &fs.GroupCode,
@ -204,7 +208,7 @@ func (fs *GroupFileSystem) UploadFile(p, name, folderId string) error {
FileSize: &size,
Md5: md5Hash,
Sha1: sha1Hash,
FileId: []byte(rsp.FileId),
FileId: []byte(rsp.GetFileId()),
UploadKey: rsp.CheckKey,
},
ClientInfo: &exciting.ExcitingClientInfo{
@ -221,7 +225,7 @@ func (fs *GroupFileSystem) UploadFile(p, name, folderId string) error {
Unknown: proto.Int32(1),
Host: &rsp.UploadIpLanV4[0],
},
Port: &rsp.UploadPort,
Port: proto.Int32(int32(rsp.GetUploadPort())),
},
}},
},
@ -230,7 +234,7 @@ func (fs *GroupFileSystem) UploadFile(p, name, folderId string) error {
if _, err = fs.client.excitingUploadStream(file, 71, fs.client.bigDataSession.SigSession, ext); err != nil {
return errors.Wrap(err, "upload failed")
}
_, pkt := fs.client.buildGroupFileFeedsRequest(fs.GroupCode, rsp.FileId, rsp.BusId, rand.Int31())
_, pkt := fs.client.buildGroupFileFeedsRequest(fs.GroupCode, rsp.GetFileId(), int32(rsp.GetBusId()), rand.Int31())
return fs.client.sendPacket(pkt)
}
@ -271,36 +275,30 @@ func (fs *GroupFileSystem) DeleteFile(parentFolderID, fileId string, busId int32
func (c *QQClient) buildGroupFileUploadReqPacket(parentFolderID, fileName string, groupCode, fileSize int64, md5, sha1 []byte) (uint16, []byte) {
seq := c.nextSeq()
b, _ := proto.Marshal(&oidb.D6D6ReqBody{UploadFileReq: &oidb.UploadFileReqBody{
GroupCode: groupCode,
AppId: 3,
BusId: 102,
Entrance: 5,
ParentFolderId: parentFolderID,
FileName: fileName,
LocalPath: "/storage/emulated/0/Pictures/files/s/" + fileName,
Int64FileSize: fileSize,
body := &oidb0x6d6.ReqBody{UploadFileReq: &oidb0x6d6.UploadFileReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
AppId: proto.Uint32(3),
BusId: proto.Uint32(102),
Entrance: proto.Uint32(5),
ParentFolderId: &parentFolderID,
FileName: &fileName,
LocalPath: proto.String("/storage/emulated/0/Pictures/files/s/" + fileName),
FileSize: proto.Uint64(uint64(fileSize)),
Sha: sha1,
Md5: md5,
SupportMultiUpload: true,
}})
req := &oidb.OIDBSSOPkg{
Command: 1750,
ServiceType: 0,
Bodybuffer: b,
ClientVersion: "android 8.4.8",
}
payload, _ := proto.Marshal(req)
SupportMultiUpload: proto.Bool(true),
}}
payload := c.packOIDBPackageProto2(1750, 0, body)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x6d6_0", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
}
func (c *QQClient) buildGroupFileFeedsRequest(groupCode int64, fileID string, busId, msgRand int32) (uint16, []byte) {
seq := c.nextSeq()
req := c.packOIDBPackageProto(1753, 4, &oidb.D6D9ReqBody{FeedsInfoReq: &oidb.FeedsReqBody{
req := c.packOIDBPackageProto2(1753, 4, &oidb0x6d9.ReqBody{FeedsInfoReq: &oidb0x6d9.FeedsReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
AppId: proto.Uint32(3),
FeedsInfoList: []*oidb.GroupFileFeedsInfo{{
FeedsInfoList: []*group_file_common.FeedsInfo{{
FileId: &fileID,
FeedFlag: proto.Uint32(1),
BusId: proto.Uint32(uint32(busId)),
@ -314,7 +312,7 @@ func (c *QQClient) buildGroupFileFeedsRequest(groupCode int64, fileID string, bu
// OidbSvc.0x6d8_1
func (c *QQClient) buildGroupFileListRequestPacket(groupCode int64, folderID string, startIndex uint32) (uint16, []byte) {
seq := c.nextSeq()
body := &oidb.D6D8ReqBody{FileListInfoReq: &oidb.GetFileListReqBody{
body := &oidb0x6d8.ReqBody{FileListInfoReq: &oidb0x6d8.GetFileListReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
AppId: proto.Uint32(3),
FolderId: &folderID,
@ -327,58 +325,37 @@ func (c *QQClient) buildGroupFileListRequestPacket(groupCode int64, folderID str
StartIndex: &startIndex,
Context: EmptyBytes,
}}
b, _ := proto.Marshal(body)
req := &oidb.OIDBSSOPkg{
Command: 1752,
ServiceType: 1,
Bodybuffer: b,
ClientVersion: "android 8.4.8",
}
payload, _ := proto.Marshal(req)
payload := c.packOIDBPackageProto2(1752, 1, body)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x6d8_1", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
}
func (c *QQClient) buildGroupFileCountRequestPacket(groupCode int64) (uint16, []byte) {
seq := c.nextSeq()
body := &oidb.D6D8ReqBody{GroupFileCountReq: &oidb.GetFileCountReqBody{
body := &oidb0x6d8.ReqBody{GroupFileCntReq: &oidb0x6d8.GetFileCountReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
AppId: proto.Uint32(3),
BusId: proto.Uint32(0),
}}
b, _ := proto.Marshal(body)
req := &oidb.OIDBSSOPkg{
Command: 1752,
ServiceType: 2,
Bodybuffer: b,
ClientVersion: "android 8.4.8",
}
payload, _ := proto.Marshal(req)
payload := c.packOIDBPackageProto2(1752, 2, body)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x6d8_1", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
}
func (c *QQClient) buildGroupFileSpaceRequestPacket(groupCode int64) (uint16, []byte) {
seq := c.nextSeq()
body := &oidb.D6D8ReqBody{GroupSpaceReq: &oidb.GetSpaceReqBody{
body := &oidb0x6d8.ReqBody{GroupSpaceReq: &oidb0x6d8.GetSpaceReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
AppId: proto.Uint32(3),
}}
b, _ := proto.Marshal(body)
req := &oidb.OIDBSSOPkg{
Command: 1752,
ServiceType: 3,
Bodybuffer: b,
ClientVersion: "android 8.4.8",
}
payload, _ := proto.Marshal(req)
payload := c.packOIDBPackageProto2(1752, 3, body)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x6d8_1", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
}
func (c *QQClient) buildGroupFileCreateFolderPacket(groupCode int64, parentFolder, name string) (uint16, []byte) {
seq := c.nextSeq()
payload := c.packOIDBPackageProto(1751, 0, &oidb.D6D7ReqBody{CreateFolderReq: &oidb.CreateFolderReqBody{
payload := c.packOIDBPackageProto2(1751, 0, &oidb0x6d7.ReqBody{CreateFolderReq: &oidb0x6d7.CreateFolderReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
AppId: proto.Uint32(3),
ParentFolderId: &parentFolder,
@ -390,7 +367,7 @@ func (c *QQClient) buildGroupFileCreateFolderPacket(groupCode int64, parentFolde
func (c *QQClient) buildGroupFileRenameFolderPacket(groupCode int64, folderId, newName string) (uint16, []byte) {
seq := c.nextSeq()
payload := c.packOIDBPackageProto(1751, 2, &oidb.D6D7ReqBody{RenameFolderReq: &oidb.RenameFolderReqBody{
payload := c.packOIDBPackageProto2(1751, 2, &oidb0x6d7.ReqBody{RenameFolderReq: &oidb0x6d7.RenameFolderReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
AppId: proto.Uint32(3),
FolderId: proto.String(folderId),
@ -402,7 +379,7 @@ func (c *QQClient) buildGroupFileRenameFolderPacket(groupCode int64, folderId, n
func (c *QQClient) buildGroupFileDeleteFolderPacket(groupCode int64, folderId string) (uint16, []byte) {
seq := c.nextSeq()
payload := c.packOIDBPackageProto(1751, 1, &oidb.D6D7ReqBody{DeleteFolderReq: &oidb.DeleteFolderReqBody{
payload := c.packOIDBPackageProto2(1751, 1, &oidb0x6d7.ReqBody{DeleteFolderReq: &oidb0x6d7.DeleteFolderReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
AppId: proto.Uint32(3),
FolderId: proto.String(folderId),
@ -414,53 +391,40 @@ func (c *QQClient) buildGroupFileDeleteFolderPacket(groupCode int64, folderId st
// OidbSvc.0x6d6_2
func (c *QQClient) buildGroupFileDownloadReqPacket(groupCode int64, fileId string, busId int32) (uint16, []byte) {
seq := c.nextSeq()
body := &oidb.D6D6ReqBody{
DownloadFileReq: &oidb.DownloadFileReqBody{
GroupCode: groupCode,
AppId: 3,
BusId: busId,
FileId: fileId,
body := &oidb0x6d6.ReqBody{
DownloadFileReq: &oidb0x6d6.DownloadFileReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
AppId: proto.Uint32(3),
BusId: proto.Uint32(uint32(busId)),
FileId: &fileId,
},
}
b, _ := proto.Marshal(body)
req := &oidb.OIDBSSOPkg{
Command: 1750,
ServiceType: 2,
Bodybuffer: b,
}
payload, _ := proto.Marshal(req)
payload := c.packOIDBPackageProto2(1750, 2, body)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x6d6_2", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
}
func (c *QQClient) buildGroupFileDeleteReqPacket(groupCode int64, parentFolderId, fileId string, busId int32) (uint16, []byte) {
seq := c.nextSeq()
body := &oidb.D6D6ReqBody{DeleteFileReq: &oidb.DeleteFileReqBody{
GroupCode: groupCode,
AppId: 3,
BusId: busId,
ParentFolderId: parentFolderId,
FileId: fileId,
body := &oidb0x6d6.ReqBody{DeleteFileReq: &oidb0x6d6.DeleteFileReqBody{
GroupCode: proto.Uint64(uint64(groupCode)),
AppId: proto.Uint32(3),
BusId: proto.Uint32(uint32(busId)),
ParentFolderId: &parentFolderId,
FileId: &fileId,
}}
b, _ := proto.Marshal(body)
req := &oidb.OIDBSSOPkg{
Command: 1750,
ServiceType: 3,
Bodybuffer: b,
ClientVersion: "android 8.4.8",
}
payload, _ := proto.Marshal(req)
payload := c.packOIDBPackageProto2(1750, 3, body)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x6d6_3", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
}
func decodeOIDB6d81Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
pkg := oidb.OIDBSSOPkg{}
rsp := oidb.D6D8RspBody{}
if err := proto.Unmarshal(payload, &pkg); err != nil {
rsp := oidb0x6d8.RspBody{}
if err := protobuf.Unmarshal(payload, &pkg); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
if err := protobuf.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
return &rsp, nil
@ -469,43 +433,43 @@ func decodeOIDB6d81Response(_ *QQClient, _ *incomingPacketInfo, payload []byte)
// OidbSvc.0x6d6_2
func decodeOIDB6d62Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
pkg := oidb.OIDBSSOPkg{}
rsp := oidb.D6D6RspBody{}
if err := proto.Unmarshal(payload, &pkg); err != nil {
rsp := oidb0x6d6.RspBody{}
if err := protobuf.Unmarshal(payload, &pkg); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
if err := protobuf.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if rsp.DownloadFileRsp.DownloadUrl == nil {
return nil, errors.New(rsp.DownloadFileRsp.ClientWording)
return nil, errors.New(rsp.DownloadFileRsp.GetClientWording())
}
ip := rsp.DownloadFileRsp.DownloadIp
ip := rsp.DownloadFileRsp.GetDownloadIp()
url := hex.EncodeToString(rsp.DownloadFileRsp.DownloadUrl)
return fmt.Sprintf("http://%s/ftn_handler/%s/", ip, url), nil
}
func decodeOIDB6d63Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
pkg := oidb.OIDBSSOPkg{}
rsp := oidb.D6D6RspBody{}
if err := proto.Unmarshal(payload, &pkg); err != nil {
rsp := oidb0x6d6.RspBody{}
if err := protobuf.Unmarshal(payload, &pkg); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
if err := protobuf.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if rsp.DeleteFileRsp == nil {
return "", nil
}
return rsp.DeleteFileRsp.ClientWording, nil
return rsp.DeleteFileRsp.GetClientWording(), nil
}
func decodeOIDB6d60Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
pkg := oidb.OIDBSSOPkg{}
rsp := oidb.D6D6RspBody{}
if err := proto.Unmarshal(payload, &pkg); err != nil {
rsp := oidb0x6d6.RspBody{}
if err := protobuf.Unmarshal(payload, &pkg); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
if err := protobuf.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
return rsp.UploadFileRsp, nil
@ -513,11 +477,11 @@ func decodeOIDB6d60Response(_ *QQClient, _ *incomingPacketInfo, payload []byte)
func decodeOIDB6d7Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
pkg := oidb.OIDBSSOPkg{}
rsp := oidb.D6D7RspBody{}
if err := proto.Unmarshal(payload, &pkg); err != nil {
rsp := oidb0x6d7.RspBody{}
if err := protobuf.Unmarshal(payload, &pkg); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
if err := protobuf.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if rsp.CreateFolderRsp != nil && rsp.CreateFolderRsp.GetRetCode() != 0 {

View File

@ -9,15 +9,16 @@ import (
"strings"
"sync"
"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/binary"
"github.com/Mrs4s/MiraiGo/binary/jce"
"github.com/Mrs4s/MiraiGo/client/pb/oidb"
"github.com/Mrs4s/MiraiGo/client/pb/profilecard"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x88d"
"github.com/Mrs4s/MiraiGo/utils"
)
@ -80,12 +81,12 @@ func (c *QQClient) GetGroupInfo(groupCode int64) (*GroupInfo, error) {
// OidbSvc.0x88d_0
func (c *QQClient) buildGroupInfoRequestPacket(groupCode int64) (uint16, []byte) {
seq := c.nextSeq()
body := &oidb.D88DReqBody{
AppId: proto.Uint32(c.version.AppId),
ReqGroupInfo: []*oidb.ReqGroupInfo{
body := &oidb0x88d.ReqBody{
Appid: proto.Uint32(c.version.AppId),
Stzreqgroupinfo: []*oidb0x88d.ReqGroupInfo{
{
GroupCode: proto.Uint64(uint64(groupCode)),
Stgroupinfo: &oidb.D88DGroupInfo{
Stgroupinfo: &oidb0x88d.GroupInfo{
GroupOwner: proto.Uint64(0),
GroupUin: proto.Uint64(0),
GroupCreateTime: proto.Uint32(0),
@ -105,8 +106,8 @@ func (c *QQClient) buildGroupInfoRequestPacket(groupCode int64) (uint16, []byte)
GroupGrade: proto.Uint32(0),
ActiveMemberNum: proto.Uint32(0),
HeadPortraitSeq: proto.Uint32(0),
MsgHeadPortrait: &oidb.D88DGroupHeadPortrait{},
StGroupExInfo: &oidb.D88DGroupExInfoOnly{},
HeadPortrait: &oidb0x88d.GroupHeadPortrait{},
StGroupExInfo: &oidb0x88d.GroupExInfoOnly{},
GroupSecLevel: proto.Uint32(0),
CmduinPrivilege: proto.Uint32(0),
NoFingerOpenFlag: proto.Uint32(0),
@ -116,12 +117,7 @@ func (c *QQClient) buildGroupInfoRequestPacket(groupCode int64) (uint16, []byte)
},
PcClientVersion: proto.Uint32(0),
}
b, _ := proto.Marshal(body)
req := &oidb.OIDBSSOPkg{
Command: 2189,
Bodybuffer: b,
}
payload, _ := proto.Marshal(req)
payload := c.packOIDBPackageProto2(2189, 0, body)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x88d_0", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
}
@ -230,32 +226,32 @@ func decodeGroupSearchResponse(_ *QQClient, _ *incomingPacketInfo, payload []byt
// OidbSvc.0x88d_0
func decodeGroupInfoResponse(c *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
pkg := oidb.OIDBSSOPkg{}
rsp := oidb.D88DRspBody{}
if err := proto.Unmarshal(payload, &pkg); err != nil {
rsp := oidb0x88d.RspBody{}
if err := protobuf.Unmarshal(payload, &pkg); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
if err := protobuf.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if len(rsp.RspGroupInfo) == 0 {
return nil, errors.New(string(rsp.StrErrorInfo))
if len(rsp.Stzrspgroupinfo) == 0 {
return nil, errors.New(string(rsp.Errorinfo))
}
info := rsp.RspGroupInfo[0]
if info.GroupInfo == nil {
info := rsp.Stzrspgroupinfo[0]
if info.Stgroupinfo == nil {
return nil, errors.New("group info not found")
}
return &GroupInfo{
Uin: int64(*info.GroupInfo.GroupUin),
Uin: int64(*info.Stgroupinfo.GroupUin),
Code: int64(*info.GroupCode),
Name: string(info.GroupInfo.GroupName),
Memo: string(info.GroupInfo.GroupMemo),
GroupCreateTime: *info.GroupInfo.GroupCreateTime,
GroupLevel: *info.GroupInfo.GroupLevel,
OwnerUin: int64(*info.GroupInfo.GroupOwner),
MemberCount: uint16(*info.GroupInfo.GroupMemberNum),
MaxMemberCount: uint16(*info.GroupInfo.GroupMemberMaxNum),
Name: string(info.Stgroupinfo.GroupName),
Memo: string(info.Stgroupinfo.GroupMemo),
GroupCreateTime: *info.Stgroupinfo.GroupCreateTime,
GroupLevel: *info.Stgroupinfo.GroupLevel,
OwnerUin: int64(*info.Stgroupinfo.GroupOwner),
MemberCount: uint16(*info.Stgroupinfo.GroupMemberNum),
MaxMemberCount: uint16(*info.Stgroupinfo.GroupMemberMaxNum),
Members: []*GroupMemberInfo{},
LastMsgSeq: int64(info.GroupInfo.GetGroupCurMsgSeq()),
LastMsgSeq: int64(info.Stgroupinfo.GetGroupCurMsgSeq()),
client: c,
}, nil
}

View File

@ -11,17 +11,20 @@ import (
"strings"
"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/longmsg"
"github.com/Mrs4s/MiraiGo/client/pb/msg"
"github.com/Mrs4s/MiraiGo/client/pb/multimsg"
"github.com/Mrs4s/MiraiGo/client/pb/oidb"
"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"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0xeac"
"github.com/Mrs4s/MiraiGo/message"
"github.com/Mrs4s/MiraiGo/utils"
"github.com/pkg/errors"
"google.golang.org/protobuf/proto"
)
func init() {
@ -264,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
}
@ -277,14 +280,14 @@ 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
}
func (c *QQClient) buildAtAllRemainRequestPacket(groupCode int64) (uint16, []byte) {
seq := c.nextSeq()
payload := c.packOIDBPackageProto(2215, 0, &oidb.D8A7ReqBody{
payload := c.packOIDBPackageProto2(2215, 0, &oidb0x8a7.ReqBody{
SubCmd: proto.Uint32(1),
LimitIntervalTypeForUin: proto.Uint32(2),
LimitIntervalTypeForGroup: proto.Uint32(1),
@ -298,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")
}
@ -339,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() {
@ -354,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 {
@ -403,11 +406,11 @@ func decodeGetGroupMsgResponse(c *QQClient, info *incomingPacketInfo, payload []
func decodeAtAllRemainResponse(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
pkg := oidb.OIDBSSOPkg{}
rsp := oidb.D8A7RspBody{}
if err := proto.Unmarshal(payload, &pkg); err != nil {
rsp := oidb0x8a7.RspBody{}
if err := protobuf.Unmarshal(payload, &pkg); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
if err := protobuf.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
return &AtAllRemainInfo{
@ -519,8 +522,8 @@ func (c *QQClient) parseGroupMessage(m *msg.Message) *message.GroupMessage {
mem := group.FindMember(m.Head.GetFromUin())
groupCard := m.Head.GroupInfo.GetGroupCard()
if extInfo != nil && len(extInfo.GroupCard) > 0 && extInfo.GroupCard[0] == 0x0A {
buf := oidb.D8FCCommCardNameBuf{}
if err := proto.Unmarshal(extInfo.GroupCard, &buf); err == nil && len(buf.RichCardName) > 0 {
buf := oidb0x8fc.CommCardNameBuf{}
if err := protobuf.Unmarshal(extInfo.GroupCard, &buf); err == nil && len(buf.RichCardName) > 0 {
var gcard strings.Builder
for _, e := range buf.RichCardName {
gcard.Write(e.Text)
@ -566,7 +569,7 @@ func (c *QQClient) SetEssenceMessage(groupCode int64, msgID, msgInternalId int32
if err != nil {
return errors.Wrap(err, "set essence msg network")
}
rsp := r.(*oidb.EACRspBody)
rsp := r.(*oidb0xeac.RspBody)
if rsp.GetErrorCode() != 0 {
return errors.New(rsp.GetWording())
}
@ -579,7 +582,7 @@ func (c *QQClient) DeleteEssenceMessage(groupCode int64, msgID, msgInternalId in
if err != nil {
return errors.Wrap(err, "set essence msg networ")
}
rsp := r.(*oidb.EACRspBody)
rsp := r.(*oidb0xeac.RspBody)
if rsp.GetErrorCode() != 0 {
return errors.New(rsp.GetWording())
}
@ -589,7 +592,7 @@ func (c *QQClient) DeleteEssenceMessage(groupCode int64, msgID, msgInternalId in
func (c *QQClient) buildEssenceMsgOperatePacket(groupCode int64, msgSeq, msgRand, opType uint32) (uint16, []byte) {
seq := c.nextSeq()
commandName := "OidbSvc.0xeac_" + strconv.FormatInt(int64(opType), 10)
payload := c.packOIDBPackageProto(3756, int32(opType), &oidb.EACReqBody{ // serviceType 2 取消
payload := c.packOIDBPackageProto2(3756, opType, &oidb0xeac.ReqBody{ // serviceType 2 取消
GroupCode: proto.Uint64(uint64(groupCode)),
Seq: proto.Uint32(msgSeq),
Random: proto.Uint32(msgRand),
@ -601,11 +604,11 @@ func (c *QQClient) buildEssenceMsgOperatePacket(groupCode int64, msgSeq, msgRand
// OidbSvc.0xeac_1/2
func decodeEssenceMsgResponse(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
pkg := oidb.OIDBSSOPkg{}
rsp := &oidb.EACRspBody{}
if err := proto.Unmarshal(payload, &pkg); err != nil {
rsp := &oidb0xeac.RspBody{}
if err := protobuf.Unmarshal(payload, &pkg); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if err := proto.Unmarshal(pkg.Bodybuffer, rsp); err != nil {
if err := protobuf.Unmarshal(pkg.Bodybuffer, rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
return rsp, nil

View File

@ -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),

View File

@ -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

View File

@ -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),
}

View File

@ -12,16 +12,16 @@ import (
"strings"
"time"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/client/pb/highway"
"github.com/Mrs4s/MiraiGo/client/pb/oidb"
"github.com/pkg/errors"
protobuf "github.com/segmentio/encoding/proto"
"google.golang.org/protobuf/proto"
"github.com/Mrs4s/MiraiGo/binary"
"github.com/Mrs4s/MiraiGo/client/pb/cmd0x388"
"github.com/Mrs4s/MiraiGo/client/pb/highway"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0xe07"
"github.com/Mrs4s/MiraiGo/message"
"github.com/Mrs4s/MiraiGo/utils"
)
@ -293,20 +293,20 @@ func (c *QQClient) uploadOcrImage(img io.Reader, length int64, sum []byte) (stri
// OidbSvc.0xe07_0
func (c *QQClient) buildImageOcrRequestPacket(url, md5 string, size, weight, height int32) (uint16, []byte) {
seq := c.nextSeq()
body := &oidb.DE07ReqBody{
Version: 1,
Entrance: 3,
OcrReqBody: &oidb.OCRReqBody{
ImageUrl: url,
OriginMd5: md5,
AfterCompressMd5: md5,
AfterCompressFileSize: size,
AfterCompressWeight: weight,
AfterCompressHeight: height,
IsCut: false,
body := &oidb0xe07.ReqBody{
Version: proto.Uint32(1),
Entrance: proto.Uint32(3),
OcrReqBody: &oidb0xe07.OCRReqBody{
ImageUrl: &url,
OriginMd5: &md5,
AfterCompressMd5: &md5,
AfterCompressFileSize: proto.Uint32(uint32(size)),
AfterCompressWeight: proto.Uint32(uint32(weight)),
AfterCompressHeight: proto.Uint32(uint32(height)),
IsCut: proto.Bool(false),
},
}
b, _ := proto.Marshal(body)
b, _ := body.Marshal()
payload := c.packOIDBPackage(3591, 0, b)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0xe07_0", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
@ -357,20 +357,20 @@ func decodeGroupImageDownloadResponse(_ *QQClient, _ *incomingPacketInfo, payloa
// OidbSvc.0xe07_0
func decodeImageOcrResponse(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
pkg := oidb.OIDBSSOPkg{}
rsp := oidb.DE07RspBody{}
if err := proto.Unmarshal(payload, &pkg); err != nil {
rsp := oidb0xe07.RspBody{}
if err := protobuf.Unmarshal(payload, &pkg); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
if err := protobuf.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if rsp.Wording != "" {
if strings.Contains(rsp.Wording, "服务忙") {
if rsp.GetWording() != "" {
if strings.Contains(rsp.GetWording(), "服务忙") {
return nil, errors.New("未识别到文本")
}
return nil, errors.New(rsp.Wording)
return nil, errors.New(rsp.GetWording())
}
if rsp.RetCode != 0 {
if rsp.GetRetCode() != 0 {
return nil, errors.Errorf("server error, code: %v msg: %v", rsp.RetCode, rsp.ErrMsg)
}
texts := make([]*TextDetection, 0, len(rsp.OcrRspBody.TextDetections))
@ -378,18 +378,18 @@ func decodeImageOcrResponse(_ *QQClient, _ *incomingPacketInfo, payload []byte)
points := make([]*Coordinate, 0, len(text.Polygon.Coordinates))
for _, c := range text.Polygon.Coordinates {
points = append(points, &Coordinate{
X: c.X,
Y: c.Y,
X: c.GetX(),
Y: c.GetY(),
})
}
texts = append(texts, &TextDetection{
Text: text.DetectedText,
Confidence: text.Confidence,
Text: text.GetDetectedText(),
Confidence: int32(text.GetConfidence()),
Coordinates: points,
})
}
return &OcrResponse{
Texts: texts,
Language: rsp.OcrRspBody.Language,
Language: rsp.OcrRspBody.GetLanguage(),
}, nil
}

View File

@ -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

View File

@ -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
}

File diff suppressed because it is too large Load Diff

View File

@ -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
}

View File

@ -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
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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
}

View File

@ -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
}

File diff suppressed because it is too large Load Diff

View File

@ -1,108 +0,0 @@
syntax = "proto3";
option go_package = "./;oidb";
message OIDBSSOPkg {
int32 command = 1;
int32 serviceType = 2;
int32 result = 3;
bytes bodybuffer = 4;
string errorMsg = 5;
string clientVersion = 6;
}
message D8A0RspBody {
int64 optUint64GroupCode = 1;
repeated D8A0KickResult msgKickResult = 2;
}
message D8A0KickResult {
int32 optUint32Result = 1;
int64 optUint64MemberUin = 2;
}
message D8A0KickMemberInfo {
int32 optUint32Operate = 1;
int64 optUint64MemberUin = 2;
int32 optUint32Flag = 3;
bytes optBytesMsg = 4;
}
message D8A0ReqBody {
int64 optUint64GroupCode = 1;
repeated D8A0KickMemberInfo msgKickList = 2;
repeated int64 kickList = 3;
int32 kickFlag = 4;
bytes kickMsg = 5;
}
message D89AReqBody {
int64 groupCode = 1;
D89AGroupinfo stGroupInfo = 2;
int64 originalOperatorUin = 3;
int32 reqGroupOpenAppid = 4;
}
message D89AGroupinfo {
int32 groupExtAdmNum = 1;
int32 flag = 2;
bytes ingGroupName = 3;
bytes ingGroupMemo = 4;
bytes ingGroupFingerMemo = 5;
bytes ingGroupAioSkinUrl = 6;
bytes ingGroupBoardSkinUrl = 7;
bytes ingGroupCoverSkinUrl = 8;
int32 groupGrade = 9;
int32 activeMemberNum = 10;
int32 certificationType = 11;
bytes ingCertificationText = 12;
bytes ingGroupRichFingerMemo = 13;
D89AGroupNewGuidelinesInfo stGroupNewguidelines = 14;
int32 groupFace = 15;
int32 addOption = 16;
oneof shutupTime {
int32 val = 17;
}
int32 groupTypeFlag = 18;
bytes stringGroupTag = 19;
D89AGroupGeoInfo msgGroupGeoInfo = 20;
int32 groupClassExt = 21;
bytes ingGroupClassText = 22;
int32 appPrivilegeFlag = 23;
int32 appPrivilegeMask = 24;
D89AGroupExInfoOnly stGroupExInfo = 25;
int32 groupSecLevel = 26;
int32 groupSecLevelInfo = 27;
int64 subscriptionUin = 28;
int32 allowMemberInvite = 29;
bytes ingGroupQuestion = 30;
bytes ingGroupAnswer = 31;
int32 groupFlagext3 = 32;
int32 groupFlagext3Mask = 33;
int32 groupOpenAppid = 34;
int32 noFingerOpenFlag = 35;
int32 noCodeFingerOpenFlag = 36;
int64 rootId = 37;
int32 msgLimitFrequency = 38;
}
message D89AGroupNewGuidelinesInfo {
bool boolEnabled = 1;
bytes ingContent = 2;
}
message D89AGroupExInfoOnly {
int32 tribeId = 1;
int32 moneyForAddGroup = 2;
}
message D89AGroupGeoInfo {
int32 cityId = 1;
int64 longtitude = 2;
int64 latitude = 3;
bytes ingGeoContent = 4;
int64 poiId = 5;
}
message DED3ReqBody {
int64 toUin = 1;
int64 groupCode = 2;
int32 msgSeq = 3;
int32 msgRand = 4;
int64 aioUin = 5;
}

File diff suppressed because it is too large Load Diff

View File

@ -1,171 +0,0 @@
syntax = "proto2";
option go_package = "./;oidb";
message D5EBReqBody {
repeated uint64 uins = 1;
optional uint32 max_package_size = 3;
repeated bytes openid = 4;
optional uint32 appid = 5;
optional uint32 reqNick = 20002;
optional uint32 reqCountry = 20003;
optional int32 reqProvince = 20004;
optional int32 reqGender = 20009;
optional int32 reqAllow = 20014;
optional int32 reqFaceId = 20015;
optional int32 reqCity = 20020;
optional int32 reqConstellation = 20022;
optional int32 reqCommonPlace1 = 20027;
optional int32 reqMss3Bitmapextra = 20030;
optional int32 reqBirthday = 20031;
optional int32 reqCityId = 20032;
optional int32 reqLang1 = 20033;
optional int32 reqLang2 = 20034;
optional int32 reqLang3 = 20035;
optional int32 reqAge = 20037;
optional int32 reqCityZoneId = 20041;
optional int32 reqOin = 20056;
optional int32 reqBubbleId = 20059;
optional int32 reqMss2Identity = 21001;
optional int32 reqMss1Service = 21002;
optional int32 reqLflag = 21003;
optional int32 reqExtFlag = 21004;
optional int32 reqBasicSvrFlag = 21006;
optional int32 reqBasicCliFlag = 21007;
optional int32 reqFullBirthday = 26004;
optional int32 reqFullAge = 26005;
optional int32 reqSimpleUpdateTime = 26010;
optional int32 reqMssUpdateTime = 26011;
optional int32 reqPstnMultiCallTime = 26012;
optional int32 reqPstnMultiLastGuideRechargeTime = 26013;
optional int32 reqPstnC2cCallTime = 26014;
optional int32 reqPstnC2cLastGuideRechargeTime = 26015;
optional int32 reqGroupMemCreditFlag = 27022;
optional int32 reqFaceAddonId = 27025;
optional int32 reqMusicGene = 27026;
optional int32 reqStrangerNick = 27034;
optional int32 reqStrangerDeclare = 27035;
optional int32 reqLoveStatus = 27036;
optional int32 reqProfession = 27037;
optional int32 reqVasColorringFlag = 27041;
optional int32 reqCharm = 27052;
optional int32 reqApolloTimestamp = 27059;
optional int32 reqVasFontIdFlag = 27201;
optional int32 reqGlobalGroupLevel = 27208;
optional int32 reqInvite2groupAutoAgreeFlag = 40346;
optional int32 reqSubaccountDisplayThirdQqFlag = 40348;
optional int32 notifyPartakeLikeRankingListFlag = 40350;
optional int32 reqLightalkSwitch = 40506;
optional int32 reqMusicRingVisible = 40507;
optional int32 reqMusicRingAutoplay = 40508;
optional int32 reqMusicRingRedpoint = 40509;
optional int32 torchDisableFlag = 40525;
optional int32 reqVasMagicfontFlag = 40530;
optional int32 reqVipFlag = 41756;
optional int32 reqAuthFlag = 41783;
optional int32 reqForbidFlag = 41784;
optional int32 reqGodForbid = 41804;
optional int32 reqGodFlag = 41805;
optional int32 reqCharmLevel = 41950;
optional int32 reqCharmShown = 41973;
optional int32 reqFreshnewsNotifyFlag = 41993;
optional int32 reqApolloVipLevel = 41999;
optional int32 reqApolloVipFlag = 42003;
optional int32 reqPstnC2cVip = 42005;
optional int32 reqPstnMultiVip = 42006;
optional int32 reqPstnEverC2cVip = 42007;
optional int32 reqPstnEverMultiVip = 42008;
optional int32 reqPstnMultiTryFlag = 42011;
optional int32 reqPstnC2cTryFlag = 42012;
optional int32 reqSubscribeNearbyassistantSwitch = 42024;
optional int32 reqTorchbearerFlag = 42051;
optional int32 preloadDisableFlag = 42073;
optional int32 reqMedalwallFlag = 42075;
optional int32 notifyOnLikeRankingListFlag = 42092;
optional int32 reqApolloStatus = 42980;
}
message D5EBRspBody {
repeated UdcUinData uinData = 11;
repeated int64 unfinishedUins = 12;
}
message UdcUinData {
optional int64 uin = 1;
optional bytes openid = 4;
optional bytes nick = 20002;
optional bytes country = 20003;
optional bytes province = 20004;
optional int32 gender = 20009;
optional int32 allow = 20014;
optional int32 faceId = 20015;
optional bytes city = 20020;
optional int32 constellation = 20022;
optional int32 commonPlace1 = 20027;
optional bytes mss3Bitmapextra = 20030;
optional bytes birthday = 20031;
optional bytes cityId = 20032;
optional int32 lang1 = 20033;
optional int32 lang2 = 20034;
optional int32 lang3 = 20035;
optional int32 age = 20037;
optional int32 cityZoneId = 20041;
optional int32 oin = 20056;
optional int32 bubbleId = 20059;
optional bytes mss2Identity = 21001;
optional bytes mss1Service = 21002;
optional int32 lflag = 21003;
optional int32 extFlag = 21004;
optional bytes basicSvrFlag = 21006;
optional bytes basicCliFlag = 21007;
optional bytes fullBirthday = 26004;
optional bytes fullAge = 26005;
optional int32 simpleUpdateTime = 26010;
optional int32 mssUpdateTime = 26011;
optional int32 pstnMultiCallTime = 26012;
optional int32 pstnMultiLastGuideRechargeTime = 26013;
optional int32 pstnC2cCallTime = 26014;
optional int32 pstnC2cLastGuideRechargeTime = 26015;
optional int32 groupMemCreditFlag = 27022;
optional int64 faceAddonId = 27025;
optional bytes musicGene = 27026;
optional bytes strangerNick = 27034;
optional bytes strangerDeclare = 27035;
optional int32 loveStatus = 27036;
optional int32 profession = 27037;
optional int32 vasColorringId = 27041;
optional int32 charm = 27052;
optional int32 apolloTimestamp = 27059;
optional int32 vasFontId = 27201;
optional int32 globalGroupLevel = 27208;
optional int32 reqInvite2groupAutoAgreeFlag = 40346;
optional int32 subaccountDisplayThirdQqFlag = 40348;
optional int32 notifyPartakeLikeRankingListFlag = 40350;
optional int32 lightalkSwitch = 40506;
optional int32 musicRingVisible = 40507;
optional int32 musicRingAutoplay = 40508;
optional int32 musicRingRedpoint = 40509;
optional int32 torchDisableFlag = 40525;
optional int32 vasMagicfontFlag = 40530;
optional int32 vipFlag = 41756;
optional int32 authFlag = 41783;
optional int32 forbidFlag = 41784;
optional int32 godForbid = 41804;
optional int32 godFlag = 41805;
optional int32 charmLevel = 41950;
optional int32 charmShown = 41973;
optional int32 freshnewsNotifyFlag = 41993;
optional int32 apolloVipLevel = 41999;
optional int32 apolloVipFlag = 42003;
optional int32 pstnC2cVip = 42005;
optional int32 pstnMultiVip = 42006;
optional int32 pstnEverC2cVip = 42007;
optional int32 pstnEverMultiVip = 42008;
optional int32 pstnMultiTryFlag = 42011;
optional int32 pstnC2cTryFlag = 42012;
optional int32 subscribeNearbyassistantSwitch = 42024;
optional int32 torchbearerFlag = 42051;
optional int32 preloadDisableFlag = 42073;
optional int32 reqMedalwallFlag = 42075;
optional int32 notifyOnLikeRankingListFlag = 42092;
optional int32 apolloStatus = 42980;
}

File diff suppressed because it is too large Load Diff

View File

@ -1,126 +0,0 @@
syntax = "proto3";
option go_package = "./;oidb";
message DeleteFileReqBody {
int64 groupCode = 1;
int32 appId = 2;
int32 busId = 3;
string parentFolderId = 4;
string fileId = 5;
}
message DeleteFileRspBody {
int32 retCode = 1;
string retMsg = 2;
string clientWording = 3;
}
message DownloadFileReqBody {
int64 groupCode = 1;
int32 appId = 2;
int32 busId = 3;
string fileId = 4;
bool boolThumbnailReq = 5;
int32 urlType = 6;
bool boolPreviewReq = 7;
}
message DownloadFileRspBody {
int32 retCode = 1;
string retMsg = 2;
string clientWording = 3;
string downloadIp = 4;
bytes downloadDns = 5;
bytes downloadUrl = 6;
bytes sha = 7;
bytes sha3 = 8;
bytes md5 = 9;
bytes cookieVal = 10;
string saveFileName = 11;
int32 previewPort = 12;
}
message MoveFileReqBody {
int64 groupCode = 1;
int32 appId = 2;
int32 busId = 3;
string fileId = 4;
string parentFolderId = 5;
string destFolderId = 6;
}
message MoveFileRspBody {
int32 retCode = 1;
string retMsg = 2;
string clientWording = 3;
string parentFolderId = 4;
}
message RenameFileReqBody {
int64 groupCode = 1;
int32 appId = 2;
int32 busId = 3;
string fileId = 4;
string parentFolderId = 5;
string newFileName = 6;
}
message RenameFileRspBody {
int32 retCode = 1;
string retMsg = 2;
string clientWording = 3;
}
message D6D6ReqBody {
UploadFileReqBody uploadFileReq = 1;
ResendReqBody resendFileReq = 2;
DownloadFileReqBody downloadFileReq = 3;
DeleteFileReqBody deleteFileReq = 4;
RenameFileReqBody renameFileReq = 5;
MoveFileReqBody moveFileReq = 6;
}
message ResendReqBody {
int64 groupCode = 1;
int32 appId = 2;
int32 busId = 3;
string fileId = 4;
bytes sha = 5;
}
message ResendRspBody {
int32 retCode = 1;
string retMsg = 2;
string clientWording = 3;
string uploadIp = 4;
bytes fileKey = 5;
bytes checkKey = 6;
}
message D6D6RspBody {
UploadFileRspBody uploadFileRsp = 1;
ResendRspBody resendFileRsp = 2;
DownloadFileRspBody downloadFileRsp = 3;
DeleteFileRspBody deleteFileRsp = 4;
RenameFileRspBody renameFileRsp = 5;
MoveFileRspBody moveFileRsp = 6;
}
message UploadFileReqBody {
int64 groupCode = 1;
int32 appId = 2;
int32 busId = 3;
int32 entrance = 4;
string parentFolderId = 5;
string fileName = 6;
string localPath = 7;
int64 int64FileSize = 8;
bytes sha = 9;
bytes sha3 = 10;
bytes md5 = 11;
bool supportMultiUpload = 15;
}
message UploadFileRspBody {
int32 retCode = 1;
string retMsg = 2;
string clientWording = 3;
string uploadIp = 4;
string serverDns = 5;
int32 busId = 6;
string fileId = 7;
bytes fileKey = 8;
bytes checkKey = 9;
bool boolFileExist = 10;
repeated string uploadIpLanV4 = 12;
repeated string uploadIpLanV6 = 13;
int32 uploadPort = 14;
}

View File

@ -1,992 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.1
// source: oidb0x6d7.proto
package oidb
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 CreateFolderReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupCode *uint64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"`
AppId *uint32 `protobuf:"varint,2,opt,name=appId" json:"appId,omitempty"`
ParentFolderId *string `protobuf:"bytes,3,opt,name=parentFolderId" json:"parentFolderId,omitempty"`
FolderName *string `protobuf:"bytes,4,opt,name=folderName" json:"folderName,omitempty"`
}
func (x *CreateFolderReqBody) Reset() {
*x = CreateFolderReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x6d7_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateFolderReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateFolderReqBody) ProtoMessage() {}
func (x *CreateFolderReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x6d7_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 CreateFolderReqBody.ProtoReflect.Descriptor instead.
func (*CreateFolderReqBody) Descriptor() ([]byte, []int) {
return file_oidb0x6d7_proto_rawDescGZIP(), []int{0}
}
func (x *CreateFolderReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *CreateFolderReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *CreateFolderReqBody) GetParentFolderId() string {
if x != nil && x.ParentFolderId != nil {
return *x.ParentFolderId
}
return ""
}
func (x *CreateFolderReqBody) GetFolderName() string {
if x != nil && x.FolderName != nil {
return *x.FolderName
}
return ""
}
type CreateFolderRspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RetCode *int32 `protobuf:"varint,1,opt,name=retCode" json:"retCode,omitempty"`
RetMsg *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"`
ClientWording *string `protobuf:"bytes,3,opt,name=clientWording" json:"clientWording,omitempty"` // optional group_file_common.FolderInfo folderInfo = 4;
}
func (x *CreateFolderRspBody) Reset() {
*x = CreateFolderRspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x6d7_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateFolderRspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateFolderRspBody) ProtoMessage() {}
func (x *CreateFolderRspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x6d7_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 CreateFolderRspBody.ProtoReflect.Descriptor instead.
func (*CreateFolderRspBody) Descriptor() ([]byte, []int) {
return file_oidb0x6d7_proto_rawDescGZIP(), []int{1}
}
func (x *CreateFolderRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *CreateFolderRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *CreateFolderRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
type DeleteFolderReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupCode *uint64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"`
AppId *uint32 `protobuf:"varint,2,opt,name=appId" json:"appId,omitempty"`
FolderId *string `protobuf:"bytes,3,opt,name=folderId" json:"folderId,omitempty"`
}
func (x *DeleteFolderReqBody) Reset() {
*x = DeleteFolderReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x6d7_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteFolderReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteFolderReqBody) ProtoMessage() {}
func (x *DeleteFolderReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x6d7_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 DeleteFolderReqBody.ProtoReflect.Descriptor instead.
func (*DeleteFolderReqBody) Descriptor() ([]byte, []int) {
return file_oidb0x6d7_proto_rawDescGZIP(), []int{2}
}
func (x *DeleteFolderReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *DeleteFolderReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *DeleteFolderReqBody) GetFolderId() string {
if x != nil && x.FolderId != nil {
return *x.FolderId
}
return ""
}
type DeleteFolderRspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RetCode *int32 `protobuf:"varint,1,opt,name=retCode" json:"retCode,omitempty"`
RetMsg *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"`
ClientWording *string `protobuf:"bytes,3,opt,name=clientWording" json:"clientWording,omitempty"`
}
func (x *DeleteFolderRspBody) Reset() {
*x = DeleteFolderRspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x6d7_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteFolderRspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteFolderRspBody) ProtoMessage() {}
func (x *DeleteFolderRspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x6d7_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 DeleteFolderRspBody.ProtoReflect.Descriptor instead.
func (*DeleteFolderRspBody) Descriptor() ([]byte, []int) {
return file_oidb0x6d7_proto_rawDescGZIP(), []int{3}
}
func (x *DeleteFolderRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *DeleteFolderRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *DeleteFolderRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
type MoveFolderReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupCode *uint64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"`
AppId *uint32 `protobuf:"varint,2,opt,name=appId" json:"appId,omitempty"`
FolderId *string `protobuf:"bytes,3,opt,name=folderId" json:"folderId,omitempty"`
ParentFolderId *string `protobuf:"bytes,4,opt,name=parentFolderId" json:"parentFolderId,omitempty"`
DestFolderId *string `protobuf:"bytes,5,opt,name=destFolderId" json:"destFolderId,omitempty"`
}
func (x *MoveFolderReqBody) Reset() {
*x = MoveFolderReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x6d7_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MoveFolderReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoveFolderReqBody) ProtoMessage() {}
func (x *MoveFolderReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x6d7_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 MoveFolderReqBody.ProtoReflect.Descriptor instead.
func (*MoveFolderReqBody) Descriptor() ([]byte, []int) {
return file_oidb0x6d7_proto_rawDescGZIP(), []int{4}
}
func (x *MoveFolderReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *MoveFolderReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *MoveFolderReqBody) GetFolderId() string {
if x != nil && x.FolderId != nil {
return *x.FolderId
}
return ""
}
func (x *MoveFolderReqBody) GetParentFolderId() string {
if x != nil && x.ParentFolderId != nil {
return *x.ParentFolderId
}
return ""
}
func (x *MoveFolderReqBody) GetDestFolderId() string {
if x != nil && x.DestFolderId != nil {
return *x.DestFolderId
}
return ""
}
type MoveFolderRspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RetCode *int32 `protobuf:"varint,1,opt,name=retCode" json:"retCode,omitempty"`
RetMsg *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"`
ClientWording *string `protobuf:"bytes,3,opt,name=clientWording" json:"clientWording,omitempty"` // optional group_file_common.FolderInfo folderInfo = 4;
}
func (x *MoveFolderRspBody) Reset() {
*x = MoveFolderRspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x6d7_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MoveFolderRspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoveFolderRspBody) ProtoMessage() {}
func (x *MoveFolderRspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x6d7_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 MoveFolderRspBody.ProtoReflect.Descriptor instead.
func (*MoveFolderRspBody) Descriptor() ([]byte, []int) {
return file_oidb0x6d7_proto_rawDescGZIP(), []int{5}
}
func (x *MoveFolderRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *MoveFolderRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *MoveFolderRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
type RenameFolderReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupCode *uint64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"`
AppId *uint32 `protobuf:"varint,2,opt,name=appId" json:"appId,omitempty"`
FolderId *string `protobuf:"bytes,3,opt,name=folderId" json:"folderId,omitempty"`
NewFolderName *string `protobuf:"bytes,4,opt,name=newFolderName" json:"newFolderName,omitempty"`
}
func (x *RenameFolderReqBody) Reset() {
*x = RenameFolderReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x6d7_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RenameFolderReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RenameFolderReqBody) ProtoMessage() {}
func (x *RenameFolderReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x6d7_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 RenameFolderReqBody.ProtoReflect.Descriptor instead.
func (*RenameFolderReqBody) Descriptor() ([]byte, []int) {
return file_oidb0x6d7_proto_rawDescGZIP(), []int{6}
}
func (x *RenameFolderReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *RenameFolderReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *RenameFolderReqBody) GetFolderId() string {
if x != nil && x.FolderId != nil {
return *x.FolderId
}
return ""
}
func (x *RenameFolderReqBody) GetNewFolderName() string {
if x != nil && x.NewFolderName != nil {
return *x.NewFolderName
}
return ""
}
type RenameFolderRspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RetCode *int32 `protobuf:"varint,1,opt,name=retCode" json:"retCode,omitempty"`
RetMsg *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"`
ClientWording *string `protobuf:"bytes,3,opt,name=clientWording" json:"clientWording,omitempty"` // optional group_file_common.FolderInfo folderInfo = 4;
}
func (x *RenameFolderRspBody) Reset() {
*x = RenameFolderRspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x6d7_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RenameFolderRspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RenameFolderRspBody) ProtoMessage() {}
func (x *RenameFolderRspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x6d7_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 RenameFolderRspBody.ProtoReflect.Descriptor instead.
func (*RenameFolderRspBody) Descriptor() ([]byte, []int) {
return file_oidb0x6d7_proto_rawDescGZIP(), []int{7}
}
func (x *RenameFolderRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *RenameFolderRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *RenameFolderRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
type D6D7ReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CreateFolderReq *CreateFolderReqBody `protobuf:"bytes,1,opt,name=createFolderReq" json:"createFolderReq,omitempty"`
DeleteFolderReq *DeleteFolderReqBody `protobuf:"bytes,2,opt,name=deleteFolderReq" json:"deleteFolderReq,omitempty"`
RenameFolderReq *RenameFolderReqBody `protobuf:"bytes,3,opt,name=renameFolderReq" json:"renameFolderReq,omitempty"`
MoveFolderReq *MoveFolderReqBody `protobuf:"bytes,4,opt,name=moveFolderReq" json:"moveFolderReq,omitempty"`
}
func (x *D6D7ReqBody) Reset() {
*x = D6D7ReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x6d7_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D6D7ReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D6D7ReqBody) ProtoMessage() {}
func (x *D6D7ReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x6d7_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 D6D7ReqBody.ProtoReflect.Descriptor instead.
func (*D6D7ReqBody) Descriptor() ([]byte, []int) {
return file_oidb0x6d7_proto_rawDescGZIP(), []int{8}
}
func (x *D6D7ReqBody) GetCreateFolderReq() *CreateFolderReqBody {
if x != nil {
return x.CreateFolderReq
}
return nil
}
func (x *D6D7ReqBody) GetDeleteFolderReq() *DeleteFolderReqBody {
if x != nil {
return x.DeleteFolderReq
}
return nil
}
func (x *D6D7ReqBody) GetRenameFolderReq() *RenameFolderReqBody {
if x != nil {
return x.RenameFolderReq
}
return nil
}
func (x *D6D7ReqBody) GetMoveFolderReq() *MoveFolderReqBody {
if x != nil {
return x.MoveFolderReq
}
return nil
}
type D6D7RspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CreateFolderRsp *CreateFolderRspBody `protobuf:"bytes,1,opt,name=createFolderRsp" json:"createFolderRsp,omitempty"`
DeleteFolderRsp *DeleteFolderRspBody `protobuf:"bytes,2,opt,name=deleteFolderRsp" json:"deleteFolderRsp,omitempty"`
RenameFolderRsp *RenameFolderRspBody `protobuf:"bytes,3,opt,name=renameFolderRsp" json:"renameFolderRsp,omitempty"`
MoveFolderRsp *MoveFolderRspBody `protobuf:"bytes,4,opt,name=moveFolderRsp" json:"moveFolderRsp,omitempty"`
}
func (x *D6D7RspBody) Reset() {
*x = D6D7RspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x6d7_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D6D7RspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D6D7RspBody) ProtoMessage() {}
func (x *D6D7RspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x6d7_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 D6D7RspBody.ProtoReflect.Descriptor instead.
func (*D6D7RspBody) Descriptor() ([]byte, []int) {
return file_oidb0x6d7_proto_rawDescGZIP(), []int{9}
}
func (x *D6D7RspBody) GetCreateFolderRsp() *CreateFolderRspBody {
if x != nil {
return x.CreateFolderRsp
}
return nil
}
func (x *D6D7RspBody) GetDeleteFolderRsp() *DeleteFolderRspBody {
if x != nil {
return x.DeleteFolderRsp
}
return nil
}
func (x *D6D7RspBody) GetRenameFolderRsp() *RenameFolderRspBody {
if x != nil {
return x.RenameFolderRsp
}
return nil
}
func (x *D6D7RspBody) GetMoveFolderRsp() *MoveFolderRspBody {
if x != nil {
return x.MoveFolderRsp
}
return nil
}
var File_oidb0x6d7_proto protoreflect.FileDescriptor
var file_oidb0x6d7_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x36, 0x64, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0x91, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64,
0x65, 0x72, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 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, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x26, 0x0a,
0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c,
0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x4e,
0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x6f, 0x6c, 0x64, 0x65,
0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6d, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46,
0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07,
0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72,
0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x24,
0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72,
0x64, 0x69, 0x6e, 0x67, 0x22, 0x65, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f,
0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 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, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12,
0x1a, 0x0a, 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x6d, 0x0a, 0x13, 0x44,
0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f,
0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06,
0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65,
0x74, 0x4d, 0x73, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f,
0x72, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x22, 0xaf, 0x01, 0x0a, 0x11, 0x4d,
0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79,
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, 0x14,
0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x61,
0x70, 0x70, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64,
0x12, 0x26, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72,
0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74,
0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
0x64, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x6b, 0x0a, 0x11,
0x4d, 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64,
0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72,
0x65, 0x74, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x74,
0x4d, 0x73, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72,
0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65,
0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x8b, 0x01, 0x0a, 0x13, 0x52, 0x65,
0x6e, 0x61, 0x6d, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64,
0x79, 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,
0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05,
0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49,
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49,
0x64, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x4e, 0x61,
0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x77, 0x46, 0x6f, 0x6c,
0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6d, 0x0a, 0x13, 0x52, 0x65, 0x6e, 0x61, 0x6d,
0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18,
0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x4d,
0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67,
0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e,
0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57,
0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x87, 0x02, 0x0a, 0x0b, 0x44, 0x36, 0x44, 0x37, 0x52,
0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x3e, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x14, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65,
0x71, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c,
0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x3e, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x14, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65,
0x71, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c,
0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x3e, 0x0a, 0x0f, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65,
0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x14, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65,
0x71, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0f, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x6f, 0x6c,
0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x38, 0x0a, 0x0d, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x6f,
0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
0x4d, 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64,
0x79, 0x52, 0x0d, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71,
0x22, 0x87, 0x02, 0x0a, 0x0b, 0x44, 0x36, 0x44, 0x37, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79,
0x12, 0x3e, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72,
0x52, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x52,
0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70,
0x12, 0x3e, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72,
0x52, 0x73, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x52,
0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70,
0x12, 0x3e, 0x0a, 0x0f, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72,
0x52, 0x73, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x52, 0x65, 0x6e, 0x61,
0x6d, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x52,
0x0f, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70,
0x12, 0x38, 0x0a, 0x0d, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73,
0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x6f,
0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0d, 0x6d, 0x6f, 0x76,
0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2f,
0x3b, 0x6f, 0x69, 0x64, 0x62,
}
var (
file_oidb0x6d7_proto_rawDescOnce sync.Once
file_oidb0x6d7_proto_rawDescData = file_oidb0x6d7_proto_rawDesc
)
func file_oidb0x6d7_proto_rawDescGZIP() []byte {
file_oidb0x6d7_proto_rawDescOnce.Do(func() {
file_oidb0x6d7_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0x6d7_proto_rawDescData)
})
return file_oidb0x6d7_proto_rawDescData
}
var file_oidb0x6d7_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_oidb0x6d7_proto_goTypes = []interface{}{
(*CreateFolderReqBody)(nil), // 0: CreateFolderReqBody
(*CreateFolderRspBody)(nil), // 1: CreateFolderRspBody
(*DeleteFolderReqBody)(nil), // 2: DeleteFolderReqBody
(*DeleteFolderRspBody)(nil), // 3: DeleteFolderRspBody
(*MoveFolderReqBody)(nil), // 4: MoveFolderReqBody
(*MoveFolderRspBody)(nil), // 5: MoveFolderRspBody
(*RenameFolderReqBody)(nil), // 6: RenameFolderReqBody
(*RenameFolderRspBody)(nil), // 7: RenameFolderRspBody
(*D6D7ReqBody)(nil), // 8: D6D7ReqBody
(*D6D7RspBody)(nil), // 9: D6D7RspBody
}
var file_oidb0x6d7_proto_depIdxs = []int32{
0, // 0: D6D7ReqBody.createFolderReq:type_name -> CreateFolderReqBody
2, // 1: D6D7ReqBody.deleteFolderReq:type_name -> DeleteFolderReqBody
6, // 2: D6D7ReqBody.renameFolderReq:type_name -> RenameFolderReqBody
4, // 3: D6D7ReqBody.moveFolderReq:type_name -> MoveFolderReqBody
1, // 4: D6D7RspBody.createFolderRsp:type_name -> CreateFolderRspBody
3, // 5: D6D7RspBody.deleteFolderRsp:type_name -> DeleteFolderRspBody
7, // 6: D6D7RspBody.renameFolderRsp:type_name -> RenameFolderRspBody
5, // 7: D6D7RspBody.moveFolderRsp:type_name -> MoveFolderRspBody
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_oidb0x6d7_proto_init() }
func file_oidb0x6d7_proto_init() {
if File_oidb0x6d7_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0x6d7_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateFolderReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x6d7_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateFolderRspBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x6d7_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteFolderReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x6d7_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteFolderRspBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x6d7_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MoveFolderReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x6d7_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MoveFolderRspBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x6d7_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RenameFolderReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x6d7_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RenameFolderRspBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x6d7_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D6D7ReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x6d7_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D6D7RspBody); 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_oidb0x6d7_proto_rawDesc,
NumEnums: 0,
NumMessages: 10,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0x6d7_proto_goTypes,
DependencyIndexes: file_oidb0x6d7_proto_depIdxs,
MessageInfos: file_oidb0x6d7_proto_msgTypes,
}.Build()
File_oidb0x6d7_proto = out.File
file_oidb0x6d7_proto_rawDesc = nil
file_oidb0x6d7_proto_goTypes = nil
file_oidb0x6d7_proto_depIdxs = nil
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,290 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.1
// source: oidb0x8a7.proto
package oidb
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 D8A7ReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SubCmd *uint32 `protobuf:"varint,1,opt,name=subCmd" json:"subCmd,omitempty"`
LimitIntervalTypeForUin *uint32 `protobuf:"varint,2,opt,name=limitIntervalTypeForUin" json:"limitIntervalTypeForUin,omitempty"`
LimitIntervalTypeForGroup *uint32 `protobuf:"varint,3,opt,name=limitIntervalTypeForGroup" json:"limitIntervalTypeForGroup,omitempty"`
Uin *uint64 `protobuf:"varint,4,opt,name=uin" json:"uin,omitempty"`
GroupCode *uint64 `protobuf:"varint,5,opt,name=groupCode" json:"groupCode,omitempty"`
}
func (x *D8A7ReqBody) Reset() {
*x = D8A7ReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x8a7_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D8A7ReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D8A7ReqBody) ProtoMessage() {}
func (x *D8A7ReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x8a7_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 D8A7ReqBody.ProtoReflect.Descriptor instead.
func (*D8A7ReqBody) Descriptor() ([]byte, []int) {
return file_oidb0x8a7_proto_rawDescGZIP(), []int{0}
}
func (x *D8A7ReqBody) GetSubCmd() uint32 {
if x != nil && x.SubCmd != nil {
return *x.SubCmd
}
return 0
}
func (x *D8A7ReqBody) GetLimitIntervalTypeForUin() uint32 {
if x != nil && x.LimitIntervalTypeForUin != nil {
return *x.LimitIntervalTypeForUin
}
return 0
}
func (x *D8A7ReqBody) GetLimitIntervalTypeForGroup() uint32 {
if x != nil && x.LimitIntervalTypeForGroup != nil {
return *x.LimitIntervalTypeForGroup
}
return 0
}
func (x *D8A7ReqBody) GetUin() uint64 {
if x != nil && x.Uin != nil {
return *x.Uin
}
return 0
}
func (x *D8A7ReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
type D8A7RspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CanAtAll *bool `protobuf:"varint,1,opt,name=canAtAll" json:"canAtAll,omitempty"`
RemainAtAllCountForUin *uint32 `protobuf:"varint,2,opt,name=remainAtAllCountForUin" json:"remainAtAllCountForUin,omitempty"`
RemainAtAllCountForGroup *uint32 `protobuf:"varint,3,opt,name=remainAtAllCountForGroup" json:"remainAtAllCountForGroup,omitempty"`
PromptMsg1 []byte `protobuf:"bytes,4,opt,name=promptMsg1" json:"promptMsg1,omitempty"`
PromptMsg2 []byte `protobuf:"bytes,5,opt,name=promptMsg2" json:"promptMsg2,omitempty"`
}
func (x *D8A7RspBody) Reset() {
*x = D8A7RspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x8a7_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D8A7RspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D8A7RspBody) ProtoMessage() {}
func (x *D8A7RspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x8a7_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 D8A7RspBody.ProtoReflect.Descriptor instead.
func (*D8A7RspBody) Descriptor() ([]byte, []int) {
return file_oidb0x8a7_proto_rawDescGZIP(), []int{1}
}
func (x *D8A7RspBody) GetCanAtAll() bool {
if x != nil && x.CanAtAll != nil {
return *x.CanAtAll
}
return false
}
func (x *D8A7RspBody) GetRemainAtAllCountForUin() uint32 {
if x != nil && x.RemainAtAllCountForUin != nil {
return *x.RemainAtAllCountForUin
}
return 0
}
func (x *D8A7RspBody) GetRemainAtAllCountForGroup() uint32 {
if x != nil && x.RemainAtAllCountForGroup != nil {
return *x.RemainAtAllCountForGroup
}
return 0
}
func (x *D8A7RspBody) GetPromptMsg1() []byte {
if x != nil {
return x.PromptMsg1
}
return nil
}
func (x *D8A7RspBody) GetPromptMsg2() []byte {
if x != nil {
return x.PromptMsg2
}
return nil
}
var File_oidb0x8a7_proto protoreflect.FileDescriptor
var file_oidb0x8a7_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x38, 0x61, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0xcd, 0x01, 0x0a, 0x0b, 0x44, 0x38, 0x41, 0x37, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64,
0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x43, 0x6d, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x06, 0x73, 0x75, 0x62, 0x43, 0x6d, 0x64, 0x12, 0x38, 0x0a, 0x17, 0x6c, 0x69, 0x6d,
0x69, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x46, 0x6f,
0x72, 0x55, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x17, 0x6c, 0x69, 0x6d, 0x69,
0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x46, 0x6f, 0x72,
0x55, 0x69, 0x6e, 0x12, 0x3c, 0x0a, 0x19, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x74, 0x65,
0x72, 0x76, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x46, 0x6f, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70,
0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x19, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x74,
0x65, 0x72, 0x76, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x46, 0x6f, 0x72, 0x47, 0x72, 0x6f, 0x75,
0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03,
0x75, 0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65,
0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64,
0x65, 0x22, 0xdd, 0x01, 0x0a, 0x0b, 0x44, 0x38, 0x41, 0x37, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64,
0x79, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x6e, 0x41, 0x74, 0x41, 0x6c, 0x6c, 0x18, 0x01, 0x20,
0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x61, 0x6e, 0x41, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x36, 0x0a,
0x16, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x46, 0x6f, 0x72, 0x55, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x72,
0x65, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46,
0x6f, 0x72, 0x55, 0x69, 0x6e, 0x12, 0x3a, 0x0a, 0x18, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x41,
0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x47, 0x72, 0x6f, 0x75,
0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x41,
0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x47, 0x72, 0x6f, 0x75,
0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x4d, 0x73, 0x67, 0x31, 0x18,
0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x4d, 0x73, 0x67,
0x31, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x4d, 0x73, 0x67, 0x32, 0x18,
0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x4d, 0x73, 0x67,
0x32, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2f, 0x3b, 0x6f, 0x69, 0x64, 0x62,
}
var (
file_oidb0x8a7_proto_rawDescOnce sync.Once
file_oidb0x8a7_proto_rawDescData = file_oidb0x8a7_proto_rawDesc
)
func file_oidb0x8a7_proto_rawDescGZIP() []byte {
file_oidb0x8a7_proto_rawDescOnce.Do(func() {
file_oidb0x8a7_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0x8a7_proto_rawDescData)
})
return file_oidb0x8a7_proto_rawDescData
}
var file_oidb0x8a7_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_oidb0x8a7_proto_goTypes = []interface{}{
(*D8A7ReqBody)(nil), // 0: D8A7ReqBody
(*D8A7RspBody)(nil), // 1: D8A7RspBody
}
var file_oidb0x8a7_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_oidb0x8a7_proto_init() }
func file_oidb0x8a7_proto_init() {
if File_oidb0x8a7_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0x8a7_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D8A7ReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x8a7_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D8A7RspBody); 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_oidb0x8a7_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0x8a7_proto_goTypes,
DependencyIndexes: file_oidb0x8a7_proto_depIdxs,
MessageInfos: file_oidb0x8a7_proto_msgTypes,
}.Build()
File_oidb0x8a7_proto = out.File
file_oidb0x8a7_proto_rawDesc = nil
file_oidb0x8a7_proto_goTypes = nil
file_oidb0x8a7_proto_depIdxs = nil
}

View File

@ -1,807 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.1
// source: oidb0x8fc.proto
package oidb
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 D8FCReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupCode *int64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"`
ShowFlag *int32 `protobuf:"varint,2,opt,name=showFlag" json:"showFlag,omitempty"`
MemLevelInfo []*D8FCMemberInfo `protobuf:"bytes,3,rep,name=memLevelInfo" json:"memLevelInfo,omitempty"`
LevelName []*D8FCLevelName `protobuf:"bytes,4,rep,name=levelName" json:"levelName,omitempty"`
UpdateTime *int32 `protobuf:"varint,5,opt,name=updateTime" json:"updateTime,omitempty"`
OfficeMode *int32 `protobuf:"varint,6,opt,name=officeMode" json:"officeMode,omitempty"`
GroupOpenAppid *int32 `protobuf:"varint,7,opt,name=groupOpenAppid" json:"groupOpenAppid,omitempty"`
MsgClientInfo *D8FCClientInfo `protobuf:"bytes,8,opt,name=msgClientInfo" json:"msgClientInfo,omitempty"`
AuthKey []byte `protobuf:"bytes,9,opt,name=authKey" json:"authKey,omitempty"`
}
func (x *D8FCReqBody) Reset() {
*x = D8FCReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x8fc_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D8FCReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D8FCReqBody) ProtoMessage() {}
func (x *D8FCReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x8fc_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 D8FCReqBody.ProtoReflect.Descriptor instead.
func (*D8FCReqBody) Descriptor() ([]byte, []int) {
return file_oidb0x8fc_proto_rawDescGZIP(), []int{0}
}
func (x *D8FCReqBody) GetGroupCode() int64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *D8FCReqBody) GetShowFlag() int32 {
if x != nil && x.ShowFlag != nil {
return *x.ShowFlag
}
return 0
}
func (x *D8FCReqBody) GetMemLevelInfo() []*D8FCMemberInfo {
if x != nil {
return x.MemLevelInfo
}
return nil
}
func (x *D8FCReqBody) GetLevelName() []*D8FCLevelName {
if x != nil {
return x.LevelName
}
return nil
}
func (x *D8FCReqBody) GetUpdateTime() int32 {
if x != nil && x.UpdateTime != nil {
return *x.UpdateTime
}
return 0
}
func (x *D8FCReqBody) GetOfficeMode() int32 {
if x != nil && x.OfficeMode != nil {
return *x.OfficeMode
}
return 0
}
func (x *D8FCReqBody) GetGroupOpenAppid() int32 {
if x != nil && x.GroupOpenAppid != nil {
return *x.GroupOpenAppid
}
return 0
}
func (x *D8FCReqBody) GetMsgClientInfo() *D8FCClientInfo {
if x != nil {
return x.MsgClientInfo
}
return nil
}
func (x *D8FCReqBody) GetAuthKey() []byte {
if x != nil {
return x.AuthKey
}
return nil
}
type D8FCMemberInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uin *int64 `protobuf:"varint,1,opt,name=uin" json:"uin,omitempty"`
Point *int32 `protobuf:"varint,2,opt,name=point" json:"point,omitempty"`
ActiveDay *int32 `protobuf:"varint,3,opt,name=activeDay" json:"activeDay,omitempty"`
Level *int32 `protobuf:"varint,4,opt,name=level" json:"level,omitempty"`
SpecialTitle []byte `protobuf:"bytes,5,opt,name=specialTitle" json:"specialTitle,omitempty"`
SpecialTitleExpireTime *int32 `protobuf:"varint,6,opt,name=specialTitleExpireTime" json:"specialTitleExpireTime,omitempty"`
UinName []byte `protobuf:"bytes,7,opt,name=uinName" json:"uinName,omitempty"`
MemberCardName []byte `protobuf:"bytes,8,opt,name=memberCardName" json:"memberCardName,omitempty"`
Phone []byte `protobuf:"bytes,9,opt,name=phone" json:"phone,omitempty"`
Email []byte `protobuf:"bytes,10,opt,name=email" json:"email,omitempty"`
Remark []byte `protobuf:"bytes,11,opt,name=remark" json:"remark,omitempty"`
Gender *int32 `protobuf:"varint,12,opt,name=gender" json:"gender,omitempty"`
Job []byte `protobuf:"bytes,13,opt,name=job" json:"job,omitempty"`
TribeLevel *int32 `protobuf:"varint,14,opt,name=tribeLevel" json:"tribeLevel,omitempty"`
TribePoint *int32 `protobuf:"varint,15,opt,name=tribePoint" json:"tribePoint,omitempty"`
RichCardName []*D8FCCardNameElem `protobuf:"bytes,16,rep,name=richCardName" json:"richCardName,omitempty"`
CommRichCardName []byte `protobuf:"bytes,17,opt,name=commRichCardName" json:"commRichCardName,omitempty"`
}
func (x *D8FCMemberInfo) Reset() {
*x = D8FCMemberInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x8fc_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D8FCMemberInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D8FCMemberInfo) ProtoMessage() {}
func (x *D8FCMemberInfo) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x8fc_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 D8FCMemberInfo.ProtoReflect.Descriptor instead.
func (*D8FCMemberInfo) Descriptor() ([]byte, []int) {
return file_oidb0x8fc_proto_rawDescGZIP(), []int{1}
}
func (x *D8FCMemberInfo) GetUin() int64 {
if x != nil && x.Uin != nil {
return *x.Uin
}
return 0
}
func (x *D8FCMemberInfo) GetPoint() int32 {
if x != nil && x.Point != nil {
return *x.Point
}
return 0
}
func (x *D8FCMemberInfo) GetActiveDay() int32 {
if x != nil && x.ActiveDay != nil {
return *x.ActiveDay
}
return 0
}
func (x *D8FCMemberInfo) GetLevel() int32 {
if x != nil && x.Level != nil {
return *x.Level
}
return 0
}
func (x *D8FCMemberInfo) GetSpecialTitle() []byte {
if x != nil {
return x.SpecialTitle
}
return nil
}
func (x *D8FCMemberInfo) GetSpecialTitleExpireTime() int32 {
if x != nil && x.SpecialTitleExpireTime != nil {
return *x.SpecialTitleExpireTime
}
return 0
}
func (x *D8FCMemberInfo) GetUinName() []byte {
if x != nil {
return x.UinName
}
return nil
}
func (x *D8FCMemberInfo) GetMemberCardName() []byte {
if x != nil {
return x.MemberCardName
}
return nil
}
func (x *D8FCMemberInfo) GetPhone() []byte {
if x != nil {
return x.Phone
}
return nil
}
func (x *D8FCMemberInfo) GetEmail() []byte {
if x != nil {
return x.Email
}
return nil
}
func (x *D8FCMemberInfo) GetRemark() []byte {
if x != nil {
return x.Remark
}
return nil
}
func (x *D8FCMemberInfo) GetGender() int32 {
if x != nil && x.Gender != nil {
return *x.Gender
}
return 0
}
func (x *D8FCMemberInfo) GetJob() []byte {
if x != nil {
return x.Job
}
return nil
}
func (x *D8FCMemberInfo) GetTribeLevel() int32 {
if x != nil && x.TribeLevel != nil {
return *x.TribeLevel
}
return 0
}
func (x *D8FCMemberInfo) GetTribePoint() int32 {
if x != nil && x.TribePoint != nil {
return *x.TribePoint
}
return 0
}
func (x *D8FCMemberInfo) GetRichCardName() []*D8FCCardNameElem {
if x != nil {
return x.RichCardName
}
return nil
}
func (x *D8FCMemberInfo) GetCommRichCardName() []byte {
if x != nil {
return x.CommRichCardName
}
return nil
}
type D8FCCardNameElem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
EnumCardType *int32 `protobuf:"varint,1,opt,name=enumCardType" json:"enumCardType,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}
func (x *D8FCCardNameElem) Reset() {
*x = D8FCCardNameElem{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x8fc_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D8FCCardNameElem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D8FCCardNameElem) ProtoMessage() {}
func (x *D8FCCardNameElem) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x8fc_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 D8FCCardNameElem.ProtoReflect.Descriptor instead.
func (*D8FCCardNameElem) Descriptor() ([]byte, []int) {
return file_oidb0x8fc_proto_rawDescGZIP(), []int{2}
}
func (x *D8FCCardNameElem) GetEnumCardType() int32 {
if x != nil && x.EnumCardType != nil {
return *x.EnumCardType
}
return 0
}
func (x *D8FCCardNameElem) GetValue() []byte {
if x != nil {
return x.Value
}
return nil
}
type D8FCLevelName struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Level *int32 `protobuf:"varint,1,opt,name=level" json:"level,omitempty"`
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}
func (x *D8FCLevelName) Reset() {
*x = D8FCLevelName{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x8fc_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D8FCLevelName) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D8FCLevelName) ProtoMessage() {}
func (x *D8FCLevelName) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x8fc_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 D8FCLevelName.ProtoReflect.Descriptor instead.
func (*D8FCLevelName) Descriptor() ([]byte, []int) {
return file_oidb0x8fc_proto_rawDescGZIP(), []int{3}
}
func (x *D8FCLevelName) GetLevel() int32 {
if x != nil && x.Level != nil {
return *x.Level
}
return 0
}
func (x *D8FCLevelName) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
type D8FCClientInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Implat *int32 `protobuf:"varint,1,opt,name=implat" json:"implat,omitempty"`
IngClientver *string `protobuf:"bytes,2,opt,name=ingClientver" json:"ingClientver,omitempty"`
}
func (x *D8FCClientInfo) Reset() {
*x = D8FCClientInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x8fc_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D8FCClientInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D8FCClientInfo) ProtoMessage() {}
func (x *D8FCClientInfo) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x8fc_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 D8FCClientInfo.ProtoReflect.Descriptor instead.
func (*D8FCClientInfo) Descriptor() ([]byte, []int) {
return file_oidb0x8fc_proto_rawDescGZIP(), []int{4}
}
func (x *D8FCClientInfo) GetImplat() int32 {
if x != nil && x.Implat != nil {
return *x.Implat
}
return 0
}
func (x *D8FCClientInfo) GetIngClientver() string {
if x != nil && x.IngClientver != nil {
return *x.IngClientver
}
return ""
}
type D8FCCommCardNameBuf struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RichCardName []*D8FCRichCardNameElem `protobuf:"bytes,1,rep,name=richCardName" json:"richCardName,omitempty"`
}
func (x *D8FCCommCardNameBuf) Reset() {
*x = D8FCCommCardNameBuf{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x8fc_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D8FCCommCardNameBuf) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D8FCCommCardNameBuf) ProtoMessage() {}
func (x *D8FCCommCardNameBuf) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x8fc_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 D8FCCommCardNameBuf.ProtoReflect.Descriptor instead.
func (*D8FCCommCardNameBuf) Descriptor() ([]byte, []int) {
return file_oidb0x8fc_proto_rawDescGZIP(), []int{5}
}
func (x *D8FCCommCardNameBuf) GetRichCardName() []*D8FCRichCardNameElem {
if x != nil {
return x.RichCardName
}
return nil
}
type D8FCRichCardNameElem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Ctrl []byte `protobuf:"bytes,1,opt,name=ctrl" json:"ctrl,omitempty"`
Text []byte `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
}
func (x *D8FCRichCardNameElem) Reset() {
*x = D8FCRichCardNameElem{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x8fc_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D8FCRichCardNameElem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D8FCRichCardNameElem) ProtoMessage() {}
func (x *D8FCRichCardNameElem) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x8fc_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 D8FCRichCardNameElem.ProtoReflect.Descriptor instead.
func (*D8FCRichCardNameElem) Descriptor() ([]byte, []int) {
return file_oidb0x8fc_proto_rawDescGZIP(), []int{6}
}
func (x *D8FCRichCardNameElem) GetCtrl() []byte {
if x != nil {
return x.Ctrl
}
return nil
}
func (x *D8FCRichCardNameElem) GetText() []byte {
if x != nil {
return x.Text
}
return nil
}
var File_oidb0x8fc_proto protoreflect.FileDescriptor
var file_oidb0x8fc_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x38, 0x66, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0xe3, 0x02, 0x0a, 0x0b, 0x44, 0x38, 0x46, 0x43, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64,
0x79, 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,
0x1a, 0x0a, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
0x05, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x33, 0x0a, 0x0c, 0x6d,
0x65, 0x6d, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x0f, 0x2e, 0x44, 0x38, 0x46, 0x43, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x6e,
0x66, 0x6f, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f,
0x12, 0x2c, 0x0a, 0x09, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x38, 0x46, 0x43, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4e,
0x61, 0x6d, 0x65, 0x52, 0x09, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e,
0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
0x28, 0x05, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e,
0x0a, 0x0a, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01,
0x28, 0x05, 0x52, 0x0a, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x26,
0x0a, 0x0e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x70, 0x70, 0x69, 0x64,
0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4f, 0x70, 0x65,
0x6e, 0x41, 0x70, 0x70, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x0d, 0x6d, 0x73, 0x67, 0x43, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e,
0x44, 0x38, 0x46, 0x43, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d,
0x6d, 0x73, 0x67, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a,
0x07, 0x61, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07,
0x61, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x22, 0x9b, 0x04, 0x0a, 0x0e, 0x44, 0x38, 0x46, 0x43,
0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69,
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x75, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05,
0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x6f, 0x69,
0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x44, 0x61, 0x79, 0x18,
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x44, 0x61, 0x79,
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61,
0x6c, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x70,
0x65, 0x63, 0x69, 0x61, 0x6c, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x73, 0x70,
0x65, 0x63, 0x69, 0x61, 0x6c, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65,
0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x16, 0x73, 0x70, 0x65, 0x63,
0x69, 0x61, 0x6c, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69,
0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20,
0x01, 0x28, 0x0c, 0x52, 0x07, 0x75, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e,
0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08,
0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x61, 0x72, 0x64,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x09, 0x20,
0x01, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d,
0x61, 0x69, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c,
0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c,
0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64,
0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72,
0x12, 0x10, 0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6a,
0x6f, 0x62, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x72, 0x69, 0x62, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c,
0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x72, 0x69, 0x62, 0x65, 0x4c, 0x65, 0x76,
0x65, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x72, 0x69, 0x62, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74,
0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x72, 0x69, 0x62, 0x65, 0x50, 0x6f, 0x69,
0x6e, 0x74, 0x12, 0x35, 0x0a, 0x0c, 0x72, 0x69, 0x63, 0x68, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x61,
0x6d, 0x65, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x38, 0x46, 0x43, 0x43,
0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x52, 0x0c, 0x72, 0x69, 0x63,
0x68, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6d,
0x6d, 0x52, 0x69, 0x63, 0x68, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x11, 0x20,
0x01, 0x28, 0x0c, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x52, 0x69, 0x63, 0x68, 0x43, 0x61, 0x72,
0x64, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4c, 0x0a, 0x10, 0x44, 0x38, 0x46, 0x43, 0x43, 0x61, 0x72,
0x64, 0x4e, 0x61, 0x6d, 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x6e, 0x75,
0x6d, 0x43, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x0c, 0x65, 0x6e, 0x75, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x22, 0x39, 0x0a, 0x0d, 0x44, 0x38, 0x46, 0x43, 0x4c, 0x65, 0x76, 0x65, 0x6c,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4c,
0x0a, 0x0e, 0x44, 0x38, 0x46, 0x43, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f,
0x12, 0x16, 0x0a, 0x06, 0x69, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x52, 0x06, 0x69, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x67, 0x43,
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
0x69, 0x6e, 0x67, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x76, 0x65, 0x72, 0x22, 0x50, 0x0a, 0x13,
0x44, 0x38, 0x46, 0x43, 0x43, 0x6f, 0x6d, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65,
0x42, 0x75, 0x66, 0x12, 0x39, 0x0a, 0x0c, 0x72, 0x69, 0x63, 0x68, 0x43, 0x61, 0x72, 0x64, 0x4e,
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x44, 0x38, 0x46, 0x43,
0x52, 0x69, 0x63, 0x68, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x45, 0x6c, 0x65, 0x6d,
0x52, 0x0c, 0x72, 0x69, 0x63, 0x68, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3e,
0x0a, 0x14, 0x44, 0x38, 0x46, 0x43, 0x52, 0x69, 0x63, 0x68, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x61,
0x6d, 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x74, 0x72, 0x6c, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x74, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65,
0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x42, 0x09,
0x5a, 0x07, 0x2e, 0x2f, 0x3b, 0x6f, 0x69, 0x64, 0x62,
}
var (
file_oidb0x8fc_proto_rawDescOnce sync.Once
file_oidb0x8fc_proto_rawDescData = file_oidb0x8fc_proto_rawDesc
)
func file_oidb0x8fc_proto_rawDescGZIP() []byte {
file_oidb0x8fc_proto_rawDescOnce.Do(func() {
file_oidb0x8fc_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0x8fc_proto_rawDescData)
})
return file_oidb0x8fc_proto_rawDescData
}
var file_oidb0x8fc_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_oidb0x8fc_proto_goTypes = []interface{}{
(*D8FCReqBody)(nil), // 0: D8FCReqBody
(*D8FCMemberInfo)(nil), // 1: D8FCMemberInfo
(*D8FCCardNameElem)(nil), // 2: D8FCCardNameElem
(*D8FCLevelName)(nil), // 3: D8FCLevelName
(*D8FCClientInfo)(nil), // 4: D8FCClientInfo
(*D8FCCommCardNameBuf)(nil), // 5: D8FCCommCardNameBuf
(*D8FCRichCardNameElem)(nil), // 6: D8FCRichCardNameElem
}
var file_oidb0x8fc_proto_depIdxs = []int32{
1, // 0: D8FCReqBody.memLevelInfo:type_name -> D8FCMemberInfo
3, // 1: D8FCReqBody.levelName:type_name -> D8FCLevelName
4, // 2: D8FCReqBody.msgClientInfo:type_name -> D8FCClientInfo
2, // 3: D8FCMemberInfo.richCardName:type_name -> D8FCCardNameElem
6, // 4: D8FCCommCardNameBuf.richCardName:type_name -> D8FCRichCardNameElem
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_oidb0x8fc_proto_init() }
func file_oidb0x8fc_proto_init() {
if File_oidb0x8fc_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0x8fc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D8FCReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x8fc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D8FCMemberInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x8fc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D8FCCardNameElem); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x8fc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D8FCLevelName); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x8fc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D8FCClientInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x8fc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D8FCCommCardNameBuf); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x8fc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D8FCRichCardNameElem); 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_oidb0x8fc_proto_rawDesc,
NumEnums: 0,
NumMessages: 7,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0x8fc_proto_goTypes,
DependencyIndexes: file_oidb0x8fc_proto_depIdxs,
MessageInfos: file_oidb0x8fc_proto_msgTypes,
}.Build()
File_oidb0x8fc_proto = out.File
file_oidb0x8fc_proto_rawDesc = nil
file_oidb0x8fc_proto_goTypes = nil
file_oidb0x8fc_proto_depIdxs = nil
}

View File

@ -1,59 +0,0 @@
syntax = "proto2";
option go_package = "./;oidb";
message D8FCReqBody {
optional int64 groupCode = 1;
optional int32 showFlag = 2;
repeated D8FCMemberInfo memLevelInfo = 3;
repeated D8FCLevelName levelName = 4;
optional int32 updateTime = 5;
optional int32 officeMode = 6;
optional int32 groupOpenAppid = 7;
optional D8FCClientInfo msgClientInfo = 8;
optional bytes authKey = 9;
}
message D8FCMemberInfo {
optional int64 uin = 1;
optional int32 point = 2;
optional int32 activeDay = 3;
optional int32 level = 4;
optional bytes specialTitle = 5;
optional int32 specialTitleExpireTime = 6;
optional bytes uinName = 7;
optional bytes memberCardName = 8;
optional bytes phone = 9;
optional bytes email = 10;
optional bytes remark = 11;
optional int32 gender = 12;
optional bytes job = 13;
optional int32 tribeLevel = 14;
optional int32 tribePoint = 15;
repeated D8FCCardNameElem richCardName = 16;
optional bytes commRichCardName = 17;
}
message D8FCCardNameElem {
optional int32 enumCardType = 1;
optional bytes value = 2;
}
message D8FCLevelName {
optional int32 level = 1;
optional string name = 2;
}
message D8FCClientInfo {
optional int32 implat = 1;
optional string ingClientver = 2;
}
message D8FCCommCardNameBuf {
repeated D8FCRichCardNameElem richCardName = 1;
}
message D8FCRichCardNameElem {
optional bytes ctrl = 1;
optional bytes text = 2;
}

View File

@ -1,413 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.1
// source: oidb0x990.proto
package oidb
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 TranslateReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// TranslateReq translate_req = 1;
BatchTranslateReq *BatchTranslateReq `protobuf:"bytes,2,opt,name=batch_translate_req,json=batchTranslateReq,proto3" json:"batch_translate_req,omitempty"`
}
func (x *TranslateReqBody) Reset() {
*x = TranslateReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x990_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TranslateReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TranslateReqBody) ProtoMessage() {}
func (x *TranslateReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x990_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 TranslateReqBody.ProtoReflect.Descriptor instead.
func (*TranslateReqBody) Descriptor() ([]byte, []int) {
return file_oidb0x990_proto_rawDescGZIP(), []int{0}
}
func (x *TranslateReqBody) GetBatchTranslateReq() *BatchTranslateReq {
if x != nil {
return x.BatchTranslateReq
}
return nil
}
type TranslateRspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// TranslateRsp translate_rsp = 1;
BatchTranslateRsp *BatchTranslateRsp `protobuf:"bytes,2,opt,name=batch_translate_rsp,json=batchTranslateRsp,proto3" json:"batch_translate_rsp,omitempty"`
}
func (x *TranslateRspBody) Reset() {
*x = TranslateRspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x990_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TranslateRspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TranslateRspBody) ProtoMessage() {}
func (x *TranslateRspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x990_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 TranslateRspBody.ProtoReflect.Descriptor instead.
func (*TranslateRspBody) Descriptor() ([]byte, []int) {
return file_oidb0x990_proto_rawDescGZIP(), []int{1}
}
func (x *TranslateRspBody) GetBatchTranslateRsp() *BatchTranslateRsp {
if x != nil {
return x.BatchTranslateRsp
}
return nil
}
type BatchTranslateReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SrcLanguage string `protobuf:"bytes,1,opt,name=src_language,json=srcLanguage,proto3" json:"src_language,omitempty"`
DstLanguage string `protobuf:"bytes,2,opt,name=dst_language,json=dstLanguage,proto3" json:"dst_language,omitempty"`
SrcTextList []string `protobuf:"bytes,3,rep,name=src_text_list,json=srcTextList,proto3" json:"src_text_list,omitempty"`
}
func (x *BatchTranslateReq) Reset() {
*x = BatchTranslateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x990_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BatchTranslateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BatchTranslateReq) ProtoMessage() {}
func (x *BatchTranslateReq) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x990_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 BatchTranslateReq.ProtoReflect.Descriptor instead.
func (*BatchTranslateReq) Descriptor() ([]byte, []int) {
return file_oidb0x990_proto_rawDescGZIP(), []int{2}
}
func (x *BatchTranslateReq) GetSrcLanguage() string {
if x != nil {
return x.SrcLanguage
}
return ""
}
func (x *BatchTranslateReq) GetDstLanguage() string {
if x != nil {
return x.DstLanguage
}
return ""
}
func (x *BatchTranslateReq) GetSrcTextList() []string {
if x != nil {
return x.SrcTextList
}
return nil
}
type BatchTranslateRsp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
ErrorMsg []byte `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
SrcLanguage string `protobuf:"bytes,3,opt,name=src_language,json=srcLanguage,proto3" json:"src_language,omitempty"`
DstLanguage string `protobuf:"bytes,4,opt,name=dst_language,json=dstLanguage,proto3" json:"dst_language,omitempty"`
SrcTextList []string `protobuf:"bytes,5,rep,name=src_text_list,json=srcTextList,proto3" json:"src_text_list,omitempty"`
DstTextList []string `protobuf:"bytes,6,rep,name=dst_text_list,json=dstTextList,proto3" json:"dst_text_list,omitempty"`
}
func (x *BatchTranslateRsp) Reset() {
*x = BatchTranslateRsp{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0x990_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BatchTranslateRsp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BatchTranslateRsp) ProtoMessage() {}
func (x *BatchTranslateRsp) ProtoReflect() protoreflect.Message {
mi := &file_oidb0x990_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 BatchTranslateRsp.ProtoReflect.Descriptor instead.
func (*BatchTranslateRsp) Descriptor() ([]byte, []int) {
return file_oidb0x990_proto_rawDescGZIP(), []int{3}
}
func (x *BatchTranslateRsp) GetErrorCode() int32 {
if x != nil {
return x.ErrorCode
}
return 0
}
func (x *BatchTranslateRsp) GetErrorMsg() []byte {
if x != nil {
return x.ErrorMsg
}
return nil
}
func (x *BatchTranslateRsp) GetSrcLanguage() string {
if x != nil {
return x.SrcLanguage
}
return ""
}
func (x *BatchTranslateRsp) GetDstLanguage() string {
if x != nil {
return x.DstLanguage
}
return ""
}
func (x *BatchTranslateRsp) GetSrcTextList() []string {
if x != nil {
return x.SrcTextList
}
return nil
}
func (x *BatchTranslateRsp) GetDstTextList() []string {
if x != nil {
return x.DstTextList
}
return nil
}
var File_oidb0x990_proto protoreflect.FileDescriptor
var file_oidb0x990_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x39, 0x39, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0x56, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65,
0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x42, 0x0a, 0x13, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74,
0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c,
0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x52, 0x11, 0x62, 0x61, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61,
0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x22, 0x56, 0x0a, 0x10, 0x54, 0x72, 0x61,
0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x42, 0x0a,
0x13, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65,
0x5f, 0x72, 0x73, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x61, 0x74,
0x63, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x52, 0x11,
0x62, 0x61, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x73,
0x70, 0x22, 0x7d, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c,
0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x72, 0x63, 0x5f, 0x6c, 0x61,
0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x72,
0x63, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x73, 0x74,
0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0b, 0x64, 0x73, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0d,
0x73, 0x72, 0x63, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20,
0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x72, 0x63, 0x54, 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74,
0x22, 0xdd, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c,
0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f,
0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f,
0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d,
0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d,
0x73, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x72, 0x63, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x72, 0x63, 0x4c, 0x61, 0x6e,
0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x73, 0x74, 0x5f, 0x6c, 0x61, 0x6e,
0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x73, 0x74,
0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x72, 0x63, 0x5f,
0x74, 0x65, 0x78, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52,
0x0b, 0x73, 0x72, 0x63, 0x54, 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d,
0x64, 0x73, 0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20,
0x03, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x73, 0x74, 0x54, 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74,
0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2f, 0x3b, 0x6f, 0x69, 0x64, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_oidb0x990_proto_rawDescOnce sync.Once
file_oidb0x990_proto_rawDescData = file_oidb0x990_proto_rawDesc
)
func file_oidb0x990_proto_rawDescGZIP() []byte {
file_oidb0x990_proto_rawDescOnce.Do(func() {
file_oidb0x990_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0x990_proto_rawDescData)
})
return file_oidb0x990_proto_rawDescData
}
var file_oidb0x990_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_oidb0x990_proto_goTypes = []interface{}{
(*TranslateReqBody)(nil), // 0: TranslateReqBody
(*TranslateRspBody)(nil), // 1: TranslateRspBody
(*BatchTranslateReq)(nil), // 2: BatchTranslateReq
(*BatchTranslateRsp)(nil), // 3: BatchTranslateRsp
}
var file_oidb0x990_proto_depIdxs = []int32{
2, // 0: TranslateReqBody.batch_translate_req:type_name -> BatchTranslateReq
3, // 1: TranslateRspBody.batch_translate_rsp:type_name -> BatchTranslateRsp
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_oidb0x990_proto_init() }
func file_oidb0x990_proto_init() {
if File_oidb0x990_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0x990_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TranslateReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x990_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TranslateRspBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x990_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchTranslateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0x990_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchTranslateRsp); 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_oidb0x990_proto_rawDesc,
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0x990_proto_goTypes,
DependencyIndexes: file_oidb0x990_proto_depIdxs,
MessageInfos: file_oidb0x990_proto_msgTypes,
}.Build()
File_oidb0x990_proto = out.File
file_oidb0x990_proto_rawDesc = nil
file_oidb0x990_proto_goTypes = nil
file_oidb0x990_proto_depIdxs = nil
}

View File

@ -1,28 +0,0 @@
syntax = "proto3";
option go_package = "./;oidb";
message TranslateReqBody {
// TranslateReq translate_req = 1;
BatchTranslateReq batch_translate_req = 2;
}
message TranslateRspBody {
// TranslateRsp translate_rsp = 1;
BatchTranslateRsp batch_translate_rsp = 2;
}
message BatchTranslateReq {
string src_language = 1;
string dst_language = 2;
repeated string src_text_list = 3;
}
message BatchTranslateRsp {
int32 error_code = 1;
bytes error_msg = 2;
string src_language = 3;
string dst_language = 4;
repeated string src_text_list = 5;
repeated string dst_text_list = 6;
}

View File

@ -1,25 +0,0 @@
syntax = "proto3";
option go_package = "./;oidb";
message D79ReqBody {
uint64 seq = 1;
uint64 uin = 2;
uint32 compress_flag = 3;
bytes content = 4;
uint64 sender_uin = 5;
bytes qua = 6;
bytes word_ext = 7;
}
message D79RspBody {
uint32 ret = 1;
uint64 seq = 2;
uint64 uin = 3;
uint32 compress_flag = 4;
D79Content content = 5;
}
message D79Content {
repeated bytes slice_content = 1;
}

View File

@ -1,575 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.1
// source: oidb0xb77.proto
package oidb
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 DB77ReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AppId uint64 `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
AppType uint32 `protobuf:"varint,2,opt,name=appType,proto3" json:"appType,omitempty"`
MsgStyle uint32 `protobuf:"varint,3,opt,name=msgStyle,proto3" json:"msgStyle,omitempty"`
SenderUin uint64 `protobuf:"varint,4,opt,name=senderUin,proto3" json:"senderUin,omitempty"`
ClientInfo *DB77ClientInfo `protobuf:"bytes,5,opt,name=clientInfo,proto3" json:"clientInfo,omitempty"`
TextMsg string `protobuf:"bytes,6,opt,name=textMsg,proto3" json:"textMsg,omitempty"`
ExtInfo *DB77ExtInfo `protobuf:"bytes,7,opt,name=extInfo,proto3" json:"extInfo,omitempty"`
SendType uint32 `protobuf:"varint,10,opt,name=sendType,proto3" json:"sendType,omitempty"`
RecvUin uint64 `protobuf:"varint,11,opt,name=recvUin,proto3" json:"recvUin,omitempty"`
RichMsgBody *DB77RichMsgBody `protobuf:"bytes,12,opt,name=richMsgBody,proto3" json:"richMsgBody,omitempty"`
}
func (x *DB77ReqBody) Reset() {
*x = DB77ReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xb77_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DB77ReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DB77ReqBody) ProtoMessage() {}
func (x *DB77ReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xb77_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 DB77ReqBody.ProtoReflect.Descriptor instead.
func (*DB77ReqBody) Descriptor() ([]byte, []int) {
return file_oidb0xb77_proto_rawDescGZIP(), []int{0}
}
func (x *DB77ReqBody) GetAppId() uint64 {
if x != nil {
return x.AppId
}
return 0
}
func (x *DB77ReqBody) GetAppType() uint32 {
if x != nil {
return x.AppType
}
return 0
}
func (x *DB77ReqBody) GetMsgStyle() uint32 {
if x != nil {
return x.MsgStyle
}
return 0
}
func (x *DB77ReqBody) GetSenderUin() uint64 {
if x != nil {
return x.SenderUin
}
return 0
}
func (x *DB77ReqBody) GetClientInfo() *DB77ClientInfo {
if x != nil {
return x.ClientInfo
}
return nil
}
func (x *DB77ReqBody) GetTextMsg() string {
if x != nil {
return x.TextMsg
}
return ""
}
func (x *DB77ReqBody) GetExtInfo() *DB77ExtInfo {
if x != nil {
return x.ExtInfo
}
return nil
}
func (x *DB77ReqBody) GetSendType() uint32 {
if x != nil {
return x.SendType
}
return 0
}
func (x *DB77ReqBody) GetRecvUin() uint64 {
if x != nil {
return x.RecvUin
}
return 0
}
func (x *DB77ReqBody) GetRichMsgBody() *DB77RichMsgBody {
if x != nil {
return x.RichMsgBody
}
return nil
}
type DB77ClientInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Platform uint32 `protobuf:"varint,1,opt,name=platform,proto3" json:"platform,omitempty"`
SdkVersion string `protobuf:"bytes,2,opt,name=sdkVersion,proto3" json:"sdkVersion,omitempty"`
AndroidPackageName string `protobuf:"bytes,3,opt,name=androidPackageName,proto3" json:"androidPackageName,omitempty"`
AndroidSignature string `protobuf:"bytes,4,opt,name=androidSignature,proto3" json:"androidSignature,omitempty"`
IosBundleId string `protobuf:"bytes,5,opt,name=iosBundleId,proto3" json:"iosBundleId,omitempty"`
PcSign string `protobuf:"bytes,6,opt,name=pcSign,proto3" json:"pcSign,omitempty"`
}
func (x *DB77ClientInfo) Reset() {
*x = DB77ClientInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xb77_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DB77ClientInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DB77ClientInfo) ProtoMessage() {}
func (x *DB77ClientInfo) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xb77_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 DB77ClientInfo.ProtoReflect.Descriptor instead.
func (*DB77ClientInfo) Descriptor() ([]byte, []int) {
return file_oidb0xb77_proto_rawDescGZIP(), []int{1}
}
func (x *DB77ClientInfo) GetPlatform() uint32 {
if x != nil {
return x.Platform
}
return 0
}
func (x *DB77ClientInfo) GetSdkVersion() string {
if x != nil {
return x.SdkVersion
}
return ""
}
func (x *DB77ClientInfo) GetAndroidPackageName() string {
if x != nil {
return x.AndroidPackageName
}
return ""
}
func (x *DB77ClientInfo) GetAndroidSignature() string {
if x != nil {
return x.AndroidSignature
}
return ""
}
func (x *DB77ClientInfo) GetIosBundleId() string {
if x != nil {
return x.IosBundleId
}
return ""
}
func (x *DB77ClientInfo) GetPcSign() string {
if x != nil {
return x.PcSign
}
return ""
}
type DB77ExtInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CustomFeatureId []uint32 `protobuf:"varint,11,rep,packed,name=customFeatureId,proto3" json:"customFeatureId,omitempty"`
ApnsWording string `protobuf:"bytes,12,opt,name=apnsWording,proto3" json:"apnsWording,omitempty"`
GroupSaveDbFlag uint32 `protobuf:"varint,13,opt,name=groupSaveDbFlag,proto3" json:"groupSaveDbFlag,omitempty"`
ReceiverAppId uint32 `protobuf:"varint,14,opt,name=receiverAppId,proto3" json:"receiverAppId,omitempty"`
MsgSeq uint64 `protobuf:"varint,15,opt,name=msgSeq,proto3" json:"msgSeq,omitempty"`
}
func (x *DB77ExtInfo) Reset() {
*x = DB77ExtInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xb77_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DB77ExtInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DB77ExtInfo) ProtoMessage() {}
func (x *DB77ExtInfo) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xb77_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 DB77ExtInfo.ProtoReflect.Descriptor instead.
func (*DB77ExtInfo) Descriptor() ([]byte, []int) {
return file_oidb0xb77_proto_rawDescGZIP(), []int{2}
}
func (x *DB77ExtInfo) GetCustomFeatureId() []uint32 {
if x != nil {
return x.CustomFeatureId
}
return nil
}
func (x *DB77ExtInfo) GetApnsWording() string {
if x != nil {
return x.ApnsWording
}
return ""
}
func (x *DB77ExtInfo) GetGroupSaveDbFlag() uint32 {
if x != nil {
return x.GroupSaveDbFlag
}
return 0
}
func (x *DB77ExtInfo) GetReceiverAppId() uint32 {
if x != nil {
return x.ReceiverAppId
}
return 0
}
func (x *DB77ExtInfo) GetMsgSeq() uint64 {
if x != nil {
return x.MsgSeq
}
return 0
}
type DB77RichMsgBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Title string `protobuf:"bytes,10,opt,name=title,proto3" json:"title,omitempty"`
Summary string `protobuf:"bytes,11,opt,name=summary,proto3" json:"summary,omitempty"`
Brief string `protobuf:"bytes,12,opt,name=brief,proto3" json:"brief,omitempty"`
Url string `protobuf:"bytes,13,opt,name=url,proto3" json:"url,omitempty"`
PictureUrl string `protobuf:"bytes,14,opt,name=pictureUrl,proto3" json:"pictureUrl,omitempty"`
Action string `protobuf:"bytes,15,opt,name=action,proto3" json:"action,omitempty"`
MusicUrl string `protobuf:"bytes,16,opt,name=musicUrl,proto3" json:"musicUrl,omitempty"` //ImageInfo imageInfo = 17;
}
func (x *DB77RichMsgBody) Reset() {
*x = DB77RichMsgBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xb77_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DB77RichMsgBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DB77RichMsgBody) ProtoMessage() {}
func (x *DB77RichMsgBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xb77_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 DB77RichMsgBody.ProtoReflect.Descriptor instead.
func (*DB77RichMsgBody) Descriptor() ([]byte, []int) {
return file_oidb0xb77_proto_rawDescGZIP(), []int{3}
}
func (x *DB77RichMsgBody) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *DB77RichMsgBody) GetSummary() string {
if x != nil {
return x.Summary
}
return ""
}
func (x *DB77RichMsgBody) GetBrief() string {
if x != nil {
return x.Brief
}
return ""
}
func (x *DB77RichMsgBody) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *DB77RichMsgBody) GetPictureUrl() string {
if x != nil {
return x.PictureUrl
}
return ""
}
func (x *DB77RichMsgBody) GetAction() string {
if x != nil {
return x.Action
}
return ""
}
func (x *DB77RichMsgBody) GetMusicUrl() string {
if x != nil {
return x.MusicUrl
}
return ""
}
var File_oidb0xb77_proto protoreflect.FileDescriptor
var file_oidb0xb77_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x62, 0x37, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0xd4, 0x02, 0x0a, 0x0b, 0x44, 0x42, 0x37, 0x37, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64,
0x79, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x54, 0x79,
0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x61, 0x70, 0x70, 0x54, 0x79, 0x70,
0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x73, 0x67, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x73, 0x67, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x1c, 0x0a,
0x09, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x55, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04,
0x52, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x55, 0x69, 0x6e, 0x12, 0x2f, 0x0a, 0x0a, 0x63,
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x0f, 0x2e, 0x44, 0x42, 0x37, 0x37, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f,
0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07,
0x74, 0x65, 0x78, 0x74, 0x4d, 0x73, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74,
0x65, 0x78, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x26, 0x0a, 0x07, 0x65, 0x78, 0x74, 0x49, 0x6e, 0x66,
0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x37, 0x37, 0x45, 0x78,
0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x65, 0x78, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a,
0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d,
0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65,
0x63, 0x76, 0x55, 0x69, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x72, 0x65, 0x63,
0x76, 0x55, 0x69, 0x6e, 0x12, 0x32, 0x0a, 0x0b, 0x72, 0x69, 0x63, 0x68, 0x4d, 0x73, 0x67, 0x42,
0x6f, 0x64, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44, 0x42, 0x37, 0x37,
0x52, 0x69, 0x63, 0x68, 0x4d, 0x73, 0x67, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0b, 0x72, 0x69, 0x63,
0x68, 0x4d, 0x73, 0x67, 0x42, 0x6f, 0x64, 0x79, 0x22, 0xe2, 0x01, 0x0a, 0x0e, 0x44, 0x42, 0x37,
0x37, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70,
0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70,
0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x64, 0x6b, 0x56, 0x65,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x64, 0x6b,
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x12, 0x61, 0x6e, 0x64, 0x72, 0x6f,
0x69, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x12, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x50, 0x61, 0x63, 0x6b,
0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x61, 0x6e, 0x64, 0x72, 0x6f,
0x69, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x52, 0x10, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74,
0x75, 0x72, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6f, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65,
0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6f, 0x73, 0x42, 0x75, 0x6e,
0x64, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x63, 0x53, 0x69, 0x67, 0x6e, 0x18,
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x63, 0x53, 0x69, 0x67, 0x6e, 0x22, 0xc1, 0x01,
0x0a, 0x0b, 0x44, 0x42, 0x37, 0x37, 0x45, 0x78, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a,
0x0f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64,
0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x65,
0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x70, 0x6e, 0x73, 0x57,
0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x70,
0x6e, 0x73, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x28, 0x0a, 0x0f, 0x67, 0x72, 0x6f,
0x75, 0x70, 0x53, 0x61, 0x76, 0x65, 0x44, 0x62, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x0d, 0x20, 0x01,
0x28, 0x0d, 0x52, 0x0f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x61, 0x76, 0x65, 0x44, 0x62, 0x46,
0x6c, 0x61, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x41,
0x70, 0x70, 0x49, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65,
0x69, 0x76, 0x65, 0x72, 0x41, 0x70, 0x70, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x73, 0x67,
0x53, 0x65, 0x71, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x73, 0x67, 0x53, 0x65,
0x71, 0x22, 0xbd, 0x01, 0x0a, 0x0f, 0x44, 0x42, 0x37, 0x37, 0x52, 0x69, 0x63, 0x68, 0x4d, 0x73,
0x67, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x0a,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73,
0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75,
0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x18, 0x0c,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x12, 0x10, 0x0a, 0x03, 0x75,
0x72, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1e, 0x0a,
0x0a, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0a, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a,
0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61,
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x55, 0x72,
0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x55, 0x72,
0x6c, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2f, 0x3b, 0x6f, 0x69, 0x64, 0x62, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (
file_oidb0xb77_proto_rawDescOnce sync.Once
file_oidb0xb77_proto_rawDescData = file_oidb0xb77_proto_rawDesc
)
func file_oidb0xb77_proto_rawDescGZIP() []byte {
file_oidb0xb77_proto_rawDescOnce.Do(func() {
file_oidb0xb77_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0xb77_proto_rawDescData)
})
return file_oidb0xb77_proto_rawDescData
}
var file_oidb0xb77_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_oidb0xb77_proto_goTypes = []interface{}{
(*DB77ReqBody)(nil), // 0: DB77ReqBody
(*DB77ClientInfo)(nil), // 1: DB77ClientInfo
(*DB77ExtInfo)(nil), // 2: DB77ExtInfo
(*DB77RichMsgBody)(nil), // 3: DB77RichMsgBody
}
var file_oidb0xb77_proto_depIdxs = []int32{
1, // 0: DB77ReqBody.clientInfo:type_name -> DB77ClientInfo
2, // 1: DB77ReqBody.extInfo:type_name -> DB77ExtInfo
3, // 2: DB77ReqBody.richMsgBody:type_name -> DB77RichMsgBody
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_oidb0xb77_proto_init() }
func file_oidb0xb77_proto_init() {
if File_oidb0xb77_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0xb77_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DB77ReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xb77_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DB77ClientInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xb77_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DB77ExtInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xb77_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DB77RichMsgBody); 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_oidb0xb77_proto_rawDesc,
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0xb77_proto_goTypes,
DependencyIndexes: file_oidb0xb77_proto_depIdxs,
MessageInfos: file_oidb0xb77_proto_msgTypes,
}.Build()
File_oidb0xb77_proto = out.File
file_oidb0xb77_proto_rawDesc = nil
file_oidb0xb77_proto_goTypes = nil
file_oidb0xb77_proto_depIdxs = nil
}

View File

@ -1,44 +0,0 @@
syntax = "proto3";
option go_package = "./;oidb";
message DB77ReqBody {
uint64 appId = 1;
uint32 appType = 2;
uint32 msgStyle = 3;
uint64 senderUin = 4;
DB77ClientInfo clientInfo = 5;
string textMsg = 6;
DB77ExtInfo extInfo = 7;
uint32 sendType = 10;
uint64 recvUin = 11;
DB77RichMsgBody richMsgBody = 12;
}
message DB77ClientInfo {
uint32 platform = 1;
string sdkVersion = 2;
string androidPackageName = 3;
string androidSignature = 4;
string iosBundleId = 5;
string pcSign = 6;
}
message DB77ExtInfo {
repeated uint32 customFeatureId = 11;
string apnsWording = 12;
uint32 groupSaveDbFlag = 13;
uint32 receiverAppId = 14;
uint64 msgSeq = 15;
}
message DB77RichMsgBody {
string title = 10;
string summary = 11;
string brief = 12;
string url = 13;
string pictureUrl = 14;
string action = 15;
string musicUrl = 16;
//ImageInfo imageInfo = 17;
}

View File

@ -1,809 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.1
// source: oidb0xbcb.proto
package oidb
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 CheckUrlReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url []string `protobuf:"bytes,1,rep,name=url" json:"url,omitempty"`
Refer *string `protobuf:"bytes,2,opt,name=refer" json:"refer,omitempty"`
Plateform *string `protobuf:"bytes,3,opt,name=plateform" json:"plateform,omitempty"`
QqPfTo *string `protobuf:"bytes,4,opt,name=qqPfTo" json:"qqPfTo,omitempty"`
Type *uint32 `protobuf:"varint,5,opt,name=type" json:"type,omitempty"`
From *uint32 `protobuf:"varint,6,opt,name=from" json:"from,omitempty"`
Chatid *uint64 `protobuf:"varint,7,opt,name=chatid" json:"chatid,omitempty"`
ServiceType *uint64 `protobuf:"varint,8,opt,name=serviceType" json:"serviceType,omitempty"`
SendUin *uint64 `protobuf:"varint,9,opt,name=sendUin" json:"sendUin,omitempty"`
ReqType *string `protobuf:"bytes,10,opt,name=reqType" json:"reqType,omitempty"`
OriginalUrl *string `protobuf:"bytes,11,opt,name=originalUrl" json:"originalUrl,omitempty"`
IsArk *bool `protobuf:"varint,12,opt,name=isArk" json:"isArk,omitempty"`
ArkName *string `protobuf:"bytes,13,opt,name=arkName" json:"arkName,omitempty"`
IsFinish *bool `protobuf:"varint,14,opt,name=isFinish" json:"isFinish,omitempty"`
SrcUrls []string `protobuf:"bytes,15,rep,name=srcUrls" json:"srcUrls,omitempty"`
SrcPlatform *uint32 `protobuf:"varint,16,opt,name=srcPlatform" json:"srcPlatform,omitempty"`
Qua *string `protobuf:"bytes,17,opt,name=qua" json:"qua,omitempty"`
}
func (x *CheckUrlReq) Reset() {
*x = CheckUrlReq{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xbcb_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CheckUrlReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CheckUrlReq) ProtoMessage() {}
func (x *CheckUrlReq) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xbcb_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 CheckUrlReq.ProtoReflect.Descriptor instead.
func (*CheckUrlReq) Descriptor() ([]byte, []int) {
return file_oidb0xbcb_proto_rawDescGZIP(), []int{0}
}
func (x *CheckUrlReq) GetUrl() []string {
if x != nil {
return x.Url
}
return nil
}
func (x *CheckUrlReq) GetRefer() string {
if x != nil && x.Refer != nil {
return *x.Refer
}
return ""
}
func (x *CheckUrlReq) GetPlateform() string {
if x != nil && x.Plateform != nil {
return *x.Plateform
}
return ""
}
func (x *CheckUrlReq) GetQqPfTo() string {
if x != nil && x.QqPfTo != nil {
return *x.QqPfTo
}
return ""
}
func (x *CheckUrlReq) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *CheckUrlReq) GetFrom() uint32 {
if x != nil && x.From != nil {
return *x.From
}
return 0
}
func (x *CheckUrlReq) GetChatid() uint64 {
if x != nil && x.Chatid != nil {
return *x.Chatid
}
return 0
}
func (x *CheckUrlReq) GetServiceType() uint64 {
if x != nil && x.ServiceType != nil {
return *x.ServiceType
}
return 0
}
func (x *CheckUrlReq) GetSendUin() uint64 {
if x != nil && x.SendUin != nil {
return *x.SendUin
}
return 0
}
func (x *CheckUrlReq) GetReqType() string {
if x != nil && x.ReqType != nil {
return *x.ReqType
}
return ""
}
func (x *CheckUrlReq) GetOriginalUrl() string {
if x != nil && x.OriginalUrl != nil {
return *x.OriginalUrl
}
return ""
}
func (x *CheckUrlReq) GetIsArk() bool {
if x != nil && x.IsArk != nil {
return *x.IsArk
}
return false
}
func (x *CheckUrlReq) GetArkName() string {
if x != nil && x.ArkName != nil {
return *x.ArkName
}
return ""
}
func (x *CheckUrlReq) GetIsFinish() bool {
if x != nil && x.IsFinish != nil {
return *x.IsFinish
}
return false
}
func (x *CheckUrlReq) GetSrcUrls() []string {
if x != nil {
return x.SrcUrls
}
return nil
}
func (x *CheckUrlReq) GetSrcPlatform() uint32 {
if x != nil && x.SrcPlatform != nil {
return *x.SrcPlatform
}
return 0
}
func (x *CheckUrlReq) GetQua() string {
if x != nil && x.Qua != nil {
return *x.Qua
}
return ""
}
type CheckUrlReqItem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
Refer *string `protobuf:"bytes,2,opt,name=refer" json:"refer,omitempty"`
Plateform *string `protobuf:"bytes,3,opt,name=plateform" json:"plateform,omitempty"`
QqPfTo *string `protobuf:"bytes,4,opt,name=qqPfTo" json:"qqPfTo,omitempty"`
Type *uint32 `protobuf:"varint,5,opt,name=type" json:"type,omitempty"`
From *uint32 `protobuf:"varint,6,opt,name=from" json:"from,omitempty"`
Chatid *uint64 `protobuf:"varint,7,opt,name=chatid" json:"chatid,omitempty"`
ServiceType *uint64 `protobuf:"varint,8,opt,name=serviceType" json:"serviceType,omitempty"`
SendUin *uint64 `protobuf:"varint,9,opt,name=sendUin" json:"sendUin,omitempty"`
ReqType *string `protobuf:"bytes,10,opt,name=reqType" json:"reqType,omitempty"`
}
func (x *CheckUrlReqItem) Reset() {
*x = CheckUrlReqItem{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xbcb_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CheckUrlReqItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CheckUrlReqItem) ProtoMessage() {}
func (x *CheckUrlReqItem) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xbcb_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 CheckUrlReqItem.ProtoReflect.Descriptor instead.
func (*CheckUrlReqItem) Descriptor() ([]byte, []int) {
return file_oidb0xbcb_proto_rawDescGZIP(), []int{1}
}
func (x *CheckUrlReqItem) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
}
return ""
}
func (x *CheckUrlReqItem) GetRefer() string {
if x != nil && x.Refer != nil {
return *x.Refer
}
return ""
}
func (x *CheckUrlReqItem) GetPlateform() string {
if x != nil && x.Plateform != nil {
return *x.Plateform
}
return ""
}
func (x *CheckUrlReqItem) GetQqPfTo() string {
if x != nil && x.QqPfTo != nil {
return *x.QqPfTo
}
return ""
}
func (x *CheckUrlReqItem) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *CheckUrlReqItem) GetFrom() uint32 {
if x != nil && x.From != nil {
return *x.From
}
return 0
}
func (x *CheckUrlReqItem) GetChatid() uint64 {
if x != nil && x.Chatid != nil {
return *x.Chatid
}
return 0
}
func (x *CheckUrlReqItem) GetServiceType() uint64 {
if x != nil && x.ServiceType != nil {
return *x.ServiceType
}
return 0
}
func (x *CheckUrlReqItem) GetSendUin() uint64 {
if x != nil && x.SendUin != nil {
return *x.SendUin
}
return 0
}
func (x *CheckUrlReqItem) GetReqType() string {
if x != nil && x.ReqType != nil {
return *x.ReqType
}
return ""
}
type CheckUrlRsp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Results []*UrlCheckResult `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
NextReqDuration *uint32 `protobuf:"varint,2,opt,name=nextReqDuration" json:"nextReqDuration,omitempty"`
}
func (x *CheckUrlRsp) Reset() {
*x = CheckUrlRsp{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xbcb_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CheckUrlRsp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CheckUrlRsp) ProtoMessage() {}
func (x *CheckUrlRsp) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xbcb_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 CheckUrlRsp.ProtoReflect.Descriptor instead.
func (*CheckUrlRsp) Descriptor() ([]byte, []int) {
return file_oidb0xbcb_proto_rawDescGZIP(), []int{2}
}
func (x *CheckUrlRsp) GetResults() []*UrlCheckResult {
if x != nil {
return x.Results
}
return nil
}
func (x *CheckUrlRsp) GetNextReqDuration() uint32 {
if x != nil && x.NextReqDuration != nil {
return *x.NextReqDuration
}
return 0
}
type DBCBReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NotUseCache *int32 `protobuf:"varint,9,opt,name=notUseCache" json:"notUseCache,omitempty"`
CheckUrlReq *CheckUrlReq `protobuf:"bytes,10,opt,name=checkUrlReq" json:"checkUrlReq,omitempty"`
}
func (x *DBCBReqBody) Reset() {
*x = DBCBReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xbcb_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBCBReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBCBReqBody) ProtoMessage() {}
func (x *DBCBReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xbcb_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 DBCBReqBody.ProtoReflect.Descriptor instead.
func (*DBCBReqBody) Descriptor() ([]byte, []int) {
return file_oidb0xbcb_proto_rawDescGZIP(), []int{3}
}
func (x *DBCBReqBody) GetNotUseCache() int32 {
if x != nil && x.NotUseCache != nil {
return *x.NotUseCache
}
return 0
}
func (x *DBCBReqBody) GetCheckUrlReq() *CheckUrlReq {
if x != nil {
return x.CheckUrlReq
}
return nil
}
type DBCBRspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Wording *string `protobuf:"bytes,1,opt,name=wording" json:"wording,omitempty"`
CheckUrlRsp *CheckUrlRsp `protobuf:"bytes,10,opt,name=checkUrlRsp" json:"checkUrlRsp,omitempty"`
}
func (x *DBCBRspBody) Reset() {
*x = DBCBRspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xbcb_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBCBRspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBCBRspBody) ProtoMessage() {}
func (x *DBCBRspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xbcb_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 DBCBRspBody.ProtoReflect.Descriptor instead.
func (*DBCBRspBody) Descriptor() ([]byte, []int) {
return file_oidb0xbcb_proto_rawDescGZIP(), []int{4}
}
func (x *DBCBRspBody) GetWording() string {
if x != nil && x.Wording != nil {
return *x.Wording
}
return ""
}
func (x *DBCBRspBody) GetCheckUrlRsp() *CheckUrlRsp {
if x != nil {
return x.CheckUrlRsp
}
return nil
}
type UrlCheckResult struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
Result *uint32 `protobuf:"varint,2,opt,name=result" json:"result,omitempty"`
JumpResult *uint32 `protobuf:"varint,3,opt,name=jumpResult" json:"jumpResult,omitempty"`
JumpUrl *string `protobuf:"bytes,4,opt,name=jumpUrl" json:"jumpUrl,omitempty"`
Level *uint32 `protobuf:"varint,5,opt,name=level" json:"level,omitempty"`
SubLevel *uint32 `protobuf:"varint,6,opt,name=subLevel" json:"subLevel,omitempty"`
Umrtype *uint32 `protobuf:"varint,7,opt,name=umrtype" json:"umrtype,omitempty"`
RetFrom *uint32 `protobuf:"varint,8,opt,name=retFrom" json:"retFrom,omitempty"`
OperationBit *uint64 `protobuf:"varint,9,opt,name=operationBit" json:"operationBit,omitempty"`
}
func (x *UrlCheckResult) Reset() {
*x = UrlCheckResult{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xbcb_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UrlCheckResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UrlCheckResult) ProtoMessage() {}
func (x *UrlCheckResult) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xbcb_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 UrlCheckResult.ProtoReflect.Descriptor instead.
func (*UrlCheckResult) Descriptor() ([]byte, []int) {
return file_oidb0xbcb_proto_rawDescGZIP(), []int{5}
}
func (x *UrlCheckResult) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
}
return ""
}
func (x *UrlCheckResult) GetResult() uint32 {
if x != nil && x.Result != nil {
return *x.Result
}
return 0
}
func (x *UrlCheckResult) GetJumpResult() uint32 {
if x != nil && x.JumpResult != nil {
return *x.JumpResult
}
return 0
}
func (x *UrlCheckResult) GetJumpUrl() string {
if x != nil && x.JumpUrl != nil {
return *x.JumpUrl
}
return ""
}
func (x *UrlCheckResult) GetLevel() uint32 {
if x != nil && x.Level != nil {
return *x.Level
}
return 0
}
func (x *UrlCheckResult) GetSubLevel() uint32 {
if x != nil && x.SubLevel != nil {
return *x.SubLevel
}
return 0
}
func (x *UrlCheckResult) GetUmrtype() uint32 {
if x != nil && x.Umrtype != nil {
return *x.Umrtype
}
return 0
}
func (x *UrlCheckResult) GetRetFrom() uint32 {
if x != nil && x.RetFrom != nil {
return *x.RetFrom
}
return 0
}
func (x *UrlCheckResult) GetOperationBit() uint64 {
if x != nil && x.OperationBit != nil {
return *x.OperationBit
}
return 0
}
var File_oidb0xbcb_proto protoreflect.FileDescriptor
var file_oidb0xbcb_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x62, 0x63, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0xbd, 0x03, 0x0a, 0x0b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x72, 0x6c, 0x52, 0x65,
0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03,
0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x66, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x05, 0x72, 0x65, 0x66, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6c, 0x61,
0x74, 0x65, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x6c,
0x61, 0x74, 0x65, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x71, 0x71, 0x50, 0x66, 0x54,
0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x71, 0x71, 0x50, 0x66, 0x54, 0x6f, 0x12,
0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74,
0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x74, 0x69,
0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x69, 0x64, 0x12,
0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08,
0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70,
0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01,
0x28, 0x04, 0x52, 0x07, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72,
0x65, 0x71, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65,
0x71, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61,
0x6c, 0x55, 0x72, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x72, 0x69, 0x67,
0x69, 0x6e, 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x41, 0x72, 0x6b,
0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x41, 0x72, 0x6b, 0x12, 0x18, 0x0a,
0x07, 0x61, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x61, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x46, 0x69, 0x6e,
0x69, 0x73, 0x68, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x46, 0x69, 0x6e,
0x69, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x72, 0x63, 0x55, 0x72, 0x6c, 0x73, 0x18, 0x0f,
0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73, 0x72, 0x63, 0x55, 0x72, 0x6c, 0x73, 0x12, 0x20, 0x0a,
0x0b, 0x73, 0x72, 0x63, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x10, 0x20, 0x01,
0x28, 0x0d, 0x52, 0x0b, 0x73, 0x72, 0x63, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12,
0x10, 0x0a, 0x03, 0x71, 0x75, 0x61, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x71, 0x75,
0x61, 0x22, 0x85, 0x02, 0x0a, 0x0f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x72, 0x6c, 0x52, 0x65,
0x71, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x66, 0x65, 0x72,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x65, 0x66, 0x65, 0x72, 0x12, 0x1c, 0x0a,
0x09, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x09, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x71,
0x71, 0x50, 0x66, 0x54, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x71, 0x71, 0x50,
0x66, 0x54, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18,
0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x63,
0x68, 0x61, 0x74, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x68, 0x61,
0x74, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79,
0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x69, 0x6e,
0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x69, 0x6e, 0x12,
0x18, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x72, 0x65, 0x71, 0x54, 0x79, 0x70, 0x65, 0x22, 0x62, 0x0a, 0x0b, 0x43, 0x68, 0x65,
0x63, 0x6b, 0x55, 0x72, 0x6c, 0x52, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75,
0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x55, 0x72, 0x6c, 0x43,
0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75,
0x6c, 0x74, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x44, 0x75,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6e, 0x65,
0x78, 0x74, 0x52, 0x65, 0x71, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5f, 0x0a,
0x0b, 0x44, 0x42, 0x43, 0x42, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x20, 0x0a, 0x0b,
0x6e, 0x6f, 0x74, 0x55, 0x73, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
0x05, 0x52, 0x0b, 0x6e, 0x6f, 0x74, 0x55, 0x73, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x2e,
0x0a, 0x0b, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x18, 0x0a, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x72, 0x6c, 0x52, 0x65,
0x71, 0x52, 0x0b, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x22, 0x57,
0x0a, 0x0b, 0x44, 0x42, 0x43, 0x42, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a,
0x07, 0x77, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x77, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2e, 0x0a, 0x0b, 0x63, 0x68, 0x65, 0x63, 0x6b,
0x55, 0x72, 0x6c, 0x52, 0x73, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x43,
0x68, 0x65, 0x63, 0x6b, 0x55, 0x72, 0x6c, 0x52, 0x73, 0x70, 0x52, 0x0b, 0x63, 0x68, 0x65, 0x63,
0x6b, 0x55, 0x72, 0x6c, 0x52, 0x73, 0x70, 0x22, 0xfe, 0x01, 0x0a, 0x0e, 0x55, 0x72, 0x6c, 0x43,
0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72,
0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06,
0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x52, 0x65, 0x73, 0x75,
0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x52, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6a, 0x75, 0x6d, 0x70, 0x55, 0x72, 0x6c, 0x18,
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6a, 0x75, 0x6d, 0x70, 0x55, 0x72, 0x6c, 0x12, 0x14,
0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c,
0x65, 0x76, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x4c, 0x65, 0x76, 0x65, 0x6c,
0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x75, 0x62, 0x4c, 0x65, 0x76, 0x65, 0x6c,
0x12, 0x18, 0x0a, 0x07, 0x75, 0x6d, 0x72, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x07, 0x75, 0x6d, 0x72, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65,
0x74, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x72, 0x65, 0x74,
0x46, 0x72, 0x6f, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x42, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x74, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2f, 0x3b, 0x6f,
0x69, 0x64, 0x62,
}
var (
file_oidb0xbcb_proto_rawDescOnce sync.Once
file_oidb0xbcb_proto_rawDescData = file_oidb0xbcb_proto_rawDesc
)
func file_oidb0xbcb_proto_rawDescGZIP() []byte {
file_oidb0xbcb_proto_rawDescOnce.Do(func() {
file_oidb0xbcb_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0xbcb_proto_rawDescData)
})
return file_oidb0xbcb_proto_rawDescData
}
var file_oidb0xbcb_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_oidb0xbcb_proto_goTypes = []interface{}{
(*CheckUrlReq)(nil), // 0: CheckUrlReq
(*CheckUrlReqItem)(nil), // 1: CheckUrlReqItem
(*CheckUrlRsp)(nil), // 2: CheckUrlRsp
(*DBCBReqBody)(nil), // 3: DBCBReqBody
(*DBCBRspBody)(nil), // 4: DBCBRspBody
(*UrlCheckResult)(nil), // 5: UrlCheckResult
}
var file_oidb0xbcb_proto_depIdxs = []int32{
5, // 0: CheckUrlRsp.results:type_name -> UrlCheckResult
0, // 1: DBCBReqBody.checkUrlReq:type_name -> CheckUrlReq
2, // 2: DBCBRspBody.checkUrlRsp:type_name -> CheckUrlRsp
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_oidb0xbcb_proto_init() }
func file_oidb0xbcb_proto_init() {
if File_oidb0xbcb_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0xbcb_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CheckUrlReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xbcb_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CheckUrlReqItem); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xbcb_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CheckUrlRsp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xbcb_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBCBReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xbcb_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBCBRspBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xbcb_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UrlCheckResult); 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_oidb0xbcb_proto_rawDesc,
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0xbcb_proto_goTypes,
DependencyIndexes: file_oidb0xbcb_proto_depIdxs,
MessageInfos: file_oidb0xbcb_proto_msgTypes,
}.Build()
File_oidb0xbcb_proto = out.File
file_oidb0xbcb_proto_rawDesc = nil
file_oidb0xbcb_proto_goTypes = nil
file_oidb0xbcb_proto_depIdxs = nil
}

View File

@ -1,365 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.1
// source: oidb0xD79.proto
package oidb
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 D79ReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
Uin uint64 `protobuf:"varint,2,opt,name=uin,proto3" json:"uin,omitempty"`
CompressFlag uint32 `protobuf:"varint,3,opt,name=compress_flag,json=compressFlag,proto3" json:"compress_flag,omitempty"`
Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
SenderUin uint64 `protobuf:"varint,5,opt,name=sender_uin,json=senderUin,proto3" json:"sender_uin,omitempty"`
Qua []byte `protobuf:"bytes,6,opt,name=qua,proto3" json:"qua,omitempty"`
WordExt []byte `protobuf:"bytes,7,opt,name=word_ext,json=wordExt,proto3" json:"word_ext,omitempty"`
}
func (x *D79ReqBody) Reset() {
*x = D79ReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xD79_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D79ReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D79ReqBody) ProtoMessage() {}
func (x *D79ReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xD79_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 D79ReqBody.ProtoReflect.Descriptor instead.
func (*D79ReqBody) Descriptor() ([]byte, []int) {
return file_oidb0xD79_proto_rawDescGZIP(), []int{0}
}
func (x *D79ReqBody) GetSeq() uint64 {
if x != nil {
return x.Seq
}
return 0
}
func (x *D79ReqBody) GetUin() uint64 {
if x != nil {
return x.Uin
}
return 0
}
func (x *D79ReqBody) GetCompressFlag() uint32 {
if x != nil {
return x.CompressFlag
}
return 0
}
func (x *D79ReqBody) GetContent() []byte {
if x != nil {
return x.Content
}
return nil
}
func (x *D79ReqBody) GetSenderUin() uint64 {
if x != nil {
return x.SenderUin
}
return 0
}
func (x *D79ReqBody) GetQua() []byte {
if x != nil {
return x.Qua
}
return nil
}
func (x *D79ReqBody) GetWordExt() []byte {
if x != nil {
return x.WordExt
}
return nil
}
type D79RspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Ret uint32 `protobuf:"varint,1,opt,name=ret,proto3" json:"ret,omitempty"`
Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
Uin uint64 `protobuf:"varint,3,opt,name=uin,proto3" json:"uin,omitempty"`
CompressFlag uint32 `protobuf:"varint,4,opt,name=compress_flag,json=compressFlag,proto3" json:"compress_flag,omitempty"`
Content *D79Content `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
}
func (x *D79RspBody) Reset() {
*x = D79RspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xD79_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D79RspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D79RspBody) ProtoMessage() {}
func (x *D79RspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xD79_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 D79RspBody.ProtoReflect.Descriptor instead.
func (*D79RspBody) Descriptor() ([]byte, []int) {
return file_oidb0xD79_proto_rawDescGZIP(), []int{1}
}
func (x *D79RspBody) GetRet() uint32 {
if x != nil {
return x.Ret
}
return 0
}
func (x *D79RspBody) GetSeq() uint64 {
if x != nil {
return x.Seq
}
return 0
}
func (x *D79RspBody) GetUin() uint64 {
if x != nil {
return x.Uin
}
return 0
}
func (x *D79RspBody) GetCompressFlag() uint32 {
if x != nil {
return x.CompressFlag
}
return 0
}
func (x *D79RspBody) GetContent() *D79Content {
if x != nil {
return x.Content
}
return nil
}
type D79Content struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SliceContent [][]byte `protobuf:"bytes,1,rep,name=slice_content,json=sliceContent,proto3" json:"slice_content,omitempty"`
}
func (x *D79Content) Reset() {
*x = D79Content{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xD79_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *D79Content) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*D79Content) ProtoMessage() {}
func (x *D79Content) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xD79_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 D79Content.ProtoReflect.Descriptor instead.
func (*D79Content) Descriptor() ([]byte, []int) {
return file_oidb0xD79_proto_rawDescGZIP(), []int{2}
}
func (x *D79Content) GetSliceContent() [][]byte {
if x != nil {
return x.SliceContent
}
return nil
}
var File_oidb0xD79_proto protoreflect.FileDescriptor
var file_oidb0xD79_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x44, 0x37, 0x39, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x0a, 0x44, 0x37, 0x39, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79,
0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x73,
0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
0x03, 0x75, 0x69, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73,
0x5f, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6d,
0x70, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e,
0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74,
0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x75, 0x69,
0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x55,
0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x71, 0x75, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x03, 0x71, 0x75, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x65, 0x78, 0x74,
0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x64, 0x45, 0x78, 0x74, 0x22,
0x8e, 0x01, 0x0a, 0x0a, 0x44, 0x37, 0x39, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x10,
0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x72, 0x65, 0x74,
0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x73,
0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52,
0x03, 0x75, 0x69, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73,
0x5f, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6d,
0x70, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x25, 0x0a, 0x07, 0x63, 0x6f, 0x6e,
0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x37, 0x39,
0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
0x22, 0x31, 0x0a, 0x0a, 0x44, 0x37, 0x39, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x23,
0x0a, 0x0d, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18,
0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74,
0x65, 0x6e, 0x74, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2f, 0x3b, 0x6f, 0x69, 0x64, 0x62, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_oidb0xD79_proto_rawDescOnce sync.Once
file_oidb0xD79_proto_rawDescData = file_oidb0xD79_proto_rawDesc
)
func file_oidb0xD79_proto_rawDescGZIP() []byte {
file_oidb0xD79_proto_rawDescOnce.Do(func() {
file_oidb0xD79_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0xD79_proto_rawDescData)
})
return file_oidb0xD79_proto_rawDescData
}
var file_oidb0xD79_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_oidb0xD79_proto_goTypes = []interface{}{
(*D79ReqBody)(nil), // 0: D79ReqBody
(*D79RspBody)(nil), // 1: D79RspBody
(*D79Content)(nil), // 2: D79Content
}
var file_oidb0xD79_proto_depIdxs = []int32{
2, // 0: D79RspBody.content:type_name -> D79Content
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_oidb0xD79_proto_init() }
func file_oidb0xD79_proto_init() {
if File_oidb0xD79_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0xD79_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D79ReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xD79_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D79RspBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xD79_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*D79Content); 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_oidb0xD79_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0xD79_proto_goTypes,
DependencyIndexes: file_oidb0xD79_proto_depIdxs,
MessageInfos: file_oidb0xD79_proto_msgTypes,
}.Build()
File_oidb0xD79_proto = out.File
file_oidb0xD79_proto_rawDesc = nil
file_oidb0xD79_proto_goTypes = nil
file_oidb0xD79_proto_depIdxs = nil
}

View File

@ -1,290 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.1
// source: oidb0xdad.proto
package oidb
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 DADReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Client int64 `protobuf:"varint,1,opt,name=client,proto3" json:"client,omitempty"`
ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
ToUin uint64 `protobuf:"varint,4,opt,name=to_uin,json=toUin,proto3" json:"to_uin,omitempty"`
Gc uint64 `protobuf:"varint,5,opt,name=gc,proto3" json:"gc,omitempty"`
Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"`
Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
Sig *DADLoginSig `protobuf:"bytes,8,opt,name=sig,proto3" json:"sig,omitempty"`
}
func (x *DADReqBody) Reset() {
*x = DADReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xdad_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DADReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DADReqBody) ProtoMessage() {}
func (x *DADReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xdad_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 DADReqBody.ProtoReflect.Descriptor instead.
func (*DADReqBody) Descriptor() ([]byte, []int) {
return file_oidb0xdad_proto_rawDescGZIP(), []int{0}
}
func (x *DADReqBody) GetClient() int64 {
if x != nil {
return x.Client
}
return 0
}
func (x *DADReqBody) GetProductId() uint64 {
if x != nil {
return x.ProductId
}
return 0
}
func (x *DADReqBody) GetAmount() int64 {
if x != nil {
return x.Amount
}
return 0
}
func (x *DADReqBody) GetToUin() uint64 {
if x != nil {
return x.ToUin
}
return 0
}
func (x *DADReqBody) GetGc() uint64 {
if x != nil {
return x.Gc
}
return 0
}
func (x *DADReqBody) GetIp() string {
if x != nil {
return x.Ip
}
return ""
}
func (x *DADReqBody) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *DADReqBody) GetSig() *DADLoginSig {
if x != nil {
return x.Sig
}
return nil
}
type DADLoginSig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"`
Appid uint32 `protobuf:"varint,3,opt,name=appid,proto3" json:"appid,omitempty"`
}
func (x *DADLoginSig) Reset() {
*x = DADLoginSig{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xdad_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DADLoginSig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DADLoginSig) ProtoMessage() {}
func (x *DADLoginSig) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xdad_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 DADLoginSig.ProtoReflect.Descriptor instead.
func (*DADLoginSig) Descriptor() ([]byte, []int) {
return file_oidb0xdad_proto_rawDescGZIP(), []int{1}
}
func (x *DADLoginSig) GetType() uint32 {
if x != nil {
return x.Type
}
return 0
}
func (x *DADLoginSig) GetSig() []byte {
if x != nil {
return x.Sig
}
return nil
}
func (x *DADLoginSig) GetAppid() uint32 {
if x != nil {
return x.Appid
}
return 0
}
var File_oidb0xdad_proto protoreflect.FileDescriptor
var file_oidb0xdad_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x64, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0xcc, 0x01, 0x0a, 0x0a, 0x44, 0x41, 0x44, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79,
0x12, 0x16, 0x0a, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
0x52, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64,
0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x72,
0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e,
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
0x15, 0x0a, 0x06, 0x74, 0x6f, 0x5f, 0x75, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x63, 0x18, 0x05, 0x20, 0x01,
0x28, 0x04, 0x52, 0x02, 0x67, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x06, 0x20, 0x01,
0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
0x12, 0x1e, 0x0a, 0x03, 0x73, 0x69, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e,
0x44, 0x41, 0x44, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x69, 0x67, 0x52, 0x03, 0x73, 0x69, 0x67,
0x22, 0x49, 0x0a, 0x0b, 0x44, 0x41, 0x44, 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, 0x42, 0x09, 0x5a, 0x07, 0x2e,
0x2f, 0x3b, 0x6f, 0x69, 0x64, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_oidb0xdad_proto_rawDescOnce sync.Once
file_oidb0xdad_proto_rawDescData = file_oidb0xdad_proto_rawDesc
)
func file_oidb0xdad_proto_rawDescGZIP() []byte {
file_oidb0xdad_proto_rawDescOnce.Do(func() {
file_oidb0xdad_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0xdad_proto_rawDescData)
})
return file_oidb0xdad_proto_rawDescData
}
var file_oidb0xdad_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_oidb0xdad_proto_goTypes = []interface{}{
(*DADReqBody)(nil), // 0: DADReqBody
(*DADLoginSig)(nil), // 1: DADLoginSig
}
var file_oidb0xdad_proto_depIdxs = []int32{
1, // 0: DADReqBody.sig:type_name -> DADLoginSig
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_oidb0xdad_proto_init() }
func file_oidb0xdad_proto_init() {
if File_oidb0xdad_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0xdad_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DADReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xdad_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DADLoginSig); 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_oidb0xdad_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0xdad_proto_goTypes,
DependencyIndexes: file_oidb0xdad_proto_depIdxs,
MessageInfos: file_oidb0xdad_proto_msgTypes,
}.Build()
File_oidb0xdad_proto = out.File
file_oidb0xdad_proto_rawDesc = nil
file_oidb0xdad_proto_goTypes = nil
file_oidb0xdad_proto_depIdxs = nil
}

View File

@ -1,20 +0,0 @@
syntax = "proto3";
option go_package = "./;oidb";
message DADReqBody {
int64 client = 1;
uint64 product_id = 2;
int64 amount = 3;
uint64 to_uin = 4;
uint64 gc = 5;
string ip = 6;
string version = 7;
DADLoginSig sig = 8;
}
message DADLoginSig {
uint32 type = 1;
bytes sig = 2;
uint32 appid = 3;
}

View File

@ -1,857 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.1
// source: oidb0xe07.proto
package oidb
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 DE07ReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Client int32 `protobuf:"varint,2,opt,name=client,proto3" json:"client,omitempty"`
Entrance int32 `protobuf:"varint,3,opt,name=entrance,proto3" json:"entrance,omitempty"`
OcrReqBody *OCRReqBody `protobuf:"bytes,10,opt,name=ocrReqBody,proto3" json:"ocrReqBody,omitempty"`
}
func (x *DE07ReqBody) Reset() {
*x = DE07ReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe07_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DE07ReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DE07ReqBody) ProtoMessage() {}
func (x *DE07ReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe07_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 DE07ReqBody.ProtoReflect.Descriptor instead.
func (*DE07ReqBody) Descriptor() ([]byte, []int) {
return file_oidb0xe07_proto_rawDescGZIP(), []int{0}
}
func (x *DE07ReqBody) GetVersion() int32 {
if x != nil {
return x.Version
}
return 0
}
func (x *DE07ReqBody) GetClient() int32 {
if x != nil {
return x.Client
}
return 0
}
func (x *DE07ReqBody) GetEntrance() int32 {
if x != nil {
return x.Entrance
}
return 0
}
func (x *DE07ReqBody) GetOcrReqBody() *OCRReqBody {
if x != nil {
return x.OcrReqBody
}
return nil
}
type OCRReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ImageUrl string `protobuf:"bytes,1,opt,name=imageUrl,proto3" json:"imageUrl,omitempty"`
LanguageType string `protobuf:"bytes,2,opt,name=languageType,proto3" json:"languageType,omitempty"`
Scene string `protobuf:"bytes,3,opt,name=scene,proto3" json:"scene,omitempty"`
OriginMd5 string `protobuf:"bytes,10,opt,name=originMd5,proto3" json:"originMd5,omitempty"`
AfterCompressMd5 string `protobuf:"bytes,11,opt,name=afterCompressMd5,proto3" json:"afterCompressMd5,omitempty"`
AfterCompressFileSize int32 `protobuf:"varint,12,opt,name=afterCompressFileSize,proto3" json:"afterCompressFileSize,omitempty"`
AfterCompressWeight int32 `protobuf:"varint,13,opt,name=afterCompressWeight,proto3" json:"afterCompressWeight,omitempty"`
AfterCompressHeight int32 `protobuf:"varint,14,opt,name=afterCompressHeight,proto3" json:"afterCompressHeight,omitempty"`
IsCut bool `protobuf:"varint,15,opt,name=isCut,proto3" json:"isCut,omitempty"`
}
func (x *OCRReqBody) Reset() {
*x = OCRReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe07_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OCRReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OCRReqBody) ProtoMessage() {}
func (x *OCRReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe07_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 OCRReqBody.ProtoReflect.Descriptor instead.
func (*OCRReqBody) Descriptor() ([]byte, []int) {
return file_oidb0xe07_proto_rawDescGZIP(), []int{1}
}
func (x *OCRReqBody) GetImageUrl() string {
if x != nil {
return x.ImageUrl
}
return ""
}
func (x *OCRReqBody) GetLanguageType() string {
if x != nil {
return x.LanguageType
}
return ""
}
func (x *OCRReqBody) GetScene() string {
if x != nil {
return x.Scene
}
return ""
}
func (x *OCRReqBody) GetOriginMd5() string {
if x != nil {
return x.OriginMd5
}
return ""
}
func (x *OCRReqBody) GetAfterCompressMd5() string {
if x != nil {
return x.AfterCompressMd5
}
return ""
}
func (x *OCRReqBody) GetAfterCompressFileSize() int32 {
if x != nil {
return x.AfterCompressFileSize
}
return 0
}
func (x *OCRReqBody) GetAfterCompressWeight() int32 {
if x != nil {
return x.AfterCompressWeight
}
return 0
}
func (x *OCRReqBody) GetAfterCompressHeight() int32 {
if x != nil {
return x.AfterCompressHeight
}
return 0
}
func (x *OCRReqBody) GetIsCut() bool {
if x != nil {
return x.IsCut
}
return false
}
type DE07RspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RetCode int32 `protobuf:"varint,1,opt,name=retCode,proto3" json:"retCode,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
Wording string `protobuf:"bytes,3,opt,name=wording,proto3" json:"wording,omitempty"`
OcrRspBody *OCRRspBody `protobuf:"bytes,10,opt,name=ocrRspBody,proto3" json:"ocrRspBody,omitempty"`
}
func (x *DE07RspBody) Reset() {
*x = DE07RspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe07_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DE07RspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DE07RspBody) ProtoMessage() {}
func (x *DE07RspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe07_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 DE07RspBody.ProtoReflect.Descriptor instead.
func (*DE07RspBody) Descriptor() ([]byte, []int) {
return file_oidb0xe07_proto_rawDescGZIP(), []int{2}
}
func (x *DE07RspBody) GetRetCode() int32 {
if x != nil {
return x.RetCode
}
return 0
}
func (x *DE07RspBody) GetErrMsg() string {
if x != nil {
return x.ErrMsg
}
return ""
}
func (x *DE07RspBody) GetWording() string {
if x != nil {
return x.Wording
}
return ""
}
func (x *DE07RspBody) GetOcrRspBody() *OCRRspBody {
if x != nil {
return x.OcrRspBody
}
return nil
}
type TextDetection struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DetectedText string `protobuf:"bytes,1,opt,name=detectedText,proto3" json:"detectedText,omitempty"`
Confidence int32 `protobuf:"varint,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
Polygon *Polygon `protobuf:"bytes,3,opt,name=polygon,proto3" json:"polygon,omitempty"`
AdvancedInfo string `protobuf:"bytes,4,opt,name=advancedInfo,proto3" json:"advancedInfo,omitempty"`
}
func (x *TextDetection) Reset() {
*x = TextDetection{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe07_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TextDetection) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TextDetection) ProtoMessage() {}
func (x *TextDetection) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe07_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 TextDetection.ProtoReflect.Descriptor instead.
func (*TextDetection) Descriptor() ([]byte, []int) {
return file_oidb0xe07_proto_rawDescGZIP(), []int{3}
}
func (x *TextDetection) GetDetectedText() string {
if x != nil {
return x.DetectedText
}
return ""
}
func (x *TextDetection) GetConfidence() int32 {
if x != nil {
return x.Confidence
}
return 0
}
func (x *TextDetection) GetPolygon() *Polygon {
if x != nil {
return x.Polygon
}
return nil
}
func (x *TextDetection) GetAdvancedInfo() string {
if x != nil {
return x.AdvancedInfo
}
return ""
}
type Polygon struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Coordinates []*Coordinate `protobuf:"bytes,1,rep,name=coordinates,proto3" json:"coordinates,omitempty"`
}
func (x *Polygon) Reset() {
*x = Polygon{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe07_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Polygon) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Polygon) ProtoMessage() {}
func (x *Polygon) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe07_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 Polygon.ProtoReflect.Descriptor instead.
func (*Polygon) Descriptor() ([]byte, []int) {
return file_oidb0xe07_proto_rawDescGZIP(), []int{4}
}
func (x *Polygon) GetCoordinates() []*Coordinate {
if x != nil {
return x.Coordinates
}
return nil
}
type Coordinate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
X int32 `protobuf:"varint,1,opt,name=X,proto3" json:"X,omitempty"`
Y int32 `protobuf:"varint,2,opt,name=Y,proto3" json:"Y,omitempty"`
}
func (x *Coordinate) Reset() {
*x = Coordinate{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe07_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Coordinate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Coordinate) ProtoMessage() {}
func (x *Coordinate) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe07_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 Coordinate.ProtoReflect.Descriptor instead.
func (*Coordinate) Descriptor() ([]byte, []int) {
return file_oidb0xe07_proto_rawDescGZIP(), []int{5}
}
func (x *Coordinate) GetX() int32 {
if x != nil {
return x.X
}
return 0
}
func (x *Coordinate) GetY() int32 {
if x != nil {
return x.Y
}
return 0
}
type Language struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
LanguageDesc string `protobuf:"bytes,2,opt,name=languageDesc,proto3" json:"languageDesc,omitempty"`
}
func (x *Language) Reset() {
*x = Language{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe07_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Language) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Language) ProtoMessage() {}
func (x *Language) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe07_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 Language.ProtoReflect.Descriptor instead.
func (*Language) Descriptor() ([]byte, []int) {
return file_oidb0xe07_proto_rawDescGZIP(), []int{6}
}
func (x *Language) GetLanguage() string {
if x != nil {
return x.Language
}
return ""
}
func (x *Language) GetLanguageDesc() string {
if x != nil {
return x.LanguageDesc
}
return ""
}
type OCRRspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TextDetections []*TextDetection `protobuf:"bytes,1,rep,name=textDetections,proto3" json:"textDetections,omitempty"`
Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
RequestId string `protobuf:"bytes,3,opt,name=requestId,proto3" json:"requestId,omitempty"`
OcrLanguageList []string `protobuf:"bytes,101,rep,name=ocrLanguageList,proto3" json:"ocrLanguageList,omitempty"`
DstTranslateLanguageList []string `protobuf:"bytes,102,rep,name=dstTranslateLanguageList,proto3" json:"dstTranslateLanguageList,omitempty"`
LanguageList []*Language `protobuf:"bytes,103,rep,name=languageList,proto3" json:"languageList,omitempty"`
AfterCompressWeight int32 `protobuf:"varint,111,opt,name=afterCompressWeight,proto3" json:"afterCompressWeight,omitempty"`
AfterCompressHeight int32 `protobuf:"varint,112,opt,name=afterCompressHeight,proto3" json:"afterCompressHeight,omitempty"`
}
func (x *OCRRspBody) Reset() {
*x = OCRRspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe07_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OCRRspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OCRRspBody) ProtoMessage() {}
func (x *OCRRspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe07_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 OCRRspBody.ProtoReflect.Descriptor instead.
func (*OCRRspBody) Descriptor() ([]byte, []int) {
return file_oidb0xe07_proto_rawDescGZIP(), []int{7}
}
func (x *OCRRspBody) GetTextDetections() []*TextDetection {
if x != nil {
return x.TextDetections
}
return nil
}
func (x *OCRRspBody) GetLanguage() string {
if x != nil {
return x.Language
}
return ""
}
func (x *OCRRspBody) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *OCRRspBody) GetOcrLanguageList() []string {
if x != nil {
return x.OcrLanguageList
}
return nil
}
func (x *OCRRspBody) GetDstTranslateLanguageList() []string {
if x != nil {
return x.DstTranslateLanguageList
}
return nil
}
func (x *OCRRspBody) GetLanguageList() []*Language {
if x != nil {
return x.LanguageList
}
return nil
}
func (x *OCRRspBody) GetAfterCompressWeight() int32 {
if x != nil {
return x.AfterCompressWeight
}
return 0
}
func (x *OCRRspBody) GetAfterCompressHeight() int32 {
if x != nil {
return x.AfterCompressHeight
}
return 0
}
var File_oidb0xe07_proto protoreflect.FileDescriptor
var file_oidb0xe07_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x65, 0x30, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0x88, 0x01, 0x0a, 0x0b, 0x44, 0x45, 0x30, 0x37, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64,
0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x63,
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18,
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x12,
0x2b, 0x0a, 0x0a, 0x6f, 0x63, 0x72, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x0a, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4f, 0x43, 0x52, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79,
0x52, 0x0a, 0x6f, 0x63, 0x72, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x22, 0xdc, 0x02, 0x0a,
0x0a, 0x4f, 0x43, 0x52, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69,
0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69,
0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75,
0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c,
0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73,
0x63, 0x65, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x65, 0x6e,
0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x4d, 0x64, 0x35, 0x18, 0x0a,
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x4d, 0x64, 0x35, 0x12,
0x2a, 0x0a, 0x10, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73,
0x4d, 0x64, 0x35, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x66, 0x74, 0x65, 0x72,
0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x64, 0x35, 0x12, 0x34, 0x0a, 0x15, 0x61,
0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x46, 0x69, 0x6c, 0x65,
0x53, 0x69, 0x7a, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x61, 0x66, 0x74, 0x65,
0x72, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a,
0x65, 0x12, 0x30, 0x0a, 0x13, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65,
0x73, 0x73, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13,
0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x57, 0x65, 0x69,
0x67, 0x68, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70,
0x72, 0x65, 0x73, 0x73, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05,
0x52, 0x13, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x48,
0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x43, 0x75, 0x74, 0x18, 0x0f,
0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x43, 0x75, 0x74, 0x22, 0x86, 0x01, 0x0a, 0x0b,
0x44, 0x45, 0x30, 0x37, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72,
0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65,
0x74, 0x43, 0x6f, 0x64, 0x65, 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, 0x77, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x77, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2b, 0x0a, 0x0a, 0x6f, 0x63, 0x72, 0x52, 0x73,
0x70, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4f, 0x43,
0x52, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0a, 0x6f, 0x63, 0x72, 0x52, 0x73, 0x70,
0x42, 0x6f, 0x64, 0x79, 0x22, 0x9b, 0x01, 0x0a, 0x0d, 0x54, 0x65, 0x78, 0x74, 0x44, 0x65, 0x74,
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74,
0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65,
0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f,
0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x07, 0x70, 0x6f,
0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x50, 0x6f,
0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x52, 0x07, 0x70, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x12, 0x22,
0x0a, 0x0c, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x49, 0x6e,
0x66, 0x6f, 0x22, 0x38, 0x0a, 0x07, 0x50, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x12, 0x2d, 0x0a,
0x0b, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52,
0x0b, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x73, 0x22, 0x28, 0x0a, 0x0a,
0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x58, 0x18,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x58, 0x12, 0x0c, 0x0a, 0x01, 0x59, 0x18, 0x02, 0x20,
0x01, 0x28, 0x05, 0x52, 0x01, 0x59, 0x22, 0x4a, 0x0a, 0x08, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61,
0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x22,
0x0a, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x44, 0x65,
0x73, 0x63, 0x22, 0xf7, 0x02, 0x0a, 0x0a, 0x4f, 0x43, 0x52, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64,
0x79, 0x12, 0x36, 0x0a, 0x0e, 0x74, 0x65, 0x78, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x54, 0x65, 0x78, 0x74,
0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x74, 0x65, 0x78, 0x74, 0x44,
0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e,
0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e,
0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x6f, 0x63, 0x72, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61,
0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x65, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x63,
0x72, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3a, 0x0a,
0x18, 0x64, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x6e,
0x67, 0x75, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x66, 0x20, 0x03, 0x28, 0x09, 0x52,
0x18, 0x64, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x6e,
0x67, 0x75, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x0c, 0x6c, 0x61, 0x6e,
0x67, 0x75, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x67, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x09, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67,
0x75, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x61, 0x66, 0x74, 0x65,
0x72, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
0x6f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70,
0x72, 0x65, 0x73, 0x73, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x61, 0x66,
0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x48, 0x65, 0x69, 0x67, 0x68,
0x74, 0x18, 0x70, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f,
0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x42, 0x09, 0x5a, 0x07,
0x2e, 0x2f, 0x3b, 0x6f, 0x69, 0x64, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_oidb0xe07_proto_rawDescOnce sync.Once
file_oidb0xe07_proto_rawDescData = file_oidb0xe07_proto_rawDesc
)
func file_oidb0xe07_proto_rawDescGZIP() []byte {
file_oidb0xe07_proto_rawDescOnce.Do(func() {
file_oidb0xe07_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0xe07_proto_rawDescData)
})
return file_oidb0xe07_proto_rawDescData
}
var file_oidb0xe07_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_oidb0xe07_proto_goTypes = []interface{}{
(*DE07ReqBody)(nil), // 0: DE07ReqBody
(*OCRReqBody)(nil), // 1: OCRReqBody
(*DE07RspBody)(nil), // 2: DE07RspBody
(*TextDetection)(nil), // 3: TextDetection
(*Polygon)(nil), // 4: Polygon
(*Coordinate)(nil), // 5: Coordinate
(*Language)(nil), // 6: Language
(*OCRRspBody)(nil), // 7: OCRRspBody
}
var file_oidb0xe07_proto_depIdxs = []int32{
1, // 0: DE07ReqBody.ocrReqBody:type_name -> OCRReqBody
7, // 1: DE07RspBody.ocrRspBody:type_name -> OCRRspBody
4, // 2: TextDetection.polygon:type_name -> Polygon
5, // 3: Polygon.coordinates:type_name -> Coordinate
3, // 4: OCRRspBody.textDetections:type_name -> TextDetection
6, // 5: OCRRspBody.languageList:type_name -> Language
6, // [6:6] is the sub-list for method output_type
6, // [6:6] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_oidb0xe07_proto_init() }
func file_oidb0xe07_proto_init() {
if File_oidb0xe07_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0xe07_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DE07ReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xe07_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OCRReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xe07_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DE07RspBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xe07_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TextDetection); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xe07_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Polygon); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xe07_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Coordinate); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xe07_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Language); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xe07_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OCRRspBody); 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_oidb0xe07_proto_rawDesc,
NumEnums: 0,
NumMessages: 8,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0xe07_proto_goTypes,
DependencyIndexes: file_oidb0xe07_proto_depIdxs,
MessageInfos: file_oidb0xe07_proto_msgTypes,
}.Build()
File_oidb0xe07_proto = out.File
file_oidb0xe07_proto_rawDesc = nil
file_oidb0xe07_proto_goTypes = nil
file_oidb0xe07_proto_depIdxs = nil
}

View File

@ -1,61 +0,0 @@
syntax = "proto3";
option go_package = "./;oidb";
message DE07ReqBody {
int32 version = 1;
int32 client = 2;
int32 entrance = 3;
OCRReqBody ocrReqBody = 10;
}
message OCRReqBody {
string imageUrl = 1;
string languageType = 2;
string scene = 3;
string originMd5 = 10;
string afterCompressMd5 = 11;
int32 afterCompressFileSize = 12;
int32 afterCompressWeight = 13;
int32 afterCompressHeight = 14;
bool isCut = 15;
}
message DE07RspBody {
int32 retCode = 1;
string errMsg = 2;
string wording = 3;
OCRRspBody ocrRspBody = 10;
}
message TextDetection {
string detectedText = 1;
int32 confidence = 2;
Polygon polygon = 3;
string advancedInfo = 4;
}
message Polygon {
repeated Coordinate coordinates = 1;
}
message Coordinate {
int32 X = 1;
int32 Y = 2;
}
message Language {
string language = 1;
string languageDesc = 2;
}
message OCRRspBody {
repeated TextDetection textDetections = 1;
string language = 2;
string requestId = 3;
repeated string ocrLanguageList = 101;
repeated string dstTranslateLanguageList = 102;
repeated Language languageList = 103;
int32 afterCompressWeight = 111;
int32 afterCompressHeight = 112;
}

View File

@ -1,377 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.1
// source: oidb0xe5b.proto
package oidb
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 LifeAchievementItem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AchievementId *uint32 `protobuf:"varint,1,opt,name=achievementId" json:"achievementId,omitempty"`
AchievementTitle *string `protobuf:"bytes,2,opt,name=achievementTitle" json:"achievementTitle,omitempty"`
AchievementIcon *string `protobuf:"bytes,3,opt,name=achievementIcon" json:"achievementIcon,omitempty"`
HasPraised *bool `protobuf:"varint,4,opt,name=hasPraised" json:"hasPraised,omitempty"`
PraiseNum *uint32 `protobuf:"varint,5,opt,name=praiseNum" json:"praiseNum,omitempty"`
AchievementContent []byte `protobuf:"bytes,6,opt,name=achievementContent" json:"achievementContent,omitempty"`
}
func (x *LifeAchievementItem) Reset() {
*x = LifeAchievementItem{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe5b_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LifeAchievementItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LifeAchievementItem) ProtoMessage() {}
func (x *LifeAchievementItem) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe5b_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 LifeAchievementItem.ProtoReflect.Descriptor instead.
func (*LifeAchievementItem) Descriptor() ([]byte, []int) {
return file_oidb0xe5b_proto_rawDescGZIP(), []int{0}
}
func (x *LifeAchievementItem) GetAchievementId() uint32 {
if x != nil && x.AchievementId != nil {
return *x.AchievementId
}
return 0
}
func (x *LifeAchievementItem) GetAchievementTitle() string {
if x != nil && x.AchievementTitle != nil {
return *x.AchievementTitle
}
return ""
}
func (x *LifeAchievementItem) GetAchievementIcon() string {
if x != nil && x.AchievementIcon != nil {
return *x.AchievementIcon
}
return ""
}
func (x *LifeAchievementItem) GetHasPraised() bool {
if x != nil && x.HasPraised != nil {
return *x.HasPraised
}
return false
}
func (x *LifeAchievementItem) GetPraiseNum() uint32 {
if x != nil && x.PraiseNum != nil {
return *x.PraiseNum
}
return 0
}
func (x *LifeAchievementItem) GetAchievementContent() []byte {
if x != nil {
return x.AchievementContent
}
return nil
}
type DE5BReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uin *uint64 `protobuf:"varint,1,opt,name=uin" json:"uin,omitempty"`
AchievementId []uint32 `protobuf:"varint,2,rep,name=achievementId" json:"achievementId,omitempty"`
MaxCount *uint32 `protobuf:"varint,3,opt,name=maxCount" json:"maxCount,omitempty"`
ReqAchievementContent *bool `protobuf:"varint,4,opt,name=reqAchievementContent" json:"reqAchievementContent,omitempty"`
}
func (x *DE5BReqBody) Reset() {
*x = DE5BReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe5b_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DE5BReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DE5BReqBody) ProtoMessage() {}
func (x *DE5BReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe5b_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 DE5BReqBody.ProtoReflect.Descriptor instead.
func (*DE5BReqBody) Descriptor() ([]byte, []int) {
return file_oidb0xe5b_proto_rawDescGZIP(), []int{1}
}
func (x *DE5BReqBody) GetUin() uint64 {
if x != nil && x.Uin != nil {
return *x.Uin
}
return 0
}
func (x *DE5BReqBody) GetAchievementId() []uint32 {
if x != nil {
return x.AchievementId
}
return nil
}
func (x *DE5BReqBody) GetMaxCount() uint32 {
if x != nil && x.MaxCount != nil {
return *x.MaxCount
}
return 0
}
func (x *DE5BReqBody) GetReqAchievementContent() bool {
if x != nil && x.ReqAchievementContent != nil {
return *x.ReqAchievementContent
}
return false
}
type DE5BRspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AchievementTotalCount *uint32 `protobuf:"varint,1,opt,name=achievementTotalCount" json:"achievementTotalCount,omitempty"`
LifeAchItem []*LifeAchievementItem `protobuf:"bytes,2,rep,name=lifeAchItem" json:"lifeAchItem,omitempty"`
AchievementOpenid *string `protobuf:"bytes,3,opt,name=achievementOpenid" json:"achievementOpenid,omitempty"`
}
func (x *DE5BRspBody) Reset() {
*x = DE5BRspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xe5b_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DE5BRspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DE5BRspBody) ProtoMessage() {}
func (x *DE5BRspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xe5b_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 DE5BRspBody.ProtoReflect.Descriptor instead.
func (*DE5BRspBody) Descriptor() ([]byte, []int) {
return file_oidb0xe5b_proto_rawDescGZIP(), []int{2}
}
func (x *DE5BRspBody) GetAchievementTotalCount() uint32 {
if x != nil && x.AchievementTotalCount != nil {
return *x.AchievementTotalCount
}
return 0
}
func (x *DE5BRspBody) GetLifeAchItem() []*LifeAchievementItem {
if x != nil {
return x.LifeAchItem
}
return nil
}
func (x *DE5BRspBody) GetAchievementOpenid() string {
if x != nil && x.AchievementOpenid != nil {
return *x.AchievementOpenid
}
return ""
}
var File_oidb0xe5b_proto protoreflect.FileDescriptor
var file_oidb0xe5b_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x65, 0x35, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0xff, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x66, 0x65, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76,
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x63, 0x68,
0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
0x52, 0x0d, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12,
0x2a, 0x0a, 0x10, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x69,
0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x63, 0x68, 0x69, 0x65,
0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x61,
0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x63, 0x6f, 0x6e, 0x18, 0x03,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e,
0x74, 0x49, 0x63, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x50, 0x72, 0x61, 0x69,
0x73, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x50, 0x72,
0x61, 0x69, 0x73, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x61, 0x69, 0x73, 0x65, 0x4e,
0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x72, 0x61, 0x69, 0x73, 0x65,
0x4e, 0x75, 0x6d, 0x12, 0x2e, 0x0a, 0x12, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65,
0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x12, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74,
0x65, 0x6e, 0x74, 0x22, 0x97, 0x01, 0x0a, 0x0b, 0x44, 0x45, 0x35, 0x42, 0x52, 0x65, 0x71, 0x42,
0x6f, 0x64, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
0x52, 0x03, 0x75, 0x69, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65,
0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x61, 0x63,
0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6d,
0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d,
0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x15, 0x72, 0x65, 0x71, 0x41, 0x63,
0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x72, 0x65, 0x71, 0x41, 0x63, 0x68, 0x69, 0x65,
0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xa9, 0x01,
0x0a, 0x0b, 0x44, 0x45, 0x35, 0x42, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x34, 0x0a,
0x15, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x74, 0x61,
0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x61, 0x63,
0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x0b, 0x6c, 0x69, 0x66, 0x65, 0x41, 0x63, 0x68, 0x49, 0x74,
0x65, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x41,
0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0b,
0x6c, 0x69, 0x66, 0x65, 0x41, 0x63, 0x68, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x2c, 0x0a, 0x11, 0x61,
0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x69, 0x64,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d,
0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2f, 0x3b,
0x6f, 0x69, 0x64, 0x62,
}
var (
file_oidb0xe5b_proto_rawDescOnce sync.Once
file_oidb0xe5b_proto_rawDescData = file_oidb0xe5b_proto_rawDesc
)
func file_oidb0xe5b_proto_rawDescGZIP() []byte {
file_oidb0xe5b_proto_rawDescOnce.Do(func() {
file_oidb0xe5b_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0xe5b_proto_rawDescData)
})
return file_oidb0xe5b_proto_rawDescData
}
var file_oidb0xe5b_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_oidb0xe5b_proto_goTypes = []interface{}{
(*LifeAchievementItem)(nil), // 0: LifeAchievementItem
(*DE5BReqBody)(nil), // 1: DE5BReqBody
(*DE5BRspBody)(nil), // 2: DE5BRspBody
}
var file_oidb0xe5b_proto_depIdxs = []int32{
0, // 0: DE5BRspBody.lifeAchItem:type_name -> LifeAchievementItem
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_oidb0xe5b_proto_init() }
func file_oidb0xe5b_proto_init() {
if File_oidb0xe5b_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0xe5b_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LifeAchievementItem); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xe5b_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DE5BReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xe5b_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DE5BRspBody); 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_oidb0xe5b_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0xe5b_proto_goTypes,
DependencyIndexes: file_oidb0xe5b_proto_depIdxs,
MessageInfos: file_oidb0xe5b_proto_msgTypes,
}.Build()
File_oidb0xe5b_proto = out.File
file_oidb0xe5b_proto_rawDesc = nil
file_oidb0xe5b_proto_goTypes = nil
file_oidb0xe5b_proto_depIdxs = nil
}

View File

@ -1,25 +0,0 @@
syntax = "proto2";
option go_package = "./;oidb";
message LifeAchievementItem {
optional uint32 achievementId = 1;
optional string achievementTitle = 2;
optional string achievementIcon = 3;
optional bool hasPraised = 4;
optional uint32 praiseNum = 5;
optional bytes achievementContent = 6;
}
message DE5BReqBody {
optional uint64 uin = 1;
repeated uint32 achievementId = 2;
optional uint32 maxCount = 3;
optional bool reqAchievementContent = 4;
}
message DE5BRspBody {
optional uint32 achievementTotalCount = 1;
repeated LifeAchievementItem lifeAchItem = 2;
optional string achievementOpenid = 3;
}

View File

@ -1,254 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.1
// source: oidb0xeac.proto
package oidb
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 EACReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupCode *uint64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"`
Seq *uint32 `protobuf:"varint,2,opt,name=seq" json:"seq,omitempty"`
Random *uint32 `protobuf:"varint,3,opt,name=random" json:"random,omitempty"`
}
func (x *EACReqBody) Reset() {
*x = EACReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xeac_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EACReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EACReqBody) ProtoMessage() {}
func (x *EACReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xeac_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 EACReqBody.ProtoReflect.Descriptor instead.
func (*EACReqBody) Descriptor() ([]byte, []int) {
return file_oidb0xeac_proto_rawDescGZIP(), []int{0}
}
func (x *EACReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *EACReqBody) GetSeq() uint32 {
if x != nil && x.Seq != nil {
return *x.Seq
}
return 0
}
func (x *EACReqBody) GetRandom() uint32 {
if x != nil && x.Random != nil {
return *x.Random
}
return 0
}
type EACRspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Wording *string `protobuf:"bytes,1,opt,name=wording" json:"wording,omitempty"`
DigestUin *uint64 `protobuf:"varint,2,opt,name=digestUin" json:"digestUin,omitempty"`
DigestTime *uint32 `protobuf:"varint,3,opt,name=digestTime" json:"digestTime,omitempty"`
//optional DigestMsg msg = 4;
ErrorCode *uint32 `protobuf:"varint,10,opt,name=errorCode" json:"errorCode,omitempty"`
}
func (x *EACRspBody) Reset() {
*x = EACRspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xeac_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EACRspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EACRspBody) ProtoMessage() {}
func (x *EACRspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xeac_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 EACRspBody.ProtoReflect.Descriptor instead.
func (*EACRspBody) Descriptor() ([]byte, []int) {
return file_oidb0xeac_proto_rawDescGZIP(), []int{1}
}
func (x *EACRspBody) GetWording() string {
if x != nil && x.Wording != nil {
return *x.Wording
}
return ""
}
func (x *EACRspBody) GetDigestUin() uint64 {
if x != nil && x.DigestUin != nil {
return *x.DigestUin
}
return 0
}
func (x *EACRspBody) GetDigestTime() uint32 {
if x != nil && x.DigestTime != nil {
return *x.DigestTime
}
return 0
}
func (x *EACRspBody) GetErrorCode() uint32 {
if x != nil && x.ErrorCode != nil {
return *x.ErrorCode
}
return 0
}
var File_oidb0xeac_proto protoreflect.FileDescriptor
var file_oidb0xeac_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x65, 0x61, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0x54, 0x0a, 0x0a, 0x45, 0x41, 0x43, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 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, 0x10, 0x0a,
0x03, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12,
0x16, 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52,
0x06, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x22, 0x82, 0x01, 0x0a, 0x0a, 0x45, 0x41, 0x43, 0x52,
0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x6f, 0x72, 0x64, 0x69, 0x6e,
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67,
0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x55, 0x69, 0x6e, 0x18, 0x02, 0x20,
0x01, 0x28, 0x04, 0x52, 0x09, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x55, 0x69, 0x6e, 0x12, 0x1e,
0x0a, 0x0a, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
0x28, 0x0d, 0x52, 0x0a, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c,
0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x09, 0x5a, 0x07,
0x2e, 0x2f, 0x3b, 0x6f, 0x69, 0x64, 0x62,
}
var (
file_oidb0xeac_proto_rawDescOnce sync.Once
file_oidb0xeac_proto_rawDescData = file_oidb0xeac_proto_rawDesc
)
func file_oidb0xeac_proto_rawDescGZIP() []byte {
file_oidb0xeac_proto_rawDescOnce.Do(func() {
file_oidb0xeac_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0xeac_proto_rawDescData)
})
return file_oidb0xeac_proto_rawDescData
}
var file_oidb0xeac_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_oidb0xeac_proto_goTypes = []interface{}{
(*EACReqBody)(nil), // 0: EACReqBody
(*EACRspBody)(nil), // 1: EACRspBody
}
var file_oidb0xeac_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_oidb0xeac_proto_init() }
func file_oidb0xeac_proto_init() {
if File_oidb0xeac_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0xeac_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EACReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xeac_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EACRspBody); 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_oidb0xeac_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0xeac_proto_goTypes,
DependencyIndexes: file_oidb0xeac_proto_depIdxs,
MessageInfos: file_oidb0xeac_proto_msgTypes,
}.Build()
File_oidb0xeac_proto = out.File
file_oidb0xeac_proto_rawDesc = nil
file_oidb0xeac_proto_goTypes = nil
file_oidb0xeac_proto_depIdxs = nil
}

View File

@ -1,724 +0,0 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.1
// source: oidb0xec4.proto
package oidb
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 Comment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
Comment *string `protobuf:"bytes,2,opt,name=comment" json:"comment,omitempty"`
Time *uint64 `protobuf:"varint,3,opt,name=time" json:"time,omitempty"`
FromUin *uint64 `protobuf:"varint,4,opt,name=fromUin" json:"fromUin,omitempty"`
ToUin *uint64 `protobuf:"varint,5,opt,name=toUin" json:"toUin,omitempty"`
ReplyId *string `protobuf:"bytes,6,opt,name=replyId" json:"replyId,omitempty"`
FromNick *string `protobuf:"bytes,7,opt,name=fromNick" json:"fromNick,omitempty"`
}
func (x *Comment) Reset() {
*x = Comment{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xec4_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Comment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Comment) ProtoMessage() {}
func (x *Comment) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xec4_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 Comment.ProtoReflect.Descriptor instead.
func (*Comment) Descriptor() ([]byte, []int) {
return file_oidb0xec4_proto_rawDescGZIP(), []int{0}
}
func (x *Comment) GetId() string {
if x != nil && x.Id != nil {
return *x.Id
}
return ""
}
func (x *Comment) GetComment() string {
if x != nil && x.Comment != nil {
return *x.Comment
}
return ""
}
func (x *Comment) GetTime() uint64 {
if x != nil && x.Time != nil {
return *x.Time
}
return 0
}
func (x *Comment) GetFromUin() uint64 {
if x != nil && x.FromUin != nil {
return *x.FromUin
}
return 0
}
func (x *Comment) GetToUin() uint64 {
if x != nil && x.ToUin != nil {
return *x.ToUin
}
return 0
}
func (x *Comment) GetReplyId() string {
if x != nil && x.ReplyId != nil {
return *x.ReplyId
}
return ""
}
func (x *Comment) GetFromNick() string {
if x != nil && x.FromNick != nil {
return *x.FromNick
}
return ""
}
type Praise struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FromUin *uint64 `protobuf:"varint,1,opt,name=fromUin" json:"fromUin,omitempty"`
ToUin *uint64 `protobuf:"varint,2,opt,name=toUin" json:"toUin,omitempty"`
Time *uint64 `protobuf:"varint,3,opt,name=time" json:"time,omitempty"`
FromNick *string `protobuf:"bytes,4,opt,name=fromNick" json:"fromNick,omitempty"`
}
func (x *Praise) Reset() {
*x = Praise{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xec4_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Praise) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Praise) ProtoMessage() {}
func (x *Praise) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xec4_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 Praise.ProtoReflect.Descriptor instead.
func (*Praise) Descriptor() ([]byte, []int) {
return file_oidb0xec4_proto_rawDescGZIP(), []int{1}
}
func (x *Praise) GetFromUin() uint64 {
if x != nil && x.FromUin != nil {
return *x.FromUin
}
return 0
}
func (x *Praise) GetToUin() uint64 {
if x != nil && x.ToUin != nil {
return *x.ToUin
}
return 0
}
func (x *Praise) GetTime() uint64 {
if x != nil && x.Time != nil {
return *x.Time
}
return 0
}
func (x *Praise) GetFromNick() string {
if x != nil && x.FromNick != nil {
return *x.FromNick
}
return ""
}
type Quest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
Quest *string `protobuf:"bytes,2,opt,name=quest" json:"quest,omitempty"`
QuestUin *uint64 `protobuf:"varint,3,opt,name=questUin" json:"questUin,omitempty"`
Time *uint64 `protobuf:"varint,4,opt,name=time" json:"time,omitempty"`
Ans *string `protobuf:"bytes,5,opt,name=ans" json:"ans,omitempty"`
AnsTime *uint64 `protobuf:"varint,6,opt,name=ansTime" json:"ansTime,omitempty"`
Comment []*Comment `protobuf:"bytes,7,rep,name=comment" json:"comment,omitempty"`
Praise []*Praise `protobuf:"bytes,8,rep,name=praise" json:"praise,omitempty"`
PraiseNum *uint64 `protobuf:"varint,9,opt,name=praiseNum" json:"praiseNum,omitempty"`
LikeKey *string `protobuf:"bytes,10,opt,name=likeKey" json:"likeKey,omitempty"`
SystemId *uint64 `protobuf:"varint,11,opt,name=systemId" json:"systemId,omitempty"`
CommentNum *uint64 `protobuf:"varint,12,opt,name=commentNum" json:"commentNum,omitempty"`
ShowType *uint64 `protobuf:"varint,13,opt,name=showType" json:"showType,omitempty"`
ShowTimes *uint64 `protobuf:"varint,14,opt,name=showTimes" json:"showTimes,omitempty"`
BeenPraised *uint64 `protobuf:"varint,15,opt,name=beenPraised" json:"beenPraised,omitempty"`
QuestRead *bool `protobuf:"varint,16,opt,name=questRead" json:"questRead,omitempty"`
AnsShowType *uint64 `protobuf:"varint,17,opt,name=ansShowType" json:"ansShowType,omitempty"`
}
func (x *Quest) Reset() {
*x = Quest{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xec4_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Quest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Quest) ProtoMessage() {}
func (x *Quest) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xec4_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 Quest.ProtoReflect.Descriptor instead.
func (*Quest) Descriptor() ([]byte, []int) {
return file_oidb0xec4_proto_rawDescGZIP(), []int{2}
}
func (x *Quest) GetId() string {
if x != nil && x.Id != nil {
return *x.Id
}
return ""
}
func (x *Quest) GetQuest() string {
if x != nil && x.Quest != nil {
return *x.Quest
}
return ""
}
func (x *Quest) GetQuestUin() uint64 {
if x != nil && x.QuestUin != nil {
return *x.QuestUin
}
return 0
}
func (x *Quest) GetTime() uint64 {
if x != nil && x.Time != nil {
return *x.Time
}
return 0
}
func (x *Quest) GetAns() string {
if x != nil && x.Ans != nil {
return *x.Ans
}
return ""
}
func (x *Quest) GetAnsTime() uint64 {
if x != nil && x.AnsTime != nil {
return *x.AnsTime
}
return 0
}
func (x *Quest) GetComment() []*Comment {
if x != nil {
return x.Comment
}
return nil
}
func (x *Quest) GetPraise() []*Praise {
if x != nil {
return x.Praise
}
return nil
}
func (x *Quest) GetPraiseNum() uint64 {
if x != nil && x.PraiseNum != nil {
return *x.PraiseNum
}
return 0
}
func (x *Quest) GetLikeKey() string {
if x != nil && x.LikeKey != nil {
return *x.LikeKey
}
return ""
}
func (x *Quest) GetSystemId() uint64 {
if x != nil && x.SystemId != nil {
return *x.SystemId
}
return 0
}
func (x *Quest) GetCommentNum() uint64 {
if x != nil && x.CommentNum != nil {
return *x.CommentNum
}
return 0
}
func (x *Quest) GetShowType() uint64 {
if x != nil && x.ShowType != nil {
return *x.ShowType
}
return 0
}
func (x *Quest) GetShowTimes() uint64 {
if x != nil && x.ShowTimes != nil {
return *x.ShowTimes
}
return 0
}
func (x *Quest) GetBeenPraised() uint64 {
if x != nil && x.BeenPraised != nil {
return *x.BeenPraised
}
return 0
}
func (x *Quest) GetQuestRead() bool {
if x != nil && x.QuestRead != nil {
return *x.QuestRead
}
return false
}
func (x *Quest) GetAnsShowType() uint64 {
if x != nil && x.AnsShowType != nil {
return *x.AnsShowType
}
return 0
}
type DEC4ReqBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uin *uint64 `protobuf:"varint,1,opt,name=uin" json:"uin,omitempty"`
QuestNum *uint64 `protobuf:"varint,2,opt,name=questNum" json:"questNum,omitempty"`
CommentNum *uint64 `protobuf:"varint,3,opt,name=commentNum" json:"commentNum,omitempty"`
Cookie []byte `protobuf:"bytes,4,opt,name=cookie" json:"cookie,omitempty"`
FetchType *uint32 `protobuf:"varint,5,opt,name=fetchType" json:"fetchType,omitempty"`
}
func (x *DEC4ReqBody) Reset() {
*x = DEC4ReqBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xec4_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DEC4ReqBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DEC4ReqBody) ProtoMessage() {}
func (x *DEC4ReqBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xec4_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 DEC4ReqBody.ProtoReflect.Descriptor instead.
func (*DEC4ReqBody) Descriptor() ([]byte, []int) {
return file_oidb0xec4_proto_rawDescGZIP(), []int{3}
}
func (x *DEC4ReqBody) GetUin() uint64 {
if x != nil && x.Uin != nil {
return *x.Uin
}
return 0
}
func (x *DEC4ReqBody) GetQuestNum() uint64 {
if x != nil && x.QuestNum != nil {
return *x.QuestNum
}
return 0
}
func (x *DEC4ReqBody) GetCommentNum() uint64 {
if x != nil && x.CommentNum != nil {
return *x.CommentNum
}
return 0
}
func (x *DEC4ReqBody) GetCookie() []byte {
if x != nil {
return x.Cookie
}
return nil
}
func (x *DEC4ReqBody) GetFetchType() uint32 {
if x != nil && x.FetchType != nil {
return *x.FetchType
}
return 0
}
type DEC4RspBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Quest []*Quest `protobuf:"bytes,1,rep,name=quest" json:"quest,omitempty"`
IsFetchOver *bool `protobuf:"varint,2,opt,name=isFetchOver" json:"isFetchOver,omitempty"`
TotalQuestNum *uint32 `protobuf:"varint,3,opt,name=totalQuestNum" json:"totalQuestNum,omitempty"`
Cookie []byte `protobuf:"bytes,4,opt,name=cookie" json:"cookie,omitempty"`
Ret *uint32 `protobuf:"varint,5,opt,name=ret" json:"ret,omitempty"`
AnsweredQuestNum *uint32 `protobuf:"varint,6,opt,name=answeredQuestNum" json:"answeredQuestNum,omitempty"`
}
func (x *DEC4RspBody) Reset() {
*x = DEC4RspBody{}
if protoimpl.UnsafeEnabled {
mi := &file_oidb0xec4_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DEC4RspBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DEC4RspBody) ProtoMessage() {}
func (x *DEC4RspBody) ProtoReflect() protoreflect.Message {
mi := &file_oidb0xec4_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 DEC4RspBody.ProtoReflect.Descriptor instead.
func (*DEC4RspBody) Descriptor() ([]byte, []int) {
return file_oidb0xec4_proto_rawDescGZIP(), []int{4}
}
func (x *DEC4RspBody) GetQuest() []*Quest {
if x != nil {
return x.Quest
}
return nil
}
func (x *DEC4RspBody) GetIsFetchOver() bool {
if x != nil && x.IsFetchOver != nil {
return *x.IsFetchOver
}
return false
}
func (x *DEC4RspBody) GetTotalQuestNum() uint32 {
if x != nil && x.TotalQuestNum != nil {
return *x.TotalQuestNum
}
return 0
}
func (x *DEC4RspBody) GetCookie() []byte {
if x != nil {
return x.Cookie
}
return nil
}
func (x *DEC4RspBody) GetRet() uint32 {
if x != nil && x.Ret != nil {
return *x.Ret
}
return 0
}
func (x *DEC4RspBody) GetAnsweredQuestNum() uint32 {
if x != nil && x.AnsweredQuestNum != nil {
return *x.AnsweredQuestNum
}
return 0
}
var File_oidb0xec4_proto protoreflect.FileDescriptor
var file_oidb0xec4_proto_rawDesc = []byte{
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x65, 0x63, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0xad, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a,
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a,
0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18,
0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x66,
0x72, 0x6f, 0x6d, 0x55, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x66, 0x72,
0x6f, 0x6d, 0x55, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x18, 0x05,
0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72,
0x65, 0x70, 0x6c, 0x79, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65,
0x70, 0x6c, 0x79, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x69, 0x63,
0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x69, 0x63,
0x6b, 0x22, 0x68, 0x0a, 0x06, 0x50, 0x72, 0x61, 0x69, 0x73, 0x65, 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, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x18, 0x02,
0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x55, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74,
0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12,
0x1a, 0x0a, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x22, 0xde, 0x03, 0x0a, 0x05,
0x51, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x71,
0x75, 0x65, 0x73, 0x74, 0x55, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x71,
0x75, 0x65, 0x73, 0x74, 0x55, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18,
0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61,
0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x6e, 0x73, 0x12, 0x18, 0x0a,
0x07, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07,
0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
0x6e, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65,
0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x06, 0x70,
0x72, 0x61, 0x69, 0x73, 0x65, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x50, 0x72,
0x61, 0x69, 0x73, 0x65, 0x52, 0x06, 0x70, 0x72, 0x61, 0x69, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09,
0x70, 0x72, 0x61, 0x69, 0x73, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52,
0x09, 0x70, 0x72, 0x61, 0x69, 0x73, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x69,
0x6b, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x69, 0x6b,
0x65, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64,
0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64,
0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x0c,
0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x75, 0x6d,
0x12, 0x1a, 0x0a, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01,
0x28, 0x04, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09,
0x73, 0x68, 0x6f, 0x77, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52,
0x09, 0x73, 0x68, 0x6f, 0x77, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x65,
0x65, 0x6e, 0x50, 0x72, 0x61, 0x69, 0x73, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52,
0x0b, 0x62, 0x65, 0x65, 0x6e, 0x50, 0x72, 0x61, 0x69, 0x73, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09,
0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x61, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52,
0x09, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x61, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6e,
0x73, 0x53, 0x68, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52,
0x0b, 0x61, 0x6e, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x22, 0x91, 0x01, 0x0a,
0x0b, 0x44, 0x45, 0x43, 0x34, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x10, 0x0a, 0x03,
0x75, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x75, 0x69, 0x6e, 0x12, 0x1a,
0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04,
0x52, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f,
0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a,
0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x75, 0x6d, 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, 0x66, 0x65, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x18,
0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x66, 0x65, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65,
0x22, 0xc9, 0x01, 0x0a, 0x0b, 0x44, 0x45, 0x43, 0x34, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79,
0x12, 0x1c, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x06, 0x2e, 0x51, 0x75, 0x65, 0x73, 0x74, 0x52, 0x05, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20,
0x0a, 0x0b, 0x69, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x4f, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20,
0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x4f, 0x76, 0x65, 0x72,
0x12, 0x24, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4e, 0x75,
0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x51, 0x75,
0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 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, 0x10,
0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x72, 0x65, 0x74,
0x12, 0x2a, 0x0a, 0x10, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x65, 0x64, 0x51, 0x75, 0x65, 0x73,
0x74, 0x4e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x61, 0x6e, 0x73, 0x77,
0x65, 0x72, 0x65, 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x42, 0x09, 0x5a, 0x07,
0x2e, 0x2f, 0x3b, 0x6f, 0x69, 0x64, 0x62,
}
var (
file_oidb0xec4_proto_rawDescOnce sync.Once
file_oidb0xec4_proto_rawDescData = file_oidb0xec4_proto_rawDesc
)
func file_oidb0xec4_proto_rawDescGZIP() []byte {
file_oidb0xec4_proto_rawDescOnce.Do(func() {
file_oidb0xec4_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0xec4_proto_rawDescData)
})
return file_oidb0xec4_proto_rawDescData
}
var file_oidb0xec4_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_oidb0xec4_proto_goTypes = []interface{}{
(*Comment)(nil), // 0: Comment
(*Praise)(nil), // 1: Praise
(*Quest)(nil), // 2: Quest
(*DEC4ReqBody)(nil), // 3: DEC4ReqBody
(*DEC4RspBody)(nil), // 4: DEC4RspBody
}
var file_oidb0xec4_proto_depIdxs = []int32{
0, // 0: Quest.comment:type_name -> Comment
1, // 1: Quest.praise:type_name -> Praise
2, // 2: DEC4RspBody.quest:type_name -> Quest
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_oidb0xec4_proto_init() }
func file_oidb0xec4_proto_init() {
if File_oidb0xec4_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_oidb0xec4_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Comment); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xec4_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Praise); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xec4_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Quest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xec4_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DEC4ReqBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_oidb0xec4_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DEC4RspBody); 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_oidb0xec4_proto_rawDesc,
NumEnums: 0,
NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_oidb0xec4_proto_goTypes,
DependencyIndexes: file_oidb0xec4_proto_depIdxs,
MessageInfos: file_oidb0xec4_proto_msgTypes,
}.Build()
File_oidb0xec4_proto = out.File
file_oidb0xec4_proto_rawDesc = nil
file_oidb0xec4_proto_goTypes = nil
file_oidb0xec4_proto_depIdxs = nil
}

View File

@ -1,56 +0,0 @@
syntax = "proto2";
option go_package = "./;oidb";
message Comment {
optional string id = 1;
optional string comment = 2;
optional uint64 time = 3;
optional uint64 fromUin = 4;
optional uint64 toUin = 5;
optional string replyId = 6;
optional string fromNick = 7;
}
message Praise {
optional uint64 fromUin = 1;
optional uint64 toUin = 2;
optional uint64 time = 3;
optional string fromNick = 4;
}
message Quest {
optional string id = 1;
optional string quest = 2;
optional uint64 questUin = 3;
optional uint64 time = 4;
optional string ans = 5;
optional uint64 ansTime = 6;
repeated Comment comment = 7;
repeated Praise praise = 8;
optional uint64 praiseNum = 9;
optional string likeKey = 10;
optional uint64 systemId = 11;
optional uint64 commentNum = 12;
optional uint64 showType = 13;
optional uint64 showTimes = 14;
optional uint64 beenPraised = 15;
optional bool questRead = 16;
optional uint64 ansShowType = 17;
}
message DEC4ReqBody {
optional uint64 uin = 1;
optional uint64 questNum = 2;
optional uint64 commentNum = 3;
optional bytes cookie = 4;
optional uint32 fetchType = 5;
}
message DEC4RspBody {
repeated Quest quest = 1;
optional bool isFetchOver = 2;
optional uint32 totalQuestNum = 3;
optional bytes cookie = 4;
optional uint32 ret = 5;
optional uint32 answeredQuestNum = 6;
}

View File

@ -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
}

View File

@ -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"
)

View File

@ -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 {

View File

@ -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 {

View File

@ -4,13 +4,13 @@ import (
"math/rand"
"time"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/client/pb/oidb"
"github.com/Mrs4s/MiraiGo/message"
"github.com/Mrs4s/MiraiGo/utils"
"github.com/pkg/errors"
"google.golang.org/protobuf/proto"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0xb77"
"github.com/Mrs4s/MiraiGo/message"
"github.com/Mrs4s/MiraiGo/utils"
)
type musicTypeInfo struct {
@ -95,34 +95,34 @@ func (c *QQClient) SendFriendMusicShare(target int64, msg *message.MusicShareEle
func (c *QQClient) buildRichMsgSendingPacket(target int64, msg *message.MusicShareElement, sendType uint32) (uint16, []byte) {
seq := c.nextSeq()
tp := musicType[msg.MusicType] // MusicType
body := &oidb.DB77ReqBody{
AppId: tp.appID,
AppType: tp.appType,
MsgStyle: func() uint32 {
body := &oidb0xb77.ReqBody{
AppId: &tp.appID,
AppType: &tp.appType,
Style: proto.Uint32(func() uint32 {
if msg.MusicUrl == "" {
return 0
}
return 4
}(),
ClientInfo: &oidb.DB77ClientInfo{
Platform: tp.platform,
SdkVersion: tp.sdkVersion,
AndroidPackageName: tp.packageName,
AndroidSignature: tp.signature,
}()),
ClientInfo: &oidb0xb77.ClientInfo{
Platform: &tp.platform,
SdkVersion: &tp.sdkVersion,
AndroidPackageName: &tp.packageName,
AndroidSignature: &tp.signature,
},
ExtInfo: &oidb.DB77ExtInfo{MsgSeq: rand.Uint64()},
SendType: sendType,
RecvUin: uint64(target),
RichMsgBody: &oidb.DB77RichMsgBody{
Title: msg.Title,
Summary: msg.Summary,
Brief: msg.Brief,
Url: msg.Url,
PictureUrl: msg.PictureUrl,
MusicUrl: msg.MusicUrl,
ExtInfo: &oidb0xb77.ExtInfo{Seq: proto.Uint64(rand.Uint64())},
SendType: &sendType,
RecvUin: proto.Uint64(uint64(target)),
RichMsgBody: &oidb0xb77.RichMsgBody{
Title: &msg.Title,
Summary: &msg.Summary,
Brief: &msg.Brief,
Url: &msg.Url,
PictureUrl: &msg.PictureUrl,
MusicUrl: &msg.MusicUrl,
},
}
b, _ := proto.Marshal(body)
b, _ := body.Marshal()
payload := c.packOIDBPackage(2935, 9, b)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0xb77_9", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet

View File

@ -1,10 +1,13 @@
package client
import (
"github.com/Mrs4s/MiraiGo/client/pb/oidb"
"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/internal/packets"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0xbcb"
)
func init() {
@ -30,8 +33,8 @@ func (c *QQClient) CheckUrlSafely(url string) UrlSecurityLevel {
func (c *QQClient) buildUrlCheckRequest(url string) (uint16, []byte) {
seq := c.nextSeq()
payload := c.packOIDBPackageProto(3019, 0, &oidb.DBCBReqBody{
CheckUrlReq: &oidb.CheckUrlReq{
payload := c.packOIDBPackageProto2(3019, 0, &oidb0xbcb.ReqBody{
CheckUrlReq: &oidb0xbcb.CheckUrlReq{
Url: []string{url},
QqPfTo: proto.String("mqq.group"),
Type: proto.Uint32(2),
@ -51,11 +54,11 @@ func (c *QQClient) buildUrlCheckRequest(url string) (uint16, []byte) {
func decodeUrlCheckResponse(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
pkg := &oidb.OIDBSSOPkg{}
rsp := &oidb.DBCBRspBody{}
if err := proto.Unmarshal(payload, pkg); err != nil {
rsp := &oidb0xbcb.RspBody{}
if err := protobuf.Unmarshal(payload, pkg); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if err := proto.Unmarshal(pkg.Bodybuffer, rsp); err != nil {
if err := protobuf.Unmarshal(pkg.Bodybuffer, rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if rsp.CheckUrlRsp == nil || len(rsp.CheckUrlRsp.Results) == 0 {

View File

@ -6,16 +6,16 @@ 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/binary/jce"
"github.com/Mrs4s/MiraiGo/client/pb/msf"
"github.com/Mrs4s/MiraiGo/client/pb/msg"
"github.com/Mrs4s/MiraiGo/client/pb/oidb"
"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"
"github.com/pkg/errors"
)
func init() {
@ -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),
@ -202,8 +202,8 @@ func (c *QQClient) buildGetOfflineMsgRequestPacket() (uint16, []byte) {
// RegPrxySvc.PbSyncMsg
func (c *QQClient) buildSyncMsgRequestPacket() (uint16, []byte) {
seq := c.nextSeq()
oidbReq, _ := proto.Marshal(&oidb.D769RspBody{
ConfigList: []*oidb.D769ConfigSeq{
oidbReq, _ := protobuf.Marshal(&oidb0x769.RspBody{
ConfigList: []*oidb0x769.ConfigSeq{
{
Type: proto.Uint32(46),
Version: proto.Uint32(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 {

View File

@ -1,29 +1,25 @@
package client
import (
"github.com/Mrs4s/MiraiGo/internal/packets"
"google.golang.org/protobuf/proto"
"github.com/Mrs4s/MiraiGo/client/pb/oidb"
"github.com/pkg/errors"
protobuf "github.com/segmentio/encoding/proto"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb"
"github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x990"
"github.com/Mrs4s/MiraiGo/utils"
)
func (c *QQClient) buildTranslatePacket(src, dst, text string) (uint16, []byte) {
seq := c.nextSeq()
body := &oidb.TranslateReqBody{
BatchTranslateReq: &oidb.BatchTranslateReq{
SrcLanguage: src,
DstLanguage: dst,
SrcTextList: []string{text},
body := &oidb0x990.ReqBody{
BatchTranslateReq: &oidb0x990.BatchTranslateReq{
SrcLanguage: &src,
DstLanguage: &dst,
SrcBytesTextList: [][]byte{utils.S2B(text)},
},
}
b, _ := proto.Marshal(body)
req := &oidb.OIDBSSOPkg{
Command: 2448,
ServiceType: 2,
Bodybuffer: b,
}
payload, _ := proto.Marshal(req)
payload := c.packOIDBPackageProto2(2448, 2, body)
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x990", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
return seq, packet
}
@ -33,11 +29,11 @@ func (c *QQClient) Translate(src, dst, text string) (string, error) {
if err != nil {
return "", err
}
if data, ok := rsp.(*oidb.BatchTranslateRsp); ok {
if data.ErrorCode != 0 {
if data, ok := rsp.(*oidb0x990.BatchTranslateRsp); ok {
if data.GetErrorCode() != 0 {
return "", errors.New(string(data.ErrorMsg))
}
return data.DstTextList[0], nil
return string(data.DstBytesTextList[0]), nil
}
return "", errors.New("decode error")
}
@ -45,11 +41,11 @@ func (c *QQClient) Translate(src, dst, text string) (string, error) {
// OidbSvc.0x990
func decodeTranslateResponse(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
pkg := oidb.OIDBSSOPkg{}
rsp := oidb.TranslateRspBody{}
if err := proto.Unmarshal(payload, &pkg); err != nil {
rsp := oidb0x990.RspBody{}
if err := protobuf.Unmarshal(payload, &pkg); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
if err := protobuf.Unmarshal(pkg.Bodybuffer, &rsp); err != nil {
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
}
return rsp.BatchTranslateRsp, nil

1
go.mod
View File

@ -5,6 +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.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

6
go.sum
View File

@ -5,10 +5,16 @@ github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/klauspost/compress v1.13.6 h1:P76CopJELS0TiO2mebmnzgWaajssP/EszplttgQxcgc=
github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
github.com/klauspost/cpuid/v2 v2.0.6 h1:dQ5ueTiftKxp0gyjKSx5+8BtPWkyQbd95m8Gys/RarI=
github.com/klauspost/cpuid/v2 v2.0.6/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
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.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=

View File

@ -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)
}

View File

@ -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)
}

View File

@ -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)
}

View File

@ -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)
}

File diff suppressed because it is too large Load Diff

View File

@ -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)
}

View File

@ -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)
}

View File

@ -0,0 +1,427 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: group_file_common/common.proto
package group_file_common
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type FeedsInfo struct {
BusId *uint32 `protobuf:"varint,1,opt"`
FileId *string `protobuf:"bytes,2,opt"`
MsgRandom *uint32 `protobuf:"varint,3,opt"`
Ext []byte `protobuf:"bytes,4,opt"`
FeedFlag *uint32 `protobuf:"varint,5,opt"`
}
func (x *FeedsInfo) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *FeedsInfo) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *FeedsInfo) GetMsgRandom() uint32 {
if x != nil && x.MsgRandom != nil {
return *x.MsgRandom
}
return 0
}
func (x *FeedsInfo) GetFeedFlag() uint32 {
if x != nil && x.FeedFlag != nil {
return *x.FeedFlag
}
return 0
}
func (x *FeedsInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type FeedsResult struct {
RetCode *int32 `protobuf:"varint,1,opt"`
Detail *string `protobuf:"bytes,2,opt"`
FileId *string `protobuf:"bytes,3,opt"`
BusId *uint32 `protobuf:"varint,4,opt"`
DeadTime *uint32 `protobuf:"varint,5,opt"`
}
func (x *FeedsResult) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *FeedsResult) GetDetail() string {
if x != nil && x.Detail != nil {
return *x.Detail
}
return ""
}
func (x *FeedsResult) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *FeedsResult) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *FeedsResult) GetDeadTime() uint32 {
if x != nil && x.DeadTime != nil {
return *x.DeadTime
}
return 0
}
func (x *FeedsResult) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type FileInfo struct {
FileId *string `protobuf:"bytes,1,opt"`
FileName *string `protobuf:"bytes,2,opt"`
FileSize *uint64 `protobuf:"varint,3,opt"`
BusId *uint32 `protobuf:"varint,4,opt"`
UploadedSize *uint64 `protobuf:"varint,5,opt"`
UploadTime *uint32 `protobuf:"varint,6,opt"`
DeadTime *uint32 `protobuf:"varint,7,opt"`
ModifyTime *uint32 `protobuf:"varint,8,opt"`
DownloadTimes *uint32 `protobuf:"varint,9,opt"`
Sha []byte `protobuf:"bytes,10,opt"`
Sha3 []byte `protobuf:"bytes,11,opt"`
Md5 []byte `protobuf:"bytes,12,opt"`
LocalPath *string `protobuf:"bytes,13,opt"`
UploaderName *string `protobuf:"bytes,14,opt"`
UploaderUin *uint64 `protobuf:"varint,15,opt"`
ParentFolderId *string `protobuf:"bytes,16,opt"`
SafeType *uint32 `protobuf:"varint,17,opt"`
FileBlobExt []byte `protobuf:"bytes,20,opt"`
OwnerUin *uint64 `protobuf:"varint,21,opt"`
FeedId *string `protobuf:"bytes,22,opt"`
ReservedField []byte `protobuf:"bytes,23,opt"`
}
func (x *FileInfo) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *FileInfo) GetFileName() string {
if x != nil && x.FileName != nil {
return *x.FileName
}
return ""
}
func (x *FileInfo) GetFileSize() uint64 {
if x != nil && x.FileSize != nil {
return *x.FileSize
}
return 0
}
func (x *FileInfo) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *FileInfo) GetUploadedSize() uint64 {
if x != nil && x.UploadedSize != nil {
return *x.UploadedSize
}
return 0
}
func (x *FileInfo) GetUploadTime() uint32 {
if x != nil && x.UploadTime != nil {
return *x.UploadTime
}
return 0
}
func (x *FileInfo) GetDeadTime() uint32 {
if x != nil && x.DeadTime != nil {
return *x.DeadTime
}
return 0
}
func (x *FileInfo) GetModifyTime() uint32 {
if x != nil && x.ModifyTime != nil {
return *x.ModifyTime
}
return 0
}
func (x *FileInfo) GetDownloadTimes() uint32 {
if x != nil && x.DownloadTimes != nil {
return *x.DownloadTimes
}
return 0
}
func (x *FileInfo) GetLocalPath() string {
if x != nil && x.LocalPath != nil {
return *x.LocalPath
}
return ""
}
func (x *FileInfo) GetUploaderName() string {
if x != nil && x.UploaderName != nil {
return *x.UploaderName
}
return ""
}
func (x *FileInfo) GetUploaderUin() uint64 {
if x != nil && x.UploaderUin != nil {
return *x.UploaderUin
}
return 0
}
func (x *FileInfo) GetParentFolderId() string {
if x != nil && x.ParentFolderId != nil {
return *x.ParentFolderId
}
return ""
}
func (x *FileInfo) GetSafeType() uint32 {
if x != nil && x.SafeType != nil {
return *x.SafeType
}
return 0
}
func (x *FileInfo) GetOwnerUin() uint64 {
if x != nil && x.OwnerUin != nil {
return *x.OwnerUin
}
return 0
}
func (x *FileInfo) GetFeedId() string {
if x != nil && x.FeedId != nil {
return *x.FeedId
}
return ""
}
func (x *FileInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type FileInfoTmem struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
Files []*FileInfo `protobuf:"bytes,2,rep"`
}
func (x *FileInfoTmem) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *FileInfoTmem) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type FileItem struct {
Type *uint32 `protobuf:"varint,1,opt"`
FolderInfo *FolderInfo `protobuf:"bytes,2,opt"`
FileInfo *FileInfo `protobuf:"bytes,3,opt"`
}
func (x *FileItem) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *FileItem) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type FolderInfo struct {
FolderId *string `protobuf:"bytes,1,opt"`
ParentFolderId *string `protobuf:"bytes,2,opt"`
FolderName *string `protobuf:"bytes,3,opt"`
CreateTime *uint32 `protobuf:"varint,4,opt"`
ModifyTime *uint32 `protobuf:"varint,5,opt"`
CreateUin *uint64 `protobuf:"varint,6,opt"`
CreatorName *string `protobuf:"bytes,7,opt"`
TotalFileCount *uint32 `protobuf:"varint,8,opt"`
ModifyUin *uint64 `protobuf:"varint,9,opt"`
ModifyName *string `protobuf:"bytes,10,opt"`
UsedSpace *uint64 `protobuf:"varint,11,opt"`
}
func (x *FolderInfo) GetFolderId() string {
if x != nil && x.FolderId != nil {
return *x.FolderId
}
return ""
}
func (x *FolderInfo) GetParentFolderId() string {
if x != nil && x.ParentFolderId != nil {
return *x.ParentFolderId
}
return ""
}
func (x *FolderInfo) GetFolderName() string {
if x != nil && x.FolderName != nil {
return *x.FolderName
}
return ""
}
func (x *FolderInfo) GetCreateTime() uint32 {
if x != nil && x.CreateTime != nil {
return *x.CreateTime
}
return 0
}
func (x *FolderInfo) GetModifyTime() uint32 {
if x != nil && x.ModifyTime != nil {
return *x.ModifyTime
}
return 0
}
func (x *FolderInfo) GetCreateUin() uint64 {
if x != nil && x.CreateUin != nil {
return *x.CreateUin
}
return 0
}
func (x *FolderInfo) GetCreatorName() string {
if x != nil && x.CreatorName != nil {
return *x.CreatorName
}
return ""
}
func (x *FolderInfo) GetTotalFileCount() uint32 {
if x != nil && x.TotalFileCount != nil {
return *x.TotalFileCount
}
return 0
}
func (x *FolderInfo) GetModifyUin() uint64 {
if x != nil && x.ModifyUin != nil {
return *x.ModifyUin
}
return 0
}
func (x *FolderInfo) GetModifyName() string {
if x != nil && x.ModifyName != nil {
return *x.ModifyName
}
return ""
}
func (x *FolderInfo) GetUsedSpace() uint64 {
if x != nil && x.UsedSpace != nil {
return *x.UsedSpace
}
return 0
}
func (x *FolderInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type FolderInfoTmem struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
Folders []*FolderInfo `protobuf:"bytes,2,rep"`
}
func (x *FolderInfoTmem) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *FolderInfoTmem) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type OverwriteInfo struct {
FileId *string `protobuf:"bytes,1,opt"`
DownloadTimes *uint32 `protobuf:"varint,2,opt"`
}
func (x *OverwriteInfo) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *OverwriteInfo) GetDownloadTimes() uint32 {
if x != nil && x.DownloadTimes != nil {
return *x.DownloadTimes
}
return 0
}
func (x *OverwriteInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -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)
}

File diff suppressed because it is too large Load Diff

View File

@ -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)
}

View File

@ -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)
}

View File

@ -0,0 +1,745 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0x6d6.proto
package oidb0x6d6
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type DeleteFileReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
BusId *uint32 `protobuf:"varint,3,opt"`
ParentFolderId *string `protobuf:"bytes,4,opt"`
FileId *string `protobuf:"bytes,5,opt"`
MsgdbSeq *uint32 `protobuf:"varint,6,opt"`
MsgRand *uint32 `protobuf:"varint,7,opt"`
}
func (x *DeleteFileReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *DeleteFileReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *DeleteFileReqBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *DeleteFileReqBody) GetParentFolderId() string {
if x != nil && x.ParentFolderId != nil {
return *x.ParentFolderId
}
return ""
}
func (x *DeleteFileReqBody) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *DeleteFileReqBody) GetMsgdbSeq() uint32 {
if x != nil && x.MsgdbSeq != nil {
return *x.MsgdbSeq
}
return 0
}
func (x *DeleteFileReqBody) GetMsgRand() uint32 {
if x != nil && x.MsgRand != nil {
return *x.MsgRand
}
return 0
}
func (x *DeleteFileReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type DeleteFileRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
}
func (x *DeleteFileRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *DeleteFileRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *DeleteFileRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *DeleteFileRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type DownloadFileReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
BusId *uint32 `protobuf:"varint,3,opt"`
FileId *string `protobuf:"bytes,4,opt"`
ThumbnailReq *bool `protobuf:"varint,5,opt"`
UrlType *uint32 `protobuf:"varint,6,opt"`
PreviewReq *bool `protobuf:"varint,7,opt"`
Src *uint32 `protobuf:"varint,8,opt"`
}
func (x *DownloadFileReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *DownloadFileReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *DownloadFileReqBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *DownloadFileReqBody) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *DownloadFileReqBody) GetThumbnailReq() bool {
if x != nil && x.ThumbnailReq != nil {
return *x.ThumbnailReq
}
return false
}
func (x *DownloadFileReqBody) GetUrlType() uint32 {
if x != nil && x.UrlType != nil {
return *x.UrlType
}
return 0
}
func (x *DownloadFileReqBody) GetPreviewReq() bool {
if x != nil && x.PreviewReq != nil {
return *x.PreviewReq
}
return false
}
func (x *DownloadFileReqBody) GetSrc() uint32 {
if x != nil && x.Src != nil {
return *x.Src
}
return 0
}
func (x *DownloadFileReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type DownloadFileRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
DownloadIp *string `protobuf:"bytes,4,opt"`
DownloadDns []byte `protobuf:"bytes,5,opt"`
DownloadUrl []byte `protobuf:"bytes,6,opt"`
Sha []byte `protobuf:"bytes,7,opt"`
Sha3 []byte `protobuf:"bytes,8,opt"`
Md5 []byte `protobuf:"bytes,9,opt"`
CookieVal []byte `protobuf:"bytes,10,opt"`
SaveFileName *string `protobuf:"bytes,11,opt"`
PreviewPort *uint32 `protobuf:"varint,12,opt"`
DownloadDnsHttps *string `protobuf:"bytes,13,opt"`
PreviewPortHttps *uint32 `protobuf:"varint,14,opt"`
}
func (x *DownloadFileRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *DownloadFileRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *DownloadFileRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *DownloadFileRspBody) GetDownloadIp() string {
if x != nil && x.DownloadIp != nil {
return *x.DownloadIp
}
return ""
}
func (x *DownloadFileRspBody) GetSaveFileName() string {
if x != nil && x.SaveFileName != nil {
return *x.SaveFileName
}
return ""
}
func (x *DownloadFileRspBody) GetPreviewPort() uint32 {
if x != nil && x.PreviewPort != nil {
return *x.PreviewPort
}
return 0
}
func (x *DownloadFileRspBody) GetDownloadDnsHttps() string {
if x != nil && x.DownloadDnsHttps != nil {
return *x.DownloadDnsHttps
}
return ""
}
func (x *DownloadFileRspBody) GetPreviewPortHttps() uint32 {
if x != nil && x.PreviewPortHttps != nil {
return *x.PreviewPortHttps
}
return 0
}
func (x *DownloadFileRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type MoveFileReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
BusId *uint32 `protobuf:"varint,3,opt"`
FileId *string `protobuf:"bytes,4,opt"`
ParentFolderId *string `protobuf:"bytes,5,opt"`
DestFolderId *string `protobuf:"bytes,6,opt"`
}
func (x *MoveFileReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *MoveFileReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *MoveFileReqBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *MoveFileReqBody) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *MoveFileReqBody) GetParentFolderId() string {
if x != nil && x.ParentFolderId != nil {
return *x.ParentFolderId
}
return ""
}
func (x *MoveFileReqBody) GetDestFolderId() string {
if x != nil && x.DestFolderId != nil {
return *x.DestFolderId
}
return ""
}
func (x *MoveFileReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type MoveFileRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
ParentFolderId *string `protobuf:"bytes,4,opt"`
}
func (x *MoveFileRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *MoveFileRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *MoveFileRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *MoveFileRspBody) GetParentFolderId() string {
if x != nil && x.ParentFolderId != nil {
return *x.ParentFolderId
}
return ""
}
func (x *MoveFileRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RenameFileReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
BusId *uint32 `protobuf:"varint,3,opt"`
FileId *string `protobuf:"bytes,4,opt"`
ParentFolderId *string `protobuf:"bytes,5,opt"`
NewFileName *string `protobuf:"bytes,6,opt"`
}
func (x *RenameFileReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *RenameFileReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *RenameFileReqBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *RenameFileReqBody) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *RenameFileReqBody) GetParentFolderId() string {
if x != nil && x.ParentFolderId != nil {
return *x.ParentFolderId
}
return ""
}
func (x *RenameFileReqBody) GetNewFileName() string {
if x != nil && x.NewFileName != nil {
return *x.NewFileName
}
return ""
}
func (x *RenameFileReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RenameFileRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
}
func (x *RenameFileRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *RenameFileRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *RenameFileRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *RenameFileRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
UploadFileReq *UploadFileReqBody `protobuf:"bytes,1,opt"`
ResendFileReq *ResendReqBody `protobuf:"bytes,2,opt"`
DownloadFileReq *DownloadFileReqBody `protobuf:"bytes,3,opt"`
DeleteFileReq *DeleteFileReqBody `protobuf:"bytes,4,opt"`
RenameFileReq *RenameFileReqBody `protobuf:"bytes,5,opt"`
MoveFileReq *MoveFileReqBody `protobuf:"bytes,6,opt"`
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ResendReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
BusId *uint32 `protobuf:"varint,3,opt"`
FileId *string `protobuf:"bytes,4,opt"`
Sha []byte `protobuf:"bytes,5,opt"`
}
func (x *ResendReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *ResendReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *ResendReqBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *ResendReqBody) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *ResendReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ResendRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
UploadIp *string `protobuf:"bytes,4,opt"`
FileKey []byte `protobuf:"bytes,5,opt"`
CheckKey []byte `protobuf:"bytes,6,opt"`
}
func (x *ResendRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *ResendRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *ResendRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *ResendRspBody) GetUploadIp() string {
if x != nil && x.UploadIp != nil {
return *x.UploadIp
}
return ""
}
func (x *ResendRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
UploadFileRsp *UploadFileRspBody `protobuf:"bytes,1,opt"`
ResendFileRsp *ResendRspBody `protobuf:"bytes,2,opt"`
DownloadFileRsp *DownloadFileRspBody `protobuf:"bytes,3,opt"`
DeleteFileRsp *DeleteFileRspBody `protobuf:"bytes,4,opt"`
RenameFileRsp *RenameFileRspBody `protobuf:"bytes,5,opt"`
MoveFileRsp *MoveFileRspBody `protobuf:"bytes,6,opt"`
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type UploadFileReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
BusId *uint32 `protobuf:"varint,3,opt"`
Entrance *uint32 `protobuf:"varint,4,opt"`
ParentFolderId *string `protobuf:"bytes,5,opt"`
FileName *string `protobuf:"bytes,6,opt"`
LocalPath *string `protobuf:"bytes,7,opt"`
FileSize *uint64 `protobuf:"varint,8,opt"`
Sha []byte `protobuf:"bytes,9,opt"`
Sha3 []byte `protobuf:"bytes,10,opt"`
Md5 []byte `protobuf:"bytes,11,opt"`
SupportMultiUpload *bool `protobuf:"varint,15,opt"`
}
func (x *UploadFileReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *UploadFileReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *UploadFileReqBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *UploadFileReqBody) GetEntrance() uint32 {
if x != nil && x.Entrance != nil {
return *x.Entrance
}
return 0
}
func (x *UploadFileReqBody) GetParentFolderId() string {
if x != nil && x.ParentFolderId != nil {
return *x.ParentFolderId
}
return ""
}
func (x *UploadFileReqBody) GetFileName() string {
if x != nil && x.FileName != nil {
return *x.FileName
}
return ""
}
func (x *UploadFileReqBody) GetLocalPath() string {
if x != nil && x.LocalPath != nil {
return *x.LocalPath
}
return ""
}
func (x *UploadFileReqBody) GetFileSize() uint64 {
if x != nil && x.FileSize != nil {
return *x.FileSize
}
return 0
}
func (x *UploadFileReqBody) GetSupportMultiUpload() bool {
if x != nil && x.SupportMultiUpload != nil {
return *x.SupportMultiUpload
}
return false
}
func (x *UploadFileReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type UploadFileRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
UploadIp *string `protobuf:"bytes,4,opt"`
ServerDns *string `protobuf:"bytes,5,opt"`
BusId *uint32 `protobuf:"varint,6,opt"`
FileId *string `protobuf:"bytes,7,opt"`
FileKey []byte `protobuf:"bytes,8,opt"`
CheckKey []byte `protobuf:"bytes,9,opt"`
FileExist *bool `protobuf:"varint,10,opt"`
UploadIpLanV4 []string `protobuf:"bytes,12,rep"`
UploadIpLanV6 []string `protobuf:"bytes,13,rep"`
UploadPort *uint32 `protobuf:"varint,14,opt"`
}
func (x *UploadFileRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *UploadFileRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *UploadFileRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *UploadFileRspBody) GetUploadIp() string {
if x != nil && x.UploadIp != nil {
return *x.UploadIp
}
return ""
}
func (x *UploadFileRspBody) GetServerDns() string {
if x != nil && x.ServerDns != nil {
return *x.ServerDns
}
return ""
}
func (x *UploadFileRspBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *UploadFileRspBody) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *UploadFileRspBody) GetFileExist() bool {
if x != nil && x.FileExist != nil {
return *x.FileExist
}
return false
}
func (x *UploadFileRspBody) GetUploadPort() uint32 {
if x != nil && x.UploadPort != nil {
return *x.UploadPort
}
return 0
}
func (x *UploadFileRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,345 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0x6d7.proto
package oidb0x6d7
import (
group_file_common "github.com/Mrs4s/MiraiGo/internal/protobuf/data/group_file_common"
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type CreateFolderReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
ParentFolderId *string `protobuf:"bytes,3,opt"`
FolderName *string `protobuf:"bytes,4,opt"`
}
func (x *CreateFolderReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *CreateFolderReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *CreateFolderReqBody) GetParentFolderId() string {
if x != nil && x.ParentFolderId != nil {
return *x.ParentFolderId
}
return ""
}
func (x *CreateFolderReqBody) GetFolderName() string {
if x != nil && x.FolderName != nil {
return *x.FolderName
}
return ""
}
func (x *CreateFolderReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type CreateFolderRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
FolderInfo *group_file_common.FolderInfo `protobuf:"bytes,4,opt"`
}
func (x *CreateFolderRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *CreateFolderRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *CreateFolderRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *CreateFolderRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type DeleteFolderReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
FolderId *string `protobuf:"bytes,3,opt"`
}
func (x *DeleteFolderReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *DeleteFolderReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *DeleteFolderReqBody) GetFolderId() string {
if x != nil && x.FolderId != nil {
return *x.FolderId
}
return ""
}
func (x *DeleteFolderReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type DeleteFolderRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
}
func (x *DeleteFolderRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *DeleteFolderRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *DeleteFolderRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *DeleteFolderRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type MoveFolderReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
FolderId *string `protobuf:"bytes,3,opt"`
ParentFolderId *string `protobuf:"bytes,4,opt"`
DestFolderId *string `protobuf:"bytes,5,opt"`
}
func (x *MoveFolderReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *MoveFolderReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *MoveFolderReqBody) GetFolderId() string {
if x != nil && x.FolderId != nil {
return *x.FolderId
}
return ""
}
func (x *MoveFolderReqBody) GetParentFolderId() string {
if x != nil && x.ParentFolderId != nil {
return *x.ParentFolderId
}
return ""
}
func (x *MoveFolderReqBody) GetDestFolderId() string {
if x != nil && x.DestFolderId != nil {
return *x.DestFolderId
}
return ""
}
func (x *MoveFolderReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type MoveFolderRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
FolderInfo *group_file_common.FolderInfo `protobuf:"bytes,4,opt"`
}
func (x *MoveFolderRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *MoveFolderRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *MoveFolderRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *MoveFolderRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RenameFolderReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
FolderId *string `protobuf:"bytes,3,opt"`
NewFolderName *string `protobuf:"bytes,4,opt"`
}
func (x *RenameFolderReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *RenameFolderReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *RenameFolderReqBody) GetFolderId() string {
if x != nil && x.FolderId != nil {
return *x.FolderId
}
return ""
}
func (x *RenameFolderReqBody) GetNewFolderName() string {
if x != nil && x.NewFolderName != nil {
return *x.NewFolderName
}
return ""
}
func (x *RenameFolderReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RenameFolderRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
FolderInfo *group_file_common.FolderInfo `protobuf:"bytes,4,opt"`
}
func (x *RenameFolderRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *RenameFolderRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *RenameFolderRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *RenameFolderRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
CreateFolderReq *CreateFolderReqBody `protobuf:"bytes,1,opt"`
DeleteFolderReq *DeleteFolderReqBody `protobuf:"bytes,2,opt"`
RenameFolderReq *RenameFolderReqBody `protobuf:"bytes,3,opt"`
MoveFolderReq *MoveFolderReqBody `protobuf:"bytes,4,opt"`
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
CreateFolderRsp *CreateFolderRspBody `protobuf:"bytes,1,opt"`
DeleteFolderRsp *DeleteFolderRspBody `protobuf:"bytes,2,opt"`
RenameFolderRsp *RenameFolderRspBody `protobuf:"bytes,3,opt"`
MoveFolderRsp *MoveFolderRspBody `protobuf:"bytes,4,opt"`
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,708 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0x6d8.proto
package oidb0x6d8
import (
group_file_common "github.com/Mrs4s/MiraiGo/internal/protobuf/data/group_file_common"
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type FileTimeStamp struct {
UploadTime *uint32 `protobuf:"varint,1,opt"`
FileId *string `protobuf:"bytes,2,opt"`
}
func (x *FileTimeStamp) GetUploadTime() uint32 {
if x != nil && x.UploadTime != nil {
return *x.UploadTime
}
return 0
}
func (x *FileTimeStamp) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *FileTimeStamp) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GetFileCountReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
BusId *uint32 `protobuf:"varint,3,opt"`
}
func (x *GetFileCountReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *GetFileCountReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *GetFileCountReqBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *GetFileCountReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GetFileCountRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
AllFileCount *uint32 `protobuf:"varint,4,opt"`
FileTooMany *bool `protobuf:"varint,5,opt"`
LimitCount *uint32 `protobuf:"varint,6,opt"`
IsFull *bool `protobuf:"varint,7,opt"`
}
func (x *GetFileCountRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *GetFileCountRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *GetFileCountRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *GetFileCountRspBody) GetAllFileCount() uint32 {
if x != nil && x.AllFileCount != nil {
return *x.AllFileCount
}
return 0
}
func (x *GetFileCountRspBody) GetFileTooMany() bool {
if x != nil && x.FileTooMany != nil {
return *x.FileTooMany
}
return false
}
func (x *GetFileCountRspBody) GetLimitCount() uint32 {
if x != nil && x.LimitCount != nil {
return *x.LimitCount
}
return 0
}
func (x *GetFileCountRspBody) GetIsFull() bool {
if x != nil && x.IsFull != nil {
return *x.IsFull
}
return false
}
func (x *GetFileCountRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GetFileInfoReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
BusId *uint32 `protobuf:"varint,3,opt"`
FileId *string `protobuf:"bytes,4,opt"`
FieldFlag *uint32 `protobuf:"varint,5,opt"`
}
func (x *GetFileInfoReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *GetFileInfoReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *GetFileInfoReqBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *GetFileInfoReqBody) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *GetFileInfoReqBody) GetFieldFlag() uint32 {
if x != nil && x.FieldFlag != nil {
return *x.FieldFlag
}
return 0
}
func (x *GetFileInfoReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GetFileInfoRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
FileInfo *group_file_common.FileInfo `protobuf:"bytes,4,opt"`
}
func (x *GetFileInfoRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *GetFileInfoRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *GetFileInfoRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *GetFileInfoRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GetFileListReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
FolderId *string `protobuf:"bytes,3,opt"`
StartTimestamp *FileTimeStamp `protobuf:"bytes,4,opt"`
FileCount *uint32 `protobuf:"varint,5,opt"`
MaxTimestamp *FileTimeStamp `protobuf:"bytes,6,opt"`
AllFileCount *uint32 `protobuf:"varint,7,opt"`
ReqFrom *uint32 `protobuf:"varint,8,opt"`
SortBy *uint32 `protobuf:"varint,9,opt"`
FilterCode *uint32 `protobuf:"varint,10,opt"`
Uin *uint64 `protobuf:"varint,11,opt"`
FieldFlag *uint32 `protobuf:"varint,12,opt"`
StartIndex *uint32 `protobuf:"varint,13,opt"`
Context []byte `protobuf:"bytes,14,opt"`
ClientVersion *uint32 `protobuf:"varint,15,opt"`
WhiteList *uint32 `protobuf:"varint,16,opt"`
SortOrder *uint32 `protobuf:"varint,17,opt"`
ShowOnlinedocFolder *uint32 `protobuf:"varint,18,opt"`
}
func (x *GetFileListReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *GetFileListReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *GetFileListReqBody) GetFolderId() string {
if x != nil && x.FolderId != nil {
return *x.FolderId
}
return ""
}
func (x *GetFileListReqBody) GetFileCount() uint32 {
if x != nil && x.FileCount != nil {
return *x.FileCount
}
return 0
}
func (x *GetFileListReqBody) GetAllFileCount() uint32 {
if x != nil && x.AllFileCount != nil {
return *x.AllFileCount
}
return 0
}
func (x *GetFileListReqBody) GetReqFrom() uint32 {
if x != nil && x.ReqFrom != nil {
return *x.ReqFrom
}
return 0
}
func (x *GetFileListReqBody) GetSortBy() uint32 {
if x != nil && x.SortBy != nil {
return *x.SortBy
}
return 0
}
func (x *GetFileListReqBody) GetFilterCode() uint32 {
if x != nil && x.FilterCode != nil {
return *x.FilterCode
}
return 0
}
func (x *GetFileListReqBody) GetUin() uint64 {
if x != nil && x.Uin != nil {
return *x.Uin
}
return 0
}
func (x *GetFileListReqBody) GetFieldFlag() uint32 {
if x != nil && x.FieldFlag != nil {
return *x.FieldFlag
}
return 0
}
func (x *GetFileListReqBody) GetStartIndex() uint32 {
if x != nil && x.StartIndex != nil {
return *x.StartIndex
}
return 0
}
func (x *GetFileListReqBody) GetClientVersion() uint32 {
if x != nil && x.ClientVersion != nil {
return *x.ClientVersion
}
return 0
}
func (x *GetFileListReqBody) GetWhiteList() uint32 {
if x != nil && x.WhiteList != nil {
return *x.WhiteList
}
return 0
}
func (x *GetFileListReqBody) GetSortOrder() uint32 {
if x != nil && x.SortOrder != nil {
return *x.SortOrder
}
return 0
}
func (x *GetFileListReqBody) GetShowOnlinedocFolder() uint32 {
if x != nil && x.ShowOnlinedocFolder != nil {
return *x.ShowOnlinedocFolder
}
return 0
}
func (x *GetFileListReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GetFileListRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
IsEnd *bool `protobuf:"varint,4,opt"`
ItemList []*GetFileListRspBody_Item `protobuf:"bytes,5,rep"`
MaxTimestamp *FileTimeStamp `protobuf:"bytes,6,opt"`
AllFileCount *uint32 `protobuf:"varint,7,opt"`
FilterCode *uint32 `protobuf:"varint,8,opt"`
SafeCheckFlag *bool `protobuf:"varint,11,opt"`
SafeCheckRes *uint32 `protobuf:"varint,12,opt"`
NextIndex *uint32 `protobuf:"varint,13,opt"`
Context []byte `protobuf:"bytes,14,opt"`
Role *uint32 `protobuf:"varint,15,opt"`
OpenFlag *uint32 `protobuf:"varint,16,opt"`
}
func (x *GetFileListRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *GetFileListRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *GetFileListRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *GetFileListRspBody) GetIsEnd() bool {
if x != nil && x.IsEnd != nil {
return *x.IsEnd
}
return false
}
func (x *GetFileListRspBody) GetAllFileCount() uint32 {
if x != nil && x.AllFileCount != nil {
return *x.AllFileCount
}
return 0
}
func (x *GetFileListRspBody) GetFilterCode() uint32 {
if x != nil && x.FilterCode != nil {
return *x.FilterCode
}
return 0
}
func (x *GetFileListRspBody) GetSafeCheckFlag() bool {
if x != nil && x.SafeCheckFlag != nil {
return *x.SafeCheckFlag
}
return false
}
func (x *GetFileListRspBody) GetSafeCheckRes() uint32 {
if x != nil && x.SafeCheckRes != nil {
return *x.SafeCheckRes
}
return 0
}
func (x *GetFileListRspBody) GetNextIndex() uint32 {
if x != nil && x.NextIndex != nil {
return *x.NextIndex
}
return 0
}
func (x *GetFileListRspBody) GetRole() uint32 {
if x != nil && x.Role != nil {
return *x.Role
}
return 0
}
func (x *GetFileListRspBody) GetOpenFlag() uint32 {
if x != nil && x.OpenFlag != nil {
return *x.OpenFlag
}
return 0
}
func (x *GetFileListRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GetFilePreviewReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
BusId *uint32 `protobuf:"varint,3,opt"`
FileId *string `protobuf:"bytes,4,opt"`
}
func (x *GetFilePreviewReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *GetFilePreviewReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *GetFilePreviewReqBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *GetFilePreviewReqBody) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *GetFilePreviewReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GetFilePreviewRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
ServerIp *uint32 `protobuf:"varint,4,opt"`
ServerPort *uint32 `protobuf:"varint,5,opt"`
DownloadDns *string `protobuf:"bytes,6,opt"`
DownloadUrl []byte `protobuf:"bytes,7,opt"`
CookieVal *string `protobuf:"bytes,8,opt"`
ReservedField []byte `protobuf:"bytes,9,opt"`
DownloadDnsHttps []byte `protobuf:"bytes,10,opt"`
PreviewPortHttps *uint32 `protobuf:"varint,11,opt"`
}
func (x *GetFilePreviewRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *GetFilePreviewRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *GetFilePreviewRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *GetFilePreviewRspBody) GetServerIp() uint32 {
if x != nil && x.ServerIp != nil {
return *x.ServerIp
}
return 0
}
func (x *GetFilePreviewRspBody) GetServerPort() uint32 {
if x != nil && x.ServerPort != nil {
return *x.ServerPort
}
return 0
}
func (x *GetFilePreviewRspBody) GetDownloadDns() string {
if x != nil && x.DownloadDns != nil {
return *x.DownloadDns
}
return ""
}
func (x *GetFilePreviewRspBody) GetCookieVal() string {
if x != nil && x.CookieVal != nil {
return *x.CookieVal
}
return ""
}
func (x *GetFilePreviewRspBody) GetPreviewPortHttps() uint32 {
if x != nil && x.PreviewPortHttps != nil {
return *x.PreviewPortHttps
}
return 0
}
func (x *GetFilePreviewRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GetSpaceReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
}
func (x *GetSpaceReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *GetSpaceReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *GetSpaceReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GetSpaceRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
TotalSpace *uint64 `protobuf:"varint,4,opt"`
UsedSpace *uint64 `protobuf:"varint,5,opt"`
AllUpload *bool `protobuf:"varint,6,opt"`
}
func (x *GetSpaceRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *GetSpaceRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *GetSpaceRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *GetSpaceRspBody) GetTotalSpace() uint64 {
if x != nil && x.TotalSpace != nil {
return *x.TotalSpace
}
return 0
}
func (x *GetSpaceRspBody) GetUsedSpace() uint64 {
if x != nil && x.UsedSpace != nil {
return *x.UsedSpace
}
return 0
}
func (x *GetSpaceRspBody) GetAllUpload() bool {
if x != nil && x.AllUpload != nil {
return *x.AllUpload
}
return false
}
func (x *GetSpaceRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GetFileListRspBody_Item struct {
Type *uint32 `protobuf:"varint,1,opt"`
FolderInfo *group_file_common.FolderInfo `protobuf:"bytes,2,opt"`
FileInfo *group_file_common.FileInfo `protobuf:"bytes,3,opt"`
}
func (x *GetFileListRspBody_Item) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *GetFileListRspBody_Item) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
FileInfoReq *GetFileInfoReqBody `protobuf:"bytes,1,opt"`
FileListInfoReq *GetFileListReqBody `protobuf:"bytes,2,opt"`
GroupFileCntReq *GetFileCountReqBody `protobuf:"bytes,3,opt"`
GroupSpaceReq *GetSpaceReqBody `protobuf:"bytes,4,opt"`
FilePreviewReq *GetFilePreviewReqBody `protobuf:"bytes,5,opt"`
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
FileInfoRsp *GetFileInfoRspBody `protobuf:"bytes,1,opt"`
FileListInfoRsp *GetFileListRspBody `protobuf:"bytes,2,opt"`
GroupFileCntRsp *GetFileCountRspBody `protobuf:"bytes,3,opt"`
GroupSpaceRsp *GetSpaceRspBody `protobuf:"bytes,4,opt"`
FilePreviewRsp *GetFilePreviewRspBody `protobuf:"bytes,5,opt"`
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,464 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0x6d9.proto
package oidb0x6d9
import (
group_file_common "github.com/Mrs4s/MiraiGo/internal/protobuf/data/group_file_common"
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type CopyFromReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
SrcBusId *uint32 `protobuf:"varint,3,opt"`
SrcParentFolder []byte `protobuf:"bytes,4,opt"`
SrcFilePath []byte `protobuf:"bytes,5,opt"`
DstBusId *uint32 `protobuf:"varint,6,opt"`
DstFolderId []byte `protobuf:"bytes,7,opt"`
FileSize *uint64 `protobuf:"varint,8,opt"`
LocalPath *string `protobuf:"bytes,9,opt"`
FileName *string `protobuf:"bytes,10,opt"`
SrcUin *uint64 `protobuf:"varint,11,opt"`
Md5 []byte `protobuf:"bytes,12,opt"`
}
func (x *CopyFromReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *CopyFromReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *CopyFromReqBody) GetSrcBusId() uint32 {
if x != nil && x.SrcBusId != nil {
return *x.SrcBusId
}
return 0
}
func (x *CopyFromReqBody) GetDstBusId() uint32 {
if x != nil && x.DstBusId != nil {
return *x.DstBusId
}
return 0
}
func (x *CopyFromReqBody) GetFileSize() uint64 {
if x != nil && x.FileSize != nil {
return *x.FileSize
}
return 0
}
func (x *CopyFromReqBody) GetLocalPath() string {
if x != nil && x.LocalPath != nil {
return *x.LocalPath
}
return ""
}
func (x *CopyFromReqBody) GetFileName() string {
if x != nil && x.FileName != nil {
return *x.FileName
}
return ""
}
func (x *CopyFromReqBody) GetSrcUin() uint64 {
if x != nil && x.SrcUin != nil {
return *x.SrcUin
}
return 0
}
func (x *CopyFromReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type CopyFromRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
SaveFilePath []byte `protobuf:"bytes,4,opt"`
BusId *uint32 `protobuf:"varint,5,opt"`
}
func (x *CopyFromRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *CopyFromRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *CopyFromRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *CopyFromRspBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *CopyFromRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type CopyToReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
SrcBusId *uint32 `protobuf:"varint,3,opt"`
SrcFileId *string `protobuf:"bytes,4,opt"`
DstBusId *uint32 `protobuf:"varint,5,opt"`
DstUin *uint64 `protobuf:"varint,6,opt"`
NewFileName *string `protobuf:"bytes,40,opt"`
TimCloudPdirKey []byte `protobuf:"bytes,100,opt"`
TimCloudPpdirKey []byte `protobuf:"bytes,101,opt"`
TimCloudExtensionInfo []byte `protobuf:"bytes,102,opt"`
TimFileExistOption *uint32 `protobuf:"varint,103,opt"`
}
func (x *CopyToReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *CopyToReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *CopyToReqBody) GetSrcBusId() uint32 {
if x != nil && x.SrcBusId != nil {
return *x.SrcBusId
}
return 0
}
func (x *CopyToReqBody) GetSrcFileId() string {
if x != nil && x.SrcFileId != nil {
return *x.SrcFileId
}
return ""
}
func (x *CopyToReqBody) GetDstBusId() uint32 {
if x != nil && x.DstBusId != nil {
return *x.DstBusId
}
return 0
}
func (x *CopyToReqBody) GetDstUin() uint64 {
if x != nil && x.DstUin != nil {
return *x.DstUin
}
return 0
}
func (x *CopyToReqBody) GetNewFileName() string {
if x != nil && x.NewFileName != nil {
return *x.NewFileName
}
return ""
}
func (x *CopyToReqBody) GetTimFileExistOption() uint32 {
if x != nil && x.TimFileExistOption != nil {
return *x.TimFileExistOption
}
return 0
}
func (x *CopyToReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type CopyToRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
SaveFilePath *string `protobuf:"bytes,4,opt"`
BusId *uint32 `protobuf:"varint,5,opt"`
FileName *string `protobuf:"bytes,40,opt"`
}
func (x *CopyToRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *CopyToRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *CopyToRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *CopyToRspBody) GetSaveFilePath() string {
if x != nil && x.SaveFilePath != nil {
return *x.SaveFilePath
}
return ""
}
func (x *CopyToRspBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *CopyToRspBody) GetFileName() string {
if x != nil && x.FileName != nil {
return *x.FileName
}
return ""
}
func (x *CopyToRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type FeedsReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
FeedsInfoList []*group_file_common.FeedsInfo `protobuf:"bytes,3,rep"`
MultiSendSeq *uint32 `protobuf:"varint,4,opt"`
}
func (x *FeedsReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *FeedsReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *FeedsReqBody) GetMultiSendSeq() uint32 {
if x != nil && x.MultiSendSeq != nil {
return *x.MultiSendSeq
}
return 0
}
func (x *FeedsReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type FeedsRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
FeedsResultList []*group_file_common.FeedsResult `protobuf:"bytes,4,rep"`
SvrbusyWaitTime *uint32 `protobuf:"varint,5,opt"`
}
func (x *FeedsRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *FeedsRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *FeedsRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *FeedsRspBody) GetSvrbusyWaitTime() uint32 {
if x != nil && x.SvrbusyWaitTime != nil {
return *x.SvrbusyWaitTime
}
return 0
}
func (x *FeedsRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
TransFileReq *TransFileReqBody `protobuf:"bytes,1,opt"`
CopyFromReq *CopyFromReqBody `protobuf:"bytes,2,opt"`
CopyToReq *CopyToReqBody `protobuf:"bytes,3,opt"`
FeedsInfoReq *FeedsReqBody `protobuf:"bytes,5,opt"`
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
TransFileRsp *TransFileRspBody `protobuf:"bytes,1,opt"`
CopyFromRsp *CopyFromRspBody `protobuf:"bytes,2,opt"`
CopyToRsp *CopyToRspBody `protobuf:"bytes,3,opt"`
FeedsInfoRsp *FeedsRspBody `protobuf:"bytes,5,opt"`
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type TransFileReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
AppId *uint32 `protobuf:"varint,2,opt"`
BusId *uint32 `protobuf:"varint,3,opt"`
FileId *string `protobuf:"bytes,4,opt"`
}
func (x *TransFileReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *TransFileReqBody) GetAppId() uint32 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *TransFileReqBody) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *TransFileReqBody) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *TransFileReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type TransFileRspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
RetMsg *string `protobuf:"bytes,2,opt"`
ClientWording *string `protobuf:"bytes,3,opt"`
SaveBusId *uint32 `protobuf:"varint,4,opt"`
SaveFilePath *string `protobuf:"bytes,5,opt"`
}
func (x *TransFileRspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *TransFileRspBody) GetRetMsg() string {
if x != nil && x.RetMsg != nil {
return *x.RetMsg
}
return ""
}
func (x *TransFileRspBody) GetClientWording() string {
if x != nil && x.ClientWording != nil {
return *x.ClientWording
}
return ""
}
func (x *TransFileRspBody) GetSaveBusId() uint32 {
if x != nil && x.SaveBusId != nil {
return *x.SaveBusId
}
return 0
}
func (x *TransFileRspBody) GetSaveFilePath() string {
if x != nil && x.SaveFilePath != nil {
return *x.SaveFilePath
}
return ""
}
func (x *TransFileRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,490 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0x769.proto
package oidb0x769
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type CPU struct {
Model *string `protobuf:"bytes,1,opt"`
Cores *uint32 `protobuf:"varint,2,opt"`
Frequency *uint32 `protobuf:"varint,3,opt"`
}
func (x *CPU) GetModel() string {
if x != nil && x.Model != nil {
return *x.Model
}
return ""
}
func (x *CPU) GetCores() uint32 {
if x != nil && x.Cores != nil {
return *x.Cores
}
return 0
}
func (x *CPU) GetFrequency() uint32 {
if x != nil && x.Frequency != nil {
return *x.Frequency
}
return 0
}
func (x *CPU) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type Camera struct {
Primary *uint64 `protobuf:"varint,1,opt"`
Secondary *uint64 `protobuf:"varint,2,opt"`
Flash *bool `protobuf:"varint,3,opt"`
}
func (x *Camera) GetPrimary() uint64 {
if x != nil && x.Primary != nil {
return *x.Primary
}
return 0
}
func (x *Camera) GetSecondary() uint64 {
if x != nil && x.Secondary != nil {
return *x.Secondary
}
return 0
}
func (x *Camera) GetFlash() bool {
if x != nil && x.Flash != nil {
return *x.Flash
}
return false
}
func (x *Camera) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ConfigSeq struct {
Type *uint32 `protobuf:"varint,1,opt"`
Version *uint32 `protobuf:"varint,2,opt"`
}
func (x *ConfigSeq) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *ConfigSeq) GetVersion() uint32 {
if x != nil && x.Version != nil {
return *x.Version
}
return 0
}
func (x *ConfigSeq) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type Content struct {
TaskId *uint32 `protobuf:"varint,1,opt"`
Compress *uint32 `protobuf:"varint,2,opt"`
Content []byte `protobuf:"bytes,10,opt"`
}
func (x *Content) GetTaskId() uint32 {
if x != nil && x.TaskId != nil {
return *x.TaskId
}
return 0
}
func (x *Content) GetCompress() uint32 {
if x != nil && x.Compress != nil {
return *x.Compress
}
return 0
}
func (x *Content) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type DeviceInfo struct {
Brand *string `protobuf:"bytes,1,opt"`
Model *string `protobuf:"bytes,2,opt"`
Os *OS `protobuf:"bytes,3,opt"`
Cpu *CPU `protobuf:"bytes,4,opt"`
Memory *Memory `protobuf:"bytes,5,opt"`
Storage *Storage `protobuf:"bytes,6,opt"`
Screen *Screen `protobuf:"bytes,7,opt"`
Camera *Camera `protobuf:"bytes,8,opt"`
}
func (x *DeviceInfo) GetBrand() string {
if x != nil && x.Brand != nil {
return *x.Brand
}
return ""
}
func (x *DeviceInfo) GetModel() string {
if x != nil && x.Model != nil {
return *x.Model
}
return ""
}
func (x *DeviceInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type Memory struct {
Total *uint64 `protobuf:"varint,1,opt"`
Process *uint64 `protobuf:"varint,2,opt"`
}
func (x *Memory) GetTotal() uint64 {
if x != nil && x.Total != nil {
return *x.Total
}
return 0
}
func (x *Memory) GetProcess() uint64 {
if x != nil && x.Process != nil {
return *x.Process
}
return 0
}
func (x *Memory) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type OS struct {
Type *uint32 `protobuf:"varint,1,opt"`
Version *string `protobuf:"bytes,2,opt"`
Sdk *string `protobuf:"bytes,3,opt"`
Kernel *string `protobuf:"bytes,4,opt"`
Rom *string `protobuf:"bytes,5,opt"`
}
func (x *OS) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *OS) GetVersion() string {
if x != nil && x.Version != nil {
return *x.Version
}
return ""
}
func (x *OS) GetSdk() string {
if x != nil && x.Sdk != nil {
return *x.Sdk
}
return ""
}
func (x *OS) GetKernel() string {
if x != nil && x.Kernel != nil {
return *x.Kernel
}
return ""
}
func (x *OS) GetRom() string {
if x != nil && x.Rom != nil {
return *x.Rom
}
return ""
}
func (x *OS) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type QueryUinPackageUsageReq struct {
Type *uint32 `protobuf:"varint,1,opt"`
UinFileSize *uint64 `protobuf:"varint,2,opt"`
}
func (x *QueryUinPackageUsageReq) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *QueryUinPackageUsageReq) GetUinFileSize() uint64 {
if x != nil && x.UinFileSize != nil {
return *x.UinFileSize
}
return 0
}
func (x *QueryUinPackageUsageReq) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type QueryUinPackageUsageRsp struct {
Status *uint32 `protobuf:"varint,1,opt"`
LeftUinNum *uint64 `protobuf:"varint,2,opt"`
MaxUinNum *uint64 `protobuf:"varint,3,opt"`
Proportion *uint32 `protobuf:"varint,4,opt"`
UinPackageUsedList []*UinPackageUsedInfo `protobuf:"bytes,10,rep"`
}
func (x *QueryUinPackageUsageRsp) GetStatus() uint32 {
if x != nil && x.Status != nil {
return *x.Status
}
return 0
}
func (x *QueryUinPackageUsageRsp) GetLeftUinNum() uint64 {
if x != nil && x.LeftUinNum != nil {
return *x.LeftUinNum
}
return 0
}
func (x *QueryUinPackageUsageRsp) GetMaxUinNum() uint64 {
if x != nil && x.MaxUinNum != nil {
return *x.MaxUinNum
}
return 0
}
func (x *QueryUinPackageUsageRsp) GetProportion() uint32 {
if x != nil && x.Proportion != nil {
return *x.Proportion
}
return 0
}
func (x *QueryUinPackageUsageRsp) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
ConfigList []*ConfigSeq `protobuf:"bytes,1,rep"`
DeviceInfo *DeviceInfo `protobuf:"bytes,2,opt"`
Info *string `protobuf:"bytes,3,opt"`
Province *string `protobuf:"bytes,4,opt"`
City *string `protobuf:"bytes,5,opt"`
ReqDebugMsg *int32 `protobuf:"varint,6,opt"`
QueryUinPackageUsageReq *QueryUinPackageUsageReq `protobuf:"bytes,101,opt"`
}
func (x *ReqBody) GetInfo() string {
if x != nil && x.Info != nil {
return *x.Info
}
return ""
}
func (x *ReqBody) GetProvince() string {
if x != nil && x.Province != nil {
return *x.Province
}
return ""
}
func (x *ReqBody) GetCity() string {
if x != nil && x.City != nil {
return *x.City
}
return ""
}
func (x *ReqBody) GetReqDebugMsg() int32 {
if x != nil && x.ReqDebugMsg != nil {
return *x.ReqDebugMsg
}
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"`
ConfigList []*ConfigSeq `protobuf:"bytes,2,rep"`
QueryUinPackageUsageRsp *QueryUinPackageUsageRsp `protobuf:"bytes,101,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)
}
type Screen struct {
Model *string `protobuf:"bytes,1,opt"`
Width *uint32 `protobuf:"varint,2,opt"`
Height *uint32 `protobuf:"varint,3,opt"`
Dpi *uint32 `protobuf:"varint,4,opt"`
MultiTouch *bool `protobuf:"varint,5,opt"`
}
func (x *Screen) GetModel() string {
if x != nil && x.Model != nil {
return *x.Model
}
return ""
}
func (x *Screen) GetWidth() uint32 {
if x != nil && x.Width != nil {
return *x.Width
}
return 0
}
func (x *Screen) GetHeight() uint32 {
if x != nil && x.Height != nil {
return *x.Height
}
return 0
}
func (x *Screen) GetDpi() uint32 {
if x != nil && x.Dpi != nil {
return *x.Dpi
}
return 0
}
func (x *Screen) GetMultiTouch() bool {
if x != nil && x.MultiTouch != nil {
return *x.MultiTouch
}
return false
}
func (x *Screen) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type Storage struct {
Builtin *uint64 `protobuf:"varint,1,opt"`
External *uint64 `protobuf:"varint,2,opt"`
}
func (x *Storage) GetBuiltin() uint64 {
if x != nil && x.Builtin != nil {
return *x.Builtin
}
return 0
}
func (x *Storage) GetExternal() uint64 {
if x != nil && x.External != nil {
return *x.External
}
return 0
}
func (x *Storage) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type UinPackageUsedInfo struct {
RuleId *uint32 `protobuf:"varint,1,opt"`
Author *string `protobuf:"bytes,2,opt"`
Url *string `protobuf:"bytes,3,opt"`
UinNum *uint64 `protobuf:"varint,4,opt"`
}
func (x *UinPackageUsedInfo) GetRuleId() uint32 {
if x != nil && x.RuleId != nil {
return *x.RuleId
}
return 0
}
func (x *UinPackageUsedInfo) GetAuthor() string {
if x != nil && x.Author != nil {
return *x.Author
}
return ""
}
func (x *UinPackageUsedInfo) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
}
return ""
}
func (x *UinPackageUsedInfo) GetUinNum() uint64 {
if x != nil && x.UinNum != nil {
return *x.UinNum
}
return 0
}
func (x *UinPackageUsedInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,434 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0x89a.proto
package oidb0x89a
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type GroupCardPrefix struct {
Introduction []byte `protobuf:"bytes,1,opt"`
Prefix [][]byte `protobuf:"bytes,2,rep"`
}
func (x *GroupCardPrefix) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GroupExInfoOnly struct {
TribeId *uint32 `protobuf:"varint,1,opt"`
MoneyForAddGroup *uint32 `protobuf:"varint,2,opt"`
}
func (x *GroupExInfoOnly) GetTribeId() uint32 {
if x != nil && x.TribeId != nil {
return *x.TribeId
}
return 0
}
func (x *GroupExInfoOnly) GetMoneyForAddGroup() uint32 {
if x != nil && x.MoneyForAddGroup != nil {
return *x.MoneyForAddGroup
}
return 0
}
func (x *GroupExInfoOnly) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GroupGeoInfo struct {
CityId *uint32 `protobuf:"varint,1,opt"`
Longtitude *uint64 `protobuf:"varint,2,opt"`
Latitude *uint64 `protobuf:"varint,3,opt"`
GeoContent []byte `protobuf:"bytes,4,opt"`
PoiId *uint64 `protobuf:"varint,5,opt"`
}
func (x *GroupGeoInfo) GetCityId() uint32 {
if x != nil && x.CityId != nil {
return *x.CityId
}
return 0
}
func (x *GroupGeoInfo) GetLongtitude() uint64 {
if x != nil && x.Longtitude != nil {
return *x.Longtitude
}
return 0
}
func (x *GroupGeoInfo) GetLatitude() uint64 {
if x != nil && x.Latitude != nil {
return *x.Latitude
}
return 0
}
func (x *GroupGeoInfo) GetPoiId() uint64 {
if x != nil && x.PoiId != nil {
return *x.PoiId
}
return 0
}
func (x *GroupGeoInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GroupInfo struct {
GroupExtAdmNum *uint32 `protobuf:"varint,1,opt"`
Flag *uint32 `protobuf:"varint,2,opt"`
GroupName []byte `protobuf:"bytes,3,opt"`
GroupMemo []byte `protobuf:"bytes,4,opt"`
GroupFingerMemo []byte `protobuf:"bytes,5,opt"`
GroupAioSkinUrl []byte `protobuf:"bytes,6,opt"`
GroupBoardSkinUrl []byte `protobuf:"bytes,7,opt"`
GroupCoverSkinUrl []byte `protobuf:"bytes,8,opt"`
GroupGrade *uint32 `protobuf:"varint,9,opt"`
ActiveMemberNum *uint32 `protobuf:"varint,10,opt"`
CertificationType *uint32 `protobuf:"varint,11,opt"`
CertificationText []byte `protobuf:"bytes,12,opt"`
GroupRichFingerMemo []byte `protobuf:"bytes,13,opt"`
StGroupNewguidelines *GroupNewGuidelinesInfo `protobuf:"bytes,14,opt"`
GroupFace *uint32 `protobuf:"varint,15,opt"`
AddOption *uint32 `protobuf:"varint,16,opt"`
ShutupTime *uint32 `protobuf:"varint,17,opt"`
GroupTypeFlag *uint32 `protobuf:"varint,18,opt"`
GroupTag [][]byte `protobuf:"bytes,19,rep"`
GroupGeoInfo *GroupGeoInfo `protobuf:"bytes,20,opt"`
GroupClassExt *uint32 `protobuf:"varint,21,opt"`
GroupClassText []byte `protobuf:"bytes,22,opt"`
AppPrivilegeFlag *uint32 `protobuf:"varint,23,opt"`
AppPrivilegeMask *uint32 `protobuf:"varint,24,opt"`
StGroupExInfo *GroupExInfoOnly `protobuf:"bytes,25,opt"`
GroupSecLevel *uint32 `protobuf:"varint,26,opt"`
GroupSecLevelInfo *uint32 `protobuf:"varint,27,opt"`
SubscriptionUin *uint64 `protobuf:"varint,28,opt"`
AllowMemberInvite *uint32 `protobuf:"varint,29,opt"`
GroupQuestion []byte `protobuf:"bytes,30,opt"`
GroupAnswer []byte `protobuf:"bytes,31,opt"`
GroupFlagext3 *uint32 `protobuf:"varint,32,opt"`
GroupFlagext3Mask *uint32 `protobuf:"varint,33,opt"`
GroupOpenAppid *uint32 `protobuf:"varint,34,opt"`
NoFingerOpenFlag *uint32 `protobuf:"varint,35,opt"`
NoCodeFingerOpenFlag *uint32 `protobuf:"varint,36,opt"`
RootId *uint64 `protobuf:"varint,37,opt"`
MsgLimitFrequency *uint32 `protobuf:"varint,38,opt"`
HlGuildAppid *uint32 `protobuf:"varint,39,opt"`
HlGuildSubType *uint32 `protobuf:"varint,40,opt"`
HlGuildOrgid *uint32 `protobuf:"varint,41,opt"`
GroupFlagext4 *uint32 `protobuf:"varint,42,opt"`
GroupFlagext4Mask *uint32 `protobuf:"varint,43,opt"`
GroupSchoolInfo []byte `protobuf:"bytes,44,opt"`
StGroupCardPrefix *GroupCardPrefix `protobuf:"bytes,45,opt"`
}
func (x *GroupInfo) GetGroupExtAdmNum() uint32 {
if x != nil && x.GroupExtAdmNum != nil {
return *x.GroupExtAdmNum
}
return 0
}
func (x *GroupInfo) GetFlag() uint32 {
if x != nil && x.Flag != nil {
return *x.Flag
}
return 0
}
func (x *GroupInfo) GetGroupGrade() uint32 {
if x != nil && x.GroupGrade != nil {
return *x.GroupGrade
}
return 0
}
func (x *GroupInfo) GetActiveMemberNum() uint32 {
if x != nil && x.ActiveMemberNum != nil {
return *x.ActiveMemberNum
}
return 0
}
func (x *GroupInfo) GetCertificationType() uint32 {
if x != nil && x.CertificationType != nil {
return *x.CertificationType
}
return 0
}
func (x *GroupInfo) GetGroupFace() uint32 {
if x != nil && x.GroupFace != nil {
return *x.GroupFace
}
return 0
}
func (x *GroupInfo) GetAddOption() uint32 {
if x != nil && x.AddOption != nil {
return *x.AddOption
}
return 0
}
func (x *GroupInfo) GetShutupTime() uint32 {
if x != nil && x.ShutupTime != nil {
return *x.ShutupTime
}
return 0
}
func (x *GroupInfo) GetGroupTypeFlag() uint32 {
if x != nil && x.GroupTypeFlag != nil {
return *x.GroupTypeFlag
}
return 0
}
func (x *GroupInfo) GetGroupClassExt() uint32 {
if x != nil && x.GroupClassExt != nil {
return *x.GroupClassExt
}
return 0
}
func (x *GroupInfo) GetAppPrivilegeFlag() uint32 {
if x != nil && x.AppPrivilegeFlag != nil {
return *x.AppPrivilegeFlag
}
return 0
}
func (x *GroupInfo) GetAppPrivilegeMask() uint32 {
if x != nil && x.AppPrivilegeMask != nil {
return *x.AppPrivilegeMask
}
return 0
}
func (x *GroupInfo) GetGroupSecLevel() uint32 {
if x != nil && x.GroupSecLevel != nil {
return *x.GroupSecLevel
}
return 0
}
func (x *GroupInfo) GetGroupSecLevelInfo() uint32 {
if x != nil && x.GroupSecLevelInfo != nil {
return *x.GroupSecLevelInfo
}
return 0
}
func (x *GroupInfo) GetSubscriptionUin() uint64 {
if x != nil && x.SubscriptionUin != nil {
return *x.SubscriptionUin
}
return 0
}
func (x *GroupInfo) GetAllowMemberInvite() uint32 {
if x != nil && x.AllowMemberInvite != nil {
return *x.AllowMemberInvite
}
return 0
}
func (x *GroupInfo) GetGroupFlagext3() uint32 {
if x != nil && x.GroupFlagext3 != nil {
return *x.GroupFlagext3
}
return 0
}
func (x *GroupInfo) GetGroupFlagext3Mask() uint32 {
if x != nil && x.GroupFlagext3Mask != nil {
return *x.GroupFlagext3Mask
}
return 0
}
func (x *GroupInfo) GetGroupOpenAppid() uint32 {
if x != nil && x.GroupOpenAppid != nil {
return *x.GroupOpenAppid
}
return 0
}
func (x *GroupInfo) GetNoFingerOpenFlag() uint32 {
if x != nil && x.NoFingerOpenFlag != nil {
return *x.NoFingerOpenFlag
}
return 0
}
func (x *GroupInfo) GetNoCodeFingerOpenFlag() uint32 {
if x != nil && x.NoCodeFingerOpenFlag != nil {
return *x.NoCodeFingerOpenFlag
}
return 0
}
func (x *GroupInfo) GetRootId() uint64 {
if x != nil && x.RootId != nil {
return *x.RootId
}
return 0
}
func (x *GroupInfo) GetMsgLimitFrequency() uint32 {
if x != nil && x.MsgLimitFrequency != nil {
return *x.MsgLimitFrequency
}
return 0
}
func (x *GroupInfo) GetHlGuildAppid() uint32 {
if x != nil && x.HlGuildAppid != nil {
return *x.HlGuildAppid
}
return 0
}
func (x *GroupInfo) GetHlGuildSubType() uint32 {
if x != nil && x.HlGuildSubType != nil {
return *x.HlGuildSubType
}
return 0
}
func (x *GroupInfo) GetHlGuildOrgid() uint32 {
if x != nil && x.HlGuildOrgid != nil {
return *x.HlGuildOrgid
}
return 0
}
func (x *GroupInfo) GetGroupFlagext4() uint32 {
if x != nil && x.GroupFlagext4 != nil {
return *x.GroupFlagext4
}
return 0
}
func (x *GroupInfo) GetGroupFlagext4Mask() uint32 {
if x != nil && x.GroupFlagext4Mask != nil {
return *x.GroupFlagext4Mask
}
return 0
}
func (x *GroupInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GroupNewGuidelinesInfo struct {
Enabled *bool `protobuf:"varint,1,opt"`
Content []byte `protobuf:"bytes,2,opt"`
}
func (x *GroupNewGuidelinesInfo) GetEnabled() bool {
if x != nil && x.Enabled != nil {
return *x.Enabled
}
return false
}
func (x *GroupNewGuidelinesInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GroupSchoolInfo struct {
Location []byte `protobuf:"bytes,1,opt"`
Grade *uint32 `protobuf:"varint,2,opt"`
School []byte `protobuf:"bytes,3,opt"`
}
func (x *GroupSchoolInfo) GetGrade() uint32 {
if x != nil && x.Grade != nil {
return *x.Grade
}
return 0
}
func (x *GroupSchoolInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
StGroupInfo *GroupInfo `protobuf:"bytes,2,opt"`
OriginalOperatorUin *uint64 `protobuf:"varint,3,opt"`
ReqGroupOpenAppid *uint32 `protobuf:"varint,4,opt"`
}
func (x *ReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *ReqBody) GetOriginalOperatorUin() uint64 {
if x != nil && x.OriginalOperatorUin != nil {
return *x.OriginalOperatorUin
}
return 0
}
func (x *ReqBody) GetReqGroupOpenAppid() uint32 {
if x != nil && x.ReqGroupOpenAppid != nil {
return *x.ReqGroupOpenAppid
}
return 0
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
Errorinfo []byte `protobuf:"bytes,2,opt"`
}
func (x *RspBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,118 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0x8a0.proto
package oidb0x8a0
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type KickMemberInfo struct {
Operate *uint32 `protobuf:"varint,1,opt"`
MemberUin *uint64 `protobuf:"varint,2,opt"`
Flag *uint32 `protobuf:"varint,3,opt"`
Msg []byte `protobuf:"bytes,4,opt"`
}
func (x *KickMemberInfo) GetOperate() uint32 {
if x != nil && x.Operate != nil {
return *x.Operate
}
return 0
}
func (x *KickMemberInfo) GetMemberUin() uint64 {
if x != nil && x.MemberUin != nil {
return *x.MemberUin
}
return 0
}
func (x *KickMemberInfo) GetFlag() uint32 {
if x != nil && x.Flag != nil {
return *x.Flag
}
return 0
}
func (x *KickMemberInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type KickResult struct {
Result *uint32 `protobuf:"varint,1,opt"`
MemberUin *uint64 `protobuf:"varint,2,opt"`
}
func (x *KickResult) GetResult() uint32 {
if x != nil && x.Result != nil {
return *x.Result
}
return 0
}
func (x *KickResult) GetMemberUin() uint64 {
if x != nil && x.MemberUin != nil {
return *x.MemberUin
}
return 0
}
func (x *KickResult) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
MsgKickList []*KickMemberInfo `protobuf:"bytes,2,rep"`
KickList []uint64 `protobuf:"varint,3,rep"`
KickFlag *uint32 `protobuf:"varint,4,opt"`
KickMsg []byte `protobuf:"bytes,5,opt"`
}
func (x *ReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *ReqBody) GetKickFlag() uint32 {
if x != nil && x.KickFlag != nil {
return *x.KickFlag
}
return 0
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
KickResult []*KickResult `protobuf:"bytes,2,rep"`
}
func (x *RspBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,103 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0x8a7.proto
package oidb0x8a7
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type ReqBody struct {
SubCmd *uint32 `protobuf:"varint,1,opt"`
LimitIntervalTypeForUin *uint32 `protobuf:"varint,2,opt"`
LimitIntervalTypeForGroup *uint32 `protobuf:"varint,3,opt"`
Uin *uint64 `protobuf:"varint,4,opt"`
GroupCode *uint64 `protobuf:"varint,5,opt"`
}
func (x *ReqBody) GetSubCmd() uint32 {
if x != nil && x.SubCmd != nil {
return *x.SubCmd
}
return 0
}
func (x *ReqBody) GetLimitIntervalTypeForUin() uint32 {
if x != nil && x.LimitIntervalTypeForUin != nil {
return *x.LimitIntervalTypeForUin
}
return 0
}
func (x *ReqBody) GetLimitIntervalTypeForGroup() uint32 {
if x != nil && x.LimitIntervalTypeForGroup != nil {
return *x.LimitIntervalTypeForGroup
}
return 0
}
func (x *ReqBody) GetUin() uint64 {
if x != nil && x.Uin != nil {
return *x.Uin
}
return 0
}
func (x *ReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
CanAtAll *bool `protobuf:"varint,1,opt"`
RemainAtAllCountForUin *uint32 `protobuf:"varint,2,opt"`
RemainAtAllCountForGroup *uint32 `protobuf:"varint,3,opt"`
PromptMsg1 []byte `protobuf:"bytes,4,opt"`
PromptMsg2 []byte `protobuf:"bytes,5,opt"`
ShowAtAllLable *bool `protobuf:"varint,6,opt"`
}
func (x *RspBody) GetCanAtAll() bool {
if x != nil && x.CanAtAll != nil {
return *x.CanAtAll
}
return false
}
func (x *RspBody) GetRemainAtAllCountForUin() uint32 {
if x != nil && x.RemainAtAllCountForUin != nil {
return *x.RemainAtAllCountForUin
}
return 0
}
func (x *RspBody) GetRemainAtAllCountForGroup() uint32 {
if x != nil && x.RemainAtAllCountForGroup != nil {
return *x.RemainAtAllCountForGroup
}
return 0
}
func (x *RspBody) GetShowAtAllLable() bool {
if x != nil && x.ShowAtAllLable != nil {
return *x.ShowAtAllLable
}
return false
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,301 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0x8fc.proto
package oidb0x8fc
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type CardNameElem struct {
EnumCardType *uint32 `protobuf:"varint,1,opt"`
Value []byte `protobuf:"bytes,2,opt"`
}
func (x *CardNameElem) GetEnumCardType() uint32 {
if x != nil && x.EnumCardType != nil {
return *x.EnumCardType
}
return 0
}
func (x *CardNameElem) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ClientInfo struct {
Implat *uint32 `protobuf:"varint,1,opt"`
Clientver *string `protobuf:"bytes,2,opt"`
}
func (x *ClientInfo) GetImplat() uint32 {
if x != nil && x.Implat != nil {
return *x.Implat
}
return 0
}
func (x *ClientInfo) GetClientver() string {
if x != nil && x.Clientver != nil {
return *x.Clientver
}
return ""
}
func (x *ClientInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type CommCardNameBuf struct {
RichCardName []*RichCardNameElem `protobuf:"bytes,1,rep"`
CoolId *uint32 `protobuf:"varint,2,opt"`
}
func (x *CommCardNameBuf) GetCoolId() uint32 {
if x != nil && x.CoolId != nil {
return *x.CoolId
}
return 0
}
func (x *CommCardNameBuf) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type LevelName struct {
Level *uint32 `protobuf:"varint,1,opt"`
Name *string `protobuf:"bytes,2,opt"`
}
func (x *LevelName) GetLevel() uint32 {
if x != nil && x.Level != nil {
return *x.Level
}
return 0
}
func (x *LevelName) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *LevelName) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type MemberInfo struct {
Uin *uint64 `protobuf:"varint,1,opt"`
Point *uint32 `protobuf:"varint,2,opt"`
ActiveDay *uint32 `protobuf:"varint,3,opt"`
Level *uint32 `protobuf:"varint,4,opt"`
SpecialTitle []byte `protobuf:"bytes,5,opt"`
SpecialTitleExpireTime *int32 `protobuf:"varint,6,opt"`
UinName []byte `protobuf:"bytes,7,opt"`
MemberCardName []byte `protobuf:"bytes,8,opt"`
Phone []byte `protobuf:"bytes,9,opt"`
Email []byte `protobuf:"bytes,10,opt"`
Remark []byte `protobuf:"bytes,11,opt"`
Gender *uint32 `protobuf:"varint,12,opt"`
Job []byte `protobuf:"bytes,13,opt"`
TribeLevel *uint32 `protobuf:"varint,14,opt"`
TribePoint *uint32 `protobuf:"varint,15,opt"`
RichCardName []*CardNameElem `protobuf:"bytes,16,rep"`
CommRichCardName []byte `protobuf:"bytes,17,opt"`
RingtoneId *uint32 `protobuf:"varint,18,opt"`
GroupHonor []byte `protobuf:"bytes,19,opt"`
CmduinFlagEx3Grocery *uint32 `protobuf:"varint,20,opt"`
CmduinFlagEx3Mask *uint32 `protobuf:"varint,21,opt"`
}
func (x *MemberInfo) GetUin() uint64 {
if x != nil && x.Uin != nil {
return *x.Uin
}
return 0
}
func (x *MemberInfo) GetPoint() uint32 {
if x != nil && x.Point != nil {
return *x.Point
}
return 0
}
func (x *MemberInfo) GetActiveDay() uint32 {
if x != nil && x.ActiveDay != nil {
return *x.ActiveDay
}
return 0
}
func (x *MemberInfo) GetLevel() uint32 {
if x != nil && x.Level != nil {
return *x.Level
}
return 0
}
func (x *MemberInfo) GetSpecialTitleExpireTime() int32 {
if x != nil && x.SpecialTitleExpireTime != nil {
return *x.SpecialTitleExpireTime
}
return 0
}
func (x *MemberInfo) GetGender() uint32 {
if x != nil && x.Gender != nil {
return *x.Gender
}
return 0
}
func (x *MemberInfo) GetTribeLevel() uint32 {
if x != nil && x.TribeLevel != nil {
return *x.TribeLevel
}
return 0
}
func (x *MemberInfo) GetTribePoint() uint32 {
if x != nil && x.TribePoint != nil {
return *x.TribePoint
}
return 0
}
func (x *MemberInfo) GetRingtoneId() uint32 {
if x != nil && x.RingtoneId != nil {
return *x.RingtoneId
}
return 0
}
func (x *MemberInfo) GetCmduinFlagEx3Grocery() uint32 {
if x != nil && x.CmduinFlagEx3Grocery != nil {
return *x.CmduinFlagEx3Grocery
}
return 0
}
func (x *MemberInfo) GetCmduinFlagEx3Mask() uint32 {
if x != nil && x.CmduinFlagEx3Mask != nil {
return *x.CmduinFlagEx3Mask
}
return 0
}
func (x *MemberInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
ShowFlag *uint32 `protobuf:"varint,2,opt"`
MemLevelInfo []*MemberInfo `protobuf:"bytes,3,rep"`
LevelName []*LevelName `protobuf:"bytes,4,rep"`
UpdateTime *uint32 `protobuf:"varint,5,opt"`
OfficeMode *uint32 `protobuf:"varint,6,opt"`
GroupOpenAppid *uint32 `protobuf:"varint,7,opt"`
ClientInfo *ClientInfo `protobuf:"bytes,8,opt"`
AuthKey []byte `protobuf:"bytes,9,opt"`
LevelNameNew []*LevelName `protobuf:"bytes,10,rep"`
}
func (x *ReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *ReqBody) GetShowFlag() uint32 {
if x != nil && x.ShowFlag != nil {
return *x.ShowFlag
}
return 0
}
func (x *ReqBody) GetUpdateTime() uint32 {
if x != nil && x.UpdateTime != nil {
return *x.UpdateTime
}
return 0
}
func (x *ReqBody) GetOfficeMode() uint32 {
if x != nil && x.OfficeMode != nil {
return *x.OfficeMode
}
return 0
}
func (x *ReqBody) GetGroupOpenAppid() uint32 {
if x != nil && x.GroupOpenAppid != nil {
return *x.GroupOpenAppid
}
return 0
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RichCardNameElem struct {
Ctrl []byte `protobuf:"bytes,1,opt"`
Text []byte `protobuf:"bytes,2,opt"`
}
func (x *RichCardNameElem) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
ErrInfo *string `protobuf:"bytes,2,opt"`
CoolGroupCardRsp []byte `protobuf:"bytes,3,opt"`
}
func (x *RspBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *RspBody) GetErrInfo() string {
if x != nil && x.ErrInfo != nil {
return *x.ErrInfo
}
return ""
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,167 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0x990.proto
package oidb0x990
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type BatchTranslateReq struct {
SrcLanguage *string `protobuf:"bytes,1,opt"`
DstLanguage *string `protobuf:"bytes,2,opt"`
SrcBytesTextList [][]byte `protobuf:"bytes,3,rep"`
}
func (x *BatchTranslateReq) GetSrcLanguage() string {
if x != nil && x.SrcLanguage != nil {
return *x.SrcLanguage
}
return ""
}
func (x *BatchTranslateReq) GetDstLanguage() string {
if x != nil && x.DstLanguage != nil {
return *x.DstLanguage
}
return ""
}
func (x *BatchTranslateReq) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type BatchTranslateRsp struct {
ErrorCode *int32 `protobuf:"varint,1,opt"`
ErrorMsg []byte `protobuf:"bytes,2,opt"`
SrcLanguage *string `protobuf:"bytes,3,opt"`
DstLanguage *string `protobuf:"bytes,4,opt"`
SrcBytesTextList [][]byte `protobuf:"bytes,5,rep"`
DstBytesTextList [][]byte `protobuf:"bytes,6,rep"`
}
func (x *BatchTranslateRsp) GetErrorCode() int32 {
if x != nil && x.ErrorCode != nil {
return *x.ErrorCode
}
return 0
}
func (x *BatchTranslateRsp) GetSrcLanguage() string {
if x != nil && x.SrcLanguage != nil {
return *x.SrcLanguage
}
return ""
}
func (x *BatchTranslateRsp) GetDstLanguage() string {
if x != nil && x.DstLanguage != nil {
return *x.DstLanguage
}
return ""
}
func (x *BatchTranslateRsp) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
TranslateReq *TranslateReq `protobuf:"bytes,1,opt"`
BatchTranslateReq *BatchTranslateReq `protobuf:"bytes,2,opt"`
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
TranslateRsp *TranslateRsp `protobuf:"bytes,1,opt"`
BatchTranslateRsp *BatchTranslateRsp `protobuf:"bytes,2,opt"`
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type TranslateReq struct {
Text []byte `protobuf:"bytes,1,opt"`
Type *int32 `protobuf:"varint,2,opt"`
SrcLanguage *string `protobuf:"bytes,3,opt"`
DstLanguage *string `protobuf:"bytes,4,opt"`
}
func (x *TranslateReq) GetType() int32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *TranslateReq) GetSrcLanguage() string {
if x != nil && x.SrcLanguage != nil {
return *x.SrcLanguage
}
return ""
}
func (x *TranslateReq) GetDstLanguage() string {
if x != nil && x.DstLanguage != nil {
return *x.DstLanguage
}
return ""
}
func (x *TranslateReq) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type TranslateRsp struct {
RetCode *int32 `protobuf:"varint,1,opt"`
Type *int32 `protobuf:"varint,2,opt"`
TransResult []byte `protobuf:"bytes,3,opt"`
TextLen *int32 `protobuf:"varint,4,opt"`
}
func (x *TranslateRsp) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *TranslateRsp) GetType() int32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *TranslateRsp) GetTextLen() int32 {
if x != nil && x.TextLen != nil {
return *x.TextLen
}
return 0
}
func (x *TranslateRsp) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,766 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0xb77.proto
package oidb0xb77
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type ArkJsonBody struct {
JsonStr *string `protobuf:"bytes,10,opt"`
}
func (x *ArkJsonBody) GetJsonStr() string {
if x != nil && x.JsonStr != nil {
return *x.JsonStr
}
return ""
}
func (x *ArkJsonBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ArkMsgBody struct {
App *string `protobuf:"bytes,1,opt"`
View *string `protobuf:"bytes,2,opt"`
Prompt *string `protobuf:"bytes,3,opt"`
Ver *string `protobuf:"bytes,4,opt"`
Desc *string `protobuf:"bytes,5,opt"`
FeatureId *uint32 `protobuf:"varint,6,opt"`
Meta *string `protobuf:"bytes,10,opt"`
MetaUrl1 *string `protobuf:"bytes,11,opt"`
MetaUrl2 *string `protobuf:"bytes,12,opt"`
MetaUrl3 *string `protobuf:"bytes,13,opt"`
MetaText1 *string `protobuf:"bytes,14,opt"`
MetaText2 *string `protobuf:"bytes,15,opt"`
MetaText3 *string `protobuf:"bytes,16,opt"`
Config *string `protobuf:"bytes,20,opt"`
}
func (x *ArkMsgBody) GetApp() string {
if x != nil && x.App != nil {
return *x.App
}
return ""
}
func (x *ArkMsgBody) GetView() string {
if x != nil && x.View != nil {
return *x.View
}
return ""
}
func (x *ArkMsgBody) GetPrompt() string {
if x != nil && x.Prompt != nil {
return *x.Prompt
}
return ""
}
func (x *ArkMsgBody) GetVer() string {
if x != nil && x.Ver != nil {
return *x.Ver
}
return ""
}
func (x *ArkMsgBody) GetDesc() string {
if x != nil && x.Desc != nil {
return *x.Desc
}
return ""
}
func (x *ArkMsgBody) GetFeatureId() uint32 {
if x != nil && x.FeatureId != nil {
return *x.FeatureId
}
return 0
}
func (x *ArkMsgBody) GetMeta() string {
if x != nil && x.Meta != nil {
return *x.Meta
}
return ""
}
func (x *ArkMsgBody) GetMetaUrl1() string {
if x != nil && x.MetaUrl1 != nil {
return *x.MetaUrl1
}
return ""
}
func (x *ArkMsgBody) GetMetaUrl2() string {
if x != nil && x.MetaUrl2 != nil {
return *x.MetaUrl2
}
return ""
}
func (x *ArkMsgBody) GetMetaUrl3() string {
if x != nil && x.MetaUrl3 != nil {
return *x.MetaUrl3
}
return ""
}
func (x *ArkMsgBody) GetMetaText1() string {
if x != nil && x.MetaText1 != nil {
return *x.MetaText1
}
return ""
}
func (x *ArkMsgBody) GetMetaText2() string {
if x != nil && x.MetaText2 != nil {
return *x.MetaText2
}
return ""
}
func (x *ArkMsgBody) GetMetaText3() string {
if x != nil && x.MetaText3 != nil {
return *x.MetaText3
}
return ""
}
func (x *ArkMsgBody) GetConfig() string {
if x != nil && x.Config != nil {
return *x.Config
}
return ""
}
func (x *ArkMsgBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ArkV1MsgBody struct {
App *string `protobuf:"bytes,1,opt"`
View *string `protobuf:"bytes,2,opt"`
Prompt *string `protobuf:"bytes,3,opt"`
Ver *string `protobuf:"bytes,4,opt"`
Desc *string `protobuf:"bytes,5,opt"`
FeatureId *uint32 `protobuf:"varint,6,opt"`
Meta *string `protobuf:"bytes,10,opt"`
Items []*TemplateItem `protobuf:"bytes,11,rep"`
Config *string `protobuf:"bytes,20,opt"`
}
func (x *ArkV1MsgBody) GetApp() string {
if x != nil && x.App != nil {
return *x.App
}
return ""
}
func (x *ArkV1MsgBody) GetView() string {
if x != nil && x.View != nil {
return *x.View
}
return ""
}
func (x *ArkV1MsgBody) GetPrompt() string {
if x != nil && x.Prompt != nil {
return *x.Prompt
}
return ""
}
func (x *ArkV1MsgBody) GetVer() string {
if x != nil && x.Ver != nil {
return *x.Ver
}
return ""
}
func (x *ArkV1MsgBody) GetDesc() string {
if x != nil && x.Desc != nil {
return *x.Desc
}
return ""
}
func (x *ArkV1MsgBody) GetFeatureId() uint32 {
if x != nil && x.FeatureId != nil {
return *x.FeatureId
}
return 0
}
func (x *ArkV1MsgBody) GetMeta() string {
if x != nil && x.Meta != nil {
return *x.Meta
}
return ""
}
func (x *ArkV1MsgBody) GetConfig() string {
if x != nil && x.Config != nil {
return *x.Config
}
return ""
}
func (x *ArkV1MsgBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ClientInfo struct {
Platform *uint32 `protobuf:"varint,1,opt"`
SdkVersion *string `protobuf:"bytes,2,opt"`
AndroidPackageName *string `protobuf:"bytes,3,opt"`
AndroidSignature *string `protobuf:"bytes,4,opt"`
IosBundleId *string `protobuf:"bytes,5,opt"`
PcSign *string `protobuf:"bytes,6,opt"`
}
func (x *ClientInfo) GetPlatform() uint32 {
if x != nil && x.Platform != nil {
return *x.Platform
}
return 0
}
func (x *ClientInfo) GetSdkVersion() string {
if x != nil && x.SdkVersion != nil {
return *x.SdkVersion
}
return ""
}
func (x *ClientInfo) GetAndroidPackageName() string {
if x != nil && x.AndroidPackageName != nil {
return *x.AndroidPackageName
}
return ""
}
func (x *ClientInfo) GetAndroidSignature() string {
if x != nil && x.AndroidSignature != nil {
return *x.AndroidSignature
}
return ""
}
func (x *ClientInfo) GetIosBundleId() string {
if x != nil && x.IosBundleId != nil {
return *x.IosBundleId
}
return ""
}
func (x *ClientInfo) GetPcSign() string {
if x != nil && x.PcSign != nil {
return *x.PcSign
}
return ""
}
func (x *ClientInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ExtInfo struct {
CustomFeatureid []uint32 `protobuf:"varint,11,rep"`
ApnsWording *string `protobuf:"bytes,12,opt"`
GroupSavedbFlag *uint32 `protobuf:"varint,13,opt"`
ReceiverAppid *uint32 `protobuf:"varint,14,opt"`
Seq *uint64 `protobuf:"varint,15,opt"`
TagName []byte `protobuf:"bytes,17,opt"`
MessageExt []byte `protobuf:"bytes,18,opt"`
}
func (x *ExtInfo) GetApnsWording() string {
if x != nil && x.ApnsWording != nil {
return *x.ApnsWording
}
return ""
}
func (x *ExtInfo) GetGroupSavedbFlag() uint32 {
if x != nil && x.GroupSavedbFlag != nil {
return *x.GroupSavedbFlag
}
return 0
}
func (x *ExtInfo) GetReceiverAppid() uint32 {
if x != nil && x.ReceiverAppid != nil {
return *x.ReceiverAppid
}
return 0
}
func (x *ExtInfo) GetSeq() uint64 {
if x != nil && x.Seq != nil {
return *x.Seq
}
return 0
}
func (x *ExtInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ImageInfo struct {
Md5 *string `protobuf:"bytes,1,opt"`
Uuid *string `protobuf:"bytes,2,opt"`
ImgType *uint32 `protobuf:"varint,3,opt"`
FileSize *uint32 `protobuf:"varint,4,opt"`
Width *uint32 `protobuf:"varint,5,opt"`
Height *uint32 `protobuf:"varint,6,opt"`
Original *uint32 `protobuf:"varint,7,opt"`
FileId *uint32 `protobuf:"varint,101,opt"`
ServerIp *uint32 `protobuf:"varint,102,opt"`
ServerPort *uint32 `protobuf:"varint,103,opt"`
}
func (x *ImageInfo) GetMd5() string {
if x != nil && x.Md5 != nil {
return *x.Md5
}
return ""
}
func (x *ImageInfo) GetUuid() string {
if x != nil && x.Uuid != nil {
return *x.Uuid
}
return ""
}
func (x *ImageInfo) GetImgType() uint32 {
if x != nil && x.ImgType != nil {
return *x.ImgType
}
return 0
}
func (x *ImageInfo) GetFileSize() uint32 {
if x != nil && x.FileSize != nil {
return *x.FileSize
}
return 0
}
func (x *ImageInfo) GetWidth() uint32 {
if x != nil && x.Width != nil {
return *x.Width
}
return 0
}
func (x *ImageInfo) GetHeight() uint32 {
if x != nil && x.Height != nil {
return *x.Height
}
return 0
}
func (x *ImageInfo) GetOriginal() uint32 {
if x != nil && x.Original != nil {
return *x.Original
}
return 0
}
func (x *ImageInfo) GetFileId() uint32 {
if x != nil && x.FileId != nil {
return *x.FileId
}
return 0
}
func (x *ImageInfo) GetServerIp() uint32 {
if x != nil && x.ServerIp != nil {
return *x.ServerIp
}
return 0
}
func (x *ImageInfo) GetServerPort() uint32 {
if x != nil && x.ServerPort != nil {
return *x.ServerPort
}
return 0
}
func (x *ImageInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type MiniAppMsgBody struct {
MiniAppAppid *uint64 `protobuf:"varint,1,opt"`
MiniAppPath *string `protobuf:"bytes,2,opt"`
WebPageUrl *string `protobuf:"bytes,3,opt"`
MiniAppType *uint32 `protobuf:"varint,4,opt"`
Title *string `protobuf:"bytes,5,opt"`
Desc *string `protobuf:"bytes,6,opt"`
JsonStr *string `protobuf:"bytes,10,opt"`
}
func (x *MiniAppMsgBody) GetMiniAppAppid() uint64 {
if x != nil && x.MiniAppAppid != nil {
return *x.MiniAppAppid
}
return 0
}
func (x *MiniAppMsgBody) GetMiniAppPath() string {
if x != nil && x.MiniAppPath != nil {
return *x.MiniAppPath
}
return ""
}
func (x *MiniAppMsgBody) GetWebPageUrl() string {
if x != nil && x.WebPageUrl != nil {
return *x.WebPageUrl
}
return ""
}
func (x *MiniAppMsgBody) GetMiniAppType() uint32 {
if x != nil && x.MiniAppType != nil {
return *x.MiniAppType
}
return 0
}
func (x *MiniAppMsgBody) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
}
return ""
}
func (x *MiniAppMsgBody) GetDesc() string {
if x != nil && x.Desc != nil {
return *x.Desc
}
return ""
}
func (x *MiniAppMsgBody) GetJsonStr() string {
if x != nil && x.JsonStr != nil {
return *x.JsonStr
}
return ""
}
func (x *MiniAppMsgBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
AppId *uint64 `protobuf:"varint,1,opt"`
AppType *uint32 `protobuf:"varint,2,opt"`
Style *uint32 `protobuf:"varint,3,opt"`
SenderUin *uint64 `protobuf:"varint,4,opt"`
ClientInfo *ClientInfo `protobuf:"bytes,5,opt"`
TextMsg *string `protobuf:"bytes,6,opt"`
ExtInfo *ExtInfo `protobuf:"bytes,7,opt"`
SendType *uint32 `protobuf:"varint,10,opt"`
RecvUin *uint64 `protobuf:"varint,11,opt"`
RichMsgBody *RichMsgBody `protobuf:"bytes,12,opt"`
ArkMsgBody *ArkMsgBody `protobuf:"bytes,13,opt"`
RecvOpenid *string `protobuf:"bytes,14,opt"`
Arkv1MsgBody *ArkV1MsgBody `protobuf:"bytes,15,opt"`
ArkJsonBody *ArkJsonBody `protobuf:"bytes,16,opt"`
XmlMsgBody *XmlMsgBody `protobuf:"bytes,17,opt"`
MiniAppMsgBody *MiniAppMsgBody `protobuf:"bytes,18,opt"`
RecvGuildId *uint64 `protobuf:"varint,19,opt"`
}
func (x *ReqBody) GetAppId() uint64 {
if x != nil && x.AppId != nil {
return *x.AppId
}
return 0
}
func (x *ReqBody) GetAppType() uint32 {
if x != nil && x.AppType != nil {
return *x.AppType
}
return 0
}
func (x *ReqBody) GetStyle() uint32 {
if x != nil && x.Style != nil {
return *x.Style
}
return 0
}
func (x *ReqBody) GetSenderUin() uint64 {
if x != nil && x.SenderUin != nil {
return *x.SenderUin
}
return 0
}
func (x *ReqBody) GetTextMsg() string {
if x != nil && x.TextMsg != nil {
return *x.TextMsg
}
return ""
}
func (x *ReqBody) GetSendType() uint32 {
if x != nil && x.SendType != nil {
return *x.SendType
}
return 0
}
func (x *ReqBody) GetRecvUin() uint64 {
if x != nil && x.RecvUin != nil {
return *x.RecvUin
}
return 0
}
func (x *ReqBody) GetRecvOpenid() string {
if x != nil && x.RecvOpenid != nil {
return *x.RecvOpenid
}
return ""
}
func (x *ReqBody) GetRecvGuildId() uint64 {
if x != nil && x.RecvGuildId != nil {
return *x.RecvGuildId
}
return 0
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RichMsgBody struct {
UsingArk *bool `protobuf:"varint,1,opt"`
Title *string `protobuf:"bytes,10,opt"`
Summary *string `protobuf:"bytes,11,opt"`
Brief *string `protobuf:"bytes,12,opt"`
Url *string `protobuf:"bytes,13,opt"`
PictureUrl *string `protobuf:"bytes,14,opt"`
Action *string `protobuf:"bytes,15,opt"`
MusicUrl *string `protobuf:"bytes,16,opt"`
ImageInfo *ImageInfo `protobuf:"bytes,21,opt"`
}
func (x *RichMsgBody) GetUsingArk() bool {
if x != nil && x.UsingArk != nil {
return *x.UsingArk
}
return false
}
func (x *RichMsgBody) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
}
return ""
}
func (x *RichMsgBody) GetSummary() string {
if x != nil && x.Summary != nil {
return *x.Summary
}
return ""
}
func (x *RichMsgBody) GetBrief() string {
if x != nil && x.Brief != nil {
return *x.Brief
}
return ""
}
func (x *RichMsgBody) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
}
return ""
}
func (x *RichMsgBody) GetPictureUrl() string {
if x != nil && x.PictureUrl != nil {
return *x.PictureUrl
}
return ""
}
func (x *RichMsgBody) GetAction() string {
if x != nil && x.Action != nil {
return *x.Action
}
return ""
}
func (x *RichMsgBody) GetMusicUrl() string {
if x != nil && x.MusicUrl != nil {
return *x.MusicUrl
}
return ""
}
func (x *RichMsgBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
Wording *string `protobuf:"bytes,1,opt"`
JumpResult *uint32 `protobuf:"varint,2,opt"`
JumpUrl *string `protobuf:"bytes,3,opt"`
Level *uint32 `protobuf:"varint,4,opt"`
SubLevel *uint32 `protobuf:"varint,5,opt"`
DevelopMsg *string `protobuf:"bytes,6,opt"`
}
func (x *RspBody) GetWording() string {
if x != nil && x.Wording != nil {
return *x.Wording
}
return ""
}
func (x *RspBody) GetJumpResult() uint32 {
if x != nil && x.JumpResult != nil {
return *x.JumpResult
}
return 0
}
func (x *RspBody) GetJumpUrl() string {
if x != nil && x.JumpUrl != nil {
return *x.JumpUrl
}
return ""
}
func (x *RspBody) GetLevel() uint32 {
if x != nil && x.Level != nil {
return *x.Level
}
return 0
}
func (x *RspBody) GetSubLevel() uint32 {
if x != nil && x.SubLevel != nil {
return *x.SubLevel
}
return 0
}
func (x *RspBody) GetDevelopMsg() string {
if x != nil && x.DevelopMsg != nil {
return *x.DevelopMsg
}
return ""
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type TemplateItem struct {
Key *string `protobuf:"bytes,1,opt"`
Type *uint32 `protobuf:"varint,2,opt"`
Value *string `protobuf:"bytes,3,opt"`
}
func (x *TemplateItem) GetKey() string {
if x != nil && x.Key != nil {
return *x.Key
}
return ""
}
func (x *TemplateItem) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *TemplateItem) GetValue() string {
if x != nil && x.Value != nil {
return *x.Value
}
return ""
}
func (x *TemplateItem) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type XmlMsgBody struct {
ServiceId *uint32 `protobuf:"varint,11,opt"`
Xml *string `protobuf:"bytes,12,opt"`
}
func (x *XmlMsgBody) GetServiceId() uint32 {
if x != nil && x.ServiceId != nil {
return *x.ServiceId
}
return 0
}
func (x *XmlMsgBody) GetXml() string {
if x != nil && x.Xml != nil {
return *x.Xml
}
return ""
}
func (x *XmlMsgBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,370 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0xbcb.proto
package oidb0xbcb
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type CheckUrlReq struct {
Url []string `protobuf:"bytes,1,rep"`
Refer *string `protobuf:"bytes,2,opt"`
Plateform *string `protobuf:"bytes,3,opt"`
QqPfTo *string `protobuf:"bytes,4,opt"`
Type *uint32 `protobuf:"varint,5,opt"`
From *uint32 `protobuf:"varint,6,opt"`
Chatid *uint64 `protobuf:"varint,7,opt"`
ServiceType *uint64 `protobuf:"varint,8,opt"`
SendUin *uint64 `protobuf:"varint,9,opt"`
ReqType *string `protobuf:"bytes,10,opt"`
OriginalUrl *string `protobuf:"bytes,11,opt"`
IsArk *bool `protobuf:"varint,12,opt"`
ArkName *string `protobuf:"bytes,13,opt"`
IsFinish *bool `protobuf:"varint,14,opt"`
SrcUrls []string `protobuf:"bytes,15,rep"`
SrcPlatform *uint32 `protobuf:"varint,16,opt"`
Qua *string `protobuf:"bytes,17,opt"`
}
func (x *CheckUrlReq) GetRefer() string {
if x != nil && x.Refer != nil {
return *x.Refer
}
return ""
}
func (x *CheckUrlReq) GetPlateform() string {
if x != nil && x.Plateform != nil {
return *x.Plateform
}
return ""
}
func (x *CheckUrlReq) GetQqPfTo() string {
if x != nil && x.QqPfTo != nil {
return *x.QqPfTo
}
return ""
}
func (x *CheckUrlReq) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *CheckUrlReq) GetFrom() uint32 {
if x != nil && x.From != nil {
return *x.From
}
return 0
}
func (x *CheckUrlReq) GetChatid() uint64 {
if x != nil && x.Chatid != nil {
return *x.Chatid
}
return 0
}
func (x *CheckUrlReq) GetServiceType() uint64 {
if x != nil && x.ServiceType != nil {
return *x.ServiceType
}
return 0
}
func (x *CheckUrlReq) GetSendUin() uint64 {
if x != nil && x.SendUin != nil {
return *x.SendUin
}
return 0
}
func (x *CheckUrlReq) GetReqType() string {
if x != nil && x.ReqType != nil {
return *x.ReqType
}
return ""
}
func (x *CheckUrlReq) GetOriginalUrl() string {
if x != nil && x.OriginalUrl != nil {
return *x.OriginalUrl
}
return ""
}
func (x *CheckUrlReq) GetIsArk() bool {
if x != nil && x.IsArk != nil {
return *x.IsArk
}
return false
}
func (x *CheckUrlReq) GetArkName() string {
if x != nil && x.ArkName != nil {
return *x.ArkName
}
return ""
}
func (x *CheckUrlReq) GetIsFinish() bool {
if x != nil && x.IsFinish != nil {
return *x.IsFinish
}
return false
}
func (x *CheckUrlReq) GetSrcPlatform() uint32 {
if x != nil && x.SrcPlatform != nil {
return *x.SrcPlatform
}
return 0
}
func (x *CheckUrlReq) GetQua() string {
if x != nil && x.Qua != nil {
return *x.Qua
}
return ""
}
func (x *CheckUrlReq) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type CheckUrlReqItem struct {
Url *string `protobuf:"bytes,1,opt"`
Refer *string `protobuf:"bytes,2,opt"`
Plateform *string `protobuf:"bytes,3,opt"`
QqPfTo *string `protobuf:"bytes,4,opt"`
Type *uint32 `protobuf:"varint,5,opt"`
From *uint32 `protobuf:"varint,6,opt"`
Chatid *uint64 `protobuf:"varint,7,opt"`
ServiceType *uint64 `protobuf:"varint,8,opt"`
SendUin *uint64 `protobuf:"varint,9,opt"`
ReqType *string `protobuf:"bytes,10,opt"`
}
func (x *CheckUrlReqItem) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
}
return ""
}
func (x *CheckUrlReqItem) GetRefer() string {
if x != nil && x.Refer != nil {
return *x.Refer
}
return ""
}
func (x *CheckUrlReqItem) GetPlateform() string {
if x != nil && x.Plateform != nil {
return *x.Plateform
}
return ""
}
func (x *CheckUrlReqItem) GetQqPfTo() string {
if x != nil && x.QqPfTo != nil {
return *x.QqPfTo
}
return ""
}
func (x *CheckUrlReqItem) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *CheckUrlReqItem) GetFrom() uint32 {
if x != nil && x.From != nil {
return *x.From
}
return 0
}
func (x *CheckUrlReqItem) GetChatid() uint64 {
if x != nil && x.Chatid != nil {
return *x.Chatid
}
return 0
}
func (x *CheckUrlReqItem) GetServiceType() uint64 {
if x != nil && x.ServiceType != nil {
return *x.ServiceType
}
return 0
}
func (x *CheckUrlReqItem) GetSendUin() uint64 {
if x != nil && x.SendUin != nil {
return *x.SendUin
}
return 0
}
func (x *CheckUrlReqItem) GetReqType() string {
if x != nil && x.ReqType != nil {
return *x.ReqType
}
return ""
}
func (x *CheckUrlReqItem) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type CheckUrlRsp struct {
Results []*UrlCheckResult `protobuf:"bytes,1,rep"`
NextReqDuration *uint32 `protobuf:"varint,2,opt"`
}
func (x *CheckUrlRsp) GetNextReqDuration() uint32 {
if x != nil && x.NextReqDuration != nil {
return *x.NextReqDuration
}
return 0
}
func (x *CheckUrlRsp) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
NotUseCache *int32 `protobuf:"varint,9,opt"`
CheckUrlReq *CheckUrlReq `protobuf:"bytes,10,opt"`
}
func (x *ReqBody) GetNotUseCache() int32 {
if x != nil && x.NotUseCache != nil {
return *x.NotUseCache
}
return 0
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
Wording *string `protobuf:"bytes,1,opt"`
CheckUrlRsp *CheckUrlRsp `protobuf:"bytes,10,opt"`
}
func (x *RspBody) GetWording() string {
if x != nil && x.Wording != nil {
return *x.Wording
}
return ""
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type UrlCheckResult struct {
Url *string `protobuf:"bytes,1,opt"`
Result *uint32 `protobuf:"varint,2,opt"`
JumpResult *uint32 `protobuf:"varint,3,opt"`
JumpUrl *string `protobuf:"bytes,4,opt"`
Level *uint32 `protobuf:"varint,5,opt"`
SubLevel *uint32 `protobuf:"varint,6,opt"`
Umrtype *uint32 `protobuf:"varint,7,opt"`
RetFrom *uint32 `protobuf:"varint,8,opt"`
OperationBit *uint64 `protobuf:"varint,9,opt"`
}
func (x *UrlCheckResult) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
}
return ""
}
func (x *UrlCheckResult) GetResult() uint32 {
if x != nil && x.Result != nil {
return *x.Result
}
return 0
}
func (x *UrlCheckResult) GetJumpResult() uint32 {
if x != nil && x.JumpResult != nil {
return *x.JumpResult
}
return 0
}
func (x *UrlCheckResult) GetJumpUrl() string {
if x != nil && x.JumpUrl != nil {
return *x.JumpUrl
}
return ""
}
func (x *UrlCheckResult) GetLevel() uint32 {
if x != nil && x.Level != nil {
return *x.Level
}
return 0
}
func (x *UrlCheckResult) GetSubLevel() uint32 {
if x != nil && x.SubLevel != nil {
return *x.SubLevel
}
return 0
}
func (x *UrlCheckResult) GetUmrtype() uint32 {
if x != nil && x.Umrtype != nil {
return *x.Umrtype
}
return 0
}
func (x *UrlCheckResult) GetRetFrom() uint32 {
if x != nil && x.RetFrom != nil {
return *x.RetFrom
}
return 0
}
func (x *UrlCheckResult) GetOperationBit() uint64 {
if x != nil && x.OperationBit != nil {
return *x.OperationBit
}
return 0
}
func (x *UrlCheckResult) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,108 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0xd79.proto
package oidb0xd79
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type Content struct {
SliceContent [][]byte `protobuf:"bytes,1,rep"`
}
func (x *Content) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
Seq *uint64 `protobuf:"varint,1,opt"`
Uin *uint64 `protobuf:"varint,2,opt"`
CompressFlag *uint32 `protobuf:"varint,3,opt"`
Content []byte `protobuf:"bytes,4,opt"`
SenderUin *uint64 `protobuf:"varint,5,opt"`
Qua []byte `protobuf:"bytes,6,opt"`
WordExt []byte `protobuf:"bytes,7,opt"`
}
func (x *ReqBody) GetSeq() uint64 {
if x != nil && x.Seq != nil {
return *x.Seq
}
return 0
}
func (x *ReqBody) GetUin() uint64 {
if x != nil && x.Uin != nil {
return *x.Uin
}
return 0
}
func (x *ReqBody) GetCompressFlag() uint32 {
if x != nil && x.CompressFlag != nil {
return *x.CompressFlag
}
return 0
}
func (x *ReqBody) GetSenderUin() uint64 {
if x != nil && x.SenderUin != nil {
return *x.SenderUin
}
return 0
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
Ret *uint32 `protobuf:"varint,1,opt"`
Seq *uint64 `protobuf:"varint,2,opt"`
Uin *uint64 `protobuf:"varint,3,opt"`
CompressFlag *uint32 `protobuf:"varint,4,opt"`
Content *Content `protobuf:"bytes,5,opt"`
}
func (x *RspBody) GetRet() uint32 {
if x != nil && x.Ret != nil {
return *x.Ret
}
return 0
}
func (x *RspBody) GetSeq() uint64 {
if x != nil && x.Seq != nil {
return *x.Seq
}
return 0
}
func (x *RspBody) GetUin() uint64 {
if x != nil && x.Uin != nil {
return *x.Uin
}
return 0
}
func (x *RspBody) GetCompressFlag() uint32 {
if x != nil && x.CompressFlag != nil {
return *x.CompressFlag
}
return 0
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,129 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0xdad.proto
package oidb0xdad
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type LoginSig struct {
Type *uint32 `protobuf:"varint,1,opt"`
Sig []byte `protobuf:"bytes,2,opt"`
Appid *uint32 `protobuf:"varint,3,opt"`
}
func (x *LoginSig) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *LoginSig) GetAppid() uint32 {
if x != nil && x.Appid != nil {
return *x.Appid
}
return 0
}
func (x *LoginSig) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
Client *int64 `protobuf:"varint,1,opt"`
ProductId *int64 `protobuf:"varint,2,opt"`
Amount *int64 `protobuf:"varint,3,opt"`
ToUin *uint64 `protobuf:"varint,4,opt"`
Gc *uint64 `protobuf:"varint,5,opt"`
Ip *string `protobuf:"bytes,6,opt"`
Vsersion *string `protobuf:"bytes,7,opt"`
Sig *LoginSig `protobuf:"bytes,8,opt"`
}
func (x *ReqBody) GetClient() int64 {
if x != nil && x.Client != nil {
return *x.Client
}
return 0
}
func (x *ReqBody) GetProductId() int64 {
if x != nil && x.ProductId != nil {
return *x.ProductId
}
return 0
}
func (x *ReqBody) GetAmount() int64 {
if x != nil && x.Amount != nil {
return *x.Amount
}
return 0
}
func (x *ReqBody) GetToUin() uint64 {
if x != nil && x.ToUin != nil {
return *x.ToUin
}
return 0
}
func (x *ReqBody) GetGc() uint64 {
if x != nil && x.Gc != nil {
return *x.Gc
}
return 0
}
func (x *ReqBody) GetIp() string {
if x != nil && x.Ip != nil {
return *x.Ip
}
return ""
}
func (x *ReqBody) GetVsersion() string {
if x != nil && x.Vsersion != nil {
return *x.Vsersion
}
return ""
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
Retcode *int64 `protobuf:"varint,1,opt"`
Errmsg *string `protobuf:"bytes,2,opt"`
}
func (x *RspBody) GetRetcode() int64 {
if x != nil && x.Retcode != nil {
return *x.Retcode
}
return 0
}
func (x *RspBody) GetErrmsg() string {
if x != nil && x.Errmsg != nil {
return *x.Errmsg
}
return ""
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,305 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0xe07.proto
package oidb0xe07
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type Coordinate struct {
X *int32 `protobuf:"varint,1,opt"`
Y *int32 `protobuf:"varint,2,opt"`
}
func (x *Coordinate) GetX() int32 {
if x != nil && x.X != nil {
return *x.X
}
return 0
}
func (x *Coordinate) GetY() int32 {
if x != nil && x.Y != nil {
return *x.Y
}
return 0
}
func (x *Coordinate) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type Language struct {
Language *string `protobuf:"bytes,1,opt"`
LanguageDesc *string `protobuf:"bytes,2,opt"`
}
func (x *Language) GetLanguage() string {
if x != nil && x.Language != nil {
return *x.Language
}
return ""
}
func (x *Language) GetLanguageDesc() string {
if x != nil && x.LanguageDesc != nil {
return *x.LanguageDesc
}
return ""
}
func (x *Language) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type OCRReqBody struct {
ImageUrl *string `protobuf:"bytes,1,opt"`
LanguageType *string `protobuf:"bytes,2,opt"`
Scene *string `protobuf:"bytes,3,opt"`
OriginMd5 *string `protobuf:"bytes,10,opt"`
AfterCompressMd5 *string `protobuf:"bytes,11,opt"`
AfterCompressFileSize *uint32 `protobuf:"varint,12,opt"`
AfterCompressWeight *uint32 `protobuf:"varint,13,opt"`
AfterCompressHeight *uint32 `protobuf:"varint,14,opt"`
IsCut *bool `protobuf:"varint,15,opt"`
}
func (x *OCRReqBody) GetImageUrl() string {
if x != nil && x.ImageUrl != nil {
return *x.ImageUrl
}
return ""
}
func (x *OCRReqBody) GetLanguageType() string {
if x != nil && x.LanguageType != nil {
return *x.LanguageType
}
return ""
}
func (x *OCRReqBody) GetScene() string {
if x != nil && x.Scene != nil {
return *x.Scene
}
return ""
}
func (x *OCRReqBody) GetOriginMd5() string {
if x != nil && x.OriginMd5 != nil {
return *x.OriginMd5
}
return ""
}
func (x *OCRReqBody) GetAfterCompressMd5() string {
if x != nil && x.AfterCompressMd5 != nil {
return *x.AfterCompressMd5
}
return ""
}
func (x *OCRReqBody) GetAfterCompressFileSize() uint32 {
if x != nil && x.AfterCompressFileSize != nil {
return *x.AfterCompressFileSize
}
return 0
}
func (x *OCRReqBody) GetAfterCompressWeight() uint32 {
if x != nil && x.AfterCompressWeight != nil {
return *x.AfterCompressWeight
}
return 0
}
func (x *OCRReqBody) GetAfterCompressHeight() uint32 {
if x != nil && x.AfterCompressHeight != nil {
return *x.AfterCompressHeight
}
return 0
}
func (x *OCRReqBody) GetIsCut() bool {
if x != nil && x.IsCut != nil {
return *x.IsCut
}
return false
}
func (x *OCRReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type OCRRspBody struct {
TextDetections []*TextDetection `protobuf:"bytes,1,rep"`
Language *string `protobuf:"bytes,2,opt"`
RequestId *string `protobuf:"bytes,3,opt"`
OcrLanguageList []string `protobuf:"bytes,101,rep"`
DstTranslateLanguageList []string `protobuf:"bytes,102,rep"`
LanguageList []*Language `protobuf:"bytes,103,rep"`
AfterCompressWeight *uint32 `protobuf:"varint,111,opt"`
AfterCompressHeight *uint32 `protobuf:"varint,112,opt"`
}
func (x *OCRRspBody) GetLanguage() string {
if x != nil && x.Language != nil {
return *x.Language
}
return ""
}
func (x *OCRRspBody) GetRequestId() string {
if x != nil && x.RequestId != nil {
return *x.RequestId
}
return ""
}
func (x *OCRRspBody) GetAfterCompressWeight() uint32 {
if x != nil && x.AfterCompressWeight != nil {
return *x.AfterCompressWeight
}
return 0
}
func (x *OCRRspBody) GetAfterCompressHeight() uint32 {
if x != nil && x.AfterCompressHeight != nil {
return *x.AfterCompressHeight
}
return 0
}
func (x *OCRRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type Polygon struct {
Coordinates []*Coordinate `protobuf:"bytes,1,rep"`
}
func (x *Polygon) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
Version *uint32 `protobuf:"varint,1,opt"`
Client *uint32 `protobuf:"varint,2,opt"`
Entrance *uint32 `protobuf:"varint,3,opt"`
OcrReqBody *OCRReqBody `protobuf:"bytes,10,opt"`
}
func (x *ReqBody) GetVersion() uint32 {
if x != nil && x.Version != nil {
return *x.Version
}
return 0
}
func (x *ReqBody) GetClient() uint32 {
if x != nil && x.Client != nil {
return *x.Client
}
return 0
}
func (x *ReqBody) GetEntrance() uint32 {
if x != nil && x.Entrance != nil {
return *x.Entrance
}
return 0
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
RetCode *int32 `protobuf:"varint,1,opt"`
ErrMsg *string `protobuf:"bytes,2,opt"`
Wording *string `protobuf:"bytes,3,opt"`
OcrRspBody *OCRRspBody `protobuf:"bytes,10,opt"`
}
func (x *RspBody) GetRetCode() int32 {
if x != nil && x.RetCode != nil {
return *x.RetCode
}
return 0
}
func (x *RspBody) GetErrMsg() string {
if x != nil && x.ErrMsg != nil {
return *x.ErrMsg
}
return ""
}
func (x *RspBody) GetWording() string {
if x != nil && x.Wording != nil {
return *x.Wording
}
return ""
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type TextDetection struct {
DetectedText *string `protobuf:"bytes,1,opt"`
Confidence *uint32 `protobuf:"varint,2,opt"`
Polygon *Polygon `protobuf:"bytes,3,opt"`
AdvancedInfo *string `protobuf:"bytes,4,opt"`
}
func (x *TextDetection) GetDetectedText() string {
if x != nil && x.DetectedText != nil {
return *x.DetectedText
}
return ""
}
func (x *TextDetection) GetConfidence() uint32 {
if x != nil && x.Confidence != nil {
return *x.Confidence
}
return 0
}
func (x *TextDetection) GetAdvancedInfo() string {
if x != nil && x.AdvancedInfo != nil {
return *x.AdvancedInfo
}
return ""
}
func (x *TextDetection) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,688 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0xeac.proto
package oidb0xeac
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type ArkMsg struct {
AppName *string `protobuf:"bytes,1,opt"`
Json *string `protobuf:"bytes,2,opt"`
}
func (x *ArkMsg) GetAppName() string {
if x != nil && x.AppName != nil {
return *x.AppName
}
return ""
}
func (x *ArkMsg) GetJson() string {
if x != nil && x.Json != nil {
return *x.Json
}
return ""
}
func (x *ArkMsg) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type BatchReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
Msgs []*MsgInfo `protobuf:"bytes,2,rep"`
}
func (x *BatchReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *BatchReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type BatchRspBody struct {
Wording *string `protobuf:"bytes,1,opt"`
ErrorCode *uint32 `protobuf:"varint,2,opt"`
SuccCnt *int32 `protobuf:"varint,3,opt"`
ProcInfos []*MsgProcessInfo `protobuf:"bytes,4,rep"`
DigestTime *uint32 `protobuf:"varint,5,opt"`
}
func (x *BatchRspBody) GetWording() string {
if x != nil && x.Wording != nil {
return *x.Wording
}
return ""
}
func (x *BatchRspBody) GetErrorCode() uint32 {
if x != nil && x.ErrorCode != nil {
return *x.ErrorCode
}
return 0
}
func (x *BatchRspBody) GetSuccCnt() int32 {
if x != nil && x.SuccCnt != nil {
return *x.SuccCnt
}
return 0
}
func (x *BatchRspBody) GetDigestTime() uint32 {
if x != nil && x.DigestTime != nil {
return *x.DigestTime
}
return 0
}
func (x *BatchRspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type DigestMsg struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
Seq *uint32 `protobuf:"varint,2,opt"`
Random *uint32 `protobuf:"varint,3,opt"`
Content []*MsgElem `protobuf:"bytes,4,rep"`
TextSize *uint64 `protobuf:"varint,5,opt"`
PicSize *uint64 `protobuf:"varint,6,opt"`
VideoSize *uint64 `protobuf:"varint,7,opt"`
SenderUin *uint64 `protobuf:"varint,8,opt"`
SenderTime *uint32 `protobuf:"varint,9,opt"`
AddDigestUin *uint64 `protobuf:"varint,10,opt"`
AddDigestTime *uint32 `protobuf:"varint,11,opt"`
StartTime *uint32 `protobuf:"varint,12,opt"`
LatestMsgSeq *uint32 `protobuf:"varint,13,opt"`
OpType *uint32 `protobuf:"varint,14,opt"`
}
func (x *DigestMsg) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *DigestMsg) GetSeq() uint32 {
if x != nil && x.Seq != nil {
return *x.Seq
}
return 0
}
func (x *DigestMsg) GetRandom() uint32 {
if x != nil && x.Random != nil {
return *x.Random
}
return 0
}
func (x *DigestMsg) GetTextSize() uint64 {
if x != nil && x.TextSize != nil {
return *x.TextSize
}
return 0
}
func (x *DigestMsg) GetPicSize() uint64 {
if x != nil && x.PicSize != nil {
return *x.PicSize
}
return 0
}
func (x *DigestMsg) GetVideoSize() uint64 {
if x != nil && x.VideoSize != nil {
return *x.VideoSize
}
return 0
}
func (x *DigestMsg) GetSenderUin() uint64 {
if x != nil && x.SenderUin != nil {
return *x.SenderUin
}
return 0
}
func (x *DigestMsg) GetSenderTime() uint32 {
if x != nil && x.SenderTime != nil {
return *x.SenderTime
}
return 0
}
func (x *DigestMsg) GetAddDigestUin() uint64 {
if x != nil && x.AddDigestUin != nil {
return *x.AddDigestUin
}
return 0
}
func (x *DigestMsg) GetAddDigestTime() uint32 {
if x != nil && x.AddDigestTime != nil {
return *x.AddDigestTime
}
return 0
}
func (x *DigestMsg) GetStartTime() uint32 {
if x != nil && x.StartTime != nil {
return *x.StartTime
}
return 0
}
func (x *DigestMsg) GetLatestMsgSeq() uint32 {
if x != nil && x.LatestMsgSeq != nil {
return *x.LatestMsgSeq
}
return 0
}
func (x *DigestMsg) GetOpType() uint32 {
if x != nil && x.OpType != nil {
return *x.OpType
}
return 0
}
func (x *DigestMsg) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type FaceMsg struct {
Index *uint32 `protobuf:"varint,1,opt"`
Text *string `protobuf:"bytes,2,opt"`
}
func (x *FaceMsg) GetIndex() uint32 {
if x != nil && x.Index != nil {
return *x.Index
}
return 0
}
func (x *FaceMsg) GetText() string {
if x != nil && x.Text != nil {
return *x.Text
}
return ""
}
func (x *FaceMsg) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type GroupFileMsg struct {
FileName []byte `protobuf:"bytes,1,opt"`
BusId *uint32 `protobuf:"varint,2,opt"`
FileId *string `protobuf:"bytes,3,opt"`
FileSize *uint64 `protobuf:"varint,4,opt"`
DeadTime *uint64 `protobuf:"varint,5,opt"`
FileSha1 []byte `protobuf:"bytes,6,opt"`
Ext []byte `protobuf:"bytes,7,opt"`
FileMd5 []byte `protobuf:"bytes,8,opt"`
}
func (x *GroupFileMsg) GetBusId() uint32 {
if x != nil && x.BusId != nil {
return *x.BusId
}
return 0
}
func (x *GroupFileMsg) GetFileId() string {
if x != nil && x.FileId != nil {
return *x.FileId
}
return ""
}
func (x *GroupFileMsg) GetFileSize() uint64 {
if x != nil && x.FileSize != nil {
return *x.FileSize
}
return 0
}
func (x *GroupFileMsg) GetDeadTime() uint64 {
if x != nil && x.DeadTime != nil {
return *x.DeadTime
}
return 0
}
func (x *GroupFileMsg) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ImageMsg struct {
Md5 *string `protobuf:"bytes,1,opt"`
Uuid *string `protobuf:"bytes,2,opt"`
ImgType *uint32 `protobuf:"varint,3,opt"`
FileSize *uint32 `protobuf:"varint,4,opt"`
Width *uint32 `protobuf:"varint,5,opt"`
Height *uint32 `protobuf:"varint,6,opt"`
FileId *uint32 `protobuf:"varint,101,opt"`
ServerIp *uint32 `protobuf:"varint,102,opt"`
ServerPort *uint32 `protobuf:"varint,103,opt"`
FilePath *string `protobuf:"bytes,104,opt"`
ThumbUrl *string `protobuf:"bytes,201,opt"`
OriginalUrl *string `protobuf:"bytes,202,opt"`
ResaveUrl *string `protobuf:"bytes,203,opt"`
}
func (x *ImageMsg) GetMd5() string {
if x != nil && x.Md5 != nil {
return *x.Md5
}
return ""
}
func (x *ImageMsg) GetUuid() string {
if x != nil && x.Uuid != nil {
return *x.Uuid
}
return ""
}
func (x *ImageMsg) GetImgType() uint32 {
if x != nil && x.ImgType != nil {
return *x.ImgType
}
return 0
}
func (x *ImageMsg) GetFileSize() uint32 {
if x != nil && x.FileSize != nil {
return *x.FileSize
}
return 0
}
func (x *ImageMsg) GetWidth() uint32 {
if x != nil && x.Width != nil {
return *x.Width
}
return 0
}
func (x *ImageMsg) GetHeight() uint32 {
if x != nil && x.Height != nil {
return *x.Height
}
return 0
}
func (x *ImageMsg) GetFileId() uint32 {
if x != nil && x.FileId != nil {
return *x.FileId
}
return 0
}
func (x *ImageMsg) GetServerIp() uint32 {
if x != nil && x.ServerIp != nil {
return *x.ServerIp
}
return 0
}
func (x *ImageMsg) GetServerPort() uint32 {
if x != nil && x.ServerPort != nil {
return *x.ServerPort
}
return 0
}
func (x *ImageMsg) GetFilePath() string {
if x != nil && x.FilePath != nil {
return *x.FilePath
}
return ""
}
func (x *ImageMsg) GetThumbUrl() string {
if x != nil && x.ThumbUrl != nil {
return *x.ThumbUrl
}
return ""
}
func (x *ImageMsg) GetOriginalUrl() string {
if x != nil && x.OriginalUrl != nil {
return *x.OriginalUrl
}
return ""
}
func (x *ImageMsg) GetResaveUrl() string {
if x != nil && x.ResaveUrl != nil {
return *x.ResaveUrl
}
return ""
}
func (x *ImageMsg) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type MsgElem struct {
Type *uint32 `protobuf:"varint,1,opt"`
TextMsg *TextMsg `protobuf:"bytes,11,opt"`
FaceMsg *FaceMsg `protobuf:"bytes,12,opt"`
ImageMsg *ImageMsg `protobuf:"bytes,13,opt"`
GroupFileMsg *GroupFileMsg `protobuf:"bytes,14,opt"`
ShareMsg *ShareMsg `protobuf:"bytes,15,opt"`
RichMsg *RichMsg `protobuf:"bytes,16,opt"`
ArkMsg *ArkMsg `protobuf:"bytes,17,opt"`
}
func (x *MsgElem) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *MsgElem) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type MsgInfo struct {
Seq *uint32 `protobuf:"varint,1,opt"`
Random *uint32 `protobuf:"varint,2,opt"`
}
func (x *MsgInfo) GetSeq() uint32 {
if x != nil && x.Seq != nil {
return *x.Seq
}
return 0
}
func (x *MsgInfo) GetRandom() uint32 {
if x != nil && x.Random != nil {
return *x.Random
}
return 0
}
func (x *MsgInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type MsgProcessInfo struct {
Msg *MsgInfo `protobuf:"bytes,1,opt"`
ErrorCode *uint32 `protobuf:"varint,2,opt"`
DigestUin *uint64 `protobuf:"varint,3,opt"`
DigestTime *uint32 `protobuf:"varint,4,opt"`
}
func (x *MsgProcessInfo) GetErrorCode() uint32 {
if x != nil && x.ErrorCode != nil {
return *x.ErrorCode
}
return 0
}
func (x *MsgProcessInfo) GetDigestUin() uint64 {
if x != nil && x.DigestUin != nil {
return *x.DigestUin
}
return 0
}
func (x *MsgProcessInfo) GetDigestTime() uint32 {
if x != nil && x.DigestTime != nil {
return *x.DigestTime
}
return 0
}
func (x *MsgProcessInfo) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
Seq *uint32 `protobuf:"varint,2,opt"`
Random *uint32 `protobuf:"varint,3,opt"`
}
func (x *ReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *ReqBody) GetSeq() uint32 {
if x != nil && x.Seq != nil {
return *x.Seq
}
return 0
}
func (x *ReqBody) GetRandom() uint32 {
if x != nil && x.Random != nil {
return *x.Random
}
return 0
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RichMsg struct {
ServiceId *uint32 `protobuf:"varint,1,opt"`
Xml *string `protobuf:"bytes,2,opt"`
LongMsgResid *string `protobuf:"bytes,3,opt"`
}
func (x *RichMsg) GetServiceId() uint32 {
if x != nil && x.ServiceId != nil {
return *x.ServiceId
}
return 0
}
func (x *RichMsg) GetXml() string {
if x != nil && x.Xml != nil {
return *x.Xml
}
return ""
}
func (x *RichMsg) GetLongMsgResid() string {
if x != nil && x.LongMsgResid != nil {
return *x.LongMsgResid
}
return ""
}
func (x *RichMsg) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
Wording *string `protobuf:"bytes,1,opt"`
DigestUin *uint64 `protobuf:"varint,2,opt"`
DigestTime *uint32 `protobuf:"varint,3,opt"`
Msg *DigestMsg `protobuf:"bytes,4,opt"`
ErrorCode *uint32 `protobuf:"varint,10,opt"`
}
func (x *RspBody) GetWording() string {
if x != nil && x.Wording != nil {
return *x.Wording
}
return ""
}
func (x *RspBody) GetDigestUin() uint64 {
if x != nil && x.DigestUin != nil {
return *x.DigestUin
}
return 0
}
func (x *RspBody) GetDigestTime() uint32 {
if x != nil && x.DigestTime != nil {
return *x.DigestTime
}
return 0
}
func (x *RspBody) GetErrorCode() uint32 {
if x != nil && x.ErrorCode != nil {
return *x.ErrorCode
}
return 0
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ShareMsg struct {
Type *string `protobuf:"bytes,1,opt"`
Title *string `protobuf:"bytes,2,opt"`
Summary *string `protobuf:"bytes,3,opt"`
Brief *string `protobuf:"bytes,4,opt"`
Url *string `protobuf:"bytes,5,opt"`
PictureUrl *string `protobuf:"bytes,6,opt"`
Action *string `protobuf:"bytes,7,opt"`
Source *string `protobuf:"bytes,8,opt"`
SourceUrl *string `protobuf:"bytes,9,opt"`
}
func (x *ShareMsg) GetType() string {
if x != nil && x.Type != nil {
return *x.Type
}
return ""
}
func (x *ShareMsg) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
}
return ""
}
func (x *ShareMsg) GetSummary() string {
if x != nil && x.Summary != nil {
return *x.Summary
}
return ""
}
func (x *ShareMsg) GetBrief() string {
if x != nil && x.Brief != nil {
return *x.Brief
}
return ""
}
func (x *ShareMsg) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
}
return ""
}
func (x *ShareMsg) GetPictureUrl() string {
if x != nil && x.PictureUrl != nil {
return *x.PictureUrl
}
return ""
}
func (x *ShareMsg) GetAction() string {
if x != nil && x.Action != nil {
return *x.Action
}
return ""
}
func (x *ShareMsg) GetSource() string {
if x != nil && x.Source != nil {
return *x.Source
}
return ""
}
func (x *ShareMsg) GetSourceUrl() string {
if x != nil && x.SourceUrl != nil {
return *x.SourceUrl
}
return ""
}
func (x *ShareMsg) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type TextMsg struct {
Str []byte `protobuf:"bytes,1,opt"`
}
func (x *TextMsg) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,67 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0xed3.proto
package oidb0xed3
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type ReqBody struct {
ToUin *uint64 `protobuf:"varint,1,opt"`
GroupCode *uint64 `protobuf:"varint,2,opt"`
MsgSeq *uint32 `protobuf:"varint,3,opt"`
MsgRand *uint32 `protobuf:"varint,4,opt"`
AioUin *uint64 `protobuf:"varint,5,opt"`
NudgeType *uint32 `protobuf:"varint,6,opt"`
}
func (x *ReqBody) GetToUin() uint64 {
if x != nil && x.ToUin != nil {
return *x.ToUin
}
return 0
}
func (x *ReqBody) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *ReqBody) GetMsgSeq() uint32 {
if x != nil && x.MsgSeq != nil {
return *x.MsgSeq
}
return 0
}
func (x *ReqBody) GetMsgRand() uint32 {
if x != nil && x.MsgRand != nil {
return *x.MsgRand
}
return 0
}
func (x *ReqBody) GetAioUin() uint64 {
if x != nil && x.AioUin != nil {
return *x.AioUin
}
return 0
}
func (x *ReqBody) GetNudgeType() uint32 {
if x != nil && x.NudgeType != nil {
return *x.NudgeType
}
return 0
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,126 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/0xef0.proto
package oidb0xef0
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type GroupInfoExt struct {
GroupInfoExtSeq *uint32 `protobuf:"varint,1,opt"`
LuckyWordId *uint64 `protobuf:"varint,2,opt"`
LightCharNum *uint32 `protobuf:"varint,3,opt"`
LuckyWord []byte `protobuf:"bytes,4,opt"`
StarId *uint32 `protobuf:"varint,5,opt"`
EssentialMsgSwitch *uint32 `protobuf:"varint,6,opt"`
TodoSeq *uint32 `protobuf:"varint,7,opt"`
BlacklistExpireTime *uint32 `protobuf:"varint,8,opt"`
}
func (x *GroupInfoExt) GetGroupInfoExtSeq() uint32 {
if x != nil && x.GroupInfoExtSeq != nil {
return *x.GroupInfoExtSeq
}
return 0
}
func (x *GroupInfoExt) GetLuckyWordId() uint64 {
if x != nil && x.LuckyWordId != nil {
return *x.LuckyWordId
}
return 0
}
func (x *GroupInfoExt) GetLightCharNum() uint32 {
if x != nil && x.LightCharNum != nil {
return *x.LightCharNum
}
return 0
}
func (x *GroupInfoExt) GetStarId() uint32 {
if x != nil && x.StarId != nil {
return *x.StarId
}
return 0
}
func (x *GroupInfoExt) GetEssentialMsgSwitch() uint32 {
if x != nil && x.EssentialMsgSwitch != nil {
return *x.EssentialMsgSwitch
}
return 0
}
func (x *GroupInfoExt) GetTodoSeq() uint32 {
if x != nil && x.TodoSeq != nil {
return *x.TodoSeq
}
return 0
}
func (x *GroupInfoExt) GetBlacklistExpireTime() uint32 {
if x != nil && x.BlacklistExpireTime != nil {
return *x.BlacklistExpireTime
}
return 0
}
func (x *GroupInfoExt) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type ReqBody struct {
GroupCode []uint64 `protobuf:"varint,1,rep"`
GroupInfoExt *GroupInfoExt `protobuf:"bytes,2,opt"`
}
func (x *ReqBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspBody struct {
RspDetail []*RspDetail `protobuf:"bytes,1,rep"`
}
func (x *RspBody) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}
type RspDetail struct {
GroupCode *uint64 `protobuf:"varint,1,opt"`
Result *int32 `protobuf:"varint,2,opt"`
GroupInfoExt *GroupInfoExt `protobuf:"bytes,3,opt"`
}
func (x *RspDetail) GetGroupCode() uint64 {
if x != nil && x.GroupCode != nil {
return *x.GroupCode
}
return 0
}
func (x *RspDetail) GetResult() int32 {
if x != nil && x.Result != nil {
return *x.Result
}
return 0
}
func (x *RspDetail) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,60 @@
// Code generated by yaprotoc. DO NOT EDIT.
// source: oidb/sso.proto
package oidb
import (
"github.com/pkg/errors"
"github.com/segmentio/encoding/proto"
)
type OIDBSSOPkg struct {
Command *uint32 `protobuf:"varint,1,opt"`
ServiceType *uint32 `protobuf:"varint,2,opt"`
Result *uint32 `protobuf:"varint,3,opt"`
Bodybuffer []byte `protobuf:"bytes,4,opt"`
ErrorMsg *string `protobuf:"bytes,5,opt"`
ClientVersion *string `protobuf:"bytes,6,opt"`
}
func (x *OIDBSSOPkg) GetCommand() uint32 {
if x != nil && x.Command != nil {
return *x.Command
}
return 0
}
func (x *OIDBSSOPkg) GetServiceType() uint32 {
if x != nil && x.ServiceType != nil {
return *x.ServiceType
}
return 0
}
func (x *OIDBSSOPkg) GetResult() uint32 {
if x != nil && x.Result != nil {
return *x.Result
}
return 0
}
func (x *OIDBSSOPkg) GetErrorMsg() string {
if x != nil && x.ErrorMsg != nil {
return *x.ErrorMsg
}
return ""
}
func (x *OIDBSSOPkg) GetClientVersion() string {
if x != nil && x.ClientVersion != nil {
return *x.ClientVersion
}
return ""
}
func (x *OIDBSSOPkg) Marshal() ([]byte, error) {
if x == nil {
return nil, errors.New("nil message")
}
return proto.Marshal(x)
}

View File

@ -0,0 +1,21 @@
package proto
type Message interface {
Marshal() ([]byte, error)
}
func String(v string) *string { return &v }
func Bool(v bool) *bool { return &v }
func Int32(v int32) *int32 { return &v }
func Int64(v int64) *int64 { return &v }
func Uint32(v uint32) *uint32 { return &v }
func Uint64(v uint64) *uint64 { return &v }
func Float32(v float32) *float32 { return &v }
func Float64(v float64) *float64 { return &v }

View File

@ -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

Some files were not shown because too many files have changed in this diff Show More