mtp2.pb.go 115 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745
  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. var File_mtp2_proto protoreflect.FileDescriptor
  1776. var file_mtp2_proto_rawDesc = []byte{
  1777. 0x0a, 0x0a, 0x6d, 0x74, 0x70, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62,
  1778. 0x22, 0x43, 0x0a, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x16, 0x0a,
  1779. 0x06, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52,
  1780. 0x75, 0x6c, 0x65, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x56, 0x61,
  1781. 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x50, 0x61, 0x72, 0x61, 0x6d,
  1782. 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x7c, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x75,
  1783. 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x1c, 0x0a, 0x09,
  1784. 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
  1785. 0x09, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x6f,
  1786. 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x47, 0x6f, 0x6f,
  1787. 0x64, 0x73, 0x49, 0x44, 0x12, 0x2d, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x75, 0x6c,
  1788. 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x72,
  1789. 0x61, 0x64, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0a, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x75,
  1790. 0x6c, 0x65, 0x73, 0x22, 0x20, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x44,
  1791. 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x44, 0x61,
  1792. 0x74, 0x65, 0x53, 0x74, 0x72, 0x22, 0xea, 0x0a, 0x0a, 0x16, 0x45, 0x72, 0x6d, 0x73, 0x32, 0x41,
  1793. 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
  1794. 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x53, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20,
  1795. 0x01, 0x28, 0x04, 0x52, 0x09, 0x41, 0x53, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x64, 0x12, 0x12,
  1796. 0x0a, 0x04, 0x41, 0x53, 0x4e, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x41, 0x53,
  1797. 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x69, 0x7a, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
  1798. 0x01, 0x28, 0x0d, 0x52, 0x07, 0x42, 0x69, 0x7a, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06,
  1799. 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73,
  1800. 0x65, 0x72, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
  1801. 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x44,
  1802. 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x64, 0x12, 0x22,
  1803. 0x0a, 0x0c, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x06,
  1804. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70,
  1805. 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x18,
  1806. 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61,
  1807. 0x12, 0x20, 0x0a, 0x0b, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x18,
  1808. 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x75, 0x6f,
  1809. 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x61, 0x73, 0x69, 0x73,
  1810. 0x18, 0x09, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x61, 0x73,
  1811. 0x69, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x53, 0x74,
  1812. 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x53, 0x74, 0x72, 0x61,
  1813. 0x74, 0x65, 0x67, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65,
  1814. 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x65, 0x6d, 0x61,
  1815. 0x72, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x18, 0x0c,
  1816. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1c,
  1817. 0x0a, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28,
  1818. 0x09, 0x52, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x0e,
  1819. 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x18, 0x0e,
  1820. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65,
  1821. 0x44, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x64, 0x51, 0x75, 0x6f, 0x74,
  1822. 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x55, 0x73, 0x65, 0x64, 0x51, 0x75, 0x6f,
  1823. 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18,
  1824. 0x10, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79,
  1825. 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x41, 0x76, 0x67, 0x50, 0x72, 0x69,
  1826. 0x63, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65,
  1827. 0x41, 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x75, 0x74, 0x75,
  1828. 0x72, 0x65, 0x50, 0x4c, 0x18, 0x12, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x46, 0x75, 0x74, 0x75,
  1829. 0x72, 0x65, 0x50, 0x4c, 0x12, 0x24, 0x0a, 0x0d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x53, 0x70,
  1830. 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x50, 0x72, 0x69,
  1831. 0x63, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x12, 0x50, 0x72,
  1832. 0x69, 0x63, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x4e, 0x6f, 0x54, 0x61, 0x78,
  1833. 0x18, 0x14, 0x20, 0x01, 0x28, 0x01, 0x52, 0x12, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x53, 0x70,
  1834. 0x6f, 0x74, 0x51, 0x74, 0x79, 0x4e, 0x6f, 0x54, 0x61, 0x78, 0x12, 0x22, 0x0a, 0x0c, 0x53, 0x70,
  1835. 0x6f, 0x74, 0x61, 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x01,
  1836. 0x52, 0x0c, 0x53, 0x70, 0x6f, 0x74, 0x61, 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16,
  1837. 0x0a, 0x06, 0x53, 0x70, 0x6f, 0x74, 0x50, 0x4c, 0x18, 0x16, 0x20, 0x01, 0x28, 0x01, 0x52, 0x06,
  1838. 0x53, 0x70, 0x6f, 0x74, 0x50, 0x4c, 0x12, 0x20, 0x0a, 0x0b, 0x4e, 0x65, 0x74, 0x45, 0x78, 0x70,
  1839. 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x4e, 0x65, 0x74,
  1840. 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x4e, 0x65, 0x74, 0x45,
  1841. 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28,
  1842. 0x01, 0x52, 0x0f, 0x4e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x52, 0x61,
  1843. 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x4c, 0x18, 0x19, 0x20,
  1844. 0x01, 0x28, 0x01, 0x52, 0x07, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x4c, 0x12, 0x1c, 0x0a, 0x09,
  1845. 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x61, 0x73, 0x69, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x01, 0x52,
  1846. 0x09, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x61, 0x73, 0x69, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x75,
  1847. 0x72, 0x42, 0x61, 0x73, 0x69, 0x73, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x43, 0x75,
  1848. 0x72, 0x42, 0x61, 0x73, 0x69, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x42, 0x61, 0x73, 0x69, 0x73, 0x43,
  1849. 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x4c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x42,
  1850. 0x61, 0x73, 0x69, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x4c, 0x12, 0x24, 0x0a, 0x0d,
  1851. 0x4e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x50, 0x4c, 0x18, 0x1d, 0x20,
  1852. 0x01, 0x28, 0x01, 0x52, 0x0d, 0x4e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65,
  1853. 0x50, 0x4c, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x70, 0x6f, 0x74, 0x55, 0x73, 0x65, 0x64, 0x51, 0x75,
  1854. 0x6f, 0x74, 0x61, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x70, 0x6f, 0x74, 0x55,
  1855. 0x73, 0x65, 0x64, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x24, 0x0a, 0x0d, 0x46, 0x75, 0x74, 0x75,
  1856. 0x72, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x01, 0x52,
  1857. 0x0d, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x2a,
  1858. 0x0a, 0x10, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x6d, 0x6f, 0x75,
  1859. 0x6e, 0x74, 0x18, 0x20, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65,
  1860. 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x75,
  1861. 0x74, 0x75, 0x72, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x51, 0x74, 0x79, 0x18, 0x21, 0x20, 0x01,
  1862. 0x28, 0x01, 0x52, 0x0e, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x51,
  1863. 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x11, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6c, 0x6f, 0x73,
  1864. 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x22, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x46,
  1865. 0x75, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
  1866. 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x70, 0x6f, 0x74, 0x42, 0x75, 0x79, 0x41, 0x6d, 0x6f, 0x75, 0x6e,
  1867. 0x74, 0x18, 0x23, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x70, 0x6f, 0x74, 0x42, 0x75, 0x79,
  1868. 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x70, 0x6f, 0x74, 0x42, 0x75,
  1869. 0x79, 0x51, 0x74, 0x79, 0x18, 0x24, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x53, 0x70, 0x6f, 0x74,
  1870. 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x53, 0x70, 0x6f, 0x74, 0x53, 0x65,
  1871. 0x6c, 0x6c, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x25, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e,
  1872. 0x53, 0x70, 0x6f, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20,
  1873. 0x0a, 0x0b, 0x53, 0x70, 0x6f, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x51, 0x74, 0x79, 0x18, 0x26, 0x20,
  1874. 0x01, 0x28, 0x01, 0x52, 0x0b, 0x53, 0x70, 0x6f, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x51, 0x74, 0x79,
  1875. 0x12, 0x28, 0x0a, 0x0a, 0x55, 0x70, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x27,
  1876. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a,
  1877. 0x55, 0x70, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x53,
  1878. 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x53, 0x4e, 0x61,
  1879. 0x6d, 0x65, 0x22, 0xd1, 0x03, 0x0a, 0x0d, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x41, 0x72, 0x65, 0x61,
  1880. 0x53, 0x70, 0x6f, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x57, 0x72, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61,
  1881. 0x72, 0x64, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x57, 0x72, 0x53, 0x74,
  1882. 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61,
  1883. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x41, 0x72,
  1884. 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x4f, 0x72, 0x69, 0x42,
  1885. 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52,
  1886. 0x0d, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x28,
  1887. 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74,
  1888. 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50,
  1889. 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x4f, 0x72, 0x69, 0x53,
  1890. 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01,
  1891. 0x52, 0x0e, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79,
  1892. 0x12, 0x2a, 0x0a, 0x10, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65,
  1893. 0x64, 0x51, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x53,
  1894. 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a,
  1895. 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01,
  1896. 0x52, 0x0a, 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c,
  1897. 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01,
  1898. 0x28, 0x01, 0x52, 0x0c, 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79,
  1899. 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18,
  1900. 0x09, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51,
  1901. 0x74, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64,
  1902. 0x51, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x50,
  1903. 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x54, 0x6f, 0x74, 0x61,
  1904. 0x6c, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c,
  1905. 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0a,
  1906. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b,
  1907. 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61,
  1908. 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xf5, 0x06, 0x0a, 0x11, 0x45, 0x72, 0x6d, 0x63, 0x70,
  1909. 0x41, 0x72, 0x65, 0x61, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d,
  1910. 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x01, 0x20,
  1911. 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73,
  1912. 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
  1913. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72,
  1914. 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e,
  1915. 0x51, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x4f, 0x72, 0x69, 0x42, 0x75,
  1916. 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x42,
  1917. 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28,
  1918. 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51,
  1919. 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61,
  1920. 0x6e, 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x4f, 0x72, 0x69, 0x53,
  1921. 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x4f, 0x72,
  1922. 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x18, 0x06,
  1923. 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69,
  1924. 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79,
  1925. 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52,
  1926. 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79,
  1927. 0x12, 0x2a, 0x0a, 0x10, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72,
  1928. 0x65, 0x51, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x53,
  1929. 0x65, 0x6c, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a,
  1930. 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x01,
  1931. 0x52, 0x0a, 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c,
  1932. 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01,
  1933. 0x28, 0x01, 0x52, 0x0c, 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79,
  1934. 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18,
  1935. 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51,
  1936. 0x74, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64,
  1937. 0x51, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x50,
  1938. 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x42, 0x75, 0x79, 0x46,
  1939. 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c,
  1940. 0x42, 0x75, 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x12, 0x24, 0x0a, 0x0d,
  1941. 0x53, 0x65, 0x6c, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x0e, 0x20,
  1942. 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51,
  1943. 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x70, 0x6f, 0x74, 0x51,
  1944. 0x74, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53,
  1945. 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x46,
  1946. 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e,
  1947. 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x12, 0x24,
  1948. 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18,
  1949. 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f,
  1950. 0x73, 0x75, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x48, 0x65, 0x64,
  1951. 0x67, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x12, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x54,
  1952. 0x6f, 0x74, 0x61, 0x6c, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x2c,
  1953. 0x0a, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65,
  1954. 0x51, 0x74, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c,
  1955. 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x12,
  1956. 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x6f, 0x75,
  1957. 0x72, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x01, 0x52, 0x12, 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65,
  1958. 0x64, 0x67, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x6f, 0x75, 0x72, 0x65, 0x12, 0x26, 0x0a, 0x0e,
  1959. 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x15,
  1960. 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52,
  1961. 0x61, 0x74, 0x69, 0x6f, 0x12, 0x28, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69,
  1962. 0x6d, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61,
  1963. 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x82,
  1964. 0x03, 0x0a, 0x14, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x43, 0x66,
  1965. 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x6f, 0x6f, 0x64, 0x73,
  1966. 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49,
  1967. 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x54, 0x79, 0x70,
  1968. 0x65, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f,
  1969. 0x6d, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f, 0x4d, 0x61, 0x72,
  1970. 0x67, 0x69, 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x03, 0x20, 0x01,
  1971. 0x28, 0x0d, 0x52, 0x0f, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69,
  1972. 0x74, 0x68, 0x6d, 0x12, 0x2c, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4d, 0x61, 0x72,
  1973. 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11,
  1974. 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75,
  1975. 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x52, 0x65, 0x63, 0x6b, 0x6f, 0x6e, 0x4d, 0x61, 0x72, 0x67, 0x69,
  1976. 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x52, 0x65,
  1977. 0x63, 0x6b, 0x6f, 0x6e, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
  1978. 0x28, 0x0a, 0x0f, 0x4c, 0x6f, 0x63, 0x6b, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c,
  1979. 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4c, 0x6f, 0x63, 0x6b, 0x4d, 0x61,
  1980. 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x52, 0x65, 0x61,
  1981. 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01,
  1982. 0x28, 0x01, 0x52, 0x0f, 0x52, 0x65, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x56, 0x61,
  1983. 0x6c, 0x75, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x52, 0x65, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69,
  1984. 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d,
  1985. 0x52, 0x13, 0x52, 0x65, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x41, 0x6c, 0x67, 0x6f,
  1986. 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x49, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75,
  1987. 0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x49, 0x73, 0x44, 0x65, 0x66, 0x61,
  1988. 0x75, 0x6c, 0x74, 0x22, 0xca, 0x0e, 0x0a, 0x10, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x65,
  1989. 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x48, 0x65, 0x64, 0x67,
  1990. 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c,
  1991. 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d,
  1992. 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20,
  1993. 0x01, 0x28, 0x09, 0x52, 0x0d, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4e,
  1994. 0x75, 0x6d, 0x12, 0x26, 0x0a, 0x0e, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d,
  1995. 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x48, 0x65, 0x64, 0x67,
  1996. 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x48, 0x65,
  1997. 0x64, 0x67, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a,
  1998. 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x0d, 0x50, 0x6c,
  1999. 0x61, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
  2000. 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x50, 0x6c, 0x61,
  2001. 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x0b, 0x50, 0x6c,
  2002. 0x61, 0x6e, 0x45, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
  2003. 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x50, 0x6c, 0x61, 0x6e, 0x45,
  2004. 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52,
  2005. 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x48, 0x65, 0x64, 0x67, 0x65,
  2006. 0x52, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x64, 0x65, 0x55, 0x73, 0x65,
  2007. 0x72, 0x49, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x54, 0x72, 0x61, 0x64, 0x65,
  2008. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73,
  2009. 0x65, 0x72, 0x49, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x41, 0x72, 0x65, 0x61,
  2010. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64,
  2011. 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04,
  2012. 0x52, 0x10, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74,
  2013. 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x72, 0x63, 0x18, 0x0b,
  2014. 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x72, 0x63, 0x12, 0x18,
  2015. 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52,
  2016. 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61,
  2017. 0x72, 0x6b, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b,
  2018. 0x12, 0x28, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0e,
  2019. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a,
  2020. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x41, 0x75,
  2021. 0x64, 0x69, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01,
  2022. 0x28, 0x09, 0x52, 0x0e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61,
  2023. 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x75, 0x64, 0x69, 0x74, 0x49, 0x44, 0x18, 0x10, 0x20,
  2024. 0x01, 0x28, 0x04, 0x52, 0x07, 0x41, 0x75, 0x64, 0x69, 0x74, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08,
  2025. 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x72, 0x63, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08,
  2026. 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x72, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x75, 0x64, 0x69,
  2027. 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x41, 0x75, 0x64,
  2028. 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x41, 0x75, 0x64, 0x69, 0x74, 0x52,
  2029. 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x41, 0x75, 0x64,
  2030. 0x69, 0x74, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x28, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x69,
  2031. 0x76, 0x65, 0x72, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x14, 0x20, 0x01, 0x28,
  2032. 0x04, 0x52, 0x0f, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73,
  2033. 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x57, 0x72, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64,
  2034. 0x49, 0x44, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x57, 0x72, 0x53, 0x74, 0x61, 0x6e,
  2035. 0x64, 0x61, 0x72, 0x64, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x56, 0x61, 0x74, 0x52, 0x61, 0x74,
  2036. 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x56, 0x61, 0x74, 0x52, 0x61, 0x74, 0x65,
  2037. 0x12, 0x1a, 0x0a, 0x08, 0x48, 0x65, 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x18, 0x17, 0x20, 0x01,
  2038. 0x28, 0x01, 0x52, 0x08, 0x48, 0x65, 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b,
  2039. 0x48, 0x65, 0x64, 0x67, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x18, 0x20, 0x01, 0x28,
  2040. 0x01, 0x52, 0x0b, 0x48, 0x65, 0x64, 0x67, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28,
  2041. 0x0a, 0x0f, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52, 0x65, 0x73, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e,
  2042. 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52, 0x65,
  2043. 0x73, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x48, 0x65, 0x64, 0x67,
  2044. 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  2045. 0x1a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x13, 0x48, 0x65, 0x64, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74,
  2046. 0x72, 0x61, 0x63, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x72,
  2047. 0x69, 0x41, 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x01, 0x52,
  2048. 0x0b, 0x4f, 0x72, 0x69, 0x41, 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06,
  2049. 0x45, 0x78, 0x65, 0x51, 0x74, 0x79, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x06, 0x45, 0x78,
  2050. 0x65, 0x51, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x45, 0x78, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e,
  2051. 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x45, 0x78, 0x65, 0x41, 0x6d, 0x6f, 0x75,
  2052. 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x52, 0x65, 0x73, 0x74, 0x41, 0x6d, 0x6f,
  2053. 0x75, 0x6e, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x45, 0x78, 0x65, 0x52, 0x65,
  2054. 0x73, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x45, 0x78, 0x65, 0x41,
  2055. 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x45,
  2056. 0x78, 0x65, 0x41, 0x76, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x45, 0x78,
  2057. 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  2058. 0x20, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x45, 0x78, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
  2059. 0x63, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x75, 0x72, 0x50,
  2060. 0x72, 0x69, 0x63, 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x43, 0x75, 0x72, 0x50,
  2061. 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x6e, 0x45, 0x78, 0x65, 0x51, 0x74, 0x79,
  2062. 0x18, 0x22, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x55, 0x6e, 0x45, 0x78, 0x65, 0x51, 0x74, 0x79,
  2063. 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x70, 0x6f, 0x74, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x4c, 0x18,
  2064. 0x23, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x53, 0x70, 0x6f, 0x74, 0x48, 0x65, 0x64, 0x67, 0x65,
  2065. 0x50, 0x4c, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x70, 0x6f, 0x74, 0x50, 0x4c, 0x18, 0x24, 0x20, 0x01,
  2066. 0x28, 0x01, 0x52, 0x06, 0x53, 0x70, 0x6f, 0x74, 0x50, 0x4c, 0x12, 0x24, 0x0a, 0x0d, 0x46, 0x75,
  2067. 0x74, 0x75, 0x72, 0x65, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x4c, 0x18, 0x25, 0x20, 0x01, 0x28,
  2068. 0x01, 0x52, 0x0d, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x4c,
  2069. 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x50, 0x4c, 0x18, 0x26, 0x20, 0x01,
  2070. 0x28, 0x01, 0x52, 0x08, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x50, 0x4c, 0x12, 0x1e, 0x0a, 0x0a,
  2071. 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x75, 0x6d, 0x50, 0x4c, 0x18, 0x27, 0x20, 0x01, 0x28, 0x01,
  2072. 0x52, 0x0a, 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x75, 0x6d, 0x50, 0x4c, 0x12, 0x20, 0x0a, 0x0b,
  2073. 0x53, 0x70, 0x6f, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x50, 0x4c, 0x18, 0x28, 0x20, 0x01, 0x28,
  2074. 0x01, 0x52, 0x0b, 0x53, 0x70, 0x6f, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x50, 0x4c, 0x12, 0x14,
  2075. 0x0a, 0x05, 0x56, 0x61, 0x74, 0x50, 0x4c, 0x18, 0x29, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x56,
  2076. 0x61, 0x74, 0x50, 0x4c, 0x12, 0x1a, 0x0a, 0x08, 0x53, 0x75, 0x6d, 0x4f, 0x62, 0x73, 0x50, 0x4c,
  2077. 0x18, 0x2a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x53, 0x75, 0x6d, 0x4f, 0x62, 0x73, 0x50, 0x4c,
  2078. 0x12, 0x26, 0x0a, 0x0e, 0x53, 0x70, 0x6f, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x41, 0x6d, 0x6f, 0x75,
  2079. 0x6e, 0x74, 0x18, 0x2b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x53, 0x70, 0x6f, 0x74, 0x42, 0x6f,
  2080. 0x6f, 0x6b, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x75, 0x72, 0x53,
  2081. 0x74, 0x6f, 0x63, 0x6b, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x43, 0x75, 0x72, 0x53,
  2082. 0x74, 0x6f, 0x63, 0x6b, 0x12, 0x22, 0x0a, 0x07, 0x45, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x18,
  2083. 0x2d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52,
  2084. 0x07, 0x45, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x45, 0x6e, 0x64, 0x54,
  2085. 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
  2086. 0x45, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0a,
  2087. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x2f, 0x20, 0x01, 0x28, 0x0b,
  2088. 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61,
  2089. 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x4f, 0x72, 0x69, 0x53, 0x70, 0x6f,
  2090. 0x74, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x4c, 0x18, 0x30, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e,
  2091. 0x4f, 0x72, 0x69, 0x53, 0x70, 0x6f, 0x74, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x4c, 0x12, 0x2a,
  2092. 0x0a, 0x10, 0x4f, 0x72, 0x69, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x48, 0x65, 0x64, 0x67, 0x65,
  2093. 0x50, 0x4c, 0x18, 0x31, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x46, 0x75, 0x74,
  2094. 0x75, 0x72, 0x65, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x4c, 0x12, 0x1c, 0x0a, 0x09, 0x4f, 0x72,
  2095. 0x69, 0x53, 0x70, 0x6f, 0x74, 0x50, 0x4c, 0x18, 0x32, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x4f,
  2096. 0x72, 0x69, 0x53, 0x70, 0x6f, 0x74, 0x50, 0x4c, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x72, 0x69, 0x46,
  2097. 0x75, 0x74, 0x75, 0x72, 0x65, 0x50, 0x4c, 0x18, 0x33, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x4f,
  2098. 0x72, 0x69, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x50, 0x4c, 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x70,
  2099. 0x6f, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x50, 0x4c, 0x18, 0x34, 0x20, 0x01, 0x28, 0x01, 0x52,
  2100. 0x0b, 0x53, 0x70, 0x6f, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x50, 0x4c, 0x12, 0x24, 0x0a, 0x0d,
  2101. 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x50, 0x4c, 0x18, 0x35, 0x20,
  2102. 0x01, 0x28, 0x01, 0x52, 0x0d, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x46, 0x6c, 0x6f, 0x61, 0x74,
  2103. 0x50, 0x4c, 0x12, 0x1c, 0x0a, 0x09, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x18,
  2104. 0x36, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64,
  2105. 0x22, 0xa1, 0x01, 0x0a, 0x13, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x65, 0x64, 0x67, 0x65,
  2106. 0x64, 0x49, 0x74, 0x65, 0x6d, 0x45, 0x78, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d,
  2107. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x72, 0x6d, 0x63,
  2108. 0x70, 0x32, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x69, 0x74,
  2109. 0x65, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, 0x61, 0x6d,
  2110. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  2111. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x77, 0x72, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61,
  2112. 0x72, 0x64, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x77, 0x72,
  2113. 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06,
  2114. 0x75, 0x6e, 0x69, 0x74, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x75, 0x6e,
  2115. 0x69, 0x74, 0x69, 0x64, 0x22, 0x9b, 0x04, 0x0a, 0x13, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48,
  2116. 0x49, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x22, 0x0a, 0x0c,
  2117. 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
  2118. 0x28, 0x04, 0x52, 0x0c, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x44,
  2119. 0x12, 0x24, 0x0a, 0x0d, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49,
  2120. 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47,
  2121. 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65,
  2122. 0x72, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52,
  2123. 0x0f, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44,
  2124. 0x12, 0x22, 0x0a, 0x0c, 0x57, 0x72, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x49, 0x44,
  2125. 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x57, 0x72, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61,
  2126. 0x72, 0x64, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x56, 0x61, 0x74, 0x52, 0x61, 0x74, 0x65, 0x18,
  2127. 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x56, 0x61, 0x74, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2a,
  2128. 0x0a, 0x10, 0x53, 0x70, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x52, 0x61, 0x74,
  2129. 0x69, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x53, 0x70, 0x6f, 0x74, 0x43, 0x6f,
  2130. 0x6e, 0x76, 0x65, 0x72, 0x74, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x55, 0x6e,
  2131. 0x65, 0x78, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01,
  2132. 0x52, 0x0c, 0x55, 0x6e, 0x65, 0x78, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x24,
  2133. 0x0a, 0x0d, 0x55, 0x6e, 0x65, 0x78, 0x65, 0x48, 0x65, 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x18,
  2134. 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x55, 0x6e, 0x65, 0x78, 0x65, 0x48, 0x65, 0x64, 0x67,
  2135. 0x65, 0x51, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x48, 0x65,
  2136. 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x46, 0x75,
  2137. 0x74, 0x75, 0x72, 0x65, 0x48, 0x65, 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a,
  2138. 0x48, 0x49, 0x45, 0x78, 0x70, 0x73, 0x6f, 0x75, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01,
  2139. 0x52, 0x0a, 0x48, 0x49, 0x45, 0x78, 0x70, 0x73, 0x6f, 0x75, 0x72, 0x65, 0x12, 0x20, 0x0a, 0x0b,
  2140. 0x54, 0x72, 0x61, 0x64, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x0b, 0x20, 0x01, 0x28,
  2141. 0x04, 0x52, 0x0b, 0x54, 0x72, 0x61, 0x64, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e,
  2142. 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x0c, 0x20, 0x01,
  2143. 0x28, 0x04, 0x52, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x28,
  2144. 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01,
  2145. 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x43, 0x72,
  2146. 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61,
  2147. 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70,
  2148. 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69,
  2149. 0x6d, 0x65, 0x22, 0x7d, 0x0a, 0x16, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x49, 0x4d, 0x69,
  2150. 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x45, 0x78, 0x74, 0x12, 0x39, 0x0a, 0x0b,
  2151. 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
  2152. 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x49, 0x4d,
  2153. 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x0b, 0x6d, 0x69, 0x64, 0x64,
  2154. 0x6c, 0x65, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x69, 0x64, 0x64, 0x6c,
  2155. 0x65, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  2156. 0x52, 0x0f, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x6e, 0x61, 0x6d,
  2157. 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x14, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x65, 0x64, 0x67,
  2158. 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x0d, 0x68, 0x65,
  2159. 0x64, 0x67, 0x65, 0x64, 0x69, 0x74, 0x65, 0x6d, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
  2160. 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x65, 0x64,
  2161. 0x67, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x45, 0x78, 0x74, 0x52, 0x0d, 0x68, 0x65, 0x64, 0x67,
  2162. 0x65, 0x64, 0x69, 0x74, 0x65, 0x6d, 0x65, 0x78, 0x74, 0x12, 0x46, 0x0a, 0x10, 0x68, 0x69, 0x6d,
  2163. 0x69, 0x64, 0x64, 0x6c, 0x65, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20,
  2164. 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x48,
  2165. 0x49, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x45, 0x78, 0x74, 0x52,
  2166. 0x10, 0x68, 0x69, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x65, 0x78,
  2167. 0x74, 0x22, 0x98, 0x07, 0x0a, 0x12, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x32, 0x41, 0x72, 0x65, 0x61,
  2168. 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x4d, 0x69, 0x64, 0x64,
  2169. 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
  2170. 0x0d, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x12, 0x1e,
  2171. 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01,
  2172. 0x28, 0x04, 0x52, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x18,
  2173. 0x0a, 0x07, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52,
  2174. 0x07, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x48, 0x65, 0x64, 0x67,
  2175. 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c,
  2176. 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c,
  2177. 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01,
  2178. 0x28, 0x01, 0x52, 0x0c, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79,
  2179. 0x12, 0x1c, 0x0a, 0x09, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x06, 0x20,
  2180. 0x01, 0x28, 0x01, 0x52, 0x09, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x12, 0x22,
  2181. 0x0a, 0x0c, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x07,
  2182. 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75,
  2183. 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73,
  2184. 0x75, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c,
  2185. 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x70, 0x52, 0x61,
  2186. 0x74, 0x69, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x53, 0x70, 0x52, 0x61, 0x74,
  2187. 0x69, 0x6f, 0x12, 0x2e, 0x0a, 0x12, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74,
  2188. 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x12,
  2189. 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75,
  2190. 0x72, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x54, 0x6f, 0x74, 0x61,
  2191. 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52,
  2192. 0x13, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f,
  2193. 0x73, 0x75, 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x53, 0x70,
  2194. 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x48, 0x65, 0x64,
  2195. 0x67, 0x65, 0x64, 0x53, 0x70, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x4f, 0x72,
  2196. 0x69, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a,
  2197. 0x4f, 0x72, 0x69, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72,
  2198. 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x0e, 0x20,
  2199. 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x70, 0x6f,
  2200. 0x74, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65,
  2201. 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4f,
  2202. 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x22,
  2203. 0x0a, 0x0c, 0x4f, 0x72, 0x69, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x10,
  2204. 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x4f, 0x72, 0x69, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51,
  2205. 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70,
  2206. 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69,
  2207. 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x2a, 0x0a, 0x10,
  2208. 0x4f, 0x72, 0x69, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65,
  2209. 0x18, 0x12, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x54, 0x6f, 0x74, 0x61, 0x6c,
  2210. 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x4f, 0x72, 0x69, 0x48,
  2211. 0x65, 0x64, 0x67, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72,
  2212. 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x01, 0x52, 0x15, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67,
  2213. 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x36,
  2214. 0x0a, 0x16, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c,
  2215. 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x01, 0x52, 0x16,
  2216. 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78,
  2217. 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  2218. 0x54, 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e,
  2219. 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
  2220. 0x12, 0x28, 0x0a, 0x0f, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4e,
  2221. 0x61, 0x6d, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x4d, 0x69, 0x64, 0x64, 0x6c,
  2222. 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x47, 0x6f,
  2223. 0x6f, 0x64, 0x73, 0x55, 0x6e, 0x69, 0x74, 0x49, 0x44, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0d, 0x52,
  2224. 0x0b, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x55, 0x6e, 0x69, 0x74, 0x49, 0x44,
  2225. }
  2226. var (
  2227. file_mtp2_proto_rawDescOnce sync.Once
  2228. file_mtp2_proto_rawDescData = file_mtp2_proto_rawDesc
  2229. )
  2230. func file_mtp2_proto_rawDescGZIP() []byte {
  2231. file_mtp2_proto_rawDescOnce.Do(func() {
  2232. file_mtp2_proto_rawDescData = protoimpl.X.CompressGZIP(file_mtp2_proto_rawDescData)
  2233. })
  2234. return file_mtp2_proto_rawDescData
  2235. }
  2236. var file_mtp2_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
  2237. var file_mtp2_proto_goTypes = []interface{}{
  2238. (*TradeRule)(nil), // 0: pb.TradeRule
  2239. (*TradeRuleInfoStruct)(nil), // 1: pb.TradeRuleInfoStruct
  2240. (*Date)(nil), // 2: pb.Date
  2241. (*Erms2ArbitrageStrategy)(nil), // 3: pb.Erms2ArbitrageStrategy
  2242. (*ErmcpAreaSpot)(nil), // 4: pb.ErmcpAreaSpot
  2243. (*ErmcpAreaExposure)(nil), // 5: pb.ErmcpAreaExposure
  2244. (*GoodsMarginCfgStruct)(nil), // 6: pb.GoodsMarginCfgStruct
  2245. (*Ermcp2HedgedItem)(nil), // 7: pb.Ermcp2HedgedItem
  2246. (*Ermcp2HedgedItemExt)(nil), // 8: pb.Ermcp2HedgedItemExt
  2247. (*Ermcp2HIMiddleGoods)(nil), // 9: pb.Ermcp2HIMiddleGoods
  2248. (*Ermcp2HIMiddleGoodsExt)(nil), // 10: pb.Ermcp2HIMiddleGoodsExt
  2249. (*Ermcp2HedgedItemInfo)(nil), // 11: pb.Ermcp2HedgedItemInfo
  2250. (*Ermcp2AreaExposure)(nil), // 12: pb.Ermcp2AreaExposure
  2251. }
  2252. var file_mtp2_proto_depIdxs = []int32{
  2253. 0, // 0: pb.TradeRuleInfoStruct.TradeRules:type_name -> pb.TradeRule
  2254. 2, // 1: pb.Erms2ArbitrageStrategy.UpDatetime:type_name -> pb.Date
  2255. 2, // 2: pb.ErmcpAreaSpot.UpdateTime:type_name -> pb.Date
  2256. 2, // 3: pb.ErmcpAreaExposure.UpdateTime:type_name -> pb.Date
  2257. 2, // 4: pb.Ermcp2HedgedItem.PlanStartDate:type_name -> pb.Date
  2258. 2, // 5: pb.Ermcp2HedgedItem.PlanEndDate:type_name -> pb.Date
  2259. 2, // 6: pb.Ermcp2HedgedItem.CreateTime:type_name -> pb.Date
  2260. 2, // 7: pb.Ermcp2HedgedItem.EndDate:type_name -> pb.Date
  2261. 2, // 8: pb.Ermcp2HedgedItem.UpdateTime:type_name -> pb.Date
  2262. 7, // 9: pb.Ermcp2HedgedItemExt.item:type_name -> pb.Ermcp2HedgedItem
  2263. 2, // 10: pb.Ermcp2HIMiddleGoods.CreateTime:type_name -> pb.Date
  2264. 2, // 11: pb.Ermcp2HIMiddleGoods.UpdateTime:type_name -> pb.Date
  2265. 9, // 12: pb.Ermcp2HIMiddleGoodsExt.middlegoods:type_name -> pb.Ermcp2HIMiddleGoods
  2266. 8, // 13: pb.Ermcp2HedgedItemInfo.hedgeditemext:type_name -> pb.Ermcp2HedgedItemExt
  2267. 10, // 14: pb.Ermcp2HedgedItemInfo.himiddlegoodsext:type_name -> pb.Ermcp2HIMiddleGoodsExt
  2268. 2, // 15: pb.Ermcp2AreaExposure.UpdateTime:type_name -> pb.Date
  2269. 16, // [16:16] is the sub-list for method output_type
  2270. 16, // [16:16] is the sub-list for method input_type
  2271. 16, // [16:16] is the sub-list for extension type_name
  2272. 16, // [16:16] is the sub-list for extension extendee
  2273. 0, // [0:16] is the sub-list for field type_name
  2274. }
  2275. func init() { file_mtp2_proto_init() }
  2276. func file_mtp2_proto_init() {
  2277. if File_mtp2_proto != nil {
  2278. return
  2279. }
  2280. if !protoimpl.UnsafeEnabled {
  2281. file_mtp2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2282. switch v := v.(*TradeRule); i {
  2283. case 0:
  2284. return &v.state
  2285. case 1:
  2286. return &v.sizeCache
  2287. case 2:
  2288. return &v.unknownFields
  2289. default:
  2290. return nil
  2291. }
  2292. }
  2293. file_mtp2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2294. switch v := v.(*TradeRuleInfoStruct); i {
  2295. case 0:
  2296. return &v.state
  2297. case 1:
  2298. return &v.sizeCache
  2299. case 2:
  2300. return &v.unknownFields
  2301. default:
  2302. return nil
  2303. }
  2304. }
  2305. file_mtp2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2306. switch v := v.(*Date); i {
  2307. case 0:
  2308. return &v.state
  2309. case 1:
  2310. return &v.sizeCache
  2311. case 2:
  2312. return &v.unknownFields
  2313. default:
  2314. return nil
  2315. }
  2316. }
  2317. file_mtp2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2318. switch v := v.(*Erms2ArbitrageStrategy); i {
  2319. case 0:
  2320. return &v.state
  2321. case 1:
  2322. return &v.sizeCache
  2323. case 2:
  2324. return &v.unknownFields
  2325. default:
  2326. return nil
  2327. }
  2328. }
  2329. file_mtp2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2330. switch v := v.(*ErmcpAreaSpot); i {
  2331. case 0:
  2332. return &v.state
  2333. case 1:
  2334. return &v.sizeCache
  2335. case 2:
  2336. return &v.unknownFields
  2337. default:
  2338. return nil
  2339. }
  2340. }
  2341. file_mtp2_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2342. switch v := v.(*ErmcpAreaExposure); i {
  2343. case 0:
  2344. return &v.state
  2345. case 1:
  2346. return &v.sizeCache
  2347. case 2:
  2348. return &v.unknownFields
  2349. default:
  2350. return nil
  2351. }
  2352. }
  2353. file_mtp2_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2354. switch v := v.(*GoodsMarginCfgStruct); i {
  2355. case 0:
  2356. return &v.state
  2357. case 1:
  2358. return &v.sizeCache
  2359. case 2:
  2360. return &v.unknownFields
  2361. default:
  2362. return nil
  2363. }
  2364. }
  2365. file_mtp2_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2366. switch v := v.(*Ermcp2HedgedItem); i {
  2367. case 0:
  2368. return &v.state
  2369. case 1:
  2370. return &v.sizeCache
  2371. case 2:
  2372. return &v.unknownFields
  2373. default:
  2374. return nil
  2375. }
  2376. }
  2377. file_mtp2_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2378. switch v := v.(*Ermcp2HedgedItemExt); i {
  2379. case 0:
  2380. return &v.state
  2381. case 1:
  2382. return &v.sizeCache
  2383. case 2:
  2384. return &v.unknownFields
  2385. default:
  2386. return nil
  2387. }
  2388. }
  2389. file_mtp2_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2390. switch v := v.(*Ermcp2HIMiddleGoods); i {
  2391. case 0:
  2392. return &v.state
  2393. case 1:
  2394. return &v.sizeCache
  2395. case 2:
  2396. return &v.unknownFields
  2397. default:
  2398. return nil
  2399. }
  2400. }
  2401. file_mtp2_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2402. switch v := v.(*Ermcp2HIMiddleGoodsExt); i {
  2403. case 0:
  2404. return &v.state
  2405. case 1:
  2406. return &v.sizeCache
  2407. case 2:
  2408. return &v.unknownFields
  2409. default:
  2410. return nil
  2411. }
  2412. }
  2413. file_mtp2_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2414. switch v := v.(*Ermcp2HedgedItemInfo); i {
  2415. case 0:
  2416. return &v.state
  2417. case 1:
  2418. return &v.sizeCache
  2419. case 2:
  2420. return &v.unknownFields
  2421. default:
  2422. return nil
  2423. }
  2424. }
  2425. file_mtp2_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2426. switch v := v.(*Ermcp2AreaExposure); i {
  2427. case 0:
  2428. return &v.state
  2429. case 1:
  2430. return &v.sizeCache
  2431. case 2:
  2432. return &v.unknownFields
  2433. default:
  2434. return nil
  2435. }
  2436. }
  2437. }
  2438. type x struct{}
  2439. out := protoimpl.TypeBuilder{
  2440. File: protoimpl.DescBuilder{
  2441. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2442. RawDescriptor: file_mtp2_proto_rawDesc,
  2443. NumEnums: 0,
  2444. NumMessages: 13,
  2445. NumExtensions: 0,
  2446. NumServices: 0,
  2447. },
  2448. GoTypes: file_mtp2_proto_goTypes,
  2449. DependencyIndexes: file_mtp2_proto_depIdxs,
  2450. MessageInfos: file_mtp2_proto_msgTypes,
  2451. }.Build()
  2452. File_mtp2_proto = out.File
  2453. file_mtp2_proto_rawDesc = nil
  2454. file_mtp2_proto_goTypes = nil
  2455. file_mtp2_proto_depIdxs = nil
  2456. }