You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3170 lines
114 KiB

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