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.

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