github.com/Mrs4s/MiraiGo@v0.0.0-20240226124653-54bdd873e3fe/client/pb/pttcenter/shortvideo.pb.go (about) 1 // Code generated by protoc-gen-golite. DO NOT EDIT. 2 // source: pb/pttcenter/shortvideo.proto 3 4 package pttcenter 5 6 type ShortVideoReqBody struct { 7 Cmd int32 `protobuf:"varint,1,opt"` 8 Seq int32 `protobuf:"varint,2,opt"` 9 PttShortVideoUploadReq *ShortVideoUploadReq `protobuf:"bytes,3,opt"` 10 PttShortVideoDownloadReq *ShortVideoDownloadReq `protobuf:"bytes,4,opt"` 11 ExtensionReq []*ShortVideoExtensionReq `protobuf:"bytes,100,rep"` 12 } 13 14 type ShortVideoRspBody struct { 15 Cmd int32 `protobuf:"varint,1,opt"` 16 Seq int32 `protobuf:"varint,2,opt"` 17 PttShortVideoUploadRsp *ShortVideoUploadRsp `protobuf:"bytes,3,opt"` 18 PttShortVideoDownloadRsp *ShortVideoDownloadRsp `protobuf:"bytes,4,opt"` 19 _ [0]func() 20 } 21 22 type ShortVideoUploadReq struct { 23 FromUin int64 `protobuf:"varint,1,opt"` 24 ToUin int64 `protobuf:"varint,2,opt"` 25 ChatType int32 `protobuf:"varint,3,opt"` 26 ClientType int32 `protobuf:"varint,4,opt"` 27 Info *ShortVideoFileInfo `protobuf:"bytes,5,opt"` 28 GroupCode int64 `protobuf:"varint,6,opt"` 29 AgentType int32 `protobuf:"varint,7,opt"` 30 BusinessType int32 `protobuf:"varint,8,opt"` 31 SupportLargeSize int32 `protobuf:"varint,20,opt"` 32 _ [0]func() 33 } 34 35 type ShortVideoDownloadReq struct { 36 FromUin int64 `protobuf:"varint,1,opt"` 37 ToUin int64 `protobuf:"varint,2,opt"` 38 ChatType int32 `protobuf:"varint,3,opt"` 39 ClientType int32 `protobuf:"varint,4,opt"` 40 FileId string `protobuf:"bytes,5,opt"` 41 GroupCode int64 `protobuf:"varint,6,opt"` 42 AgentType int32 `protobuf:"varint,7,opt"` 43 FileMd5 []byte `protobuf:"bytes,8,opt"` 44 BusinessType int32 `protobuf:"varint,9,opt"` 45 FileType int32 `protobuf:"varint,10,opt"` 46 DownType int32 `protobuf:"varint,11,opt"` 47 SceneType int32 `protobuf:"varint,12,opt"` 48 } 49 50 type ShortVideoDownloadRsp struct { 51 RetCode int32 `protobuf:"varint,1,opt"` 52 RetMsg string `protobuf:"bytes,2,opt"` 53 // repeated ShortVideoIpList sameAreaOutAddr = 3; 54 // repeated ShortVideoIpList diffAreaOutAddr = 4; 55 DownloadKey []byte `protobuf:"bytes,5,opt"` 56 FileMd5 []byte `protobuf:"bytes,6,opt"` 57 // repeated ShortVideoIpList sameAreaInnerAddr = 7; 58 // repeated ShortVideoIpList diffAreaInnerAddr = 8; 59 DownloadAddr *ShortVideoAddr `protobuf:"bytes,9,opt"` 60 EncryptKey []byte `protobuf:"bytes,10,opt"` 61 } 62 63 type ShortVideoUploadRsp struct { 64 RetCode int32 `protobuf:"varint,1,opt"` 65 RetMsg string `protobuf:"bytes,2,opt"` 66 // repeated ShortVideoIpList sameAreaOutAddr = 3; 67 // repeated ShortVideoIpList diffAreaOutAddr = 4; 68 FileId string `protobuf:"bytes,5,opt"` 69 UKey []byte `protobuf:"bytes,6,opt"` 70 FileExists int32 `protobuf:"varint,7,opt"` 71 } 72 73 type ShortVideoFileInfo struct { 74 FileName string `protobuf:"bytes,1,opt"` 75 FileMd5 []byte `protobuf:"bytes,2,opt"` 76 ThumbFileMd5 []byte `protobuf:"bytes,3,opt"` 77 FileSize int64 `protobuf:"varint,4,opt"` 78 FileResLength int32 `protobuf:"varint,5,opt"` 79 FileResWidth int32 `protobuf:"varint,6,opt"` 80 FileFormat int32 `protobuf:"varint,7,opt"` 81 FileTime int32 `protobuf:"varint,8,opt"` 82 ThumbFileSize int64 `protobuf:"varint,9,opt"` 83 } 84 85 type DataHole struct { 86 Begin int64 `protobuf:"varint,1,opt"` 87 End int64 `protobuf:"varint,2,opt"` 88 _ [0]func() 89 } 90 91 type ShortVideoIpList struct { 92 Ip int32 `protobuf:"varint,1,opt"` 93 Port int32 `protobuf:"varint,2,opt"` 94 _ [0]func() 95 } 96 97 type ShortVideoAddr struct { 98 Host []string `protobuf:"bytes,10,rep"` 99 UrlArgs string `protobuf:"bytes,11,opt"` //repeated string domain = 13; 100 } 101 102 type ShortVideoExtensionReq struct { 103 SubBusiType int32 `protobuf:"varint,1,opt"` 104 UserCnt int32 `protobuf:"varint,2,opt"` 105 _ [0]func() 106 }