tcptemplate/protocol/pb/msgType.pb.go

122 lines
4.1 KiB
Go

// Code generated by protoc-gen-go.
// source: msgType.proto
// DO NOT EDIT!
package protocol
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
type Request struct {
Session *int32 `protobuf:"varint,1,req,name=session" json:"session,omitempty"`
Sequence *int32 `protobuf:"varint,2,req,name=sequence" json:"sequence,omitempty"`
LoginReq *LoginReq `protobuf:"bytes,1001,opt,name=loginReq" json:"loginReq,omitempty"`
OfflineReq *OfflineReq `protobuf:"bytes,1002,opt,name=offlineReq" json:"offlineReq,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Request) Reset() { *m = Request{} }
func (m *Request) String() string { return proto.CompactTextString(m) }
func (*Request) ProtoMessage() {}
func (*Request) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *Request) GetSession() int32 {
if m != nil && m.Session != nil {
return *m.Session
}
return 0
}
func (m *Request) GetSequence() int32 {
if m != nil && m.Sequence != nil {
return *m.Sequence
}
return 0
}
func (m *Request) GetLoginReq() *LoginReq {
if m != nil {
return m.LoginReq
}
return nil
}
func (m *Request) GetOfflineReq() *OfflineReq {
if m != nil {
return m.OfflineReq
}
return nil
}
type Response struct {
Session *int32 `protobuf:"varint,1,req,name=session" json:"session,omitempty"`
Sequence *int32 `protobuf:"varint,2,req,name=sequence" json:"sequence,omitempty"`
LoginResp *LoginResp `protobuf:"bytes,3,opt,name=loginResp" json:"loginResp,omitempty"`
OfflineResp *OfflineResp `protobuf:"bytes,4,opt,name=offlineResp" json:"offlineResp,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Response) Reset() { *m = Response{} }
func (m *Response) String() string { return proto.CompactTextString(m) }
func (*Response) ProtoMessage() {}
func (*Response) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
func (m *Response) GetSession() int32 {
if m != nil && m.Session != nil {
return *m.Session
}
return 0
}
func (m *Response) GetSequence() int32 {
if m != nil && m.Sequence != nil {
return *m.Sequence
}
return 0
}
func (m *Response) GetLoginResp() *LoginResp {
if m != nil {
return m.LoginResp
}
return nil
}
func (m *Response) GetOfflineResp() *OfflineResp {
if m != nil {
return m.OfflineResp
}
return nil
}
func init() {
proto.RegisterType((*Request)(nil), "protocol.Request")
proto.RegisterType((*Response)(nil), "protocol.Response")
}
func init() { proto.RegisterFile("msgType.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 210 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0xcd, 0x2d, 0x4e, 0x0f,
0xa9, 0x2c, 0x48, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0xc9, 0xf9, 0x39,
0x52, 0x5c, 0x49, 0x89, 0xc5, 0x50, 0x51, 0xa5, 0xe5, 0x8c, 0x5c, 0xec, 0x41, 0xa9, 0x85, 0xa5,
0xa9, 0xc5, 0x25, 0x42, 0x12, 0x5c, 0xec, 0xc5, 0xa9, 0xc5, 0xc5, 0x99, 0xf9, 0x79, 0x12, 0x8c,
0x0a, 0x4c, 0x1a, 0xac, 0x41, 0x30, 0xae, 0x90, 0x14, 0x17, 0x47, 0x31, 0x48, 0x51, 0x5e, 0x72,
0xaa, 0x04, 0x13, 0x58, 0x0a, 0xce, 0x17, 0xd2, 0xe7, 0xe2, 0xc8, 0xc9, 0x4f, 0xcf, 0xcc, 0x03,
0x9a, 0x22, 0xf1, 0x92, 0x5d, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x48, 0x0f, 0x66, 0x97, 0x9e, 0x0f,
0x54, 0x2a, 0x08, 0xae, 0x48, 0xc8, 0x94, 0x8b, 0x2b, 0x3f, 0x2d, 0x2d, 0x27, 0x33, 0x2f, 0x15,
0xa4, 0xe5, 0x15, 0x44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