mq.pb.go 123 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.30.0
  4. // protoc v4.23.3
  5. // source: mq.proto
  6. package mq_pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. // ////////////////////////////////////////////////
  20. type SegmentInfo struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Segment *Segment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
  25. StartTsNs int64 `protobuf:"varint,2,opt,name=start_ts_ns,json=startTsNs,proto3" json:"start_ts_ns,omitempty"`
  26. Brokers []string `protobuf:"bytes,3,rep,name=brokers,proto3" json:"brokers,omitempty"`
  27. StopTsNs int64 `protobuf:"varint,4,opt,name=stop_ts_ns,json=stopTsNs,proto3" json:"stop_ts_ns,omitempty"`
  28. PreviousSegments []int32 `protobuf:"varint,5,rep,packed,name=previous_segments,json=previousSegments,proto3" json:"previous_segments,omitempty"`
  29. NextSegments []int32 `protobuf:"varint,6,rep,packed,name=next_segments,json=nextSegments,proto3" json:"next_segments,omitempty"`
  30. }
  31. func (x *SegmentInfo) Reset() {
  32. *x = SegmentInfo{}
  33. if protoimpl.UnsafeEnabled {
  34. mi := &file_mq_proto_msgTypes[0]
  35. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  36. ms.StoreMessageInfo(mi)
  37. }
  38. }
  39. func (x *SegmentInfo) String() string {
  40. return protoimpl.X.MessageStringOf(x)
  41. }
  42. func (*SegmentInfo) ProtoMessage() {}
  43. func (x *SegmentInfo) ProtoReflect() protoreflect.Message {
  44. mi := &file_mq_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 SegmentInfo.ProtoReflect.Descriptor instead.
  55. func (*SegmentInfo) Descriptor() ([]byte, []int) {
  56. return file_mq_proto_rawDescGZIP(), []int{0}
  57. }
  58. func (x *SegmentInfo) GetSegment() *Segment {
  59. if x != nil {
  60. return x.Segment
  61. }
  62. return nil
  63. }
  64. func (x *SegmentInfo) GetStartTsNs() int64 {
  65. if x != nil {
  66. return x.StartTsNs
  67. }
  68. return 0
  69. }
  70. func (x *SegmentInfo) GetBrokers() []string {
  71. if x != nil {
  72. return x.Brokers
  73. }
  74. return nil
  75. }
  76. func (x *SegmentInfo) GetStopTsNs() int64 {
  77. if x != nil {
  78. return x.StopTsNs
  79. }
  80. return 0
  81. }
  82. func (x *SegmentInfo) GetPreviousSegments() []int32 {
  83. if x != nil {
  84. return x.PreviousSegments
  85. }
  86. return nil
  87. }
  88. func (x *SegmentInfo) GetNextSegments() []int32 {
  89. if x != nil {
  90. return x.NextSegments
  91. }
  92. return nil
  93. }
  94. type FindBrokerLeaderRequest struct {
  95. state protoimpl.MessageState
  96. sizeCache protoimpl.SizeCache
  97. unknownFields protoimpl.UnknownFields
  98. FilerGroup string `protobuf:"bytes,1,opt,name=filer_group,json=filerGroup,proto3" json:"filer_group,omitempty"`
  99. }
  100. func (x *FindBrokerLeaderRequest) Reset() {
  101. *x = FindBrokerLeaderRequest{}
  102. if protoimpl.UnsafeEnabled {
  103. mi := &file_mq_proto_msgTypes[1]
  104. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  105. ms.StoreMessageInfo(mi)
  106. }
  107. }
  108. func (x *FindBrokerLeaderRequest) String() string {
  109. return protoimpl.X.MessageStringOf(x)
  110. }
  111. func (*FindBrokerLeaderRequest) ProtoMessage() {}
  112. func (x *FindBrokerLeaderRequest) ProtoReflect() protoreflect.Message {
  113. mi := &file_mq_proto_msgTypes[1]
  114. if protoimpl.UnsafeEnabled && x != nil {
  115. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  116. if ms.LoadMessageInfo() == nil {
  117. ms.StoreMessageInfo(mi)
  118. }
  119. return ms
  120. }
  121. return mi.MessageOf(x)
  122. }
  123. // Deprecated: Use FindBrokerLeaderRequest.ProtoReflect.Descriptor instead.
  124. func (*FindBrokerLeaderRequest) Descriptor() ([]byte, []int) {
  125. return file_mq_proto_rawDescGZIP(), []int{1}
  126. }
  127. func (x *FindBrokerLeaderRequest) GetFilerGroup() string {
  128. if x != nil {
  129. return x.FilerGroup
  130. }
  131. return ""
  132. }
  133. type FindBrokerLeaderResponse struct {
  134. state protoimpl.MessageState
  135. sizeCache protoimpl.SizeCache
  136. unknownFields protoimpl.UnknownFields
  137. Broker string `protobuf:"bytes,1,opt,name=broker,proto3" json:"broker,omitempty"`
  138. }
  139. func (x *FindBrokerLeaderResponse) Reset() {
  140. *x = FindBrokerLeaderResponse{}
  141. if protoimpl.UnsafeEnabled {
  142. mi := &file_mq_proto_msgTypes[2]
  143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  144. ms.StoreMessageInfo(mi)
  145. }
  146. }
  147. func (x *FindBrokerLeaderResponse) String() string {
  148. return protoimpl.X.MessageStringOf(x)
  149. }
  150. func (*FindBrokerLeaderResponse) ProtoMessage() {}
  151. func (x *FindBrokerLeaderResponse) ProtoReflect() protoreflect.Message {
  152. mi := &file_mq_proto_msgTypes[2]
  153. if protoimpl.UnsafeEnabled && x != nil {
  154. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  155. if ms.LoadMessageInfo() == nil {
  156. ms.StoreMessageInfo(mi)
  157. }
  158. return ms
  159. }
  160. return mi.MessageOf(x)
  161. }
  162. // Deprecated: Use FindBrokerLeaderResponse.ProtoReflect.Descriptor instead.
  163. func (*FindBrokerLeaderResponse) Descriptor() ([]byte, []int) {
  164. return file_mq_proto_rawDescGZIP(), []int{2}
  165. }
  166. func (x *FindBrokerLeaderResponse) GetBroker() string {
  167. if x != nil {
  168. return x.Broker
  169. }
  170. return ""
  171. }
  172. type Topic struct {
  173. state protoimpl.MessageState
  174. sizeCache protoimpl.SizeCache
  175. unknownFields protoimpl.UnknownFields
  176. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  177. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  178. }
  179. func (x *Topic) Reset() {
  180. *x = Topic{}
  181. if protoimpl.UnsafeEnabled {
  182. mi := &file_mq_proto_msgTypes[3]
  183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  184. ms.StoreMessageInfo(mi)
  185. }
  186. }
  187. func (x *Topic) String() string {
  188. return protoimpl.X.MessageStringOf(x)
  189. }
  190. func (*Topic) ProtoMessage() {}
  191. func (x *Topic) ProtoReflect() protoreflect.Message {
  192. mi := &file_mq_proto_msgTypes[3]
  193. if protoimpl.UnsafeEnabled && x != nil {
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. if ms.LoadMessageInfo() == nil {
  196. ms.StoreMessageInfo(mi)
  197. }
  198. return ms
  199. }
  200. return mi.MessageOf(x)
  201. }
  202. // Deprecated: Use Topic.ProtoReflect.Descriptor instead.
  203. func (*Topic) Descriptor() ([]byte, []int) {
  204. return file_mq_proto_rawDescGZIP(), []int{3}
  205. }
  206. func (x *Topic) GetNamespace() string {
  207. if x != nil {
  208. return x.Namespace
  209. }
  210. return ""
  211. }
  212. func (x *Topic) GetName() string {
  213. if x != nil {
  214. return x.Name
  215. }
  216. return ""
  217. }
  218. type Partition struct {
  219. state protoimpl.MessageState
  220. sizeCache protoimpl.SizeCache
  221. unknownFields protoimpl.UnknownFields
  222. RingSize int32 `protobuf:"varint,1,opt,name=ring_size,json=ringSize,proto3" json:"ring_size,omitempty"`
  223. RangeStart int32 `protobuf:"varint,2,opt,name=range_start,json=rangeStart,proto3" json:"range_start,omitempty"`
  224. RangeStop int32 `protobuf:"varint,3,opt,name=range_stop,json=rangeStop,proto3" json:"range_stop,omitempty"`
  225. }
  226. func (x *Partition) Reset() {
  227. *x = Partition{}
  228. if protoimpl.UnsafeEnabled {
  229. mi := &file_mq_proto_msgTypes[4]
  230. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  231. ms.StoreMessageInfo(mi)
  232. }
  233. }
  234. func (x *Partition) String() string {
  235. return protoimpl.X.MessageStringOf(x)
  236. }
  237. func (*Partition) ProtoMessage() {}
  238. func (x *Partition) ProtoReflect() protoreflect.Message {
  239. mi := &file_mq_proto_msgTypes[4]
  240. if protoimpl.UnsafeEnabled && x != nil {
  241. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  242. if ms.LoadMessageInfo() == nil {
  243. ms.StoreMessageInfo(mi)
  244. }
  245. return ms
  246. }
  247. return mi.MessageOf(x)
  248. }
  249. // Deprecated: Use Partition.ProtoReflect.Descriptor instead.
  250. func (*Partition) Descriptor() ([]byte, []int) {
  251. return file_mq_proto_rawDescGZIP(), []int{4}
  252. }
  253. func (x *Partition) GetRingSize() int32 {
  254. if x != nil {
  255. return x.RingSize
  256. }
  257. return 0
  258. }
  259. func (x *Partition) GetRangeStart() int32 {
  260. if x != nil {
  261. return x.RangeStart
  262. }
  263. return 0
  264. }
  265. func (x *Partition) GetRangeStop() int32 {
  266. if x != nil {
  267. return x.RangeStop
  268. }
  269. return 0
  270. }
  271. type Segment struct {
  272. state protoimpl.MessageState
  273. sizeCache protoimpl.SizeCache
  274. unknownFields protoimpl.UnknownFields
  275. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  276. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
  277. Id int32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
  278. Partition *Partition `protobuf:"bytes,4,opt,name=partition,proto3" json:"partition,omitempty"`
  279. }
  280. func (x *Segment) Reset() {
  281. *x = Segment{}
  282. if protoimpl.UnsafeEnabled {
  283. mi := &file_mq_proto_msgTypes[5]
  284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  285. ms.StoreMessageInfo(mi)
  286. }
  287. }
  288. func (x *Segment) String() string {
  289. return protoimpl.X.MessageStringOf(x)
  290. }
  291. func (*Segment) ProtoMessage() {}
  292. func (x *Segment) ProtoReflect() protoreflect.Message {
  293. mi := &file_mq_proto_msgTypes[5]
  294. if protoimpl.UnsafeEnabled && x != nil {
  295. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  296. if ms.LoadMessageInfo() == nil {
  297. ms.StoreMessageInfo(mi)
  298. }
  299. return ms
  300. }
  301. return mi.MessageOf(x)
  302. }
  303. // Deprecated: Use Segment.ProtoReflect.Descriptor instead.
  304. func (*Segment) Descriptor() ([]byte, []int) {
  305. return file_mq_proto_rawDescGZIP(), []int{5}
  306. }
  307. func (x *Segment) GetNamespace() string {
  308. if x != nil {
  309. return x.Namespace
  310. }
  311. return ""
  312. }
  313. func (x *Segment) GetTopic() string {
  314. if x != nil {
  315. return x.Topic
  316. }
  317. return ""
  318. }
  319. func (x *Segment) GetId() int32 {
  320. if x != nil {
  321. return x.Id
  322. }
  323. return 0
  324. }
  325. func (x *Segment) GetPartition() *Partition {
  326. if x != nil {
  327. return x.Partition
  328. }
  329. return nil
  330. }
  331. type AssignSegmentBrokersRequest struct {
  332. state protoimpl.MessageState
  333. sizeCache protoimpl.SizeCache
  334. unknownFields protoimpl.UnknownFields
  335. Segment *Segment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
  336. }
  337. func (x *AssignSegmentBrokersRequest) Reset() {
  338. *x = AssignSegmentBrokersRequest{}
  339. if protoimpl.UnsafeEnabled {
  340. mi := &file_mq_proto_msgTypes[6]
  341. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  342. ms.StoreMessageInfo(mi)
  343. }
  344. }
  345. func (x *AssignSegmentBrokersRequest) String() string {
  346. return protoimpl.X.MessageStringOf(x)
  347. }
  348. func (*AssignSegmentBrokersRequest) ProtoMessage() {}
  349. func (x *AssignSegmentBrokersRequest) ProtoReflect() protoreflect.Message {
  350. mi := &file_mq_proto_msgTypes[6]
  351. if protoimpl.UnsafeEnabled && x != nil {
  352. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  353. if ms.LoadMessageInfo() == nil {
  354. ms.StoreMessageInfo(mi)
  355. }
  356. return ms
  357. }
  358. return mi.MessageOf(x)
  359. }
  360. // Deprecated: Use AssignSegmentBrokersRequest.ProtoReflect.Descriptor instead.
  361. func (*AssignSegmentBrokersRequest) Descriptor() ([]byte, []int) {
  362. return file_mq_proto_rawDescGZIP(), []int{6}
  363. }
  364. func (x *AssignSegmentBrokersRequest) GetSegment() *Segment {
  365. if x != nil {
  366. return x.Segment
  367. }
  368. return nil
  369. }
  370. type AssignSegmentBrokersResponse struct {
  371. state protoimpl.MessageState
  372. sizeCache protoimpl.SizeCache
  373. unknownFields protoimpl.UnknownFields
  374. Brokers []string `protobuf:"bytes,1,rep,name=brokers,proto3" json:"brokers,omitempty"`
  375. }
  376. func (x *AssignSegmentBrokersResponse) Reset() {
  377. *x = AssignSegmentBrokersResponse{}
  378. if protoimpl.UnsafeEnabled {
  379. mi := &file_mq_proto_msgTypes[7]
  380. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  381. ms.StoreMessageInfo(mi)
  382. }
  383. }
  384. func (x *AssignSegmentBrokersResponse) String() string {
  385. return protoimpl.X.MessageStringOf(x)
  386. }
  387. func (*AssignSegmentBrokersResponse) ProtoMessage() {}
  388. func (x *AssignSegmentBrokersResponse) ProtoReflect() protoreflect.Message {
  389. mi := &file_mq_proto_msgTypes[7]
  390. if protoimpl.UnsafeEnabled && x != nil {
  391. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  392. if ms.LoadMessageInfo() == nil {
  393. ms.StoreMessageInfo(mi)
  394. }
  395. return ms
  396. }
  397. return mi.MessageOf(x)
  398. }
  399. // Deprecated: Use AssignSegmentBrokersResponse.ProtoReflect.Descriptor instead.
  400. func (*AssignSegmentBrokersResponse) Descriptor() ([]byte, []int) {
  401. return file_mq_proto_rawDescGZIP(), []int{7}
  402. }
  403. func (x *AssignSegmentBrokersResponse) GetBrokers() []string {
  404. if x != nil {
  405. return x.Brokers
  406. }
  407. return nil
  408. }
  409. type CheckSegmentStatusRequest struct {
  410. state protoimpl.MessageState
  411. sizeCache protoimpl.SizeCache
  412. unknownFields protoimpl.UnknownFields
  413. Segment *Segment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
  414. }
  415. func (x *CheckSegmentStatusRequest) Reset() {
  416. *x = CheckSegmentStatusRequest{}
  417. if protoimpl.UnsafeEnabled {
  418. mi := &file_mq_proto_msgTypes[8]
  419. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  420. ms.StoreMessageInfo(mi)
  421. }
  422. }
  423. func (x *CheckSegmentStatusRequest) String() string {
  424. return protoimpl.X.MessageStringOf(x)
  425. }
  426. func (*CheckSegmentStatusRequest) ProtoMessage() {}
  427. func (x *CheckSegmentStatusRequest) ProtoReflect() protoreflect.Message {
  428. mi := &file_mq_proto_msgTypes[8]
  429. if protoimpl.UnsafeEnabled && x != nil {
  430. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  431. if ms.LoadMessageInfo() == nil {
  432. ms.StoreMessageInfo(mi)
  433. }
  434. return ms
  435. }
  436. return mi.MessageOf(x)
  437. }
  438. // Deprecated: Use CheckSegmentStatusRequest.ProtoReflect.Descriptor instead.
  439. func (*CheckSegmentStatusRequest) Descriptor() ([]byte, []int) {
  440. return file_mq_proto_rawDescGZIP(), []int{8}
  441. }
  442. func (x *CheckSegmentStatusRequest) GetSegment() *Segment {
  443. if x != nil {
  444. return x.Segment
  445. }
  446. return nil
  447. }
  448. type CheckSegmentStatusResponse struct {
  449. state protoimpl.MessageState
  450. sizeCache protoimpl.SizeCache
  451. unknownFields protoimpl.UnknownFields
  452. IsActive bool `protobuf:"varint,1,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
  453. }
  454. func (x *CheckSegmentStatusResponse) Reset() {
  455. *x = CheckSegmentStatusResponse{}
  456. if protoimpl.UnsafeEnabled {
  457. mi := &file_mq_proto_msgTypes[9]
  458. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  459. ms.StoreMessageInfo(mi)
  460. }
  461. }
  462. func (x *CheckSegmentStatusResponse) String() string {
  463. return protoimpl.X.MessageStringOf(x)
  464. }
  465. func (*CheckSegmentStatusResponse) ProtoMessage() {}
  466. func (x *CheckSegmentStatusResponse) ProtoReflect() protoreflect.Message {
  467. mi := &file_mq_proto_msgTypes[9]
  468. if protoimpl.UnsafeEnabled && x != nil {
  469. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  470. if ms.LoadMessageInfo() == nil {
  471. ms.StoreMessageInfo(mi)
  472. }
  473. return ms
  474. }
  475. return mi.MessageOf(x)
  476. }
  477. // Deprecated: Use CheckSegmentStatusResponse.ProtoReflect.Descriptor instead.
  478. func (*CheckSegmentStatusResponse) Descriptor() ([]byte, []int) {
  479. return file_mq_proto_rawDescGZIP(), []int{9}
  480. }
  481. func (x *CheckSegmentStatusResponse) GetIsActive() bool {
  482. if x != nil {
  483. return x.IsActive
  484. }
  485. return false
  486. }
  487. type CheckBrokerLoadRequest struct {
  488. state protoimpl.MessageState
  489. sizeCache protoimpl.SizeCache
  490. unknownFields protoimpl.UnknownFields
  491. }
  492. func (x *CheckBrokerLoadRequest) Reset() {
  493. *x = CheckBrokerLoadRequest{}
  494. if protoimpl.UnsafeEnabled {
  495. mi := &file_mq_proto_msgTypes[10]
  496. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  497. ms.StoreMessageInfo(mi)
  498. }
  499. }
  500. func (x *CheckBrokerLoadRequest) String() string {
  501. return protoimpl.X.MessageStringOf(x)
  502. }
  503. func (*CheckBrokerLoadRequest) ProtoMessage() {}
  504. func (x *CheckBrokerLoadRequest) ProtoReflect() protoreflect.Message {
  505. mi := &file_mq_proto_msgTypes[10]
  506. if protoimpl.UnsafeEnabled && x != nil {
  507. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  508. if ms.LoadMessageInfo() == nil {
  509. ms.StoreMessageInfo(mi)
  510. }
  511. return ms
  512. }
  513. return mi.MessageOf(x)
  514. }
  515. // Deprecated: Use CheckBrokerLoadRequest.ProtoReflect.Descriptor instead.
  516. func (*CheckBrokerLoadRequest) Descriptor() ([]byte, []int) {
  517. return file_mq_proto_rawDescGZIP(), []int{10}
  518. }
  519. type CheckBrokerLoadResponse struct {
  520. state protoimpl.MessageState
  521. sizeCache protoimpl.SizeCache
  522. unknownFields protoimpl.UnknownFields
  523. MessageCount int64 `protobuf:"varint,1,opt,name=message_count,json=messageCount,proto3" json:"message_count,omitempty"`
  524. BytesCount int64 `protobuf:"varint,2,opt,name=bytes_count,json=bytesCount,proto3" json:"bytes_count,omitempty"`
  525. }
  526. func (x *CheckBrokerLoadResponse) Reset() {
  527. *x = CheckBrokerLoadResponse{}
  528. if protoimpl.UnsafeEnabled {
  529. mi := &file_mq_proto_msgTypes[11]
  530. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  531. ms.StoreMessageInfo(mi)
  532. }
  533. }
  534. func (x *CheckBrokerLoadResponse) String() string {
  535. return protoimpl.X.MessageStringOf(x)
  536. }
  537. func (*CheckBrokerLoadResponse) ProtoMessage() {}
  538. func (x *CheckBrokerLoadResponse) ProtoReflect() protoreflect.Message {
  539. mi := &file_mq_proto_msgTypes[11]
  540. if protoimpl.UnsafeEnabled && x != nil {
  541. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  542. if ms.LoadMessageInfo() == nil {
  543. ms.StoreMessageInfo(mi)
  544. }
  545. return ms
  546. }
  547. return mi.MessageOf(x)
  548. }
  549. // Deprecated: Use CheckBrokerLoadResponse.ProtoReflect.Descriptor instead.
  550. func (*CheckBrokerLoadResponse) Descriptor() ([]byte, []int) {
  551. return file_mq_proto_rawDescGZIP(), []int{11}
  552. }
  553. func (x *CheckBrokerLoadResponse) GetMessageCount() int64 {
  554. if x != nil {
  555. return x.MessageCount
  556. }
  557. return 0
  558. }
  559. func (x *CheckBrokerLoadResponse) GetBytesCount() int64 {
  560. if x != nil {
  561. return x.BytesCount
  562. }
  563. return 0
  564. }
  565. // ////////////////////////////////////////////////
  566. type BrokerStats struct {
  567. state protoimpl.MessageState
  568. sizeCache protoimpl.SizeCache
  569. unknownFields protoimpl.UnknownFields
  570. CpuUsagePercent int32 `protobuf:"varint,1,opt,name=cpu_usage_percent,json=cpuUsagePercent,proto3" json:"cpu_usage_percent,omitempty"`
  571. Stats map[string]*TopicPartitionStats `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  572. }
  573. func (x *BrokerStats) Reset() {
  574. *x = BrokerStats{}
  575. if protoimpl.UnsafeEnabled {
  576. mi := &file_mq_proto_msgTypes[12]
  577. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  578. ms.StoreMessageInfo(mi)
  579. }
  580. }
  581. func (x *BrokerStats) String() string {
  582. return protoimpl.X.MessageStringOf(x)
  583. }
  584. func (*BrokerStats) ProtoMessage() {}
  585. func (x *BrokerStats) ProtoReflect() protoreflect.Message {
  586. mi := &file_mq_proto_msgTypes[12]
  587. if protoimpl.UnsafeEnabled && x != nil {
  588. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  589. if ms.LoadMessageInfo() == nil {
  590. ms.StoreMessageInfo(mi)
  591. }
  592. return ms
  593. }
  594. return mi.MessageOf(x)
  595. }
  596. // Deprecated: Use BrokerStats.ProtoReflect.Descriptor instead.
  597. func (*BrokerStats) Descriptor() ([]byte, []int) {
  598. return file_mq_proto_rawDescGZIP(), []int{12}
  599. }
  600. func (x *BrokerStats) GetCpuUsagePercent() int32 {
  601. if x != nil {
  602. return x.CpuUsagePercent
  603. }
  604. return 0
  605. }
  606. func (x *BrokerStats) GetStats() map[string]*TopicPartitionStats {
  607. if x != nil {
  608. return x.Stats
  609. }
  610. return nil
  611. }
  612. type TopicPartitionStats struct {
  613. state protoimpl.MessageState
  614. sizeCache protoimpl.SizeCache
  615. unknownFields protoimpl.UnknownFields
  616. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  617. Partition *Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
  618. ConsumerCount int32 `protobuf:"varint,3,opt,name=consumer_count,json=consumerCount,proto3" json:"consumer_count,omitempty"`
  619. IsLeader bool `protobuf:"varint,4,opt,name=is_leader,json=isLeader,proto3" json:"is_leader,omitempty"`
  620. }
  621. func (x *TopicPartitionStats) Reset() {
  622. *x = TopicPartitionStats{}
  623. if protoimpl.UnsafeEnabled {
  624. mi := &file_mq_proto_msgTypes[13]
  625. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  626. ms.StoreMessageInfo(mi)
  627. }
  628. }
  629. func (x *TopicPartitionStats) String() string {
  630. return protoimpl.X.MessageStringOf(x)
  631. }
  632. func (*TopicPartitionStats) ProtoMessage() {}
  633. func (x *TopicPartitionStats) ProtoReflect() protoreflect.Message {
  634. mi := &file_mq_proto_msgTypes[13]
  635. if protoimpl.UnsafeEnabled && x != nil {
  636. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  637. if ms.LoadMessageInfo() == nil {
  638. ms.StoreMessageInfo(mi)
  639. }
  640. return ms
  641. }
  642. return mi.MessageOf(x)
  643. }
  644. // Deprecated: Use TopicPartitionStats.ProtoReflect.Descriptor instead.
  645. func (*TopicPartitionStats) Descriptor() ([]byte, []int) {
  646. return file_mq_proto_rawDescGZIP(), []int{13}
  647. }
  648. func (x *TopicPartitionStats) GetTopic() *Topic {
  649. if x != nil {
  650. return x.Topic
  651. }
  652. return nil
  653. }
  654. func (x *TopicPartitionStats) GetPartition() *Partition {
  655. if x != nil {
  656. return x.Partition
  657. }
  658. return nil
  659. }
  660. func (x *TopicPartitionStats) GetConsumerCount() int32 {
  661. if x != nil {
  662. return x.ConsumerCount
  663. }
  664. return 0
  665. }
  666. func (x *TopicPartitionStats) GetIsLeader() bool {
  667. if x != nil {
  668. return x.IsLeader
  669. }
  670. return false
  671. }
  672. type ConnectToBalancerRequest struct {
  673. state protoimpl.MessageState
  674. sizeCache protoimpl.SizeCache
  675. unknownFields protoimpl.UnknownFields
  676. // Types that are assignable to Message:
  677. //
  678. // *ConnectToBalancerRequest_Init
  679. // *ConnectToBalancerRequest_Stats
  680. Message isConnectToBalancerRequest_Message `protobuf_oneof:"message"`
  681. }
  682. func (x *ConnectToBalancerRequest) Reset() {
  683. *x = ConnectToBalancerRequest{}
  684. if protoimpl.UnsafeEnabled {
  685. mi := &file_mq_proto_msgTypes[14]
  686. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  687. ms.StoreMessageInfo(mi)
  688. }
  689. }
  690. func (x *ConnectToBalancerRequest) String() string {
  691. return protoimpl.X.MessageStringOf(x)
  692. }
  693. func (*ConnectToBalancerRequest) ProtoMessage() {}
  694. func (x *ConnectToBalancerRequest) ProtoReflect() protoreflect.Message {
  695. mi := &file_mq_proto_msgTypes[14]
  696. if protoimpl.UnsafeEnabled && x != nil {
  697. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  698. if ms.LoadMessageInfo() == nil {
  699. ms.StoreMessageInfo(mi)
  700. }
  701. return ms
  702. }
  703. return mi.MessageOf(x)
  704. }
  705. // Deprecated: Use ConnectToBalancerRequest.ProtoReflect.Descriptor instead.
  706. func (*ConnectToBalancerRequest) Descriptor() ([]byte, []int) {
  707. return file_mq_proto_rawDescGZIP(), []int{14}
  708. }
  709. func (m *ConnectToBalancerRequest) GetMessage() isConnectToBalancerRequest_Message {
  710. if m != nil {
  711. return m.Message
  712. }
  713. return nil
  714. }
  715. func (x *ConnectToBalancerRequest) GetInit() *ConnectToBalancerRequest_InitMessage {
  716. if x, ok := x.GetMessage().(*ConnectToBalancerRequest_Init); ok {
  717. return x.Init
  718. }
  719. return nil
  720. }
  721. func (x *ConnectToBalancerRequest) GetStats() *BrokerStats {
  722. if x, ok := x.GetMessage().(*ConnectToBalancerRequest_Stats); ok {
  723. return x.Stats
  724. }
  725. return nil
  726. }
  727. type isConnectToBalancerRequest_Message interface {
  728. isConnectToBalancerRequest_Message()
  729. }
  730. type ConnectToBalancerRequest_Init struct {
  731. Init *ConnectToBalancerRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
  732. }
  733. type ConnectToBalancerRequest_Stats struct {
  734. Stats *BrokerStats `protobuf:"bytes,2,opt,name=stats,proto3,oneof"`
  735. }
  736. func (*ConnectToBalancerRequest_Init) isConnectToBalancerRequest_Message() {}
  737. func (*ConnectToBalancerRequest_Stats) isConnectToBalancerRequest_Message() {}
  738. type ConnectToBalancerResponse struct {
  739. state protoimpl.MessageState
  740. sizeCache protoimpl.SizeCache
  741. unknownFields protoimpl.UnknownFields
  742. }
  743. func (x *ConnectToBalancerResponse) Reset() {
  744. *x = ConnectToBalancerResponse{}
  745. if protoimpl.UnsafeEnabled {
  746. mi := &file_mq_proto_msgTypes[15]
  747. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  748. ms.StoreMessageInfo(mi)
  749. }
  750. }
  751. func (x *ConnectToBalancerResponse) String() string {
  752. return protoimpl.X.MessageStringOf(x)
  753. }
  754. func (*ConnectToBalancerResponse) ProtoMessage() {}
  755. func (x *ConnectToBalancerResponse) ProtoReflect() protoreflect.Message {
  756. mi := &file_mq_proto_msgTypes[15]
  757. if protoimpl.UnsafeEnabled && x != nil {
  758. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  759. if ms.LoadMessageInfo() == nil {
  760. ms.StoreMessageInfo(mi)
  761. }
  762. return ms
  763. }
  764. return mi.MessageOf(x)
  765. }
  766. // Deprecated: Use ConnectToBalancerResponse.ProtoReflect.Descriptor instead.
  767. func (*ConnectToBalancerResponse) Descriptor() ([]byte, []int) {
  768. return file_mq_proto_rawDescGZIP(), []int{15}
  769. }
  770. // ////////////////////////////////////////////////
  771. type CreateTopicRequest struct {
  772. state protoimpl.MessageState
  773. sizeCache protoimpl.SizeCache
  774. unknownFields protoimpl.UnknownFields
  775. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  776. PartitionCount int32 `protobuf:"varint,2,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"`
  777. }
  778. func (x *CreateTopicRequest) Reset() {
  779. *x = CreateTopicRequest{}
  780. if protoimpl.UnsafeEnabled {
  781. mi := &file_mq_proto_msgTypes[16]
  782. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  783. ms.StoreMessageInfo(mi)
  784. }
  785. }
  786. func (x *CreateTopicRequest) String() string {
  787. return protoimpl.X.MessageStringOf(x)
  788. }
  789. func (*CreateTopicRequest) ProtoMessage() {}
  790. func (x *CreateTopicRequest) ProtoReflect() protoreflect.Message {
  791. mi := &file_mq_proto_msgTypes[16]
  792. if protoimpl.UnsafeEnabled && x != nil {
  793. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  794. if ms.LoadMessageInfo() == nil {
  795. ms.StoreMessageInfo(mi)
  796. }
  797. return ms
  798. }
  799. return mi.MessageOf(x)
  800. }
  801. // Deprecated: Use CreateTopicRequest.ProtoReflect.Descriptor instead.
  802. func (*CreateTopicRequest) Descriptor() ([]byte, []int) {
  803. return file_mq_proto_rawDescGZIP(), []int{16}
  804. }
  805. func (x *CreateTopicRequest) GetTopic() *Topic {
  806. if x != nil {
  807. return x.Topic
  808. }
  809. return nil
  810. }
  811. func (x *CreateTopicRequest) GetPartitionCount() int32 {
  812. if x != nil {
  813. return x.PartitionCount
  814. }
  815. return 0
  816. }
  817. type CreateTopicResponse struct {
  818. state protoimpl.MessageState
  819. sizeCache protoimpl.SizeCache
  820. unknownFields protoimpl.UnknownFields
  821. BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,2,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
  822. }
  823. func (x *CreateTopicResponse) Reset() {
  824. *x = CreateTopicResponse{}
  825. if protoimpl.UnsafeEnabled {
  826. mi := &file_mq_proto_msgTypes[17]
  827. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  828. ms.StoreMessageInfo(mi)
  829. }
  830. }
  831. func (x *CreateTopicResponse) String() string {
  832. return protoimpl.X.MessageStringOf(x)
  833. }
  834. func (*CreateTopicResponse) ProtoMessage() {}
  835. func (x *CreateTopicResponse) ProtoReflect() protoreflect.Message {
  836. mi := &file_mq_proto_msgTypes[17]
  837. if protoimpl.UnsafeEnabled && x != nil {
  838. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  839. if ms.LoadMessageInfo() == nil {
  840. ms.StoreMessageInfo(mi)
  841. }
  842. return ms
  843. }
  844. return mi.MessageOf(x)
  845. }
  846. // Deprecated: Use CreateTopicResponse.ProtoReflect.Descriptor instead.
  847. func (*CreateTopicResponse) Descriptor() ([]byte, []int) {
  848. return file_mq_proto_rawDescGZIP(), []int{17}
  849. }
  850. func (x *CreateTopicResponse) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
  851. if x != nil {
  852. return x.BrokerPartitionAssignments
  853. }
  854. return nil
  855. }
  856. type DoCreateTopicRequest struct {
  857. state protoimpl.MessageState
  858. sizeCache protoimpl.SizeCache
  859. unknownFields protoimpl.UnknownFields
  860. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  861. Partition *Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
  862. }
  863. func (x *DoCreateTopicRequest) Reset() {
  864. *x = DoCreateTopicRequest{}
  865. if protoimpl.UnsafeEnabled {
  866. mi := &file_mq_proto_msgTypes[18]
  867. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  868. ms.StoreMessageInfo(mi)
  869. }
  870. }
  871. func (x *DoCreateTopicRequest) String() string {
  872. return protoimpl.X.MessageStringOf(x)
  873. }
  874. func (*DoCreateTopicRequest) ProtoMessage() {}
  875. func (x *DoCreateTopicRequest) ProtoReflect() protoreflect.Message {
  876. mi := &file_mq_proto_msgTypes[18]
  877. if protoimpl.UnsafeEnabled && x != nil {
  878. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  879. if ms.LoadMessageInfo() == nil {
  880. ms.StoreMessageInfo(mi)
  881. }
  882. return ms
  883. }
  884. return mi.MessageOf(x)
  885. }
  886. // Deprecated: Use DoCreateTopicRequest.ProtoReflect.Descriptor instead.
  887. func (*DoCreateTopicRequest) Descriptor() ([]byte, []int) {
  888. return file_mq_proto_rawDescGZIP(), []int{18}
  889. }
  890. func (x *DoCreateTopicRequest) GetTopic() *Topic {
  891. if x != nil {
  892. return x.Topic
  893. }
  894. return nil
  895. }
  896. func (x *DoCreateTopicRequest) GetPartition() *Partition {
  897. if x != nil {
  898. return x.Partition
  899. }
  900. return nil
  901. }
  902. type DoCreateTopicResponse struct {
  903. state protoimpl.MessageState
  904. sizeCache protoimpl.SizeCache
  905. unknownFields protoimpl.UnknownFields
  906. }
  907. func (x *DoCreateTopicResponse) Reset() {
  908. *x = DoCreateTopicResponse{}
  909. if protoimpl.UnsafeEnabled {
  910. mi := &file_mq_proto_msgTypes[19]
  911. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  912. ms.StoreMessageInfo(mi)
  913. }
  914. }
  915. func (x *DoCreateTopicResponse) String() string {
  916. return protoimpl.X.MessageStringOf(x)
  917. }
  918. func (*DoCreateTopicResponse) ProtoMessage() {}
  919. func (x *DoCreateTopicResponse) ProtoReflect() protoreflect.Message {
  920. mi := &file_mq_proto_msgTypes[19]
  921. if protoimpl.UnsafeEnabled && x != nil {
  922. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  923. if ms.LoadMessageInfo() == nil {
  924. ms.StoreMessageInfo(mi)
  925. }
  926. return ms
  927. }
  928. return mi.MessageOf(x)
  929. }
  930. // Deprecated: Use DoCreateTopicResponse.ProtoReflect.Descriptor instead.
  931. func (*DoCreateTopicResponse) Descriptor() ([]byte, []int) {
  932. return file_mq_proto_rawDescGZIP(), []int{19}
  933. }
  934. type ListTopicsRequest struct {
  935. state protoimpl.MessageState
  936. sizeCache protoimpl.SizeCache
  937. unknownFields protoimpl.UnknownFields
  938. }
  939. func (x *ListTopicsRequest) Reset() {
  940. *x = ListTopicsRequest{}
  941. if protoimpl.UnsafeEnabled {
  942. mi := &file_mq_proto_msgTypes[20]
  943. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  944. ms.StoreMessageInfo(mi)
  945. }
  946. }
  947. func (x *ListTopicsRequest) String() string {
  948. return protoimpl.X.MessageStringOf(x)
  949. }
  950. func (*ListTopicsRequest) ProtoMessage() {}
  951. func (x *ListTopicsRequest) ProtoReflect() protoreflect.Message {
  952. mi := &file_mq_proto_msgTypes[20]
  953. if protoimpl.UnsafeEnabled && x != nil {
  954. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  955. if ms.LoadMessageInfo() == nil {
  956. ms.StoreMessageInfo(mi)
  957. }
  958. return ms
  959. }
  960. return mi.MessageOf(x)
  961. }
  962. // Deprecated: Use ListTopicsRequest.ProtoReflect.Descriptor instead.
  963. func (*ListTopicsRequest) Descriptor() ([]byte, []int) {
  964. return file_mq_proto_rawDescGZIP(), []int{20}
  965. }
  966. type ListTopicsResponse struct {
  967. state protoimpl.MessageState
  968. sizeCache protoimpl.SizeCache
  969. unknownFields protoimpl.UnknownFields
  970. Topics []*Topic `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"`
  971. }
  972. func (x *ListTopicsResponse) Reset() {
  973. *x = ListTopicsResponse{}
  974. if protoimpl.UnsafeEnabled {
  975. mi := &file_mq_proto_msgTypes[21]
  976. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  977. ms.StoreMessageInfo(mi)
  978. }
  979. }
  980. func (x *ListTopicsResponse) String() string {
  981. return protoimpl.X.MessageStringOf(x)
  982. }
  983. func (*ListTopicsResponse) ProtoMessage() {}
  984. func (x *ListTopicsResponse) ProtoReflect() protoreflect.Message {
  985. mi := &file_mq_proto_msgTypes[21]
  986. if protoimpl.UnsafeEnabled && x != nil {
  987. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  988. if ms.LoadMessageInfo() == nil {
  989. ms.StoreMessageInfo(mi)
  990. }
  991. return ms
  992. }
  993. return mi.MessageOf(x)
  994. }
  995. // Deprecated: Use ListTopicsResponse.ProtoReflect.Descriptor instead.
  996. func (*ListTopicsResponse) Descriptor() ([]byte, []int) {
  997. return file_mq_proto_rawDescGZIP(), []int{21}
  998. }
  999. func (x *ListTopicsResponse) GetTopics() []*Topic {
  1000. if x != nil {
  1001. return x.Topics
  1002. }
  1003. return nil
  1004. }
  1005. type LookupTopicBrokersRequest struct {
  1006. state protoimpl.MessageState
  1007. sizeCache protoimpl.SizeCache
  1008. unknownFields protoimpl.UnknownFields
  1009. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  1010. IsForPublish bool `protobuf:"varint,2,opt,name=is_for_publish,json=isForPublish,proto3" json:"is_for_publish,omitempty"`
  1011. }
  1012. func (x *LookupTopicBrokersRequest) Reset() {
  1013. *x = LookupTopicBrokersRequest{}
  1014. if protoimpl.UnsafeEnabled {
  1015. mi := &file_mq_proto_msgTypes[22]
  1016. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1017. ms.StoreMessageInfo(mi)
  1018. }
  1019. }
  1020. func (x *LookupTopicBrokersRequest) String() string {
  1021. return protoimpl.X.MessageStringOf(x)
  1022. }
  1023. func (*LookupTopicBrokersRequest) ProtoMessage() {}
  1024. func (x *LookupTopicBrokersRequest) ProtoReflect() protoreflect.Message {
  1025. mi := &file_mq_proto_msgTypes[22]
  1026. if protoimpl.UnsafeEnabled && x != nil {
  1027. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1028. if ms.LoadMessageInfo() == nil {
  1029. ms.StoreMessageInfo(mi)
  1030. }
  1031. return ms
  1032. }
  1033. return mi.MessageOf(x)
  1034. }
  1035. // Deprecated: Use LookupTopicBrokersRequest.ProtoReflect.Descriptor instead.
  1036. func (*LookupTopicBrokersRequest) Descriptor() ([]byte, []int) {
  1037. return file_mq_proto_rawDescGZIP(), []int{22}
  1038. }
  1039. func (x *LookupTopicBrokersRequest) GetTopic() *Topic {
  1040. if x != nil {
  1041. return x.Topic
  1042. }
  1043. return nil
  1044. }
  1045. func (x *LookupTopicBrokersRequest) GetIsForPublish() bool {
  1046. if x != nil {
  1047. return x.IsForPublish
  1048. }
  1049. return false
  1050. }
  1051. type LookupTopicBrokersResponse struct {
  1052. state protoimpl.MessageState
  1053. sizeCache protoimpl.SizeCache
  1054. unknownFields protoimpl.UnknownFields
  1055. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  1056. BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,2,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
  1057. }
  1058. func (x *LookupTopicBrokersResponse) Reset() {
  1059. *x = LookupTopicBrokersResponse{}
  1060. if protoimpl.UnsafeEnabled {
  1061. mi := &file_mq_proto_msgTypes[23]
  1062. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1063. ms.StoreMessageInfo(mi)
  1064. }
  1065. }
  1066. func (x *LookupTopicBrokersResponse) String() string {
  1067. return protoimpl.X.MessageStringOf(x)
  1068. }
  1069. func (*LookupTopicBrokersResponse) ProtoMessage() {}
  1070. func (x *LookupTopicBrokersResponse) ProtoReflect() protoreflect.Message {
  1071. mi := &file_mq_proto_msgTypes[23]
  1072. if protoimpl.UnsafeEnabled && x != nil {
  1073. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1074. if ms.LoadMessageInfo() == nil {
  1075. ms.StoreMessageInfo(mi)
  1076. }
  1077. return ms
  1078. }
  1079. return mi.MessageOf(x)
  1080. }
  1081. // Deprecated: Use LookupTopicBrokersResponse.ProtoReflect.Descriptor instead.
  1082. func (*LookupTopicBrokersResponse) Descriptor() ([]byte, []int) {
  1083. return file_mq_proto_rawDescGZIP(), []int{23}
  1084. }
  1085. func (x *LookupTopicBrokersResponse) GetTopic() *Topic {
  1086. if x != nil {
  1087. return x.Topic
  1088. }
  1089. return nil
  1090. }
  1091. func (x *LookupTopicBrokersResponse) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
  1092. if x != nil {
  1093. return x.BrokerPartitionAssignments
  1094. }
  1095. return nil
  1096. }
  1097. type BrokerPartitionAssignment struct {
  1098. state protoimpl.MessageState
  1099. sizeCache protoimpl.SizeCache
  1100. unknownFields protoimpl.UnknownFields
  1101. Partition *Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
  1102. LeaderBroker string `protobuf:"bytes,2,opt,name=leader_broker,json=leaderBroker,proto3" json:"leader_broker,omitempty"`
  1103. FollowerBrokers []string `protobuf:"bytes,3,rep,name=follower_brokers,json=followerBrokers,proto3" json:"follower_brokers,omitempty"`
  1104. }
  1105. func (x *BrokerPartitionAssignment) Reset() {
  1106. *x = BrokerPartitionAssignment{}
  1107. if protoimpl.UnsafeEnabled {
  1108. mi := &file_mq_proto_msgTypes[24]
  1109. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1110. ms.StoreMessageInfo(mi)
  1111. }
  1112. }
  1113. func (x *BrokerPartitionAssignment) String() string {
  1114. return protoimpl.X.MessageStringOf(x)
  1115. }
  1116. func (*BrokerPartitionAssignment) ProtoMessage() {}
  1117. func (x *BrokerPartitionAssignment) ProtoReflect() protoreflect.Message {
  1118. mi := &file_mq_proto_msgTypes[24]
  1119. if protoimpl.UnsafeEnabled && x != nil {
  1120. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1121. if ms.LoadMessageInfo() == nil {
  1122. ms.StoreMessageInfo(mi)
  1123. }
  1124. return ms
  1125. }
  1126. return mi.MessageOf(x)
  1127. }
  1128. // Deprecated: Use BrokerPartitionAssignment.ProtoReflect.Descriptor instead.
  1129. func (*BrokerPartitionAssignment) Descriptor() ([]byte, []int) {
  1130. return file_mq_proto_rawDescGZIP(), []int{24}
  1131. }
  1132. func (x *BrokerPartitionAssignment) GetPartition() *Partition {
  1133. if x != nil {
  1134. return x.Partition
  1135. }
  1136. return nil
  1137. }
  1138. func (x *BrokerPartitionAssignment) GetLeaderBroker() string {
  1139. if x != nil {
  1140. return x.LeaderBroker
  1141. }
  1142. return ""
  1143. }
  1144. func (x *BrokerPartitionAssignment) GetFollowerBrokers() []string {
  1145. if x != nil {
  1146. return x.FollowerBrokers
  1147. }
  1148. return nil
  1149. }
  1150. type RequestTopicPartitionsRequest struct {
  1151. state protoimpl.MessageState
  1152. sizeCache protoimpl.SizeCache
  1153. unknownFields protoimpl.UnknownFields
  1154. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  1155. PartitionCount int32 `protobuf:"varint,2,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"`
  1156. }
  1157. func (x *RequestTopicPartitionsRequest) Reset() {
  1158. *x = RequestTopicPartitionsRequest{}
  1159. if protoimpl.UnsafeEnabled {
  1160. mi := &file_mq_proto_msgTypes[25]
  1161. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1162. ms.StoreMessageInfo(mi)
  1163. }
  1164. }
  1165. func (x *RequestTopicPartitionsRequest) String() string {
  1166. return protoimpl.X.MessageStringOf(x)
  1167. }
  1168. func (*RequestTopicPartitionsRequest) ProtoMessage() {}
  1169. func (x *RequestTopicPartitionsRequest) ProtoReflect() protoreflect.Message {
  1170. mi := &file_mq_proto_msgTypes[25]
  1171. if protoimpl.UnsafeEnabled && x != nil {
  1172. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1173. if ms.LoadMessageInfo() == nil {
  1174. ms.StoreMessageInfo(mi)
  1175. }
  1176. return ms
  1177. }
  1178. return mi.MessageOf(x)
  1179. }
  1180. // Deprecated: Use RequestTopicPartitionsRequest.ProtoReflect.Descriptor instead.
  1181. func (*RequestTopicPartitionsRequest) Descriptor() ([]byte, []int) {
  1182. return file_mq_proto_rawDescGZIP(), []int{25}
  1183. }
  1184. func (x *RequestTopicPartitionsRequest) GetTopic() *Topic {
  1185. if x != nil {
  1186. return x.Topic
  1187. }
  1188. return nil
  1189. }
  1190. func (x *RequestTopicPartitionsRequest) GetPartitionCount() int32 {
  1191. if x != nil {
  1192. return x.PartitionCount
  1193. }
  1194. return 0
  1195. }
  1196. type RequestTopicPartitionsResponse struct {
  1197. state protoimpl.MessageState
  1198. sizeCache protoimpl.SizeCache
  1199. unknownFields protoimpl.UnknownFields
  1200. BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,1,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
  1201. }
  1202. func (x *RequestTopicPartitionsResponse) Reset() {
  1203. *x = RequestTopicPartitionsResponse{}
  1204. if protoimpl.UnsafeEnabled {
  1205. mi := &file_mq_proto_msgTypes[26]
  1206. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1207. ms.StoreMessageInfo(mi)
  1208. }
  1209. }
  1210. func (x *RequestTopicPartitionsResponse) String() string {
  1211. return protoimpl.X.MessageStringOf(x)
  1212. }
  1213. func (*RequestTopicPartitionsResponse) ProtoMessage() {}
  1214. func (x *RequestTopicPartitionsResponse) ProtoReflect() protoreflect.Message {
  1215. mi := &file_mq_proto_msgTypes[26]
  1216. if protoimpl.UnsafeEnabled && x != nil {
  1217. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1218. if ms.LoadMessageInfo() == nil {
  1219. ms.StoreMessageInfo(mi)
  1220. }
  1221. return ms
  1222. }
  1223. return mi.MessageOf(x)
  1224. }
  1225. // Deprecated: Use RequestTopicPartitionsResponse.ProtoReflect.Descriptor instead.
  1226. func (*RequestTopicPartitionsResponse) Descriptor() ([]byte, []int) {
  1227. return file_mq_proto_rawDescGZIP(), []int{26}
  1228. }
  1229. func (x *RequestTopicPartitionsResponse) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
  1230. if x != nil {
  1231. return x.BrokerPartitionAssignments
  1232. }
  1233. return nil
  1234. }
  1235. type AssignTopicPartitionsRequest struct {
  1236. state protoimpl.MessageState
  1237. sizeCache protoimpl.SizeCache
  1238. unknownFields protoimpl.UnknownFields
  1239. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  1240. BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,2,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
  1241. IsLeader bool `protobuf:"varint,3,opt,name=is_leader,json=isLeader,proto3" json:"is_leader,omitempty"`
  1242. }
  1243. func (x *AssignTopicPartitionsRequest) Reset() {
  1244. *x = AssignTopicPartitionsRequest{}
  1245. if protoimpl.UnsafeEnabled {
  1246. mi := &file_mq_proto_msgTypes[27]
  1247. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1248. ms.StoreMessageInfo(mi)
  1249. }
  1250. }
  1251. func (x *AssignTopicPartitionsRequest) String() string {
  1252. return protoimpl.X.MessageStringOf(x)
  1253. }
  1254. func (*AssignTopicPartitionsRequest) ProtoMessage() {}
  1255. func (x *AssignTopicPartitionsRequest) ProtoReflect() protoreflect.Message {
  1256. mi := &file_mq_proto_msgTypes[27]
  1257. if protoimpl.UnsafeEnabled && x != nil {
  1258. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1259. if ms.LoadMessageInfo() == nil {
  1260. ms.StoreMessageInfo(mi)
  1261. }
  1262. return ms
  1263. }
  1264. return mi.MessageOf(x)
  1265. }
  1266. // Deprecated: Use AssignTopicPartitionsRequest.ProtoReflect.Descriptor instead.
  1267. func (*AssignTopicPartitionsRequest) Descriptor() ([]byte, []int) {
  1268. return file_mq_proto_rawDescGZIP(), []int{27}
  1269. }
  1270. func (x *AssignTopicPartitionsRequest) GetTopic() *Topic {
  1271. if x != nil {
  1272. return x.Topic
  1273. }
  1274. return nil
  1275. }
  1276. func (x *AssignTopicPartitionsRequest) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
  1277. if x != nil {
  1278. return x.BrokerPartitionAssignments
  1279. }
  1280. return nil
  1281. }
  1282. func (x *AssignTopicPartitionsRequest) GetIsLeader() bool {
  1283. if x != nil {
  1284. return x.IsLeader
  1285. }
  1286. return false
  1287. }
  1288. type AssignTopicPartitionsResponse struct {
  1289. state protoimpl.MessageState
  1290. sizeCache protoimpl.SizeCache
  1291. unknownFields protoimpl.UnknownFields
  1292. }
  1293. func (x *AssignTopicPartitionsResponse) Reset() {
  1294. *x = AssignTopicPartitionsResponse{}
  1295. if protoimpl.UnsafeEnabled {
  1296. mi := &file_mq_proto_msgTypes[28]
  1297. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1298. ms.StoreMessageInfo(mi)
  1299. }
  1300. }
  1301. func (x *AssignTopicPartitionsResponse) String() string {
  1302. return protoimpl.X.MessageStringOf(x)
  1303. }
  1304. func (*AssignTopicPartitionsResponse) ProtoMessage() {}
  1305. func (x *AssignTopicPartitionsResponse) ProtoReflect() protoreflect.Message {
  1306. mi := &file_mq_proto_msgTypes[28]
  1307. if protoimpl.UnsafeEnabled && x != nil {
  1308. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1309. if ms.LoadMessageInfo() == nil {
  1310. ms.StoreMessageInfo(mi)
  1311. }
  1312. return ms
  1313. }
  1314. return mi.MessageOf(x)
  1315. }
  1316. // Deprecated: Use AssignTopicPartitionsResponse.ProtoReflect.Descriptor instead.
  1317. func (*AssignTopicPartitionsResponse) Descriptor() ([]byte, []int) {
  1318. return file_mq_proto_rawDescGZIP(), []int{28}
  1319. }
  1320. type CheckTopicPartitionsStatusRequest struct {
  1321. state protoimpl.MessageState
  1322. sizeCache protoimpl.SizeCache
  1323. unknownFields protoimpl.UnknownFields
  1324. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  1325. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
  1326. BrokerPartitionAssignment *BrokerPartitionAssignment `protobuf:"bytes,3,opt,name=broker_partition_assignment,json=brokerPartitionAssignment,proto3" json:"broker_partition_assignment,omitempty"`
  1327. ShouldCancelIfNotMatch bool `protobuf:"varint,4,opt,name=should_cancel_if_not_match,json=shouldCancelIfNotMatch,proto3" json:"should_cancel_if_not_match,omitempty"`
  1328. }
  1329. func (x *CheckTopicPartitionsStatusRequest) Reset() {
  1330. *x = CheckTopicPartitionsStatusRequest{}
  1331. if protoimpl.UnsafeEnabled {
  1332. mi := &file_mq_proto_msgTypes[29]
  1333. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1334. ms.StoreMessageInfo(mi)
  1335. }
  1336. }
  1337. func (x *CheckTopicPartitionsStatusRequest) String() string {
  1338. return protoimpl.X.MessageStringOf(x)
  1339. }
  1340. func (*CheckTopicPartitionsStatusRequest) ProtoMessage() {}
  1341. func (x *CheckTopicPartitionsStatusRequest) ProtoReflect() protoreflect.Message {
  1342. mi := &file_mq_proto_msgTypes[29]
  1343. if protoimpl.UnsafeEnabled && x != nil {
  1344. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1345. if ms.LoadMessageInfo() == nil {
  1346. ms.StoreMessageInfo(mi)
  1347. }
  1348. return ms
  1349. }
  1350. return mi.MessageOf(x)
  1351. }
  1352. // Deprecated: Use CheckTopicPartitionsStatusRequest.ProtoReflect.Descriptor instead.
  1353. func (*CheckTopicPartitionsStatusRequest) Descriptor() ([]byte, []int) {
  1354. return file_mq_proto_rawDescGZIP(), []int{29}
  1355. }
  1356. func (x *CheckTopicPartitionsStatusRequest) GetNamespace() string {
  1357. if x != nil {
  1358. return x.Namespace
  1359. }
  1360. return ""
  1361. }
  1362. func (x *CheckTopicPartitionsStatusRequest) GetTopic() string {
  1363. if x != nil {
  1364. return x.Topic
  1365. }
  1366. return ""
  1367. }
  1368. func (x *CheckTopicPartitionsStatusRequest) GetBrokerPartitionAssignment() *BrokerPartitionAssignment {
  1369. if x != nil {
  1370. return x.BrokerPartitionAssignment
  1371. }
  1372. return nil
  1373. }
  1374. func (x *CheckTopicPartitionsStatusRequest) GetShouldCancelIfNotMatch() bool {
  1375. if x != nil {
  1376. return x.ShouldCancelIfNotMatch
  1377. }
  1378. return false
  1379. }
  1380. type CheckTopicPartitionsStatusResponse struct {
  1381. state protoimpl.MessageState
  1382. sizeCache protoimpl.SizeCache
  1383. unknownFields protoimpl.UnknownFields
  1384. BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,1,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
  1385. }
  1386. func (x *CheckTopicPartitionsStatusResponse) Reset() {
  1387. *x = CheckTopicPartitionsStatusResponse{}
  1388. if protoimpl.UnsafeEnabled {
  1389. mi := &file_mq_proto_msgTypes[30]
  1390. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1391. ms.StoreMessageInfo(mi)
  1392. }
  1393. }
  1394. func (x *CheckTopicPartitionsStatusResponse) String() string {
  1395. return protoimpl.X.MessageStringOf(x)
  1396. }
  1397. func (*CheckTopicPartitionsStatusResponse) ProtoMessage() {}
  1398. func (x *CheckTopicPartitionsStatusResponse) ProtoReflect() protoreflect.Message {
  1399. mi := &file_mq_proto_msgTypes[30]
  1400. if protoimpl.UnsafeEnabled && x != nil {
  1401. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1402. if ms.LoadMessageInfo() == nil {
  1403. ms.StoreMessageInfo(mi)
  1404. }
  1405. return ms
  1406. }
  1407. return mi.MessageOf(x)
  1408. }
  1409. // Deprecated: Use CheckTopicPartitionsStatusResponse.ProtoReflect.Descriptor instead.
  1410. func (*CheckTopicPartitionsStatusResponse) Descriptor() ([]byte, []int) {
  1411. return file_mq_proto_rawDescGZIP(), []int{30}
  1412. }
  1413. func (x *CheckTopicPartitionsStatusResponse) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
  1414. if x != nil {
  1415. return x.BrokerPartitionAssignments
  1416. }
  1417. return nil
  1418. }
  1419. // ////////////////////////////////////////////////
  1420. type DataMessage struct {
  1421. state protoimpl.MessageState
  1422. sizeCache protoimpl.SizeCache
  1423. unknownFields protoimpl.UnknownFields
  1424. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  1425. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  1426. }
  1427. func (x *DataMessage) Reset() {
  1428. *x = DataMessage{}
  1429. if protoimpl.UnsafeEnabled {
  1430. mi := &file_mq_proto_msgTypes[31]
  1431. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1432. ms.StoreMessageInfo(mi)
  1433. }
  1434. }
  1435. func (x *DataMessage) String() string {
  1436. return protoimpl.X.MessageStringOf(x)
  1437. }
  1438. func (*DataMessage) ProtoMessage() {}
  1439. func (x *DataMessage) ProtoReflect() protoreflect.Message {
  1440. mi := &file_mq_proto_msgTypes[31]
  1441. if protoimpl.UnsafeEnabled && x != nil {
  1442. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1443. if ms.LoadMessageInfo() == nil {
  1444. ms.StoreMessageInfo(mi)
  1445. }
  1446. return ms
  1447. }
  1448. return mi.MessageOf(x)
  1449. }
  1450. // Deprecated: Use DataMessage.ProtoReflect.Descriptor instead.
  1451. func (*DataMessage) Descriptor() ([]byte, []int) {
  1452. return file_mq_proto_rawDescGZIP(), []int{31}
  1453. }
  1454. func (x *DataMessage) GetKey() []byte {
  1455. if x != nil {
  1456. return x.Key
  1457. }
  1458. return nil
  1459. }
  1460. func (x *DataMessage) GetValue() []byte {
  1461. if x != nil {
  1462. return x.Value
  1463. }
  1464. return nil
  1465. }
  1466. type PublishRequest struct {
  1467. state protoimpl.MessageState
  1468. sizeCache protoimpl.SizeCache
  1469. unknownFields protoimpl.UnknownFields
  1470. // Types that are assignable to Message:
  1471. //
  1472. // *PublishRequest_Init
  1473. // *PublishRequest_Data
  1474. Message isPublishRequest_Message `protobuf_oneof:"message"`
  1475. Sequence int64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
  1476. }
  1477. func (x *PublishRequest) Reset() {
  1478. *x = PublishRequest{}
  1479. if protoimpl.UnsafeEnabled {
  1480. mi := &file_mq_proto_msgTypes[32]
  1481. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1482. ms.StoreMessageInfo(mi)
  1483. }
  1484. }
  1485. func (x *PublishRequest) String() string {
  1486. return protoimpl.X.MessageStringOf(x)
  1487. }
  1488. func (*PublishRequest) ProtoMessage() {}
  1489. func (x *PublishRequest) ProtoReflect() protoreflect.Message {
  1490. mi := &file_mq_proto_msgTypes[32]
  1491. if protoimpl.UnsafeEnabled && x != nil {
  1492. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1493. if ms.LoadMessageInfo() == nil {
  1494. ms.StoreMessageInfo(mi)
  1495. }
  1496. return ms
  1497. }
  1498. return mi.MessageOf(x)
  1499. }
  1500. // Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.
  1501. func (*PublishRequest) Descriptor() ([]byte, []int) {
  1502. return file_mq_proto_rawDescGZIP(), []int{32}
  1503. }
  1504. func (m *PublishRequest) GetMessage() isPublishRequest_Message {
  1505. if m != nil {
  1506. return m.Message
  1507. }
  1508. return nil
  1509. }
  1510. func (x *PublishRequest) GetInit() *PublishRequest_InitMessage {
  1511. if x, ok := x.GetMessage().(*PublishRequest_Init); ok {
  1512. return x.Init
  1513. }
  1514. return nil
  1515. }
  1516. func (x *PublishRequest) GetData() *DataMessage {
  1517. if x, ok := x.GetMessage().(*PublishRequest_Data); ok {
  1518. return x.Data
  1519. }
  1520. return nil
  1521. }
  1522. func (x *PublishRequest) GetSequence() int64 {
  1523. if x != nil {
  1524. return x.Sequence
  1525. }
  1526. return 0
  1527. }
  1528. type isPublishRequest_Message interface {
  1529. isPublishRequest_Message()
  1530. }
  1531. type PublishRequest_Init struct {
  1532. Init *PublishRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
  1533. }
  1534. type PublishRequest_Data struct {
  1535. Data *DataMessage `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
  1536. }
  1537. func (*PublishRequest_Init) isPublishRequest_Message() {}
  1538. func (*PublishRequest_Data) isPublishRequest_Message() {}
  1539. type PublishResponse struct {
  1540. state protoimpl.MessageState
  1541. sizeCache protoimpl.SizeCache
  1542. unknownFields protoimpl.UnknownFields
  1543. AckSequence int64 `protobuf:"varint,1,opt,name=ack_sequence,json=ackSequence,proto3" json:"ack_sequence,omitempty"`
  1544. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
  1545. RedirectToBroker string `protobuf:"bytes,3,opt,name=redirect_to_broker,json=redirectToBroker,proto3" json:"redirect_to_broker,omitempty"`
  1546. }
  1547. func (x *PublishResponse) Reset() {
  1548. *x = PublishResponse{}
  1549. if protoimpl.UnsafeEnabled {
  1550. mi := &file_mq_proto_msgTypes[33]
  1551. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1552. ms.StoreMessageInfo(mi)
  1553. }
  1554. }
  1555. func (x *PublishResponse) String() string {
  1556. return protoimpl.X.MessageStringOf(x)
  1557. }
  1558. func (*PublishResponse) ProtoMessage() {}
  1559. func (x *PublishResponse) ProtoReflect() protoreflect.Message {
  1560. mi := &file_mq_proto_msgTypes[33]
  1561. if protoimpl.UnsafeEnabled && x != nil {
  1562. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1563. if ms.LoadMessageInfo() == nil {
  1564. ms.StoreMessageInfo(mi)
  1565. }
  1566. return ms
  1567. }
  1568. return mi.MessageOf(x)
  1569. }
  1570. // Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.
  1571. func (*PublishResponse) Descriptor() ([]byte, []int) {
  1572. return file_mq_proto_rawDescGZIP(), []int{33}
  1573. }
  1574. func (x *PublishResponse) GetAckSequence() int64 {
  1575. if x != nil {
  1576. return x.AckSequence
  1577. }
  1578. return 0
  1579. }
  1580. func (x *PublishResponse) GetError() string {
  1581. if x != nil {
  1582. return x.Error
  1583. }
  1584. return ""
  1585. }
  1586. func (x *PublishResponse) GetRedirectToBroker() string {
  1587. if x != nil {
  1588. return x.RedirectToBroker
  1589. }
  1590. return ""
  1591. }
  1592. type SubscribeRequest struct {
  1593. state protoimpl.MessageState
  1594. sizeCache protoimpl.SizeCache
  1595. unknownFields protoimpl.UnknownFields
  1596. Consumer *SubscribeRequest_Consumer `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"`
  1597. Cursor *SubscribeRequest_Cursor `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
  1598. }
  1599. func (x *SubscribeRequest) Reset() {
  1600. *x = SubscribeRequest{}
  1601. if protoimpl.UnsafeEnabled {
  1602. mi := &file_mq_proto_msgTypes[34]
  1603. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1604. ms.StoreMessageInfo(mi)
  1605. }
  1606. }
  1607. func (x *SubscribeRequest) String() string {
  1608. return protoimpl.X.MessageStringOf(x)
  1609. }
  1610. func (*SubscribeRequest) ProtoMessage() {}
  1611. func (x *SubscribeRequest) ProtoReflect() protoreflect.Message {
  1612. mi := &file_mq_proto_msgTypes[34]
  1613. if protoimpl.UnsafeEnabled && x != nil {
  1614. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1615. if ms.LoadMessageInfo() == nil {
  1616. ms.StoreMessageInfo(mi)
  1617. }
  1618. return ms
  1619. }
  1620. return mi.MessageOf(x)
  1621. }
  1622. // Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
  1623. func (*SubscribeRequest) Descriptor() ([]byte, []int) {
  1624. return file_mq_proto_rawDescGZIP(), []int{34}
  1625. }
  1626. func (x *SubscribeRequest) GetConsumer() *SubscribeRequest_Consumer {
  1627. if x != nil {
  1628. return x.Consumer
  1629. }
  1630. return nil
  1631. }
  1632. func (x *SubscribeRequest) GetCursor() *SubscribeRequest_Cursor {
  1633. if x != nil {
  1634. return x.Cursor
  1635. }
  1636. return nil
  1637. }
  1638. type SubscribeResponse struct {
  1639. state protoimpl.MessageState
  1640. sizeCache protoimpl.SizeCache
  1641. unknownFields protoimpl.UnknownFields
  1642. // Types that are assignable to Message:
  1643. //
  1644. // *SubscribeResponse_Ctrl
  1645. // *SubscribeResponse_Data
  1646. Message isSubscribeResponse_Message `protobuf_oneof:"message"`
  1647. }
  1648. func (x *SubscribeResponse) Reset() {
  1649. *x = SubscribeResponse{}
  1650. if protoimpl.UnsafeEnabled {
  1651. mi := &file_mq_proto_msgTypes[35]
  1652. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1653. ms.StoreMessageInfo(mi)
  1654. }
  1655. }
  1656. func (x *SubscribeResponse) String() string {
  1657. return protoimpl.X.MessageStringOf(x)
  1658. }
  1659. func (*SubscribeResponse) ProtoMessage() {}
  1660. func (x *SubscribeResponse) ProtoReflect() protoreflect.Message {
  1661. mi := &file_mq_proto_msgTypes[35]
  1662. if protoimpl.UnsafeEnabled && x != nil {
  1663. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1664. if ms.LoadMessageInfo() == nil {
  1665. ms.StoreMessageInfo(mi)
  1666. }
  1667. return ms
  1668. }
  1669. return mi.MessageOf(x)
  1670. }
  1671. // Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.
  1672. func (*SubscribeResponse) Descriptor() ([]byte, []int) {
  1673. return file_mq_proto_rawDescGZIP(), []int{35}
  1674. }
  1675. func (m *SubscribeResponse) GetMessage() isSubscribeResponse_Message {
  1676. if m != nil {
  1677. return m.Message
  1678. }
  1679. return nil
  1680. }
  1681. func (x *SubscribeResponse) GetCtrl() *SubscribeResponse_CtrlMessage {
  1682. if x, ok := x.GetMessage().(*SubscribeResponse_Ctrl); ok {
  1683. return x.Ctrl
  1684. }
  1685. return nil
  1686. }
  1687. func (x *SubscribeResponse) GetData() *DataMessage {
  1688. if x, ok := x.GetMessage().(*SubscribeResponse_Data); ok {
  1689. return x.Data
  1690. }
  1691. return nil
  1692. }
  1693. type isSubscribeResponse_Message interface {
  1694. isSubscribeResponse_Message()
  1695. }
  1696. type SubscribeResponse_Ctrl struct {
  1697. Ctrl *SubscribeResponse_CtrlMessage `protobuf:"bytes,1,opt,name=ctrl,proto3,oneof"`
  1698. }
  1699. type SubscribeResponse_Data struct {
  1700. Data *DataMessage `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
  1701. }
  1702. func (*SubscribeResponse_Ctrl) isSubscribeResponse_Message() {}
  1703. func (*SubscribeResponse_Data) isSubscribeResponse_Message() {}
  1704. type ConnectToBalancerRequest_InitMessage struct {
  1705. state protoimpl.MessageState
  1706. sizeCache protoimpl.SizeCache
  1707. unknownFields protoimpl.UnknownFields
  1708. Broker string `protobuf:"bytes,1,opt,name=broker,proto3" json:"broker,omitempty"`
  1709. }
  1710. func (x *ConnectToBalancerRequest_InitMessage) Reset() {
  1711. *x = ConnectToBalancerRequest_InitMessage{}
  1712. if protoimpl.UnsafeEnabled {
  1713. mi := &file_mq_proto_msgTypes[37]
  1714. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1715. ms.StoreMessageInfo(mi)
  1716. }
  1717. }
  1718. func (x *ConnectToBalancerRequest_InitMessage) String() string {
  1719. return protoimpl.X.MessageStringOf(x)
  1720. }
  1721. func (*ConnectToBalancerRequest_InitMessage) ProtoMessage() {}
  1722. func (x *ConnectToBalancerRequest_InitMessage) ProtoReflect() protoreflect.Message {
  1723. mi := &file_mq_proto_msgTypes[37]
  1724. if protoimpl.UnsafeEnabled && x != nil {
  1725. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1726. if ms.LoadMessageInfo() == nil {
  1727. ms.StoreMessageInfo(mi)
  1728. }
  1729. return ms
  1730. }
  1731. return mi.MessageOf(x)
  1732. }
  1733. // Deprecated: Use ConnectToBalancerRequest_InitMessage.ProtoReflect.Descriptor instead.
  1734. func (*ConnectToBalancerRequest_InitMessage) Descriptor() ([]byte, []int) {
  1735. return file_mq_proto_rawDescGZIP(), []int{14, 0}
  1736. }
  1737. func (x *ConnectToBalancerRequest_InitMessage) GetBroker() string {
  1738. if x != nil {
  1739. return x.Broker
  1740. }
  1741. return ""
  1742. }
  1743. type PublishRequest_InitMessage struct {
  1744. state protoimpl.MessageState
  1745. sizeCache protoimpl.SizeCache
  1746. unknownFields protoimpl.UnknownFields
  1747. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  1748. Partition *Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
  1749. AckInterval int32 `protobuf:"varint,3,opt,name=ack_interval,json=ackInterval,proto3" json:"ack_interval,omitempty"`
  1750. }
  1751. func (x *PublishRequest_InitMessage) Reset() {
  1752. *x = PublishRequest_InitMessage{}
  1753. if protoimpl.UnsafeEnabled {
  1754. mi := &file_mq_proto_msgTypes[38]
  1755. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1756. ms.StoreMessageInfo(mi)
  1757. }
  1758. }
  1759. func (x *PublishRequest_InitMessage) String() string {
  1760. return protoimpl.X.MessageStringOf(x)
  1761. }
  1762. func (*PublishRequest_InitMessage) ProtoMessage() {}
  1763. func (x *PublishRequest_InitMessage) ProtoReflect() protoreflect.Message {
  1764. mi := &file_mq_proto_msgTypes[38]
  1765. if protoimpl.UnsafeEnabled && x != nil {
  1766. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1767. if ms.LoadMessageInfo() == nil {
  1768. ms.StoreMessageInfo(mi)
  1769. }
  1770. return ms
  1771. }
  1772. return mi.MessageOf(x)
  1773. }
  1774. // Deprecated: Use PublishRequest_InitMessage.ProtoReflect.Descriptor instead.
  1775. func (*PublishRequest_InitMessage) Descriptor() ([]byte, []int) {
  1776. return file_mq_proto_rawDescGZIP(), []int{32, 0}
  1777. }
  1778. func (x *PublishRequest_InitMessage) GetTopic() *Topic {
  1779. if x != nil {
  1780. return x.Topic
  1781. }
  1782. return nil
  1783. }
  1784. func (x *PublishRequest_InitMessage) GetPartition() *Partition {
  1785. if x != nil {
  1786. return x.Partition
  1787. }
  1788. return nil
  1789. }
  1790. func (x *PublishRequest_InitMessage) GetAckInterval() int32 {
  1791. if x != nil {
  1792. return x.AckInterval
  1793. }
  1794. return 0
  1795. }
  1796. type SubscribeRequest_Consumer struct {
  1797. state protoimpl.MessageState
  1798. sizeCache protoimpl.SizeCache
  1799. unknownFields protoimpl.UnknownFields
  1800. ConsumerGroup string `protobuf:"bytes,1,opt,name=consumer_group,json=consumerGroup,proto3" json:"consumer_group,omitempty"`
  1801. ConsumerId string `protobuf:"bytes,2,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
  1802. ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
  1803. }
  1804. func (x *SubscribeRequest_Consumer) Reset() {
  1805. *x = SubscribeRequest_Consumer{}
  1806. if protoimpl.UnsafeEnabled {
  1807. mi := &file_mq_proto_msgTypes[39]
  1808. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1809. ms.StoreMessageInfo(mi)
  1810. }
  1811. }
  1812. func (x *SubscribeRequest_Consumer) String() string {
  1813. return protoimpl.X.MessageStringOf(x)
  1814. }
  1815. func (*SubscribeRequest_Consumer) ProtoMessage() {}
  1816. func (x *SubscribeRequest_Consumer) ProtoReflect() protoreflect.Message {
  1817. mi := &file_mq_proto_msgTypes[39]
  1818. if protoimpl.UnsafeEnabled && x != nil {
  1819. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1820. if ms.LoadMessageInfo() == nil {
  1821. ms.StoreMessageInfo(mi)
  1822. }
  1823. return ms
  1824. }
  1825. return mi.MessageOf(x)
  1826. }
  1827. // Deprecated: Use SubscribeRequest_Consumer.ProtoReflect.Descriptor instead.
  1828. func (*SubscribeRequest_Consumer) Descriptor() ([]byte, []int) {
  1829. return file_mq_proto_rawDescGZIP(), []int{34, 0}
  1830. }
  1831. func (x *SubscribeRequest_Consumer) GetConsumerGroup() string {
  1832. if x != nil {
  1833. return x.ConsumerGroup
  1834. }
  1835. return ""
  1836. }
  1837. func (x *SubscribeRequest_Consumer) GetConsumerId() string {
  1838. if x != nil {
  1839. return x.ConsumerId
  1840. }
  1841. return ""
  1842. }
  1843. func (x *SubscribeRequest_Consumer) GetClientId() string {
  1844. if x != nil {
  1845. return x.ClientId
  1846. }
  1847. return ""
  1848. }
  1849. type SubscribeRequest_Cursor struct {
  1850. state protoimpl.MessageState
  1851. sizeCache protoimpl.SizeCache
  1852. unknownFields protoimpl.UnknownFields
  1853. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  1854. Partition *Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
  1855. // Types that are assignable to Offset:
  1856. //
  1857. // *SubscribeRequest_Cursor_StartOffset
  1858. // *SubscribeRequest_Cursor_StartTimestampNs
  1859. Offset isSubscribeRequest_Cursor_Offset `protobuf_oneof:"offset"`
  1860. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
  1861. }
  1862. func (x *SubscribeRequest_Cursor) Reset() {
  1863. *x = SubscribeRequest_Cursor{}
  1864. if protoimpl.UnsafeEnabled {
  1865. mi := &file_mq_proto_msgTypes[40]
  1866. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1867. ms.StoreMessageInfo(mi)
  1868. }
  1869. }
  1870. func (x *SubscribeRequest_Cursor) String() string {
  1871. return protoimpl.X.MessageStringOf(x)
  1872. }
  1873. func (*SubscribeRequest_Cursor) ProtoMessage() {}
  1874. func (x *SubscribeRequest_Cursor) ProtoReflect() protoreflect.Message {
  1875. mi := &file_mq_proto_msgTypes[40]
  1876. if protoimpl.UnsafeEnabled && x != nil {
  1877. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1878. if ms.LoadMessageInfo() == nil {
  1879. ms.StoreMessageInfo(mi)
  1880. }
  1881. return ms
  1882. }
  1883. return mi.MessageOf(x)
  1884. }
  1885. // Deprecated: Use SubscribeRequest_Cursor.ProtoReflect.Descriptor instead.
  1886. func (*SubscribeRequest_Cursor) Descriptor() ([]byte, []int) {
  1887. return file_mq_proto_rawDescGZIP(), []int{34, 1}
  1888. }
  1889. func (x *SubscribeRequest_Cursor) GetTopic() *Topic {
  1890. if x != nil {
  1891. return x.Topic
  1892. }
  1893. return nil
  1894. }
  1895. func (x *SubscribeRequest_Cursor) GetPartition() *Partition {
  1896. if x != nil {
  1897. return x.Partition
  1898. }
  1899. return nil
  1900. }
  1901. func (m *SubscribeRequest_Cursor) GetOffset() isSubscribeRequest_Cursor_Offset {
  1902. if m != nil {
  1903. return m.Offset
  1904. }
  1905. return nil
  1906. }
  1907. func (x *SubscribeRequest_Cursor) GetStartOffset() int64 {
  1908. if x, ok := x.GetOffset().(*SubscribeRequest_Cursor_StartOffset); ok {
  1909. return x.StartOffset
  1910. }
  1911. return 0
  1912. }
  1913. func (x *SubscribeRequest_Cursor) GetStartTimestampNs() int64 {
  1914. if x, ok := x.GetOffset().(*SubscribeRequest_Cursor_StartTimestampNs); ok {
  1915. return x.StartTimestampNs
  1916. }
  1917. return 0
  1918. }
  1919. func (x *SubscribeRequest_Cursor) GetFilter() string {
  1920. if x != nil {
  1921. return x.Filter
  1922. }
  1923. return ""
  1924. }
  1925. type isSubscribeRequest_Cursor_Offset interface {
  1926. isSubscribeRequest_Cursor_Offset()
  1927. }
  1928. type SubscribeRequest_Cursor_StartOffset struct {
  1929. StartOffset int64 `protobuf:"varint,3,opt,name=start_offset,json=startOffset,proto3,oneof"`
  1930. }
  1931. type SubscribeRequest_Cursor_StartTimestampNs struct {
  1932. StartTimestampNs int64 `protobuf:"varint,4,opt,name=start_timestamp_ns,json=startTimestampNs,proto3,oneof"`
  1933. }
  1934. func (*SubscribeRequest_Cursor_StartOffset) isSubscribeRequest_Cursor_Offset() {}
  1935. func (*SubscribeRequest_Cursor_StartTimestampNs) isSubscribeRequest_Cursor_Offset() {}
  1936. type SubscribeResponse_CtrlMessage struct {
  1937. state protoimpl.MessageState
  1938. sizeCache protoimpl.SizeCache
  1939. unknownFields protoimpl.UnknownFields
  1940. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  1941. RedirectToBroker string `protobuf:"bytes,2,opt,name=redirect_to_broker,json=redirectToBroker,proto3" json:"redirect_to_broker,omitempty"`
  1942. }
  1943. func (x *SubscribeResponse_CtrlMessage) Reset() {
  1944. *x = SubscribeResponse_CtrlMessage{}
  1945. if protoimpl.UnsafeEnabled {
  1946. mi := &file_mq_proto_msgTypes[41]
  1947. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1948. ms.StoreMessageInfo(mi)
  1949. }
  1950. }
  1951. func (x *SubscribeResponse_CtrlMessage) String() string {
  1952. return protoimpl.X.MessageStringOf(x)
  1953. }
  1954. func (*SubscribeResponse_CtrlMessage) ProtoMessage() {}
  1955. func (x *SubscribeResponse_CtrlMessage) ProtoReflect() protoreflect.Message {
  1956. mi := &file_mq_proto_msgTypes[41]
  1957. if protoimpl.UnsafeEnabled && x != nil {
  1958. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1959. if ms.LoadMessageInfo() == nil {
  1960. ms.StoreMessageInfo(mi)
  1961. }
  1962. return ms
  1963. }
  1964. return mi.MessageOf(x)
  1965. }
  1966. // Deprecated: Use SubscribeResponse_CtrlMessage.ProtoReflect.Descriptor instead.
  1967. func (*SubscribeResponse_CtrlMessage) Descriptor() ([]byte, []int) {
  1968. return file_mq_proto_rawDescGZIP(), []int{35, 0}
  1969. }
  1970. func (x *SubscribeResponse_CtrlMessage) GetError() string {
  1971. if x != nil {
  1972. return x.Error
  1973. }
  1974. return ""
  1975. }
  1976. func (x *SubscribeResponse_CtrlMessage) GetRedirectToBroker() string {
  1977. if x != nil {
  1978. return x.RedirectToBroker
  1979. }
  1980. return ""
  1981. }
  1982. var File_mq_proto protoreflect.FileDescriptor
  1983. var file_mq_proto_rawDesc = []byte{
  1984. 0x0a, 0x08, 0x6d, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x73, 0x73,
  1985. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x22, 0xe8, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x67,
  1986. 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x07, 0x73, 0x65, 0x67, 0x6d,
  1987. 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1988. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
  1989. 0x52, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x73, 0x74, 0x61,
  1990. 0x72, 0x74, 0x5f, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
  1991. 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x73, 0x4e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x72, 0x6f,
  1992. 0x6b, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x72, 0x6f, 0x6b,
  1993. 0x65, 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x74, 0x73, 0x5f, 0x6e,
  1994. 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x54, 0x73, 0x4e,
  1995. 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x73, 0x65,
  1996. 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x05, 0x52, 0x10, 0x70, 0x72,
  1997. 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23,
  1998. 0x0a, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
  1999. 0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0c, 0x6e, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65,
  2000. 0x6e, 0x74, 0x73, 0x22, 0x3a, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65,
  2001. 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f,
  2002. 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20,
  2003. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22,
  2004. 0x32, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61,
  2005. 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62,
  2006. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x6f,
  2007. 0x6b, 0x65, 0x72, 0x22, 0x39, 0x0a, 0x05, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1c, 0x0a, 0x09,
  2008. 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  2009. 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  2010. 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x68,
  2011. 0x0a, 0x09, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72,
  2012. 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
  2013. 0x72, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x61, 0x6e, 0x67,
  2014. 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72,
  2015. 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x61, 0x6e,
  2016. 0x67, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72,
  2017. 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x22, 0x84, 0x01, 0x0a, 0x07, 0x53, 0x65, 0x67,
  2018. 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
  2019. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
  2020. 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28,
  2021. 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03,
  2022. 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74,
  2023. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x65,
  2024. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69,
  2025. 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22,
  2026. 0x4e, 0x0a, 0x1b, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
  2027. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f,
  2028. 0x0a, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  2029. 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53,
  2030. 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22,
  2031. 0x38, 0x0a, 0x1c, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
  2032. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  2033. 0x18, 0x0a, 0x07, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
  2034. 0x52, 0x07, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x22, 0x4c, 0x0a, 0x19, 0x43, 0x68, 0x65,
  2035. 0x63, 0x6b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
  2036. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e,
  2037. 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2038. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07,
  2039. 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x39, 0x0a, 0x1a, 0x43, 0x68, 0x65, 0x63, 0x6b,
  2040. 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73,
  2041. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69,
  2042. 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69,
  2043. 0x76, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f, 0x6b, 0x65,
  2044. 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5f, 0x0a, 0x17,
  2045. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x52,
  2046. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2047. 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
  2048. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
  2049. 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
  2050. 0x03, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xd2, 0x01,
  2051. 0x0a, 0x0b, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2a, 0x0a,
  2052. 0x11, 0x63, 0x70, 0x75, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65,
  2053. 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x70, 0x75, 0x55, 0x73, 0x61,
  2054. 0x67, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x05, 0x73, 0x74, 0x61,
  2055. 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2056. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x53, 0x74,
  2057. 0x61, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05,
  2058. 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x5b, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x73, 0x45, 0x6e,
  2059. 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  2060. 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
  2061. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  2062. 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  2063. 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
  2064. 0x38, 0x01, 0x22, 0xbb, 0x01, 0x0a, 0x13, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74,
  2065. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f,
  2066. 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  2067. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05,
  2068. 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  2069. 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2070. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  2071. 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e,
  2072. 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
  2073. 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x43, 0x6f,
  2074. 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72,
  2075. 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72,
  2076. 0x22, 0xc9, 0x01, 0x0a, 0x18, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42, 0x61,
  2077. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a,
  2078. 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6d, 0x65,
  2079. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
  2080. 0x63, 0x74, 0x54, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
  2081. 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48,
  2082. 0x00, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73,
  2083. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  2084. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74,
  2085. 0x73, 0x48, 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x25, 0x0a, 0x0b, 0x49, 0x6e,
  2086. 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x6f,
  2087. 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x6f, 0x6b, 0x65,
  2088. 0x72, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x1b, 0x0a, 0x19,
  2089. 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
  2090. 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x68, 0x0a, 0x12, 0x43, 0x72, 0x65,
  2091. 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  2092. 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13,
  2093. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f,
  2094. 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61,
  2095. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20,
  2096. 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f,
  2097. 0x75, 0x6e, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f,
  2098. 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x1c, 0x62,
  2099. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
  2100. 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
  2101. 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62,
  2102. 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  2103. 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1a, 0x62, 0x72, 0x6f, 0x6b,
  2104. 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67,
  2105. 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x78, 0x0a, 0x14, 0x44, 0x6f, 0x43, 0x72, 0x65, 0x61,
  2106. 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29,
  2107. 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
  2108. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70,
  2109. 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72,
  2110. 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d,
  2111. 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74,
  2112. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  2113. 0x22, 0x17, 0x0a, 0x15, 0x44, 0x6f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69,
  2114. 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x4c, 0x69, 0x73,
  2115. 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x41,
  2116. 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70,
  2117. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x01,
  2118. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  2119. 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63,
  2120. 0x73, 0x22, 0x6c, 0x0a, 0x19, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x54, 0x6f, 0x70, 0x69, 0x63,
  2121. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29,
  2122. 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
  2123. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70,
  2124. 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f,
  2125. 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
  2126. 0x08, 0x52, 0x0c, 0x69, 0x73, 0x46, 0x6f, 0x72, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x22,
  2127. 0xb2, 0x01, 0x0a, 0x1a, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42,
  2128. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29,
  2129. 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
  2130. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70,
  2131. 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x69, 0x0a, 0x1c, 0x62, 0x72, 0x6f,
  2132. 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x73,
  2133. 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
  2134. 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42,
  2135. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73,
  2136. 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1a, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72,
  2137. 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d,
  2138. 0x65, 0x6e, 0x74, 0x73, 0x22, 0xa2, 0x01, 0x0a, 0x19, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50,
  2139. 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
  2140. 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  2141. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e,
  2142. 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09,
  2143. 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x65, 0x61,
  2144. 0x64, 0x65, 0x72, 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  2145. 0x52, 0x0c, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x12, 0x29,
  2146. 0x0a, 0x10, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65,
  2147. 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77,
  2148. 0x65, 0x72, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x22, 0x73, 0x0a, 0x1d, 0x52, 0x65, 0x71,
  2149. 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  2150. 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f,
  2151. 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  2152. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05,
  2153. 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  2154. 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e,
  2155. 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x8b,
  2156. 0x01, 0x0a, 0x1e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50,
  2157. 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  2158. 0x65, 0x12, 0x69, 0x0a, 0x1c, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74,
  2159. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
  2160. 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2161. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72,
  2162. 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
  2163. 0x52, 0x1a, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  2164. 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xd1, 0x01, 0x0a,
  2165. 0x1c, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74,
  2166. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a,
  2167. 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d,
  2168. 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69,
  2169. 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x69, 0x0a, 0x1c, 0x62, 0x72, 0x6f, 0x6b,
  2170. 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x73, 0x73,
  2171. 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27,
  2172. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72,
  2173. 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73,
  2174. 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1a, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50,
  2175. 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
  2176. 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72,
  2177. 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72,
  2178. 0x22, 0x1f, 0x0a, 0x1d, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50,
  2179. 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  2180. 0x65, 0x22, 0xfc, 0x01, 0x0a, 0x21, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x70, 0x69, 0x63,
  2181. 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
  2182. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73,
  2183. 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65,
  2184. 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02,
  2185. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x67, 0x0a, 0x1b, 0x62,
  2186. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
  2187. 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
  2188. 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
  2189. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41,
  2190. 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x19, 0x62, 0x72, 0x6f, 0x6b, 0x65,
  2191. 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e,
  2192. 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x1a, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x5f, 0x63,
  2193. 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x6d, 0x61, 0x74,
  2194. 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64,
  2195. 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68,
  2196. 0x22, 0x8f, 0x01, 0x0a, 0x22, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50,
  2197. 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
  2198. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x1c, 0x62, 0x72, 0x6f, 0x6b, 0x65,
  2199. 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69,
  2200. 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e,
  2201. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f,
  2202. 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69,
  2203. 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1a, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61,
  2204. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e,
  2205. 0x74, 0x73, 0x22, 0x35, 0x0a, 0x0b, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2206. 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03,
  2207. 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
  2208. 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xbd, 0x02, 0x0a, 0x0e, 0x50, 0x75,
  2209. 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04,
  2210. 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x65, 0x73,
  2211. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73,
  2212. 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73,
  2213. 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x2f, 0x0a, 0x04,
  2214. 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x65, 0x73,
  2215. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x65,
  2216. 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a,
  2217. 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  2218. 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x1a, 0x92, 0x01, 0x0a, 0x0b, 0x49, 0x6e,
  2219. 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70,
  2220. 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2221. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74,
  2222. 0x6f, 0x70, 0x69, 0x63, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  2223. 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2224. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  2225. 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x61,
  2226. 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
  2227. 0x05, 0x52, 0x0b, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x42, 0x09,
  2228. 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x78, 0x0a, 0x0f, 0x50, 0x75, 0x62,
  2229. 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c,
  2230. 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
  2231. 0x28, 0x03, 0x52, 0x0b, 0x61, 0x63, 0x6b, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12,
  2232. 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  2233. 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63,
  2234. 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
  2235. 0x09, 0x52, 0x10, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42, 0x72, 0x6f,
  2236. 0x6b, 0x65, 0x72, 0x22, 0xeb, 0x03, 0x0a, 0x10, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
  2237. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73,
  2238. 0x75, 0x6d, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73,
  2239. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
  2240. 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x75,
  2241. 0x6d, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x12, 0x3d, 0x0a,
  2242. 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e,
  2243. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62,
  2244. 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x75,
  2245. 0x72, 0x73, 0x6f, 0x72, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x1a, 0x6f, 0x0a, 0x08,
  2246. 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x73,
  2247. 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  2248. 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
  2249. 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
  2250. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x49, 0x64,
  2251. 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
  2252. 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x1a, 0xe1, 0x01,
  2253. 0x0a, 0x06, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69,
  2254. 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2255. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f,
  2256. 0x70, 0x69, 0x63, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  2257. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  2258. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52,
  2259. 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74,
  2260. 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
  2261. 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12,
  2262. 0x2e, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
  2263. 0x6d, 0x70, 0x5f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x10, 0x73,
  2264. 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4e, 0x73, 0x12,
  2265. 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
  2266. 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
  2267. 0x74, 0x22, 0xe5, 0x01, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52,
  2268. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x04, 0x63, 0x74, 0x72, 0x6c, 0x18,
  2269. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e,
  2270. 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65,
  2271. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x74, 0x72, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61,
  2272. 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x63, 0x74, 0x72, 0x6c, 0x12, 0x2f, 0x0a, 0x04, 0x64, 0x61,
  2273. 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2274. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x65, 0x73, 0x73,
  2275. 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x51, 0x0a, 0x0b, 0x43,
  2276. 0x74, 0x72, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72,
  2277. 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
  2278. 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x6f, 0x5f,
  2279. 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65,
  2280. 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x42, 0x09,
  2281. 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xa0, 0x0b, 0x0a, 0x10, 0x53, 0x65,
  2282. 0x61, 0x77, 0x65, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x63,
  2283. 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x64,
  2284. 0x65, 0x72, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  2285. 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x64,
  2286. 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  2287. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f,
  2288. 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  2289. 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x14, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67,
  2290. 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x12, 0x29, 0x2e, 0x6d, 0x65,
  2291. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67,
  2292. 0x6e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52,
  2293. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  2294. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67, 0x6d,
  2295. 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  2296. 0x73, 0x65, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x67,
  2297. 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x27, 0x2e, 0x6d, 0x65, 0x73,
  2298. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53,
  2299. 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75,
  2300. 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
  2301. 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53,
  2302. 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
  2303. 0x60, 0x0a, 0x0f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x6f,
  2304. 0x61, 0x64, 0x12, 0x24, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  2305. 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x6f, 0x61,
  2306. 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2307. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f,
  2308. 0x6b, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  2309. 0x00, 0x12, 0x6a, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42, 0x61,
  2310. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  2311. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42,
  2312. 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27,
  2313. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f,
  2314. 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52,
  2315. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x69, 0x0a,
  2316. 0x12, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b,
  2317. 0x65, 0x72, 0x73, 0x12, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
  2318. 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72,
  2319. 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6d,
  2320. 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b,
  2321. 0x75, 0x70, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65,
  2322. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61,
  2323. 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x20, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2324. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70,
  2325. 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  2326. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
  2327. 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a,
  2328. 0x0a, 0x0d, 0x44, 0x6f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12,
  2329. 0x22, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x44,
  2330. 0x6f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75,
  2331. 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
  2332. 0x70, 0x62, 0x2e, 0x44, 0x6f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63,
  2333. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0a, 0x4c, 0x69,
  2334. 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2335. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69,
  2336. 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  2337. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70,
  2338. 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x75, 0x0a,
  2339. 0x16, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72,
  2340. 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2341. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f,
  2342. 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71,
  2343. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  2344. 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63,
  2345. 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  2346. 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x15, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x6f,
  2347. 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x2e,
  2348. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73,
  2349. 0x69, 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  2350. 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  2351. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54,
  2352. 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
  2353. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x81, 0x01, 0x0a, 0x1a, 0x43, 0x68, 0x65,
  2354. 0x63, 0x6b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  2355. 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2356. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x70, 0x69,
  2357. 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75,
  2358. 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2359. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x70,
  2360. 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74,
  2361. 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x07,
  2362. 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x12, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2363. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65,
  2364. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e,
  2365. 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70,
  2366. 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x09, 0x53, 0x75,
  2367. 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x1e, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2368. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
  2369. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2370. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
  2371. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0x4e, 0x0a, 0x0c,
  2372. 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x6d, 0x71, 0x42, 0x10, 0x4d, 0x65,
  2373. 0x73, 0x73, 0x61, 0x67, 0x51, 0x75, 0x65, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x2c,
  2374. 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65,
  2375. 0x65, 0x64, 0x66, 0x73, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x77,
  2376. 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62, 0x2f, 0x6d, 0x71, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
  2377. 0x6f, 0x74, 0x6f, 0x33,
  2378. }
  2379. var (
  2380. file_mq_proto_rawDescOnce sync.Once
  2381. file_mq_proto_rawDescData = file_mq_proto_rawDesc
  2382. )
  2383. func file_mq_proto_rawDescGZIP() []byte {
  2384. file_mq_proto_rawDescOnce.Do(func() {
  2385. file_mq_proto_rawDescData = protoimpl.X.CompressGZIP(file_mq_proto_rawDescData)
  2386. })
  2387. return file_mq_proto_rawDescData
  2388. }
  2389. var file_mq_proto_msgTypes = make([]protoimpl.MessageInfo, 42)
  2390. var file_mq_proto_goTypes = []interface{}{
  2391. (*SegmentInfo)(nil), // 0: messaging_pb.SegmentInfo
  2392. (*FindBrokerLeaderRequest)(nil), // 1: messaging_pb.FindBrokerLeaderRequest
  2393. (*FindBrokerLeaderResponse)(nil), // 2: messaging_pb.FindBrokerLeaderResponse
  2394. (*Topic)(nil), // 3: messaging_pb.Topic
  2395. (*Partition)(nil), // 4: messaging_pb.Partition
  2396. (*Segment)(nil), // 5: messaging_pb.Segment
  2397. (*AssignSegmentBrokersRequest)(nil), // 6: messaging_pb.AssignSegmentBrokersRequest
  2398. (*AssignSegmentBrokersResponse)(nil), // 7: messaging_pb.AssignSegmentBrokersResponse
  2399. (*CheckSegmentStatusRequest)(nil), // 8: messaging_pb.CheckSegmentStatusRequest
  2400. (*CheckSegmentStatusResponse)(nil), // 9: messaging_pb.CheckSegmentStatusResponse
  2401. (*CheckBrokerLoadRequest)(nil), // 10: messaging_pb.CheckBrokerLoadRequest
  2402. (*CheckBrokerLoadResponse)(nil), // 11: messaging_pb.CheckBrokerLoadResponse
  2403. (*BrokerStats)(nil), // 12: messaging_pb.BrokerStats
  2404. (*TopicPartitionStats)(nil), // 13: messaging_pb.TopicPartitionStats
  2405. (*ConnectToBalancerRequest)(nil), // 14: messaging_pb.ConnectToBalancerRequest
  2406. (*ConnectToBalancerResponse)(nil), // 15: messaging_pb.ConnectToBalancerResponse
  2407. (*CreateTopicRequest)(nil), // 16: messaging_pb.CreateTopicRequest
  2408. (*CreateTopicResponse)(nil), // 17: messaging_pb.CreateTopicResponse
  2409. (*DoCreateTopicRequest)(nil), // 18: messaging_pb.DoCreateTopicRequest
  2410. (*DoCreateTopicResponse)(nil), // 19: messaging_pb.DoCreateTopicResponse
  2411. (*ListTopicsRequest)(nil), // 20: messaging_pb.ListTopicsRequest
  2412. (*ListTopicsResponse)(nil), // 21: messaging_pb.ListTopicsResponse
  2413. (*LookupTopicBrokersRequest)(nil), // 22: messaging_pb.LookupTopicBrokersRequest
  2414. (*LookupTopicBrokersResponse)(nil), // 23: messaging_pb.LookupTopicBrokersResponse
  2415. (*BrokerPartitionAssignment)(nil), // 24: messaging_pb.BrokerPartitionAssignment
  2416. (*RequestTopicPartitionsRequest)(nil), // 25: messaging_pb.RequestTopicPartitionsRequest
  2417. (*RequestTopicPartitionsResponse)(nil), // 26: messaging_pb.RequestTopicPartitionsResponse
  2418. (*AssignTopicPartitionsRequest)(nil), // 27: messaging_pb.AssignTopicPartitionsRequest
  2419. (*AssignTopicPartitionsResponse)(nil), // 28: messaging_pb.AssignTopicPartitionsResponse
  2420. (*CheckTopicPartitionsStatusRequest)(nil), // 29: messaging_pb.CheckTopicPartitionsStatusRequest
  2421. (*CheckTopicPartitionsStatusResponse)(nil), // 30: messaging_pb.CheckTopicPartitionsStatusResponse
  2422. (*DataMessage)(nil), // 31: messaging_pb.DataMessage
  2423. (*PublishRequest)(nil), // 32: messaging_pb.PublishRequest
  2424. (*PublishResponse)(nil), // 33: messaging_pb.PublishResponse
  2425. (*SubscribeRequest)(nil), // 34: messaging_pb.SubscribeRequest
  2426. (*SubscribeResponse)(nil), // 35: messaging_pb.SubscribeResponse
  2427. nil, // 36: messaging_pb.BrokerStats.StatsEntry
  2428. (*ConnectToBalancerRequest_InitMessage)(nil), // 37: messaging_pb.ConnectToBalancerRequest.InitMessage
  2429. (*PublishRequest_InitMessage)(nil), // 38: messaging_pb.PublishRequest.InitMessage
  2430. (*SubscribeRequest_Consumer)(nil), // 39: messaging_pb.SubscribeRequest.Consumer
  2431. (*SubscribeRequest_Cursor)(nil), // 40: messaging_pb.SubscribeRequest.Cursor
  2432. (*SubscribeResponse_CtrlMessage)(nil), // 41: messaging_pb.SubscribeResponse.CtrlMessage
  2433. }
  2434. var file_mq_proto_depIdxs = []int32{
  2435. 5, // 0: messaging_pb.SegmentInfo.segment:type_name -> messaging_pb.Segment
  2436. 4, // 1: messaging_pb.Segment.partition:type_name -> messaging_pb.Partition
  2437. 5, // 2: messaging_pb.AssignSegmentBrokersRequest.segment:type_name -> messaging_pb.Segment
  2438. 5, // 3: messaging_pb.CheckSegmentStatusRequest.segment:type_name -> messaging_pb.Segment
  2439. 36, // 4: messaging_pb.BrokerStats.stats:type_name -> messaging_pb.BrokerStats.StatsEntry
  2440. 3, // 5: messaging_pb.TopicPartitionStats.topic:type_name -> messaging_pb.Topic
  2441. 4, // 6: messaging_pb.TopicPartitionStats.partition:type_name -> messaging_pb.Partition
  2442. 37, // 7: messaging_pb.ConnectToBalancerRequest.init:type_name -> messaging_pb.ConnectToBalancerRequest.InitMessage
  2443. 12, // 8: messaging_pb.ConnectToBalancerRequest.stats:type_name -> messaging_pb.BrokerStats
  2444. 3, // 9: messaging_pb.CreateTopicRequest.topic:type_name -> messaging_pb.Topic
  2445. 24, // 10: messaging_pb.CreateTopicResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
  2446. 3, // 11: messaging_pb.DoCreateTopicRequest.topic:type_name -> messaging_pb.Topic
  2447. 4, // 12: messaging_pb.DoCreateTopicRequest.partition:type_name -> messaging_pb.Partition
  2448. 3, // 13: messaging_pb.ListTopicsResponse.topics:type_name -> messaging_pb.Topic
  2449. 3, // 14: messaging_pb.LookupTopicBrokersRequest.topic:type_name -> messaging_pb.Topic
  2450. 3, // 15: messaging_pb.LookupTopicBrokersResponse.topic:type_name -> messaging_pb.Topic
  2451. 24, // 16: messaging_pb.LookupTopicBrokersResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
  2452. 4, // 17: messaging_pb.BrokerPartitionAssignment.partition:type_name -> messaging_pb.Partition
  2453. 3, // 18: messaging_pb.RequestTopicPartitionsRequest.topic:type_name -> messaging_pb.Topic
  2454. 24, // 19: messaging_pb.RequestTopicPartitionsResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
  2455. 3, // 20: messaging_pb.AssignTopicPartitionsRequest.topic:type_name -> messaging_pb.Topic
  2456. 24, // 21: messaging_pb.AssignTopicPartitionsRequest.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
  2457. 24, // 22: messaging_pb.CheckTopicPartitionsStatusRequest.broker_partition_assignment:type_name -> messaging_pb.BrokerPartitionAssignment
  2458. 24, // 23: messaging_pb.CheckTopicPartitionsStatusResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
  2459. 38, // 24: messaging_pb.PublishRequest.init:type_name -> messaging_pb.PublishRequest.InitMessage
  2460. 31, // 25: messaging_pb.PublishRequest.data:type_name -> messaging_pb.DataMessage
  2461. 39, // 26: messaging_pb.SubscribeRequest.consumer:type_name -> messaging_pb.SubscribeRequest.Consumer
  2462. 40, // 27: messaging_pb.SubscribeRequest.cursor:type_name -> messaging_pb.SubscribeRequest.Cursor
  2463. 41, // 28: messaging_pb.SubscribeResponse.ctrl:type_name -> messaging_pb.SubscribeResponse.CtrlMessage
  2464. 31, // 29: messaging_pb.SubscribeResponse.data:type_name -> messaging_pb.DataMessage
  2465. 13, // 30: messaging_pb.BrokerStats.StatsEntry.value:type_name -> messaging_pb.TopicPartitionStats
  2466. 3, // 31: messaging_pb.PublishRequest.InitMessage.topic:type_name -> messaging_pb.Topic
  2467. 4, // 32: messaging_pb.PublishRequest.InitMessage.partition:type_name -> messaging_pb.Partition
  2468. 3, // 33: messaging_pb.SubscribeRequest.Cursor.topic:type_name -> messaging_pb.Topic
  2469. 4, // 34: messaging_pb.SubscribeRequest.Cursor.partition:type_name -> messaging_pb.Partition
  2470. 1, // 35: messaging_pb.SeaweedMessaging.FindBrokerLeader:input_type -> messaging_pb.FindBrokerLeaderRequest
  2471. 6, // 36: messaging_pb.SeaweedMessaging.AssignSegmentBrokers:input_type -> messaging_pb.AssignSegmentBrokersRequest
  2472. 8, // 37: messaging_pb.SeaweedMessaging.CheckSegmentStatus:input_type -> messaging_pb.CheckSegmentStatusRequest
  2473. 10, // 38: messaging_pb.SeaweedMessaging.CheckBrokerLoad:input_type -> messaging_pb.CheckBrokerLoadRequest
  2474. 14, // 39: messaging_pb.SeaweedMessaging.ConnectToBalancer:input_type -> messaging_pb.ConnectToBalancerRequest
  2475. 22, // 40: messaging_pb.SeaweedMessaging.LookupTopicBrokers:input_type -> messaging_pb.LookupTopicBrokersRequest
  2476. 16, // 41: messaging_pb.SeaweedMessaging.CreateTopic:input_type -> messaging_pb.CreateTopicRequest
  2477. 18, // 42: messaging_pb.SeaweedMessaging.DoCreateTopic:input_type -> messaging_pb.DoCreateTopicRequest
  2478. 20, // 43: messaging_pb.SeaweedMessaging.ListTopics:input_type -> messaging_pb.ListTopicsRequest
  2479. 25, // 44: messaging_pb.SeaweedMessaging.RequestTopicPartitions:input_type -> messaging_pb.RequestTopicPartitionsRequest
  2480. 27, // 45: messaging_pb.SeaweedMessaging.AssignTopicPartitions:input_type -> messaging_pb.AssignTopicPartitionsRequest
  2481. 29, // 46: messaging_pb.SeaweedMessaging.CheckTopicPartitionsStatus:input_type -> messaging_pb.CheckTopicPartitionsStatusRequest
  2482. 32, // 47: messaging_pb.SeaweedMessaging.Publish:input_type -> messaging_pb.PublishRequest
  2483. 34, // 48: messaging_pb.SeaweedMessaging.Subscribe:input_type -> messaging_pb.SubscribeRequest
  2484. 2, // 49: messaging_pb.SeaweedMessaging.FindBrokerLeader:output_type -> messaging_pb.FindBrokerLeaderResponse
  2485. 7, // 50: messaging_pb.SeaweedMessaging.AssignSegmentBrokers:output_type -> messaging_pb.AssignSegmentBrokersResponse
  2486. 9, // 51: messaging_pb.SeaweedMessaging.CheckSegmentStatus:output_type -> messaging_pb.CheckSegmentStatusResponse
  2487. 11, // 52: messaging_pb.SeaweedMessaging.CheckBrokerLoad:output_type -> messaging_pb.CheckBrokerLoadResponse
  2488. 15, // 53: messaging_pb.SeaweedMessaging.ConnectToBalancer:output_type -> messaging_pb.ConnectToBalancerResponse
  2489. 23, // 54: messaging_pb.SeaweedMessaging.LookupTopicBrokers:output_type -> messaging_pb.LookupTopicBrokersResponse
  2490. 17, // 55: messaging_pb.SeaweedMessaging.CreateTopic:output_type -> messaging_pb.CreateTopicResponse
  2491. 19, // 56: messaging_pb.SeaweedMessaging.DoCreateTopic:output_type -> messaging_pb.DoCreateTopicResponse
  2492. 21, // 57: messaging_pb.SeaweedMessaging.ListTopics:output_type -> messaging_pb.ListTopicsResponse
  2493. 26, // 58: messaging_pb.SeaweedMessaging.RequestTopicPartitions:output_type -> messaging_pb.RequestTopicPartitionsResponse
  2494. 28, // 59: messaging_pb.SeaweedMessaging.AssignTopicPartitions:output_type -> messaging_pb.AssignTopicPartitionsResponse
  2495. 30, // 60: messaging_pb.SeaweedMessaging.CheckTopicPartitionsStatus:output_type -> messaging_pb.CheckTopicPartitionsStatusResponse
  2496. 33, // 61: messaging_pb.SeaweedMessaging.Publish:output_type -> messaging_pb.PublishResponse
  2497. 35, // 62: messaging_pb.SeaweedMessaging.Subscribe:output_type -> messaging_pb.SubscribeResponse
  2498. 49, // [49:63] is the sub-list for method output_type
  2499. 35, // [35:49] is the sub-list for method input_type
  2500. 35, // [35:35] is the sub-list for extension type_name
  2501. 35, // [35:35] is the sub-list for extension extendee
  2502. 0, // [0:35] is the sub-list for field type_name
  2503. }
  2504. func init() { file_mq_proto_init() }
  2505. func file_mq_proto_init() {
  2506. if File_mq_proto != nil {
  2507. return
  2508. }
  2509. if !protoimpl.UnsafeEnabled {
  2510. file_mq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2511. switch v := v.(*SegmentInfo); i {
  2512. case 0:
  2513. return &v.state
  2514. case 1:
  2515. return &v.sizeCache
  2516. case 2:
  2517. return &v.unknownFields
  2518. default:
  2519. return nil
  2520. }
  2521. }
  2522. file_mq_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2523. switch v := v.(*FindBrokerLeaderRequest); i {
  2524. case 0:
  2525. return &v.state
  2526. case 1:
  2527. return &v.sizeCache
  2528. case 2:
  2529. return &v.unknownFields
  2530. default:
  2531. return nil
  2532. }
  2533. }
  2534. file_mq_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2535. switch v := v.(*FindBrokerLeaderResponse); i {
  2536. case 0:
  2537. return &v.state
  2538. case 1:
  2539. return &v.sizeCache
  2540. case 2:
  2541. return &v.unknownFields
  2542. default:
  2543. return nil
  2544. }
  2545. }
  2546. file_mq_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2547. switch v := v.(*Topic); i {
  2548. case 0:
  2549. return &v.state
  2550. case 1:
  2551. return &v.sizeCache
  2552. case 2:
  2553. return &v.unknownFields
  2554. default:
  2555. return nil
  2556. }
  2557. }
  2558. file_mq_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2559. switch v := v.(*Partition); i {
  2560. case 0:
  2561. return &v.state
  2562. case 1:
  2563. return &v.sizeCache
  2564. case 2:
  2565. return &v.unknownFields
  2566. default:
  2567. return nil
  2568. }
  2569. }
  2570. file_mq_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2571. switch v := v.(*Segment); i {
  2572. case 0:
  2573. return &v.state
  2574. case 1:
  2575. return &v.sizeCache
  2576. case 2:
  2577. return &v.unknownFields
  2578. default:
  2579. return nil
  2580. }
  2581. }
  2582. file_mq_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2583. switch v := v.(*AssignSegmentBrokersRequest); i {
  2584. case 0:
  2585. return &v.state
  2586. case 1:
  2587. return &v.sizeCache
  2588. case 2:
  2589. return &v.unknownFields
  2590. default:
  2591. return nil
  2592. }
  2593. }
  2594. file_mq_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2595. switch v := v.(*AssignSegmentBrokersResponse); i {
  2596. case 0:
  2597. return &v.state
  2598. case 1:
  2599. return &v.sizeCache
  2600. case 2:
  2601. return &v.unknownFields
  2602. default:
  2603. return nil
  2604. }
  2605. }
  2606. file_mq_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2607. switch v := v.(*CheckSegmentStatusRequest); i {
  2608. case 0:
  2609. return &v.state
  2610. case 1:
  2611. return &v.sizeCache
  2612. case 2:
  2613. return &v.unknownFields
  2614. default:
  2615. return nil
  2616. }
  2617. }
  2618. file_mq_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2619. switch v := v.(*CheckSegmentStatusResponse); i {
  2620. case 0:
  2621. return &v.state
  2622. case 1:
  2623. return &v.sizeCache
  2624. case 2:
  2625. return &v.unknownFields
  2626. default:
  2627. return nil
  2628. }
  2629. }
  2630. file_mq_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2631. switch v := v.(*CheckBrokerLoadRequest); i {
  2632. case 0:
  2633. return &v.state
  2634. case 1:
  2635. return &v.sizeCache
  2636. case 2:
  2637. return &v.unknownFields
  2638. default:
  2639. return nil
  2640. }
  2641. }
  2642. file_mq_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2643. switch v := v.(*CheckBrokerLoadResponse); i {
  2644. case 0:
  2645. return &v.state
  2646. case 1:
  2647. return &v.sizeCache
  2648. case 2:
  2649. return &v.unknownFields
  2650. default:
  2651. return nil
  2652. }
  2653. }
  2654. file_mq_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2655. switch v := v.(*BrokerStats); i {
  2656. case 0:
  2657. return &v.state
  2658. case 1:
  2659. return &v.sizeCache
  2660. case 2:
  2661. return &v.unknownFields
  2662. default:
  2663. return nil
  2664. }
  2665. }
  2666. file_mq_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2667. switch v := v.(*TopicPartitionStats); i {
  2668. case 0:
  2669. return &v.state
  2670. case 1:
  2671. return &v.sizeCache
  2672. case 2:
  2673. return &v.unknownFields
  2674. default:
  2675. return nil
  2676. }
  2677. }
  2678. file_mq_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2679. switch v := v.(*ConnectToBalancerRequest); i {
  2680. case 0:
  2681. return &v.state
  2682. case 1:
  2683. return &v.sizeCache
  2684. case 2:
  2685. return &v.unknownFields
  2686. default:
  2687. return nil
  2688. }
  2689. }
  2690. file_mq_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2691. switch v := v.(*ConnectToBalancerResponse); i {
  2692. case 0:
  2693. return &v.state
  2694. case 1:
  2695. return &v.sizeCache
  2696. case 2:
  2697. return &v.unknownFields
  2698. default:
  2699. return nil
  2700. }
  2701. }
  2702. file_mq_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2703. switch v := v.(*CreateTopicRequest); i {
  2704. case 0:
  2705. return &v.state
  2706. case 1:
  2707. return &v.sizeCache
  2708. case 2:
  2709. return &v.unknownFields
  2710. default:
  2711. return nil
  2712. }
  2713. }
  2714. file_mq_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2715. switch v := v.(*CreateTopicResponse); i {
  2716. case 0:
  2717. return &v.state
  2718. case 1:
  2719. return &v.sizeCache
  2720. case 2:
  2721. return &v.unknownFields
  2722. default:
  2723. return nil
  2724. }
  2725. }
  2726. file_mq_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2727. switch v := v.(*DoCreateTopicRequest); i {
  2728. case 0:
  2729. return &v.state
  2730. case 1:
  2731. return &v.sizeCache
  2732. case 2:
  2733. return &v.unknownFields
  2734. default:
  2735. return nil
  2736. }
  2737. }
  2738. file_mq_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2739. switch v := v.(*DoCreateTopicResponse); i {
  2740. case 0:
  2741. return &v.state
  2742. case 1:
  2743. return &v.sizeCache
  2744. case 2:
  2745. return &v.unknownFields
  2746. default:
  2747. return nil
  2748. }
  2749. }
  2750. file_mq_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2751. switch v := v.(*ListTopicsRequest); i {
  2752. case 0:
  2753. return &v.state
  2754. case 1:
  2755. return &v.sizeCache
  2756. case 2:
  2757. return &v.unknownFields
  2758. default:
  2759. return nil
  2760. }
  2761. }
  2762. file_mq_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2763. switch v := v.(*ListTopicsResponse); i {
  2764. case 0:
  2765. return &v.state
  2766. case 1:
  2767. return &v.sizeCache
  2768. case 2:
  2769. return &v.unknownFields
  2770. default:
  2771. return nil
  2772. }
  2773. }
  2774. file_mq_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2775. switch v := v.(*LookupTopicBrokersRequest); i {
  2776. case 0:
  2777. return &v.state
  2778. case 1:
  2779. return &v.sizeCache
  2780. case 2:
  2781. return &v.unknownFields
  2782. default:
  2783. return nil
  2784. }
  2785. }
  2786. file_mq_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2787. switch v := v.(*LookupTopicBrokersResponse); i {
  2788. case 0:
  2789. return &v.state
  2790. case 1:
  2791. return &v.sizeCache
  2792. case 2:
  2793. return &v.unknownFields
  2794. default:
  2795. return nil
  2796. }
  2797. }
  2798. file_mq_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2799. switch v := v.(*BrokerPartitionAssignment); i {
  2800. case 0:
  2801. return &v.state
  2802. case 1:
  2803. return &v.sizeCache
  2804. case 2:
  2805. return &v.unknownFields
  2806. default:
  2807. return nil
  2808. }
  2809. }
  2810. file_mq_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2811. switch v := v.(*RequestTopicPartitionsRequest); i {
  2812. case 0:
  2813. return &v.state
  2814. case 1:
  2815. return &v.sizeCache
  2816. case 2:
  2817. return &v.unknownFields
  2818. default:
  2819. return nil
  2820. }
  2821. }
  2822. file_mq_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  2823. switch v := v.(*RequestTopicPartitionsResponse); i {
  2824. case 0:
  2825. return &v.state
  2826. case 1:
  2827. return &v.sizeCache
  2828. case 2:
  2829. return &v.unknownFields
  2830. default:
  2831. return nil
  2832. }
  2833. }
  2834. file_mq_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  2835. switch v := v.(*AssignTopicPartitionsRequest); i {
  2836. case 0:
  2837. return &v.state
  2838. case 1:
  2839. return &v.sizeCache
  2840. case 2:
  2841. return &v.unknownFields
  2842. default:
  2843. return nil
  2844. }
  2845. }
  2846. file_mq_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  2847. switch v := v.(*AssignTopicPartitionsResponse); i {
  2848. case 0:
  2849. return &v.state
  2850. case 1:
  2851. return &v.sizeCache
  2852. case 2:
  2853. return &v.unknownFields
  2854. default:
  2855. return nil
  2856. }
  2857. }
  2858. file_mq_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
  2859. switch v := v.(*CheckTopicPartitionsStatusRequest); i {
  2860. case 0:
  2861. return &v.state
  2862. case 1:
  2863. return &v.sizeCache
  2864. case 2:
  2865. return &v.unknownFields
  2866. default:
  2867. return nil
  2868. }
  2869. }
  2870. file_mq_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
  2871. switch v := v.(*CheckTopicPartitionsStatusResponse); i {
  2872. case 0:
  2873. return &v.state
  2874. case 1:
  2875. return &v.sizeCache
  2876. case 2:
  2877. return &v.unknownFields
  2878. default:
  2879. return nil
  2880. }
  2881. }
  2882. file_mq_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
  2883. switch v := v.(*DataMessage); i {
  2884. case 0:
  2885. return &v.state
  2886. case 1:
  2887. return &v.sizeCache
  2888. case 2:
  2889. return &v.unknownFields
  2890. default:
  2891. return nil
  2892. }
  2893. }
  2894. file_mq_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
  2895. switch v := v.(*PublishRequest); i {
  2896. case 0:
  2897. return &v.state
  2898. case 1:
  2899. return &v.sizeCache
  2900. case 2:
  2901. return &v.unknownFields
  2902. default:
  2903. return nil
  2904. }
  2905. }
  2906. file_mq_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
  2907. switch v := v.(*PublishResponse); i {
  2908. case 0:
  2909. return &v.state
  2910. case 1:
  2911. return &v.sizeCache
  2912. case 2:
  2913. return &v.unknownFields
  2914. default:
  2915. return nil
  2916. }
  2917. }
  2918. file_mq_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
  2919. switch v := v.(*SubscribeRequest); i {
  2920. case 0:
  2921. return &v.state
  2922. case 1:
  2923. return &v.sizeCache
  2924. case 2:
  2925. return &v.unknownFields
  2926. default:
  2927. return nil
  2928. }
  2929. }
  2930. file_mq_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
  2931. switch v := v.(*SubscribeResponse); i {
  2932. case 0:
  2933. return &v.state
  2934. case 1:
  2935. return &v.sizeCache
  2936. case 2:
  2937. return &v.unknownFields
  2938. default:
  2939. return nil
  2940. }
  2941. }
  2942. file_mq_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
  2943. switch v := v.(*ConnectToBalancerRequest_InitMessage); i {
  2944. case 0:
  2945. return &v.state
  2946. case 1:
  2947. return &v.sizeCache
  2948. case 2:
  2949. return &v.unknownFields
  2950. default:
  2951. return nil
  2952. }
  2953. }
  2954. file_mq_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
  2955. switch v := v.(*PublishRequest_InitMessage); i {
  2956. case 0:
  2957. return &v.state
  2958. case 1:
  2959. return &v.sizeCache
  2960. case 2:
  2961. return &v.unknownFields
  2962. default:
  2963. return nil
  2964. }
  2965. }
  2966. file_mq_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
  2967. switch v := v.(*SubscribeRequest_Consumer); i {
  2968. case 0:
  2969. return &v.state
  2970. case 1:
  2971. return &v.sizeCache
  2972. case 2:
  2973. return &v.unknownFields
  2974. default:
  2975. return nil
  2976. }
  2977. }
  2978. file_mq_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
  2979. switch v := v.(*SubscribeRequest_Cursor); i {
  2980. case 0:
  2981. return &v.state
  2982. case 1:
  2983. return &v.sizeCache
  2984. case 2:
  2985. return &v.unknownFields
  2986. default:
  2987. return nil
  2988. }
  2989. }
  2990. file_mq_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
  2991. switch v := v.(*SubscribeResponse_CtrlMessage); i {
  2992. case 0:
  2993. return &v.state
  2994. case 1:
  2995. return &v.sizeCache
  2996. case 2:
  2997. return &v.unknownFields
  2998. default:
  2999. return nil
  3000. }
  3001. }
  3002. }
  3003. file_mq_proto_msgTypes[14].OneofWrappers = []interface{}{
  3004. (*ConnectToBalancerRequest_Init)(nil),
  3005. (*ConnectToBalancerRequest_Stats)(nil),
  3006. }
  3007. file_mq_proto_msgTypes[32].OneofWrappers = []interface{}{
  3008. (*PublishRequest_Init)(nil),
  3009. (*PublishRequest_Data)(nil),
  3010. }
  3011. file_mq_proto_msgTypes[35].OneofWrappers = []interface{}{
  3012. (*SubscribeResponse_Ctrl)(nil),
  3013. (*SubscribeResponse_Data)(nil),
  3014. }
  3015. file_mq_proto_msgTypes[40].OneofWrappers = []interface{}{
  3016. (*SubscribeRequest_Cursor_StartOffset)(nil),
  3017. (*SubscribeRequest_Cursor_StartTimestampNs)(nil),
  3018. }
  3019. type x struct{}
  3020. out := protoimpl.TypeBuilder{
  3021. File: protoimpl.DescBuilder{
  3022. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  3023. RawDescriptor: file_mq_proto_rawDesc,
  3024. NumEnums: 0,
  3025. NumMessages: 42,
  3026. NumExtensions: 0,
  3027. NumServices: 1,
  3028. },
  3029. GoTypes: file_mq_proto_goTypes,
  3030. DependencyIndexes: file_mq_proto_depIdxs,
  3031. MessageInfos: file_mq_proto_msgTypes,
  3032. }.Build()
  3033. File_mq_proto = out.File
  3034. file_mq_proto_rawDesc = nil
  3035. file_mq_proto_goTypes = nil
  3036. file_mq_proto_depIdxs = nil
  3037. }