mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-25 22:49:19 +08:00
pb file
This commit is contained in:
parent
99792ae8d7
commit
d98253db43
601
src/proto/sdk_ws/ws.pb.go
Normal file
601
src/proto/sdk_ws/ws.pb.go
Normal file
@ -0,0 +1,601 @@
|
|||||||
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// source: sdk_ws/ws.proto
|
||||||
|
|
||||||
|
package pbWs // import "./sdk_ws"
|
||||||
|
|
||||||
|
import proto "github.com/golang/protobuf/proto"
|
||||||
|
import fmt "fmt"
|
||||||
|
import math "math"
|
||||||
|
|
||||||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
var _ = proto.Marshal
|
||||||
|
var _ = fmt.Errorf
|
||||||
|
var _ = math.Inf
|
||||||
|
|
||||||
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||||
|
|
||||||
|
type PullMessageBySeqListResp struct {
|
||||||
|
MaxSeq int64 `protobuf:"varint,1,opt,name=MaxSeq" json:"MaxSeq,omitempty"`
|
||||||
|
MinSeq int64 `protobuf:"varint,2,opt,name=MinSeq" json:"MinSeq,omitempty"`
|
||||||
|
SingleUserMsg []*GatherFormat `protobuf:"bytes,3,rep,name=SingleUserMsg" json:"SingleUserMsg,omitempty"`
|
||||||
|
GroupUserMsg []*GatherFormat `protobuf:"bytes,4,rep,name=GroupUserMsg" json:"GroupUserMsg,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *PullMessageBySeqListResp) Reset() { *m = PullMessageBySeqListResp{} }
|
||||||
|
func (m *PullMessageBySeqListResp) String() string { return proto.CompactTextString(m) }
|
||||||
|
func (*PullMessageBySeqListResp) ProtoMessage() {}
|
||||||
|
func (*PullMessageBySeqListResp) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptor_ws_61fa28b4145bb9af, []int{0}
|
||||||
|
}
|
||||||
|
func (m *PullMessageBySeqListResp) XXX_Unmarshal(b []byte) error {
|
||||||
|
return xxx_messageInfo_PullMessageBySeqListResp.Unmarshal(m, b)
|
||||||
|
}
|
||||||
|
func (m *PullMessageBySeqListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_PullMessageBySeqListResp.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (dst *PullMessageBySeqListResp) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_PullMessageBySeqListResp.Merge(dst, src)
|
||||||
|
}
|
||||||
|
func (m *PullMessageBySeqListResp) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_PullMessageBySeqListResp.Size(m)
|
||||||
|
}
|
||||||
|
func (m *PullMessageBySeqListResp) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_PullMessageBySeqListResp.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_PullMessageBySeqListResp proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *PullMessageBySeqListResp) GetMaxSeq() int64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.MaxSeq
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *PullMessageBySeqListResp) GetMinSeq() int64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.MinSeq
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *PullMessageBySeqListResp) GetSingleUserMsg() []*GatherFormat {
|
||||||
|
if m != nil {
|
||||||
|
return m.SingleUserMsg
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *PullMessageBySeqListResp) GetGroupUserMsg() []*GatherFormat {
|
||||||
|
if m != nil {
|
||||||
|
return m.GroupUserMsg
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type PullMessageBySeqListReq struct {
|
||||||
|
SeqList []int64 `protobuf:"varint,1,rep,packed,name=seqList" json:"seqList,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *PullMessageBySeqListReq) Reset() { *m = PullMessageBySeqListReq{} }
|
||||||
|
func (m *PullMessageBySeqListReq) String() string { return proto.CompactTextString(m) }
|
||||||
|
func (*PullMessageBySeqListReq) ProtoMessage() {}
|
||||||
|
func (*PullMessageBySeqListReq) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptor_ws_61fa28b4145bb9af, []int{1}
|
||||||
|
}
|
||||||
|
func (m *PullMessageBySeqListReq) XXX_Unmarshal(b []byte) error {
|
||||||
|
return xxx_messageInfo_PullMessageBySeqListReq.Unmarshal(m, b)
|
||||||
|
}
|
||||||
|
func (m *PullMessageBySeqListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_PullMessageBySeqListReq.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (dst *PullMessageBySeqListReq) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_PullMessageBySeqListReq.Merge(dst, src)
|
||||||
|
}
|
||||||
|
func (m *PullMessageBySeqListReq) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_PullMessageBySeqListReq.Size(m)
|
||||||
|
}
|
||||||
|
func (m *PullMessageBySeqListReq) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_PullMessageBySeqListReq.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_PullMessageBySeqListReq proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *PullMessageBySeqListReq) GetSeqList() []int64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.SeqList
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type GetNewSeqReq struct {
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GetNewSeqReq) Reset() { *m = GetNewSeqReq{} }
|
||||||
|
func (m *GetNewSeqReq) String() string { return proto.CompactTextString(m) }
|
||||||
|
func (*GetNewSeqReq) ProtoMessage() {}
|
||||||
|
func (*GetNewSeqReq) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptor_ws_61fa28b4145bb9af, []int{2}
|
||||||
|
}
|
||||||
|
func (m *GetNewSeqReq) XXX_Unmarshal(b []byte) error {
|
||||||
|
return xxx_messageInfo_GetNewSeqReq.Unmarshal(m, b)
|
||||||
|
}
|
||||||
|
func (m *GetNewSeqReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_GetNewSeqReq.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (dst *GetNewSeqReq) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_GetNewSeqReq.Merge(dst, src)
|
||||||
|
}
|
||||||
|
func (m *GetNewSeqReq) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_GetNewSeqReq.Size(m)
|
||||||
|
}
|
||||||
|
func (m *GetNewSeqReq) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_GetNewSeqReq.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_GetNewSeqReq proto.InternalMessageInfo
|
||||||
|
|
||||||
|
type GetNewSeqResp struct {
|
||||||
|
Seq int64 `protobuf:"varint,1,opt,name=Seq" json:"Seq,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GetNewSeqResp) Reset() { *m = GetNewSeqResp{} }
|
||||||
|
func (m *GetNewSeqResp) String() string { return proto.CompactTextString(m) }
|
||||||
|
func (*GetNewSeqResp) ProtoMessage() {}
|
||||||
|
func (*GetNewSeqResp) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptor_ws_61fa28b4145bb9af, []int{3}
|
||||||
|
}
|
||||||
|
func (m *GetNewSeqResp) XXX_Unmarshal(b []byte) error {
|
||||||
|
return xxx_messageInfo_GetNewSeqResp.Unmarshal(m, b)
|
||||||
|
}
|
||||||
|
func (m *GetNewSeqResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_GetNewSeqResp.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (dst *GetNewSeqResp) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_GetNewSeqResp.Merge(dst, src)
|
||||||
|
}
|
||||||
|
func (m *GetNewSeqResp) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_GetNewSeqResp.Size(m)
|
||||||
|
}
|
||||||
|
func (m *GetNewSeqResp) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_GetNewSeqResp.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_GetNewSeqResp proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *GetNewSeqResp) GetSeq() int64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Seq
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
type GatherFormat struct {
|
||||||
|
// @inject_tag: json:"id"
|
||||||
|
ID string `protobuf:"bytes,1,opt,name=ID" json:"id"`
|
||||||
|
// @inject_tag: json:"list"
|
||||||
|
List []*MsgFormat `protobuf:"bytes,2,rep,name=List" json:"list"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GatherFormat) Reset() { *m = GatherFormat{} }
|
||||||
|
func (m *GatherFormat) String() string { return proto.CompactTextString(m) }
|
||||||
|
func (*GatherFormat) ProtoMessage() {}
|
||||||
|
func (*GatherFormat) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptor_ws_61fa28b4145bb9af, []int{4}
|
||||||
|
}
|
||||||
|
func (m *GatherFormat) XXX_Unmarshal(b []byte) error {
|
||||||
|
return xxx_messageInfo_GatherFormat.Unmarshal(m, b)
|
||||||
|
}
|
||||||
|
func (m *GatherFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_GatherFormat.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (dst *GatherFormat) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_GatherFormat.Merge(dst, src)
|
||||||
|
}
|
||||||
|
func (m *GatherFormat) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_GatherFormat.Size(m)
|
||||||
|
}
|
||||||
|
func (m *GatherFormat) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_GatherFormat.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_GatherFormat proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *GatherFormat) GetID() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.ID
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GatherFormat) GetList() []*MsgFormat {
|
||||||
|
if m != nil {
|
||||||
|
return m.List
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type MsgFormat struct {
|
||||||
|
// @inject_tag: json:"sendID"
|
||||||
|
SendID string `protobuf:"bytes,1,opt,name=SendID" json:"sendID"`
|
||||||
|
// @inject_tag: json:"recvID"
|
||||||
|
RecvID string `protobuf:"bytes,2,opt,name=RecvID" json:"recvID"`
|
||||||
|
// @inject_tag: json:"msgFrom"
|
||||||
|
MsgFrom int32 `protobuf:"varint,3,opt,name=MsgFrom" json:"msgFrom"`
|
||||||
|
// @inject_tag: json:"contentType"
|
||||||
|
ContentType int32 `protobuf:"varint,4,opt,name=ContentType" json:"contentType"`
|
||||||
|
// @inject_tag: json:"serverMsgID"
|
||||||
|
ServerMsgID string `protobuf:"bytes,5,opt,name=ServerMsgID" json:"serverMsgID"`
|
||||||
|
// @inject_tag: json:"content"
|
||||||
|
Content string `protobuf:"bytes,6,opt,name=Content" json:"content"`
|
||||||
|
// @inject_tag: json:"seq"
|
||||||
|
Seq int64 `protobuf:"varint,7,opt,name=Seq" json:"seq"`
|
||||||
|
// @inject_tag: json:"sendTime"
|
||||||
|
SendTime int64 `protobuf:"varint,8,opt,name=SendTime" json:"sendTime"`
|
||||||
|
// @inject_tag: json:"senderPlatformID"
|
||||||
|
SenderPlatformID int32 `protobuf:"varint,9,opt,name=SenderPlatformID" json:"senderPlatformID"`
|
||||||
|
// @inject_tag: json:"senderNickName"
|
||||||
|
SenderNickName string `protobuf:"bytes,10,opt,name=SenderNickName" json:"senderNickName"`
|
||||||
|
// @inject_tag: json:"senderFaceUrl"
|
||||||
|
SenderFaceURL string `protobuf:"bytes,11,opt,name=SenderFaceURL" json:"senderFaceUrl"`
|
||||||
|
// @inject_tag: json:"clientMsgID"
|
||||||
|
ClientMsgID string `protobuf:"bytes,12,opt,name=ClientMsgID" json:"clientMsgID"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MsgFormat) Reset() { *m = MsgFormat{} }
|
||||||
|
func (m *MsgFormat) String() string { return proto.CompactTextString(m) }
|
||||||
|
func (*MsgFormat) ProtoMessage() {}
|
||||||
|
func (*MsgFormat) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptor_ws_61fa28b4145bb9af, []int{5}
|
||||||
|
}
|
||||||
|
func (m *MsgFormat) XXX_Unmarshal(b []byte) error {
|
||||||
|
return xxx_messageInfo_MsgFormat.Unmarshal(m, b)
|
||||||
|
}
|
||||||
|
func (m *MsgFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_MsgFormat.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (dst *MsgFormat) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_MsgFormat.Merge(dst, src)
|
||||||
|
}
|
||||||
|
func (m *MsgFormat) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_MsgFormat.Size(m)
|
||||||
|
}
|
||||||
|
func (m *MsgFormat) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_MsgFormat.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_MsgFormat proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *MsgFormat) GetSendID() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.SendID
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MsgFormat) GetRecvID() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.RecvID
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MsgFormat) GetMsgFrom() int32 {
|
||||||
|
if m != nil {
|
||||||
|
return m.MsgFrom
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MsgFormat) GetContentType() int32 {
|
||||||
|
if m != nil {
|
||||||
|
return m.ContentType
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MsgFormat) GetServerMsgID() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.ServerMsgID
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MsgFormat) GetContent() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.Content
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MsgFormat) GetSeq() int64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Seq
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MsgFormat) GetSendTime() int64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.SendTime
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MsgFormat) GetSenderPlatformID() int32 {
|
||||||
|
if m != nil {
|
||||||
|
return m.SenderPlatformID
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MsgFormat) GetSenderNickName() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.SenderNickName
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MsgFormat) GetSenderFaceURL() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.SenderFaceURL
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MsgFormat) GetClientMsgID() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.ClientMsgID
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
type UserSendMsgReq struct {
|
||||||
|
Options map[string]int32 `protobuf:"bytes,1,rep,name=Options" json:"Options,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||||||
|
SenderNickName string `protobuf:"bytes,2,opt,name=SenderNickName" json:"SenderNickName,omitempty"`
|
||||||
|
SenderFaceURL string `protobuf:"bytes,3,opt,name=SenderFaceURL" json:"SenderFaceURL,omitempty"`
|
||||||
|
PlatformID int32 `protobuf:"varint,4,opt,name=PlatformID" json:"PlatformID,omitempty"`
|
||||||
|
SessionType int32 `protobuf:"varint,5,opt,name=SessionType" json:"SessionType,omitempty"`
|
||||||
|
MsgFrom int32 `protobuf:"varint,6,opt,name=MsgFrom" json:"MsgFrom,omitempty"`
|
||||||
|
ContentType int32 `protobuf:"varint,7,opt,name=ContentType" json:"ContentType,omitempty"`
|
||||||
|
RecvID string `protobuf:"bytes,8,opt,name=RecvID" json:"RecvID,omitempty"`
|
||||||
|
ForceList []string `protobuf:"bytes,9,rep,name=ForceList" json:"ForceList,omitempty"`
|
||||||
|
Content string `protobuf:"bytes,10,opt,name=Content" json:"Content,omitempty"`
|
||||||
|
ClientMsgID string `protobuf:"bytes,11,opt,name=ClientMsgID" json:"ClientMsgID,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgReq) Reset() { *m = UserSendMsgReq{} }
|
||||||
|
func (m *UserSendMsgReq) String() string { return proto.CompactTextString(m) }
|
||||||
|
func (*UserSendMsgReq) ProtoMessage() {}
|
||||||
|
func (*UserSendMsgReq) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptor_ws_61fa28b4145bb9af, []int{6}
|
||||||
|
}
|
||||||
|
func (m *UserSendMsgReq) XXX_Unmarshal(b []byte) error {
|
||||||
|
return xxx_messageInfo_UserSendMsgReq.Unmarshal(m, b)
|
||||||
|
}
|
||||||
|
func (m *UserSendMsgReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_UserSendMsgReq.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (dst *UserSendMsgReq) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_UserSendMsgReq.Merge(dst, src)
|
||||||
|
}
|
||||||
|
func (m *UserSendMsgReq) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_UserSendMsgReq.Size(m)
|
||||||
|
}
|
||||||
|
func (m *UserSendMsgReq) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_UserSendMsgReq.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_UserSendMsgReq proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *UserSendMsgReq) GetOptions() map[string]int32 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Options
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgReq) GetSenderNickName() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.SenderNickName
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgReq) GetSenderFaceURL() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.SenderFaceURL
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgReq) GetPlatformID() int32 {
|
||||||
|
if m != nil {
|
||||||
|
return m.PlatformID
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgReq) GetSessionType() int32 {
|
||||||
|
if m != nil {
|
||||||
|
return m.SessionType
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgReq) GetMsgFrom() int32 {
|
||||||
|
if m != nil {
|
||||||
|
return m.MsgFrom
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgReq) GetContentType() int32 {
|
||||||
|
if m != nil {
|
||||||
|
return m.ContentType
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgReq) GetRecvID() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.RecvID
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgReq) GetForceList() []string {
|
||||||
|
if m != nil {
|
||||||
|
return m.ForceList
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgReq) GetContent() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.Content
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgReq) GetClientMsgID() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.ClientMsgID
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
type UserSendMsgResp struct {
|
||||||
|
ServerMsgID string `protobuf:"bytes,1,opt,name=ServerMsgID" json:"ServerMsgID,omitempty"`
|
||||||
|
ClientMsgID string `protobuf:"bytes,2,opt,name=ClientMsgID" json:"ClientMsgID,omitempty"`
|
||||||
|
SendTime int64 `protobuf:"varint,3,opt,name=sendTime" json:"sendTime,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgResp) Reset() { *m = UserSendMsgResp{} }
|
||||||
|
func (m *UserSendMsgResp) String() string { return proto.CompactTextString(m) }
|
||||||
|
func (*UserSendMsgResp) ProtoMessage() {}
|
||||||
|
func (*UserSendMsgResp) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptor_ws_61fa28b4145bb9af, []int{7}
|
||||||
|
}
|
||||||
|
func (m *UserSendMsgResp) XXX_Unmarshal(b []byte) error {
|
||||||
|
return xxx_messageInfo_UserSendMsgResp.Unmarshal(m, b)
|
||||||
|
}
|
||||||
|
func (m *UserSendMsgResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_UserSendMsgResp.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (dst *UserSendMsgResp) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_UserSendMsgResp.Merge(dst, src)
|
||||||
|
}
|
||||||
|
func (m *UserSendMsgResp) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_UserSendMsgResp.Size(m)
|
||||||
|
}
|
||||||
|
func (m *UserSendMsgResp) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_UserSendMsgResp.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_UserSendMsgResp proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *UserSendMsgResp) GetServerMsgID() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.ServerMsgID
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgResp) GetClientMsgID() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.ClientMsgID
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *UserSendMsgResp) GetSendTime() int64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.SendTime
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
proto.RegisterType((*PullMessageBySeqListResp)(nil), "pbWs.PullMessageBySeqListResp")
|
||||||
|
proto.RegisterType((*PullMessageBySeqListReq)(nil), "pbWs.PullMessageBySeqListReq")
|
||||||
|
proto.RegisterType((*GetNewSeqReq)(nil), "pbWs.GetNewSeqReq")
|
||||||
|
proto.RegisterType((*GetNewSeqResp)(nil), "pbWs.GetNewSeqResp")
|
||||||
|
proto.RegisterType((*GatherFormat)(nil), "pbWs.GatherFormat")
|
||||||
|
proto.RegisterType((*MsgFormat)(nil), "pbWs.MsgFormat")
|
||||||
|
proto.RegisterType((*UserSendMsgReq)(nil), "pbWs.UserSendMsgReq")
|
||||||
|
proto.RegisterMapType((map[string]int32)(nil), "pbWs.UserSendMsgReq.OptionsEntry")
|
||||||
|
proto.RegisterType((*UserSendMsgResp)(nil), "pbWs.UserSendMsgResp")
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { proto.RegisterFile("sdk_ws/ws.proto", fileDescriptor_ws_61fa28b4145bb9af) }
|
||||||
|
|
||||||
|
var fileDescriptor_ws_61fa28b4145bb9af = []byte{
|
||||||
|
// 608 bytes of a gzipped FileDescriptorProto
|
||||||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdd, 0x6b, 0xdb, 0x3e,
|
||||||
|
0x14, 0xc5, 0x76, 0x3e, 0xea, 0x9b, 0xaf, 0x22, 0x7e, 0xfc, 0x26, 0xca, 0x18, 0xae, 0x37, 0x46,
|
||||||
|
0xd8, 0x43, 0x0a, 0x2d, 0x8c, 0xd2, 0xbe, 0xb5, 0x59, 0x4b, 0xa0, 0xc9, 0x8a, 0xdc, 0x32, 0xd8,
|
||||||
|
0xcb, 0x70, 0xd3, 0xbb, 0xcc, 0xc4, 0xf1, 0x97, 0x9c, 0x64, 0xf9, 0xdf, 0xf6, 0xbe, 0xbf, 0x6a,
|
||||||
|
0x30, 0x24, 0xd9, 0x89, 0x9d, 0x64, 0x63, 0x6f, 0x3a, 0x47, 0xf7, 0x4a, 0x47, 0xe7, 0x1e, 0x1b,
|
||||||
|
0x3a, 0xfc, 0x79, 0xfa, 0x65, 0xc9, 0x4f, 0x96, 0xbc, 0x17, 0x25, 0x61, 0x1a, 0x92, 0x4a, 0xf4,
|
||||||
|
0xf4, 0x89, 0xdb, 0x3f, 0x34, 0xa0, 0xf7, 0x73, 0xdf, 0x1f, 0x22, 0xe7, 0xee, 0x04, 0xaf, 0x56,
|
||||||
|
0x0e, 0xc6, 0x77, 0x1e, 0x4f, 0x19, 0xf2, 0x88, 0xfc, 0x0f, 0xb5, 0xa1, 0xfb, 0xdd, 0xc1, 0x98,
|
||||||
|
0x6a, 0x96, 0xd6, 0x35, 0x58, 0x86, 0x24, 0xef, 0x05, 0x82, 0xd7, 0x33, 0x5e, 0x22, 0x72, 0x0e,
|
||||||
|
0x2d, 0xc7, 0x0b, 0x26, 0x3e, 0x3e, 0x72, 0x4c, 0x86, 0x7c, 0x42, 0x0d, 0xcb, 0xe8, 0x36, 0x4e,
|
||||||
|
0x49, 0x4f, 0x5c, 0xd5, 0xbb, 0x75, 0xd3, 0x6f, 0x98, 0xdc, 0x84, 0xc9, 0xcc, 0x4d, 0x59, 0xb9,
|
||||||
|
0x90, 0xbc, 0x87, 0xe6, 0x6d, 0x12, 0xce, 0xa3, 0xbc, 0xb1, 0xf2, 0xc7, 0xc6, 0x52, 0x9d, 0x7d,
|
||||||
|
0x06, 0x2f, 0xf6, 0xab, 0x8f, 0x09, 0x85, 0x3a, 0x57, 0x88, 0x6a, 0x96, 0xd1, 0x35, 0x58, 0x0e,
|
||||||
|
0xed, 0x36, 0x34, 0x6f, 0x31, 0x1d, 0xe1, 0xd2, 0xc1, 0x98, 0x61, 0x6c, 0x1f, 0x43, 0xab, 0x80,
|
||||||
|
0x79, 0x44, 0x0e, 0xc1, 0xd8, 0x3c, 0x5a, 0x2c, 0xed, 0x6b, 0x68, 0x16, 0x55, 0x90, 0x36, 0xe8,
|
||||||
|
0x83, 0xbe, 0x2c, 0x30, 0x99, 0x3e, 0xe8, 0x93, 0xd7, 0x50, 0x91, 0x37, 0xe9, 0x52, 0x77, 0x47,
|
||||||
|
0xe9, 0x1e, 0xf2, 0x49, 0x26, 0x5a, 0x6e, 0xda, 0xbf, 0x74, 0x30, 0xd7, 0x9c, 0x30, 0xd1, 0xc1,
|
||||||
|
0xe0, 0x79, 0x7d, 0x4c, 0x86, 0x04, 0xcf, 0x70, 0xbc, 0x18, 0xf4, 0xa5, 0xb9, 0x26, 0xcb, 0x90,
|
||||||
|
0x78, 0x8f, 0x68, 0x4e, 0xc2, 0x19, 0x35, 0x2c, 0xad, 0x5b, 0x65, 0x39, 0x24, 0x16, 0x34, 0xae,
|
||||||
|
0xc3, 0x20, 0xc5, 0x20, 0x7d, 0x58, 0x45, 0x48, 0x2b, 0x72, 0xb7, 0x48, 0x89, 0x0a, 0x07, 0x93,
|
||||||
|
0x85, 0xf4, 0x6c, 0xd0, 0xa7, 0x55, 0x79, 0x70, 0x91, 0x12, 0xa7, 0x67, 0x0d, 0xb4, 0x26, 0x77,
|
||||||
|
0x73, 0x98, 0x9b, 0x51, 0x5f, 0x9b, 0x41, 0x8e, 0xe0, 0x40, 0x68, 0x7d, 0xf0, 0x66, 0x48, 0x0f,
|
||||||
|
0x24, 0xbd, 0xc6, 0xe4, 0x1d, 0x1c, 0x8a, 0x35, 0x26, 0xf7, 0xbe, 0x9b, 0x7e, 0x0d, 0x93, 0xd9,
|
||||||
|
0xa0, 0x4f, 0x4d, 0x29, 0x68, 0x87, 0x27, 0x6f, 0xa1, 0xad, 0xb8, 0x91, 0x37, 0x9e, 0x8e, 0xdc,
|
||||||
|
0x19, 0x52, 0x90, 0x57, 0x6f, 0xb1, 0xe4, 0x0d, 0xb4, 0x14, 0x73, 0xe3, 0x8e, 0xf1, 0x91, 0xdd,
|
||||||
|
0xd1, 0x86, 0x2c, 0x2b, 0x93, 0xd2, 0x05, 0xdf, 0xc3, 0x20, 0x55, 0x6f, 0x6c, 0xaa, 0x37, 0x16,
|
||||||
|
0x28, 0xfb, 0xa7, 0x01, 0x6d, 0x11, 0x1c, 0xd1, 0x37, 0xe4, 0x13, 0x11, 0x92, 0x4b, 0xa8, 0x7f,
|
||||||
|
0x8c, 0x52, 0x2f, 0x0c, 0xb8, 0x0c, 0x49, 0xe3, 0xf4, 0x58, 0x8d, 0xae, 0x5c, 0xd6, 0xcb, 0x6a,
|
||||||
|
0x3e, 0x04, 0x69, 0xb2, 0x62, 0x79, 0xc7, 0x1e, 0xfd, 0xfa, 0xbf, 0xe9, 0x37, 0xf6, 0xe9, 0x7f,
|
||||||
|
0x05, 0x50, 0xf0, 0x4c, 0x0d, 0xb1, 0xc0, 0xa8, 0x19, 0x72, 0xee, 0x85, 0x81, 0x9c, 0x72, 0x55,
|
||||||
|
0x4d, 0xb9, 0x40, 0x15, 0x13, 0x52, 0xfb, 0x6b, 0x42, 0xea, 0xbb, 0x09, 0xd9, 0xa4, 0xee, 0xa0,
|
||||||
|
0x94, 0xba, 0x97, 0x60, 0xde, 0x84, 0xc9, 0x18, 0x65, 0xba, 0x4d, 0xcb, 0xe8, 0x9a, 0x6c, 0x43,
|
||||||
|
0x14, 0x53, 0x03, 0xe5, 0xd4, 0x6c, 0x4d, 0xa3, 0xb1, 0x33, 0x8d, 0xa3, 0x0b, 0x68, 0x16, 0x6d,
|
||||||
|
0x15, 0x39, 0x9b, 0xe2, 0x2a, 0xfb, 0x18, 0xc4, 0x92, 0xfc, 0x07, 0xd5, 0x85, 0xeb, 0xcf, 0x95,
|
||||||
|
0xad, 0x55, 0xa6, 0xc0, 0x85, 0x7e, 0xae, 0xd9, 0x31, 0x74, 0x4a, 0x13, 0xe2, 0xd1, 0x76, 0xc4,
|
||||||
|
0xb5, 0xdd, 0x88, 0x6f, 0x49, 0xd2, 0x77, 0x24, 0x89, 0x60, 0xf3, 0x3c, 0xd8, 0x86, 0x0a, 0x76,
|
||||||
|
0x8e, 0xaf, 0x3a, 0x9f, 0x5b, 0xbd, 0x13, 0xf5, 0x0f, 0xbd, 0x14, 0x11, 0x79, 0xaa, 0xc9, 0xdf,
|
||||||
|
0xe8, 0xd9, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x89, 0xa7, 0x61, 0x67, 0x59, 0x05, 0x00, 0x00,
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user