| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.25.0
- // protoc v3.11.4
- // source: mtp2.proto
- package pb
- import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- 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)
- )
- // This is a compile-time assertion that a sufficiently up-to-date version
- // of the legacy proto package is being used.
- const _ = proto.ProtoPackageIsVersion4
- // 消息头
- type MessageHead struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- FunCode *uint32 `protobuf:"varint,1,opt,name=FunCode" json:"FunCode,omitempty"` // 功能号
- RequestID *uint32 `protobuf:"varint,2,opt,name=RequestID" json:"RequestID,omitempty"` // 客户端的流水ID
- AccountID *uint64 `protobuf:"varint,3,opt,name=AccountID" json:"AccountID,omitempty"` // 账号ID
- AccessID *uint32 `protobuf:"varint,4,opt,name=AccessID" json:"AccessID,omitempty"` //二级分配给客户端的接入ID
- ClientTime *int64 `protobuf:"varint,5,opt,name=ClientTime" json:"ClientTime,omitempty"` //消息发起时间
- GoodsID *uint32 `protobuf:"varint,6,opt,name=GoodsID" json:"GoodsID,omitempty"` //商品ID
- UUID *string `protobuf:"bytes,7,opt,name=UUID" json:"UUID,omitempty"` // 消息唯一ID
- MarketID *uint32 `protobuf:"varint,8,opt,name=MarketID" json:"MarketID,omitempty"` // 所属市场ID
- UserID *uint32 `protobuf:"varint,9,opt,name=UserID" json:"UserID,omitempty"` // 用户ID
- ResponseTopic *string `protobuf:"bytes,10,opt,name=ResponseTopic" json:"ResponseTopic,omitempty"` // 应答消息所属主题
- AccountID2 *uint64 `protobuf:"varint,11,opt,name=AccountID2" json:"AccountID2,omitempty"` // 账号ID-币币交易使用
- }
- func (x *MessageHead) Reset() {
- *x = MessageHead{}
- if protoimpl.UnsafeEnabled {
- mi := &file_mtp2_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *MessageHead) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MessageHead) ProtoMessage() {}
- func (x *MessageHead) ProtoReflect() protoreflect.Message {
- mi := &file_mtp2_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 MessageHead.ProtoReflect.Descriptor instead.
- func (*MessageHead) Descriptor() ([]byte, []int) {
- return file_mtp2_proto_rawDescGZIP(), []int{0}
- }
- func (x *MessageHead) GetFunCode() uint32 {
- if x != nil && x.FunCode != nil {
- return *x.FunCode
- }
- return 0
- }
- func (x *MessageHead) GetRequestID() uint32 {
- if x != nil && x.RequestID != nil {
- return *x.RequestID
- }
- return 0
- }
- func (x *MessageHead) GetAccountID() uint64 {
- if x != nil && x.AccountID != nil {
- return *x.AccountID
- }
- return 0
- }
- func (x *MessageHead) GetAccessID() uint32 {
- if x != nil && x.AccessID != nil {
- return *x.AccessID
- }
- return 0
- }
- func (x *MessageHead) GetClientTime() int64 {
- if x != nil && x.ClientTime != nil {
- return *x.ClientTime
- }
- return 0
- }
- func (x *MessageHead) GetGoodsID() uint32 {
- if x != nil && x.GoodsID != nil {
- return *x.GoodsID
- }
- return 0
- }
- func (x *MessageHead) GetUUID() string {
- if x != nil && x.UUID != nil {
- return *x.UUID
- }
- return ""
- }
- func (x *MessageHead) GetMarketID() uint32 {
- if x != nil && x.MarketID != nil {
- return *x.MarketID
- }
- return 0
- }
- func (x *MessageHead) GetUserID() uint32 {
- if x != nil && x.UserID != nil {
- return *x.UserID
- }
- return 0
- }
- func (x *MessageHead) GetResponseTopic() string {
- if x != nil && x.ResponseTopic != nil {
- return *x.ResponseTopic
- }
- return ""
- }
- func (x *MessageHead) GetAccountID2() uint64 {
- if x != nil && x.AccountID2 != nil {
- return *x.AccountID2
- }
- return 0
- }
- // 公共通知消息头
- type NotifyHead struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- NtfMode *int32 `protobuf:"varint,1,opt,name=NtfMode" json:"NtfMode,omitempty"` // 消息通知模式(单播、组播、广播)
- ExcludeAcctIDs []uint32 `protobuf:"varint,2,rep,name=ExcludeAcctIDs" json:"ExcludeAcctIDs,omitempty"` // 排除账号集合(首先过滤此集合帐号)
- ExchIDs []uint32 `protobuf:"varint,3,rep,name=ExchIDs" json:"ExchIDs,omitempty"` // 目标交易所集合(若匹配所属交易所,推送)
- MemberIDs []uint32 `protobuf:"varint,4,rep,name=MemberIDs" json:"MemberIDs,omitempty"` // 目标会员集合(若匹配所属会员,推送)
- AccountIDs []uint64 `protobuf:"varint,5,rep,name=AccountIDs" json:"AccountIDs,omitempty"` // 目标账号集合(以上均不匹配时,最后检查此集合)
- }
- func (x *NotifyHead) Reset() {
- *x = NotifyHead{}
- if protoimpl.UnsafeEnabled {
- mi := &file_mtp2_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NotifyHead) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NotifyHead) ProtoMessage() {}
- func (x *NotifyHead) ProtoReflect() protoreflect.Message {
- mi := &file_mtp2_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 NotifyHead.ProtoReflect.Descriptor instead.
- func (*NotifyHead) Descriptor() ([]byte, []int) {
- return file_mtp2_proto_rawDescGZIP(), []int{1}
- }
- func (x *NotifyHead) GetNtfMode() int32 {
- if x != nil && x.NtfMode != nil {
- return *x.NtfMode
- }
- return 0
- }
- func (x *NotifyHead) GetExcludeAcctIDs() []uint32 {
- if x != nil {
- return x.ExcludeAcctIDs
- }
- return nil
- }
- func (x *NotifyHead) GetExchIDs() []uint32 {
- if x != nil {
- return x.ExchIDs
- }
- return nil
- }
- func (x *NotifyHead) GetMemberIDs() []uint32 {
- if x != nil {
- return x.MemberIDs
- }
- return nil
- }
- func (x *NotifyHead) GetAccountIDs() []uint64 {
- if x != nil {
- return x.AccountIDs
- }
- return nil
- }
- // 铁合金成交通知
- type THJPurchaseTradeNtf struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Header *MessageHead `protobuf:"bytes,1,opt,name=Header" json:"Header,omitempty"` // 消息头
- WRTradeDetailID *uint64 `protobuf:"varint,2,opt,name=WRTradeDetailID" json:"WRTradeDetailID,omitempty"` // uint64 预售成交明细ID
- }
- func (x *THJPurchaseTradeNtf) Reset() {
- *x = THJPurchaseTradeNtf{}
- if protoimpl.UnsafeEnabled {
- mi := &file_mtp2_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *THJPurchaseTradeNtf) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*THJPurchaseTradeNtf) ProtoMessage() {}
- func (x *THJPurchaseTradeNtf) ProtoReflect() protoreflect.Message {
- mi := &file_mtp2_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 THJPurchaseTradeNtf.ProtoReflect.Descriptor instead.
- func (*THJPurchaseTradeNtf) Descriptor() ([]byte, []int) {
- return file_mtp2_proto_rawDescGZIP(), []int{2}
- }
- func (x *THJPurchaseTradeNtf) GetHeader() *MessageHead {
- if x != nil {
- return x.Header
- }
- return nil
- }
- func (x *THJPurchaseTradeNtf) GetWRTradeDetailID() uint64 {
- if x != nil && x.WRTradeDetailID != nil {
- return *x.WRTradeDetailID
- }
- return 0
- }
- // 铁合金协议转让通知
- type PurchaseTransferNtf struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Header *MessageHead `protobuf:"bytes,1,opt,name=Header" json:"Header,omitempty"` // 消息头
- TransferID *uint64 `protobuf:"varint,2,opt,name=TransferID" json:"TransferID,omitempty"` // uint64 协议转让ID
- }
- func (x *PurchaseTransferNtf) Reset() {
- *x = PurchaseTransferNtf{}
- if protoimpl.UnsafeEnabled {
- mi := &file_mtp2_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PurchaseTransferNtf) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PurchaseTransferNtf) ProtoMessage() {}
- func (x *PurchaseTransferNtf) ProtoReflect() protoreflect.Message {
- mi := &file_mtp2_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 PurchaseTransferNtf.ProtoReflect.Descriptor instead.
- func (*PurchaseTransferNtf) Descriptor() ([]byte, []int) {
- return file_mtp2_proto_rawDescGZIP(), []int{3}
- }
- func (x *PurchaseTransferNtf) GetHeader() *MessageHead {
- if x != nil {
- return x.Header
- }
- return nil
- }
- func (x *PurchaseTransferNtf) GetTransferID() uint64 {
- if x != nil && x.TransferID != nil {
- return *x.TransferID
- }
- return 0
- }
- // 仓单贸易成交通知
- type WRTradeDealedNtf struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Header *MessageHead `protobuf:"bytes,1,opt,name=Header" json:"Header,omitempty"` // 消息头
- NtfHeader *NotifyHead `protobuf:"bytes,2,opt,name=NtfHeader" json:"NtfHeader,omitempty"` // NotifyHead 公共消息头
- ListingOrderID *uint64 `protobuf:"varint,3,opt,name=ListingOrderID" json:"ListingOrderID,omitempty"` // uint64 挂牌委托单号
- DelistingOrderID *uint64 `protobuf:"varint,4,opt,name=DelistingOrderID" json:"DelistingOrderID,omitempty"` // uint64 摘牌委托单号
- TradeQty *uint64 `protobuf:"varint,5,opt,name=TradeQty" json:"TradeQty,omitempty"` // uint64 挂牌成交数量
- ActiveQty *uint64 `protobuf:"varint,6,opt,name=ActiveQty" json:"ActiveQty,omitempty"` // uint64 挂牌剩余数量
- RealTradeQty *uint64 `protobuf:"varint,7,opt,name=RealTradeQty" json:"RealTradeQty,omitempty"` // uint64 摘牌实际成交数量
- TradeID *uint64 `protobuf:"varint,8,opt,name=TradeID" json:"TradeID,omitempty"` // uint64 成交单ID
- BuyAccountID *uint64 `protobuf:"varint,9,opt,name=BuyAccountID" json:"BuyAccountID,omitempty"` // uint64 买资金账号
- SellAccountID *uint64 `protobuf:"varint,10,opt,name=SellAccountID" json:"SellAccountID,omitempty"` // uint64 卖资金账号
- TradePrice *float64 `protobuf:"fixed64,11,opt,name=TradePrice" json:"TradePrice,omitempty"` // double 成交价
- TradeTime *string `protobuf:"bytes,12,opt,name=TradeTime" json:"TradeTime,omitempty"` // string 成交时间
- WRFactorTypeID *uint64 `protobuf:"varint,13,opt,name=WRFactorTypeID" json:"WRFactorTypeID,omitempty"` // uint64 仓单要素ID
- WRTransferUserID *uint32 `protobuf:"varint,14,opt,name=WRTransferUserID" json:"WRTransferUserID,omitempty"` // uint32 仓单受让账户
- FreezeFirstAmount *float64 `protobuf:"fixed64,15,opt,name=FreezeFirstAmount" json:"FreezeFirstAmount,omitempty"` // double 冻结首付金额
- UnFreezeFirstAmount *float64 `protobuf:"fixed64,16,opt,name=UnFreezeFirstAmount" json:"UnFreezeFirstAmount,omitempty"` // double 解冻首付金额
- RealTradeAmount *float64 `protobuf:"fixed64,17,opt,name=RealTradeAmount" json:"RealTradeAmount,omitempty"` // double 实际成交金额
- PerformanceAmount *float64 `protobuf:"fixed64,18,opt,name=PerformanceAmount" json:"PerformanceAmount,omitempty"` // double 履约金额
- PerformancePlanID *uint64 `protobuf:"varint,19,opt,name=PerformancePlanID" json:"PerformancePlanID,omitempty"` // uint64 履约计划ID
- PerformanceTemplateID *int64 `protobuf:"varint,20,opt,name=PerformanceTemplateID" json:"PerformanceTemplateID,omitempty"` // int64 履约计划模板ID
- }
- func (x *WRTradeDealedNtf) Reset() {
- *x = WRTradeDealedNtf{}
- if protoimpl.UnsafeEnabled {
- mi := &file_mtp2_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *WRTradeDealedNtf) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WRTradeDealedNtf) ProtoMessage() {}
- func (x *WRTradeDealedNtf) ProtoReflect() protoreflect.Message {
- mi := &file_mtp2_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 WRTradeDealedNtf.ProtoReflect.Descriptor instead.
- func (*WRTradeDealedNtf) Descriptor() ([]byte, []int) {
- return file_mtp2_proto_rawDescGZIP(), []int{4}
- }
- func (x *WRTradeDealedNtf) GetHeader() *MessageHead {
- if x != nil {
- return x.Header
- }
- return nil
- }
- func (x *WRTradeDealedNtf) GetNtfHeader() *NotifyHead {
- if x != nil {
- return x.NtfHeader
- }
- return nil
- }
- func (x *WRTradeDealedNtf) GetListingOrderID() uint64 {
- if x != nil && x.ListingOrderID != nil {
- return *x.ListingOrderID
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetDelistingOrderID() uint64 {
- if x != nil && x.DelistingOrderID != nil {
- return *x.DelistingOrderID
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetTradeQty() uint64 {
- if x != nil && x.TradeQty != nil {
- return *x.TradeQty
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetActiveQty() uint64 {
- if x != nil && x.ActiveQty != nil {
- return *x.ActiveQty
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetRealTradeQty() uint64 {
- if x != nil && x.RealTradeQty != nil {
- return *x.RealTradeQty
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetTradeID() uint64 {
- if x != nil && x.TradeID != nil {
- return *x.TradeID
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetBuyAccountID() uint64 {
- if x != nil && x.BuyAccountID != nil {
- return *x.BuyAccountID
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetSellAccountID() uint64 {
- if x != nil && x.SellAccountID != nil {
- return *x.SellAccountID
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetTradePrice() float64 {
- if x != nil && x.TradePrice != nil {
- return *x.TradePrice
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetTradeTime() string {
- if x != nil && x.TradeTime != nil {
- return *x.TradeTime
- }
- return ""
- }
- func (x *WRTradeDealedNtf) GetWRFactorTypeID() uint64 {
- if x != nil && x.WRFactorTypeID != nil {
- return *x.WRFactorTypeID
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetWRTransferUserID() uint32 {
- if x != nil && x.WRTransferUserID != nil {
- return *x.WRTransferUserID
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetFreezeFirstAmount() float64 {
- if x != nil && x.FreezeFirstAmount != nil {
- return *x.FreezeFirstAmount
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetUnFreezeFirstAmount() float64 {
- if x != nil && x.UnFreezeFirstAmount != nil {
- return *x.UnFreezeFirstAmount
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetRealTradeAmount() float64 {
- if x != nil && x.RealTradeAmount != nil {
- return *x.RealTradeAmount
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetPerformanceAmount() float64 {
- if x != nil && x.PerformanceAmount != nil {
- return *x.PerformanceAmount
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetPerformancePlanID() uint64 {
- if x != nil && x.PerformancePlanID != nil {
- return *x.PerformancePlanID
- }
- return 0
- }
- func (x *WRTradeDealedNtf) GetPerformanceTemplateID() int64 {
- if x != nil && x.PerformanceTemplateID != nil {
- return *x.PerformanceTemplateID
- }
- return 0
- }
- var File_mtp2_proto protoreflect.FileDescriptor
- var file_mtp2_proto_rawDesc = []byte{
- 0x0a, 0x0a, 0x6d, 0x74, 0x70, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62,
- 0x22, 0xc7, 0x02, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64,
- 0x12, 0x18, 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0d, 0x52, 0x07, 0x46, 0x75, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x63, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x41, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
- 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
- 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x69,
- 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x0d, 0x52, 0x07, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04,
- 0x55, 0x55, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x55, 0x49, 0x44,
- 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x18, 0x08, 0x20, 0x01,
- 0x28, 0x0d, 0x52, 0x08, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06,
- 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73,
- 0x65, 0x72, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x54, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x32, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a,
- 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x32, 0x22, 0xa6, 0x01, 0x0a, 0x0a, 0x4e,
- 0x6f, 0x74, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x4e, 0x74, 0x66,
- 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x4e, 0x74, 0x66, 0x4d,
- 0x6f, 0x64, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x41, 0x63,
- 0x63, 0x74, 0x49, 0x44, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x45, 0x78, 0x63,
- 0x6c, 0x75, 0x64, 0x65, 0x41, 0x63, 0x63, 0x74, 0x49, 0x44, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x45,
- 0x78, 0x63, 0x68, 0x49, 0x44, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x45, 0x78,
- 0x63, 0x68, 0x49, 0x44, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49,
- 0x44, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
- 0x49, 0x44, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44,
- 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x49, 0x44, 0x73, 0x22, 0x68, 0x0a, 0x13, 0x54, 0x48, 0x4a, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61,
- 0x73, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x74, 0x66, 0x12, 0x27, 0x0a, 0x06, 0x48, 0x65,
- 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x52, 0x06, 0x48, 0x65, 0x61,
- 0x64, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x0f, 0x57, 0x52, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x65,
- 0x74, 0x61, 0x69, 0x6c, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x57, 0x52,
- 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x44, 0x22, 0x5e, 0x0a,
- 0x13, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65,
- 0x72, 0x4e, 0x74, 0x66, 0x12, 0x27, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x48, 0x65, 0x61, 0x64, 0x52, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1e, 0x0a,
- 0x0a, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x04, 0x52, 0x0a, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x49, 0x44, 0x22, 0xad, 0x06,
- 0x0a, 0x10, 0x57, 0x52, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x4e,
- 0x74, 0x66, 0x12, 0x27, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48,
- 0x65, 0x61, 0x64, 0x52, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x09, 0x4e,
- 0x74, 0x66, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
- 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x52, 0x09,
- 0x4e, 0x74, 0x66, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x4c, 0x69, 0x73,
- 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x04, 0x52, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49,
- 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x72,
- 0x64, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x44, 0x65, 0x6c,
- 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a,
- 0x08, 0x54, 0x72, 0x61, 0x64, 0x65, 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52,
- 0x08, 0x54, 0x72, 0x61, 0x64, 0x65, 0x51, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x63, 0x74,
- 0x69, 0x76, 0x65, 0x51, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x41, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x52, 0x65, 0x61, 0x6c, 0x54,
- 0x72, 0x61, 0x64, 0x65, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x52,
- 0x65, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x64, 0x65, 0x51, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x54,
- 0x72, 0x61, 0x64, 0x65, 0x49, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x54, 0x72,
- 0x61, 0x64, 0x65, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x42, 0x75, 0x79, 0x41, 0x63, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x42, 0x75, 0x79,
- 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x65, 0x6c,
- 0x6c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04,
- 0x52, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12,
- 0x1e, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0b, 0x20,
- 0x01, 0x28, 0x01, 0x52, 0x0a, 0x54, 0x72, 0x61, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12,
- 0x1c, 0x0a, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a,
- 0x0e, 0x57, 0x52, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x49, 0x44, 0x18,
- 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x57, 0x52, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54,
- 0x79, 0x70, 0x65, 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x57, 0x52, 0x54, 0x72, 0x61, 0x6e, 0x73,
- 0x66, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52,
- 0x10, 0x57, 0x52, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49,
- 0x44, 0x12, 0x2c, 0x0a, 0x11, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74,
- 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x46, 0x72,
- 0x65, 0x65, 0x7a, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
- 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74,
- 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x01, 0x52, 0x13, 0x55, 0x6e,
- 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e,
- 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x52, 0x65, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6d,
- 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x52, 0x65, 0x61, 0x6c,
- 0x54, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x50,
- 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
- 0x18, 0x12, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61,
- 0x6e, 0x63, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x50, 0x65, 0x72,
- 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x18, 0x13,
- 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63,
- 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x12, 0x34, 0x0a, 0x15, 0x50, 0x65, 0x72, 0x66, 0x6f,
- 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x44,
- 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61,
- 0x6e, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x44,
- }
- var (
- file_mtp2_proto_rawDescOnce sync.Once
- file_mtp2_proto_rawDescData = file_mtp2_proto_rawDesc
- )
- func file_mtp2_proto_rawDescGZIP() []byte {
- file_mtp2_proto_rawDescOnce.Do(func() {
- file_mtp2_proto_rawDescData = protoimpl.X.CompressGZIP(file_mtp2_proto_rawDescData)
- })
- return file_mtp2_proto_rawDescData
- }
- var file_mtp2_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
- var file_mtp2_proto_goTypes = []interface{}{
- (*MessageHead)(nil), // 0: pb.MessageHead
- (*NotifyHead)(nil), // 1: pb.NotifyHead
- (*THJPurchaseTradeNtf)(nil), // 2: pb.THJPurchaseTradeNtf
- (*PurchaseTransferNtf)(nil), // 3: pb.PurchaseTransferNtf
- (*WRTradeDealedNtf)(nil), // 4: pb.WRTradeDealedNtf
- }
- var file_mtp2_proto_depIdxs = []int32{
- 0, // 0: pb.THJPurchaseTradeNtf.Header:type_name -> pb.MessageHead
- 0, // 1: pb.PurchaseTransferNtf.Header:type_name -> pb.MessageHead
- 0, // 2: pb.WRTradeDealedNtf.Header:type_name -> pb.MessageHead
- 1, // 3: pb.WRTradeDealedNtf.NtfHeader:type_name -> pb.NotifyHead
- 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_mtp2_proto_init() }
- func file_mtp2_proto_init() {
- if File_mtp2_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_mtp2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MessageHead); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_mtp2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NotifyHead); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_mtp2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*THJPurchaseTradeNtf); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_mtp2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PurchaseTransferNtf); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_mtp2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*WRTradeDealedNtf); 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_mtp2_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 5,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_mtp2_proto_goTypes,
- DependencyIndexes: file_mtp2_proto_depIdxs,
- MessageInfos: file_mtp2_proto_msgTypes,
- }.Build()
- File_mtp2_proto = out.File
- file_mtp2_proto_rawDesc = nil
- file_mtp2_proto_goTypes = nil
- file_mtp2_proto_depIdxs = nil
- }
|