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.

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