mtp2.pb.go 151 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.25.0
  4. // protoc v3.11.4
  5. // source: mtp2.proto
  6. package pb
  7. import (
  8. proto "github.com/golang/protobuf/proto"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. // This is a compile-time assertion that a sufficiently up-to-date version
  21. // of the legacy proto package is being used.
  22. const _ = proto.ProtoPackageIsVersion4
  23. //交易规则信息子集
  24. type TradeRule struct {
  25. state protoimpl.MessageState
  26. sizeCache protoimpl.SizeCache
  27. unknownFields protoimpl.UnknownFields
  28. RuleID *uint32 `protobuf:"varint,1,opt,name=RuleID" json:"RuleID,omitempty"` // 交易规则ID
  29. ParamValue *float64 `protobuf:"fixed64,2,opt,name=ParamValue" json:"ParamValue,omitempty"` // 参数值
  30. }
  31. func (x *TradeRule) Reset() {
  32. *x = TradeRule{}
  33. if protoimpl.UnsafeEnabled {
  34. mi := &file_mtp2_proto_msgTypes[0]
  35. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  36. ms.StoreMessageInfo(mi)
  37. }
  38. }
  39. func (x *TradeRule) String() string {
  40. return protoimpl.X.MessageStringOf(x)
  41. }
  42. func (*TradeRule) ProtoMessage() {}
  43. func (x *TradeRule) ProtoReflect() protoreflect.Message {
  44. mi := &file_mtp2_proto_msgTypes[0]
  45. if protoimpl.UnsafeEnabled && x != nil {
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. if ms.LoadMessageInfo() == nil {
  48. ms.StoreMessageInfo(mi)
  49. }
  50. return ms
  51. }
  52. return mi.MessageOf(x)
  53. }
  54. // Deprecated: Use TradeRule.ProtoReflect.Descriptor instead.
  55. func (*TradeRule) Descriptor() ([]byte, []int) {
  56. return file_mtp2_proto_rawDescGZIP(), []int{0}
  57. }
  58. func (x *TradeRule) GetRuleID() uint32 {
  59. if x != nil && x.RuleID != nil {
  60. return *x.RuleID
  61. }
  62. return 0
  63. }
  64. func (x *TradeRule) GetParamValue() float64 {
  65. if x != nil && x.ParamValue != nil {
  66. return *x.ParamValue
  67. }
  68. return 0
  69. }
  70. //交易规则信息
  71. type TradeRuleInfoStruct struct {
  72. state protoimpl.MessageState
  73. sizeCache protoimpl.SizeCache
  74. unknownFields protoimpl.UnknownFields
  75. AccountID *uint64 `protobuf:"varint,1,opt,name=AccountID" json:"AccountID,omitempty"` // 资金账号
  76. GoodsID *uint32 `protobuf:"varint,2,opt,name=GoodsID" json:"GoodsID,omitempty"` // 商品id
  77. TradeRules []*TradeRule `protobuf:"bytes,3,rep,name=TradeRules" json:"TradeRules,omitempty"` // 交易规则
  78. }
  79. func (x *TradeRuleInfoStruct) Reset() {
  80. *x = TradeRuleInfoStruct{}
  81. if protoimpl.UnsafeEnabled {
  82. mi := &file_mtp2_proto_msgTypes[1]
  83. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  84. ms.StoreMessageInfo(mi)
  85. }
  86. }
  87. func (x *TradeRuleInfoStruct) String() string {
  88. return protoimpl.X.MessageStringOf(x)
  89. }
  90. func (*TradeRuleInfoStruct) ProtoMessage() {}
  91. func (x *TradeRuleInfoStruct) ProtoReflect() protoreflect.Message {
  92. mi := &file_mtp2_proto_msgTypes[1]
  93. if protoimpl.UnsafeEnabled && x != nil {
  94. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  95. if ms.LoadMessageInfo() == nil {
  96. ms.StoreMessageInfo(mi)
  97. }
  98. return ms
  99. }
  100. return mi.MessageOf(x)
  101. }
  102. // Deprecated: Use TradeRuleInfoStruct.ProtoReflect.Descriptor instead.
  103. func (*TradeRuleInfoStruct) Descriptor() ([]byte, []int) {
  104. return file_mtp2_proto_rawDescGZIP(), []int{1}
  105. }
  106. func (x *TradeRuleInfoStruct) GetAccountID() uint64 {
  107. if x != nil && x.AccountID != nil {
  108. return *x.AccountID
  109. }
  110. return 0
  111. }
  112. func (x *TradeRuleInfoStruct) GetGoodsID() uint32 {
  113. if x != nil && x.GoodsID != nil {
  114. return *x.GoodsID
  115. }
  116. return 0
  117. }
  118. func (x *TradeRuleInfoStruct) GetTradeRules() []*TradeRule {
  119. if x != nil {
  120. return x.TradeRules
  121. }
  122. return nil
  123. }
  124. // 日期类型定义
  125. type Date struct {
  126. state protoimpl.MessageState
  127. sizeCache protoimpl.SizeCache
  128. unknownFields protoimpl.UnknownFields
  129. DateStr *string `protobuf:"bytes,1,opt,name=DateStr" json:"DateStr,omitempty"` // 日期时间
  130. }
  131. func (x *Date) Reset() {
  132. *x = Date{}
  133. if protoimpl.UnsafeEnabled {
  134. mi := &file_mtp2_proto_msgTypes[2]
  135. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  136. ms.StoreMessageInfo(mi)
  137. }
  138. }
  139. func (x *Date) String() string {
  140. return protoimpl.X.MessageStringOf(x)
  141. }
  142. func (*Date) ProtoMessage() {}
  143. func (x *Date) ProtoReflect() protoreflect.Message {
  144. mi := &file_mtp2_proto_msgTypes[2]
  145. if protoimpl.UnsafeEnabled && x != nil {
  146. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  147. if ms.LoadMessageInfo() == nil {
  148. ms.StoreMessageInfo(mi)
  149. }
  150. return ms
  151. }
  152. return mi.MessageOf(x)
  153. }
  154. // Deprecated: Use Date.ProtoReflect.Descriptor instead.
  155. func (*Date) Descriptor() ([]byte, []int) {
  156. return file_mtp2_proto_rawDescGZIP(), []int{2}
  157. }
  158. func (x *Date) GetDateStr() string {
  159. if x != nil && x.DateStr != nil {
  160. return *x.DateStr
  161. }
  162. return ""
  163. }
  164. // ERMS2_ARBITRAGESTRATEGY 期现套利策略表
  165. type Erms2ArbitrageStrategy struct {
  166. state protoimpl.MessageState
  167. sizeCache protoimpl.SizeCache
  168. unknownFields protoimpl.UnknownFields
  169. //mkey: 1
  170. ASApplyId *uint64 `protobuf:"varint,1,opt,name=ASApplyId" json:"ASApplyId,omitempty"` // 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  171. ASNo *string `protobuf:"bytes,2,opt,name=ASNo" json:"ASNo,omitempty"` // 策略编号
  172. BizType *uint32 `protobuf:"varint,3,opt,name=BizType" json:"BizType,omitempty"` // 业务类型 - 1:正向套利 -1:反向套利
  173. UserId *uint32 `protobuf:"varint,4,opt,name=UserId" json:"UserId,omitempty"` // 所属机构
  174. DeliveryGoodsId *uint32 `protobuf:"varint,5,opt,name=DeliveryGoodsId" json:"DeliveryGoodsId,omitempty"` // 现货品种ID
  175. GoodsGroupId *uint32 `protobuf:"varint,6,opt,name=GoodsGroupId" json:"GoodsGroupId,omitempty"` // 期货品种ID
  176. SpotQuota *float64 `protobuf:"fixed64,7,opt,name=SpotQuota" json:"SpotQuota,omitempty"` // 现货额度
  177. FutureQuote *float64 `protobuf:"fixed64,8,opt,name=FutureQuote" json:"FutureQuote,omitempty"` // 期货额度
  178. ApplyBasis *float64 `protobuf:"fixed64,9,opt,name=ApplyBasis" json:"ApplyBasis,omitempty"` // 申请基差
  179. StrategyStatus *uint32 `protobuf:"varint,10,opt,name=StrategyStatus" json:"StrategyStatus,omitempty"` // 策略状态 - 0:未结束 1:已结束
  180. Remark *string `protobuf:"bytes,11,opt,name=Remark" json:"Remark,omitempty"` // 备注
  181. MarketId *uint32 `protobuf:"varint,12,opt,name=MarketId" json:"MarketId,omitempty"` // 市场ID
  182. TradeDate *string `protobuf:"bytes,13,opt,name=TradeDate" json:"TradeDate,omitempty"` // 交易日(yyyyMMdd)
  183. CloseTradeDate *string `protobuf:"bytes,14,opt,name=CloseTradeDate" json:"CloseTradeDate,omitempty"` // 完结交易日(yyyyMMdd)
  184. UsedQuota *float64 `protobuf:"fixed64,15,opt,name=UsedQuota" json:"UsedQuota,omitempty"` // 已占用资金
  185. FutureQty *float64 `protobuf:"fixed64,16,opt,name=FutureQty" json:"FutureQty,omitempty"` // 期货持仓数量
  186. FutureAvgPrice *float64 `protobuf:"fixed64,17,opt,name=FutureAvgPrice" json:"FutureAvgPrice,omitempty"` // 期货建仓均价
  187. FuturePL *float64 `protobuf:"fixed64,18,opt,name=FuturePL" json:"FuturePL,omitempty"` // 期货总盈亏[结算更新]
  188. PricedSpotQty *float64 `protobuf:"fixed64,19,opt,name=PricedSpotQty" json:"PricedSpotQty,omitempty"` // 已定价现货数量
  189. PricedSpotQtyNoTax *float64 `protobuf:"fixed64,20,opt,name=PricedSpotQtyNoTax" json:"PricedSpotQtyNoTax,omitempty"` // 已定价现货不含税数量
  190. SpotavgPrice *float64 `protobuf:"fixed64,21,opt,name=SpotavgPrice" json:"SpotavgPrice,omitempty"` // 现货均价
  191. SpotPL *float64 `protobuf:"fixed64,22,opt,name=SpotPL" json:"SpotPL,omitempty"` // 现货总盈亏[结算更新]
  192. NetExposure *float64 `protobuf:"fixed64,23,opt,name=NetExposure" json:"NetExposure,omitempty"` // 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  193. NetExposureRate *float64 `protobuf:"fixed64,24,opt,name=NetExposureRate" json:"NetExposureRate,omitempty"` // 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  194. TotalPL *float64 `protobuf:"fixed64,25,opt,name=TotalPL" json:"TotalPL,omitempty"` // 业务合计损益 = FuturePL + SpotPL [结算更新]
  195. OpenBasis *float64 `protobuf:"fixed64,26,opt,name=OpenBasis" json:"OpenBasis,omitempty"` // 建仓基差
  196. CurBasis *float64 `protobuf:"fixed64,27,opt,name=CurBasis" json:"CurBasis,omitempty"` // 当前基差[结算更新]
  197. BasisChangePL *float64 `protobuf:"fixed64,28,opt,name=BasisChangePL" json:"BasisChangePL,omitempty"` // 基差变动损益[结算更新]
  198. NetExposurePL *float64 `protobuf:"fixed64,29,opt,name=NetExposurePL" json:"NetExposurePL,omitempty"` // 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  199. SpotUsedQuota *float64 `protobuf:"fixed64,30,opt,name=SpotUsedQuota" json:"SpotUsedQuota,omitempty"` // 现货占用资金
  200. FutureOpenQty *float64 `protobuf:"fixed64,31,opt,name=FutureOpenQty" json:"FutureOpenQty,omitempty"` // 期货开仓数量
  201. FutureOpenAmount *float64 `protobuf:"fixed64,32,opt,name=FutureOpenAmount" json:"FutureOpenAmount,omitempty"` // 期货开仓金额
  202. FutureCloseQty *float64 `protobuf:"fixed64,33,opt,name=FutureCloseQty" json:"FutureCloseQty,omitempty"` // 期货平仓数量
  203. FutureCloseAmount *float64 `protobuf:"fixed64,34,opt,name=FutureCloseAmount" json:"FutureCloseAmount,omitempty"` // 期货平仓金额
  204. SpotBuyAmount *float64 `protobuf:"fixed64,35,opt,name=SpotBuyAmount" json:"SpotBuyAmount,omitempty"` // 现货采购金额
  205. SpotBuyQty *float64 `protobuf:"fixed64,36,opt,name=SpotBuyQty" json:"SpotBuyQty,omitempty"` // 现货采购数量
  206. SpotSellAmount *float64 `protobuf:"fixed64,37,opt,name=SpotSellAmount" json:"SpotSellAmount,omitempty"` // 现货销售金额
  207. SpotSellQty *float64 `protobuf:"fixed64,38,opt,name=SpotSellQty" json:"SpotSellQty,omitempty"` // 现货销售数量
  208. UpDatetime *Date `protobuf:"bytes,39,opt,name=UpDatetime" json:"UpDatetime,omitempty"` // 更新时间
  209. ASName *string `protobuf:"bytes,40,opt,name=ASName" json:"ASName,omitempty"` // 策略名称
  210. }
  211. func (x *Erms2ArbitrageStrategy) Reset() {
  212. *x = Erms2ArbitrageStrategy{}
  213. if protoimpl.UnsafeEnabled {
  214. mi := &file_mtp2_proto_msgTypes[3]
  215. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  216. ms.StoreMessageInfo(mi)
  217. }
  218. }
  219. func (x *Erms2ArbitrageStrategy) String() string {
  220. return protoimpl.X.MessageStringOf(x)
  221. }
  222. func (*Erms2ArbitrageStrategy) ProtoMessage() {}
  223. func (x *Erms2ArbitrageStrategy) ProtoReflect() protoreflect.Message {
  224. mi := &file_mtp2_proto_msgTypes[3]
  225. if protoimpl.UnsafeEnabled && x != nil {
  226. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  227. if ms.LoadMessageInfo() == nil {
  228. ms.StoreMessageInfo(mi)
  229. }
  230. return ms
  231. }
  232. return mi.MessageOf(x)
  233. }
  234. // Deprecated: Use Erms2ArbitrageStrategy.ProtoReflect.Descriptor instead.
  235. func (*Erms2ArbitrageStrategy) Descriptor() ([]byte, []int) {
  236. return file_mtp2_proto_rawDescGZIP(), []int{3}
  237. }
  238. func (x *Erms2ArbitrageStrategy) GetASApplyId() uint64 {
  239. if x != nil && x.ASApplyId != nil {
  240. return *x.ASApplyId
  241. }
  242. return 0
  243. }
  244. func (x *Erms2ArbitrageStrategy) GetASNo() string {
  245. if x != nil && x.ASNo != nil {
  246. return *x.ASNo
  247. }
  248. return ""
  249. }
  250. func (x *Erms2ArbitrageStrategy) GetBizType() uint32 {
  251. if x != nil && x.BizType != nil {
  252. return *x.BizType
  253. }
  254. return 0
  255. }
  256. func (x *Erms2ArbitrageStrategy) GetUserId() uint32 {
  257. if x != nil && x.UserId != nil {
  258. return *x.UserId
  259. }
  260. return 0
  261. }
  262. func (x *Erms2ArbitrageStrategy) GetDeliveryGoodsId() uint32 {
  263. if x != nil && x.DeliveryGoodsId != nil {
  264. return *x.DeliveryGoodsId
  265. }
  266. return 0
  267. }
  268. func (x *Erms2ArbitrageStrategy) GetGoodsGroupId() uint32 {
  269. if x != nil && x.GoodsGroupId != nil {
  270. return *x.GoodsGroupId
  271. }
  272. return 0
  273. }
  274. func (x *Erms2ArbitrageStrategy) GetSpotQuota() float64 {
  275. if x != nil && x.SpotQuota != nil {
  276. return *x.SpotQuota
  277. }
  278. return 0
  279. }
  280. func (x *Erms2ArbitrageStrategy) GetFutureQuote() float64 {
  281. if x != nil && x.FutureQuote != nil {
  282. return *x.FutureQuote
  283. }
  284. return 0
  285. }
  286. func (x *Erms2ArbitrageStrategy) GetApplyBasis() float64 {
  287. if x != nil && x.ApplyBasis != nil {
  288. return *x.ApplyBasis
  289. }
  290. return 0
  291. }
  292. func (x *Erms2ArbitrageStrategy) GetStrategyStatus() uint32 {
  293. if x != nil && x.StrategyStatus != nil {
  294. return *x.StrategyStatus
  295. }
  296. return 0
  297. }
  298. func (x *Erms2ArbitrageStrategy) GetRemark() string {
  299. if x != nil && x.Remark != nil {
  300. return *x.Remark
  301. }
  302. return ""
  303. }
  304. func (x *Erms2ArbitrageStrategy) GetMarketId() uint32 {
  305. if x != nil && x.MarketId != nil {
  306. return *x.MarketId
  307. }
  308. return 0
  309. }
  310. func (x *Erms2ArbitrageStrategy) GetTradeDate() string {
  311. if x != nil && x.TradeDate != nil {
  312. return *x.TradeDate
  313. }
  314. return ""
  315. }
  316. func (x *Erms2ArbitrageStrategy) GetCloseTradeDate() string {
  317. if x != nil && x.CloseTradeDate != nil {
  318. return *x.CloseTradeDate
  319. }
  320. return ""
  321. }
  322. func (x *Erms2ArbitrageStrategy) GetUsedQuota() float64 {
  323. if x != nil && x.UsedQuota != nil {
  324. return *x.UsedQuota
  325. }
  326. return 0
  327. }
  328. func (x *Erms2ArbitrageStrategy) GetFutureQty() float64 {
  329. if x != nil && x.FutureQty != nil {
  330. return *x.FutureQty
  331. }
  332. return 0
  333. }
  334. func (x *Erms2ArbitrageStrategy) GetFutureAvgPrice() float64 {
  335. if x != nil && x.FutureAvgPrice != nil {
  336. return *x.FutureAvgPrice
  337. }
  338. return 0
  339. }
  340. func (x *Erms2ArbitrageStrategy) GetFuturePL() float64 {
  341. if x != nil && x.FuturePL != nil {
  342. return *x.FuturePL
  343. }
  344. return 0
  345. }
  346. func (x *Erms2ArbitrageStrategy) GetPricedSpotQty() float64 {
  347. if x != nil && x.PricedSpotQty != nil {
  348. return *x.PricedSpotQty
  349. }
  350. return 0
  351. }
  352. func (x *Erms2ArbitrageStrategy) GetPricedSpotQtyNoTax() float64 {
  353. if x != nil && x.PricedSpotQtyNoTax != nil {
  354. return *x.PricedSpotQtyNoTax
  355. }
  356. return 0
  357. }
  358. func (x *Erms2ArbitrageStrategy) GetSpotavgPrice() float64 {
  359. if x != nil && x.SpotavgPrice != nil {
  360. return *x.SpotavgPrice
  361. }
  362. return 0
  363. }
  364. func (x *Erms2ArbitrageStrategy) GetSpotPL() float64 {
  365. if x != nil && x.SpotPL != nil {
  366. return *x.SpotPL
  367. }
  368. return 0
  369. }
  370. func (x *Erms2ArbitrageStrategy) GetNetExposure() float64 {
  371. if x != nil && x.NetExposure != nil {
  372. return *x.NetExposure
  373. }
  374. return 0
  375. }
  376. func (x *Erms2ArbitrageStrategy) GetNetExposureRate() float64 {
  377. if x != nil && x.NetExposureRate != nil {
  378. return *x.NetExposureRate
  379. }
  380. return 0
  381. }
  382. func (x *Erms2ArbitrageStrategy) GetTotalPL() float64 {
  383. if x != nil && x.TotalPL != nil {
  384. return *x.TotalPL
  385. }
  386. return 0
  387. }
  388. func (x *Erms2ArbitrageStrategy) GetOpenBasis() float64 {
  389. if x != nil && x.OpenBasis != nil {
  390. return *x.OpenBasis
  391. }
  392. return 0
  393. }
  394. func (x *Erms2ArbitrageStrategy) GetCurBasis() float64 {
  395. if x != nil && x.CurBasis != nil {
  396. return *x.CurBasis
  397. }
  398. return 0
  399. }
  400. func (x *Erms2ArbitrageStrategy) GetBasisChangePL() float64 {
  401. if x != nil && x.BasisChangePL != nil {
  402. return *x.BasisChangePL
  403. }
  404. return 0
  405. }
  406. func (x *Erms2ArbitrageStrategy) GetNetExposurePL() float64 {
  407. if x != nil && x.NetExposurePL != nil {
  408. return *x.NetExposurePL
  409. }
  410. return 0
  411. }
  412. func (x *Erms2ArbitrageStrategy) GetSpotUsedQuota() float64 {
  413. if x != nil && x.SpotUsedQuota != nil {
  414. return *x.SpotUsedQuota
  415. }
  416. return 0
  417. }
  418. func (x *Erms2ArbitrageStrategy) GetFutureOpenQty() float64 {
  419. if x != nil && x.FutureOpenQty != nil {
  420. return *x.FutureOpenQty
  421. }
  422. return 0
  423. }
  424. func (x *Erms2ArbitrageStrategy) GetFutureOpenAmount() float64 {
  425. if x != nil && x.FutureOpenAmount != nil {
  426. return *x.FutureOpenAmount
  427. }
  428. return 0
  429. }
  430. func (x *Erms2ArbitrageStrategy) GetFutureCloseQty() float64 {
  431. if x != nil && x.FutureCloseQty != nil {
  432. return *x.FutureCloseQty
  433. }
  434. return 0
  435. }
  436. func (x *Erms2ArbitrageStrategy) GetFutureCloseAmount() float64 {
  437. if x != nil && x.FutureCloseAmount != nil {
  438. return *x.FutureCloseAmount
  439. }
  440. return 0
  441. }
  442. func (x *Erms2ArbitrageStrategy) GetSpotBuyAmount() float64 {
  443. if x != nil && x.SpotBuyAmount != nil {
  444. return *x.SpotBuyAmount
  445. }
  446. return 0
  447. }
  448. func (x *Erms2ArbitrageStrategy) GetSpotBuyQty() float64 {
  449. if x != nil && x.SpotBuyQty != nil {
  450. return *x.SpotBuyQty
  451. }
  452. return 0
  453. }
  454. func (x *Erms2ArbitrageStrategy) GetSpotSellAmount() float64 {
  455. if x != nil && x.SpotSellAmount != nil {
  456. return *x.SpotSellAmount
  457. }
  458. return 0
  459. }
  460. func (x *Erms2ArbitrageStrategy) GetSpotSellQty() float64 {
  461. if x != nil && x.SpotSellQty != nil {
  462. return *x.SpotSellQty
  463. }
  464. return 0
  465. }
  466. func (x *Erms2ArbitrageStrategy) GetUpDatetime() *Date {
  467. if x != nil {
  468. return x.UpDatetime
  469. }
  470. return nil
  471. }
  472. func (x *Erms2ArbitrageStrategy) GetASName() string {
  473. if x != nil && x.ASName != nil {
  474. return *x.ASName
  475. }
  476. return ""
  477. }
  478. // ERMCP_AREASPOT 企业现货表
  479. type ErmcpAreaSpot struct {
  480. state protoimpl.MessageState
  481. sizeCache protoimpl.SizeCache
  482. unknownFields protoimpl.UnknownFields
  483. //mkey: 1 2
  484. WrStandardID *uint32 `protobuf:"varint,1,opt,name=WrStandardID" json:"WrStandardID,omitempty"` // 现货商品ID
  485. AreaUserID *uint32 `protobuf:"varint,2,opt,name=AreaUserID" json:"AreaUserID,omitempty"` // 所属机构
  486. OriBuyPlanQty *float64 `protobuf:"fixed64,3,opt,name=OriBuyPlanQty" json:"OriBuyPlanQty,omitempty"` // 期初采购计划数量
  487. OriBuyPricedQty *float64 `protobuf:"fixed64,4,opt,name=OriBuyPricedQty" json:"OriBuyPricedQty,omitempty"` // 期初采购合同已定价数量
  488. OriSellPlanQty *float64 `protobuf:"fixed64,5,opt,name=OriSellPlanQty" json:"OriSellPlanQty,omitempty"` // 期初销售计划数量
  489. OriSellPricedQty *float64 `protobuf:"fixed64,6,opt,name=OriSellPricedQty" json:"OriSellPricedQty,omitempty"` // 期初销售合同已定价数量
  490. BuyPlanQty *float64 `protobuf:"fixed64,7,opt,name=BuyPlanQty" json:"BuyPlanQty,omitempty"` // 采购计划数量
  491. BuyPricedQty *float64 `protobuf:"fixed64,8,opt,name=BuyPricedQty" json:"BuyPricedQty,omitempty"` // 采购合同已定价数量
  492. SellPlanQty *float64 `protobuf:"fixed64,9,opt,name=SellPlanQty" json:"SellPlanQty,omitempty"` // 销售计划数量
  493. SellPricedQty *float64 `protobuf:"fixed64,10,opt,name=SellPricedQty" json:"SellPricedQty,omitempty"` // 销售合同已定价数量
  494. TotalSpotQty *float64 `protobuf:"fixed64,11,opt,name=TotalSpotQty" json:"TotalSpotQty,omitempty"` // 现货头寸总量 = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  495. UpdateTime *Date `protobuf:"bytes,12,opt,name=UpdateTime" json:"UpdateTime,omitempty"` // 更新时间
  496. }
  497. func (x *ErmcpAreaSpot) Reset() {
  498. *x = ErmcpAreaSpot{}
  499. if protoimpl.UnsafeEnabled {
  500. mi := &file_mtp2_proto_msgTypes[4]
  501. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  502. ms.StoreMessageInfo(mi)
  503. }
  504. }
  505. func (x *ErmcpAreaSpot) String() string {
  506. return protoimpl.X.MessageStringOf(x)
  507. }
  508. func (*ErmcpAreaSpot) ProtoMessage() {}
  509. func (x *ErmcpAreaSpot) ProtoReflect() protoreflect.Message {
  510. mi := &file_mtp2_proto_msgTypes[4]
  511. if protoimpl.UnsafeEnabled && x != nil {
  512. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  513. if ms.LoadMessageInfo() == nil {
  514. ms.StoreMessageInfo(mi)
  515. }
  516. return ms
  517. }
  518. return mi.MessageOf(x)
  519. }
  520. // Deprecated: Use ErmcpAreaSpot.ProtoReflect.Descriptor instead.
  521. func (*ErmcpAreaSpot) Descriptor() ([]byte, []int) {
  522. return file_mtp2_proto_rawDescGZIP(), []int{4}
  523. }
  524. func (x *ErmcpAreaSpot) GetWrStandardID() uint32 {
  525. if x != nil && x.WrStandardID != nil {
  526. return *x.WrStandardID
  527. }
  528. return 0
  529. }
  530. func (x *ErmcpAreaSpot) GetAreaUserID() uint32 {
  531. if x != nil && x.AreaUserID != nil {
  532. return *x.AreaUserID
  533. }
  534. return 0
  535. }
  536. func (x *ErmcpAreaSpot) GetOriBuyPlanQty() float64 {
  537. if x != nil && x.OriBuyPlanQty != nil {
  538. return *x.OriBuyPlanQty
  539. }
  540. return 0
  541. }
  542. func (x *ErmcpAreaSpot) GetOriBuyPricedQty() float64 {
  543. if x != nil && x.OriBuyPricedQty != nil {
  544. return *x.OriBuyPricedQty
  545. }
  546. return 0
  547. }
  548. func (x *ErmcpAreaSpot) GetOriSellPlanQty() float64 {
  549. if x != nil && x.OriSellPlanQty != nil {
  550. return *x.OriSellPlanQty
  551. }
  552. return 0
  553. }
  554. func (x *ErmcpAreaSpot) GetOriSellPricedQty() float64 {
  555. if x != nil && x.OriSellPricedQty != nil {
  556. return *x.OriSellPricedQty
  557. }
  558. return 0
  559. }
  560. func (x *ErmcpAreaSpot) GetBuyPlanQty() float64 {
  561. if x != nil && x.BuyPlanQty != nil {
  562. return *x.BuyPlanQty
  563. }
  564. return 0
  565. }
  566. func (x *ErmcpAreaSpot) GetBuyPricedQty() float64 {
  567. if x != nil && x.BuyPricedQty != nil {
  568. return *x.BuyPricedQty
  569. }
  570. return 0
  571. }
  572. func (x *ErmcpAreaSpot) GetSellPlanQty() float64 {
  573. if x != nil && x.SellPlanQty != nil {
  574. return *x.SellPlanQty
  575. }
  576. return 0
  577. }
  578. func (x *ErmcpAreaSpot) GetSellPricedQty() float64 {
  579. if x != nil && x.SellPricedQty != nil {
  580. return *x.SellPricedQty
  581. }
  582. return 0
  583. }
  584. func (x *ErmcpAreaSpot) GetTotalSpotQty() float64 {
  585. if x != nil && x.TotalSpotQty != nil {
  586. return *x.TotalSpotQty
  587. }
  588. return 0
  589. }
  590. func (x *ErmcpAreaSpot) GetUpdateTime() *Date {
  591. if x != nil {
  592. return x.UpdateTime
  593. }
  594. return nil
  595. }
  596. // ERMCP_AREAEXPOSURE 企业敞口表
  597. type ErmcpAreaExposure struct {
  598. state protoimpl.MessageState
  599. sizeCache protoimpl.SizeCache
  600. unknownFields protoimpl.UnknownFields
  601. //mkey: 1 2
  602. //nkey: 1
  603. MiddleGoodsID *uint32 `protobuf:"varint,1,opt,name=MiddleGoodsID" json:"MiddleGoodsID,omitempty"` // 套保品种
  604. AreaUserID *uint32 `protobuf:"varint,2,opt,name=AreaUserID" json:"AreaUserID,omitempty"` // 所属机构
  605. OriBuyPlanQty *float64 `protobuf:"fixed64,3,opt,name=OriBuyPlanQty" json:"OriBuyPlanQty,omitempty"` // 期初采购计划数量
  606. OriBuyPricedQty *float64 `protobuf:"fixed64,4,opt,name=OriBuyPricedQty" json:"OriBuyPricedQty,omitempty"` // 期初采购合同已定价数量
  607. OriSellPlanQty *float64 `protobuf:"fixed64,5,opt,name=OriSellPlanQty" json:"OriSellPlanQty,omitempty"` // 期初销售计划数量
  608. OriSellPricedQty *float64 `protobuf:"fixed64,6,opt,name=OriSellPricedQty" json:"OriSellPricedQty,omitempty"` // 期初销售合同已定价数量
  609. OriBuyFutureQty *uint64 `protobuf:"varint,7,opt,name=OriBuyFutureQty" json:"OriBuyFutureQty,omitempty"` // 期初买入期货数量
  610. OriSellFutureQty *uint64 `protobuf:"varint,8,opt,name=OriSellFutureQty" json:"OriSellFutureQty,omitempty"` // 期初卖出期货数量
  611. BuyPlanQty *float64 `protobuf:"fixed64,9,opt,name=BuyPlanQty" json:"BuyPlanQty,omitempty"` // 采购计划数量
  612. BuyPricedQty *float64 `protobuf:"fixed64,10,opt,name=BuyPricedQty" json:"BuyPricedQty,omitempty"` // 采购合同已定价数量
  613. SellPlanQty *float64 `protobuf:"fixed64,11,opt,name=SellPlanQty" json:"SellPlanQty,omitempty"` // 销售计划数量
  614. SellPricedQty *float64 `protobuf:"fixed64,12,opt,name=SellPricedQty" json:"SellPricedQty,omitempty"` // 销售合同已定价数量
  615. BuyFutureQty *float64 `protobuf:"fixed64,13,opt,name=BuyFutureQty" json:"BuyFutureQty,omitempty"` // 买入期货数量
  616. SellFutureQty *float64 `protobuf:"fixed64,14,opt,name=SellFutureQty" json:"SellFutureQty,omitempty"` // 卖出期货数量
  617. TotalSpotQty *float64 `protobuf:"fixed64,15,opt,name=TotalSpotQty" json:"TotalSpotQty,omitempty"` // 现货头寸总量
  618. TotalFutureQty *float64 `protobuf:"fixed64,16,opt,name=TotalFutureQty" json:"TotalFutureQty,omitempty"` // 期货头寸总量
  619. TotalExposure *float64 `protobuf:"fixed64,17,opt,name=TotalExposure" json:"TotalExposure,omitempty"` // 实时总敞口
  620. TotalHedgeRatio *float64 `protobuf:"fixed64,18,opt,name=TotalHedgeRatio" json:"TotalHedgeRatio,omitempty"` // 总套保比率
  621. TotalNeedHedgeQty *float64 `protobuf:"fixed64,19,opt,name=TotalNeedHedgeQty" json:"TotalNeedHedgeQty,omitempty"` // 应套保总量
  622. NeedHedgeExposoure *float64 `protobuf:"fixed64,20,opt,name=NeedHedgeExposoure" json:"NeedHedgeExposoure,omitempty"` // 应套保敞口
  623. NeedHedgeRatio *float64 `protobuf:"fixed64,21,opt,name=NeedHedgeRatio" json:"NeedHedgeRatio,omitempty"` // 应套保比率
  624. UpdateTime *Date `protobuf:"bytes,22,opt,name=UpdateTime" json:"UpdateTime,omitempty"` // 更新时间
  625. }
  626. func (x *ErmcpAreaExposure) Reset() {
  627. *x = ErmcpAreaExposure{}
  628. if protoimpl.UnsafeEnabled {
  629. mi := &file_mtp2_proto_msgTypes[5]
  630. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  631. ms.StoreMessageInfo(mi)
  632. }
  633. }
  634. func (x *ErmcpAreaExposure) String() string {
  635. return protoimpl.X.MessageStringOf(x)
  636. }
  637. func (*ErmcpAreaExposure) ProtoMessage() {}
  638. func (x *ErmcpAreaExposure) ProtoReflect() protoreflect.Message {
  639. mi := &file_mtp2_proto_msgTypes[5]
  640. if protoimpl.UnsafeEnabled && x != nil {
  641. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  642. if ms.LoadMessageInfo() == nil {
  643. ms.StoreMessageInfo(mi)
  644. }
  645. return ms
  646. }
  647. return mi.MessageOf(x)
  648. }
  649. // Deprecated: Use ErmcpAreaExposure.ProtoReflect.Descriptor instead.
  650. func (*ErmcpAreaExposure) Descriptor() ([]byte, []int) {
  651. return file_mtp2_proto_rawDescGZIP(), []int{5}
  652. }
  653. func (x *ErmcpAreaExposure) GetMiddleGoodsID() uint32 {
  654. if x != nil && x.MiddleGoodsID != nil {
  655. return *x.MiddleGoodsID
  656. }
  657. return 0
  658. }
  659. func (x *ErmcpAreaExposure) GetAreaUserID() uint32 {
  660. if x != nil && x.AreaUserID != nil {
  661. return *x.AreaUserID
  662. }
  663. return 0
  664. }
  665. func (x *ErmcpAreaExposure) GetOriBuyPlanQty() float64 {
  666. if x != nil && x.OriBuyPlanQty != nil {
  667. return *x.OriBuyPlanQty
  668. }
  669. return 0
  670. }
  671. func (x *ErmcpAreaExposure) GetOriBuyPricedQty() float64 {
  672. if x != nil && x.OriBuyPricedQty != nil {
  673. return *x.OriBuyPricedQty
  674. }
  675. return 0
  676. }
  677. func (x *ErmcpAreaExposure) GetOriSellPlanQty() float64 {
  678. if x != nil && x.OriSellPlanQty != nil {
  679. return *x.OriSellPlanQty
  680. }
  681. return 0
  682. }
  683. func (x *ErmcpAreaExposure) GetOriSellPricedQty() float64 {
  684. if x != nil && x.OriSellPricedQty != nil {
  685. return *x.OriSellPricedQty
  686. }
  687. return 0
  688. }
  689. func (x *ErmcpAreaExposure) GetOriBuyFutureQty() uint64 {
  690. if x != nil && x.OriBuyFutureQty != nil {
  691. return *x.OriBuyFutureQty
  692. }
  693. return 0
  694. }
  695. func (x *ErmcpAreaExposure) GetOriSellFutureQty() uint64 {
  696. if x != nil && x.OriSellFutureQty != nil {
  697. return *x.OriSellFutureQty
  698. }
  699. return 0
  700. }
  701. func (x *ErmcpAreaExposure) GetBuyPlanQty() float64 {
  702. if x != nil && x.BuyPlanQty != nil {
  703. return *x.BuyPlanQty
  704. }
  705. return 0
  706. }
  707. func (x *ErmcpAreaExposure) GetBuyPricedQty() float64 {
  708. if x != nil && x.BuyPricedQty != nil {
  709. return *x.BuyPricedQty
  710. }
  711. return 0
  712. }
  713. func (x *ErmcpAreaExposure) GetSellPlanQty() float64 {
  714. if x != nil && x.SellPlanQty != nil {
  715. return *x.SellPlanQty
  716. }
  717. return 0
  718. }
  719. func (x *ErmcpAreaExposure) GetSellPricedQty() float64 {
  720. if x != nil && x.SellPricedQty != nil {
  721. return *x.SellPricedQty
  722. }
  723. return 0
  724. }
  725. func (x *ErmcpAreaExposure) GetBuyFutureQty() float64 {
  726. if x != nil && x.BuyFutureQty != nil {
  727. return *x.BuyFutureQty
  728. }
  729. return 0
  730. }
  731. func (x *ErmcpAreaExposure) GetSellFutureQty() float64 {
  732. if x != nil && x.SellFutureQty != nil {
  733. return *x.SellFutureQty
  734. }
  735. return 0
  736. }
  737. func (x *ErmcpAreaExposure) GetTotalSpotQty() float64 {
  738. if x != nil && x.TotalSpotQty != nil {
  739. return *x.TotalSpotQty
  740. }
  741. return 0
  742. }
  743. func (x *ErmcpAreaExposure) GetTotalFutureQty() float64 {
  744. if x != nil && x.TotalFutureQty != nil {
  745. return *x.TotalFutureQty
  746. }
  747. return 0
  748. }
  749. func (x *ErmcpAreaExposure) GetTotalExposure() float64 {
  750. if x != nil && x.TotalExposure != nil {
  751. return *x.TotalExposure
  752. }
  753. return 0
  754. }
  755. func (x *ErmcpAreaExposure) GetTotalHedgeRatio() float64 {
  756. if x != nil && x.TotalHedgeRatio != nil {
  757. return *x.TotalHedgeRatio
  758. }
  759. return 0
  760. }
  761. func (x *ErmcpAreaExposure) GetTotalNeedHedgeQty() float64 {
  762. if x != nil && x.TotalNeedHedgeQty != nil {
  763. return *x.TotalNeedHedgeQty
  764. }
  765. return 0
  766. }
  767. func (x *ErmcpAreaExposure) GetNeedHedgeExposoure() float64 {
  768. if x != nil && x.NeedHedgeExposoure != nil {
  769. return *x.NeedHedgeExposoure
  770. }
  771. return 0
  772. }
  773. func (x *ErmcpAreaExposure) GetNeedHedgeRatio() float64 {
  774. if x != nil && x.NeedHedgeRatio != nil {
  775. return *x.NeedHedgeRatio
  776. }
  777. return 0
  778. }
  779. func (x *ErmcpAreaExposure) GetUpdateTime() *Date {
  780. if x != nil {
  781. return x.UpdateTime
  782. }
  783. return nil
  784. }
  785. // GoodsMarginCfgStruct 商品保证金配置
  786. type GoodsMarginCfgStruct struct {
  787. state protoimpl.MessageState
  788. sizeCache protoimpl.SizeCache
  789. unknownFields protoimpl.UnknownFields
  790. GoodsID *uint32 `protobuf:"varint,1,opt,name=GoodsID" json:"GoodsID,omitempty"` // 商品ID
  791. CustomerTypeID *uint32 `protobuf:"varint,2,opt,name=CustomerTypeID" json:"CustomerTypeID,omitempty"` // 投资者客户类型
  792. MarginAlgorithm *uint32 `protobuf:"varint,3,opt,name=MarginAlgorithm" json:"MarginAlgorithm,omitempty"` // 保证金计算方式
  793. MarketMarginValue *float64 `protobuf:"fixed64,4,opt,name=MarketMarginValue" json:"MarketMarginValue,omitempty"` // 即市保证金值
  794. ReckonMarginValue *float64 `protobuf:"fixed64,5,opt,name=ReckonMarginValue" json:"ReckonMarginValue,omitempty"` // 结算保证金值
  795. LockMarginValue *float64 `protobuf:"fixed64,6,opt,name=LockMarginValue" json:"LockMarginValue,omitempty"` // 锁仓保证金
  796. RealMarginValue *float64 `protobuf:"fixed64,7,opt,name=RealMarginValue" json:"RealMarginValue,omitempty"` // 实付比例
  797. RealMarginAlgorithm *uint32 `protobuf:"varint,8,opt,name=RealMarginAlgorithm" json:"RealMarginAlgorithm,omitempty"` // 实付保证金计算方式
  798. IsDefault *uint32 `protobuf:"varint,9,opt,name=IsDefault" json:"IsDefault,omitempty"` // 是否默认标志位
  799. }
  800. func (x *GoodsMarginCfgStruct) Reset() {
  801. *x = GoodsMarginCfgStruct{}
  802. if protoimpl.UnsafeEnabled {
  803. mi := &file_mtp2_proto_msgTypes[6]
  804. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  805. ms.StoreMessageInfo(mi)
  806. }
  807. }
  808. func (x *GoodsMarginCfgStruct) String() string {
  809. return protoimpl.X.MessageStringOf(x)
  810. }
  811. func (*GoodsMarginCfgStruct) ProtoMessage() {}
  812. func (x *GoodsMarginCfgStruct) ProtoReflect() protoreflect.Message {
  813. mi := &file_mtp2_proto_msgTypes[6]
  814. if protoimpl.UnsafeEnabled && x != nil {
  815. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  816. if ms.LoadMessageInfo() == nil {
  817. ms.StoreMessageInfo(mi)
  818. }
  819. return ms
  820. }
  821. return mi.MessageOf(x)
  822. }
  823. // Deprecated: Use GoodsMarginCfgStruct.ProtoReflect.Descriptor instead.
  824. func (*GoodsMarginCfgStruct) Descriptor() ([]byte, []int) {
  825. return file_mtp2_proto_rawDescGZIP(), []int{6}
  826. }
  827. func (x *GoodsMarginCfgStruct) GetGoodsID() uint32 {
  828. if x != nil && x.GoodsID != nil {
  829. return *x.GoodsID
  830. }
  831. return 0
  832. }
  833. func (x *GoodsMarginCfgStruct) GetCustomerTypeID() uint32 {
  834. if x != nil && x.CustomerTypeID != nil {
  835. return *x.CustomerTypeID
  836. }
  837. return 0
  838. }
  839. func (x *GoodsMarginCfgStruct) GetMarginAlgorithm() uint32 {
  840. if x != nil && x.MarginAlgorithm != nil {
  841. return *x.MarginAlgorithm
  842. }
  843. return 0
  844. }
  845. func (x *GoodsMarginCfgStruct) GetMarketMarginValue() float64 {
  846. if x != nil && x.MarketMarginValue != nil {
  847. return *x.MarketMarginValue
  848. }
  849. return 0
  850. }
  851. func (x *GoodsMarginCfgStruct) GetReckonMarginValue() float64 {
  852. if x != nil && x.ReckonMarginValue != nil {
  853. return *x.ReckonMarginValue
  854. }
  855. return 0
  856. }
  857. func (x *GoodsMarginCfgStruct) GetLockMarginValue() float64 {
  858. if x != nil && x.LockMarginValue != nil {
  859. return *x.LockMarginValue
  860. }
  861. return 0
  862. }
  863. func (x *GoodsMarginCfgStruct) GetRealMarginValue() float64 {
  864. if x != nil && x.RealMarginValue != nil {
  865. return *x.RealMarginValue
  866. }
  867. return 0
  868. }
  869. func (x *GoodsMarginCfgStruct) GetRealMarginAlgorithm() uint32 {
  870. if x != nil && x.RealMarginAlgorithm != nil {
  871. return *x.RealMarginAlgorithm
  872. }
  873. return 0
  874. }
  875. func (x *GoodsMarginCfgStruct) GetIsDefault() uint32 {
  876. if x != nil && x.IsDefault != nil {
  877. return *x.IsDefault
  878. }
  879. return 0
  880. }
  881. // ERMCP2_HEDGEDITEM 被套期项目表
  882. type Ermcp2HedgedItem struct {
  883. state protoimpl.MessageState
  884. sizeCache protoimpl.SizeCache
  885. unknownFields protoimpl.UnknownFields
  886. //mkey: 1
  887. HedgedItemID *uint64 `protobuf:"varint,1,opt,name=HedgedItemID" json:"HedgedItemID,omitempty"` // 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  888. HedgedItemNum *string `protobuf:"bytes,2,opt,name=HedgedItemNum" json:"HedgedItemNum,omitempty"` // 项目编号
  889. HedgedItemName *string `protobuf:"bytes,3,opt,name=HedgedItemName" json:"HedgedItemName,omitempty"` // 项目名称
  890. HedgedType *uint64 `protobuf:"varint,4,opt,name=HedgedType" json:"HedgedType,omitempty"` // 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  891. PlanStartDate *Date `protobuf:"bytes,5,opt,name=PlanStartDate" json:"PlanStartDate,omitempty"` // 计划开始日期 --DATE
  892. PlanEndDate *Date `protobuf:"bytes,6,opt,name=PlanEndDate" json:"PlanEndDate,omitempty"` // 计划结束日期 --DATE
  893. HedgeRate *float64 `protobuf:"fixed64,7,opt,name=HedgeRate" json:"HedgeRate,omitempty"` // 套保比率
  894. TradeUserID *uint64 `protobuf:"varint,8,opt,name=TradeUserID" json:"TradeUserID,omitempty"` // 交易用户ID
  895. AreaUserID *uint64 `protobuf:"varint,9,opt,name=AreaUserID" json:"AreaUserID,omitempty"` // 企业ID
  896. HedgedItemStatus *uint64 `protobuf:"varint,10,opt,name=HedgedItemStatus" json:"HedgedItemStatus,omitempty"` // 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  897. ApplySrc *uint64 `protobuf:"varint,11,opt,name=ApplySrc" json:"ApplySrc,omitempty"` // 申请来源 - 1:管理端 2:终端
  898. ApplyID *uint64 `protobuf:"varint,12,opt,name=ApplyID" json:"ApplyID,omitempty"` // 申请人
  899. Remark *string `protobuf:"bytes,13,opt,name=Remark" json:"Remark,omitempty"` // 备注
  900. CreateTime *Date `protobuf:"bytes,14,opt,name=CreateTime" json:"CreateTime,omitempty"` // 申请时间 --DATE
  901. AuditTradeDate *string `protobuf:"bytes,15,opt,name=AuditTradeDate" json:"AuditTradeDate,omitempty"` // 审核交易日(yyyyMMdd)
  902. AuditID *uint64 `protobuf:"varint,16,opt,name=AuditID" json:"AuditID,omitempty"` // 审核人
  903. AuditSrc *uint64 `protobuf:"varint,17,opt,name=AuditSrc" json:"AuditSrc,omitempty"` // 审核来源 - 1:管理端 2:终端
  904. AuditTime *string `protobuf:"bytes,18,opt,name=AuditTime" json:"AuditTime,omitempty"` // 审核时间 --DATE
  905. AuditRemark *string `protobuf:"bytes,19,opt,name=AuditRemark" json:"AuditRemark,omitempty"` // 审核备注
  906. DeliveryGoodsID *uint64 `protobuf:"varint,20,opt,name=DeliveryGoodsID" json:"DeliveryGoodsID,omitempty"` // 现货品种ID
  907. WrStandardID *uint64 `protobuf:"varint,21,opt,name=WrStandardID" json:"WrStandardID,omitempty"` // 现货商品ID
  908. VatRate *float64 `protobuf:"fixed64,22,opt,name=VatRate" json:"VatRate,omitempty"` // 增值税
  909. HedgeQty *float64 `protobuf:"fixed64,23,opt,name=HedgeQty" json:"HedgeQty,omitempty"` // 套期现货量
  910. HedgeAmount *float64 `protobuf:"fixed64,24,opt,name=HedgeAmount" json:"HedgeAmount,omitempty"` // 套期市价总额
  911. HedgeRestAmount *float64 `protobuf:"fixed64,25,opt,name=HedgeRestAmount" json:"HedgeRestAmount,omitempty"` // 套期剩余市价总额【现货贸易】
  912. HedgeContractAmount *float64 `protobuf:"fixed64,26,opt,name=HedgeContractAmount" json:"HedgeContractAmount,omitempty"` // 套期定价总额 【定价采购合同】【现货贸易】
  913. OriAvgPrice *float64 `protobuf:"fixed64,27,opt,name=OriAvgPrice" json:"OriAvgPrice,omitempty"` // 期初市场均价 = 套期市价总额 / 套期现货量
  914. ExeQty *float64 `protobuf:"fixed64,28,opt,name=ExeQty" json:"ExeQty,omitempty"` // 执行现货量
  915. ExeAmount *float64 `protobuf:"fixed64,29,opt,name=ExeAmount" json:"ExeAmount,omitempty"` // 执行市价总额
  916. ExeRestAmount *float64 `protobuf:"fixed64,30,opt,name=ExeRestAmount" json:"ExeRestAmount,omitempty"` // 执行剩余市价总额【现货贸易】
  917. ExeAvgPrice *float64 `protobuf:"fixed64,31,opt,name=ExeAvgPrice" json:"ExeAvgPrice,omitempty"` // 执行市场均价= 执行市价总额 / 执行现货量
  918. ExeContractAmount *float64 `protobuf:"fixed64,32,opt,name=ExeContractAmount" json:"ExeContractAmount,omitempty"` // 执行定价总额
  919. CurPrice *float64 `protobuf:"fixed64,33,opt,name=CurPrice" json:"CurPrice,omitempty"` // 当前市场价
  920. UnExeQty *float64 `protobuf:"fixed64,34,opt,name=UnExeQty" json:"UnExeQty,omitempty"` // 未执行现货量 = 套期现货量 - 执行现货量
  921. SpotHedgePL *float64 `protobuf:"fixed64,35,opt,name=SpotHedgePL" json:"SpotHedgePL,omitempty"` // 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  922. SpotPL *float64 `protobuf:"fixed64,36,opt,name=SpotPL" json:"SpotPL,omitempty"` // 现货套期损益 = 现货实际损益 + 现货浮动损益
  923. FutureHedgePL *float64 `protobuf:"fixed64,37,opt,name=FutureHedgePL" json:"FutureHedgePL,omitempty"` // 期货实际损益
  924. FuturePL *float64 `protobuf:"fixed64,38,opt,name=FuturePL" json:"FuturePL,omitempty"` // 期货套期损益
  925. HedgeSumPL *float64 `protobuf:"fixed64,39,opt,name=HedgeSumPL" json:"HedgeSumPL,omitempty"` // 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  926. SpotTradePL *float64 `protobuf:"fixed64,40,opt,name=SpotTradePL" json:"SpotTradePL,omitempty"` // 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  927. VatPL *float64 `protobuf:"fixed64,41,opt,name=VatPL" json:"VatPL,omitempty"` // 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  928. SumObsPL *float64 `protobuf:"fixed64,42,opt,name=SumObsPL" json:"SumObsPL,omitempty"` // 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  929. SpotBookAmount *float64 `protobuf:"fixed64,43,opt,name=SpotBookAmount" json:"SpotBookAmount,omitempty"` // 现货账面总额
  930. CurStock *float64 `protobuf:"fixed64,44,opt,name=CurStock" json:"CurStock,omitempty"` // 期末库存量 = 采购总量 - 销售总量
  931. EndDate *Date `protobuf:"bytes,45,opt,name=EndDate" json:"EndDate,omitempty"` // 完成日期 --DATE
  932. EndTradeDate *string `protobuf:"bytes,46,opt,name=EndTradeDate" json:"EndTradeDate,omitempty"` // 完成交易日
  933. UpdateTime *Date `protobuf:"bytes,47,opt,name=UpdateTime" json:"UpdateTime,omitempty"` // 更新时间 --DATE
  934. OriSpotHedgePL *float64 `protobuf:"fixed64,48,opt,name=OriSpotHedgePL" json:"OriSpotHedgePL,omitempty"` // 期初现货实际损益
  935. OriFutureHedgePL *float64 `protobuf:"fixed64,49,opt,name=OriFutureHedgePL" json:"OriFutureHedgePL,omitempty"` // 期初期货实际损益
  936. OriSpotPL *float64 `protobuf:"fixed64,50,opt,name=OriSpotPL" json:"OriSpotPL,omitempty"` // 期初现货套期损益
  937. OriFuturePL *float64 `protobuf:"fixed64,51,opt,name=OriFuturePL" json:"OriFuturePL,omitempty"` // 期初期货套期损益
  938. SpotFloatPL *float64 `protobuf:"fixed64,52,opt,name=SpotFloatPL" json:"SpotFloatPL,omitempty"` // 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  939. FutureFloatPL *float64 `protobuf:"fixed64,53,opt,name=FutureFloatPL" json:"FutureFloatPL,omitempty"` // 期货浮动损益
  940. IsRelated *uint32 `protobuf:"varint,54,opt,name=IsRelated" json:"IsRelated,omitempty"` //是否关联 - 0:未关联 1:已关联
  941. }
  942. func (x *Ermcp2HedgedItem) Reset() {
  943. *x = Ermcp2HedgedItem{}
  944. if protoimpl.UnsafeEnabled {
  945. mi := &file_mtp2_proto_msgTypes[7]
  946. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  947. ms.StoreMessageInfo(mi)
  948. }
  949. }
  950. func (x *Ermcp2HedgedItem) String() string {
  951. return protoimpl.X.MessageStringOf(x)
  952. }
  953. func (*Ermcp2HedgedItem) ProtoMessage() {}
  954. func (x *Ermcp2HedgedItem) ProtoReflect() protoreflect.Message {
  955. mi := &file_mtp2_proto_msgTypes[7]
  956. if protoimpl.UnsafeEnabled && x != nil {
  957. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  958. if ms.LoadMessageInfo() == nil {
  959. ms.StoreMessageInfo(mi)
  960. }
  961. return ms
  962. }
  963. return mi.MessageOf(x)
  964. }
  965. // Deprecated: Use Ermcp2HedgedItem.ProtoReflect.Descriptor instead.
  966. func (*Ermcp2HedgedItem) Descriptor() ([]byte, []int) {
  967. return file_mtp2_proto_rawDescGZIP(), []int{7}
  968. }
  969. func (x *Ermcp2HedgedItem) GetHedgedItemID() uint64 {
  970. if x != nil && x.HedgedItemID != nil {
  971. return *x.HedgedItemID
  972. }
  973. return 0
  974. }
  975. func (x *Ermcp2HedgedItem) GetHedgedItemNum() string {
  976. if x != nil && x.HedgedItemNum != nil {
  977. return *x.HedgedItemNum
  978. }
  979. return ""
  980. }
  981. func (x *Ermcp2HedgedItem) GetHedgedItemName() string {
  982. if x != nil && x.HedgedItemName != nil {
  983. return *x.HedgedItemName
  984. }
  985. return ""
  986. }
  987. func (x *Ermcp2HedgedItem) GetHedgedType() uint64 {
  988. if x != nil && x.HedgedType != nil {
  989. return *x.HedgedType
  990. }
  991. return 0
  992. }
  993. func (x *Ermcp2HedgedItem) GetPlanStartDate() *Date {
  994. if x != nil {
  995. return x.PlanStartDate
  996. }
  997. return nil
  998. }
  999. func (x *Ermcp2HedgedItem) GetPlanEndDate() *Date {
  1000. if x != nil {
  1001. return x.PlanEndDate
  1002. }
  1003. return nil
  1004. }
  1005. func (x *Ermcp2HedgedItem) GetHedgeRate() float64 {
  1006. if x != nil && x.HedgeRate != nil {
  1007. return *x.HedgeRate
  1008. }
  1009. return 0
  1010. }
  1011. func (x *Ermcp2HedgedItem) GetTradeUserID() uint64 {
  1012. if x != nil && x.TradeUserID != nil {
  1013. return *x.TradeUserID
  1014. }
  1015. return 0
  1016. }
  1017. func (x *Ermcp2HedgedItem) GetAreaUserID() uint64 {
  1018. if x != nil && x.AreaUserID != nil {
  1019. return *x.AreaUserID
  1020. }
  1021. return 0
  1022. }
  1023. func (x *Ermcp2HedgedItem) GetHedgedItemStatus() uint64 {
  1024. if x != nil && x.HedgedItemStatus != nil {
  1025. return *x.HedgedItemStatus
  1026. }
  1027. return 0
  1028. }
  1029. func (x *Ermcp2HedgedItem) GetApplySrc() uint64 {
  1030. if x != nil && x.ApplySrc != nil {
  1031. return *x.ApplySrc
  1032. }
  1033. return 0
  1034. }
  1035. func (x *Ermcp2HedgedItem) GetApplyID() uint64 {
  1036. if x != nil && x.ApplyID != nil {
  1037. return *x.ApplyID
  1038. }
  1039. return 0
  1040. }
  1041. func (x *Ermcp2HedgedItem) GetRemark() string {
  1042. if x != nil && x.Remark != nil {
  1043. return *x.Remark
  1044. }
  1045. return ""
  1046. }
  1047. func (x *Ermcp2HedgedItem) GetCreateTime() *Date {
  1048. if x != nil {
  1049. return x.CreateTime
  1050. }
  1051. return nil
  1052. }
  1053. func (x *Ermcp2HedgedItem) GetAuditTradeDate() string {
  1054. if x != nil && x.AuditTradeDate != nil {
  1055. return *x.AuditTradeDate
  1056. }
  1057. return ""
  1058. }
  1059. func (x *Ermcp2HedgedItem) GetAuditID() uint64 {
  1060. if x != nil && x.AuditID != nil {
  1061. return *x.AuditID
  1062. }
  1063. return 0
  1064. }
  1065. func (x *Ermcp2HedgedItem) GetAuditSrc() uint64 {
  1066. if x != nil && x.AuditSrc != nil {
  1067. return *x.AuditSrc
  1068. }
  1069. return 0
  1070. }
  1071. func (x *Ermcp2HedgedItem) GetAuditTime() string {
  1072. if x != nil && x.AuditTime != nil {
  1073. return *x.AuditTime
  1074. }
  1075. return ""
  1076. }
  1077. func (x *Ermcp2HedgedItem) GetAuditRemark() string {
  1078. if x != nil && x.AuditRemark != nil {
  1079. return *x.AuditRemark
  1080. }
  1081. return ""
  1082. }
  1083. func (x *Ermcp2HedgedItem) GetDeliveryGoodsID() uint64 {
  1084. if x != nil && x.DeliveryGoodsID != nil {
  1085. return *x.DeliveryGoodsID
  1086. }
  1087. return 0
  1088. }
  1089. func (x *Ermcp2HedgedItem) GetWrStandardID() uint64 {
  1090. if x != nil && x.WrStandardID != nil {
  1091. return *x.WrStandardID
  1092. }
  1093. return 0
  1094. }
  1095. func (x *Ermcp2HedgedItem) GetVatRate() float64 {
  1096. if x != nil && x.VatRate != nil {
  1097. return *x.VatRate
  1098. }
  1099. return 0
  1100. }
  1101. func (x *Ermcp2HedgedItem) GetHedgeQty() float64 {
  1102. if x != nil && x.HedgeQty != nil {
  1103. return *x.HedgeQty
  1104. }
  1105. return 0
  1106. }
  1107. func (x *Ermcp2HedgedItem) GetHedgeAmount() float64 {
  1108. if x != nil && x.HedgeAmount != nil {
  1109. return *x.HedgeAmount
  1110. }
  1111. return 0
  1112. }
  1113. func (x *Ermcp2HedgedItem) GetHedgeRestAmount() float64 {
  1114. if x != nil && x.HedgeRestAmount != nil {
  1115. return *x.HedgeRestAmount
  1116. }
  1117. return 0
  1118. }
  1119. func (x *Ermcp2HedgedItem) GetHedgeContractAmount() float64 {
  1120. if x != nil && x.HedgeContractAmount != nil {
  1121. return *x.HedgeContractAmount
  1122. }
  1123. return 0
  1124. }
  1125. func (x *Ermcp2HedgedItem) GetOriAvgPrice() float64 {
  1126. if x != nil && x.OriAvgPrice != nil {
  1127. return *x.OriAvgPrice
  1128. }
  1129. return 0
  1130. }
  1131. func (x *Ermcp2HedgedItem) GetExeQty() float64 {
  1132. if x != nil && x.ExeQty != nil {
  1133. return *x.ExeQty
  1134. }
  1135. return 0
  1136. }
  1137. func (x *Ermcp2HedgedItem) GetExeAmount() float64 {
  1138. if x != nil && x.ExeAmount != nil {
  1139. return *x.ExeAmount
  1140. }
  1141. return 0
  1142. }
  1143. func (x *Ermcp2HedgedItem) GetExeRestAmount() float64 {
  1144. if x != nil && x.ExeRestAmount != nil {
  1145. return *x.ExeRestAmount
  1146. }
  1147. return 0
  1148. }
  1149. func (x *Ermcp2HedgedItem) GetExeAvgPrice() float64 {
  1150. if x != nil && x.ExeAvgPrice != nil {
  1151. return *x.ExeAvgPrice
  1152. }
  1153. return 0
  1154. }
  1155. func (x *Ermcp2HedgedItem) GetExeContractAmount() float64 {
  1156. if x != nil && x.ExeContractAmount != nil {
  1157. return *x.ExeContractAmount
  1158. }
  1159. return 0
  1160. }
  1161. func (x *Ermcp2HedgedItem) GetCurPrice() float64 {
  1162. if x != nil && x.CurPrice != nil {
  1163. return *x.CurPrice
  1164. }
  1165. return 0
  1166. }
  1167. func (x *Ermcp2HedgedItem) GetUnExeQty() float64 {
  1168. if x != nil && x.UnExeQty != nil {
  1169. return *x.UnExeQty
  1170. }
  1171. return 0
  1172. }
  1173. func (x *Ermcp2HedgedItem) GetSpotHedgePL() float64 {
  1174. if x != nil && x.SpotHedgePL != nil {
  1175. return *x.SpotHedgePL
  1176. }
  1177. return 0
  1178. }
  1179. func (x *Ermcp2HedgedItem) GetSpotPL() float64 {
  1180. if x != nil && x.SpotPL != nil {
  1181. return *x.SpotPL
  1182. }
  1183. return 0
  1184. }
  1185. func (x *Ermcp2HedgedItem) GetFutureHedgePL() float64 {
  1186. if x != nil && x.FutureHedgePL != nil {
  1187. return *x.FutureHedgePL
  1188. }
  1189. return 0
  1190. }
  1191. func (x *Ermcp2HedgedItem) GetFuturePL() float64 {
  1192. if x != nil && x.FuturePL != nil {
  1193. return *x.FuturePL
  1194. }
  1195. return 0
  1196. }
  1197. func (x *Ermcp2HedgedItem) GetHedgeSumPL() float64 {
  1198. if x != nil && x.HedgeSumPL != nil {
  1199. return *x.HedgeSumPL
  1200. }
  1201. return 0
  1202. }
  1203. func (x *Ermcp2HedgedItem) GetSpotTradePL() float64 {
  1204. if x != nil && x.SpotTradePL != nil {
  1205. return *x.SpotTradePL
  1206. }
  1207. return 0
  1208. }
  1209. func (x *Ermcp2HedgedItem) GetVatPL() float64 {
  1210. if x != nil && x.VatPL != nil {
  1211. return *x.VatPL
  1212. }
  1213. return 0
  1214. }
  1215. func (x *Ermcp2HedgedItem) GetSumObsPL() float64 {
  1216. if x != nil && x.SumObsPL != nil {
  1217. return *x.SumObsPL
  1218. }
  1219. return 0
  1220. }
  1221. func (x *Ermcp2HedgedItem) GetSpotBookAmount() float64 {
  1222. if x != nil && x.SpotBookAmount != nil {
  1223. return *x.SpotBookAmount
  1224. }
  1225. return 0
  1226. }
  1227. func (x *Ermcp2HedgedItem) GetCurStock() float64 {
  1228. if x != nil && x.CurStock != nil {
  1229. return *x.CurStock
  1230. }
  1231. return 0
  1232. }
  1233. func (x *Ermcp2HedgedItem) GetEndDate() *Date {
  1234. if x != nil {
  1235. return x.EndDate
  1236. }
  1237. return nil
  1238. }
  1239. func (x *Ermcp2HedgedItem) GetEndTradeDate() string {
  1240. if x != nil && x.EndTradeDate != nil {
  1241. return *x.EndTradeDate
  1242. }
  1243. return ""
  1244. }
  1245. func (x *Ermcp2HedgedItem) GetUpdateTime() *Date {
  1246. if x != nil {
  1247. return x.UpdateTime
  1248. }
  1249. return nil
  1250. }
  1251. func (x *Ermcp2HedgedItem) GetOriSpotHedgePL() float64 {
  1252. if x != nil && x.OriSpotHedgePL != nil {
  1253. return *x.OriSpotHedgePL
  1254. }
  1255. return 0
  1256. }
  1257. func (x *Ermcp2HedgedItem) GetOriFutureHedgePL() float64 {
  1258. if x != nil && x.OriFutureHedgePL != nil {
  1259. return *x.OriFutureHedgePL
  1260. }
  1261. return 0
  1262. }
  1263. func (x *Ermcp2HedgedItem) GetOriSpotPL() float64 {
  1264. if x != nil && x.OriSpotPL != nil {
  1265. return *x.OriSpotPL
  1266. }
  1267. return 0
  1268. }
  1269. func (x *Ermcp2HedgedItem) GetOriFuturePL() float64 {
  1270. if x != nil && x.OriFuturePL != nil {
  1271. return *x.OriFuturePL
  1272. }
  1273. return 0
  1274. }
  1275. func (x *Ermcp2HedgedItem) GetSpotFloatPL() float64 {
  1276. if x != nil && x.SpotFloatPL != nil {
  1277. return *x.SpotFloatPL
  1278. }
  1279. return 0
  1280. }
  1281. func (x *Ermcp2HedgedItem) GetFutureFloatPL() float64 {
  1282. if x != nil && x.FutureFloatPL != nil {
  1283. return *x.FutureFloatPL
  1284. }
  1285. return 0
  1286. }
  1287. func (x *Ermcp2HedgedItem) GetIsRelated() uint32 {
  1288. if x != nil && x.IsRelated != nil {
  1289. return *x.IsRelated
  1290. }
  1291. return 0
  1292. }
  1293. // ERMCP2_HEDGEDITEM 被套期项目表扩展
  1294. type Ermcp2HedgedItemExt struct {
  1295. state protoimpl.MessageState
  1296. sizeCache protoimpl.SizeCache
  1297. unknownFields protoimpl.UnknownFields
  1298. Item *Ermcp2HedgedItem `protobuf:"bytes,1,opt,name=item" json:"item,omitempty"`
  1299. Accountname *string `protobuf:"bytes,2,opt,name=accountname" json:"accountname,omitempty"`
  1300. Wrstandardname *string `protobuf:"bytes,3,opt,name=wrstandardname" json:"wrstandardname,omitempty"`
  1301. Unitid *uint32 `protobuf:"varint,4,opt,name=unitid" json:"unitid,omitempty"`
  1302. }
  1303. func (x *Ermcp2HedgedItemExt) Reset() {
  1304. *x = Ermcp2HedgedItemExt{}
  1305. if protoimpl.UnsafeEnabled {
  1306. mi := &file_mtp2_proto_msgTypes[8]
  1307. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1308. ms.StoreMessageInfo(mi)
  1309. }
  1310. }
  1311. func (x *Ermcp2HedgedItemExt) String() string {
  1312. return protoimpl.X.MessageStringOf(x)
  1313. }
  1314. func (*Ermcp2HedgedItemExt) ProtoMessage() {}
  1315. func (x *Ermcp2HedgedItemExt) ProtoReflect() protoreflect.Message {
  1316. mi := &file_mtp2_proto_msgTypes[8]
  1317. if protoimpl.UnsafeEnabled && x != nil {
  1318. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1319. if ms.LoadMessageInfo() == nil {
  1320. ms.StoreMessageInfo(mi)
  1321. }
  1322. return ms
  1323. }
  1324. return mi.MessageOf(x)
  1325. }
  1326. // Deprecated: Use Ermcp2HedgedItemExt.ProtoReflect.Descriptor instead.
  1327. func (*Ermcp2HedgedItemExt) Descriptor() ([]byte, []int) {
  1328. return file_mtp2_proto_rawDescGZIP(), []int{8}
  1329. }
  1330. func (x *Ermcp2HedgedItemExt) GetItem() *Ermcp2HedgedItem {
  1331. if x != nil {
  1332. return x.Item
  1333. }
  1334. return nil
  1335. }
  1336. func (x *Ermcp2HedgedItemExt) GetAccountname() string {
  1337. if x != nil && x.Accountname != nil {
  1338. return *x.Accountname
  1339. }
  1340. return ""
  1341. }
  1342. func (x *Ermcp2HedgedItemExt) GetWrstandardname() string {
  1343. if x != nil && x.Wrstandardname != nil {
  1344. return *x.Wrstandardname
  1345. }
  1346. return ""
  1347. }
  1348. func (x *Ermcp2HedgedItemExt) GetUnitid() uint32 {
  1349. if x != nil && x.Unitid != nil {
  1350. return *x.Unitid
  1351. }
  1352. return 0
  1353. }
  1354. // ERMCP2_HIMIDDLEGOODS 项目套保品种明细
  1355. type Ermcp2HIMiddleGoods struct {
  1356. state protoimpl.MessageState
  1357. sizeCache protoimpl.SizeCache
  1358. unknownFields protoimpl.UnknownFields
  1359. //mkey: 1 2
  1360. HedgedItemID *uint64 `protobuf:"varint,1,opt,name=HedgedItemID" json:"HedgedItemID,omitempty"` // 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  1361. MiddleGoodsID *uint64 `protobuf:"varint,2,opt,name=MiddleGoodsID" json:"MiddleGoodsID,omitempty"` // 套保品种ID
  1362. DeliveryGoodsID *uint64 `protobuf:"varint,3,opt,name=DeliveryGoodsID" json:"DeliveryGoodsID,omitempty"` // 现货品种ID
  1363. WrstandardID *uint64 `protobuf:"varint,4,opt,name=WrstandardID" json:"WrstandardID,omitempty"` // 现货商品ID
  1364. VatRate *float64 `protobuf:"fixed64,5,opt,name=VatRate" json:"VatRate,omitempty"` // 增值税
  1365. SpotConvertRatio *float64 `protobuf:"fixed64,6,opt,name=SpotConvertRatio" json:"SpotConvertRatio,omitempty"` // 折算系数 [现货]
  1366. UnexeSpotQty *float64 `protobuf:"fixed64,7,opt,name=UnexeSpotQty" json:"UnexeSpotQty,omitempty"` // 未执行现货量
  1367. UnexeHedgeQty *float64 `protobuf:"fixed64,8,opt,name=UnexeHedgeQty" json:"UnexeHedgeQty,omitempty"` // 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  1368. FutureHedgeQty *float64 `protobuf:"fixed64,9,opt,name=FutureHedgeQty" json:"FutureHedgeQty,omitempty"` // 期货持仓套期量
  1369. HIExpsoure *float64 `protobuf:"fixed64,10,opt,name=HIExpsoure" json:"HIExpsoure,omitempty"` // 期现敞口量 = 未执行套期量 + 期货持仓套期量
  1370. TradeUserID *uint64 `protobuf:"varint,11,opt,name=TradeUserID" json:"TradeUserID,omitempty"` // 交易用户ID
  1371. AreaUserID *uint64 `protobuf:"varint,12,opt,name=AreaUserID" json:"AreaUserID,omitempty"` // 企业ID
  1372. CreateTime *Date `protobuf:"bytes,13,opt,name=CreateTime" json:"CreateTime,omitempty"` // 创建时间 --DATE
  1373. UpdateTime *Date `protobuf:"bytes,14,opt,name=UpdateTime" json:"UpdateTime,omitempty"` // 更新时间 --DATE
  1374. }
  1375. func (x *Ermcp2HIMiddleGoods) Reset() {
  1376. *x = Ermcp2HIMiddleGoods{}
  1377. if protoimpl.UnsafeEnabled {
  1378. mi := &file_mtp2_proto_msgTypes[9]
  1379. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1380. ms.StoreMessageInfo(mi)
  1381. }
  1382. }
  1383. func (x *Ermcp2HIMiddleGoods) String() string {
  1384. return protoimpl.X.MessageStringOf(x)
  1385. }
  1386. func (*Ermcp2HIMiddleGoods) ProtoMessage() {}
  1387. func (x *Ermcp2HIMiddleGoods) ProtoReflect() protoreflect.Message {
  1388. mi := &file_mtp2_proto_msgTypes[9]
  1389. if protoimpl.UnsafeEnabled && x != nil {
  1390. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1391. if ms.LoadMessageInfo() == nil {
  1392. ms.StoreMessageInfo(mi)
  1393. }
  1394. return ms
  1395. }
  1396. return mi.MessageOf(x)
  1397. }
  1398. // Deprecated: Use Ermcp2HIMiddleGoods.ProtoReflect.Descriptor instead.
  1399. func (*Ermcp2HIMiddleGoods) Descriptor() ([]byte, []int) {
  1400. return file_mtp2_proto_rawDescGZIP(), []int{9}
  1401. }
  1402. func (x *Ermcp2HIMiddleGoods) GetHedgedItemID() uint64 {
  1403. if x != nil && x.HedgedItemID != nil {
  1404. return *x.HedgedItemID
  1405. }
  1406. return 0
  1407. }
  1408. func (x *Ermcp2HIMiddleGoods) GetMiddleGoodsID() uint64 {
  1409. if x != nil && x.MiddleGoodsID != nil {
  1410. return *x.MiddleGoodsID
  1411. }
  1412. return 0
  1413. }
  1414. func (x *Ermcp2HIMiddleGoods) GetDeliveryGoodsID() uint64 {
  1415. if x != nil && x.DeliveryGoodsID != nil {
  1416. return *x.DeliveryGoodsID
  1417. }
  1418. return 0
  1419. }
  1420. func (x *Ermcp2HIMiddleGoods) GetWrstandardID() uint64 {
  1421. if x != nil && x.WrstandardID != nil {
  1422. return *x.WrstandardID
  1423. }
  1424. return 0
  1425. }
  1426. func (x *Ermcp2HIMiddleGoods) GetVatRate() float64 {
  1427. if x != nil && x.VatRate != nil {
  1428. return *x.VatRate
  1429. }
  1430. return 0
  1431. }
  1432. func (x *Ermcp2HIMiddleGoods) GetSpotConvertRatio() float64 {
  1433. if x != nil && x.SpotConvertRatio != nil {
  1434. return *x.SpotConvertRatio
  1435. }
  1436. return 0
  1437. }
  1438. func (x *Ermcp2HIMiddleGoods) GetUnexeSpotQty() float64 {
  1439. if x != nil && x.UnexeSpotQty != nil {
  1440. return *x.UnexeSpotQty
  1441. }
  1442. return 0
  1443. }
  1444. func (x *Ermcp2HIMiddleGoods) GetUnexeHedgeQty() float64 {
  1445. if x != nil && x.UnexeHedgeQty != nil {
  1446. return *x.UnexeHedgeQty
  1447. }
  1448. return 0
  1449. }
  1450. func (x *Ermcp2HIMiddleGoods) GetFutureHedgeQty() float64 {
  1451. if x != nil && x.FutureHedgeQty != nil {
  1452. return *x.FutureHedgeQty
  1453. }
  1454. return 0
  1455. }
  1456. func (x *Ermcp2HIMiddleGoods) GetHIExpsoure() float64 {
  1457. if x != nil && x.HIExpsoure != nil {
  1458. return *x.HIExpsoure
  1459. }
  1460. return 0
  1461. }
  1462. func (x *Ermcp2HIMiddleGoods) GetTradeUserID() uint64 {
  1463. if x != nil && x.TradeUserID != nil {
  1464. return *x.TradeUserID
  1465. }
  1466. return 0
  1467. }
  1468. func (x *Ermcp2HIMiddleGoods) GetAreaUserID() uint64 {
  1469. if x != nil && x.AreaUserID != nil {
  1470. return *x.AreaUserID
  1471. }
  1472. return 0
  1473. }
  1474. func (x *Ermcp2HIMiddleGoods) GetCreateTime() *Date {
  1475. if x != nil {
  1476. return x.CreateTime
  1477. }
  1478. return nil
  1479. }
  1480. func (x *Ermcp2HIMiddleGoods) GetUpdateTime() *Date {
  1481. if x != nil {
  1482. return x.UpdateTime
  1483. }
  1484. return nil
  1485. }
  1486. // ERMCP2_HIMIDDLEGOODS 项目套保品种明细扩展
  1487. type Ermcp2HIMiddleGoodsExt struct {
  1488. state protoimpl.MessageState
  1489. sizeCache protoimpl.SizeCache
  1490. unknownFields protoimpl.UnknownFields
  1491. Middlegoods *Ermcp2HIMiddleGoods `protobuf:"bytes,1,opt,name=middlegoods" json:"middlegoods,omitempty"`
  1492. Middlegoodsname *string `protobuf:"bytes,2,opt,name=middlegoodsname" json:"middlegoodsname,omitempty"`
  1493. }
  1494. func (x *Ermcp2HIMiddleGoodsExt) Reset() {
  1495. *x = Ermcp2HIMiddleGoodsExt{}
  1496. if protoimpl.UnsafeEnabled {
  1497. mi := &file_mtp2_proto_msgTypes[10]
  1498. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1499. ms.StoreMessageInfo(mi)
  1500. }
  1501. }
  1502. func (x *Ermcp2HIMiddleGoodsExt) String() string {
  1503. return protoimpl.X.MessageStringOf(x)
  1504. }
  1505. func (*Ermcp2HIMiddleGoodsExt) ProtoMessage() {}
  1506. func (x *Ermcp2HIMiddleGoodsExt) ProtoReflect() protoreflect.Message {
  1507. mi := &file_mtp2_proto_msgTypes[10]
  1508. if protoimpl.UnsafeEnabled && x != nil {
  1509. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1510. if ms.LoadMessageInfo() == nil {
  1511. ms.StoreMessageInfo(mi)
  1512. }
  1513. return ms
  1514. }
  1515. return mi.MessageOf(x)
  1516. }
  1517. // Deprecated: Use Ermcp2HIMiddleGoodsExt.ProtoReflect.Descriptor instead.
  1518. func (*Ermcp2HIMiddleGoodsExt) Descriptor() ([]byte, []int) {
  1519. return file_mtp2_proto_rawDescGZIP(), []int{10}
  1520. }
  1521. func (x *Ermcp2HIMiddleGoodsExt) GetMiddlegoods() *Ermcp2HIMiddleGoods {
  1522. if x != nil {
  1523. return x.Middlegoods
  1524. }
  1525. return nil
  1526. }
  1527. func (x *Ermcp2HIMiddleGoodsExt) GetMiddlegoodsname() string {
  1528. if x != nil && x.Middlegoodsname != nil {
  1529. return *x.Middlegoodsname
  1530. }
  1531. return ""
  1532. }
  1533. //被套期项目表信息
  1534. type Ermcp2HedgedItemInfo struct {
  1535. state protoimpl.MessageState
  1536. sizeCache protoimpl.SizeCache
  1537. unknownFields protoimpl.UnknownFields
  1538. Hedgeditemext *Ermcp2HedgedItemExt `protobuf:"bytes,1,opt,name=hedgeditemext" json:"hedgeditemext,omitempty"` //被套期项目
  1539. Himiddlegoodsext []*Ermcp2HIMiddleGoodsExt `protobuf:"bytes,2,rep,name=himiddlegoodsext" json:"himiddlegoodsext,omitempty"`
  1540. }
  1541. func (x *Ermcp2HedgedItemInfo) Reset() {
  1542. *x = Ermcp2HedgedItemInfo{}
  1543. if protoimpl.UnsafeEnabled {
  1544. mi := &file_mtp2_proto_msgTypes[11]
  1545. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1546. ms.StoreMessageInfo(mi)
  1547. }
  1548. }
  1549. func (x *Ermcp2HedgedItemInfo) String() string {
  1550. return protoimpl.X.MessageStringOf(x)
  1551. }
  1552. func (*Ermcp2HedgedItemInfo) ProtoMessage() {}
  1553. func (x *Ermcp2HedgedItemInfo) ProtoReflect() protoreflect.Message {
  1554. mi := &file_mtp2_proto_msgTypes[11]
  1555. if protoimpl.UnsafeEnabled && x != nil {
  1556. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1557. if ms.LoadMessageInfo() == nil {
  1558. ms.StoreMessageInfo(mi)
  1559. }
  1560. return ms
  1561. }
  1562. return mi.MessageOf(x)
  1563. }
  1564. // Deprecated: Use Ermcp2HedgedItemInfo.ProtoReflect.Descriptor instead.
  1565. func (*Ermcp2HedgedItemInfo) Descriptor() ([]byte, []int) {
  1566. return file_mtp2_proto_rawDescGZIP(), []int{11}
  1567. }
  1568. func (x *Ermcp2HedgedItemInfo) GetHedgeditemext() *Ermcp2HedgedItemExt {
  1569. if x != nil {
  1570. return x.Hedgeditemext
  1571. }
  1572. return nil
  1573. }
  1574. func (x *Ermcp2HedgedItemInfo) GetHimiddlegoodsext() []*Ermcp2HIMiddleGoodsExt {
  1575. if x != nil {
  1576. return x.Himiddlegoodsext
  1577. }
  1578. return nil
  1579. }
  1580. // ERMCP2_AREAEXPOSURE 企业敞口表_New
  1581. type Ermcp2AreaExposure struct {
  1582. state protoimpl.MessageState
  1583. sizeCache protoimpl.SizeCache
  1584. unknownFields protoimpl.UnknownFields
  1585. //mkey: 1 2
  1586. MiddleGoodsID *uint64 `protobuf:"varint,1,opt,name=MiddleGoodsID" json:"MiddleGoodsID,omitempty"` // 套保品种
  1587. AreaUserID *uint64 `protobuf:"varint,2,opt,name=AreaUserID" json:"AreaUserID,omitempty"` // 所属机构
  1588. SpotQty *float64 `protobuf:"fixed64,3,opt,name=SpotQty" json:"SpotQty,omitempty"` // 现货总量
  1589. HedgeSpotQty *float64 `protobuf:"fixed64,4,opt,name=HedgeSpotQty" json:"HedgeSpotQty,omitempty"` // 被套期现货量
  1590. HedgePlanQty *float64 `protobuf:"fixed64,5,opt,name=HedgePlanQty" json:"HedgePlanQty,omitempty"` // 套期计划量
  1591. FutureQty *float64 `protobuf:"fixed64,6,opt,name=FutureQty" json:"FutureQty,omitempty"` // 期货套期量
  1592. SpotExposure *float64 `protobuf:"fixed64,7,opt,name=SpotExposure" json:"SpotExposure,omitempty"` // 现货敞口量
  1593. TotalExposure *float64 `protobuf:"fixed64,8,opt,name=TotalExposure" json:"TotalExposure,omitempty"` // 总敞口量 = 现货敞口量 + 期货套期量
  1594. SpRatio *float64 `protobuf:"fixed64,9,opt,name=SpRatio" json:"SpRatio,omitempty"` // 总期现比例 = 期货套期量/现货敞口量
  1595. HedgedSpotExposure *float64 `protobuf:"fixed64,10,opt,name=HedgedSpotExposure" json:"HedgedSpotExposure,omitempty"` // 被套期现货敞口量
  1596. HedgedTotalExposure *float64 `protobuf:"fixed64,11,opt,name=HedgedTotalExposure" json:"HedgedTotalExposure,omitempty"` // 套期敞口量 = 被套期现货敞口量+期货套期量
  1597. HedgedSpRatio *float64 `protobuf:"fixed64,12,opt,name=HedgedSpRatio" json:"HedgedSpRatio,omitempty"` // 套期期现比例 = 期货套期量/被套期现货敞口量
  1598. OriSpotQty *float64 `protobuf:"fixed64,13,opt,name=OriSpotQty" json:"OriSpotQty,omitempty"` // 期初现货总量
  1599. OriHedgeSpotQty *float64 `protobuf:"fixed64,14,opt,name=OriHedgeSpotQty" json:"OriHedgeSpotQty,omitempty"` // 期初被套期现货量
  1600. OriHedgePlanQty *float64 `protobuf:"fixed64,15,opt,name=OriHedgePlanQty" json:"OriHedgePlanQty,omitempty"` // 期初套期计划量
  1601. OriFutureQty *float64 `protobuf:"fixed64,16,opt,name=OriFutureQty" json:"OriFutureQty,omitempty"` // 期初期货套期量
  1602. OriSpotExposure *float64 `protobuf:"fixed64,17,opt,name=OriSpotExposure" json:"OriSpotExposure,omitempty"` // 期初现货敞口量
  1603. OriTotalExposure *float64 `protobuf:"fixed64,18,opt,name=OriTotalExposure" json:"OriTotalExposure,omitempty"` // 期初总敞口量
  1604. OriHedgedSpotExposure *float64 `protobuf:"fixed64,19,opt,name=OriHedgedSpotExposure" json:"OriHedgedSpotExposure,omitempty"` // 期初被套期现货敞口量
  1605. OriHedgedTotalExposure *float64 `protobuf:"fixed64,20,opt,name=OriHedgedTotalExposure" json:"OriHedgedTotalExposure,omitempty"` // 期初套期敞口量
  1606. UpdateTime *Date `protobuf:"bytes,21,opt,name=UpdateTime" json:"UpdateTime,omitempty"` // 更新时间 --DATE
  1607. MiddleGoodsName *string `protobuf:"bytes,22,opt,name=MiddleGoodsName" json:"MiddleGoodsName,omitempty"` //套保品种名称
  1608. GoodsUnitID *uint32 `protobuf:"varint,23,opt,name=GoodsUnitID" json:"GoodsUnitID,omitempty"` //单位ID
  1609. }
  1610. func (x *Ermcp2AreaExposure) Reset() {
  1611. *x = Ermcp2AreaExposure{}
  1612. if protoimpl.UnsafeEnabled {
  1613. mi := &file_mtp2_proto_msgTypes[12]
  1614. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1615. ms.StoreMessageInfo(mi)
  1616. }
  1617. }
  1618. func (x *Ermcp2AreaExposure) String() string {
  1619. return protoimpl.X.MessageStringOf(x)
  1620. }
  1621. func (*Ermcp2AreaExposure) ProtoMessage() {}
  1622. func (x *Ermcp2AreaExposure) ProtoReflect() protoreflect.Message {
  1623. mi := &file_mtp2_proto_msgTypes[12]
  1624. if protoimpl.UnsafeEnabled && x != nil {
  1625. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1626. if ms.LoadMessageInfo() == nil {
  1627. ms.StoreMessageInfo(mi)
  1628. }
  1629. return ms
  1630. }
  1631. return mi.MessageOf(x)
  1632. }
  1633. // Deprecated: Use Ermcp2AreaExposure.ProtoReflect.Descriptor instead.
  1634. func (*Ermcp2AreaExposure) Descriptor() ([]byte, []int) {
  1635. return file_mtp2_proto_rawDescGZIP(), []int{12}
  1636. }
  1637. func (x *Ermcp2AreaExposure) GetMiddleGoodsID() uint64 {
  1638. if x != nil && x.MiddleGoodsID != nil {
  1639. return *x.MiddleGoodsID
  1640. }
  1641. return 0
  1642. }
  1643. func (x *Ermcp2AreaExposure) GetAreaUserID() uint64 {
  1644. if x != nil && x.AreaUserID != nil {
  1645. return *x.AreaUserID
  1646. }
  1647. return 0
  1648. }
  1649. func (x *Ermcp2AreaExposure) GetSpotQty() float64 {
  1650. if x != nil && x.SpotQty != nil {
  1651. return *x.SpotQty
  1652. }
  1653. return 0
  1654. }
  1655. func (x *Ermcp2AreaExposure) GetHedgeSpotQty() float64 {
  1656. if x != nil && x.HedgeSpotQty != nil {
  1657. return *x.HedgeSpotQty
  1658. }
  1659. return 0
  1660. }
  1661. func (x *Ermcp2AreaExposure) GetHedgePlanQty() float64 {
  1662. if x != nil && x.HedgePlanQty != nil {
  1663. return *x.HedgePlanQty
  1664. }
  1665. return 0
  1666. }
  1667. func (x *Ermcp2AreaExposure) GetFutureQty() float64 {
  1668. if x != nil && x.FutureQty != nil {
  1669. return *x.FutureQty
  1670. }
  1671. return 0
  1672. }
  1673. func (x *Ermcp2AreaExposure) GetSpotExposure() float64 {
  1674. if x != nil && x.SpotExposure != nil {
  1675. return *x.SpotExposure
  1676. }
  1677. return 0
  1678. }
  1679. func (x *Ermcp2AreaExposure) GetTotalExposure() float64 {
  1680. if x != nil && x.TotalExposure != nil {
  1681. return *x.TotalExposure
  1682. }
  1683. return 0
  1684. }
  1685. func (x *Ermcp2AreaExposure) GetSpRatio() float64 {
  1686. if x != nil && x.SpRatio != nil {
  1687. return *x.SpRatio
  1688. }
  1689. return 0
  1690. }
  1691. func (x *Ermcp2AreaExposure) GetHedgedSpotExposure() float64 {
  1692. if x != nil && x.HedgedSpotExposure != nil {
  1693. return *x.HedgedSpotExposure
  1694. }
  1695. return 0
  1696. }
  1697. func (x *Ermcp2AreaExposure) GetHedgedTotalExposure() float64 {
  1698. if x != nil && x.HedgedTotalExposure != nil {
  1699. return *x.HedgedTotalExposure
  1700. }
  1701. return 0
  1702. }
  1703. func (x *Ermcp2AreaExposure) GetHedgedSpRatio() float64 {
  1704. if x != nil && x.HedgedSpRatio != nil {
  1705. return *x.HedgedSpRatio
  1706. }
  1707. return 0
  1708. }
  1709. func (x *Ermcp2AreaExposure) GetOriSpotQty() float64 {
  1710. if x != nil && x.OriSpotQty != nil {
  1711. return *x.OriSpotQty
  1712. }
  1713. return 0
  1714. }
  1715. func (x *Ermcp2AreaExposure) GetOriHedgeSpotQty() float64 {
  1716. if x != nil && x.OriHedgeSpotQty != nil {
  1717. return *x.OriHedgeSpotQty
  1718. }
  1719. return 0
  1720. }
  1721. func (x *Ermcp2AreaExposure) GetOriHedgePlanQty() float64 {
  1722. if x != nil && x.OriHedgePlanQty != nil {
  1723. return *x.OriHedgePlanQty
  1724. }
  1725. return 0
  1726. }
  1727. func (x *Ermcp2AreaExposure) GetOriFutureQty() float64 {
  1728. if x != nil && x.OriFutureQty != nil {
  1729. return *x.OriFutureQty
  1730. }
  1731. return 0
  1732. }
  1733. func (x *Ermcp2AreaExposure) GetOriSpotExposure() float64 {
  1734. if x != nil && x.OriSpotExposure != nil {
  1735. return *x.OriSpotExposure
  1736. }
  1737. return 0
  1738. }
  1739. func (x *Ermcp2AreaExposure) GetOriTotalExposure() float64 {
  1740. if x != nil && x.OriTotalExposure != nil {
  1741. return *x.OriTotalExposure
  1742. }
  1743. return 0
  1744. }
  1745. func (x *Ermcp2AreaExposure) GetOriHedgedSpotExposure() float64 {
  1746. if x != nil && x.OriHedgedSpotExposure != nil {
  1747. return *x.OriHedgedSpotExposure
  1748. }
  1749. return 0
  1750. }
  1751. func (x *Ermcp2AreaExposure) GetOriHedgedTotalExposure() float64 {
  1752. if x != nil && x.OriHedgedTotalExposure != nil {
  1753. return *x.OriHedgedTotalExposure
  1754. }
  1755. return 0
  1756. }
  1757. func (x *Ermcp2AreaExposure) GetUpdateTime() *Date {
  1758. if x != nil {
  1759. return x.UpdateTime
  1760. }
  1761. return nil
  1762. }
  1763. func (x *Ermcp2AreaExposure) GetMiddleGoodsName() string {
  1764. if x != nil && x.MiddleGoodsName != nil {
  1765. return *x.MiddleGoodsName
  1766. }
  1767. return ""
  1768. }
  1769. func (x *Ermcp2AreaExposure) GetGoodsUnitID() uint32 {
  1770. if x != nil && x.GoodsUnitID != nil {
  1771. return *x.GoodsUnitID
  1772. }
  1773. return 0
  1774. }
  1775. // TRADE_HOLDERDETAILEX 交易持仓扩展表
  1776. type TradeHolderDetailEx struct {
  1777. state protoimpl.MessageState
  1778. sizeCache protoimpl.SizeCache
  1779. unknownFields protoimpl.UnknownFields
  1780. //mkey: 1 2
  1781. TradeID *uint64 `protobuf:"varint,1,opt,name=TradeID" json:"TradeID,omitempty"` // 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1782. BuyOrSell *uint32 `protobuf:"varint,2,opt,name=BuyOrSell" json:"BuyOrSell,omitempty"` // 方向 - 0:买 1:卖
  1783. TradeDate *string `protobuf:"bytes,3,opt,name=TradeDate" json:"TradeDate,omitempty"` // 交易日(yyyyMMdd)
  1784. MarketID *uint32 `protobuf:"varint,4,opt,name=MarketID" json:"MarketID,omitempty"` // 市场ID
  1785. GoodsID *uint32 `protobuf:"varint,5,opt,name=GoodsID" json:"GoodsID,omitempty"` // 商品ID
  1786. UserID *uint32 `protobuf:"varint,6,opt,name=UserID" json:"UserID,omitempty"` // 用户ID
  1787. AccountID *uint64 `protobuf:"varint,7,opt,name=AccountID" json:"AccountID,omitempty"` // 账号ID
  1788. MatchUserID *uint32 `protobuf:"varint,8,opt,name=MatchUserID" json:"MatchUserID,omitempty"` // 对手用户ID
  1789. MatchAccountID *uint64 `protobuf:"varint,9,opt,name=MatchAccountID" json:"MatchAccountID,omitempty"` // 对手账号ID
  1790. OpenQty *uint64 `protobuf:"varint,10,opt,name=OpenQty" json:"OpenQty,omitempty"` // 建仓数量
  1791. TradeAmount *float64 `protobuf:"fixed64,11,opt,name=TradeAmount" json:"TradeAmount,omitempty"` // 成交金额
  1792. OpenPrice *float64 `protobuf:"fixed64,12,opt,name=OpenPrice" json:"OpenPrice,omitempty"` // 建仓价格
  1793. HolderQty *uint64 `protobuf:"varint,13,opt,name=HolderQty" json:"HolderQty,omitempty"` // 持仓数量
  1794. HolderAmount *float64 `protobuf:"fixed64,14,opt,name=HolderAmount" json:"HolderAmount,omitempty"` // 持仓金额
  1795. HolderPrice *float64 `protobuf:"fixed64,15,opt,name=HolderPrice" json:"HolderPrice,omitempty"` // 持仓价格
  1796. FreezeQty *uint64 `protobuf:"varint,16,opt,name=FreezeQty" json:"FreezeQty,omitempty"` // 冻结数量
  1797. DeliveryQty *uint64 `protobuf:"varint,17,opt,name=DeliveryQty" json:"DeliveryQty,omitempty"` // 交收手数(已交收)
  1798. HoldDays *uint64 `protobuf:"varint,18,opt,name=HoldDays" json:"HoldDays,omitempty"` // 持仓天数
  1799. PayedDeposit *float64 `protobuf:"fixed64,19,opt,name=PayedDeposit" json:"PayedDeposit,omitempty"` // 已付定金
  1800. RestockDeposit *float64 `protobuf:"fixed64,20,opt,name=RestockDeposit" json:"RestockDeposit,omitempty"` // 补充定金
  1801. LateFeeDays *uint64 `protobuf:"varint,21,opt,name=LateFeeDays" json:"LateFeeDays,omitempty"` // 滞纳金起计天数
  1802. LateFeeAlgorithm *uint32 `protobuf:"varint,22,opt,name=LateFeeAlgorithm" json:"LateFeeAlgorithm,omitempty"` // 滞纳金收取方式 1:比率 2:固定
  1803. LateFeeValue *float64 `protobuf:"fixed64,23,opt,name=LateFeeValue" json:"LateFeeValue,omitempty"` // 滞纳金收取值
  1804. CallAteFee *float64 `protobuf:"fixed64,24,opt,name=CallAteFee" json:"CallAteFee,omitempty"` // 已计滞纳金
  1805. PromptDepositRate *float64 `protobuf:"fixed64,25,opt,name=PromptDepositRate" json:"PromptDepositRate,omitempty"` // 提示定金率
  1806. CutDepositRate *float64 `protobuf:"fixed64,26,opt,name=CutDepositRate" json:"CutDepositRate,omitempty"` // 斩仓定金率
  1807. PromptPrice *float64 `protobuf:"fixed64,27,opt,name=PromptPrice" json:"PromptPrice,omitempty"` // 提示价格
  1808. CutPrice *float64 `protobuf:"fixed64,28,opt,name=CutPrice" json:"CutPrice,omitempty"` // 斩仓价格
  1809. ClosePL *float64 `protobuf:"fixed64,29,opt,name=ClosePL" json:"ClosePL,omitempty"` // 平仓盈亏
  1810. FloatPL *float64 `protobuf:"fixed64,30,opt,name=FloatPL" json:"FloatPL,omitempty"` // 浮动盈亏
  1811. DepositRate *float64 `protobuf:"fixed64,31,opt,name=DepositRate" json:"DepositRate,omitempty"` // 订单定金率
  1812. RefundableDeposit *float64 `protobuf:"fixed64,32,opt,name=RefundableDeposit" json:"RefundableDeposit,omitempty"` // 可退定金
  1813. PayedLateFee *float64 `protobuf:"fixed64,33,opt,name=PayedLateFee" json:"PayedLateFee,omitempty"` // 已付滞纳金
  1814. TradeTime *string `protobuf:"bytes,34,opt,name=TradeTime" json:"TradeTime,omitempty"` //交易时间
  1815. HandleStatus *uint32 `protobuf:"varint,35,opt,name=HandleStatus" json:"HandleStatus,omitempty"` //处理状态
  1816. OriPayedDeposit *float64 `protobuf:"fixed64,36,opt,name=OriPayedDeposit" json:"OriPayedDeposit,omitempty"` //原始已付定金
  1817. OriReStockDeposit *float64 `protobuf:"fixed64,37,opt,name=OriReStockDeposit" json:"OriReStockDeposit,omitempty"` //原始补充定金
  1818. CanAutoAddDeposit *uint64 `protobuf:"varint,38,opt,name=CanAutoAddDeposit" json:"CanAutoAddDeposit,omitempty"` // 是否允许自动追加定金: 0-否 1-是(52)
  1819. AddDepositRate *float64 `protobuf:"fixed64,39,opt,name=AddDepositRate" json:"AddDepositRate,omitempty"` // 自动追加定金率(52) - 允许时显示
  1820. CanAutoRefundDeposit *uint64 `protobuf:"varint,40,opt,name=CanAutoRefundDeposit" json:"CanAutoRefundDeposit,omitempty"` // 是否允许自动退还定金: 0-否 1-是(52)
  1821. ClosedDays *int64 `protobuf:"varint,41,opt,name=ClosedDays" json:"ClosedDays,omitempty"` // 剩余平仓天数(52) -1为不强平
  1822. TPFlag *uint64 `protobuf:"varint,42,opt,name=TPFlag" json:"TPFlag,omitempty"` // 止盈标识:0-未设置 1-设置
  1823. TPRatio *float64 `protobuf:"fixed64,43,opt,name=TPRatio" json:"TPRatio,omitempty"` // 止盈比例
  1824. TPProfitValue *float64 `protobuf:"fixed64,44,opt,name=TPProfitValue" json:"TPProfitValue,omitempty"` // 止盈盈利(正) = 占用*止盈比例
  1825. TPPrice *float64 `protobuf:"fixed64,45,opt,name=TPPrice" json:"TPPrice,omitempty"` // 止盈价格
  1826. SLFlag *uint64 `protobuf:"varint,46,opt,name=SLFlag" json:"SLFlag,omitempty"` // 止损标识:0-未设置 1-设置
  1827. SLRatio *float64 `protobuf:"fixed64,47,opt,name=SLRatio" json:"SLRatio,omitempty"` // 止损比例
  1828. SLLossValue *float64 `protobuf:"fixed64,48,opt,name=SLLossValue" json:"SLLossValue,omitempty"` // 止损亏损值(负) = 占用*止损比例*-1
  1829. SLPrice *float64 `protobuf:"fixed64,49,opt,name=SLPrice" json:"SLPrice,omitempty"` // 止损价格
  1830. }
  1831. func (x *TradeHolderDetailEx) Reset() {
  1832. *x = TradeHolderDetailEx{}
  1833. if protoimpl.UnsafeEnabled {
  1834. mi := &file_mtp2_proto_msgTypes[13]
  1835. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1836. ms.StoreMessageInfo(mi)
  1837. }
  1838. }
  1839. func (x *TradeHolderDetailEx) String() string {
  1840. return protoimpl.X.MessageStringOf(x)
  1841. }
  1842. func (*TradeHolderDetailEx) ProtoMessage() {}
  1843. func (x *TradeHolderDetailEx) ProtoReflect() protoreflect.Message {
  1844. mi := &file_mtp2_proto_msgTypes[13]
  1845. if protoimpl.UnsafeEnabled && x != nil {
  1846. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1847. if ms.LoadMessageInfo() == nil {
  1848. ms.StoreMessageInfo(mi)
  1849. }
  1850. return ms
  1851. }
  1852. return mi.MessageOf(x)
  1853. }
  1854. // Deprecated: Use TradeHolderDetailEx.ProtoReflect.Descriptor instead.
  1855. func (*TradeHolderDetailEx) Descriptor() ([]byte, []int) {
  1856. return file_mtp2_proto_rawDescGZIP(), []int{13}
  1857. }
  1858. func (x *TradeHolderDetailEx) GetTradeID() uint64 {
  1859. if x != nil && x.TradeID != nil {
  1860. return *x.TradeID
  1861. }
  1862. return 0
  1863. }
  1864. func (x *TradeHolderDetailEx) GetBuyOrSell() uint32 {
  1865. if x != nil && x.BuyOrSell != nil {
  1866. return *x.BuyOrSell
  1867. }
  1868. return 0
  1869. }
  1870. func (x *TradeHolderDetailEx) GetTradeDate() string {
  1871. if x != nil && x.TradeDate != nil {
  1872. return *x.TradeDate
  1873. }
  1874. return ""
  1875. }
  1876. func (x *TradeHolderDetailEx) GetMarketID() uint32 {
  1877. if x != nil && x.MarketID != nil {
  1878. return *x.MarketID
  1879. }
  1880. return 0
  1881. }
  1882. func (x *TradeHolderDetailEx) GetGoodsID() uint32 {
  1883. if x != nil && x.GoodsID != nil {
  1884. return *x.GoodsID
  1885. }
  1886. return 0
  1887. }
  1888. func (x *TradeHolderDetailEx) GetUserID() uint32 {
  1889. if x != nil && x.UserID != nil {
  1890. return *x.UserID
  1891. }
  1892. return 0
  1893. }
  1894. func (x *TradeHolderDetailEx) GetAccountID() uint64 {
  1895. if x != nil && x.AccountID != nil {
  1896. return *x.AccountID
  1897. }
  1898. return 0
  1899. }
  1900. func (x *TradeHolderDetailEx) GetMatchUserID() uint32 {
  1901. if x != nil && x.MatchUserID != nil {
  1902. return *x.MatchUserID
  1903. }
  1904. return 0
  1905. }
  1906. func (x *TradeHolderDetailEx) GetMatchAccountID() uint64 {
  1907. if x != nil && x.MatchAccountID != nil {
  1908. return *x.MatchAccountID
  1909. }
  1910. return 0
  1911. }
  1912. func (x *TradeHolderDetailEx) GetOpenQty() uint64 {
  1913. if x != nil && x.OpenQty != nil {
  1914. return *x.OpenQty
  1915. }
  1916. return 0
  1917. }
  1918. func (x *TradeHolderDetailEx) GetTradeAmount() float64 {
  1919. if x != nil && x.TradeAmount != nil {
  1920. return *x.TradeAmount
  1921. }
  1922. return 0
  1923. }
  1924. func (x *TradeHolderDetailEx) GetOpenPrice() float64 {
  1925. if x != nil && x.OpenPrice != nil {
  1926. return *x.OpenPrice
  1927. }
  1928. return 0
  1929. }
  1930. func (x *TradeHolderDetailEx) GetHolderQty() uint64 {
  1931. if x != nil && x.HolderQty != nil {
  1932. return *x.HolderQty
  1933. }
  1934. return 0
  1935. }
  1936. func (x *TradeHolderDetailEx) GetHolderAmount() float64 {
  1937. if x != nil && x.HolderAmount != nil {
  1938. return *x.HolderAmount
  1939. }
  1940. return 0
  1941. }
  1942. func (x *TradeHolderDetailEx) GetHolderPrice() float64 {
  1943. if x != nil && x.HolderPrice != nil {
  1944. return *x.HolderPrice
  1945. }
  1946. return 0
  1947. }
  1948. func (x *TradeHolderDetailEx) GetFreezeQty() uint64 {
  1949. if x != nil && x.FreezeQty != nil {
  1950. return *x.FreezeQty
  1951. }
  1952. return 0
  1953. }
  1954. func (x *TradeHolderDetailEx) GetDeliveryQty() uint64 {
  1955. if x != nil && x.DeliveryQty != nil {
  1956. return *x.DeliveryQty
  1957. }
  1958. return 0
  1959. }
  1960. func (x *TradeHolderDetailEx) GetHoldDays() uint64 {
  1961. if x != nil && x.HoldDays != nil {
  1962. return *x.HoldDays
  1963. }
  1964. return 0
  1965. }
  1966. func (x *TradeHolderDetailEx) GetPayedDeposit() float64 {
  1967. if x != nil && x.PayedDeposit != nil {
  1968. return *x.PayedDeposit
  1969. }
  1970. return 0
  1971. }
  1972. func (x *TradeHolderDetailEx) GetRestockDeposit() float64 {
  1973. if x != nil && x.RestockDeposit != nil {
  1974. return *x.RestockDeposit
  1975. }
  1976. return 0
  1977. }
  1978. func (x *TradeHolderDetailEx) GetLateFeeDays() uint64 {
  1979. if x != nil && x.LateFeeDays != nil {
  1980. return *x.LateFeeDays
  1981. }
  1982. return 0
  1983. }
  1984. func (x *TradeHolderDetailEx) GetLateFeeAlgorithm() uint32 {
  1985. if x != nil && x.LateFeeAlgorithm != nil {
  1986. return *x.LateFeeAlgorithm
  1987. }
  1988. return 0
  1989. }
  1990. func (x *TradeHolderDetailEx) GetLateFeeValue() float64 {
  1991. if x != nil && x.LateFeeValue != nil {
  1992. return *x.LateFeeValue
  1993. }
  1994. return 0
  1995. }
  1996. func (x *TradeHolderDetailEx) GetCallAteFee() float64 {
  1997. if x != nil && x.CallAteFee != nil {
  1998. return *x.CallAteFee
  1999. }
  2000. return 0
  2001. }
  2002. func (x *TradeHolderDetailEx) GetPromptDepositRate() float64 {
  2003. if x != nil && x.PromptDepositRate != nil {
  2004. return *x.PromptDepositRate
  2005. }
  2006. return 0
  2007. }
  2008. func (x *TradeHolderDetailEx) GetCutDepositRate() float64 {
  2009. if x != nil && x.CutDepositRate != nil {
  2010. return *x.CutDepositRate
  2011. }
  2012. return 0
  2013. }
  2014. func (x *TradeHolderDetailEx) GetPromptPrice() float64 {
  2015. if x != nil && x.PromptPrice != nil {
  2016. return *x.PromptPrice
  2017. }
  2018. return 0
  2019. }
  2020. func (x *TradeHolderDetailEx) GetCutPrice() float64 {
  2021. if x != nil && x.CutPrice != nil {
  2022. return *x.CutPrice
  2023. }
  2024. return 0
  2025. }
  2026. func (x *TradeHolderDetailEx) GetClosePL() float64 {
  2027. if x != nil && x.ClosePL != nil {
  2028. return *x.ClosePL
  2029. }
  2030. return 0
  2031. }
  2032. func (x *TradeHolderDetailEx) GetFloatPL() float64 {
  2033. if x != nil && x.FloatPL != nil {
  2034. return *x.FloatPL
  2035. }
  2036. return 0
  2037. }
  2038. func (x *TradeHolderDetailEx) GetDepositRate() float64 {
  2039. if x != nil && x.DepositRate != nil {
  2040. return *x.DepositRate
  2041. }
  2042. return 0
  2043. }
  2044. func (x *TradeHolderDetailEx) GetRefundableDeposit() float64 {
  2045. if x != nil && x.RefundableDeposit != nil {
  2046. return *x.RefundableDeposit
  2047. }
  2048. return 0
  2049. }
  2050. func (x *TradeHolderDetailEx) GetPayedLateFee() float64 {
  2051. if x != nil && x.PayedLateFee != nil {
  2052. return *x.PayedLateFee
  2053. }
  2054. return 0
  2055. }
  2056. func (x *TradeHolderDetailEx) GetTradeTime() string {
  2057. if x != nil && x.TradeTime != nil {
  2058. return *x.TradeTime
  2059. }
  2060. return ""
  2061. }
  2062. func (x *TradeHolderDetailEx) GetHandleStatus() uint32 {
  2063. if x != nil && x.HandleStatus != nil {
  2064. return *x.HandleStatus
  2065. }
  2066. return 0
  2067. }
  2068. func (x *TradeHolderDetailEx) GetOriPayedDeposit() float64 {
  2069. if x != nil && x.OriPayedDeposit != nil {
  2070. return *x.OriPayedDeposit
  2071. }
  2072. return 0
  2073. }
  2074. func (x *TradeHolderDetailEx) GetOriReStockDeposit() float64 {
  2075. if x != nil && x.OriReStockDeposit != nil {
  2076. return *x.OriReStockDeposit
  2077. }
  2078. return 0
  2079. }
  2080. func (x *TradeHolderDetailEx) GetCanAutoAddDeposit() uint64 {
  2081. if x != nil && x.CanAutoAddDeposit != nil {
  2082. return *x.CanAutoAddDeposit
  2083. }
  2084. return 0
  2085. }
  2086. func (x *TradeHolderDetailEx) GetAddDepositRate() float64 {
  2087. if x != nil && x.AddDepositRate != nil {
  2088. return *x.AddDepositRate
  2089. }
  2090. return 0
  2091. }
  2092. func (x *TradeHolderDetailEx) GetCanAutoRefundDeposit() uint64 {
  2093. if x != nil && x.CanAutoRefundDeposit != nil {
  2094. return *x.CanAutoRefundDeposit
  2095. }
  2096. return 0
  2097. }
  2098. func (x *TradeHolderDetailEx) GetClosedDays() int64 {
  2099. if x != nil && x.ClosedDays != nil {
  2100. return *x.ClosedDays
  2101. }
  2102. return 0
  2103. }
  2104. func (x *TradeHolderDetailEx) GetTPFlag() uint64 {
  2105. if x != nil && x.TPFlag != nil {
  2106. return *x.TPFlag
  2107. }
  2108. return 0
  2109. }
  2110. func (x *TradeHolderDetailEx) GetTPRatio() float64 {
  2111. if x != nil && x.TPRatio != nil {
  2112. return *x.TPRatio
  2113. }
  2114. return 0
  2115. }
  2116. func (x *TradeHolderDetailEx) GetTPProfitValue() float64 {
  2117. if x != nil && x.TPProfitValue != nil {
  2118. return *x.TPProfitValue
  2119. }
  2120. return 0
  2121. }
  2122. func (x *TradeHolderDetailEx) GetTPPrice() float64 {
  2123. if x != nil && x.TPPrice != nil {
  2124. return *x.TPPrice
  2125. }
  2126. return 0
  2127. }
  2128. func (x *TradeHolderDetailEx) GetSLFlag() uint64 {
  2129. if x != nil && x.SLFlag != nil {
  2130. return *x.SLFlag
  2131. }
  2132. return 0
  2133. }
  2134. func (x *TradeHolderDetailEx) GetSLRatio() float64 {
  2135. if x != nil && x.SLRatio != nil {
  2136. return *x.SLRatio
  2137. }
  2138. return 0
  2139. }
  2140. func (x *TradeHolderDetailEx) GetSLLossValue() float64 {
  2141. if x != nil && x.SLLossValue != nil {
  2142. return *x.SLLossValue
  2143. }
  2144. return 0
  2145. }
  2146. func (x *TradeHolderDetailEx) GetSLPrice() float64 {
  2147. if x != nil && x.SLPrice != nil {
  2148. return *x.SLPrice
  2149. }
  2150. return 0
  2151. }
  2152. // RedisTradeHolderDetailEx redis存储交易持仓扩展表
  2153. type RedisTradeHolderDetailEx struct {
  2154. state protoimpl.MessageState
  2155. sizeCache protoimpl.SizeCache
  2156. unknownFields protoimpl.UnknownFields
  2157. THDetailEx *TradeHolderDetailEx `protobuf:"bytes,1,opt,name=THDetailEx" json:"THDetailEx,omitempty"` // 交易持仓扩展表记录
  2158. FloatPL *float64 `protobuf:"fixed64,2,opt,name=FloatPL" json:"FloatPL,omitempty"` // 浮动盈亏
  2159. DepositRate *float64 `protobuf:"fixed64,3,opt,name=DepositRate" json:"DepositRate,omitempty"` // 订单定金率
  2160. RefundableDeposit *float64 `protobuf:"fixed64,4,opt,name=RefundableDeposit" json:"RefundableDeposit,omitempty"` // 可退定金
  2161. GoodsCode *string `protobuf:"bytes,5,opt,name=GoodsCode" json:"GoodsCode,omitempty"` //商品代码
  2162. GoodsName *string `protobuf:"bytes,6,opt,name=GoodsName" json:"GoodsName,omitempty"` //商品名称
  2163. GoodsUnitID *uint32 `protobuf:"varint,7,opt,name=GoodsUnitID" json:"GoodsUnitID,omitempty"` //单位
  2164. AgreeUnit *float64 `protobuf:"fixed64,8,opt,name=AgreeUnit" json:"AgreeUnit,omitempty"` //合约单位
  2165. DecimalPlace *uint32 `protobuf:"varint,9,opt,name=DecimalPlace" json:"DecimalPlace,omitempty"` //小数位位数
  2166. QuoteMinUnit *uint32 `protobuf:"varint,10,opt,name=QuoteMinUnit" json:"QuoteMinUnit,omitempty"` //行情最小变动单位
  2167. }
  2168. func (x *RedisTradeHolderDetailEx) Reset() {
  2169. *x = RedisTradeHolderDetailEx{}
  2170. if protoimpl.UnsafeEnabled {
  2171. mi := &file_mtp2_proto_msgTypes[14]
  2172. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2173. ms.StoreMessageInfo(mi)
  2174. }
  2175. }
  2176. func (x *RedisTradeHolderDetailEx) String() string {
  2177. return protoimpl.X.MessageStringOf(x)
  2178. }
  2179. func (*RedisTradeHolderDetailEx) ProtoMessage() {}
  2180. func (x *RedisTradeHolderDetailEx) ProtoReflect() protoreflect.Message {
  2181. mi := &file_mtp2_proto_msgTypes[14]
  2182. if protoimpl.UnsafeEnabled && x != nil {
  2183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2184. if ms.LoadMessageInfo() == nil {
  2185. ms.StoreMessageInfo(mi)
  2186. }
  2187. return ms
  2188. }
  2189. return mi.MessageOf(x)
  2190. }
  2191. // Deprecated: Use RedisTradeHolderDetailEx.ProtoReflect.Descriptor instead.
  2192. func (*RedisTradeHolderDetailEx) Descriptor() ([]byte, []int) {
  2193. return file_mtp2_proto_rawDescGZIP(), []int{14}
  2194. }
  2195. func (x *RedisTradeHolderDetailEx) GetTHDetailEx() *TradeHolderDetailEx {
  2196. if x != nil {
  2197. return x.THDetailEx
  2198. }
  2199. return nil
  2200. }
  2201. func (x *RedisTradeHolderDetailEx) GetFloatPL() float64 {
  2202. if x != nil && x.FloatPL != nil {
  2203. return *x.FloatPL
  2204. }
  2205. return 0
  2206. }
  2207. func (x *RedisTradeHolderDetailEx) GetDepositRate() float64 {
  2208. if x != nil && x.DepositRate != nil {
  2209. return *x.DepositRate
  2210. }
  2211. return 0
  2212. }
  2213. func (x *RedisTradeHolderDetailEx) GetRefundableDeposit() float64 {
  2214. if x != nil && x.RefundableDeposit != nil {
  2215. return *x.RefundableDeposit
  2216. }
  2217. return 0
  2218. }
  2219. func (x *RedisTradeHolderDetailEx) GetGoodsCode() string {
  2220. if x != nil && x.GoodsCode != nil {
  2221. return *x.GoodsCode
  2222. }
  2223. return ""
  2224. }
  2225. func (x *RedisTradeHolderDetailEx) GetGoodsName() string {
  2226. if x != nil && x.GoodsName != nil {
  2227. return *x.GoodsName
  2228. }
  2229. return ""
  2230. }
  2231. func (x *RedisTradeHolderDetailEx) GetGoodsUnitID() uint32 {
  2232. if x != nil && x.GoodsUnitID != nil {
  2233. return *x.GoodsUnitID
  2234. }
  2235. return 0
  2236. }
  2237. func (x *RedisTradeHolderDetailEx) GetAgreeUnit() float64 {
  2238. if x != nil && x.AgreeUnit != nil {
  2239. return *x.AgreeUnit
  2240. }
  2241. return 0
  2242. }
  2243. func (x *RedisTradeHolderDetailEx) GetDecimalPlace() uint32 {
  2244. if x != nil && x.DecimalPlace != nil {
  2245. return *x.DecimalPlace
  2246. }
  2247. return 0
  2248. }
  2249. func (x *RedisTradeHolderDetailEx) GetQuoteMinUnit() uint32 {
  2250. if x != nil && x.QuoteMinUnit != nil {
  2251. return *x.QuoteMinUnit
  2252. }
  2253. return 0
  2254. }
  2255. //保证金信息
  2256. type MarginInfoStruct struct {
  2257. state protoimpl.MessageState
  2258. sizeCache protoimpl.SizeCache
  2259. unknownFields protoimpl.UnknownFields
  2260. AccountID *uint64 `protobuf:"varint,1,opt,name=AccountID" json:"AccountID,omitempty"` // 资金账号
  2261. GoodsID *uint32 `protobuf:"varint,2,opt,name=GoodsID" json:"GoodsID,omitempty"` // 商品id
  2262. MarginAlgorithm *uint32 `protobuf:"varint,3,opt,name=MarginAlgorithm" json:"MarginAlgorithm,omitempty"` // 保证金计算方式
  2263. MarketMarginValue *float64 `protobuf:"fixed64,4,opt,name=MarketMarginValue" json:"MarketMarginValue,omitempty"` // 即市保证金值
  2264. ReckonMarginValue *float64 `protobuf:"fixed64,5,opt,name=ReckonMarginValue" json:"ReckonMarginValue,omitempty"` // 结算保证金值
  2265. LockMarginValue *float64 `protobuf:"fixed64,6,opt,name=LockMarginValue" json:"LockMarginValue,omitempty"` // 锁仓保证金
  2266. RealMarginValue *float64 `protobuf:"fixed64,7,opt,name=RealMarginValue" json:"RealMarginValue,omitempty"` // 实付比例
  2267. RealMarginAlgorithm *uint32 `protobuf:"varint,8,opt,name=RealMarginAlgorithm" json:"RealMarginAlgorithm,omitempty"` // 实付保证金计算方式
  2268. }
  2269. func (x *MarginInfoStruct) Reset() {
  2270. *x = MarginInfoStruct{}
  2271. if protoimpl.UnsafeEnabled {
  2272. mi := &file_mtp2_proto_msgTypes[15]
  2273. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2274. ms.StoreMessageInfo(mi)
  2275. }
  2276. }
  2277. func (x *MarginInfoStruct) String() string {
  2278. return protoimpl.X.MessageStringOf(x)
  2279. }
  2280. func (*MarginInfoStruct) ProtoMessage() {}
  2281. func (x *MarginInfoStruct) ProtoReflect() protoreflect.Message {
  2282. mi := &file_mtp2_proto_msgTypes[15]
  2283. if protoimpl.UnsafeEnabled && x != nil {
  2284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2285. if ms.LoadMessageInfo() == nil {
  2286. ms.StoreMessageInfo(mi)
  2287. }
  2288. return ms
  2289. }
  2290. return mi.MessageOf(x)
  2291. }
  2292. // Deprecated: Use MarginInfoStruct.ProtoReflect.Descriptor instead.
  2293. func (*MarginInfoStruct) Descriptor() ([]byte, []int) {
  2294. return file_mtp2_proto_rawDescGZIP(), []int{15}
  2295. }
  2296. func (x *MarginInfoStruct) GetAccountID() uint64 {
  2297. if x != nil && x.AccountID != nil {
  2298. return *x.AccountID
  2299. }
  2300. return 0
  2301. }
  2302. func (x *MarginInfoStruct) GetGoodsID() uint32 {
  2303. if x != nil && x.GoodsID != nil {
  2304. return *x.GoodsID
  2305. }
  2306. return 0
  2307. }
  2308. func (x *MarginInfoStruct) GetMarginAlgorithm() uint32 {
  2309. if x != nil && x.MarginAlgorithm != nil {
  2310. return *x.MarginAlgorithm
  2311. }
  2312. return 0
  2313. }
  2314. func (x *MarginInfoStruct) GetMarketMarginValue() float64 {
  2315. if x != nil && x.MarketMarginValue != nil {
  2316. return *x.MarketMarginValue
  2317. }
  2318. return 0
  2319. }
  2320. func (x *MarginInfoStruct) GetReckonMarginValue() float64 {
  2321. if x != nil && x.ReckonMarginValue != nil {
  2322. return *x.ReckonMarginValue
  2323. }
  2324. return 0
  2325. }
  2326. func (x *MarginInfoStruct) GetLockMarginValue() float64 {
  2327. if x != nil && x.LockMarginValue != nil {
  2328. return *x.LockMarginValue
  2329. }
  2330. return 0
  2331. }
  2332. func (x *MarginInfoStruct) GetRealMarginValue() float64 {
  2333. if x != nil && x.RealMarginValue != nil {
  2334. return *x.RealMarginValue
  2335. }
  2336. return 0
  2337. }
  2338. func (x *MarginInfoStruct) GetRealMarginAlgorithm() uint32 {
  2339. if x != nil && x.RealMarginAlgorithm != nil {
  2340. return *x.RealMarginAlgorithm
  2341. }
  2342. return 0
  2343. }
  2344. var File_mtp2_proto protoreflect.FileDescriptor
  2345. var file_mtp2_proto_rawDesc = []byte{
  2346. 0x0a, 0x0a, 0x6d, 0x74, 0x70, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62,
  2347. 0x22, 0x43, 0x0a, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x16, 0x0a,
  2348. 0x06, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52,
  2349. 0x75, 0x6c, 0x65, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x56, 0x61,
  2350. 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x50, 0x61, 0x72, 0x61, 0x6d,
  2351. 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x7c, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x75,
  2352. 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x1c, 0x0a, 0x09,
  2353. 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
  2354. 0x09, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x6f,
  2355. 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x47, 0x6f, 0x6f,
  2356. 0x64, 0x73, 0x49, 0x44, 0x12, 0x2d, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x75, 0x6c,
  2357. 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x72,
  2358. 0x61, 0x64, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0a, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x75,
  2359. 0x6c, 0x65, 0x73, 0x22, 0x20, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x44,
  2360. 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x44, 0x61,
  2361. 0x74, 0x65, 0x53, 0x74, 0x72, 0x22, 0xea, 0x0a, 0x0a, 0x16, 0x45, 0x72, 0x6d, 0x73, 0x32, 0x41,
  2362. 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
  2363. 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x53, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20,
  2364. 0x01, 0x28, 0x04, 0x52, 0x09, 0x41, 0x53, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x64, 0x12, 0x12,
  2365. 0x0a, 0x04, 0x41, 0x53, 0x4e, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x41, 0x53,
  2366. 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x69, 0x7a, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
  2367. 0x01, 0x28, 0x0d, 0x52, 0x07, 0x42, 0x69, 0x7a, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06,
  2368. 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73,
  2369. 0x65, 0x72, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
  2370. 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x44,
  2371. 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x64, 0x12, 0x22,
  2372. 0x0a, 0x0c, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x06,
  2373. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70,
  2374. 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x18,
  2375. 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61,
  2376. 0x12, 0x20, 0x0a, 0x0b, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x18,
  2377. 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x75, 0x6f,
  2378. 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x61, 0x73, 0x69, 0x73,
  2379. 0x18, 0x09, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x61, 0x73,
  2380. 0x69, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x53, 0x74,
  2381. 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x53, 0x74, 0x72, 0x61,
  2382. 0x74, 0x65, 0x67, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65,
  2383. 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x65, 0x6d, 0x61,
  2384. 0x72, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x18, 0x0c,
  2385. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1c,
  2386. 0x0a, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28,
  2387. 0x09, 0x52, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x0e,
  2388. 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x18, 0x0e,
  2389. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65,
  2390. 0x44, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x64, 0x51, 0x75, 0x6f, 0x74,
  2391. 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x55, 0x73, 0x65, 0x64, 0x51, 0x75, 0x6f,
  2392. 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18,
  2393. 0x10, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79,
  2394. 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x41, 0x76, 0x67, 0x50, 0x72, 0x69,
  2395. 0x63, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65,
  2396. 0x41, 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x75, 0x74, 0x75,
  2397. 0x72, 0x65, 0x50, 0x4c, 0x18, 0x12, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x46, 0x75, 0x74, 0x75,
  2398. 0x72, 0x65, 0x50, 0x4c, 0x12, 0x24, 0x0a, 0x0d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x53, 0x70,
  2399. 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x50, 0x72, 0x69,
  2400. 0x63, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x12, 0x50, 0x72,
  2401. 0x69, 0x63, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x4e, 0x6f, 0x54, 0x61, 0x78,
  2402. 0x18, 0x14, 0x20, 0x01, 0x28, 0x01, 0x52, 0x12, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x53, 0x70,
  2403. 0x6f, 0x74, 0x51, 0x74, 0x79, 0x4e, 0x6f, 0x54, 0x61, 0x78, 0x12, 0x22, 0x0a, 0x0c, 0x53, 0x70,
  2404. 0x6f, 0x74, 0x61, 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x01,
  2405. 0x52, 0x0c, 0x53, 0x70, 0x6f, 0x74, 0x61, 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16,
  2406. 0x0a, 0x06, 0x53, 0x70, 0x6f, 0x74, 0x50, 0x4c, 0x18, 0x16, 0x20, 0x01, 0x28, 0x01, 0x52, 0x06,
  2407. 0x53, 0x70, 0x6f, 0x74, 0x50, 0x4c, 0x12, 0x20, 0x0a, 0x0b, 0x4e, 0x65, 0x74, 0x45, 0x78, 0x70,
  2408. 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x4e, 0x65, 0x74,
  2409. 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x4e, 0x65, 0x74, 0x45,
  2410. 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28,
  2411. 0x01, 0x52, 0x0f, 0x4e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x52, 0x61,
  2412. 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x4c, 0x18, 0x19, 0x20,
  2413. 0x01, 0x28, 0x01, 0x52, 0x07, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x4c, 0x12, 0x1c, 0x0a, 0x09,
  2414. 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x61, 0x73, 0x69, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x01, 0x52,
  2415. 0x09, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x61, 0x73, 0x69, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x75,
  2416. 0x72, 0x42, 0x61, 0x73, 0x69, 0x73, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x43, 0x75,
  2417. 0x72, 0x42, 0x61, 0x73, 0x69, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x42, 0x61, 0x73, 0x69, 0x73, 0x43,
  2418. 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x4c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x42,
  2419. 0x61, 0x73, 0x69, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x4c, 0x12, 0x24, 0x0a, 0x0d,
  2420. 0x4e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x50, 0x4c, 0x18, 0x1d, 0x20,
  2421. 0x01, 0x28, 0x01, 0x52, 0x0d, 0x4e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65,
  2422. 0x50, 0x4c, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x70, 0x6f, 0x74, 0x55, 0x73, 0x65, 0x64, 0x51, 0x75,
  2423. 0x6f, 0x74, 0x61, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x70, 0x6f, 0x74, 0x55,
  2424. 0x73, 0x65, 0x64, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x24, 0x0a, 0x0d, 0x46, 0x75, 0x74, 0x75,
  2425. 0x72, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x01, 0x52,
  2426. 0x0d, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x2a,
  2427. 0x0a, 0x10, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x6d, 0x6f, 0x75,
  2428. 0x6e, 0x74, 0x18, 0x20, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65,
  2429. 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x75,
  2430. 0x74, 0x75, 0x72, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x51, 0x74, 0x79, 0x18, 0x21, 0x20, 0x01,
  2431. 0x28, 0x01, 0x52, 0x0e, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x51,
  2432. 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x11, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6c, 0x6f, 0x73,
  2433. 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x22, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x46,
  2434. 0x75, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
  2435. 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x70, 0x6f, 0x74, 0x42, 0x75, 0x79, 0x41, 0x6d, 0x6f, 0x75, 0x6e,
  2436. 0x74, 0x18, 0x23, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x70, 0x6f, 0x74, 0x42, 0x75, 0x79,
  2437. 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x70, 0x6f, 0x74, 0x42, 0x75,
  2438. 0x79, 0x51, 0x74, 0x79, 0x18, 0x24, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x53, 0x70, 0x6f, 0x74,
  2439. 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x53, 0x70, 0x6f, 0x74, 0x53, 0x65,
  2440. 0x6c, 0x6c, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x25, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e,
  2441. 0x53, 0x70, 0x6f, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20,
  2442. 0x0a, 0x0b, 0x53, 0x70, 0x6f, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x51, 0x74, 0x79, 0x18, 0x26, 0x20,
  2443. 0x01, 0x28, 0x01, 0x52, 0x0b, 0x53, 0x70, 0x6f, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x51, 0x74, 0x79,
  2444. 0x12, 0x28, 0x0a, 0x0a, 0x55, 0x70, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x27,
  2445. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a,
  2446. 0x55, 0x70, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x53,
  2447. 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x53, 0x4e, 0x61,
  2448. 0x6d, 0x65, 0x22, 0xd1, 0x03, 0x0a, 0x0d, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x41, 0x72, 0x65, 0x61,
  2449. 0x53, 0x70, 0x6f, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x57, 0x72, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61,
  2450. 0x72, 0x64, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x57, 0x72, 0x53, 0x74,
  2451. 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61,
  2452. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x41, 0x72,
  2453. 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x4f, 0x72, 0x69, 0x42,
  2454. 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52,
  2455. 0x0d, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x28,
  2456. 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74,
  2457. 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50,
  2458. 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x4f, 0x72, 0x69, 0x53,
  2459. 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01,
  2460. 0x52, 0x0e, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79,
  2461. 0x12, 0x2a, 0x0a, 0x10, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65,
  2462. 0x64, 0x51, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x53,
  2463. 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a,
  2464. 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01,
  2465. 0x52, 0x0a, 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c,
  2466. 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01,
  2467. 0x28, 0x01, 0x52, 0x0c, 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79,
  2468. 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18,
  2469. 0x09, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51,
  2470. 0x74, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64,
  2471. 0x51, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x50,
  2472. 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x54, 0x6f, 0x74, 0x61,
  2473. 0x6c, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c,
  2474. 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0a,
  2475. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b,
  2476. 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61,
  2477. 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xf5, 0x06, 0x0a, 0x11, 0x45, 0x72, 0x6d, 0x63, 0x70,
  2478. 0x41, 0x72, 0x65, 0x61, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d,
  2479. 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x01, 0x20,
  2480. 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73,
  2481. 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
  2482. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72,
  2483. 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e,
  2484. 0x51, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x4f, 0x72, 0x69, 0x42, 0x75,
  2485. 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x42,
  2486. 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28,
  2487. 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51,
  2488. 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61,
  2489. 0x6e, 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x4f, 0x72, 0x69, 0x53,
  2490. 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x4f, 0x72,
  2491. 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x18, 0x06,
  2492. 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69,
  2493. 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79,
  2494. 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52,
  2495. 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79,
  2496. 0x12, 0x2a, 0x0a, 0x10, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72,
  2497. 0x65, 0x51, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x53,
  2498. 0x65, 0x6c, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a,
  2499. 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x01,
  2500. 0x52, 0x0a, 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c,
  2501. 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01,
  2502. 0x28, 0x01, 0x52, 0x0c, 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79,
  2503. 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18,
  2504. 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51,
  2505. 0x74, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64,
  2506. 0x51, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x50,
  2507. 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x42, 0x75, 0x79, 0x46,
  2508. 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c,
  2509. 0x42, 0x75, 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x12, 0x24, 0x0a, 0x0d,
  2510. 0x53, 0x65, 0x6c, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x0e, 0x20,
  2511. 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51,
  2512. 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x70, 0x6f, 0x74, 0x51,
  2513. 0x74, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53,
  2514. 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x46,
  2515. 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e,
  2516. 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x12, 0x24,
  2517. 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18,
  2518. 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f,
  2519. 0x73, 0x75, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x48, 0x65, 0x64,
  2520. 0x67, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x12, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x54,
  2521. 0x6f, 0x74, 0x61, 0x6c, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x2c,
  2522. 0x0a, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65,
  2523. 0x51, 0x74, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c,
  2524. 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x12,
  2525. 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x6f, 0x75,
  2526. 0x72, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x01, 0x52, 0x12, 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65,
  2527. 0x64, 0x67, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x6f, 0x75, 0x72, 0x65, 0x12, 0x26, 0x0a, 0x0e,
  2528. 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x15,
  2529. 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52,
  2530. 0x61, 0x74, 0x69, 0x6f, 0x12, 0x28, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69,
  2531. 0x6d, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61,
  2532. 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x82,
  2533. 0x03, 0x0a, 0x14, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x43, 0x66,
  2534. 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x6f, 0x6f, 0x64, 0x73,
  2535. 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49,
  2536. 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x54, 0x79, 0x70,
  2537. 0x65, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f,
  2538. 0x6d, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f, 0x4d, 0x61, 0x72,
  2539. 0x67, 0x69, 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x03, 0x20, 0x01,
  2540. 0x28, 0x0d, 0x52, 0x0f, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69,
  2541. 0x74, 0x68, 0x6d, 0x12, 0x2c, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4d, 0x61, 0x72,
  2542. 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11,
  2543. 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75,
  2544. 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x52, 0x65, 0x63, 0x6b, 0x6f, 0x6e, 0x4d, 0x61, 0x72, 0x67, 0x69,
  2545. 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x52, 0x65,
  2546. 0x63, 0x6b, 0x6f, 0x6e, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
  2547. 0x28, 0x0a, 0x0f, 0x4c, 0x6f, 0x63, 0x6b, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c,
  2548. 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4c, 0x6f, 0x63, 0x6b, 0x4d, 0x61,
  2549. 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x52, 0x65, 0x61,
  2550. 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01,
  2551. 0x28, 0x01, 0x52, 0x0f, 0x52, 0x65, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61,
  2552. 0x6c, 0x75, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x52, 0x65, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69,
  2553. 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d,
  2554. 0x52, 0x13, 0x52, 0x65, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x41, 0x6c, 0x67, 0x6f,
  2555. 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x49, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75,
  2556. 0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x49, 0x73, 0x44, 0x65, 0x66, 0x61,
  2557. 0x75, 0x6c, 0x74, 0x22, 0xca, 0x0e, 0x0a, 0x10, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x65,
  2558. 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x48, 0x65, 0x64, 0x67,
  2559. 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c,
  2560. 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d,
  2561. 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20,
  2562. 0x01, 0x28, 0x09, 0x52, 0x0d, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4e,
  2563. 0x75, 0x6d, 0x12, 0x26, 0x0a, 0x0e, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d,
  2564. 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x48, 0x65, 0x64, 0x67,
  2565. 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x48, 0x65,
  2566. 0x64, 0x67, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a,
  2567. 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x0d, 0x50, 0x6c,
  2568. 0x61, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
  2569. 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x50, 0x6c, 0x61,
  2570. 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x0b, 0x50, 0x6c,
  2571. 0x61, 0x6e, 0x45, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
  2572. 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x50, 0x6c, 0x61, 0x6e, 0x45,
  2573. 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52,
  2574. 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x48, 0x65, 0x64, 0x67, 0x65,
  2575. 0x52, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x64, 0x65, 0x55, 0x73, 0x65,
  2576. 0x72, 0x49, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x54, 0x72, 0x61, 0x64, 0x65,
  2577. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73,
  2578. 0x65, 0x72, 0x49, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x41, 0x72, 0x65, 0x61,
  2579. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64,
  2580. 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04,
  2581. 0x52, 0x10, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74,
  2582. 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x72, 0x63, 0x18, 0x0b,
  2583. 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x72, 0x63, 0x12, 0x18,
  2584. 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52,
  2585. 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61,
  2586. 0x72, 0x6b, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b,
  2587. 0x12, 0x28, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0e,
  2588. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a,
  2589. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x41, 0x75,
  2590. 0x64, 0x69, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01,
  2591. 0x28, 0x09, 0x52, 0x0e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61,
  2592. 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x75, 0x64, 0x69, 0x74, 0x49, 0x44, 0x18, 0x10, 0x20,
  2593. 0x01, 0x28, 0x04, 0x52, 0x07, 0x41, 0x75, 0x64, 0x69, 0x74, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08,
  2594. 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x72, 0x63, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08,
  2595. 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x72, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x75, 0x64, 0x69,
  2596. 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x41, 0x75, 0x64,
  2597. 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x41, 0x75, 0x64, 0x69, 0x74, 0x52,
  2598. 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x41, 0x75, 0x64,
  2599. 0x69, 0x74, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x28, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x69,
  2600. 0x76, 0x65, 0x72, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x14, 0x20, 0x01, 0x28,
  2601. 0x04, 0x52, 0x0f, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73,
  2602. 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x57, 0x72, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64,
  2603. 0x49, 0x44, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x57, 0x72, 0x53, 0x74, 0x61, 0x6e,
  2604. 0x64, 0x61, 0x72, 0x64, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x56, 0x61, 0x74, 0x52, 0x61, 0x74,
  2605. 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x56, 0x61, 0x74, 0x52, 0x61, 0x74, 0x65,
  2606. 0x12, 0x1a, 0x0a, 0x08, 0x48, 0x65, 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x18, 0x17, 0x20, 0x01,
  2607. 0x28, 0x01, 0x52, 0x08, 0x48, 0x65, 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b,
  2608. 0x48, 0x65, 0x64, 0x67, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x18, 0x20, 0x01, 0x28,
  2609. 0x01, 0x52, 0x0b, 0x48, 0x65, 0x64, 0x67, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28,
  2610. 0x0a, 0x0f, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52, 0x65, 0x73, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e,
  2611. 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52, 0x65,
  2612. 0x73, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x48, 0x65, 0x64, 0x67,
  2613. 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  2614. 0x1a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x13, 0x48, 0x65, 0x64, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74,
  2615. 0x72, 0x61, 0x63, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x72,
  2616. 0x69, 0x41, 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x01, 0x52,
  2617. 0x0b, 0x4f, 0x72, 0x69, 0x41, 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06,
  2618. 0x45, 0x78, 0x65, 0x51, 0x74, 0x79, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x06, 0x45, 0x78,
  2619. 0x65, 0x51, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x45, 0x78, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e,
  2620. 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x45, 0x78, 0x65, 0x41, 0x6d, 0x6f, 0x75,
  2621. 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x52, 0x65, 0x73, 0x74, 0x41, 0x6d, 0x6f,
  2622. 0x75, 0x6e, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x45, 0x78, 0x65, 0x52, 0x65,
  2623. 0x73, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x45, 0x78, 0x65, 0x41,
  2624. 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x45,
  2625. 0x78, 0x65, 0x41, 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x45, 0x78,
  2626. 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  2627. 0x20, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x45, 0x78, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
  2628. 0x63, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x75, 0x72, 0x50,
  2629. 0x72, 0x69, 0x63, 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x43, 0x75, 0x72, 0x50,
  2630. 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x6e, 0x45, 0x78, 0x65, 0x51, 0x74, 0x79,
  2631. 0x18, 0x22, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x55, 0x6e, 0x45, 0x78, 0x65, 0x51, 0x74, 0x79,
  2632. 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x70, 0x6f, 0x74, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x4c, 0x18,
  2633. 0x23, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x53, 0x70, 0x6f, 0x74, 0x48, 0x65, 0x64, 0x67, 0x65,
  2634. 0x50, 0x4c, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x70, 0x6f, 0x74, 0x50, 0x4c, 0x18, 0x24, 0x20, 0x01,
  2635. 0x28, 0x01, 0x52, 0x06, 0x53, 0x70, 0x6f, 0x74, 0x50, 0x4c, 0x12, 0x24, 0x0a, 0x0d, 0x46, 0x75,
  2636. 0x74, 0x75, 0x72, 0x65, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x4c, 0x18, 0x25, 0x20, 0x01, 0x28,
  2637. 0x01, 0x52, 0x0d, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x4c,
  2638. 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x50, 0x4c, 0x18, 0x26, 0x20, 0x01,
  2639. 0x28, 0x01, 0x52, 0x08, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x50, 0x4c, 0x12, 0x1e, 0x0a, 0x0a,
  2640. 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x75, 0x6d, 0x50, 0x4c, 0x18, 0x27, 0x20, 0x01, 0x28, 0x01,
  2641. 0x52, 0x0a, 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x75, 0x6d, 0x50, 0x4c, 0x12, 0x20, 0x0a, 0x0b,
  2642. 0x53, 0x70, 0x6f, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x50, 0x4c, 0x18, 0x28, 0x20, 0x01, 0x28,
  2643. 0x01, 0x52, 0x0b, 0x53, 0x70, 0x6f, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x50, 0x4c, 0x12, 0x14,
  2644. 0x0a, 0x05, 0x56, 0x61, 0x74, 0x50, 0x4c, 0x18, 0x29, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x56,
  2645. 0x61, 0x74, 0x50, 0x4c, 0x12, 0x1a, 0x0a, 0x08, 0x53, 0x75, 0x6d, 0x4f, 0x62, 0x73, 0x50, 0x4c,
  2646. 0x18, 0x2a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x53, 0x75, 0x6d, 0x4f, 0x62, 0x73, 0x50, 0x4c,
  2647. 0x12, 0x26, 0x0a, 0x0e, 0x53, 0x70, 0x6f, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x41, 0x6d, 0x6f, 0x75,
  2648. 0x6e, 0x74, 0x18, 0x2b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x53, 0x70, 0x6f, 0x74, 0x42, 0x6f,
  2649. 0x6f, 0x6b, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x75, 0x72, 0x53,
  2650. 0x74, 0x6f, 0x63, 0x6b, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x43, 0x75, 0x72, 0x53,
  2651. 0x74, 0x6f, 0x63, 0x6b, 0x12, 0x22, 0x0a, 0x07, 0x45, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x18,
  2652. 0x2d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52,
  2653. 0x07, 0x45, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x45, 0x6e, 0x64, 0x54,
  2654. 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
  2655. 0x45, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0a,
  2656. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x2f, 0x20, 0x01, 0x28, 0x0b,
  2657. 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61,
  2658. 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x4f, 0x72, 0x69, 0x53, 0x70, 0x6f,
  2659. 0x74, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x4c, 0x18, 0x30, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e,
  2660. 0x4f, 0x72, 0x69, 0x53, 0x70, 0x6f, 0x74, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x4c, 0x12, 0x2a,
  2661. 0x0a, 0x10, 0x4f, 0x72, 0x69, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x48, 0x65, 0x64, 0x67, 0x65,
  2662. 0x50, 0x4c, 0x18, 0x31, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x46, 0x75, 0x74,
  2663. 0x75, 0x72, 0x65, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x4c, 0x12, 0x1c, 0x0a, 0x09, 0x4f, 0x72,
  2664. 0x69, 0x53, 0x70, 0x6f, 0x74, 0x50, 0x4c, 0x18, 0x32, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x4f,
  2665. 0x72, 0x69, 0x53, 0x70, 0x6f, 0x74, 0x50, 0x4c, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x72, 0x69, 0x46,
  2666. 0x75, 0x74, 0x75, 0x72, 0x65, 0x50, 0x4c, 0x18, 0x33, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x4f,
  2667. 0x72, 0x69, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x50, 0x4c, 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x70,
  2668. 0x6f, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x50, 0x4c, 0x18, 0x34, 0x20, 0x01, 0x28, 0x01, 0x52,
  2669. 0x0b, 0x53, 0x70, 0x6f, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x50, 0x4c, 0x12, 0x24, 0x0a, 0x0d,
  2670. 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x50, 0x4c, 0x18, 0x35, 0x20,
  2671. 0x01, 0x28, 0x01, 0x52, 0x0d, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x46, 0x6c, 0x6f, 0x61, 0x74,
  2672. 0x50, 0x4c, 0x12, 0x1c, 0x0a, 0x09, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x18,
  2673. 0x36, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64,
  2674. 0x22, 0xa1, 0x01, 0x0a, 0x13, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x65, 0x64, 0x67, 0x65,
  2675. 0x64, 0x49, 0x74, 0x65, 0x6d, 0x45, 0x78, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d,
  2676. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x72, 0x6d, 0x63,
  2677. 0x70, 0x32, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x69, 0x74,
  2678. 0x65, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, 0x61, 0x6d,
  2679. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  2680. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x77, 0x72, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61,
  2681. 0x72, 0x64, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x77, 0x72,
  2682. 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06,
  2683. 0x75, 0x6e, 0x69, 0x74, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x75, 0x6e,
  2684. 0x69, 0x74, 0x69, 0x64, 0x22, 0x9b, 0x04, 0x0a, 0x13, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48,
  2685. 0x49, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x22, 0x0a, 0x0c,
  2686. 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
  2687. 0x28, 0x04, 0x52, 0x0c, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x44,
  2688. 0x12, 0x24, 0x0a, 0x0d, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49,
  2689. 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47,
  2690. 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65,
  2691. 0x72, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52,
  2692. 0x0f, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44,
  2693. 0x12, 0x22, 0x0a, 0x0c, 0x57, 0x72, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x49, 0x44,
  2694. 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x57, 0x72, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61,
  2695. 0x72, 0x64, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x56, 0x61, 0x74, 0x52, 0x61, 0x74, 0x65, 0x18,
  2696. 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x56, 0x61, 0x74, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2a,
  2697. 0x0a, 0x10, 0x53, 0x70, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x52, 0x61, 0x74,
  2698. 0x69, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x53, 0x70, 0x6f, 0x74, 0x43, 0x6f,
  2699. 0x6e, 0x76, 0x65, 0x72, 0x74, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x55, 0x6e,
  2700. 0x65, 0x78, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01,
  2701. 0x52, 0x0c, 0x55, 0x6e, 0x65, 0x78, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x24,
  2702. 0x0a, 0x0d, 0x55, 0x6e, 0x65, 0x78, 0x65, 0x48, 0x65, 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x18,
  2703. 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x55, 0x6e, 0x65, 0x78, 0x65, 0x48, 0x65, 0x64, 0x67,
  2704. 0x65, 0x51, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x48, 0x65,
  2705. 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x46, 0x75,
  2706. 0x74, 0x75, 0x72, 0x65, 0x48, 0x65, 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a,
  2707. 0x48, 0x49, 0x45, 0x78, 0x70, 0x73, 0x6f, 0x75, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01,
  2708. 0x52, 0x0a, 0x48, 0x49, 0x45, 0x78, 0x70, 0x73, 0x6f, 0x75, 0x72, 0x65, 0x12, 0x20, 0x0a, 0x0b,
  2709. 0x54, 0x72, 0x61, 0x64, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x0b, 0x20, 0x01, 0x28,
  2710. 0x04, 0x52, 0x0b, 0x54, 0x72, 0x61, 0x64, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e,
  2711. 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x0c, 0x20, 0x01,
  2712. 0x28, 0x04, 0x52, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x28,
  2713. 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01,
  2714. 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x43, 0x72,
  2715. 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61,
  2716. 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70,
  2717. 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69,
  2718. 0x6d, 0x65, 0x22, 0x7d, 0x0a, 0x16, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x49, 0x4d, 0x69,
  2719. 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x45, 0x78, 0x74, 0x12, 0x39, 0x0a, 0x0b,
  2720. 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
  2721. 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x49, 0x4d,
  2722. 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x0b, 0x6d, 0x69, 0x64, 0x64,
  2723. 0x6c, 0x65, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x69, 0x64, 0x64, 0x6c,
  2724. 0x65, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  2725. 0x52, 0x0f, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x6e, 0x61, 0x6d,
  2726. 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x14, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x65, 0x64, 0x67,
  2727. 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x0d, 0x68, 0x65,
  2728. 0x64, 0x67, 0x65, 0x64, 0x69, 0x74, 0x65, 0x6d, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
  2729. 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x65, 0x64,
  2730. 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x45, 0x78, 0x74, 0x52, 0x0d, 0x68, 0x65, 0x64, 0x67,
  2731. 0x65, 0x64, 0x69, 0x74, 0x65, 0x6d, 0x65, 0x78, 0x74, 0x12, 0x46, 0x0a, 0x10, 0x68, 0x69, 0x6d,
  2732. 0x69, 0x64, 0x64, 0x6c, 0x65, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20,
  2733. 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48,
  2734. 0x49, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x45, 0x78, 0x74, 0x52,
  2735. 0x10, 0x68, 0x69, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x65, 0x78,
  2736. 0x74, 0x22, 0x98, 0x07, 0x0a, 0x12, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x41, 0x72, 0x65, 0x61,
  2737. 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x4d, 0x69, 0x64, 0x64,
  2738. 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
  2739. 0x0d, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x12, 0x1e,
  2740. 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01,
  2741. 0x28, 0x04, 0x52, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x18,
  2742. 0x0a, 0x07, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52,
  2743. 0x07, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x48, 0x65, 0x64, 0x67,
  2744. 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c,
  2745. 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c,
  2746. 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01,
  2747. 0x28, 0x01, 0x52, 0x0c, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79,
  2748. 0x12, 0x1c, 0x0a, 0x09, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x06, 0x20,
  2749. 0x01, 0x28, 0x01, 0x52, 0x09, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x12, 0x22,
  2750. 0x0a, 0x0c, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x07,
  2751. 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75,
  2752. 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73,
  2753. 0x75, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c,
  2754. 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x70, 0x52, 0x61,
  2755. 0x74, 0x69, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x53, 0x70, 0x52, 0x61, 0x74,
  2756. 0x69, 0x6f, 0x12, 0x2e, 0x0a, 0x12, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74,
  2757. 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x12,
  2758. 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75,
  2759. 0x72, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x54, 0x6f, 0x74, 0x61,
  2760. 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52,
  2761. 0x13, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f,
  2762. 0x73, 0x75, 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x53, 0x70,
  2763. 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x48, 0x65, 0x64,
  2764. 0x67, 0x65, 0x64, 0x53, 0x70, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x4f, 0x72,
  2765. 0x69, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a,
  2766. 0x4f, 0x72, 0x69, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72,
  2767. 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x0e, 0x20,
  2768. 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x70, 0x6f,
  2769. 0x74, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65,
  2770. 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4f,
  2771. 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x22,
  2772. 0x0a, 0x0c, 0x4f, 0x72, 0x69, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x10,
  2773. 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x4f, 0x72, 0x69, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51,
  2774. 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70,
  2775. 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69,
  2776. 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x2a, 0x0a, 0x10,
  2777. 0x4f, 0x72, 0x69, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65,
  2778. 0x18, 0x12, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x54, 0x6f, 0x74, 0x61, 0x6c,
  2779. 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x4f, 0x72, 0x69, 0x48,
  2780. 0x65, 0x64, 0x67, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72,
  2781. 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x01, 0x52, 0x15, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67,
  2782. 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x36,
  2783. 0x0a, 0x16, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c,
  2784. 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x01, 0x52, 0x16,
  2785. 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78,
  2786. 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  2787. 0x54, 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e,
  2788. 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
  2789. 0x12, 0x28, 0x0a, 0x0f, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4e,
  2790. 0x61, 0x6d, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x4d, 0x69, 0x64, 0x64, 0x6c,
  2791. 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x47, 0x6f,
  2792. 0x6f, 0x64, 0x73, 0x55, 0x6e, 0x69, 0x74, 0x49, 0x44, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0d, 0x52,
  2793. 0x0b, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x55, 0x6e, 0x69, 0x74, 0x49, 0x44, 0x22, 0xf9, 0x0c, 0x0a,
  2794. 0x13, 0x54, 0x72, 0x61, 0x64, 0x65, 0x48, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61,
  2795. 0x69, 0x6c, 0x45, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x72, 0x61, 0x64, 0x65, 0x49, 0x44, 0x18,
  2796. 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x54, 0x72, 0x61, 0x64, 0x65, 0x49, 0x44, 0x12, 0x1c,
  2797. 0x0a, 0x09, 0x42, 0x75, 0x79, 0x4f, 0x72, 0x53, 0x65, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
  2798. 0x0d, 0x52, 0x09, 0x42, 0x75, 0x79, 0x4f, 0x72, 0x53, 0x65, 0x6c, 0x6c, 0x12, 0x1c, 0x0a, 0x09,
  2799. 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  2800. 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x61,
  2801. 0x72, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x4d, 0x61,
  2802. 0x72, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49,
  2803. 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44,
  2804. 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d,
  2805. 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x63, 0x63, 0x6f,
  2806. 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x41, 0x63, 0x63,
  2807. 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x55,
  2808. 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x4d, 0x61, 0x74,
  2809. 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x4d, 0x61, 0x74, 0x63,
  2810. 0x68, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04,
  2811. 0x52, 0x0e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44,
  2812. 0x12, 0x18, 0x0a, 0x07, 0x4f, 0x70, 0x65, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28,
  2813. 0x04, 0x52, 0x07, 0x4f, 0x70, 0x65, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x54, 0x72,
  2814. 0x61, 0x64, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52,
  2815. 0x0b, 0x54, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09,
  2816. 0x4f, 0x70, 0x65, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x01, 0x52,
  2817. 0x09, 0x4f, 0x70, 0x65, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x48, 0x6f,
  2818. 0x6c, 0x64, 0x65, 0x72, 0x51, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x48,
  2819. 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x48, 0x6f, 0x6c, 0x64,
  2820. 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c,
  2821. 0x48, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b,
  2822. 0x48, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28,
  2823. 0x01, 0x52, 0x0b, 0x48, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1c,
  2824. 0x0a, 0x09, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x51, 0x74, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28,
  2825. 0x04, 0x52, 0x09, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x51, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b,
  2826. 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x51, 0x74, 0x79, 0x18, 0x11, 0x20, 0x01, 0x28,
  2827. 0x04, 0x52, 0x0b, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x51, 0x74, 0x79, 0x12, 0x1a,
  2828. 0x0a, 0x08, 0x48, 0x6f, 0x6c, 0x64, 0x44, 0x61, 0x79, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x04,
  2829. 0x52, 0x08, 0x48, 0x6f, 0x6c, 0x64, 0x44, 0x61, 0x79, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x61,
  2830. 0x79, 0x65, 0x64, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x01,
  2831. 0x52, 0x0c, 0x50, 0x61, 0x79, 0x65, 0x64, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x12, 0x26,
  2832. 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x63, 0x6b, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
  2833. 0x18, 0x14, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x63, 0x6b, 0x44,
  2834. 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x4c, 0x61, 0x74, 0x65, 0x46, 0x65,
  2835. 0x65, 0x44, 0x61, 0x79, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x4c, 0x61, 0x74,
  2836. 0x65, 0x46, 0x65, 0x65, 0x44, 0x61, 0x79, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x4c, 0x61, 0x74, 0x65,
  2837. 0x46, 0x65, 0x65, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x16, 0x20, 0x01,
  2838. 0x28, 0x0d, 0x52, 0x10, 0x4c, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x41, 0x6c, 0x67, 0x6f, 0x72,
  2839. 0x69, 0x74, 0x68, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x4c, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x56,
  2840. 0x61, 0x6c, 0x75, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x4c, 0x61, 0x74, 0x65,
  2841. 0x46, 0x65, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x61, 0x6c, 0x6c,
  2842. 0x41, 0x74, 0x65, 0x46, 0x65, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x43, 0x61,
  2843. 0x6c, 0x6c, 0x41, 0x74, 0x65, 0x46, 0x65, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x6d,
  2844. 0x70, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x61, 0x74, 0x65, 0x18, 0x19, 0x20,
  2845. 0x01, 0x28, 0x01, 0x52, 0x11, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73,
  2846. 0x69, 0x74, 0x52, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x75, 0x74, 0x44, 0x65, 0x70,
  2847. 0x6f, 0x73, 0x69, 0x74, 0x52, 0x61, 0x74, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e,
  2848. 0x43, 0x75, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x61, 0x74, 0x65, 0x12, 0x20,
  2849. 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x1b, 0x20,
  2850. 0x01, 0x28, 0x01, 0x52, 0x0b, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65,
  2851. 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x75, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x1c, 0x20, 0x01,
  2852. 0x28, 0x01, 0x52, 0x08, 0x43, 0x75, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07,
  2853. 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x4c, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x43,
  2854. 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x4c, 0x12, 0x18, 0x0a, 0x07, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x50,
  2855. 0x4c, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x50, 0x4c,
  2856. 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x61, 0x74, 0x65, 0x18,
  2857. 0x1f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x61,
  2858. 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x61, 0x62, 0x6c, 0x65,
  2859. 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x18, 0x20, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x52,
  2860. 0x65, 0x66, 0x75, 0x6e, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
  2861. 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x61, 0x79, 0x65, 0x64, 0x4c, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65,
  2862. 0x18, 0x21, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x50, 0x61, 0x79, 0x65, 0x64, 0x4c, 0x61, 0x74,
  2863. 0x65, 0x46, 0x65, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x54, 0x69, 0x6d,
  2864. 0x65, 0x18, 0x22, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x54, 0x69,
  2865. 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74,
  2866. 0x75, 0x73, 0x18, 0x23, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65,
  2867. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x50, 0x61, 0x79,
  2868. 0x65, 0x64, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x18, 0x24, 0x20, 0x01, 0x28, 0x01, 0x52,
  2869. 0x0f, 0x4f, 0x72, 0x69, 0x50, 0x61, 0x79, 0x65, 0x64, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
  2870. 0x12, 0x2c, 0x0a, 0x11, 0x4f, 0x72, 0x69, 0x52, 0x65, 0x53, 0x74, 0x6f, 0x63, 0x6b, 0x44, 0x65,
  2871. 0x70, 0x6f, 0x73, 0x69, 0x74, 0x18, 0x25, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x4f, 0x72, 0x69,
  2872. 0x52, 0x65, 0x53, 0x74, 0x6f, 0x63, 0x6b, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x12, 0x2c,
  2873. 0x0a, 0x11, 0x43, 0x61, 0x6e, 0x41, 0x75, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x44, 0x65, 0x70, 0x6f,
  2874. 0x73, 0x69, 0x74, 0x18, 0x26, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x43, 0x61, 0x6e, 0x41, 0x75,
  2875. 0x74, 0x6f, 0x41, 0x64, 0x64, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0e,
  2876. 0x41, 0x64, 0x64, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x61, 0x74, 0x65, 0x18, 0x27,
  2877. 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x41, 0x64, 0x64, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
  2878. 0x52, 0x61, 0x74, 0x65, 0x12, 0x32, 0x0a, 0x14, 0x43, 0x61, 0x6e, 0x41, 0x75, 0x74, 0x6f, 0x52,
  2879. 0x65, 0x66, 0x75, 0x6e, 0x64, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x18, 0x28, 0x20, 0x01,
  2880. 0x28, 0x04, 0x52, 0x14, 0x43, 0x61, 0x6e, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x66, 0x75, 0x6e,
  2881. 0x64, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6c, 0x6f, 0x73,
  2882. 0x65, 0x64, 0x44, 0x61, 0x79, 0x73, 0x18, 0x29, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x43, 0x6c,
  2883. 0x6f, 0x73, 0x65, 0x64, 0x44, 0x61, 0x79, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x50, 0x46, 0x6c,
  2884. 0x61, 0x67, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x54, 0x50, 0x46, 0x6c, 0x61, 0x67,
  2885. 0x12, 0x18, 0x0a, 0x07, 0x54, 0x50, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x2b, 0x20, 0x01, 0x28,
  2886. 0x01, 0x52, 0x07, 0x54, 0x50, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x50,
  2887. 0x50, 0x72, 0x6f, 0x66, 0x69, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x2c, 0x20, 0x01, 0x28,
  2888. 0x01, 0x52, 0x0d, 0x54, 0x50, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65,
  2889. 0x12, 0x18, 0x0a, 0x07, 0x54, 0x50, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x2d, 0x20, 0x01, 0x28,
  2890. 0x01, 0x52, 0x07, 0x54, 0x50, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x4c,
  2891. 0x46, 0x6c, 0x61, 0x67, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x53, 0x4c, 0x46, 0x6c,
  2892. 0x61, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x4c, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x2f, 0x20,
  2893. 0x01, 0x28, 0x01, 0x52, 0x07, 0x53, 0x4c, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x20, 0x0a, 0x0b,
  2894. 0x53, 0x4c, 0x4c, 0x6f, 0x73, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x30, 0x20, 0x01, 0x28,
  2895. 0x01, 0x52, 0x0b, 0x53, 0x4c, 0x4c, 0x6f, 0x73, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18,
  2896. 0x0a, 0x07, 0x53, 0x4c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x31, 0x20, 0x01, 0x28, 0x01, 0x52,
  2897. 0x07, 0x53, 0x4c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0x81, 0x03, 0x0a, 0x18, 0x52, 0x65, 0x64,
  2898. 0x69, 0x73, 0x54, 0x72, 0x61, 0x64, 0x65, 0x48, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74,
  2899. 0x61, 0x69, 0x6c, 0x45, 0x78, 0x12, 0x37, 0x0a, 0x0a, 0x54, 0x48, 0x44, 0x65, 0x74, 0x61, 0x69,
  2900. 0x6c, 0x45, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x54,
  2901. 0x72, 0x61, 0x64, 0x65, 0x48, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
  2902. 0x45, 0x78, 0x52, 0x0a, 0x54, 0x48, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x45, 0x78, 0x12, 0x18,
  2903. 0x0a, 0x07, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x50, 0x4c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52,
  2904. 0x07, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x50, 0x4c, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x65, 0x70, 0x6f,
  2905. 0x73, 0x69, 0x74, 0x52, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x44,
  2906. 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x52, 0x65,
  2907. 0x66, 0x75, 0x6e, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x18,
  2908. 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x61, 0x62, 0x6c,
  2909. 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x47, 0x6f, 0x6f, 0x64,
  2910. 0x73, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x47, 0x6f, 0x6f,
  2911. 0x64, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4e,
  2912. 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x47, 0x6f, 0x6f, 0x64, 0x73,
  2913. 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x55, 0x6e, 0x69,
  2914. 0x74, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x47, 0x6f, 0x6f, 0x64, 0x73,
  2915. 0x55, 0x6e, 0x69, 0x74, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x67, 0x72, 0x65, 0x65, 0x55,
  2916. 0x6e, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x41, 0x67, 0x72, 0x65, 0x65,
  2917. 0x55, 0x6e, 0x69, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x50,
  2918. 0x6c, 0x61, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x44, 0x65, 0x63, 0x69,
  2919. 0x6d, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x51, 0x75, 0x6f, 0x74,
  2920. 0x65, 0x4d, 0x69, 0x6e, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c,
  2921. 0x51, 0x75, 0x6f, 0x74, 0x65, 0x4d, 0x69, 0x6e, 0x55, 0x6e, 0x69, 0x74, 0x22, 0xd6, 0x02, 0x0a,
  2922. 0x10, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x53, 0x74, 0x72, 0x75, 0x63,
  2923. 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01,
  2924. 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12,
  2925. 0x18, 0x0a, 0x07, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
  2926. 0x52, 0x07, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f, 0x4d, 0x61, 0x72,
  2927. 0x67, 0x69, 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x03, 0x20, 0x01,
  2928. 0x28, 0x0d, 0x52, 0x0f, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69,
  2929. 0x74, 0x68, 0x6d, 0x12, 0x2c, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4d, 0x61, 0x72,
  2930. 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11,
  2931. 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75,
  2932. 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x52, 0x65, 0x63, 0x6b, 0x6f, 0x6e, 0x4d, 0x61, 0x72, 0x67, 0x69,
  2933. 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x52, 0x65,
  2934. 0x63, 0x6b, 0x6f, 0x6e, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
  2935. 0x28, 0x0a, 0x0f, 0x4c, 0x6f, 0x63, 0x6b, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c,
  2936. 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4c, 0x6f, 0x63, 0x6b, 0x4d, 0x61,
  2937. 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x52, 0x65, 0x61,
  2938. 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01,
  2939. 0x28, 0x01, 0x52, 0x0f, 0x52, 0x65, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61,
  2940. 0x6c, 0x75, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x52, 0x65, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69,
  2941. 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d,
  2942. 0x52, 0x13, 0x52, 0x65, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x41, 0x6c, 0x67, 0x6f,
  2943. 0x72, 0x69, 0x74, 0x68, 0x6d,
  2944. }
  2945. var (
  2946. file_mtp2_proto_rawDescOnce sync.Once
  2947. file_mtp2_proto_rawDescData = file_mtp2_proto_rawDesc
  2948. )
  2949. func file_mtp2_proto_rawDescGZIP() []byte {
  2950. file_mtp2_proto_rawDescOnce.Do(func() {
  2951. file_mtp2_proto_rawDescData = protoimpl.X.CompressGZIP(file_mtp2_proto_rawDescData)
  2952. })
  2953. return file_mtp2_proto_rawDescData
  2954. }
  2955. var file_mtp2_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
  2956. var file_mtp2_proto_goTypes = []interface{}{
  2957. (*TradeRule)(nil), // 0: pb.TradeRule
  2958. (*TradeRuleInfoStruct)(nil), // 1: pb.TradeRuleInfoStruct
  2959. (*Date)(nil), // 2: pb.Date
  2960. (*Erms2ArbitrageStrategy)(nil), // 3: pb.Erms2ArbitrageStrategy
  2961. (*ErmcpAreaSpot)(nil), // 4: pb.ErmcpAreaSpot
  2962. (*ErmcpAreaExposure)(nil), // 5: pb.ErmcpAreaExposure
  2963. (*GoodsMarginCfgStruct)(nil), // 6: pb.GoodsMarginCfgStruct
  2964. (*Ermcp2HedgedItem)(nil), // 7: pb.Ermcp2HedgedItem
  2965. (*Ermcp2HedgedItemExt)(nil), // 8: pb.Ermcp2HedgedItemExt
  2966. (*Ermcp2HIMiddleGoods)(nil), // 9: pb.Ermcp2HIMiddleGoods
  2967. (*Ermcp2HIMiddleGoodsExt)(nil), // 10: pb.Ermcp2HIMiddleGoodsExt
  2968. (*Ermcp2HedgedItemInfo)(nil), // 11: pb.Ermcp2HedgedItemInfo
  2969. (*Ermcp2AreaExposure)(nil), // 12: pb.Ermcp2AreaExposure
  2970. (*TradeHolderDetailEx)(nil), // 13: pb.TradeHolderDetailEx
  2971. (*RedisTradeHolderDetailEx)(nil), // 14: pb.RedisTradeHolderDetailEx
  2972. (*MarginInfoStruct)(nil), // 15: pb.MarginInfoStruct
  2973. }
  2974. var file_mtp2_proto_depIdxs = []int32{
  2975. 0, // 0: pb.TradeRuleInfoStruct.TradeRules:type_name -> pb.TradeRule
  2976. 2, // 1: pb.Erms2ArbitrageStrategy.UpDatetime:type_name -> pb.Date
  2977. 2, // 2: pb.ErmcpAreaSpot.UpdateTime:type_name -> pb.Date
  2978. 2, // 3: pb.ErmcpAreaExposure.UpdateTime:type_name -> pb.Date
  2979. 2, // 4: pb.Ermcp2HedgedItem.PlanStartDate:type_name -> pb.Date
  2980. 2, // 5: pb.Ermcp2HedgedItem.PlanEndDate:type_name -> pb.Date
  2981. 2, // 6: pb.Ermcp2HedgedItem.CreateTime:type_name -> pb.Date
  2982. 2, // 7: pb.Ermcp2HedgedItem.EndDate:type_name -> pb.Date
  2983. 2, // 8: pb.Ermcp2HedgedItem.UpdateTime:type_name -> pb.Date
  2984. 7, // 9: pb.Ermcp2HedgedItemExt.item:type_name -> pb.Ermcp2HedgedItem
  2985. 2, // 10: pb.Ermcp2HIMiddleGoods.CreateTime:type_name -> pb.Date
  2986. 2, // 11: pb.Ermcp2HIMiddleGoods.UpdateTime:type_name -> pb.Date
  2987. 9, // 12: pb.Ermcp2HIMiddleGoodsExt.middlegoods:type_name -> pb.Ermcp2HIMiddleGoods
  2988. 8, // 13: pb.Ermcp2HedgedItemInfo.hedgeditemext:type_name -> pb.Ermcp2HedgedItemExt
  2989. 10, // 14: pb.Ermcp2HedgedItemInfo.himiddlegoodsext:type_name -> pb.Ermcp2HIMiddleGoodsExt
  2990. 2, // 15: pb.Ermcp2AreaExposure.UpdateTime:type_name -> pb.Date
  2991. 13, // 16: pb.RedisTradeHolderDetailEx.THDetailEx:type_name -> pb.TradeHolderDetailEx
  2992. 17, // [17:17] is the sub-list for method output_type
  2993. 17, // [17:17] is the sub-list for method input_type
  2994. 17, // [17:17] is the sub-list for extension type_name
  2995. 17, // [17:17] is the sub-list for extension extendee
  2996. 0, // [0:17] is the sub-list for field type_name
  2997. }
  2998. func init() { file_mtp2_proto_init() }
  2999. func file_mtp2_proto_init() {
  3000. if File_mtp2_proto != nil {
  3001. return
  3002. }
  3003. if !protoimpl.UnsafeEnabled {
  3004. file_mtp2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  3005. switch v := v.(*TradeRule); i {
  3006. case 0:
  3007. return &v.state
  3008. case 1:
  3009. return &v.sizeCache
  3010. case 2:
  3011. return &v.unknownFields
  3012. default:
  3013. return nil
  3014. }
  3015. }
  3016. file_mtp2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  3017. switch v := v.(*TradeRuleInfoStruct); i {
  3018. case 0:
  3019. return &v.state
  3020. case 1:
  3021. return &v.sizeCache
  3022. case 2:
  3023. return &v.unknownFields
  3024. default:
  3025. return nil
  3026. }
  3027. }
  3028. file_mtp2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  3029. switch v := v.(*Date); i {
  3030. case 0:
  3031. return &v.state
  3032. case 1:
  3033. return &v.sizeCache
  3034. case 2:
  3035. return &v.unknownFields
  3036. default:
  3037. return nil
  3038. }
  3039. }
  3040. file_mtp2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  3041. switch v := v.(*Erms2ArbitrageStrategy); i {
  3042. case 0:
  3043. return &v.state
  3044. case 1:
  3045. return &v.sizeCache
  3046. case 2:
  3047. return &v.unknownFields
  3048. default:
  3049. return nil
  3050. }
  3051. }
  3052. file_mtp2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  3053. switch v := v.(*ErmcpAreaSpot); i {
  3054. case 0:
  3055. return &v.state
  3056. case 1:
  3057. return &v.sizeCache
  3058. case 2:
  3059. return &v.unknownFields
  3060. default:
  3061. return nil
  3062. }
  3063. }
  3064. file_mtp2_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  3065. switch v := v.(*ErmcpAreaExposure); i {
  3066. case 0:
  3067. return &v.state
  3068. case 1:
  3069. return &v.sizeCache
  3070. case 2:
  3071. return &v.unknownFields
  3072. default:
  3073. return nil
  3074. }
  3075. }
  3076. file_mtp2_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  3077. switch v := v.(*GoodsMarginCfgStruct); i {
  3078. case 0:
  3079. return &v.state
  3080. case 1:
  3081. return &v.sizeCache
  3082. case 2:
  3083. return &v.unknownFields
  3084. default:
  3085. return nil
  3086. }
  3087. }
  3088. file_mtp2_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  3089. switch v := v.(*Ermcp2HedgedItem); i {
  3090. case 0:
  3091. return &v.state
  3092. case 1:
  3093. return &v.sizeCache
  3094. case 2:
  3095. return &v.unknownFields
  3096. default:
  3097. return nil
  3098. }
  3099. }
  3100. file_mtp2_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  3101. switch v := v.(*Ermcp2HedgedItemExt); i {
  3102. case 0:
  3103. return &v.state
  3104. case 1:
  3105. return &v.sizeCache
  3106. case 2:
  3107. return &v.unknownFields
  3108. default:
  3109. return nil
  3110. }
  3111. }
  3112. file_mtp2_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  3113. switch v := v.(*Ermcp2HIMiddleGoods); i {
  3114. case 0:
  3115. return &v.state
  3116. case 1:
  3117. return &v.sizeCache
  3118. case 2:
  3119. return &v.unknownFields
  3120. default:
  3121. return nil
  3122. }
  3123. }
  3124. file_mtp2_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  3125. switch v := v.(*Ermcp2HIMiddleGoodsExt); i {
  3126. case 0:
  3127. return &v.state
  3128. case 1:
  3129. return &v.sizeCache
  3130. case 2:
  3131. return &v.unknownFields
  3132. default:
  3133. return nil
  3134. }
  3135. }
  3136. file_mtp2_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  3137. switch v := v.(*Ermcp2HedgedItemInfo); i {
  3138. case 0:
  3139. return &v.state
  3140. case 1:
  3141. return &v.sizeCache
  3142. case 2:
  3143. return &v.unknownFields
  3144. default:
  3145. return nil
  3146. }
  3147. }
  3148. file_mtp2_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  3149. switch v := v.(*Ermcp2AreaExposure); i {
  3150. case 0:
  3151. return &v.state
  3152. case 1:
  3153. return &v.sizeCache
  3154. case 2:
  3155. return &v.unknownFields
  3156. default:
  3157. return nil
  3158. }
  3159. }
  3160. file_mtp2_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  3161. switch v := v.(*TradeHolderDetailEx); i {
  3162. case 0:
  3163. return &v.state
  3164. case 1:
  3165. return &v.sizeCache
  3166. case 2:
  3167. return &v.unknownFields
  3168. default:
  3169. return nil
  3170. }
  3171. }
  3172. file_mtp2_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  3173. switch v := v.(*RedisTradeHolderDetailEx); i {
  3174. case 0:
  3175. return &v.state
  3176. case 1:
  3177. return &v.sizeCache
  3178. case 2:
  3179. return &v.unknownFields
  3180. default:
  3181. return nil
  3182. }
  3183. }
  3184. file_mtp2_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  3185. switch v := v.(*MarginInfoStruct); i {
  3186. case 0:
  3187. return &v.state
  3188. case 1:
  3189. return &v.sizeCache
  3190. case 2:
  3191. return &v.unknownFields
  3192. default:
  3193. return nil
  3194. }
  3195. }
  3196. }
  3197. type x struct{}
  3198. out := protoimpl.TypeBuilder{
  3199. File: protoimpl.DescBuilder{
  3200. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  3201. RawDescriptor: file_mtp2_proto_rawDesc,
  3202. NumEnums: 0,
  3203. NumMessages: 16,
  3204. NumExtensions: 0,
  3205. NumServices: 0,
  3206. },
  3207. GoTypes: file_mtp2_proto_goTypes,
  3208. DependencyIndexes: file_mtp2_proto_depIdxs,
  3209. MessageInfos: file_mtp2_proto_msgTypes,
  3210. }.Build()
  3211. File_mtp2_proto = out.File
  3212. file_mtp2_proto_rawDesc = nil
  3213. file_mtp2_proto_goTypes = nil
  3214. file_mtp2_proto_depIdxs = nil
  3215. }