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.

2173 lines
78 KiB

5 years ago
3 years ago
3 years ago
5 years ago
5 years ago
3 years ago
3 years ago
5 years ago
5 years ago
3 years ago
5 years ago
3 years ago
5 years ago
3 years ago
5 years ago
3 years ago
5 years ago
3 years ago
3 years ago
5 years ago
3 years ago
3 years ago
5 years ago
3 years ago
5 years ago
3 years ago
5 years ago
3 years ago
5 years ago
3 years ago
5 years ago
3 years ago
5 years ago
3 years ago
5 years ago
3 years ago
3 years ago
5 years ago
3 years ago
3 years ago
5 years ago
3 years ago
5 years ago
3 years ago
5 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 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
3 years ago
5 years ago
3 years ago
3 years ago
5 years ago
3 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
5 years ago
3 years ago
3 years ago
5 years ago
3 years ago
5 years ago
3 years ago
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.30.0
  4. // protoc v4.23.3
  5. // source: mq.proto
  6. package mq_pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. // ////////////////////////////////////////////////
  20. type SegmentInfo struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Segment *Segment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
  25. StartTsNs int64 `protobuf:"varint,2,opt,name=start_ts_ns,json=startTsNs,proto3" json:"start_ts_ns,omitempty"`
  26. Brokers []string `protobuf:"bytes,3,rep,name=brokers,proto3" json:"brokers,omitempty"`
  27. StopTsNs int64 `protobuf:"varint,4,opt,name=stop_ts_ns,json=stopTsNs,proto3" json:"stop_ts_ns,omitempty"`
  28. PreviousSegments []int32 `protobuf:"varint,5,rep,packed,name=previous_segments,json=previousSegments,proto3" json:"previous_segments,omitempty"`
  29. NextSegments []int32 `protobuf:"varint,6,rep,packed,name=next_segments,json=nextSegments,proto3" json:"next_segments,omitempty"`
  30. }
  31. func (x *SegmentInfo) Reset() {
  32. *x = SegmentInfo{}
  33. if protoimpl.UnsafeEnabled {
  34. mi := &file_mq_proto_msgTypes[0]
  35. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  36. ms.StoreMessageInfo(mi)
  37. }
  38. }
  39. func (x *SegmentInfo) String() string {
  40. return protoimpl.X.MessageStringOf(x)
  41. }
  42. func (*SegmentInfo) ProtoMessage() {}
  43. func (x *SegmentInfo) ProtoReflect() protoreflect.Message {
  44. mi := &file_mq_proto_msgTypes[0]
  45. if protoimpl.UnsafeEnabled && x != nil {
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. if ms.LoadMessageInfo() == nil {
  48. ms.StoreMessageInfo(mi)
  49. }
  50. return ms
  51. }
  52. return mi.MessageOf(x)
  53. }
  54. // Deprecated: Use SegmentInfo.ProtoReflect.Descriptor instead.
  55. func (*SegmentInfo) Descriptor() ([]byte, []int) {
  56. return file_mq_proto_rawDescGZIP(), []int{0}
  57. }
  58. func (x *SegmentInfo) GetSegment() *Segment {
  59. if x != nil {
  60. return x.Segment
  61. }
  62. return nil
  63. }
  64. func (x *SegmentInfo) GetStartTsNs() int64 {
  65. if x != nil {
  66. return x.StartTsNs
  67. }
  68. return 0
  69. }
  70. func (x *SegmentInfo) GetBrokers() []string {
  71. if x != nil {
  72. return x.Brokers
  73. }
  74. return nil
  75. }
  76. func (x *SegmentInfo) GetStopTsNs() int64 {
  77. if x != nil {
  78. return x.StopTsNs
  79. }
  80. return 0
  81. }
  82. func (x *SegmentInfo) GetPreviousSegments() []int32 {
  83. if x != nil {
  84. return x.PreviousSegments
  85. }
  86. return nil
  87. }
  88. func (x *SegmentInfo) GetNextSegments() []int32 {
  89. if x != nil {
  90. return x.NextSegments
  91. }
  92. return nil
  93. }
  94. type FindBrokerLeaderRequest struct {
  95. state protoimpl.MessageState
  96. sizeCache protoimpl.SizeCache
  97. unknownFields protoimpl.UnknownFields
  98. FilerGroup string `protobuf:"bytes,1,opt,name=filer_group,json=filerGroup,proto3" json:"filer_group,omitempty"`
  99. }
  100. func (x *FindBrokerLeaderRequest) Reset() {
  101. *x = FindBrokerLeaderRequest{}
  102. if protoimpl.UnsafeEnabled {
  103. mi := &file_mq_proto_msgTypes[1]
  104. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  105. ms.StoreMessageInfo(mi)
  106. }
  107. }
  108. func (x *FindBrokerLeaderRequest) String() string {
  109. return protoimpl.X.MessageStringOf(x)
  110. }
  111. func (*FindBrokerLeaderRequest) ProtoMessage() {}
  112. func (x *FindBrokerLeaderRequest) ProtoReflect() protoreflect.Message {
  113. mi := &file_mq_proto_msgTypes[1]
  114. if protoimpl.UnsafeEnabled && x != nil {
  115. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  116. if ms.LoadMessageInfo() == nil {
  117. ms.StoreMessageInfo(mi)
  118. }
  119. return ms
  120. }
  121. return mi.MessageOf(x)
  122. }
  123. // Deprecated: Use FindBrokerLeaderRequest.ProtoReflect.Descriptor instead.
  124. func (*FindBrokerLeaderRequest) Descriptor() ([]byte, []int) {
  125. return file_mq_proto_rawDescGZIP(), []int{1}
  126. }
  127. func (x *FindBrokerLeaderRequest) GetFilerGroup() string {
  128. if x != nil {
  129. return x.FilerGroup
  130. }
  131. return ""
  132. }
  133. type FindBrokerLeaderResponse struct {
  134. state protoimpl.MessageState
  135. sizeCache protoimpl.SizeCache
  136. unknownFields protoimpl.UnknownFields
  137. Broker string `protobuf:"bytes,1,opt,name=broker,proto3" json:"broker,omitempty"`
  138. }
  139. func (x *FindBrokerLeaderResponse) Reset() {
  140. *x = FindBrokerLeaderResponse{}
  141. if protoimpl.UnsafeEnabled {
  142. mi := &file_mq_proto_msgTypes[2]
  143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  144. ms.StoreMessageInfo(mi)
  145. }
  146. }
  147. func (x *FindBrokerLeaderResponse) String() string {
  148. return protoimpl.X.MessageStringOf(x)
  149. }
  150. func (*FindBrokerLeaderResponse) ProtoMessage() {}
  151. func (x *FindBrokerLeaderResponse) ProtoReflect() protoreflect.Message {
  152. mi := &file_mq_proto_msgTypes[2]
  153. if protoimpl.UnsafeEnabled && x != nil {
  154. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  155. if ms.LoadMessageInfo() == nil {
  156. ms.StoreMessageInfo(mi)
  157. }
  158. return ms
  159. }
  160. return mi.MessageOf(x)
  161. }
  162. // Deprecated: Use FindBrokerLeaderResponse.ProtoReflect.Descriptor instead.
  163. func (*FindBrokerLeaderResponse) Descriptor() ([]byte, []int) {
  164. return file_mq_proto_rawDescGZIP(), []int{2}
  165. }
  166. func (x *FindBrokerLeaderResponse) GetBroker() string {
  167. if x != nil {
  168. return x.Broker
  169. }
  170. return ""
  171. }
  172. type Topic struct {
  173. state protoimpl.MessageState
  174. sizeCache protoimpl.SizeCache
  175. unknownFields protoimpl.UnknownFields
  176. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  177. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  178. }
  179. func (x *Topic) Reset() {
  180. *x = Topic{}
  181. if protoimpl.UnsafeEnabled {
  182. mi := &file_mq_proto_msgTypes[3]
  183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  184. ms.StoreMessageInfo(mi)
  185. }
  186. }
  187. func (x *Topic) String() string {
  188. return protoimpl.X.MessageStringOf(x)
  189. }
  190. func (*Topic) ProtoMessage() {}
  191. func (x *Topic) ProtoReflect() protoreflect.Message {
  192. mi := &file_mq_proto_msgTypes[3]
  193. if protoimpl.UnsafeEnabled && x != nil {
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. if ms.LoadMessageInfo() == nil {
  196. ms.StoreMessageInfo(mi)
  197. }
  198. return ms
  199. }
  200. return mi.MessageOf(x)
  201. }
  202. // Deprecated: Use Topic.ProtoReflect.Descriptor instead.
  203. func (*Topic) Descriptor() ([]byte, []int) {
  204. return file_mq_proto_rawDescGZIP(), []int{3}
  205. }
  206. func (x *Topic) GetNamespace() string {
  207. if x != nil {
  208. return x.Namespace
  209. }
  210. return ""
  211. }
  212. func (x *Topic) GetName() string {
  213. if x != nil {
  214. return x.Name
  215. }
  216. return ""
  217. }
  218. type Partition struct {
  219. state protoimpl.MessageState
  220. sizeCache protoimpl.SizeCache
  221. unknownFields protoimpl.UnknownFields
  222. RingSize int32 `protobuf:"varint,1,opt,name=ring_size,json=ringSize,proto3" json:"ring_size,omitempty"`
  223. RangeStart int32 `protobuf:"varint,2,opt,name=range_start,json=rangeStart,proto3" json:"range_start,omitempty"`
  224. RangeStop int32 `protobuf:"varint,3,opt,name=range_stop,json=rangeStop,proto3" json:"range_stop,omitempty"`
  225. }
  226. func (x *Partition) Reset() {
  227. *x = Partition{}
  228. if protoimpl.UnsafeEnabled {
  229. mi := &file_mq_proto_msgTypes[4]
  230. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  231. ms.StoreMessageInfo(mi)
  232. }
  233. }
  234. func (x *Partition) String() string {
  235. return protoimpl.X.MessageStringOf(x)
  236. }
  237. func (*Partition) ProtoMessage() {}
  238. func (x *Partition) ProtoReflect() protoreflect.Message {
  239. mi := &file_mq_proto_msgTypes[4]
  240. if protoimpl.UnsafeEnabled && x != nil {
  241. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  242. if ms.LoadMessageInfo() == nil {
  243. ms.StoreMessageInfo(mi)
  244. }
  245. return ms
  246. }
  247. return mi.MessageOf(x)
  248. }
  249. // Deprecated: Use Partition.ProtoReflect.Descriptor instead.
  250. func (*Partition) Descriptor() ([]byte, []int) {
  251. return file_mq_proto_rawDescGZIP(), []int{4}
  252. }
  253. func (x *Partition) GetRingSize() int32 {
  254. if x != nil {
  255. return x.RingSize
  256. }
  257. return 0
  258. }
  259. func (x *Partition) GetRangeStart() int32 {
  260. if x != nil {
  261. return x.RangeStart
  262. }
  263. return 0
  264. }
  265. func (x *Partition) GetRangeStop() int32 {
  266. if x != nil {
  267. return x.RangeStop
  268. }
  269. return 0
  270. }
  271. type Segment struct {
  272. state protoimpl.MessageState
  273. sizeCache protoimpl.SizeCache
  274. unknownFields protoimpl.UnknownFields
  275. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  276. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
  277. Id int32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
  278. Partition *Partition `protobuf:"bytes,4,opt,name=partition,proto3" json:"partition,omitempty"`
  279. }
  280. func (x *Segment) Reset() {
  281. *x = Segment{}
  282. if protoimpl.UnsafeEnabled {
  283. mi := &file_mq_proto_msgTypes[5]
  284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  285. ms.StoreMessageInfo(mi)
  286. }
  287. }
  288. func (x *Segment) String() string {
  289. return protoimpl.X.MessageStringOf(x)
  290. }
  291. func (*Segment) ProtoMessage() {}
  292. func (x *Segment) ProtoReflect() protoreflect.Message {
  293. mi := &file_mq_proto_msgTypes[5]
  294. if protoimpl.UnsafeEnabled && x != nil {
  295. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  296. if ms.LoadMessageInfo() == nil {
  297. ms.StoreMessageInfo(mi)
  298. }
  299. return ms
  300. }
  301. return mi.MessageOf(x)
  302. }
  303. // Deprecated: Use Segment.ProtoReflect.Descriptor instead.
  304. func (*Segment) Descriptor() ([]byte, []int) {
  305. return file_mq_proto_rawDescGZIP(), []int{5}
  306. }
  307. func (x *Segment) GetNamespace() string {
  308. if x != nil {
  309. return x.Namespace
  310. }
  311. return ""
  312. }
  313. func (x *Segment) GetTopic() string {
  314. if x != nil {
  315. return x.Topic
  316. }
  317. return ""
  318. }
  319. func (x *Segment) GetId() int32 {
  320. if x != nil {
  321. return x.Id
  322. }
  323. return 0
  324. }
  325. func (x *Segment) GetPartition() *Partition {
  326. if x != nil {
  327. return x.Partition
  328. }
  329. return nil
  330. }
  331. type AssignSegmentBrokersRequest struct {
  332. state protoimpl.MessageState
  333. sizeCache protoimpl.SizeCache
  334. unknownFields protoimpl.UnknownFields
  335. Segment *Segment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
  336. }
  337. func (x *AssignSegmentBrokersRequest) Reset() {
  338. *x = AssignSegmentBrokersRequest{}
  339. if protoimpl.UnsafeEnabled {
  340. mi := &file_mq_proto_msgTypes[6]
  341. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  342. ms.StoreMessageInfo(mi)
  343. }
  344. }
  345. func (x *AssignSegmentBrokersRequest) String() string {
  346. return protoimpl.X.MessageStringOf(x)
  347. }
  348. func (*AssignSegmentBrokersRequest) ProtoMessage() {}
  349. func (x *AssignSegmentBrokersRequest) ProtoReflect() protoreflect.Message {
  350. mi := &file_mq_proto_msgTypes[6]
  351. if protoimpl.UnsafeEnabled && x != nil {
  352. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  353. if ms.LoadMessageInfo() == nil {
  354. ms.StoreMessageInfo(mi)
  355. }
  356. return ms
  357. }
  358. return mi.MessageOf(x)
  359. }
  360. // Deprecated: Use AssignSegmentBrokersRequest.ProtoReflect.Descriptor instead.
  361. func (*AssignSegmentBrokersRequest) Descriptor() ([]byte, []int) {
  362. return file_mq_proto_rawDescGZIP(), []int{6}
  363. }
  364. func (x *AssignSegmentBrokersRequest) GetSegment() *Segment {
  365. if x != nil {
  366. return x.Segment
  367. }
  368. return nil
  369. }
  370. type AssignSegmentBrokersResponse struct {
  371. state protoimpl.MessageState
  372. sizeCache protoimpl.SizeCache
  373. unknownFields protoimpl.UnknownFields
  374. Brokers []string `protobuf:"bytes,1,rep,name=brokers,proto3" json:"brokers,omitempty"`
  375. }
  376. func (x *AssignSegmentBrokersResponse) Reset() {
  377. *x = AssignSegmentBrokersResponse{}
  378. if protoimpl.UnsafeEnabled {
  379. mi := &file_mq_proto_msgTypes[7]
  380. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  381. ms.StoreMessageInfo(mi)
  382. }
  383. }
  384. func (x *AssignSegmentBrokersResponse) String() string {
  385. return protoimpl.X.MessageStringOf(x)
  386. }
  387. func (*AssignSegmentBrokersResponse) ProtoMessage() {}
  388. func (x *AssignSegmentBrokersResponse) ProtoReflect() protoreflect.Message {
  389. mi := &file_mq_proto_msgTypes[7]
  390. if protoimpl.UnsafeEnabled && x != nil {
  391. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  392. if ms.LoadMessageInfo() == nil {
  393. ms.StoreMessageInfo(mi)
  394. }
  395. return ms
  396. }
  397. return mi.MessageOf(x)
  398. }
  399. // Deprecated: Use AssignSegmentBrokersResponse.ProtoReflect.Descriptor instead.
  400. func (*AssignSegmentBrokersResponse) Descriptor() ([]byte, []int) {
  401. return file_mq_proto_rawDescGZIP(), []int{7}
  402. }
  403. func (x *AssignSegmentBrokersResponse) GetBrokers() []string {
  404. if x != nil {
  405. return x.Brokers
  406. }
  407. return nil
  408. }
  409. type CheckSegmentStatusRequest struct {
  410. state protoimpl.MessageState
  411. sizeCache protoimpl.SizeCache
  412. unknownFields protoimpl.UnknownFields
  413. Segment *Segment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
  414. }
  415. func (x *CheckSegmentStatusRequest) Reset() {
  416. *x = CheckSegmentStatusRequest{}
  417. if protoimpl.UnsafeEnabled {
  418. mi := &file_mq_proto_msgTypes[8]
  419. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  420. ms.StoreMessageInfo(mi)
  421. }
  422. }
  423. func (x *CheckSegmentStatusRequest) String() string {
  424. return protoimpl.X.MessageStringOf(x)
  425. }
  426. func (*CheckSegmentStatusRequest) ProtoMessage() {}
  427. func (x *CheckSegmentStatusRequest) ProtoReflect() protoreflect.Message {
  428. mi := &file_mq_proto_msgTypes[8]
  429. if protoimpl.UnsafeEnabled && x != nil {
  430. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  431. if ms.LoadMessageInfo() == nil {
  432. ms.StoreMessageInfo(mi)
  433. }
  434. return ms
  435. }
  436. return mi.MessageOf(x)
  437. }
  438. // Deprecated: Use CheckSegmentStatusRequest.ProtoReflect.Descriptor instead.
  439. func (*CheckSegmentStatusRequest) Descriptor() ([]byte, []int) {
  440. return file_mq_proto_rawDescGZIP(), []int{8}
  441. }
  442. func (x *CheckSegmentStatusRequest) GetSegment() *Segment {
  443. if x != nil {
  444. return x.Segment
  445. }
  446. return nil
  447. }
  448. type CheckSegmentStatusResponse struct {
  449. state protoimpl.MessageState
  450. sizeCache protoimpl.SizeCache
  451. unknownFields protoimpl.UnknownFields
  452. IsActive bool `protobuf:"varint,1,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
  453. }
  454. func (x *CheckSegmentStatusResponse) Reset() {
  455. *x = CheckSegmentStatusResponse{}
  456. if protoimpl.UnsafeEnabled {
  457. mi := &file_mq_proto_msgTypes[9]
  458. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  459. ms.StoreMessageInfo(mi)
  460. }
  461. }
  462. func (x *CheckSegmentStatusResponse) String() string {
  463. return protoimpl.X.MessageStringOf(x)
  464. }
  465. func (*CheckSegmentStatusResponse) ProtoMessage() {}
  466. func (x *CheckSegmentStatusResponse) ProtoReflect() protoreflect.Message {
  467. mi := &file_mq_proto_msgTypes[9]
  468. if protoimpl.UnsafeEnabled && x != nil {
  469. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  470. if ms.LoadMessageInfo() == nil {
  471. ms.StoreMessageInfo(mi)
  472. }
  473. return ms
  474. }
  475. return mi.MessageOf(x)
  476. }
  477. // Deprecated: Use CheckSegmentStatusResponse.ProtoReflect.Descriptor instead.
  478. func (*CheckSegmentStatusResponse) Descriptor() ([]byte, []int) {
  479. return file_mq_proto_rawDescGZIP(), []int{9}
  480. }
  481. func (x *CheckSegmentStatusResponse) GetIsActive() bool {
  482. if x != nil {
  483. return x.IsActive
  484. }
  485. return false
  486. }
  487. type CheckBrokerLoadRequest struct {
  488. state protoimpl.MessageState
  489. sizeCache protoimpl.SizeCache
  490. unknownFields protoimpl.UnknownFields
  491. }
  492. func (x *CheckBrokerLoadRequest) Reset() {
  493. *x = CheckBrokerLoadRequest{}
  494. if protoimpl.UnsafeEnabled {
  495. mi := &file_mq_proto_msgTypes[10]
  496. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  497. ms.StoreMessageInfo(mi)
  498. }
  499. }
  500. func (x *CheckBrokerLoadRequest) String() string {
  501. return protoimpl.X.MessageStringOf(x)
  502. }
  503. func (*CheckBrokerLoadRequest) ProtoMessage() {}
  504. func (x *CheckBrokerLoadRequest) ProtoReflect() protoreflect.Message {
  505. mi := &file_mq_proto_msgTypes[10]
  506. if protoimpl.UnsafeEnabled && x != nil {
  507. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  508. if ms.LoadMessageInfo() == nil {
  509. ms.StoreMessageInfo(mi)
  510. }
  511. return ms
  512. }
  513. return mi.MessageOf(x)
  514. }
  515. // Deprecated: Use CheckBrokerLoadRequest.ProtoReflect.Descriptor instead.
  516. func (*CheckBrokerLoadRequest) Descriptor() ([]byte, []int) {
  517. return file_mq_proto_rawDescGZIP(), []int{10}
  518. }
  519. type CheckBrokerLoadResponse struct {
  520. state protoimpl.MessageState
  521. sizeCache protoimpl.SizeCache
  522. unknownFields protoimpl.UnknownFields
  523. MessageCount int64 `protobuf:"varint,1,opt,name=message_count,json=messageCount,proto3" json:"message_count,omitempty"`
  524. BytesCount int64 `protobuf:"varint,2,opt,name=bytes_count,json=bytesCount,proto3" json:"bytes_count,omitempty"`
  525. }
  526. func (x *CheckBrokerLoadResponse) Reset() {
  527. *x = CheckBrokerLoadResponse{}
  528. if protoimpl.UnsafeEnabled {
  529. mi := &file_mq_proto_msgTypes[11]
  530. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  531. ms.StoreMessageInfo(mi)
  532. }
  533. }
  534. func (x *CheckBrokerLoadResponse) String() string {
  535. return protoimpl.X.MessageStringOf(x)
  536. }
  537. func (*CheckBrokerLoadResponse) ProtoMessage() {}
  538. func (x *CheckBrokerLoadResponse) ProtoReflect() protoreflect.Message {
  539. mi := &file_mq_proto_msgTypes[11]
  540. if protoimpl.UnsafeEnabled && x != nil {
  541. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  542. if ms.LoadMessageInfo() == nil {
  543. ms.StoreMessageInfo(mi)
  544. }
  545. return ms
  546. }
  547. return mi.MessageOf(x)
  548. }
  549. // Deprecated: Use CheckBrokerLoadResponse.ProtoReflect.Descriptor instead.
  550. func (*CheckBrokerLoadResponse) Descriptor() ([]byte, []int) {
  551. return file_mq_proto_rawDescGZIP(), []int{11}
  552. }
  553. func (x *CheckBrokerLoadResponse) GetMessageCount() int64 {
  554. if x != nil {
  555. return x.MessageCount
  556. }
  557. return 0
  558. }
  559. func (x *CheckBrokerLoadResponse) GetBytesCount() int64 {
  560. if x != nil {
  561. return x.BytesCount
  562. }
  563. return 0
  564. }
  565. type FindTopicBrokersRequest struct {
  566. state protoimpl.MessageState
  567. sizeCache protoimpl.SizeCache
  568. unknownFields protoimpl.UnknownFields
  569. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  570. IsForPublish bool `protobuf:"varint,2,opt,name=is_for_publish,json=isForPublish,proto3" json:"is_for_publish,omitempty"`
  571. }
  572. func (x *FindTopicBrokersRequest) Reset() {
  573. *x = FindTopicBrokersRequest{}
  574. if protoimpl.UnsafeEnabled {
  575. mi := &file_mq_proto_msgTypes[12]
  576. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  577. ms.StoreMessageInfo(mi)
  578. }
  579. }
  580. func (x *FindTopicBrokersRequest) String() string {
  581. return protoimpl.X.MessageStringOf(x)
  582. }
  583. func (*FindTopicBrokersRequest) ProtoMessage() {}
  584. func (x *FindTopicBrokersRequest) ProtoReflect() protoreflect.Message {
  585. mi := &file_mq_proto_msgTypes[12]
  586. if protoimpl.UnsafeEnabled && x != nil {
  587. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  588. if ms.LoadMessageInfo() == nil {
  589. ms.StoreMessageInfo(mi)
  590. }
  591. return ms
  592. }
  593. return mi.MessageOf(x)
  594. }
  595. // Deprecated: Use FindTopicBrokersRequest.ProtoReflect.Descriptor instead.
  596. func (*FindTopicBrokersRequest) Descriptor() ([]byte, []int) {
  597. return file_mq_proto_rawDescGZIP(), []int{12}
  598. }
  599. func (x *FindTopicBrokersRequest) GetTopic() *Topic {
  600. if x != nil {
  601. return x.Topic
  602. }
  603. return nil
  604. }
  605. func (x *FindTopicBrokersRequest) GetIsForPublish() bool {
  606. if x != nil {
  607. return x.IsForPublish
  608. }
  609. return false
  610. }
  611. type FindTopicBrokersResponse struct {
  612. state protoimpl.MessageState
  613. sizeCache protoimpl.SizeCache
  614. unknownFields protoimpl.UnknownFields
  615. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  616. TopicPartitionsAssignment *TopicPartitionsAssignment `protobuf:"bytes,2,opt,name=topic_partitions_assignment,json=topicPartitionsAssignment,proto3" json:"topic_partitions_assignment,omitempty"`
  617. }
  618. func (x *FindTopicBrokersResponse) Reset() {
  619. *x = FindTopicBrokersResponse{}
  620. if protoimpl.UnsafeEnabled {
  621. mi := &file_mq_proto_msgTypes[13]
  622. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  623. ms.StoreMessageInfo(mi)
  624. }
  625. }
  626. func (x *FindTopicBrokersResponse) String() string {
  627. return protoimpl.X.MessageStringOf(x)
  628. }
  629. func (*FindTopicBrokersResponse) ProtoMessage() {}
  630. func (x *FindTopicBrokersResponse) ProtoReflect() protoreflect.Message {
  631. mi := &file_mq_proto_msgTypes[13]
  632. if protoimpl.UnsafeEnabled && x != nil {
  633. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  634. if ms.LoadMessageInfo() == nil {
  635. ms.StoreMessageInfo(mi)
  636. }
  637. return ms
  638. }
  639. return mi.MessageOf(x)
  640. }
  641. // Deprecated: Use FindTopicBrokersResponse.ProtoReflect.Descriptor instead.
  642. func (*FindTopicBrokersResponse) Descriptor() ([]byte, []int) {
  643. return file_mq_proto_rawDescGZIP(), []int{13}
  644. }
  645. func (x *FindTopicBrokersResponse) GetTopic() *Topic {
  646. if x != nil {
  647. return x.Topic
  648. }
  649. return nil
  650. }
  651. func (x *FindTopicBrokersResponse) GetTopicPartitionsAssignment() *TopicPartitionsAssignment {
  652. if x != nil {
  653. return x.TopicPartitionsAssignment
  654. }
  655. return nil
  656. }
  657. type BrokerPartitionsAssignment struct {
  658. state protoimpl.MessageState
  659. sizeCache protoimpl.SizeCache
  660. unknownFields protoimpl.UnknownFields
  661. PartitionStart int32 `protobuf:"varint,1,opt,name=partition_start,json=partitionStart,proto3" json:"partition_start,omitempty"`
  662. PartitionStop int32 `protobuf:"varint,2,opt,name=partition_stop,json=partitionStop,proto3" json:"partition_stop,omitempty"`
  663. LeaderBroker string `protobuf:"bytes,3,opt,name=leader_broker,json=leaderBroker,proto3" json:"leader_broker,omitempty"`
  664. FollowerBrokers []string `protobuf:"bytes,4,rep,name=follower_brokers,json=followerBrokers,proto3" json:"follower_brokers,omitempty"`
  665. }
  666. func (x *BrokerPartitionsAssignment) Reset() {
  667. *x = BrokerPartitionsAssignment{}
  668. if protoimpl.UnsafeEnabled {
  669. mi := &file_mq_proto_msgTypes[14]
  670. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  671. ms.StoreMessageInfo(mi)
  672. }
  673. }
  674. func (x *BrokerPartitionsAssignment) String() string {
  675. return protoimpl.X.MessageStringOf(x)
  676. }
  677. func (*BrokerPartitionsAssignment) ProtoMessage() {}
  678. func (x *BrokerPartitionsAssignment) ProtoReflect() protoreflect.Message {
  679. mi := &file_mq_proto_msgTypes[14]
  680. if protoimpl.UnsafeEnabled && x != nil {
  681. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  682. if ms.LoadMessageInfo() == nil {
  683. ms.StoreMessageInfo(mi)
  684. }
  685. return ms
  686. }
  687. return mi.MessageOf(x)
  688. }
  689. // Deprecated: Use BrokerPartitionsAssignment.ProtoReflect.Descriptor instead.
  690. func (*BrokerPartitionsAssignment) Descriptor() ([]byte, []int) {
  691. return file_mq_proto_rawDescGZIP(), []int{14}
  692. }
  693. func (x *BrokerPartitionsAssignment) GetPartitionStart() int32 {
  694. if x != nil {
  695. return x.PartitionStart
  696. }
  697. return 0
  698. }
  699. func (x *BrokerPartitionsAssignment) GetPartitionStop() int32 {
  700. if x != nil {
  701. return x.PartitionStop
  702. }
  703. return 0
  704. }
  705. func (x *BrokerPartitionsAssignment) GetLeaderBroker() string {
  706. if x != nil {
  707. return x.LeaderBroker
  708. }
  709. return ""
  710. }
  711. func (x *BrokerPartitionsAssignment) GetFollowerBrokers() []string {
  712. if x != nil {
  713. return x.FollowerBrokers
  714. }
  715. return nil
  716. }
  717. type TopicPartitionsAssignment struct {
  718. state protoimpl.MessageState
  719. sizeCache protoimpl.SizeCache
  720. unknownFields protoimpl.UnknownFields
  721. PartitionCount int32 `protobuf:"varint,1,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"` // over-sharded partitions, usually 1024
  722. BrokerPartitions []*BrokerPartitionsAssignment `protobuf:"bytes,2,rep,name=broker_partitions,json=brokerPartitions,proto3" json:"broker_partitions,omitempty"`
  723. }
  724. func (x *TopicPartitionsAssignment) Reset() {
  725. *x = TopicPartitionsAssignment{}
  726. if protoimpl.UnsafeEnabled {
  727. mi := &file_mq_proto_msgTypes[15]
  728. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  729. ms.StoreMessageInfo(mi)
  730. }
  731. }
  732. func (x *TopicPartitionsAssignment) String() string {
  733. return protoimpl.X.MessageStringOf(x)
  734. }
  735. func (*TopicPartitionsAssignment) ProtoMessage() {}
  736. func (x *TopicPartitionsAssignment) ProtoReflect() protoreflect.Message {
  737. mi := &file_mq_proto_msgTypes[15]
  738. if protoimpl.UnsafeEnabled && x != nil {
  739. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  740. if ms.LoadMessageInfo() == nil {
  741. ms.StoreMessageInfo(mi)
  742. }
  743. return ms
  744. }
  745. return mi.MessageOf(x)
  746. }
  747. // Deprecated: Use TopicPartitionsAssignment.ProtoReflect.Descriptor instead.
  748. func (*TopicPartitionsAssignment) Descriptor() ([]byte, []int) {
  749. return file_mq_proto_rawDescGZIP(), []int{15}
  750. }
  751. func (x *TopicPartitionsAssignment) GetPartitionCount() int32 {
  752. if x != nil {
  753. return x.PartitionCount
  754. }
  755. return 0
  756. }
  757. func (x *TopicPartitionsAssignment) GetBrokerPartitions() []*BrokerPartitionsAssignment {
  758. if x != nil {
  759. return x.BrokerPartitions
  760. }
  761. return nil
  762. }
  763. type RequestTopicPartitionsRequest struct {
  764. state protoimpl.MessageState
  765. sizeCache protoimpl.SizeCache
  766. unknownFields protoimpl.UnknownFields
  767. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  768. PartitionCount int32 `protobuf:"varint,2,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"`
  769. }
  770. func (x *RequestTopicPartitionsRequest) Reset() {
  771. *x = RequestTopicPartitionsRequest{}
  772. if protoimpl.UnsafeEnabled {
  773. mi := &file_mq_proto_msgTypes[16]
  774. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  775. ms.StoreMessageInfo(mi)
  776. }
  777. }
  778. func (x *RequestTopicPartitionsRequest) String() string {
  779. return protoimpl.X.MessageStringOf(x)
  780. }
  781. func (*RequestTopicPartitionsRequest) ProtoMessage() {}
  782. func (x *RequestTopicPartitionsRequest) ProtoReflect() protoreflect.Message {
  783. mi := &file_mq_proto_msgTypes[16]
  784. if protoimpl.UnsafeEnabled && x != nil {
  785. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  786. if ms.LoadMessageInfo() == nil {
  787. ms.StoreMessageInfo(mi)
  788. }
  789. return ms
  790. }
  791. return mi.MessageOf(x)
  792. }
  793. // Deprecated: Use RequestTopicPartitionsRequest.ProtoReflect.Descriptor instead.
  794. func (*RequestTopicPartitionsRequest) Descriptor() ([]byte, []int) {
  795. return file_mq_proto_rawDescGZIP(), []int{16}
  796. }
  797. func (x *RequestTopicPartitionsRequest) GetTopic() *Topic {
  798. if x != nil {
  799. return x.Topic
  800. }
  801. return nil
  802. }
  803. func (x *RequestTopicPartitionsRequest) GetPartitionCount() int32 {
  804. if x != nil {
  805. return x.PartitionCount
  806. }
  807. return 0
  808. }
  809. type RequestTopicPartitionsResponse struct {
  810. state protoimpl.MessageState
  811. sizeCache protoimpl.SizeCache
  812. unknownFields protoimpl.UnknownFields
  813. TopicPartitionsAssignment *TopicPartitionsAssignment `protobuf:"bytes,1,opt,name=topic_partitions_assignment,json=topicPartitionsAssignment,proto3" json:"topic_partitions_assignment,omitempty"`
  814. }
  815. func (x *RequestTopicPartitionsResponse) Reset() {
  816. *x = RequestTopicPartitionsResponse{}
  817. if protoimpl.UnsafeEnabled {
  818. mi := &file_mq_proto_msgTypes[17]
  819. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  820. ms.StoreMessageInfo(mi)
  821. }
  822. }
  823. func (x *RequestTopicPartitionsResponse) String() string {
  824. return protoimpl.X.MessageStringOf(x)
  825. }
  826. func (*RequestTopicPartitionsResponse) ProtoMessage() {}
  827. func (x *RequestTopicPartitionsResponse) ProtoReflect() protoreflect.Message {
  828. mi := &file_mq_proto_msgTypes[17]
  829. if protoimpl.UnsafeEnabled && x != nil {
  830. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  831. if ms.LoadMessageInfo() == nil {
  832. ms.StoreMessageInfo(mi)
  833. }
  834. return ms
  835. }
  836. return mi.MessageOf(x)
  837. }
  838. // Deprecated: Use RequestTopicPartitionsResponse.ProtoReflect.Descriptor instead.
  839. func (*RequestTopicPartitionsResponse) Descriptor() ([]byte, []int) {
  840. return file_mq_proto_rawDescGZIP(), []int{17}
  841. }
  842. func (x *RequestTopicPartitionsResponse) GetTopicPartitionsAssignment() *TopicPartitionsAssignment {
  843. if x != nil {
  844. return x.TopicPartitionsAssignment
  845. }
  846. return nil
  847. }
  848. type AssignTopicPartitionsRequest struct {
  849. state protoimpl.MessageState
  850. sizeCache protoimpl.SizeCache
  851. unknownFields protoimpl.UnknownFields
  852. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  853. TopicPartitionsAssignment *TopicPartitionsAssignment `protobuf:"bytes,2,opt,name=topic_partitions_assignment,json=topicPartitionsAssignment,proto3" json:"topic_partitions_assignment,omitempty"`
  854. IsLeader bool `protobuf:"varint,3,opt,name=is_leader,json=isLeader,proto3" json:"is_leader,omitempty"`
  855. }
  856. func (x *AssignTopicPartitionsRequest) Reset() {
  857. *x = AssignTopicPartitionsRequest{}
  858. if protoimpl.UnsafeEnabled {
  859. mi := &file_mq_proto_msgTypes[18]
  860. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  861. ms.StoreMessageInfo(mi)
  862. }
  863. }
  864. func (x *AssignTopicPartitionsRequest) String() string {
  865. return protoimpl.X.MessageStringOf(x)
  866. }
  867. func (*AssignTopicPartitionsRequest) ProtoMessage() {}
  868. func (x *AssignTopicPartitionsRequest) ProtoReflect() protoreflect.Message {
  869. mi := &file_mq_proto_msgTypes[18]
  870. if protoimpl.UnsafeEnabled && x != nil {
  871. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  872. if ms.LoadMessageInfo() == nil {
  873. ms.StoreMessageInfo(mi)
  874. }
  875. return ms
  876. }
  877. return mi.MessageOf(x)
  878. }
  879. // Deprecated: Use AssignTopicPartitionsRequest.ProtoReflect.Descriptor instead.
  880. func (*AssignTopicPartitionsRequest) Descriptor() ([]byte, []int) {
  881. return file_mq_proto_rawDescGZIP(), []int{18}
  882. }
  883. func (x *AssignTopicPartitionsRequest) GetTopic() *Topic {
  884. if x != nil {
  885. return x.Topic
  886. }
  887. return nil
  888. }
  889. func (x *AssignTopicPartitionsRequest) GetTopicPartitionsAssignment() *TopicPartitionsAssignment {
  890. if x != nil {
  891. return x.TopicPartitionsAssignment
  892. }
  893. return nil
  894. }
  895. func (x *AssignTopicPartitionsRequest) GetIsLeader() bool {
  896. if x != nil {
  897. return x.IsLeader
  898. }
  899. return false
  900. }
  901. type AssignTopicPartitionsResponse struct {
  902. state protoimpl.MessageState
  903. sizeCache protoimpl.SizeCache
  904. unknownFields protoimpl.UnknownFields
  905. }
  906. func (x *AssignTopicPartitionsResponse) Reset() {
  907. *x = AssignTopicPartitionsResponse{}
  908. if protoimpl.UnsafeEnabled {
  909. mi := &file_mq_proto_msgTypes[19]
  910. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  911. ms.StoreMessageInfo(mi)
  912. }
  913. }
  914. func (x *AssignTopicPartitionsResponse) String() string {
  915. return protoimpl.X.MessageStringOf(x)
  916. }
  917. func (*AssignTopicPartitionsResponse) ProtoMessage() {}
  918. func (x *AssignTopicPartitionsResponse) ProtoReflect() protoreflect.Message {
  919. mi := &file_mq_proto_msgTypes[19]
  920. if protoimpl.UnsafeEnabled && x != nil {
  921. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  922. if ms.LoadMessageInfo() == nil {
  923. ms.StoreMessageInfo(mi)
  924. }
  925. return ms
  926. }
  927. return mi.MessageOf(x)
  928. }
  929. // Deprecated: Use AssignTopicPartitionsResponse.ProtoReflect.Descriptor instead.
  930. func (*AssignTopicPartitionsResponse) Descriptor() ([]byte, []int) {
  931. return file_mq_proto_rawDescGZIP(), []int{19}
  932. }
  933. type CheckTopicPartitionsStatusRequest struct {
  934. state protoimpl.MessageState
  935. sizeCache protoimpl.SizeCache
  936. unknownFields protoimpl.UnknownFields
  937. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  938. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
  939. BrokerPartitionsAssignment *BrokerPartitionsAssignment `protobuf:"bytes,3,opt,name=broker_partitions_assignment,json=brokerPartitionsAssignment,proto3" json:"broker_partitions_assignment,omitempty"`
  940. ShouldCancelIfNotMatch bool `protobuf:"varint,4,opt,name=should_cancel_if_not_match,json=shouldCancelIfNotMatch,proto3" json:"should_cancel_if_not_match,omitempty"`
  941. }
  942. func (x *CheckTopicPartitionsStatusRequest) Reset() {
  943. *x = CheckTopicPartitionsStatusRequest{}
  944. if protoimpl.UnsafeEnabled {
  945. mi := &file_mq_proto_msgTypes[20]
  946. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  947. ms.StoreMessageInfo(mi)
  948. }
  949. }
  950. func (x *CheckTopicPartitionsStatusRequest) String() string {
  951. return protoimpl.X.MessageStringOf(x)
  952. }
  953. func (*CheckTopicPartitionsStatusRequest) ProtoMessage() {}
  954. func (x *CheckTopicPartitionsStatusRequest) ProtoReflect() protoreflect.Message {
  955. mi := &file_mq_proto_msgTypes[20]
  956. if protoimpl.UnsafeEnabled && x != nil {
  957. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  958. if ms.LoadMessageInfo() == nil {
  959. ms.StoreMessageInfo(mi)
  960. }
  961. return ms
  962. }
  963. return mi.MessageOf(x)
  964. }
  965. // Deprecated: Use CheckTopicPartitionsStatusRequest.ProtoReflect.Descriptor instead.
  966. func (*CheckTopicPartitionsStatusRequest) Descriptor() ([]byte, []int) {
  967. return file_mq_proto_rawDescGZIP(), []int{20}
  968. }
  969. func (x *CheckTopicPartitionsStatusRequest) GetNamespace() string {
  970. if x != nil {
  971. return x.Namespace
  972. }
  973. return ""
  974. }
  975. func (x *CheckTopicPartitionsStatusRequest) GetTopic() string {
  976. if x != nil {
  977. return x.Topic
  978. }
  979. return ""
  980. }
  981. func (x *CheckTopicPartitionsStatusRequest) GetBrokerPartitionsAssignment() *BrokerPartitionsAssignment {
  982. if x != nil {
  983. return x.BrokerPartitionsAssignment
  984. }
  985. return nil
  986. }
  987. func (x *CheckTopicPartitionsStatusRequest) GetShouldCancelIfNotMatch() bool {
  988. if x != nil {
  989. return x.ShouldCancelIfNotMatch
  990. }
  991. return false
  992. }
  993. type CheckTopicPartitionsStatusResponse struct {
  994. state protoimpl.MessageState
  995. sizeCache protoimpl.SizeCache
  996. unknownFields protoimpl.UnknownFields
  997. TopicPartitionsAssignment *TopicPartitionsAssignment `protobuf:"bytes,1,opt,name=topic_partitions_assignment,json=topicPartitionsAssignment,proto3" json:"topic_partitions_assignment,omitempty"`
  998. }
  999. func (x *CheckTopicPartitionsStatusResponse) Reset() {
  1000. *x = CheckTopicPartitionsStatusResponse{}
  1001. if protoimpl.UnsafeEnabled {
  1002. mi := &file_mq_proto_msgTypes[21]
  1003. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1004. ms.StoreMessageInfo(mi)
  1005. }
  1006. }
  1007. func (x *CheckTopicPartitionsStatusResponse) String() string {
  1008. return protoimpl.X.MessageStringOf(x)
  1009. }
  1010. func (*CheckTopicPartitionsStatusResponse) ProtoMessage() {}
  1011. func (x *CheckTopicPartitionsStatusResponse) ProtoReflect() protoreflect.Message {
  1012. mi := &file_mq_proto_msgTypes[21]
  1013. if protoimpl.UnsafeEnabled && x != nil {
  1014. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1015. if ms.LoadMessageInfo() == nil {
  1016. ms.StoreMessageInfo(mi)
  1017. }
  1018. return ms
  1019. }
  1020. return mi.MessageOf(x)
  1021. }
  1022. // Deprecated: Use CheckTopicPartitionsStatusResponse.ProtoReflect.Descriptor instead.
  1023. func (*CheckTopicPartitionsStatusResponse) Descriptor() ([]byte, []int) {
  1024. return file_mq_proto_rawDescGZIP(), []int{21}
  1025. }
  1026. func (x *CheckTopicPartitionsStatusResponse) GetTopicPartitionsAssignment() *TopicPartitionsAssignment {
  1027. if x != nil {
  1028. return x.TopicPartitionsAssignment
  1029. }
  1030. return nil
  1031. }
  1032. // ////////////////////////////////////////////////
  1033. type PublishRequest struct {
  1034. state protoimpl.MessageState
  1035. sizeCache protoimpl.SizeCache
  1036. unknownFields protoimpl.UnknownFields
  1037. // Types that are assignable to Message:
  1038. //
  1039. // *PublishRequest_Init
  1040. // *PublishRequest_Data
  1041. Message isPublishRequest_Message `protobuf_oneof:"message"`
  1042. Sequence int64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
  1043. }
  1044. func (x *PublishRequest) Reset() {
  1045. *x = PublishRequest{}
  1046. if protoimpl.UnsafeEnabled {
  1047. mi := &file_mq_proto_msgTypes[22]
  1048. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1049. ms.StoreMessageInfo(mi)
  1050. }
  1051. }
  1052. func (x *PublishRequest) String() string {
  1053. return protoimpl.X.MessageStringOf(x)
  1054. }
  1055. func (*PublishRequest) ProtoMessage() {}
  1056. func (x *PublishRequest) ProtoReflect() protoreflect.Message {
  1057. mi := &file_mq_proto_msgTypes[22]
  1058. if protoimpl.UnsafeEnabled && x != nil {
  1059. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1060. if ms.LoadMessageInfo() == nil {
  1061. ms.StoreMessageInfo(mi)
  1062. }
  1063. return ms
  1064. }
  1065. return mi.MessageOf(x)
  1066. }
  1067. // Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.
  1068. func (*PublishRequest) Descriptor() ([]byte, []int) {
  1069. return file_mq_proto_rawDescGZIP(), []int{22}
  1070. }
  1071. func (m *PublishRequest) GetMessage() isPublishRequest_Message {
  1072. if m != nil {
  1073. return m.Message
  1074. }
  1075. return nil
  1076. }
  1077. func (x *PublishRequest) GetInit() *PublishRequest_InitMessage {
  1078. if x, ok := x.GetMessage().(*PublishRequest_Init); ok {
  1079. return x.Init
  1080. }
  1081. return nil
  1082. }
  1083. func (x *PublishRequest) GetData() *PublishRequest_DataMessage {
  1084. if x, ok := x.GetMessage().(*PublishRequest_Data); ok {
  1085. return x.Data
  1086. }
  1087. return nil
  1088. }
  1089. func (x *PublishRequest) GetSequence() int64 {
  1090. if x != nil {
  1091. return x.Sequence
  1092. }
  1093. return 0
  1094. }
  1095. type isPublishRequest_Message interface {
  1096. isPublishRequest_Message()
  1097. }
  1098. type PublishRequest_Init struct {
  1099. Init *PublishRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
  1100. }
  1101. type PublishRequest_Data struct {
  1102. Data *PublishRequest_DataMessage `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
  1103. }
  1104. func (*PublishRequest_Init) isPublishRequest_Message() {}
  1105. func (*PublishRequest_Data) isPublishRequest_Message() {}
  1106. type PublishResponse struct {
  1107. state protoimpl.MessageState
  1108. sizeCache protoimpl.SizeCache
  1109. unknownFields protoimpl.UnknownFields
  1110. AckSequence int64 `protobuf:"varint,1,opt,name=ack_sequence,json=ackSequence,proto3" json:"ack_sequence,omitempty"`
  1111. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
  1112. IsClosed bool `protobuf:"varint,3,opt,name=is_closed,json=isClosed,proto3" json:"is_closed,omitempty"`
  1113. }
  1114. func (x *PublishResponse) Reset() {
  1115. *x = PublishResponse{}
  1116. if protoimpl.UnsafeEnabled {
  1117. mi := &file_mq_proto_msgTypes[23]
  1118. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1119. ms.StoreMessageInfo(mi)
  1120. }
  1121. }
  1122. func (x *PublishResponse) String() string {
  1123. return protoimpl.X.MessageStringOf(x)
  1124. }
  1125. func (*PublishResponse) ProtoMessage() {}
  1126. func (x *PublishResponse) ProtoReflect() protoreflect.Message {
  1127. mi := &file_mq_proto_msgTypes[23]
  1128. if protoimpl.UnsafeEnabled && x != nil {
  1129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1130. if ms.LoadMessageInfo() == nil {
  1131. ms.StoreMessageInfo(mi)
  1132. }
  1133. return ms
  1134. }
  1135. return mi.MessageOf(x)
  1136. }
  1137. // Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.
  1138. func (*PublishResponse) Descriptor() ([]byte, []int) {
  1139. return file_mq_proto_rawDescGZIP(), []int{23}
  1140. }
  1141. func (x *PublishResponse) GetAckSequence() int64 {
  1142. if x != nil {
  1143. return x.AckSequence
  1144. }
  1145. return 0
  1146. }
  1147. func (x *PublishResponse) GetError() string {
  1148. if x != nil {
  1149. return x.Error
  1150. }
  1151. return ""
  1152. }
  1153. func (x *PublishResponse) GetIsClosed() bool {
  1154. if x != nil {
  1155. return x.IsClosed
  1156. }
  1157. return false
  1158. }
  1159. type PublishRequest_InitMessage struct {
  1160. state protoimpl.MessageState
  1161. sizeCache protoimpl.SizeCache
  1162. unknownFields protoimpl.UnknownFields
  1163. Segment *Segment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
  1164. }
  1165. func (x *PublishRequest_InitMessage) Reset() {
  1166. *x = PublishRequest_InitMessage{}
  1167. if protoimpl.UnsafeEnabled {
  1168. mi := &file_mq_proto_msgTypes[24]
  1169. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1170. ms.StoreMessageInfo(mi)
  1171. }
  1172. }
  1173. func (x *PublishRequest_InitMessage) String() string {
  1174. return protoimpl.X.MessageStringOf(x)
  1175. }
  1176. func (*PublishRequest_InitMessage) ProtoMessage() {}
  1177. func (x *PublishRequest_InitMessage) ProtoReflect() protoreflect.Message {
  1178. mi := &file_mq_proto_msgTypes[24]
  1179. if protoimpl.UnsafeEnabled && x != nil {
  1180. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1181. if ms.LoadMessageInfo() == nil {
  1182. ms.StoreMessageInfo(mi)
  1183. }
  1184. return ms
  1185. }
  1186. return mi.MessageOf(x)
  1187. }
  1188. // Deprecated: Use PublishRequest_InitMessage.ProtoReflect.Descriptor instead.
  1189. func (*PublishRequest_InitMessage) Descriptor() ([]byte, []int) {
  1190. return file_mq_proto_rawDescGZIP(), []int{22, 0}
  1191. }
  1192. func (x *PublishRequest_InitMessage) GetSegment() *Segment {
  1193. if x != nil {
  1194. return x.Segment
  1195. }
  1196. return nil
  1197. }
  1198. type PublishRequest_DataMessage struct {
  1199. state protoimpl.MessageState
  1200. sizeCache protoimpl.SizeCache
  1201. unknownFields protoimpl.UnknownFields
  1202. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  1203. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  1204. }
  1205. func (x *PublishRequest_DataMessage) Reset() {
  1206. *x = PublishRequest_DataMessage{}
  1207. if protoimpl.UnsafeEnabled {
  1208. mi := &file_mq_proto_msgTypes[25]
  1209. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1210. ms.StoreMessageInfo(mi)
  1211. }
  1212. }
  1213. func (x *PublishRequest_DataMessage) String() string {
  1214. return protoimpl.X.MessageStringOf(x)
  1215. }
  1216. func (*PublishRequest_DataMessage) ProtoMessage() {}
  1217. func (x *PublishRequest_DataMessage) ProtoReflect() protoreflect.Message {
  1218. mi := &file_mq_proto_msgTypes[25]
  1219. if protoimpl.UnsafeEnabled && x != nil {
  1220. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1221. if ms.LoadMessageInfo() == nil {
  1222. ms.StoreMessageInfo(mi)
  1223. }
  1224. return ms
  1225. }
  1226. return mi.MessageOf(x)
  1227. }
  1228. // Deprecated: Use PublishRequest_DataMessage.ProtoReflect.Descriptor instead.
  1229. func (*PublishRequest_DataMessage) Descriptor() ([]byte, []int) {
  1230. return file_mq_proto_rawDescGZIP(), []int{22, 1}
  1231. }
  1232. func (x *PublishRequest_DataMessage) GetKey() []byte {
  1233. if x != nil {
  1234. return x.Key
  1235. }
  1236. return nil
  1237. }
  1238. func (x *PublishRequest_DataMessage) GetValue() []byte {
  1239. if x != nil {
  1240. return x.Value
  1241. }
  1242. return nil
  1243. }
  1244. var File_mq_proto protoreflect.FileDescriptor
  1245. var file_mq_proto_rawDesc = []byte{
  1246. 0x0a, 0x08, 0x6d, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x73, 0x73,
  1247. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x22, 0xe8, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x67,
  1248. 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x07, 0x73, 0x65, 0x67, 0x6d,
  1249. 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1250. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
  1251. 0x52, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x73, 0x74, 0x61,
  1252. 0x72, 0x74, 0x5f, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
  1253. 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x73, 0x4e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x72, 0x6f,
  1254. 0x6b, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x72, 0x6f, 0x6b,
  1255. 0x65, 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x74, 0x73, 0x5f, 0x6e,
  1256. 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x54, 0x73, 0x4e,
  1257. 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x73, 0x65,
  1258. 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x05, 0x52, 0x10, 0x70, 0x72,
  1259. 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23,
  1260. 0x0a, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
  1261. 0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0c, 0x6e, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65,
  1262. 0x6e, 0x74, 0x73, 0x22, 0x3a, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65,
  1263. 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f,
  1264. 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20,
  1265. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22,
  1266. 0x32, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61,
  1267. 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62,
  1268. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x6f,
  1269. 0x6b, 0x65, 0x72, 0x22, 0x39, 0x0a, 0x05, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1c, 0x0a, 0x09,
  1270. 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1271. 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  1272. 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x68,
  1273. 0x0a, 0x09, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72,
  1274. 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
  1275. 0x72, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x61, 0x6e, 0x67,
  1276. 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72,
  1277. 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x61, 0x6e,
  1278. 0x67, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72,
  1279. 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x22, 0x84, 0x01, 0x0a, 0x07, 0x53, 0x65, 0x67,
  1280. 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
  1281. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
  1282. 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28,
  1283. 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03,
  1284. 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74,
  1285. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x65,
  1286. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69,
  1287. 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22,
  1288. 0x4e, 0x0a, 0x1b, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
  1289. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f,
  1290. 0x0a, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1291. 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53,
  1292. 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22,
  1293. 0x38, 0x0a, 0x1c, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
  1294. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1295. 0x18, 0x0a, 0x07, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
  1296. 0x52, 0x07, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x22, 0x4c, 0x0a, 0x19, 0x43, 0x68, 0x65,
  1297. 0x63, 0x6b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
  1298. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e,
  1299. 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1300. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07,
  1301. 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x39, 0x0a, 0x1a, 0x43, 0x68, 0x65, 0x63, 0x6b,
  1302. 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73,
  1303. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69,
  1304. 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69,
  1305. 0x76, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f, 0x6b, 0x65,
  1306. 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5f, 0x0a, 0x17,
  1307. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x52,
  1308. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1309. 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
  1310. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
  1311. 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
  1312. 0x03, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x6a, 0x0a,
  1313. 0x17, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72,
  1314. 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69,
  1315. 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1316. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f,
  1317. 0x70, 0x69, 0x63, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x75,
  1318. 0x62, 0x6c, 0x69, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x46,
  1319. 0x6f, 0x72, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x22, 0xae, 0x01, 0x0a, 0x18, 0x46, 0x69,
  1320. 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65,
  1321. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18,
  1322. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e,
  1323. 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69,
  1324. 0x63, 0x12, 0x67, 0x0a, 0x1b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69,
  1325. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
  1326. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  1327. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69,
  1328. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52,
  1329. 0x19, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  1330. 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xbc, 0x01, 0x0a, 0x1a, 0x42,
  1331. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41,
  1332. 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72,
  1333. 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01,
  1334. 0x28, 0x05, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
  1335. 0x72, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
  1336. 0x73, 0x74, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74,
  1337. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x65, 0x61,
  1338. 0x64, 0x65, 0x72, 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  1339. 0x52, 0x0c, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x12, 0x29,
  1340. 0x0a, 0x10, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65,
  1341. 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77,
  1342. 0x65, 0x72, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x19, 0x54, 0x6f,
  1343. 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x73, 0x73,
  1344. 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69,
  1345. 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
  1346. 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  1347. 0x12, 0x55, 0x0a, 0x11, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69,
  1348. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x65,
  1349. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65,
  1350. 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x73, 0x73, 0x69, 0x67,
  1351. 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72,
  1352. 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x73, 0x0a, 0x1d, 0x52, 0x65, 0x71, 0x75, 0x65,
  1353. 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  1354. 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69,
  1355. 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1356. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f,
  1357. 0x70, 0x69, 0x63, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  1358. 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x61,
  1359. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x89, 0x01, 0x0a,
  1360. 0x1e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72,
  1361. 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1362. 0x67, 0x0a, 0x1b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  1363. 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01,
  1364. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  1365. 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  1366. 0x6f, 0x6e, 0x73, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x19, 0x74,
  1367. 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x73,
  1368. 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xcf, 0x01, 0x0a, 0x1c, 0x41, 0x73, 0x73,
  1369. 0x69, 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  1370. 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70,
  1371. 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1372. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74,
  1373. 0x6f, 0x70, 0x69, 0x63, 0x12, 0x67, 0x0a, 0x1b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x70, 0x61,
  1374. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d,
  1375. 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1376. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61,
  1377. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
  1378. 0x6e, 0x74, 0x52, 0x19, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  1379. 0x6f, 0x6e, 0x73, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a,
  1380. 0x09, 0x69, 0x73, 0x5f, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
  1381. 0x52, 0x08, 0x69, 0x73, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x1f, 0x0a, 0x1d, 0x41, 0x73,
  1382. 0x73, 0x69, 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  1383. 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xff, 0x01, 0x0a, 0x21,
  1384. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74,
  1385. 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  1386. 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01,
  1387. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12,
  1388. 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1389. 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x6a, 0x0a, 0x1c, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f,
  1390. 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67,
  1391. 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x65,
  1392. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65,
  1393. 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x73, 0x73, 0x69, 0x67,
  1394. 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1a, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72,
  1395. 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e,
  1396. 0x74, 0x12, 0x3a, 0x0a, 0x1a, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x5f, 0x63, 0x61, 0x6e, 0x63,
  1397. 0x65, 0x6c, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18,
  1398. 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x43, 0x61, 0x6e,
  1399. 0x63, 0x65, 0x6c, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x22, 0x8d, 0x01,
  1400. 0x0a, 0x22, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74,
  1401. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70,
  1402. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x1b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x70, 0x61,
  1403. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d,
  1404. 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1405. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61,
  1406. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
  1407. 0x6e, 0x74, 0x52, 0x19, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  1408. 0x6f, 0x6e, 0x73, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xae, 0x02,
  1409. 0x0a, 0x0e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1410. 0x12, 0x3e, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28,
  1411. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75,
  1412. 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x69,
  1413. 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74,
  1414. 0x12, 0x3e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28,
  1415. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75,
  1416. 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x61, 0x74,
  1417. 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
  1418. 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01,
  1419. 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x1a, 0x3e, 0x0a, 0x0b,
  1420. 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x73,
  1421. 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d,
  1422. 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x67, 0x6d,
  1423. 0x65, 0x6e, 0x74, 0x52, 0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x35, 0x0a, 0x0b,
  1424. 0x44, 0x61, 0x74, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  1425. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
  1426. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61,
  1427. 0x6c, 0x75, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x67,
  1428. 0x0a, 0x0f, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  1429. 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,
  1430. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x63, 0x6b, 0x53, 0x65, 0x71, 0x75,
  1431. 0x65, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20,
  1432. 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73,
  1433. 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69,
  1434. 0x73, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x32, 0xd7, 0x07, 0x0a, 0x10, 0x53, 0x65, 0x61, 0x77,
  1435. 0x65, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x63, 0x0a, 0x10,
  1436. 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72,
  1437. 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
  1438. 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72,
  1439. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1440. 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65,
  1441. 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  1442. 0x00, 0x12, 0x6f, 0x0a, 0x14, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67, 0x6d, 0x65,
  1443. 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x12, 0x29, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  1444. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53,
  1445. 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
  1446. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  1447. 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e,
  1448. 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1449. 0x22, 0x00, 0x12, 0x69, 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x67, 0x6d, 0x65,
  1450. 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1451. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x67,
  1452. 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  1453. 0x74, 0x1a, 0x28, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62,
  1454. 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61,
  1455. 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a,
  1456. 0x0f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64,
  1457. 0x12, 0x24, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
  1458. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x52,
  1459. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
  1460. 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x72, 0x6f, 0x6b, 0x65,
  1461. 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
  1462. 0x63, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b,
  1463. 0x65, 0x72, 0x73, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
  1464. 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b,
  1465. 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x73,
  1466. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x6f,
  1467. 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  1468. 0x73, 0x65, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x16, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54,
  1469. 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b,
  1470. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65,
  1471. 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74,
  1472. 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6d, 0x65,
  1473. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65,
  1474. 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  1475. 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x15, 0x41,
  1476. 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74,
  1477. 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  1478. 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50,
  1479. 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1480. 0x1a, 0x2b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
  1481. 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69,
  1482. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
  1483. 0x81, 0x01, 0x0a, 0x1a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61,
  1484. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f,
  1485. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x68,
  1486. 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  1487. 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  1488. 0x30, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43,
  1489. 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
  1490. 0x6f, 0x6e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  1491. 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x07, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x12, 0x1c,
  1492. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75,
  1493. 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d,
  1494. 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c,
  1495. 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30,
  1496. 0x01, 0x42, 0x4e, 0x0a, 0x0c, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x6d,
  1497. 0x71, 0x42, 0x10, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x51, 0x75, 0x65, 0x75, 0x65, 0x50, 0x72,
  1498. 0x6f, 0x74, 0x6f, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  1499. 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65,
  1500. 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62, 0x2f, 0x6d, 0x71, 0x5f, 0x70,
  1501. 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1502. }
  1503. var (
  1504. file_mq_proto_rawDescOnce sync.Once
  1505. file_mq_proto_rawDescData = file_mq_proto_rawDesc
  1506. )
  1507. func file_mq_proto_rawDescGZIP() []byte {
  1508. file_mq_proto_rawDescOnce.Do(func() {
  1509. file_mq_proto_rawDescData = protoimpl.X.CompressGZIP(file_mq_proto_rawDescData)
  1510. })
  1511. return file_mq_proto_rawDescData
  1512. }
  1513. var file_mq_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
  1514. var file_mq_proto_goTypes = []interface{}{
  1515. (*SegmentInfo)(nil), // 0: messaging_pb.SegmentInfo
  1516. (*FindBrokerLeaderRequest)(nil), // 1: messaging_pb.FindBrokerLeaderRequest
  1517. (*FindBrokerLeaderResponse)(nil), // 2: messaging_pb.FindBrokerLeaderResponse
  1518. (*Topic)(nil), // 3: messaging_pb.Topic
  1519. (*Partition)(nil), // 4: messaging_pb.Partition
  1520. (*Segment)(nil), // 5: messaging_pb.Segment
  1521. (*AssignSegmentBrokersRequest)(nil), // 6: messaging_pb.AssignSegmentBrokersRequest
  1522. (*AssignSegmentBrokersResponse)(nil), // 7: messaging_pb.AssignSegmentBrokersResponse
  1523. (*CheckSegmentStatusRequest)(nil), // 8: messaging_pb.CheckSegmentStatusRequest
  1524. (*CheckSegmentStatusResponse)(nil), // 9: messaging_pb.CheckSegmentStatusResponse
  1525. (*CheckBrokerLoadRequest)(nil), // 10: messaging_pb.CheckBrokerLoadRequest
  1526. (*CheckBrokerLoadResponse)(nil), // 11: messaging_pb.CheckBrokerLoadResponse
  1527. (*FindTopicBrokersRequest)(nil), // 12: messaging_pb.FindTopicBrokersRequest
  1528. (*FindTopicBrokersResponse)(nil), // 13: messaging_pb.FindTopicBrokersResponse
  1529. (*BrokerPartitionsAssignment)(nil), // 14: messaging_pb.BrokerPartitionsAssignment
  1530. (*TopicPartitionsAssignment)(nil), // 15: messaging_pb.TopicPartitionsAssignment
  1531. (*RequestTopicPartitionsRequest)(nil), // 16: messaging_pb.RequestTopicPartitionsRequest
  1532. (*RequestTopicPartitionsResponse)(nil), // 17: messaging_pb.RequestTopicPartitionsResponse
  1533. (*AssignTopicPartitionsRequest)(nil), // 18: messaging_pb.AssignTopicPartitionsRequest
  1534. (*AssignTopicPartitionsResponse)(nil), // 19: messaging_pb.AssignTopicPartitionsResponse
  1535. (*CheckTopicPartitionsStatusRequest)(nil), // 20: messaging_pb.CheckTopicPartitionsStatusRequest
  1536. (*CheckTopicPartitionsStatusResponse)(nil), // 21: messaging_pb.CheckTopicPartitionsStatusResponse
  1537. (*PublishRequest)(nil), // 22: messaging_pb.PublishRequest
  1538. (*PublishResponse)(nil), // 23: messaging_pb.PublishResponse
  1539. (*PublishRequest_InitMessage)(nil), // 24: messaging_pb.PublishRequest.InitMessage
  1540. (*PublishRequest_DataMessage)(nil), // 25: messaging_pb.PublishRequest.DataMessage
  1541. }
  1542. var file_mq_proto_depIdxs = []int32{
  1543. 5, // 0: messaging_pb.SegmentInfo.segment:type_name -> messaging_pb.Segment
  1544. 4, // 1: messaging_pb.Segment.partition:type_name -> messaging_pb.Partition
  1545. 5, // 2: messaging_pb.AssignSegmentBrokersRequest.segment:type_name -> messaging_pb.Segment
  1546. 5, // 3: messaging_pb.CheckSegmentStatusRequest.segment:type_name -> messaging_pb.Segment
  1547. 3, // 4: messaging_pb.FindTopicBrokersRequest.topic:type_name -> messaging_pb.Topic
  1548. 3, // 5: messaging_pb.FindTopicBrokersResponse.topic:type_name -> messaging_pb.Topic
  1549. 15, // 6: messaging_pb.FindTopicBrokersResponse.topic_partitions_assignment:type_name -> messaging_pb.TopicPartitionsAssignment
  1550. 14, // 7: messaging_pb.TopicPartitionsAssignment.broker_partitions:type_name -> messaging_pb.BrokerPartitionsAssignment
  1551. 3, // 8: messaging_pb.RequestTopicPartitionsRequest.topic:type_name -> messaging_pb.Topic
  1552. 15, // 9: messaging_pb.RequestTopicPartitionsResponse.topic_partitions_assignment:type_name -> messaging_pb.TopicPartitionsAssignment
  1553. 3, // 10: messaging_pb.AssignTopicPartitionsRequest.topic:type_name -> messaging_pb.Topic
  1554. 15, // 11: messaging_pb.AssignTopicPartitionsRequest.topic_partitions_assignment:type_name -> messaging_pb.TopicPartitionsAssignment
  1555. 14, // 12: messaging_pb.CheckTopicPartitionsStatusRequest.broker_partitions_assignment:type_name -> messaging_pb.BrokerPartitionsAssignment
  1556. 15, // 13: messaging_pb.CheckTopicPartitionsStatusResponse.topic_partitions_assignment:type_name -> messaging_pb.TopicPartitionsAssignment
  1557. 24, // 14: messaging_pb.PublishRequest.init:type_name -> messaging_pb.PublishRequest.InitMessage
  1558. 25, // 15: messaging_pb.PublishRequest.data:type_name -> messaging_pb.PublishRequest.DataMessage
  1559. 5, // 16: messaging_pb.PublishRequest.InitMessage.segment:type_name -> messaging_pb.Segment
  1560. 1, // 17: messaging_pb.SeaweedMessaging.FindBrokerLeader:input_type -> messaging_pb.FindBrokerLeaderRequest
  1561. 6, // 18: messaging_pb.SeaweedMessaging.AssignSegmentBrokers:input_type -> messaging_pb.AssignSegmentBrokersRequest
  1562. 8, // 19: messaging_pb.SeaweedMessaging.CheckSegmentStatus:input_type -> messaging_pb.CheckSegmentStatusRequest
  1563. 10, // 20: messaging_pb.SeaweedMessaging.CheckBrokerLoad:input_type -> messaging_pb.CheckBrokerLoadRequest
  1564. 12, // 21: messaging_pb.SeaweedMessaging.FindTopicBrokers:input_type -> messaging_pb.FindTopicBrokersRequest
  1565. 16, // 22: messaging_pb.SeaweedMessaging.RequestTopicPartitions:input_type -> messaging_pb.RequestTopicPartitionsRequest
  1566. 18, // 23: messaging_pb.SeaweedMessaging.AssignTopicPartitions:input_type -> messaging_pb.AssignTopicPartitionsRequest
  1567. 20, // 24: messaging_pb.SeaweedMessaging.CheckTopicPartitionsStatus:input_type -> messaging_pb.CheckTopicPartitionsStatusRequest
  1568. 22, // 25: messaging_pb.SeaweedMessaging.Publish:input_type -> messaging_pb.PublishRequest
  1569. 2, // 26: messaging_pb.SeaweedMessaging.FindBrokerLeader:output_type -> messaging_pb.FindBrokerLeaderResponse
  1570. 7, // 27: messaging_pb.SeaweedMessaging.AssignSegmentBrokers:output_type -> messaging_pb.AssignSegmentBrokersResponse
  1571. 9, // 28: messaging_pb.SeaweedMessaging.CheckSegmentStatus:output_type -> messaging_pb.CheckSegmentStatusResponse
  1572. 11, // 29: messaging_pb.SeaweedMessaging.CheckBrokerLoad:output_type -> messaging_pb.CheckBrokerLoadResponse
  1573. 13, // 30: messaging_pb.SeaweedMessaging.FindTopicBrokers:output_type -> messaging_pb.FindTopicBrokersResponse
  1574. 17, // 31: messaging_pb.SeaweedMessaging.RequestTopicPartitions:output_type -> messaging_pb.RequestTopicPartitionsResponse
  1575. 19, // 32: messaging_pb.SeaweedMessaging.AssignTopicPartitions:output_type -> messaging_pb.AssignTopicPartitionsResponse
  1576. 21, // 33: messaging_pb.SeaweedMessaging.CheckTopicPartitionsStatus:output_type -> messaging_pb.CheckTopicPartitionsStatusResponse
  1577. 23, // 34: messaging_pb.SeaweedMessaging.Publish:output_type -> messaging_pb.PublishResponse
  1578. 26, // [26:35] is the sub-list for method output_type
  1579. 17, // [17:26] is the sub-list for method input_type
  1580. 17, // [17:17] is the sub-list for extension type_name
  1581. 17, // [17:17] is the sub-list for extension extendee
  1582. 0, // [0:17] is the sub-list for field type_name
  1583. }
  1584. func init() { file_mq_proto_init() }
  1585. func file_mq_proto_init() {
  1586. if File_mq_proto != nil {
  1587. return
  1588. }
  1589. if !protoimpl.UnsafeEnabled {
  1590. file_mq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1591. switch v := v.(*SegmentInfo); i {
  1592. case 0:
  1593. return &v.state
  1594. case 1:
  1595. return &v.sizeCache
  1596. case 2:
  1597. return &v.unknownFields
  1598. default:
  1599. return nil
  1600. }
  1601. }
  1602. file_mq_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1603. switch v := v.(*FindBrokerLeaderRequest); i {
  1604. case 0:
  1605. return &v.state
  1606. case 1:
  1607. return &v.sizeCache
  1608. case 2:
  1609. return &v.unknownFields
  1610. default:
  1611. return nil
  1612. }
  1613. }
  1614. file_mq_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1615. switch v := v.(*FindBrokerLeaderResponse); i {
  1616. case 0:
  1617. return &v.state
  1618. case 1:
  1619. return &v.sizeCache
  1620. case 2:
  1621. return &v.unknownFields
  1622. default:
  1623. return nil
  1624. }
  1625. }
  1626. file_mq_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1627. switch v := v.(*Topic); i {
  1628. case 0:
  1629. return &v.state
  1630. case 1:
  1631. return &v.sizeCache
  1632. case 2:
  1633. return &v.unknownFields
  1634. default:
  1635. return nil
  1636. }
  1637. }
  1638. file_mq_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1639. switch v := v.(*Partition); i {
  1640. case 0:
  1641. return &v.state
  1642. case 1:
  1643. return &v.sizeCache
  1644. case 2:
  1645. return &v.unknownFields
  1646. default:
  1647. return nil
  1648. }
  1649. }
  1650. file_mq_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1651. switch v := v.(*Segment); i {
  1652. case 0:
  1653. return &v.state
  1654. case 1:
  1655. return &v.sizeCache
  1656. case 2:
  1657. return &v.unknownFields
  1658. default:
  1659. return nil
  1660. }
  1661. }
  1662. file_mq_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1663. switch v := v.(*AssignSegmentBrokersRequest); i {
  1664. case 0:
  1665. return &v.state
  1666. case 1:
  1667. return &v.sizeCache
  1668. case 2:
  1669. return &v.unknownFields
  1670. default:
  1671. return nil
  1672. }
  1673. }
  1674. file_mq_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1675. switch v := v.(*AssignSegmentBrokersResponse); i {
  1676. case 0:
  1677. return &v.state
  1678. case 1:
  1679. return &v.sizeCache
  1680. case 2:
  1681. return &v.unknownFields
  1682. default:
  1683. return nil
  1684. }
  1685. }
  1686. file_mq_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1687. switch v := v.(*CheckSegmentStatusRequest); i {
  1688. case 0:
  1689. return &v.state
  1690. case 1:
  1691. return &v.sizeCache
  1692. case 2:
  1693. return &v.unknownFields
  1694. default:
  1695. return nil
  1696. }
  1697. }
  1698. file_mq_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1699. switch v := v.(*CheckSegmentStatusResponse); i {
  1700. case 0:
  1701. return &v.state
  1702. case 1:
  1703. return &v.sizeCache
  1704. case 2:
  1705. return &v.unknownFields
  1706. default:
  1707. return nil
  1708. }
  1709. }
  1710. file_mq_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1711. switch v := v.(*CheckBrokerLoadRequest); i {
  1712. case 0:
  1713. return &v.state
  1714. case 1:
  1715. return &v.sizeCache
  1716. case 2:
  1717. return &v.unknownFields
  1718. default:
  1719. return nil
  1720. }
  1721. }
  1722. file_mq_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1723. switch v := v.(*CheckBrokerLoadResponse); i {
  1724. case 0:
  1725. return &v.state
  1726. case 1:
  1727. return &v.sizeCache
  1728. case 2:
  1729. return &v.unknownFields
  1730. default:
  1731. return nil
  1732. }
  1733. }
  1734. file_mq_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1735. switch v := v.(*FindTopicBrokersRequest); i {
  1736. case 0:
  1737. return &v.state
  1738. case 1:
  1739. return &v.sizeCache
  1740. case 2:
  1741. return &v.unknownFields
  1742. default:
  1743. return nil
  1744. }
  1745. }
  1746. file_mq_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1747. switch v := v.(*FindTopicBrokersResponse); i {
  1748. case 0:
  1749. return &v.state
  1750. case 1:
  1751. return &v.sizeCache
  1752. case 2:
  1753. return &v.unknownFields
  1754. default:
  1755. return nil
  1756. }
  1757. }
  1758. file_mq_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1759. switch v := v.(*BrokerPartitionsAssignment); i {
  1760. case 0:
  1761. return &v.state
  1762. case 1:
  1763. return &v.sizeCache
  1764. case 2:
  1765. return &v.unknownFields
  1766. default:
  1767. return nil
  1768. }
  1769. }
  1770. file_mq_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1771. switch v := v.(*TopicPartitionsAssignment); i {
  1772. case 0:
  1773. return &v.state
  1774. case 1:
  1775. return &v.sizeCache
  1776. case 2:
  1777. return &v.unknownFields
  1778. default:
  1779. return nil
  1780. }
  1781. }
  1782. file_mq_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1783. switch v := v.(*RequestTopicPartitionsRequest); i {
  1784. case 0:
  1785. return &v.state
  1786. case 1:
  1787. return &v.sizeCache
  1788. case 2:
  1789. return &v.unknownFields
  1790. default:
  1791. return nil
  1792. }
  1793. }
  1794. file_mq_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1795. switch v := v.(*RequestTopicPartitionsResponse); i {
  1796. case 0:
  1797. return &v.state
  1798. case 1:
  1799. return &v.sizeCache
  1800. case 2:
  1801. return &v.unknownFields
  1802. default:
  1803. return nil
  1804. }
  1805. }
  1806. file_mq_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  1807. switch v := v.(*AssignTopicPartitionsRequest); i {
  1808. case 0:
  1809. return &v.state
  1810. case 1:
  1811. return &v.sizeCache
  1812. case 2:
  1813. return &v.unknownFields
  1814. default:
  1815. return nil
  1816. }
  1817. }
  1818. file_mq_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  1819. switch v := v.(*AssignTopicPartitionsResponse); i {
  1820. case 0:
  1821. return &v.state
  1822. case 1:
  1823. return &v.sizeCache
  1824. case 2:
  1825. return &v.unknownFields
  1826. default:
  1827. return nil
  1828. }
  1829. }
  1830. file_mq_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  1831. switch v := v.(*CheckTopicPartitionsStatusRequest); i {
  1832. case 0:
  1833. return &v.state
  1834. case 1:
  1835. return &v.sizeCache
  1836. case 2:
  1837. return &v.unknownFields
  1838. default:
  1839. return nil
  1840. }
  1841. }
  1842. file_mq_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  1843. switch v := v.(*CheckTopicPartitionsStatusResponse); i {
  1844. case 0:
  1845. return &v.state
  1846. case 1:
  1847. return &v.sizeCache
  1848. case 2:
  1849. return &v.unknownFields
  1850. default:
  1851. return nil
  1852. }
  1853. }
  1854. file_mq_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  1855. switch v := v.(*PublishRequest); i {
  1856. case 0:
  1857. return &v.state
  1858. case 1:
  1859. return &v.sizeCache
  1860. case 2:
  1861. return &v.unknownFields
  1862. default:
  1863. return nil
  1864. }
  1865. }
  1866. file_mq_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  1867. switch v := v.(*PublishResponse); i {
  1868. case 0:
  1869. return &v.state
  1870. case 1:
  1871. return &v.sizeCache
  1872. case 2:
  1873. return &v.unknownFields
  1874. default:
  1875. return nil
  1876. }
  1877. }
  1878. file_mq_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  1879. switch v := v.(*PublishRequest_InitMessage); i {
  1880. case 0:
  1881. return &v.state
  1882. case 1:
  1883. return &v.sizeCache
  1884. case 2:
  1885. return &v.unknownFields
  1886. default:
  1887. return nil
  1888. }
  1889. }
  1890. file_mq_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  1891. switch v := v.(*PublishRequest_DataMessage); i {
  1892. case 0:
  1893. return &v.state
  1894. case 1:
  1895. return &v.sizeCache
  1896. case 2:
  1897. return &v.unknownFields
  1898. default:
  1899. return nil
  1900. }
  1901. }
  1902. }
  1903. file_mq_proto_msgTypes[22].OneofWrappers = []interface{}{
  1904. (*PublishRequest_Init)(nil),
  1905. (*PublishRequest_Data)(nil),
  1906. }
  1907. type x struct{}
  1908. out := protoimpl.TypeBuilder{
  1909. File: protoimpl.DescBuilder{
  1910. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1911. RawDescriptor: file_mq_proto_rawDesc,
  1912. NumEnums: 0,
  1913. NumMessages: 26,
  1914. NumExtensions: 0,
  1915. NumServices: 1,
  1916. },
  1917. GoTypes: file_mq_proto_goTypes,
  1918. DependencyIndexes: file_mq_proto_depIdxs,
  1919. MessageInfos: file_mq_proto_msgTypes,
  1920. }.Build()
  1921. File_mq_proto = out.File
  1922. file_mq_proto_rawDesc = nil
  1923. file_mq_proto_goTypes = nil
  1924. file_mq_proto_depIdxs = nil
  1925. }