mq.pb.go 108 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018
  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 LookupTopicBrokersRequest 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. IsForPublish bool `protobuf:"varint,2,opt,name=is_for_publish,json=isForPublish,proto3" json:"is_for_publish,omitempty"`
  777. }
  778. func (x *LookupTopicBrokersRequest) Reset() {
  779. *x = LookupTopicBrokersRequest{}
  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 *LookupTopicBrokersRequest) String() string {
  787. return protoimpl.X.MessageStringOf(x)
  788. }
  789. func (*LookupTopicBrokersRequest) ProtoMessage() {}
  790. func (x *LookupTopicBrokersRequest) 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 LookupTopicBrokersRequest.ProtoReflect.Descriptor instead.
  802. func (*LookupTopicBrokersRequest) Descriptor() ([]byte, []int) {
  803. return file_mq_proto_rawDescGZIP(), []int{16}
  804. }
  805. func (x *LookupTopicBrokersRequest) GetTopic() *Topic {
  806. if x != nil {
  807. return x.Topic
  808. }
  809. return nil
  810. }
  811. func (x *LookupTopicBrokersRequest) GetIsForPublish() bool {
  812. if x != nil {
  813. return x.IsForPublish
  814. }
  815. return false
  816. }
  817. type LookupTopicBrokersResponse struct {
  818. state protoimpl.MessageState
  819. sizeCache protoimpl.SizeCache
  820. unknownFields protoimpl.UnknownFields
  821. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  822. BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,2,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
  823. }
  824. func (x *LookupTopicBrokersResponse) Reset() {
  825. *x = LookupTopicBrokersResponse{}
  826. if protoimpl.UnsafeEnabled {
  827. mi := &file_mq_proto_msgTypes[17]
  828. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  829. ms.StoreMessageInfo(mi)
  830. }
  831. }
  832. func (x *LookupTopicBrokersResponse) String() string {
  833. return protoimpl.X.MessageStringOf(x)
  834. }
  835. func (*LookupTopicBrokersResponse) ProtoMessage() {}
  836. func (x *LookupTopicBrokersResponse) ProtoReflect() protoreflect.Message {
  837. mi := &file_mq_proto_msgTypes[17]
  838. if protoimpl.UnsafeEnabled && x != nil {
  839. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  840. if ms.LoadMessageInfo() == nil {
  841. ms.StoreMessageInfo(mi)
  842. }
  843. return ms
  844. }
  845. return mi.MessageOf(x)
  846. }
  847. // Deprecated: Use LookupTopicBrokersResponse.ProtoReflect.Descriptor instead.
  848. func (*LookupTopicBrokersResponse) Descriptor() ([]byte, []int) {
  849. return file_mq_proto_rawDescGZIP(), []int{17}
  850. }
  851. func (x *LookupTopicBrokersResponse) GetTopic() *Topic {
  852. if x != nil {
  853. return x.Topic
  854. }
  855. return nil
  856. }
  857. func (x *LookupTopicBrokersResponse) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
  858. if x != nil {
  859. return x.BrokerPartitionAssignments
  860. }
  861. return nil
  862. }
  863. type BrokerPartitionAssignment struct {
  864. state protoimpl.MessageState
  865. sizeCache protoimpl.SizeCache
  866. unknownFields protoimpl.UnknownFields
  867. Partition *Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
  868. LeaderBroker string `protobuf:"bytes,2,opt,name=leader_broker,json=leaderBroker,proto3" json:"leader_broker,omitempty"`
  869. FollowerBrokers []string `protobuf:"bytes,3,rep,name=follower_brokers,json=followerBrokers,proto3" json:"follower_brokers,omitempty"`
  870. }
  871. func (x *BrokerPartitionAssignment) Reset() {
  872. *x = BrokerPartitionAssignment{}
  873. if protoimpl.UnsafeEnabled {
  874. mi := &file_mq_proto_msgTypes[18]
  875. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  876. ms.StoreMessageInfo(mi)
  877. }
  878. }
  879. func (x *BrokerPartitionAssignment) String() string {
  880. return protoimpl.X.MessageStringOf(x)
  881. }
  882. func (*BrokerPartitionAssignment) ProtoMessage() {}
  883. func (x *BrokerPartitionAssignment) ProtoReflect() protoreflect.Message {
  884. mi := &file_mq_proto_msgTypes[18]
  885. if protoimpl.UnsafeEnabled && x != nil {
  886. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  887. if ms.LoadMessageInfo() == nil {
  888. ms.StoreMessageInfo(mi)
  889. }
  890. return ms
  891. }
  892. return mi.MessageOf(x)
  893. }
  894. // Deprecated: Use BrokerPartitionAssignment.ProtoReflect.Descriptor instead.
  895. func (*BrokerPartitionAssignment) Descriptor() ([]byte, []int) {
  896. return file_mq_proto_rawDescGZIP(), []int{18}
  897. }
  898. func (x *BrokerPartitionAssignment) GetPartition() *Partition {
  899. if x != nil {
  900. return x.Partition
  901. }
  902. return nil
  903. }
  904. func (x *BrokerPartitionAssignment) GetLeaderBroker() string {
  905. if x != nil {
  906. return x.LeaderBroker
  907. }
  908. return ""
  909. }
  910. func (x *BrokerPartitionAssignment) GetFollowerBrokers() []string {
  911. if x != nil {
  912. return x.FollowerBrokers
  913. }
  914. return nil
  915. }
  916. type RequestTopicPartitionsRequest struct {
  917. state protoimpl.MessageState
  918. sizeCache protoimpl.SizeCache
  919. unknownFields protoimpl.UnknownFields
  920. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  921. PartitionCount int32 `protobuf:"varint,2,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"`
  922. }
  923. func (x *RequestTopicPartitionsRequest) Reset() {
  924. *x = RequestTopicPartitionsRequest{}
  925. if protoimpl.UnsafeEnabled {
  926. mi := &file_mq_proto_msgTypes[19]
  927. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  928. ms.StoreMessageInfo(mi)
  929. }
  930. }
  931. func (x *RequestTopicPartitionsRequest) String() string {
  932. return protoimpl.X.MessageStringOf(x)
  933. }
  934. func (*RequestTopicPartitionsRequest) ProtoMessage() {}
  935. func (x *RequestTopicPartitionsRequest) ProtoReflect() protoreflect.Message {
  936. mi := &file_mq_proto_msgTypes[19]
  937. if protoimpl.UnsafeEnabled && x != nil {
  938. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  939. if ms.LoadMessageInfo() == nil {
  940. ms.StoreMessageInfo(mi)
  941. }
  942. return ms
  943. }
  944. return mi.MessageOf(x)
  945. }
  946. // Deprecated: Use RequestTopicPartitionsRequest.ProtoReflect.Descriptor instead.
  947. func (*RequestTopicPartitionsRequest) Descriptor() ([]byte, []int) {
  948. return file_mq_proto_rawDescGZIP(), []int{19}
  949. }
  950. func (x *RequestTopicPartitionsRequest) GetTopic() *Topic {
  951. if x != nil {
  952. return x.Topic
  953. }
  954. return nil
  955. }
  956. func (x *RequestTopicPartitionsRequest) GetPartitionCount() int32 {
  957. if x != nil {
  958. return x.PartitionCount
  959. }
  960. return 0
  961. }
  962. type RequestTopicPartitionsResponse struct {
  963. state protoimpl.MessageState
  964. sizeCache protoimpl.SizeCache
  965. unknownFields protoimpl.UnknownFields
  966. BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,1,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
  967. }
  968. func (x *RequestTopicPartitionsResponse) Reset() {
  969. *x = RequestTopicPartitionsResponse{}
  970. if protoimpl.UnsafeEnabled {
  971. mi := &file_mq_proto_msgTypes[20]
  972. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  973. ms.StoreMessageInfo(mi)
  974. }
  975. }
  976. func (x *RequestTopicPartitionsResponse) String() string {
  977. return protoimpl.X.MessageStringOf(x)
  978. }
  979. func (*RequestTopicPartitionsResponse) ProtoMessage() {}
  980. func (x *RequestTopicPartitionsResponse) ProtoReflect() protoreflect.Message {
  981. mi := &file_mq_proto_msgTypes[20]
  982. if protoimpl.UnsafeEnabled && x != nil {
  983. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  984. if ms.LoadMessageInfo() == nil {
  985. ms.StoreMessageInfo(mi)
  986. }
  987. return ms
  988. }
  989. return mi.MessageOf(x)
  990. }
  991. // Deprecated: Use RequestTopicPartitionsResponse.ProtoReflect.Descriptor instead.
  992. func (*RequestTopicPartitionsResponse) Descriptor() ([]byte, []int) {
  993. return file_mq_proto_rawDescGZIP(), []int{20}
  994. }
  995. func (x *RequestTopicPartitionsResponse) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
  996. if x != nil {
  997. return x.BrokerPartitionAssignments
  998. }
  999. return nil
  1000. }
  1001. type AssignTopicPartitionsRequest struct {
  1002. state protoimpl.MessageState
  1003. sizeCache protoimpl.SizeCache
  1004. unknownFields protoimpl.UnknownFields
  1005. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  1006. BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,2,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
  1007. IsLeader bool `protobuf:"varint,3,opt,name=is_leader,json=isLeader,proto3" json:"is_leader,omitempty"`
  1008. }
  1009. func (x *AssignTopicPartitionsRequest) Reset() {
  1010. *x = AssignTopicPartitionsRequest{}
  1011. if protoimpl.UnsafeEnabled {
  1012. mi := &file_mq_proto_msgTypes[21]
  1013. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1014. ms.StoreMessageInfo(mi)
  1015. }
  1016. }
  1017. func (x *AssignTopicPartitionsRequest) String() string {
  1018. return protoimpl.X.MessageStringOf(x)
  1019. }
  1020. func (*AssignTopicPartitionsRequest) ProtoMessage() {}
  1021. func (x *AssignTopicPartitionsRequest) ProtoReflect() protoreflect.Message {
  1022. mi := &file_mq_proto_msgTypes[21]
  1023. if protoimpl.UnsafeEnabled && x != nil {
  1024. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1025. if ms.LoadMessageInfo() == nil {
  1026. ms.StoreMessageInfo(mi)
  1027. }
  1028. return ms
  1029. }
  1030. return mi.MessageOf(x)
  1031. }
  1032. // Deprecated: Use AssignTopicPartitionsRequest.ProtoReflect.Descriptor instead.
  1033. func (*AssignTopicPartitionsRequest) Descriptor() ([]byte, []int) {
  1034. return file_mq_proto_rawDescGZIP(), []int{21}
  1035. }
  1036. func (x *AssignTopicPartitionsRequest) GetTopic() *Topic {
  1037. if x != nil {
  1038. return x.Topic
  1039. }
  1040. return nil
  1041. }
  1042. func (x *AssignTopicPartitionsRequest) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
  1043. if x != nil {
  1044. return x.BrokerPartitionAssignments
  1045. }
  1046. return nil
  1047. }
  1048. func (x *AssignTopicPartitionsRequest) GetIsLeader() bool {
  1049. if x != nil {
  1050. return x.IsLeader
  1051. }
  1052. return false
  1053. }
  1054. type AssignTopicPartitionsResponse struct {
  1055. state protoimpl.MessageState
  1056. sizeCache protoimpl.SizeCache
  1057. unknownFields protoimpl.UnknownFields
  1058. }
  1059. func (x *AssignTopicPartitionsResponse) Reset() {
  1060. *x = AssignTopicPartitionsResponse{}
  1061. if protoimpl.UnsafeEnabled {
  1062. mi := &file_mq_proto_msgTypes[22]
  1063. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1064. ms.StoreMessageInfo(mi)
  1065. }
  1066. }
  1067. func (x *AssignTopicPartitionsResponse) String() string {
  1068. return protoimpl.X.MessageStringOf(x)
  1069. }
  1070. func (*AssignTopicPartitionsResponse) ProtoMessage() {}
  1071. func (x *AssignTopicPartitionsResponse) ProtoReflect() protoreflect.Message {
  1072. mi := &file_mq_proto_msgTypes[22]
  1073. if protoimpl.UnsafeEnabled && x != nil {
  1074. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1075. if ms.LoadMessageInfo() == nil {
  1076. ms.StoreMessageInfo(mi)
  1077. }
  1078. return ms
  1079. }
  1080. return mi.MessageOf(x)
  1081. }
  1082. // Deprecated: Use AssignTopicPartitionsResponse.ProtoReflect.Descriptor instead.
  1083. func (*AssignTopicPartitionsResponse) Descriptor() ([]byte, []int) {
  1084. return file_mq_proto_rawDescGZIP(), []int{22}
  1085. }
  1086. type CheckTopicPartitionsStatusRequest struct {
  1087. state protoimpl.MessageState
  1088. sizeCache protoimpl.SizeCache
  1089. unknownFields protoimpl.UnknownFields
  1090. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  1091. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
  1092. BrokerPartitionAssignment *BrokerPartitionAssignment `protobuf:"bytes,3,opt,name=broker_partition_assignment,json=brokerPartitionAssignment,proto3" json:"broker_partition_assignment,omitempty"`
  1093. ShouldCancelIfNotMatch bool `protobuf:"varint,4,opt,name=should_cancel_if_not_match,json=shouldCancelIfNotMatch,proto3" json:"should_cancel_if_not_match,omitempty"`
  1094. }
  1095. func (x *CheckTopicPartitionsStatusRequest) Reset() {
  1096. *x = CheckTopicPartitionsStatusRequest{}
  1097. if protoimpl.UnsafeEnabled {
  1098. mi := &file_mq_proto_msgTypes[23]
  1099. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1100. ms.StoreMessageInfo(mi)
  1101. }
  1102. }
  1103. func (x *CheckTopicPartitionsStatusRequest) String() string {
  1104. return protoimpl.X.MessageStringOf(x)
  1105. }
  1106. func (*CheckTopicPartitionsStatusRequest) ProtoMessage() {}
  1107. func (x *CheckTopicPartitionsStatusRequest) ProtoReflect() protoreflect.Message {
  1108. mi := &file_mq_proto_msgTypes[23]
  1109. if protoimpl.UnsafeEnabled && x != nil {
  1110. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1111. if ms.LoadMessageInfo() == nil {
  1112. ms.StoreMessageInfo(mi)
  1113. }
  1114. return ms
  1115. }
  1116. return mi.MessageOf(x)
  1117. }
  1118. // Deprecated: Use CheckTopicPartitionsStatusRequest.ProtoReflect.Descriptor instead.
  1119. func (*CheckTopicPartitionsStatusRequest) Descriptor() ([]byte, []int) {
  1120. return file_mq_proto_rawDescGZIP(), []int{23}
  1121. }
  1122. func (x *CheckTopicPartitionsStatusRequest) GetNamespace() string {
  1123. if x != nil {
  1124. return x.Namespace
  1125. }
  1126. return ""
  1127. }
  1128. func (x *CheckTopicPartitionsStatusRequest) GetTopic() string {
  1129. if x != nil {
  1130. return x.Topic
  1131. }
  1132. return ""
  1133. }
  1134. func (x *CheckTopicPartitionsStatusRequest) GetBrokerPartitionAssignment() *BrokerPartitionAssignment {
  1135. if x != nil {
  1136. return x.BrokerPartitionAssignment
  1137. }
  1138. return nil
  1139. }
  1140. func (x *CheckTopicPartitionsStatusRequest) GetShouldCancelIfNotMatch() bool {
  1141. if x != nil {
  1142. return x.ShouldCancelIfNotMatch
  1143. }
  1144. return false
  1145. }
  1146. type CheckTopicPartitionsStatusResponse struct {
  1147. state protoimpl.MessageState
  1148. sizeCache protoimpl.SizeCache
  1149. unknownFields protoimpl.UnknownFields
  1150. BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,1,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
  1151. }
  1152. func (x *CheckTopicPartitionsStatusResponse) Reset() {
  1153. *x = CheckTopicPartitionsStatusResponse{}
  1154. if protoimpl.UnsafeEnabled {
  1155. mi := &file_mq_proto_msgTypes[24]
  1156. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1157. ms.StoreMessageInfo(mi)
  1158. }
  1159. }
  1160. func (x *CheckTopicPartitionsStatusResponse) String() string {
  1161. return protoimpl.X.MessageStringOf(x)
  1162. }
  1163. func (*CheckTopicPartitionsStatusResponse) ProtoMessage() {}
  1164. func (x *CheckTopicPartitionsStatusResponse) ProtoReflect() protoreflect.Message {
  1165. mi := &file_mq_proto_msgTypes[24]
  1166. if protoimpl.UnsafeEnabled && x != nil {
  1167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1168. if ms.LoadMessageInfo() == nil {
  1169. ms.StoreMessageInfo(mi)
  1170. }
  1171. return ms
  1172. }
  1173. return mi.MessageOf(x)
  1174. }
  1175. // Deprecated: Use CheckTopicPartitionsStatusResponse.ProtoReflect.Descriptor instead.
  1176. func (*CheckTopicPartitionsStatusResponse) Descriptor() ([]byte, []int) {
  1177. return file_mq_proto_rawDescGZIP(), []int{24}
  1178. }
  1179. func (x *CheckTopicPartitionsStatusResponse) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
  1180. if x != nil {
  1181. return x.BrokerPartitionAssignments
  1182. }
  1183. return nil
  1184. }
  1185. // ////////////////////////////////////////////////
  1186. type DataMessage struct {
  1187. state protoimpl.MessageState
  1188. sizeCache protoimpl.SizeCache
  1189. unknownFields protoimpl.UnknownFields
  1190. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  1191. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  1192. }
  1193. func (x *DataMessage) Reset() {
  1194. *x = DataMessage{}
  1195. if protoimpl.UnsafeEnabled {
  1196. mi := &file_mq_proto_msgTypes[25]
  1197. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1198. ms.StoreMessageInfo(mi)
  1199. }
  1200. }
  1201. func (x *DataMessage) String() string {
  1202. return protoimpl.X.MessageStringOf(x)
  1203. }
  1204. func (*DataMessage) ProtoMessage() {}
  1205. func (x *DataMessage) ProtoReflect() protoreflect.Message {
  1206. mi := &file_mq_proto_msgTypes[25]
  1207. if protoimpl.UnsafeEnabled && x != nil {
  1208. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1209. if ms.LoadMessageInfo() == nil {
  1210. ms.StoreMessageInfo(mi)
  1211. }
  1212. return ms
  1213. }
  1214. return mi.MessageOf(x)
  1215. }
  1216. // Deprecated: Use DataMessage.ProtoReflect.Descriptor instead.
  1217. func (*DataMessage) Descriptor() ([]byte, []int) {
  1218. return file_mq_proto_rawDescGZIP(), []int{25}
  1219. }
  1220. func (x *DataMessage) GetKey() []byte {
  1221. if x != nil {
  1222. return x.Key
  1223. }
  1224. return nil
  1225. }
  1226. func (x *DataMessage) GetValue() []byte {
  1227. if x != nil {
  1228. return x.Value
  1229. }
  1230. return nil
  1231. }
  1232. type PublishRequest struct {
  1233. state protoimpl.MessageState
  1234. sizeCache protoimpl.SizeCache
  1235. unknownFields protoimpl.UnknownFields
  1236. // Types that are assignable to Message:
  1237. //
  1238. // *PublishRequest_Init
  1239. // *PublishRequest_Data
  1240. Message isPublishRequest_Message `protobuf_oneof:"message"`
  1241. Sequence int64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
  1242. }
  1243. func (x *PublishRequest) Reset() {
  1244. *x = PublishRequest{}
  1245. if protoimpl.UnsafeEnabled {
  1246. mi := &file_mq_proto_msgTypes[26]
  1247. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1248. ms.StoreMessageInfo(mi)
  1249. }
  1250. }
  1251. func (x *PublishRequest) String() string {
  1252. return protoimpl.X.MessageStringOf(x)
  1253. }
  1254. func (*PublishRequest) ProtoMessage() {}
  1255. func (x *PublishRequest) ProtoReflect() protoreflect.Message {
  1256. mi := &file_mq_proto_msgTypes[26]
  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 PublishRequest.ProtoReflect.Descriptor instead.
  1267. func (*PublishRequest) Descriptor() ([]byte, []int) {
  1268. return file_mq_proto_rawDescGZIP(), []int{26}
  1269. }
  1270. func (m *PublishRequest) GetMessage() isPublishRequest_Message {
  1271. if m != nil {
  1272. return m.Message
  1273. }
  1274. return nil
  1275. }
  1276. func (x *PublishRequest) GetInit() *PublishRequest_InitMessage {
  1277. if x, ok := x.GetMessage().(*PublishRequest_Init); ok {
  1278. return x.Init
  1279. }
  1280. return nil
  1281. }
  1282. func (x *PublishRequest) GetData() *DataMessage {
  1283. if x, ok := x.GetMessage().(*PublishRequest_Data); ok {
  1284. return x.Data
  1285. }
  1286. return nil
  1287. }
  1288. func (x *PublishRequest) GetSequence() int64 {
  1289. if x != nil {
  1290. return x.Sequence
  1291. }
  1292. return 0
  1293. }
  1294. type isPublishRequest_Message interface {
  1295. isPublishRequest_Message()
  1296. }
  1297. type PublishRequest_Init struct {
  1298. Init *PublishRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
  1299. }
  1300. type PublishRequest_Data struct {
  1301. Data *DataMessage `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
  1302. }
  1303. func (*PublishRequest_Init) isPublishRequest_Message() {}
  1304. func (*PublishRequest_Data) isPublishRequest_Message() {}
  1305. type PublishResponse struct {
  1306. state protoimpl.MessageState
  1307. sizeCache protoimpl.SizeCache
  1308. unknownFields protoimpl.UnknownFields
  1309. AckSequence int64 `protobuf:"varint,1,opt,name=ack_sequence,json=ackSequence,proto3" json:"ack_sequence,omitempty"`
  1310. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
  1311. RedirectToBroker string `protobuf:"bytes,3,opt,name=redirect_to_broker,json=redirectToBroker,proto3" json:"redirect_to_broker,omitempty"`
  1312. }
  1313. func (x *PublishResponse) Reset() {
  1314. *x = PublishResponse{}
  1315. if protoimpl.UnsafeEnabled {
  1316. mi := &file_mq_proto_msgTypes[27]
  1317. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1318. ms.StoreMessageInfo(mi)
  1319. }
  1320. }
  1321. func (x *PublishResponse) String() string {
  1322. return protoimpl.X.MessageStringOf(x)
  1323. }
  1324. func (*PublishResponse) ProtoMessage() {}
  1325. func (x *PublishResponse) ProtoReflect() protoreflect.Message {
  1326. mi := &file_mq_proto_msgTypes[27]
  1327. if protoimpl.UnsafeEnabled && x != nil {
  1328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1329. if ms.LoadMessageInfo() == nil {
  1330. ms.StoreMessageInfo(mi)
  1331. }
  1332. return ms
  1333. }
  1334. return mi.MessageOf(x)
  1335. }
  1336. // Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.
  1337. func (*PublishResponse) Descriptor() ([]byte, []int) {
  1338. return file_mq_proto_rawDescGZIP(), []int{27}
  1339. }
  1340. func (x *PublishResponse) GetAckSequence() int64 {
  1341. if x != nil {
  1342. return x.AckSequence
  1343. }
  1344. return 0
  1345. }
  1346. func (x *PublishResponse) GetError() string {
  1347. if x != nil {
  1348. return x.Error
  1349. }
  1350. return ""
  1351. }
  1352. func (x *PublishResponse) GetRedirectToBroker() string {
  1353. if x != nil {
  1354. return x.RedirectToBroker
  1355. }
  1356. return ""
  1357. }
  1358. type SubscribeRequest struct {
  1359. state protoimpl.MessageState
  1360. sizeCache protoimpl.SizeCache
  1361. unknownFields protoimpl.UnknownFields
  1362. Consumer *SubscribeRequest_Consumer `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"`
  1363. Cursor *SubscribeRequest_Cursor `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
  1364. }
  1365. func (x *SubscribeRequest) Reset() {
  1366. *x = SubscribeRequest{}
  1367. if protoimpl.UnsafeEnabled {
  1368. mi := &file_mq_proto_msgTypes[28]
  1369. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1370. ms.StoreMessageInfo(mi)
  1371. }
  1372. }
  1373. func (x *SubscribeRequest) String() string {
  1374. return protoimpl.X.MessageStringOf(x)
  1375. }
  1376. func (*SubscribeRequest) ProtoMessage() {}
  1377. func (x *SubscribeRequest) ProtoReflect() protoreflect.Message {
  1378. mi := &file_mq_proto_msgTypes[28]
  1379. if protoimpl.UnsafeEnabled && x != nil {
  1380. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1381. if ms.LoadMessageInfo() == nil {
  1382. ms.StoreMessageInfo(mi)
  1383. }
  1384. return ms
  1385. }
  1386. return mi.MessageOf(x)
  1387. }
  1388. // Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
  1389. func (*SubscribeRequest) Descriptor() ([]byte, []int) {
  1390. return file_mq_proto_rawDescGZIP(), []int{28}
  1391. }
  1392. func (x *SubscribeRequest) GetConsumer() *SubscribeRequest_Consumer {
  1393. if x != nil {
  1394. return x.Consumer
  1395. }
  1396. return nil
  1397. }
  1398. func (x *SubscribeRequest) GetCursor() *SubscribeRequest_Cursor {
  1399. if x != nil {
  1400. return x.Cursor
  1401. }
  1402. return nil
  1403. }
  1404. type SubscribeResponse struct {
  1405. state protoimpl.MessageState
  1406. sizeCache protoimpl.SizeCache
  1407. unknownFields protoimpl.UnknownFields
  1408. // Types that are assignable to Message:
  1409. //
  1410. // *SubscribeResponse_Ctrl
  1411. // *SubscribeResponse_Data
  1412. Message isSubscribeResponse_Message `protobuf_oneof:"message"`
  1413. }
  1414. func (x *SubscribeResponse) Reset() {
  1415. *x = SubscribeResponse{}
  1416. if protoimpl.UnsafeEnabled {
  1417. mi := &file_mq_proto_msgTypes[29]
  1418. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1419. ms.StoreMessageInfo(mi)
  1420. }
  1421. }
  1422. func (x *SubscribeResponse) String() string {
  1423. return protoimpl.X.MessageStringOf(x)
  1424. }
  1425. func (*SubscribeResponse) ProtoMessage() {}
  1426. func (x *SubscribeResponse) ProtoReflect() protoreflect.Message {
  1427. mi := &file_mq_proto_msgTypes[29]
  1428. if protoimpl.UnsafeEnabled && x != nil {
  1429. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1430. if ms.LoadMessageInfo() == nil {
  1431. ms.StoreMessageInfo(mi)
  1432. }
  1433. return ms
  1434. }
  1435. return mi.MessageOf(x)
  1436. }
  1437. // Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.
  1438. func (*SubscribeResponse) Descriptor() ([]byte, []int) {
  1439. return file_mq_proto_rawDescGZIP(), []int{29}
  1440. }
  1441. func (m *SubscribeResponse) GetMessage() isSubscribeResponse_Message {
  1442. if m != nil {
  1443. return m.Message
  1444. }
  1445. return nil
  1446. }
  1447. func (x *SubscribeResponse) GetCtrl() *SubscribeResponse_CtrlMessage {
  1448. if x, ok := x.GetMessage().(*SubscribeResponse_Ctrl); ok {
  1449. return x.Ctrl
  1450. }
  1451. return nil
  1452. }
  1453. func (x *SubscribeResponse) GetData() *DataMessage {
  1454. if x, ok := x.GetMessage().(*SubscribeResponse_Data); ok {
  1455. return x.Data
  1456. }
  1457. return nil
  1458. }
  1459. type isSubscribeResponse_Message interface {
  1460. isSubscribeResponse_Message()
  1461. }
  1462. type SubscribeResponse_Ctrl struct {
  1463. Ctrl *SubscribeResponse_CtrlMessage `protobuf:"bytes,1,opt,name=ctrl,proto3,oneof"`
  1464. }
  1465. type SubscribeResponse_Data struct {
  1466. Data *DataMessage `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
  1467. }
  1468. func (*SubscribeResponse_Ctrl) isSubscribeResponse_Message() {}
  1469. func (*SubscribeResponse_Data) isSubscribeResponse_Message() {}
  1470. type ConnectToBalancerRequest_InitMessage struct {
  1471. state protoimpl.MessageState
  1472. sizeCache protoimpl.SizeCache
  1473. unknownFields protoimpl.UnknownFields
  1474. Broker string `protobuf:"bytes,1,opt,name=broker,proto3" json:"broker,omitempty"`
  1475. }
  1476. func (x *ConnectToBalancerRequest_InitMessage) Reset() {
  1477. *x = ConnectToBalancerRequest_InitMessage{}
  1478. if protoimpl.UnsafeEnabled {
  1479. mi := &file_mq_proto_msgTypes[31]
  1480. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1481. ms.StoreMessageInfo(mi)
  1482. }
  1483. }
  1484. func (x *ConnectToBalancerRequest_InitMessage) String() string {
  1485. return protoimpl.X.MessageStringOf(x)
  1486. }
  1487. func (*ConnectToBalancerRequest_InitMessage) ProtoMessage() {}
  1488. func (x *ConnectToBalancerRequest_InitMessage) ProtoReflect() protoreflect.Message {
  1489. mi := &file_mq_proto_msgTypes[31]
  1490. if protoimpl.UnsafeEnabled && x != nil {
  1491. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1492. if ms.LoadMessageInfo() == nil {
  1493. ms.StoreMessageInfo(mi)
  1494. }
  1495. return ms
  1496. }
  1497. return mi.MessageOf(x)
  1498. }
  1499. // Deprecated: Use ConnectToBalancerRequest_InitMessage.ProtoReflect.Descriptor instead.
  1500. func (*ConnectToBalancerRequest_InitMessage) Descriptor() ([]byte, []int) {
  1501. return file_mq_proto_rawDescGZIP(), []int{14, 0}
  1502. }
  1503. func (x *ConnectToBalancerRequest_InitMessage) GetBroker() string {
  1504. if x != nil {
  1505. return x.Broker
  1506. }
  1507. return ""
  1508. }
  1509. type PublishRequest_InitMessage struct {
  1510. state protoimpl.MessageState
  1511. sizeCache protoimpl.SizeCache
  1512. unknownFields protoimpl.UnknownFields
  1513. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  1514. Partition *Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
  1515. AckInterval int32 `protobuf:"varint,3,opt,name=ack_interval,json=ackInterval,proto3" json:"ack_interval,omitempty"`
  1516. }
  1517. func (x *PublishRequest_InitMessage) Reset() {
  1518. *x = PublishRequest_InitMessage{}
  1519. if protoimpl.UnsafeEnabled {
  1520. mi := &file_mq_proto_msgTypes[32]
  1521. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1522. ms.StoreMessageInfo(mi)
  1523. }
  1524. }
  1525. func (x *PublishRequest_InitMessage) String() string {
  1526. return protoimpl.X.MessageStringOf(x)
  1527. }
  1528. func (*PublishRequest_InitMessage) ProtoMessage() {}
  1529. func (x *PublishRequest_InitMessage) ProtoReflect() protoreflect.Message {
  1530. mi := &file_mq_proto_msgTypes[32]
  1531. if protoimpl.UnsafeEnabled && x != nil {
  1532. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1533. if ms.LoadMessageInfo() == nil {
  1534. ms.StoreMessageInfo(mi)
  1535. }
  1536. return ms
  1537. }
  1538. return mi.MessageOf(x)
  1539. }
  1540. // Deprecated: Use PublishRequest_InitMessage.ProtoReflect.Descriptor instead.
  1541. func (*PublishRequest_InitMessage) Descriptor() ([]byte, []int) {
  1542. return file_mq_proto_rawDescGZIP(), []int{26, 0}
  1543. }
  1544. func (x *PublishRequest_InitMessage) GetTopic() *Topic {
  1545. if x != nil {
  1546. return x.Topic
  1547. }
  1548. return nil
  1549. }
  1550. func (x *PublishRequest_InitMessage) GetPartition() *Partition {
  1551. if x != nil {
  1552. return x.Partition
  1553. }
  1554. return nil
  1555. }
  1556. func (x *PublishRequest_InitMessage) GetAckInterval() int32 {
  1557. if x != nil {
  1558. return x.AckInterval
  1559. }
  1560. return 0
  1561. }
  1562. type SubscribeRequest_Consumer struct {
  1563. state protoimpl.MessageState
  1564. sizeCache protoimpl.SizeCache
  1565. unknownFields protoimpl.UnknownFields
  1566. ConsumerGroup string `protobuf:"bytes,1,opt,name=consumer_group,json=consumerGroup,proto3" json:"consumer_group,omitempty"`
  1567. ConsumerId string `protobuf:"bytes,2,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
  1568. ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
  1569. }
  1570. func (x *SubscribeRequest_Consumer) Reset() {
  1571. *x = SubscribeRequest_Consumer{}
  1572. if protoimpl.UnsafeEnabled {
  1573. mi := &file_mq_proto_msgTypes[33]
  1574. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1575. ms.StoreMessageInfo(mi)
  1576. }
  1577. }
  1578. func (x *SubscribeRequest_Consumer) String() string {
  1579. return protoimpl.X.MessageStringOf(x)
  1580. }
  1581. func (*SubscribeRequest_Consumer) ProtoMessage() {}
  1582. func (x *SubscribeRequest_Consumer) ProtoReflect() protoreflect.Message {
  1583. mi := &file_mq_proto_msgTypes[33]
  1584. if protoimpl.UnsafeEnabled && x != nil {
  1585. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1586. if ms.LoadMessageInfo() == nil {
  1587. ms.StoreMessageInfo(mi)
  1588. }
  1589. return ms
  1590. }
  1591. return mi.MessageOf(x)
  1592. }
  1593. // Deprecated: Use SubscribeRequest_Consumer.ProtoReflect.Descriptor instead.
  1594. func (*SubscribeRequest_Consumer) Descriptor() ([]byte, []int) {
  1595. return file_mq_proto_rawDescGZIP(), []int{28, 0}
  1596. }
  1597. func (x *SubscribeRequest_Consumer) GetConsumerGroup() string {
  1598. if x != nil {
  1599. return x.ConsumerGroup
  1600. }
  1601. return ""
  1602. }
  1603. func (x *SubscribeRequest_Consumer) GetConsumerId() string {
  1604. if x != nil {
  1605. return x.ConsumerId
  1606. }
  1607. return ""
  1608. }
  1609. func (x *SubscribeRequest_Consumer) GetClientId() string {
  1610. if x != nil {
  1611. return x.ClientId
  1612. }
  1613. return ""
  1614. }
  1615. type SubscribeRequest_Cursor struct {
  1616. state protoimpl.MessageState
  1617. sizeCache protoimpl.SizeCache
  1618. unknownFields protoimpl.UnknownFields
  1619. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  1620. Partition *Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
  1621. // Types that are assignable to Offset:
  1622. //
  1623. // *SubscribeRequest_Cursor_StartOffset
  1624. // *SubscribeRequest_Cursor_StartTimestampNs
  1625. Offset isSubscribeRequest_Cursor_Offset `protobuf_oneof:"offset"`
  1626. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
  1627. }
  1628. func (x *SubscribeRequest_Cursor) Reset() {
  1629. *x = SubscribeRequest_Cursor{}
  1630. if protoimpl.UnsafeEnabled {
  1631. mi := &file_mq_proto_msgTypes[34]
  1632. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1633. ms.StoreMessageInfo(mi)
  1634. }
  1635. }
  1636. func (x *SubscribeRequest_Cursor) String() string {
  1637. return protoimpl.X.MessageStringOf(x)
  1638. }
  1639. func (*SubscribeRequest_Cursor) ProtoMessage() {}
  1640. func (x *SubscribeRequest_Cursor) ProtoReflect() protoreflect.Message {
  1641. mi := &file_mq_proto_msgTypes[34]
  1642. if protoimpl.UnsafeEnabled && x != nil {
  1643. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1644. if ms.LoadMessageInfo() == nil {
  1645. ms.StoreMessageInfo(mi)
  1646. }
  1647. return ms
  1648. }
  1649. return mi.MessageOf(x)
  1650. }
  1651. // Deprecated: Use SubscribeRequest_Cursor.ProtoReflect.Descriptor instead.
  1652. func (*SubscribeRequest_Cursor) Descriptor() ([]byte, []int) {
  1653. return file_mq_proto_rawDescGZIP(), []int{28, 1}
  1654. }
  1655. func (x *SubscribeRequest_Cursor) GetTopic() *Topic {
  1656. if x != nil {
  1657. return x.Topic
  1658. }
  1659. return nil
  1660. }
  1661. func (x *SubscribeRequest_Cursor) GetPartition() *Partition {
  1662. if x != nil {
  1663. return x.Partition
  1664. }
  1665. return nil
  1666. }
  1667. func (m *SubscribeRequest_Cursor) GetOffset() isSubscribeRequest_Cursor_Offset {
  1668. if m != nil {
  1669. return m.Offset
  1670. }
  1671. return nil
  1672. }
  1673. func (x *SubscribeRequest_Cursor) GetStartOffset() int64 {
  1674. if x, ok := x.GetOffset().(*SubscribeRequest_Cursor_StartOffset); ok {
  1675. return x.StartOffset
  1676. }
  1677. return 0
  1678. }
  1679. func (x *SubscribeRequest_Cursor) GetStartTimestampNs() int64 {
  1680. if x, ok := x.GetOffset().(*SubscribeRequest_Cursor_StartTimestampNs); ok {
  1681. return x.StartTimestampNs
  1682. }
  1683. return 0
  1684. }
  1685. func (x *SubscribeRequest_Cursor) GetFilter() string {
  1686. if x != nil {
  1687. return x.Filter
  1688. }
  1689. return ""
  1690. }
  1691. type isSubscribeRequest_Cursor_Offset interface {
  1692. isSubscribeRequest_Cursor_Offset()
  1693. }
  1694. type SubscribeRequest_Cursor_StartOffset struct {
  1695. StartOffset int64 `protobuf:"varint,3,opt,name=start_offset,json=startOffset,proto3,oneof"`
  1696. }
  1697. type SubscribeRequest_Cursor_StartTimestampNs struct {
  1698. StartTimestampNs int64 `protobuf:"varint,4,opt,name=start_timestamp_ns,json=startTimestampNs,proto3,oneof"`
  1699. }
  1700. func (*SubscribeRequest_Cursor_StartOffset) isSubscribeRequest_Cursor_Offset() {}
  1701. func (*SubscribeRequest_Cursor_StartTimestampNs) isSubscribeRequest_Cursor_Offset() {}
  1702. type SubscribeResponse_CtrlMessage struct {
  1703. state protoimpl.MessageState
  1704. sizeCache protoimpl.SizeCache
  1705. unknownFields protoimpl.UnknownFields
  1706. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  1707. RedirectToBroker string `protobuf:"bytes,2,opt,name=redirect_to_broker,json=redirectToBroker,proto3" json:"redirect_to_broker,omitempty"`
  1708. }
  1709. func (x *SubscribeResponse_CtrlMessage) Reset() {
  1710. *x = SubscribeResponse_CtrlMessage{}
  1711. if protoimpl.UnsafeEnabled {
  1712. mi := &file_mq_proto_msgTypes[35]
  1713. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1714. ms.StoreMessageInfo(mi)
  1715. }
  1716. }
  1717. func (x *SubscribeResponse_CtrlMessage) String() string {
  1718. return protoimpl.X.MessageStringOf(x)
  1719. }
  1720. func (*SubscribeResponse_CtrlMessage) ProtoMessage() {}
  1721. func (x *SubscribeResponse_CtrlMessage) ProtoReflect() protoreflect.Message {
  1722. mi := &file_mq_proto_msgTypes[35]
  1723. if protoimpl.UnsafeEnabled && x != nil {
  1724. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1725. if ms.LoadMessageInfo() == nil {
  1726. ms.StoreMessageInfo(mi)
  1727. }
  1728. return ms
  1729. }
  1730. return mi.MessageOf(x)
  1731. }
  1732. // Deprecated: Use SubscribeResponse_CtrlMessage.ProtoReflect.Descriptor instead.
  1733. func (*SubscribeResponse_CtrlMessage) Descriptor() ([]byte, []int) {
  1734. return file_mq_proto_rawDescGZIP(), []int{29, 0}
  1735. }
  1736. func (x *SubscribeResponse_CtrlMessage) GetError() string {
  1737. if x != nil {
  1738. return x.Error
  1739. }
  1740. return ""
  1741. }
  1742. func (x *SubscribeResponse_CtrlMessage) GetRedirectToBroker() string {
  1743. if x != nil {
  1744. return x.RedirectToBroker
  1745. }
  1746. return ""
  1747. }
  1748. var File_mq_proto protoreflect.FileDescriptor
  1749. var file_mq_proto_rawDesc = []byte{
  1750. 0x0a, 0x08, 0x6d, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x73, 0x73,
  1751. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x22, 0xe8, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x67,
  1752. 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x07, 0x73, 0x65, 0x67, 0x6d,
  1753. 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1754. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
  1755. 0x52, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x73, 0x74, 0x61,
  1756. 0x72, 0x74, 0x5f, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
  1757. 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x73, 0x4e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x72, 0x6f,
  1758. 0x6b, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x72, 0x6f, 0x6b,
  1759. 0x65, 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x74, 0x73, 0x5f, 0x6e,
  1760. 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x54, 0x73, 0x4e,
  1761. 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x73, 0x65,
  1762. 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x05, 0x52, 0x10, 0x70, 0x72,
  1763. 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23,
  1764. 0x0a, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
  1765. 0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0c, 0x6e, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65,
  1766. 0x6e, 0x74, 0x73, 0x22, 0x3a, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65,
  1767. 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f,
  1768. 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20,
  1769. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22,
  1770. 0x32, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61,
  1771. 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62,
  1772. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x6f,
  1773. 0x6b, 0x65, 0x72, 0x22, 0x39, 0x0a, 0x05, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1c, 0x0a, 0x09,
  1774. 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1775. 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  1776. 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x68,
  1777. 0x0a, 0x09, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72,
  1778. 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
  1779. 0x72, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x61, 0x6e, 0x67,
  1780. 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72,
  1781. 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x61, 0x6e,
  1782. 0x67, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72,
  1783. 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x22, 0x84, 0x01, 0x0a, 0x07, 0x53, 0x65, 0x67,
  1784. 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
  1785. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
  1786. 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28,
  1787. 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03,
  1788. 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74,
  1789. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x65,
  1790. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69,
  1791. 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22,
  1792. 0x4e, 0x0a, 0x1b, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
  1793. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f,
  1794. 0x0a, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1795. 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53,
  1796. 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22,
  1797. 0x38, 0x0a, 0x1c, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
  1798. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1799. 0x18, 0x0a, 0x07, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
  1800. 0x52, 0x07, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x22, 0x4c, 0x0a, 0x19, 0x43, 0x68, 0x65,
  1801. 0x63, 0x6b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
  1802. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e,
  1803. 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1804. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07,
  1805. 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x39, 0x0a, 0x1a, 0x43, 0x68, 0x65, 0x63, 0x6b,
  1806. 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73,
  1807. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69,
  1808. 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69,
  1809. 0x76, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f, 0x6b, 0x65,
  1810. 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5f, 0x0a, 0x17,
  1811. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x52,
  1812. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1813. 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
  1814. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
  1815. 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
  1816. 0x03, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xd2, 0x01,
  1817. 0x0a, 0x0b, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2a, 0x0a,
  1818. 0x11, 0x63, 0x70, 0x75, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65,
  1819. 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x70, 0x75, 0x55, 0x73, 0x61,
  1820. 0x67, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x05, 0x73, 0x74, 0x61,
  1821. 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1822. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x53, 0x74,
  1823. 0x61, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05,
  1824. 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x5b, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x73, 0x45, 0x6e,
  1825. 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1826. 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
  1827. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  1828. 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  1829. 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
  1830. 0x38, 0x01, 0x22, 0xbb, 0x01, 0x0a, 0x13, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74,
  1831. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f,
  1832. 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1833. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05,
  1834. 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  1835. 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1836. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  1837. 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e,
  1838. 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
  1839. 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x43, 0x6f,
  1840. 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72,
  1841. 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72,
  1842. 0x22, 0xc9, 0x01, 0x0a, 0x18, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42, 0x61,
  1843. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a,
  1844. 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6d, 0x65,
  1845. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
  1846. 0x63, 0x74, 0x54, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
  1847. 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48,
  1848. 0x00, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73,
  1849. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  1850. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74,
  1851. 0x73, 0x48, 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x25, 0x0a, 0x0b, 0x49, 0x6e,
  1852. 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x6f,
  1853. 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x6f, 0x6b, 0x65,
  1854. 0x72, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x1b, 0x0a, 0x19,
  1855. 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
  1856. 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6c, 0x0a, 0x19, 0x4c, 0x6f, 0x6f,
  1857. 0x6b, 0x75, 0x70, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52,
  1858. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18,
  1859. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e,
  1860. 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69,
  1861. 0x63, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x75, 0x62, 0x6c,
  1862. 0x69, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x46, 0x6f, 0x72,
  1863. 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x22, 0xb2, 0x01, 0x0a, 0x1a, 0x4c, 0x6f, 0x6f, 0x6b,
  1864. 0x75, 0x70, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65,
  1865. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18,
  1866. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e,
  1867. 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69,
  1868. 0x63, 0x12, 0x69, 0x0a, 0x1c, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74,
  1869. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
  1870. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1871. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72,
  1872. 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
  1873. 0x52, 0x1a, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  1874. 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xa2, 0x01, 0x0a,
  1875. 0x19, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  1876. 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61,
  1877. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
  1878. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72,
  1879. 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  1880. 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x72, 0x6f, 0x6b,
  1881. 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72,
  1882. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x10, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77,
  1883. 0x65, 0x72, 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
  1884. 0x52, 0x0f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72,
  1885. 0x73, 0x22, 0x73, 0x0a, 0x1d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69,
  1886. 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
  1887. 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28,
  1888. 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62,
  1889. 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x27, 0x0a,
  1890. 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  1891. 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  1892. 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x1e, 0x52, 0x65, 0x71, 0x75, 0x65,
  1893. 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  1894. 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x1c, 0x62, 0x72, 0x6f,
  1895. 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x73,
  1896. 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1897. 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42,
  1898. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73,
  1899. 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1a, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72,
  1900. 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d,
  1901. 0x65, 0x6e, 0x74, 0x73, 0x22, 0xd1, 0x01, 0x0a, 0x1c, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54,
  1902. 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
  1903. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01,
  1904. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  1905. 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63,
  1906. 0x12, 0x69, 0x0a, 0x1c, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69,
  1907. 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73,
  1908. 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  1909. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74,
  1910. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52,
  1911. 0x1a, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  1912. 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69,
  1913. 0x73, 0x5f, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08,
  1914. 0x69, 0x73, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x1f, 0x0a, 0x1d, 0x41, 0x73, 0x73, 0x69,
  1915. 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  1916. 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xfc, 0x01, 0x0a, 0x21, 0x43, 0x68,
  1917. 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  1918. 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  1919. 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
  1920. 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a,
  1921. 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f,
  1922. 0x70, 0x69, 0x63, 0x12, 0x67, 0x0a, 0x1b, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61,
  1923. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
  1924. 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1925. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61,
  1926. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e,
  1927. 0x74, 0x52, 0x19, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  1928. 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x1a,
  1929. 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x5f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x69, 0x66,
  1930. 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08,
  1931. 0x52, 0x16, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x49, 0x66,
  1932. 0x4e, 0x6f, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x22, 0x8f, 0x01, 0x0a, 0x22, 0x43, 0x68, 0x65,
  1933. 0x63, 0x6b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  1934. 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1935. 0x69, 0x0a, 0x1c, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
  1936. 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
  1937. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e,
  1938. 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69,
  1939. 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1a,
  1940. 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41,
  1941. 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x35, 0x0a, 0x0b, 0x44, 0x61,
  1942. 0x74, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
  1943. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
  1944. 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
  1945. 0x65, 0x22, 0xbd, 0x02, 0x0a, 0x0e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71,
  1946. 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01,
  1947. 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  1948. 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1949. 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04,
  1950. 0x69, 0x6e, 0x69, 0x74, 0x12, 0x2f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01,
  1951. 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  1952. 0x62, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52,
  1953. 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,
  1954. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,
  1955. 0x65, 0x1a, 0x92, 0x01, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1956. 0x65, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  1957. 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
  1958. 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x35, 0x0a, 0x09,
  1959. 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1960. 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50,
  1961. 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
  1962. 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72,
  1963. 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x6b, 0x49, 0x6e,
  1964. 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1965. 0x65, 0x22, 0x78, 0x0a, 0x0f, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70,
  1966. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x71, 0x75,
  1967. 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x63, 0x6b, 0x53,
  1968. 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
  1969. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2c, 0x0a,
  1970. 0x12, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x62, 0x72, 0x6f,
  1971. 0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x64, 0x69, 0x72,
  1972. 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x22, 0xeb, 0x03, 0x0a, 0x10,
  1973. 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1974. 0x12, 0x43, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
  1975. 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  1976. 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  1977. 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6f, 0x6e,
  1978. 0x73, 0x75, 0x6d, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18,
  1979. 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e,
  1980. 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65,
  1981. 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x52, 0x06, 0x63, 0x75,
  1982. 0x72, 0x73, 0x6f, 0x72, 0x1a, 0x6f, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72,
  1983. 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f,
  1984. 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d,
  1985. 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x75,
  1986. 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f,
  1987. 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65,
  1988. 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69,
  1989. 0x65, 0x6e, 0x74, 0x49, 0x64, 0x1a, 0xe1, 0x01, 0x0a, 0x06, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72,
  1990. 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1991. 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54,
  1992. 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x35, 0x0a, 0x09, 0x70,
  1993. 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
  1994. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61,
  1995. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  1996. 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73,
  1997. 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72,
  1998. 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x72, 0x74,
  1999. 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6e, 0x73, 0x18, 0x04, 0x20,
  2000. 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65,
  2001. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65,
  2002. 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42,
  2003. 0x08, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0xe5, 0x01, 0x0a, 0x11, 0x53, 0x75,
  2004. 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  2005. 0x41, 0x0a, 0x04, 0x63, 0x74, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
  2006. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62,
  2007. 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43,
  2008. 0x74, 0x72, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x63, 0x74,
  2009. 0x72, 0x6c, 0x12, 0x2f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  2010. 0x32, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
  2011. 0x44, 0x61, 0x74, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x64,
  2012. 0x61, 0x74, 0x61, 0x1a, 0x51, 0x0a, 0x0b, 0x43, 0x74, 0x72, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61,
  2013. 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
  2014. 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x64, 0x69,
  2015. 0x72, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x18, 0x02,
  2016. 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x54, 0x6f,
  2017. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2018. 0x65, 0x32, 0x9b, 0x09, 0x0a, 0x10, 0x53, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x4d, 0x65, 0x73,
  2019. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x63, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72,
  2020. 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x73,
  2021. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72,
  2022. 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  2023. 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62,
  2024. 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65,
  2025. 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x14, 0x41,
  2026. 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x6b,
  2027. 0x65, 0x72, 0x73, 0x12, 0x29, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
  2028. 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
  2029. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a,
  2030. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73,
  2031. 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65,
  2032. 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x12,
  2033. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74,
  2034. 0x75, 0x73, 0x12, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  2035. 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74,
  2036. 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6d, 0x65,
  2037. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b,
  2038. 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73,
  2039. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x0f, 0x43, 0x68, 0x65, 0x63, 0x6b,
  2040. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x2e, 0x6d, 0x65, 0x73,
  2041. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42,
  2042. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2043. 0x1a, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
  2044. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x52,
  2045. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x11, 0x43, 0x6f, 0x6e,
  2046. 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x12, 0x26,
  2047. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f,
  2048. 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52,
  2049. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  2050. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x42,
  2051. 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  2052. 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x69, 0x0a, 0x12, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x54,
  2053. 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x12, 0x27, 0x2e, 0x6d, 0x65,
  2054. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
  2055. 0x70, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
  2056. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  2057. 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42,
  2058. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  2059. 0x12, 0x75, 0x0a, 0x16, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63,
  2060. 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x2e, 0x6d, 0x65, 0x73,
  2061. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  2062. 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  2063. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2064. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f,
  2065. 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73,
  2066. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x15, 0x41, 0x73, 0x73, 0x69, 0x67,
  2067. 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  2068. 0x12, 0x2a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
  2069. 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69,
  2070. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6d,
  2071. 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69,
  2072. 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  2073. 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x81, 0x01, 0x0a, 0x1a,
  2074. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74,
  2075. 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, 0x2e, 0x6d, 0x65, 0x73,
  2076. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54,
  2077. 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x74,
  2078. 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x6d, 0x65,
  2079. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b,
  2080. 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53,
  2081. 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
  2082. 0x4c, 0x0a, 0x07, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x12, 0x1c, 0x2e, 0x6d, 0x65, 0x73,
  2083. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73,
  2084. 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2085. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52,
  2086. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x50, 0x0a,
  2087. 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x1e, 0x2e, 0x6d, 0x65, 0x73,
  2088. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
  2089. 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73,
  2090. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
  2091. 0x69, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x42,
  2092. 0x4e, 0x0a, 0x0c, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x6d, 0x71, 0x42,
  2093. 0x10, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x51, 0x75, 0x65, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74,
  2094. 0x6f, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65,
  2095. 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66,
  2096. 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62, 0x2f, 0x6d, 0x71, 0x5f, 0x70, 0x62, 0x62,
  2097. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  2098. }
  2099. var (
  2100. file_mq_proto_rawDescOnce sync.Once
  2101. file_mq_proto_rawDescData = file_mq_proto_rawDesc
  2102. )
  2103. func file_mq_proto_rawDescGZIP() []byte {
  2104. file_mq_proto_rawDescOnce.Do(func() {
  2105. file_mq_proto_rawDescData = protoimpl.X.CompressGZIP(file_mq_proto_rawDescData)
  2106. })
  2107. return file_mq_proto_rawDescData
  2108. }
  2109. var file_mq_proto_msgTypes = make([]protoimpl.MessageInfo, 36)
  2110. var file_mq_proto_goTypes = []interface{}{
  2111. (*SegmentInfo)(nil), // 0: messaging_pb.SegmentInfo
  2112. (*FindBrokerLeaderRequest)(nil), // 1: messaging_pb.FindBrokerLeaderRequest
  2113. (*FindBrokerLeaderResponse)(nil), // 2: messaging_pb.FindBrokerLeaderResponse
  2114. (*Topic)(nil), // 3: messaging_pb.Topic
  2115. (*Partition)(nil), // 4: messaging_pb.Partition
  2116. (*Segment)(nil), // 5: messaging_pb.Segment
  2117. (*AssignSegmentBrokersRequest)(nil), // 6: messaging_pb.AssignSegmentBrokersRequest
  2118. (*AssignSegmentBrokersResponse)(nil), // 7: messaging_pb.AssignSegmentBrokersResponse
  2119. (*CheckSegmentStatusRequest)(nil), // 8: messaging_pb.CheckSegmentStatusRequest
  2120. (*CheckSegmentStatusResponse)(nil), // 9: messaging_pb.CheckSegmentStatusResponse
  2121. (*CheckBrokerLoadRequest)(nil), // 10: messaging_pb.CheckBrokerLoadRequest
  2122. (*CheckBrokerLoadResponse)(nil), // 11: messaging_pb.CheckBrokerLoadResponse
  2123. (*BrokerStats)(nil), // 12: messaging_pb.BrokerStats
  2124. (*TopicPartitionStats)(nil), // 13: messaging_pb.TopicPartitionStats
  2125. (*ConnectToBalancerRequest)(nil), // 14: messaging_pb.ConnectToBalancerRequest
  2126. (*ConnectToBalancerResponse)(nil), // 15: messaging_pb.ConnectToBalancerResponse
  2127. (*LookupTopicBrokersRequest)(nil), // 16: messaging_pb.LookupTopicBrokersRequest
  2128. (*LookupTopicBrokersResponse)(nil), // 17: messaging_pb.LookupTopicBrokersResponse
  2129. (*BrokerPartitionAssignment)(nil), // 18: messaging_pb.BrokerPartitionAssignment
  2130. (*RequestTopicPartitionsRequest)(nil), // 19: messaging_pb.RequestTopicPartitionsRequest
  2131. (*RequestTopicPartitionsResponse)(nil), // 20: messaging_pb.RequestTopicPartitionsResponse
  2132. (*AssignTopicPartitionsRequest)(nil), // 21: messaging_pb.AssignTopicPartitionsRequest
  2133. (*AssignTopicPartitionsResponse)(nil), // 22: messaging_pb.AssignTopicPartitionsResponse
  2134. (*CheckTopicPartitionsStatusRequest)(nil), // 23: messaging_pb.CheckTopicPartitionsStatusRequest
  2135. (*CheckTopicPartitionsStatusResponse)(nil), // 24: messaging_pb.CheckTopicPartitionsStatusResponse
  2136. (*DataMessage)(nil), // 25: messaging_pb.DataMessage
  2137. (*PublishRequest)(nil), // 26: messaging_pb.PublishRequest
  2138. (*PublishResponse)(nil), // 27: messaging_pb.PublishResponse
  2139. (*SubscribeRequest)(nil), // 28: messaging_pb.SubscribeRequest
  2140. (*SubscribeResponse)(nil), // 29: messaging_pb.SubscribeResponse
  2141. nil, // 30: messaging_pb.BrokerStats.StatsEntry
  2142. (*ConnectToBalancerRequest_InitMessage)(nil), // 31: messaging_pb.ConnectToBalancerRequest.InitMessage
  2143. (*PublishRequest_InitMessage)(nil), // 32: messaging_pb.PublishRequest.InitMessage
  2144. (*SubscribeRequest_Consumer)(nil), // 33: messaging_pb.SubscribeRequest.Consumer
  2145. (*SubscribeRequest_Cursor)(nil), // 34: messaging_pb.SubscribeRequest.Cursor
  2146. (*SubscribeResponse_CtrlMessage)(nil), // 35: messaging_pb.SubscribeResponse.CtrlMessage
  2147. }
  2148. var file_mq_proto_depIdxs = []int32{
  2149. 5, // 0: messaging_pb.SegmentInfo.segment:type_name -> messaging_pb.Segment
  2150. 4, // 1: messaging_pb.Segment.partition:type_name -> messaging_pb.Partition
  2151. 5, // 2: messaging_pb.AssignSegmentBrokersRequest.segment:type_name -> messaging_pb.Segment
  2152. 5, // 3: messaging_pb.CheckSegmentStatusRequest.segment:type_name -> messaging_pb.Segment
  2153. 30, // 4: messaging_pb.BrokerStats.stats:type_name -> messaging_pb.BrokerStats.StatsEntry
  2154. 3, // 5: messaging_pb.TopicPartitionStats.topic:type_name -> messaging_pb.Topic
  2155. 4, // 6: messaging_pb.TopicPartitionStats.partition:type_name -> messaging_pb.Partition
  2156. 31, // 7: messaging_pb.ConnectToBalancerRequest.init:type_name -> messaging_pb.ConnectToBalancerRequest.InitMessage
  2157. 12, // 8: messaging_pb.ConnectToBalancerRequest.stats:type_name -> messaging_pb.BrokerStats
  2158. 3, // 9: messaging_pb.LookupTopicBrokersRequest.topic:type_name -> messaging_pb.Topic
  2159. 3, // 10: messaging_pb.LookupTopicBrokersResponse.topic:type_name -> messaging_pb.Topic
  2160. 18, // 11: messaging_pb.LookupTopicBrokersResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
  2161. 4, // 12: messaging_pb.BrokerPartitionAssignment.partition:type_name -> messaging_pb.Partition
  2162. 3, // 13: messaging_pb.RequestTopicPartitionsRequest.topic:type_name -> messaging_pb.Topic
  2163. 18, // 14: messaging_pb.RequestTopicPartitionsResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
  2164. 3, // 15: messaging_pb.AssignTopicPartitionsRequest.topic:type_name -> messaging_pb.Topic
  2165. 18, // 16: messaging_pb.AssignTopicPartitionsRequest.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
  2166. 18, // 17: messaging_pb.CheckTopicPartitionsStatusRequest.broker_partition_assignment:type_name -> messaging_pb.BrokerPartitionAssignment
  2167. 18, // 18: messaging_pb.CheckTopicPartitionsStatusResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
  2168. 32, // 19: messaging_pb.PublishRequest.init:type_name -> messaging_pb.PublishRequest.InitMessage
  2169. 25, // 20: messaging_pb.PublishRequest.data:type_name -> messaging_pb.DataMessage
  2170. 33, // 21: messaging_pb.SubscribeRequest.consumer:type_name -> messaging_pb.SubscribeRequest.Consumer
  2171. 34, // 22: messaging_pb.SubscribeRequest.cursor:type_name -> messaging_pb.SubscribeRequest.Cursor
  2172. 35, // 23: messaging_pb.SubscribeResponse.ctrl:type_name -> messaging_pb.SubscribeResponse.CtrlMessage
  2173. 25, // 24: messaging_pb.SubscribeResponse.data:type_name -> messaging_pb.DataMessage
  2174. 13, // 25: messaging_pb.BrokerStats.StatsEntry.value:type_name -> messaging_pb.TopicPartitionStats
  2175. 3, // 26: messaging_pb.PublishRequest.InitMessage.topic:type_name -> messaging_pb.Topic
  2176. 4, // 27: messaging_pb.PublishRequest.InitMessage.partition:type_name -> messaging_pb.Partition
  2177. 3, // 28: messaging_pb.SubscribeRequest.Cursor.topic:type_name -> messaging_pb.Topic
  2178. 4, // 29: messaging_pb.SubscribeRequest.Cursor.partition:type_name -> messaging_pb.Partition
  2179. 1, // 30: messaging_pb.SeaweedMessaging.FindBrokerLeader:input_type -> messaging_pb.FindBrokerLeaderRequest
  2180. 6, // 31: messaging_pb.SeaweedMessaging.AssignSegmentBrokers:input_type -> messaging_pb.AssignSegmentBrokersRequest
  2181. 8, // 32: messaging_pb.SeaweedMessaging.CheckSegmentStatus:input_type -> messaging_pb.CheckSegmentStatusRequest
  2182. 10, // 33: messaging_pb.SeaweedMessaging.CheckBrokerLoad:input_type -> messaging_pb.CheckBrokerLoadRequest
  2183. 14, // 34: messaging_pb.SeaweedMessaging.ConnectToBalancer:input_type -> messaging_pb.ConnectToBalancerRequest
  2184. 16, // 35: messaging_pb.SeaweedMessaging.LookupTopicBrokers:input_type -> messaging_pb.LookupTopicBrokersRequest
  2185. 19, // 36: messaging_pb.SeaweedMessaging.RequestTopicPartitions:input_type -> messaging_pb.RequestTopicPartitionsRequest
  2186. 21, // 37: messaging_pb.SeaweedMessaging.AssignTopicPartitions:input_type -> messaging_pb.AssignTopicPartitionsRequest
  2187. 23, // 38: messaging_pb.SeaweedMessaging.CheckTopicPartitionsStatus:input_type -> messaging_pb.CheckTopicPartitionsStatusRequest
  2188. 26, // 39: messaging_pb.SeaweedMessaging.Publish:input_type -> messaging_pb.PublishRequest
  2189. 28, // 40: messaging_pb.SeaweedMessaging.Subscribe:input_type -> messaging_pb.SubscribeRequest
  2190. 2, // 41: messaging_pb.SeaweedMessaging.FindBrokerLeader:output_type -> messaging_pb.FindBrokerLeaderResponse
  2191. 7, // 42: messaging_pb.SeaweedMessaging.AssignSegmentBrokers:output_type -> messaging_pb.AssignSegmentBrokersResponse
  2192. 9, // 43: messaging_pb.SeaweedMessaging.CheckSegmentStatus:output_type -> messaging_pb.CheckSegmentStatusResponse
  2193. 11, // 44: messaging_pb.SeaweedMessaging.CheckBrokerLoad:output_type -> messaging_pb.CheckBrokerLoadResponse
  2194. 15, // 45: messaging_pb.SeaweedMessaging.ConnectToBalancer:output_type -> messaging_pb.ConnectToBalancerResponse
  2195. 17, // 46: messaging_pb.SeaweedMessaging.LookupTopicBrokers:output_type -> messaging_pb.LookupTopicBrokersResponse
  2196. 20, // 47: messaging_pb.SeaweedMessaging.RequestTopicPartitions:output_type -> messaging_pb.RequestTopicPartitionsResponse
  2197. 22, // 48: messaging_pb.SeaweedMessaging.AssignTopicPartitions:output_type -> messaging_pb.AssignTopicPartitionsResponse
  2198. 24, // 49: messaging_pb.SeaweedMessaging.CheckTopicPartitionsStatus:output_type -> messaging_pb.CheckTopicPartitionsStatusResponse
  2199. 27, // 50: messaging_pb.SeaweedMessaging.Publish:output_type -> messaging_pb.PublishResponse
  2200. 29, // 51: messaging_pb.SeaweedMessaging.Subscribe:output_type -> messaging_pb.SubscribeResponse
  2201. 41, // [41:52] is the sub-list for method output_type
  2202. 30, // [30:41] is the sub-list for method input_type
  2203. 30, // [30:30] is the sub-list for extension type_name
  2204. 30, // [30:30] is the sub-list for extension extendee
  2205. 0, // [0:30] is the sub-list for field type_name
  2206. }
  2207. func init() { file_mq_proto_init() }
  2208. func file_mq_proto_init() {
  2209. if File_mq_proto != nil {
  2210. return
  2211. }
  2212. if !protoimpl.UnsafeEnabled {
  2213. file_mq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2214. switch v := v.(*SegmentInfo); i {
  2215. case 0:
  2216. return &v.state
  2217. case 1:
  2218. return &v.sizeCache
  2219. case 2:
  2220. return &v.unknownFields
  2221. default:
  2222. return nil
  2223. }
  2224. }
  2225. file_mq_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2226. switch v := v.(*FindBrokerLeaderRequest); i {
  2227. case 0:
  2228. return &v.state
  2229. case 1:
  2230. return &v.sizeCache
  2231. case 2:
  2232. return &v.unknownFields
  2233. default:
  2234. return nil
  2235. }
  2236. }
  2237. file_mq_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2238. switch v := v.(*FindBrokerLeaderResponse); i {
  2239. case 0:
  2240. return &v.state
  2241. case 1:
  2242. return &v.sizeCache
  2243. case 2:
  2244. return &v.unknownFields
  2245. default:
  2246. return nil
  2247. }
  2248. }
  2249. file_mq_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2250. switch v := v.(*Topic); i {
  2251. case 0:
  2252. return &v.state
  2253. case 1:
  2254. return &v.sizeCache
  2255. case 2:
  2256. return &v.unknownFields
  2257. default:
  2258. return nil
  2259. }
  2260. }
  2261. file_mq_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2262. switch v := v.(*Partition); i {
  2263. case 0:
  2264. return &v.state
  2265. case 1:
  2266. return &v.sizeCache
  2267. case 2:
  2268. return &v.unknownFields
  2269. default:
  2270. return nil
  2271. }
  2272. }
  2273. file_mq_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2274. switch v := v.(*Segment); i {
  2275. case 0:
  2276. return &v.state
  2277. case 1:
  2278. return &v.sizeCache
  2279. case 2:
  2280. return &v.unknownFields
  2281. default:
  2282. return nil
  2283. }
  2284. }
  2285. file_mq_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2286. switch v := v.(*AssignSegmentBrokersRequest); i {
  2287. case 0:
  2288. return &v.state
  2289. case 1:
  2290. return &v.sizeCache
  2291. case 2:
  2292. return &v.unknownFields
  2293. default:
  2294. return nil
  2295. }
  2296. }
  2297. file_mq_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2298. switch v := v.(*AssignSegmentBrokersResponse); i {
  2299. case 0:
  2300. return &v.state
  2301. case 1:
  2302. return &v.sizeCache
  2303. case 2:
  2304. return &v.unknownFields
  2305. default:
  2306. return nil
  2307. }
  2308. }
  2309. file_mq_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2310. switch v := v.(*CheckSegmentStatusRequest); i {
  2311. case 0:
  2312. return &v.state
  2313. case 1:
  2314. return &v.sizeCache
  2315. case 2:
  2316. return &v.unknownFields
  2317. default:
  2318. return nil
  2319. }
  2320. }
  2321. file_mq_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2322. switch v := v.(*CheckSegmentStatusResponse); i {
  2323. case 0:
  2324. return &v.state
  2325. case 1:
  2326. return &v.sizeCache
  2327. case 2:
  2328. return &v.unknownFields
  2329. default:
  2330. return nil
  2331. }
  2332. }
  2333. file_mq_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2334. switch v := v.(*CheckBrokerLoadRequest); i {
  2335. case 0:
  2336. return &v.state
  2337. case 1:
  2338. return &v.sizeCache
  2339. case 2:
  2340. return &v.unknownFields
  2341. default:
  2342. return nil
  2343. }
  2344. }
  2345. file_mq_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2346. switch v := v.(*CheckBrokerLoadResponse); i {
  2347. case 0:
  2348. return &v.state
  2349. case 1:
  2350. return &v.sizeCache
  2351. case 2:
  2352. return &v.unknownFields
  2353. default:
  2354. return nil
  2355. }
  2356. }
  2357. file_mq_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2358. switch v := v.(*BrokerStats); i {
  2359. case 0:
  2360. return &v.state
  2361. case 1:
  2362. return &v.sizeCache
  2363. case 2:
  2364. return &v.unknownFields
  2365. default:
  2366. return nil
  2367. }
  2368. }
  2369. file_mq_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2370. switch v := v.(*TopicPartitionStats); i {
  2371. case 0:
  2372. return &v.state
  2373. case 1:
  2374. return &v.sizeCache
  2375. case 2:
  2376. return &v.unknownFields
  2377. default:
  2378. return nil
  2379. }
  2380. }
  2381. file_mq_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2382. switch v := v.(*ConnectToBalancerRequest); i {
  2383. case 0:
  2384. return &v.state
  2385. case 1:
  2386. return &v.sizeCache
  2387. case 2:
  2388. return &v.unknownFields
  2389. default:
  2390. return nil
  2391. }
  2392. }
  2393. file_mq_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2394. switch v := v.(*ConnectToBalancerResponse); i {
  2395. case 0:
  2396. return &v.state
  2397. case 1:
  2398. return &v.sizeCache
  2399. case 2:
  2400. return &v.unknownFields
  2401. default:
  2402. return nil
  2403. }
  2404. }
  2405. file_mq_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2406. switch v := v.(*LookupTopicBrokersRequest); i {
  2407. case 0:
  2408. return &v.state
  2409. case 1:
  2410. return &v.sizeCache
  2411. case 2:
  2412. return &v.unknownFields
  2413. default:
  2414. return nil
  2415. }
  2416. }
  2417. file_mq_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2418. switch v := v.(*LookupTopicBrokersResponse); i {
  2419. case 0:
  2420. return &v.state
  2421. case 1:
  2422. return &v.sizeCache
  2423. case 2:
  2424. return &v.unknownFields
  2425. default:
  2426. return nil
  2427. }
  2428. }
  2429. file_mq_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2430. switch v := v.(*BrokerPartitionAssignment); i {
  2431. case 0:
  2432. return &v.state
  2433. case 1:
  2434. return &v.sizeCache
  2435. case 2:
  2436. return &v.unknownFields
  2437. default:
  2438. return nil
  2439. }
  2440. }
  2441. file_mq_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2442. switch v := v.(*RequestTopicPartitionsRequest); i {
  2443. case 0:
  2444. return &v.state
  2445. case 1:
  2446. return &v.sizeCache
  2447. case 2:
  2448. return &v.unknownFields
  2449. default:
  2450. return nil
  2451. }
  2452. }
  2453. file_mq_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2454. switch v := v.(*RequestTopicPartitionsResponse); i {
  2455. case 0:
  2456. return &v.state
  2457. case 1:
  2458. return &v.sizeCache
  2459. case 2:
  2460. return &v.unknownFields
  2461. default:
  2462. return nil
  2463. }
  2464. }
  2465. file_mq_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2466. switch v := v.(*AssignTopicPartitionsRequest); i {
  2467. case 0:
  2468. return &v.state
  2469. case 1:
  2470. return &v.sizeCache
  2471. case 2:
  2472. return &v.unknownFields
  2473. default:
  2474. return nil
  2475. }
  2476. }
  2477. file_mq_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2478. switch v := v.(*AssignTopicPartitionsResponse); i {
  2479. case 0:
  2480. return &v.state
  2481. case 1:
  2482. return &v.sizeCache
  2483. case 2:
  2484. return &v.unknownFields
  2485. default:
  2486. return nil
  2487. }
  2488. }
  2489. file_mq_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2490. switch v := v.(*CheckTopicPartitionsStatusRequest); i {
  2491. case 0:
  2492. return &v.state
  2493. case 1:
  2494. return &v.sizeCache
  2495. case 2:
  2496. return &v.unknownFields
  2497. default:
  2498. return nil
  2499. }
  2500. }
  2501. file_mq_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2502. switch v := v.(*CheckTopicPartitionsStatusResponse); i {
  2503. case 0:
  2504. return &v.state
  2505. case 1:
  2506. return &v.sizeCache
  2507. case 2:
  2508. return &v.unknownFields
  2509. default:
  2510. return nil
  2511. }
  2512. }
  2513. file_mq_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2514. switch v := v.(*DataMessage); i {
  2515. case 0:
  2516. return &v.state
  2517. case 1:
  2518. return &v.sizeCache
  2519. case 2:
  2520. return &v.unknownFields
  2521. default:
  2522. return nil
  2523. }
  2524. }
  2525. file_mq_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  2526. switch v := v.(*PublishRequest); i {
  2527. case 0:
  2528. return &v.state
  2529. case 1:
  2530. return &v.sizeCache
  2531. case 2:
  2532. return &v.unknownFields
  2533. default:
  2534. return nil
  2535. }
  2536. }
  2537. file_mq_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  2538. switch v := v.(*PublishResponse); i {
  2539. case 0:
  2540. return &v.state
  2541. case 1:
  2542. return &v.sizeCache
  2543. case 2:
  2544. return &v.unknownFields
  2545. default:
  2546. return nil
  2547. }
  2548. }
  2549. file_mq_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  2550. switch v := v.(*SubscribeRequest); i {
  2551. case 0:
  2552. return &v.state
  2553. case 1:
  2554. return &v.sizeCache
  2555. case 2:
  2556. return &v.unknownFields
  2557. default:
  2558. return nil
  2559. }
  2560. }
  2561. file_mq_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
  2562. switch v := v.(*SubscribeResponse); i {
  2563. case 0:
  2564. return &v.state
  2565. case 1:
  2566. return &v.sizeCache
  2567. case 2:
  2568. return &v.unknownFields
  2569. default:
  2570. return nil
  2571. }
  2572. }
  2573. file_mq_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
  2574. switch v := v.(*ConnectToBalancerRequest_InitMessage); i {
  2575. case 0:
  2576. return &v.state
  2577. case 1:
  2578. return &v.sizeCache
  2579. case 2:
  2580. return &v.unknownFields
  2581. default:
  2582. return nil
  2583. }
  2584. }
  2585. file_mq_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
  2586. switch v := v.(*PublishRequest_InitMessage); i {
  2587. case 0:
  2588. return &v.state
  2589. case 1:
  2590. return &v.sizeCache
  2591. case 2:
  2592. return &v.unknownFields
  2593. default:
  2594. return nil
  2595. }
  2596. }
  2597. file_mq_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
  2598. switch v := v.(*SubscribeRequest_Consumer); i {
  2599. case 0:
  2600. return &v.state
  2601. case 1:
  2602. return &v.sizeCache
  2603. case 2:
  2604. return &v.unknownFields
  2605. default:
  2606. return nil
  2607. }
  2608. }
  2609. file_mq_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
  2610. switch v := v.(*SubscribeRequest_Cursor); i {
  2611. case 0:
  2612. return &v.state
  2613. case 1:
  2614. return &v.sizeCache
  2615. case 2:
  2616. return &v.unknownFields
  2617. default:
  2618. return nil
  2619. }
  2620. }
  2621. file_mq_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
  2622. switch v := v.(*SubscribeResponse_CtrlMessage); i {
  2623. case 0:
  2624. return &v.state
  2625. case 1:
  2626. return &v.sizeCache
  2627. case 2:
  2628. return &v.unknownFields
  2629. default:
  2630. return nil
  2631. }
  2632. }
  2633. }
  2634. file_mq_proto_msgTypes[14].OneofWrappers = []interface{}{
  2635. (*ConnectToBalancerRequest_Init)(nil),
  2636. (*ConnectToBalancerRequest_Stats)(nil),
  2637. }
  2638. file_mq_proto_msgTypes[26].OneofWrappers = []interface{}{
  2639. (*PublishRequest_Init)(nil),
  2640. (*PublishRequest_Data)(nil),
  2641. }
  2642. file_mq_proto_msgTypes[29].OneofWrappers = []interface{}{
  2643. (*SubscribeResponse_Ctrl)(nil),
  2644. (*SubscribeResponse_Data)(nil),
  2645. }
  2646. file_mq_proto_msgTypes[34].OneofWrappers = []interface{}{
  2647. (*SubscribeRequest_Cursor_StartOffset)(nil),
  2648. (*SubscribeRequest_Cursor_StartTimestampNs)(nil),
  2649. }
  2650. type x struct{}
  2651. out := protoimpl.TypeBuilder{
  2652. File: protoimpl.DescBuilder{
  2653. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2654. RawDescriptor: file_mq_proto_rawDesc,
  2655. NumEnums: 0,
  2656. NumMessages: 36,
  2657. NumExtensions: 0,
  2658. NumServices: 1,
  2659. },
  2660. GoTypes: file_mq_proto_goTypes,
  2661. DependencyIndexes: file_mq_proto_depIdxs,
  2662. MessageInfos: file_mq_proto_msgTypes,
  2663. }.Build()
  2664. File_mq_proto = out.File
  2665. file_mq_proto_rawDesc = nil
  2666. file_mq_proto_goTypes = nil
  2667. file_mq_proto_depIdxs = nil
  2668. }