mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
169 lines
2.9 KiB
Go
169 lines
2.9 KiB
Go
// Code generated by protoc-gen-golite. DO NOT EDIT.
|
|
// source: objmsg.proto
|
|
|
|
package msg
|
|
|
|
type MsgPic struct {
|
|
SmallPicUrl []byte `protobuf:"bytes,1,opt"`
|
|
OriginalPicUrl []byte `protobuf:"bytes,2,opt"`
|
|
LocalPicId int32 `protobuf:"varint,3,opt"`
|
|
}
|
|
|
|
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 {
|
|
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) 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 {
|
|
ContentInfoId []byte `protobuf:"bytes,1,opt"`
|
|
MsgFile *MsgFile `protobuf:"bytes,2,opt"`
|
|
}
|
|
|
|
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 {
|
|
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) 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
|
|
}
|