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.

2941 lines
105 KiB

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