messaging.pb.go 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0
  4. // protoc v3.17.3
  5. // source: messaging.proto
  6. package messaging_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. type SubscriberMessage_InitMessage_StartPosition int32
  20. const (
  21. SubscriberMessage_InitMessage_LATEST SubscriberMessage_InitMessage_StartPosition = 0 // Start at the newest message
  22. SubscriberMessage_InitMessage_EARLIEST SubscriberMessage_InitMessage_StartPosition = 1 // Start at the oldest message
  23. SubscriberMessage_InitMessage_TIMESTAMP SubscriberMessage_InitMessage_StartPosition = 2 // Start after a specified timestamp, exclusive
  24. )
  25. // Enum value maps for SubscriberMessage_InitMessage_StartPosition.
  26. var (
  27. SubscriberMessage_InitMessage_StartPosition_name = map[int32]string{
  28. 0: "LATEST",
  29. 1: "EARLIEST",
  30. 2: "TIMESTAMP",
  31. }
  32. SubscriberMessage_InitMessage_StartPosition_value = map[string]int32{
  33. "LATEST": 0,
  34. "EARLIEST": 1,
  35. "TIMESTAMP": 2,
  36. }
  37. )
  38. func (x SubscriberMessage_InitMessage_StartPosition) Enum() *SubscriberMessage_InitMessage_StartPosition {
  39. p := new(SubscriberMessage_InitMessage_StartPosition)
  40. *p = x
  41. return p
  42. }
  43. func (x SubscriberMessage_InitMessage_StartPosition) String() string {
  44. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  45. }
  46. func (SubscriberMessage_InitMessage_StartPosition) Descriptor() protoreflect.EnumDescriptor {
  47. return file_messaging_proto_enumTypes[0].Descriptor()
  48. }
  49. func (SubscriberMessage_InitMessage_StartPosition) Type() protoreflect.EnumType {
  50. return &file_messaging_proto_enumTypes[0]
  51. }
  52. func (x SubscriberMessage_InitMessage_StartPosition) Number() protoreflect.EnumNumber {
  53. return protoreflect.EnumNumber(x)
  54. }
  55. // Deprecated: Use SubscriberMessage_InitMessage_StartPosition.Descriptor instead.
  56. func (SubscriberMessage_InitMessage_StartPosition) EnumDescriptor() ([]byte, []int) {
  57. return file_messaging_proto_rawDescGZIP(), []int{0, 0, 0}
  58. }
  59. type TopicConfiguration_Partitioning int32
  60. const (
  61. TopicConfiguration_NonNullKeyHash TopicConfiguration_Partitioning = 0 // If not null, hash by key value. If null, round robin
  62. TopicConfiguration_KeyHash TopicConfiguration_Partitioning = 1 // hash by key value
  63. TopicConfiguration_RoundRobin TopicConfiguration_Partitioning = 2 // round robin pick one partition
  64. )
  65. // Enum value maps for TopicConfiguration_Partitioning.
  66. var (
  67. TopicConfiguration_Partitioning_name = map[int32]string{
  68. 0: "NonNullKeyHash",
  69. 1: "KeyHash",
  70. 2: "RoundRobin",
  71. }
  72. TopicConfiguration_Partitioning_value = map[string]int32{
  73. "NonNullKeyHash": 0,
  74. "KeyHash": 1,
  75. "RoundRobin": 2,
  76. }
  77. )
  78. func (x TopicConfiguration_Partitioning) Enum() *TopicConfiguration_Partitioning {
  79. p := new(TopicConfiguration_Partitioning)
  80. *p = x
  81. return p
  82. }
  83. func (x TopicConfiguration_Partitioning) String() string {
  84. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  85. }
  86. func (TopicConfiguration_Partitioning) Descriptor() protoreflect.EnumDescriptor {
  87. return file_messaging_proto_enumTypes[1].Descriptor()
  88. }
  89. func (TopicConfiguration_Partitioning) Type() protoreflect.EnumType {
  90. return &file_messaging_proto_enumTypes[1]
  91. }
  92. func (x TopicConfiguration_Partitioning) Number() protoreflect.EnumNumber {
  93. return protoreflect.EnumNumber(x)
  94. }
  95. // Deprecated: Use TopicConfiguration_Partitioning.Descriptor instead.
  96. func (TopicConfiguration_Partitioning) EnumDescriptor() ([]byte, []int) {
  97. return file_messaging_proto_rawDescGZIP(), []int{13, 0}
  98. }
  99. type SubscriberMessage struct {
  100. state protoimpl.MessageState
  101. sizeCache protoimpl.SizeCache
  102. unknownFields protoimpl.UnknownFields
  103. Init *SubscriberMessage_InitMessage `protobuf:"bytes,1,opt,name=init,proto3" json:"init,omitempty"`
  104. Ack *SubscriberMessage_AckMessage `protobuf:"bytes,2,opt,name=ack,proto3" json:"ack,omitempty"`
  105. IsClose bool `protobuf:"varint,3,opt,name=is_close,json=isClose,proto3" json:"is_close,omitempty"`
  106. }
  107. func (x *SubscriberMessage) Reset() {
  108. *x = SubscriberMessage{}
  109. if protoimpl.UnsafeEnabled {
  110. mi := &file_messaging_proto_msgTypes[0]
  111. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  112. ms.StoreMessageInfo(mi)
  113. }
  114. }
  115. func (x *SubscriberMessage) String() string {
  116. return protoimpl.X.MessageStringOf(x)
  117. }
  118. func (*SubscriberMessage) ProtoMessage() {}
  119. func (x *SubscriberMessage) ProtoReflect() protoreflect.Message {
  120. mi := &file_messaging_proto_msgTypes[0]
  121. if protoimpl.UnsafeEnabled && x != nil {
  122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  123. if ms.LoadMessageInfo() == nil {
  124. ms.StoreMessageInfo(mi)
  125. }
  126. return ms
  127. }
  128. return mi.MessageOf(x)
  129. }
  130. // Deprecated: Use SubscriberMessage.ProtoReflect.Descriptor instead.
  131. func (*SubscriberMessage) Descriptor() ([]byte, []int) {
  132. return file_messaging_proto_rawDescGZIP(), []int{0}
  133. }
  134. func (x *SubscriberMessage) GetInit() *SubscriberMessage_InitMessage {
  135. if x != nil {
  136. return x.Init
  137. }
  138. return nil
  139. }
  140. func (x *SubscriberMessage) GetAck() *SubscriberMessage_AckMessage {
  141. if x != nil {
  142. return x.Ack
  143. }
  144. return nil
  145. }
  146. func (x *SubscriberMessage) GetIsClose() bool {
  147. if x != nil {
  148. return x.IsClose
  149. }
  150. return false
  151. }
  152. type Message struct {
  153. state protoimpl.MessageState
  154. sizeCache protoimpl.SizeCache
  155. unknownFields protoimpl.UnknownFields
  156. EventTimeNs int64 `protobuf:"varint,1,opt,name=event_time_ns,json=eventTimeNs,proto3" json:"event_time_ns,omitempty"`
  157. Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Message key
  158. Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // Message payload
  159. Headers map[string][]byte `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Message headers
  160. IsClose bool `protobuf:"varint,5,opt,name=is_close,json=isClose,proto3" json:"is_close,omitempty"`
  161. }
  162. func (x *Message) Reset() {
  163. *x = Message{}
  164. if protoimpl.UnsafeEnabled {
  165. mi := &file_messaging_proto_msgTypes[1]
  166. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  167. ms.StoreMessageInfo(mi)
  168. }
  169. }
  170. func (x *Message) String() string {
  171. return protoimpl.X.MessageStringOf(x)
  172. }
  173. func (*Message) ProtoMessage() {}
  174. func (x *Message) ProtoReflect() protoreflect.Message {
  175. mi := &file_messaging_proto_msgTypes[1]
  176. if protoimpl.UnsafeEnabled && x != nil {
  177. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  178. if ms.LoadMessageInfo() == nil {
  179. ms.StoreMessageInfo(mi)
  180. }
  181. return ms
  182. }
  183. return mi.MessageOf(x)
  184. }
  185. // Deprecated: Use Message.ProtoReflect.Descriptor instead.
  186. func (*Message) Descriptor() ([]byte, []int) {
  187. return file_messaging_proto_rawDescGZIP(), []int{1}
  188. }
  189. func (x *Message) GetEventTimeNs() int64 {
  190. if x != nil {
  191. return x.EventTimeNs
  192. }
  193. return 0
  194. }
  195. func (x *Message) GetKey() []byte {
  196. if x != nil {
  197. return x.Key
  198. }
  199. return nil
  200. }
  201. func (x *Message) GetValue() []byte {
  202. if x != nil {
  203. return x.Value
  204. }
  205. return nil
  206. }
  207. func (x *Message) GetHeaders() map[string][]byte {
  208. if x != nil {
  209. return x.Headers
  210. }
  211. return nil
  212. }
  213. func (x *Message) GetIsClose() bool {
  214. if x != nil {
  215. return x.IsClose
  216. }
  217. return false
  218. }
  219. type BrokerMessage struct {
  220. state protoimpl.MessageState
  221. sizeCache protoimpl.SizeCache
  222. unknownFields protoimpl.UnknownFields
  223. Data *Message `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  224. }
  225. func (x *BrokerMessage) Reset() {
  226. *x = BrokerMessage{}
  227. if protoimpl.UnsafeEnabled {
  228. mi := &file_messaging_proto_msgTypes[2]
  229. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  230. ms.StoreMessageInfo(mi)
  231. }
  232. }
  233. func (x *BrokerMessage) String() string {
  234. return protoimpl.X.MessageStringOf(x)
  235. }
  236. func (*BrokerMessage) ProtoMessage() {}
  237. func (x *BrokerMessage) ProtoReflect() protoreflect.Message {
  238. mi := &file_messaging_proto_msgTypes[2]
  239. if protoimpl.UnsafeEnabled && x != nil {
  240. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  241. if ms.LoadMessageInfo() == nil {
  242. ms.StoreMessageInfo(mi)
  243. }
  244. return ms
  245. }
  246. return mi.MessageOf(x)
  247. }
  248. // Deprecated: Use BrokerMessage.ProtoReflect.Descriptor instead.
  249. func (*BrokerMessage) Descriptor() ([]byte, []int) {
  250. return file_messaging_proto_rawDescGZIP(), []int{2}
  251. }
  252. func (x *BrokerMessage) GetData() *Message {
  253. if x != nil {
  254. return x.Data
  255. }
  256. return nil
  257. }
  258. type PublishRequest struct {
  259. state protoimpl.MessageState
  260. sizeCache protoimpl.SizeCache
  261. unknownFields protoimpl.UnknownFields
  262. Init *PublishRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3" json:"init,omitempty"`
  263. Data *Message `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  264. }
  265. func (x *PublishRequest) Reset() {
  266. *x = PublishRequest{}
  267. if protoimpl.UnsafeEnabled {
  268. mi := &file_messaging_proto_msgTypes[3]
  269. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  270. ms.StoreMessageInfo(mi)
  271. }
  272. }
  273. func (x *PublishRequest) String() string {
  274. return protoimpl.X.MessageStringOf(x)
  275. }
  276. func (*PublishRequest) ProtoMessage() {}
  277. func (x *PublishRequest) ProtoReflect() protoreflect.Message {
  278. mi := &file_messaging_proto_msgTypes[3]
  279. if protoimpl.UnsafeEnabled && x != nil {
  280. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  281. if ms.LoadMessageInfo() == nil {
  282. ms.StoreMessageInfo(mi)
  283. }
  284. return ms
  285. }
  286. return mi.MessageOf(x)
  287. }
  288. // Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.
  289. func (*PublishRequest) Descriptor() ([]byte, []int) {
  290. return file_messaging_proto_rawDescGZIP(), []int{3}
  291. }
  292. func (x *PublishRequest) GetInit() *PublishRequest_InitMessage {
  293. if x != nil {
  294. return x.Init
  295. }
  296. return nil
  297. }
  298. func (x *PublishRequest) GetData() *Message {
  299. if x != nil {
  300. return x.Data
  301. }
  302. return nil
  303. }
  304. type PublishResponse struct {
  305. state protoimpl.MessageState
  306. sizeCache protoimpl.SizeCache
  307. unknownFields protoimpl.UnknownFields
  308. Config *PublishResponse_ConfigMessage `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
  309. Redirect *PublishResponse_RedirectMessage `protobuf:"bytes,2,opt,name=redirect,proto3" json:"redirect,omitempty"`
  310. IsClosed bool `protobuf:"varint,3,opt,name=is_closed,json=isClosed,proto3" json:"is_closed,omitempty"`
  311. }
  312. func (x *PublishResponse) Reset() {
  313. *x = PublishResponse{}
  314. if protoimpl.UnsafeEnabled {
  315. mi := &file_messaging_proto_msgTypes[4]
  316. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  317. ms.StoreMessageInfo(mi)
  318. }
  319. }
  320. func (x *PublishResponse) String() string {
  321. return protoimpl.X.MessageStringOf(x)
  322. }
  323. func (*PublishResponse) ProtoMessage() {}
  324. func (x *PublishResponse) ProtoReflect() protoreflect.Message {
  325. mi := &file_messaging_proto_msgTypes[4]
  326. if protoimpl.UnsafeEnabled && x != nil {
  327. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  328. if ms.LoadMessageInfo() == nil {
  329. ms.StoreMessageInfo(mi)
  330. }
  331. return ms
  332. }
  333. return mi.MessageOf(x)
  334. }
  335. // Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.
  336. func (*PublishResponse) Descriptor() ([]byte, []int) {
  337. return file_messaging_proto_rawDescGZIP(), []int{4}
  338. }
  339. func (x *PublishResponse) GetConfig() *PublishResponse_ConfigMessage {
  340. if x != nil {
  341. return x.Config
  342. }
  343. return nil
  344. }
  345. func (x *PublishResponse) GetRedirect() *PublishResponse_RedirectMessage {
  346. if x != nil {
  347. return x.Redirect
  348. }
  349. return nil
  350. }
  351. func (x *PublishResponse) GetIsClosed() bool {
  352. if x != nil {
  353. return x.IsClosed
  354. }
  355. return false
  356. }
  357. type DeleteTopicRequest struct {
  358. state protoimpl.MessageState
  359. sizeCache protoimpl.SizeCache
  360. unknownFields protoimpl.UnknownFields
  361. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  362. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
  363. }
  364. func (x *DeleteTopicRequest) Reset() {
  365. *x = DeleteTopicRequest{}
  366. if protoimpl.UnsafeEnabled {
  367. mi := &file_messaging_proto_msgTypes[5]
  368. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  369. ms.StoreMessageInfo(mi)
  370. }
  371. }
  372. func (x *DeleteTopicRequest) String() string {
  373. return protoimpl.X.MessageStringOf(x)
  374. }
  375. func (*DeleteTopicRequest) ProtoMessage() {}
  376. func (x *DeleteTopicRequest) ProtoReflect() protoreflect.Message {
  377. mi := &file_messaging_proto_msgTypes[5]
  378. if protoimpl.UnsafeEnabled && x != nil {
  379. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  380. if ms.LoadMessageInfo() == nil {
  381. ms.StoreMessageInfo(mi)
  382. }
  383. return ms
  384. }
  385. return mi.MessageOf(x)
  386. }
  387. // Deprecated: Use DeleteTopicRequest.ProtoReflect.Descriptor instead.
  388. func (*DeleteTopicRequest) Descriptor() ([]byte, []int) {
  389. return file_messaging_proto_rawDescGZIP(), []int{5}
  390. }
  391. func (x *DeleteTopicRequest) GetNamespace() string {
  392. if x != nil {
  393. return x.Namespace
  394. }
  395. return ""
  396. }
  397. func (x *DeleteTopicRequest) GetTopic() string {
  398. if x != nil {
  399. return x.Topic
  400. }
  401. return ""
  402. }
  403. type DeleteTopicResponse struct {
  404. state protoimpl.MessageState
  405. sizeCache protoimpl.SizeCache
  406. unknownFields protoimpl.UnknownFields
  407. }
  408. func (x *DeleteTopicResponse) Reset() {
  409. *x = DeleteTopicResponse{}
  410. if protoimpl.UnsafeEnabled {
  411. mi := &file_messaging_proto_msgTypes[6]
  412. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  413. ms.StoreMessageInfo(mi)
  414. }
  415. }
  416. func (x *DeleteTopicResponse) String() string {
  417. return protoimpl.X.MessageStringOf(x)
  418. }
  419. func (*DeleteTopicResponse) ProtoMessage() {}
  420. func (x *DeleteTopicResponse) ProtoReflect() protoreflect.Message {
  421. mi := &file_messaging_proto_msgTypes[6]
  422. if protoimpl.UnsafeEnabled && x != nil {
  423. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  424. if ms.LoadMessageInfo() == nil {
  425. ms.StoreMessageInfo(mi)
  426. }
  427. return ms
  428. }
  429. return mi.MessageOf(x)
  430. }
  431. // Deprecated: Use DeleteTopicResponse.ProtoReflect.Descriptor instead.
  432. func (*DeleteTopicResponse) Descriptor() ([]byte, []int) {
  433. return file_messaging_proto_rawDescGZIP(), []int{6}
  434. }
  435. type ConfigureTopicRequest struct {
  436. state protoimpl.MessageState
  437. sizeCache protoimpl.SizeCache
  438. unknownFields protoimpl.UnknownFields
  439. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  440. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
  441. Configuration *TopicConfiguration `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"`
  442. }
  443. func (x *ConfigureTopicRequest) Reset() {
  444. *x = ConfigureTopicRequest{}
  445. if protoimpl.UnsafeEnabled {
  446. mi := &file_messaging_proto_msgTypes[7]
  447. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  448. ms.StoreMessageInfo(mi)
  449. }
  450. }
  451. func (x *ConfigureTopicRequest) String() string {
  452. return protoimpl.X.MessageStringOf(x)
  453. }
  454. func (*ConfigureTopicRequest) ProtoMessage() {}
  455. func (x *ConfigureTopicRequest) ProtoReflect() protoreflect.Message {
  456. mi := &file_messaging_proto_msgTypes[7]
  457. if protoimpl.UnsafeEnabled && x != nil {
  458. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  459. if ms.LoadMessageInfo() == nil {
  460. ms.StoreMessageInfo(mi)
  461. }
  462. return ms
  463. }
  464. return mi.MessageOf(x)
  465. }
  466. // Deprecated: Use ConfigureTopicRequest.ProtoReflect.Descriptor instead.
  467. func (*ConfigureTopicRequest) Descriptor() ([]byte, []int) {
  468. return file_messaging_proto_rawDescGZIP(), []int{7}
  469. }
  470. func (x *ConfigureTopicRequest) GetNamespace() string {
  471. if x != nil {
  472. return x.Namespace
  473. }
  474. return ""
  475. }
  476. func (x *ConfigureTopicRequest) GetTopic() string {
  477. if x != nil {
  478. return x.Topic
  479. }
  480. return ""
  481. }
  482. func (x *ConfigureTopicRequest) GetConfiguration() *TopicConfiguration {
  483. if x != nil {
  484. return x.Configuration
  485. }
  486. return nil
  487. }
  488. type ConfigureTopicResponse struct {
  489. state protoimpl.MessageState
  490. sizeCache protoimpl.SizeCache
  491. unknownFields protoimpl.UnknownFields
  492. }
  493. func (x *ConfigureTopicResponse) Reset() {
  494. *x = ConfigureTopicResponse{}
  495. if protoimpl.UnsafeEnabled {
  496. mi := &file_messaging_proto_msgTypes[8]
  497. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  498. ms.StoreMessageInfo(mi)
  499. }
  500. }
  501. func (x *ConfigureTopicResponse) String() string {
  502. return protoimpl.X.MessageStringOf(x)
  503. }
  504. func (*ConfigureTopicResponse) ProtoMessage() {}
  505. func (x *ConfigureTopicResponse) ProtoReflect() protoreflect.Message {
  506. mi := &file_messaging_proto_msgTypes[8]
  507. if protoimpl.UnsafeEnabled && x != nil {
  508. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  509. if ms.LoadMessageInfo() == nil {
  510. ms.StoreMessageInfo(mi)
  511. }
  512. return ms
  513. }
  514. return mi.MessageOf(x)
  515. }
  516. // Deprecated: Use ConfigureTopicResponse.ProtoReflect.Descriptor instead.
  517. func (*ConfigureTopicResponse) Descriptor() ([]byte, []int) {
  518. return file_messaging_proto_rawDescGZIP(), []int{8}
  519. }
  520. type GetTopicConfigurationRequest struct {
  521. state protoimpl.MessageState
  522. sizeCache protoimpl.SizeCache
  523. unknownFields protoimpl.UnknownFields
  524. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  525. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
  526. }
  527. func (x *GetTopicConfigurationRequest) Reset() {
  528. *x = GetTopicConfigurationRequest{}
  529. if protoimpl.UnsafeEnabled {
  530. mi := &file_messaging_proto_msgTypes[9]
  531. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  532. ms.StoreMessageInfo(mi)
  533. }
  534. }
  535. func (x *GetTopicConfigurationRequest) String() string {
  536. return protoimpl.X.MessageStringOf(x)
  537. }
  538. func (*GetTopicConfigurationRequest) ProtoMessage() {}
  539. func (x *GetTopicConfigurationRequest) ProtoReflect() protoreflect.Message {
  540. mi := &file_messaging_proto_msgTypes[9]
  541. if protoimpl.UnsafeEnabled && x != nil {
  542. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  543. if ms.LoadMessageInfo() == nil {
  544. ms.StoreMessageInfo(mi)
  545. }
  546. return ms
  547. }
  548. return mi.MessageOf(x)
  549. }
  550. // Deprecated: Use GetTopicConfigurationRequest.ProtoReflect.Descriptor instead.
  551. func (*GetTopicConfigurationRequest) Descriptor() ([]byte, []int) {
  552. return file_messaging_proto_rawDescGZIP(), []int{9}
  553. }
  554. func (x *GetTopicConfigurationRequest) GetNamespace() string {
  555. if x != nil {
  556. return x.Namespace
  557. }
  558. return ""
  559. }
  560. func (x *GetTopicConfigurationRequest) GetTopic() string {
  561. if x != nil {
  562. return x.Topic
  563. }
  564. return ""
  565. }
  566. type GetTopicConfigurationResponse struct {
  567. state protoimpl.MessageState
  568. sizeCache protoimpl.SizeCache
  569. unknownFields protoimpl.UnknownFields
  570. Configuration *TopicConfiguration `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"`
  571. }
  572. func (x *GetTopicConfigurationResponse) Reset() {
  573. *x = GetTopicConfigurationResponse{}
  574. if protoimpl.UnsafeEnabled {
  575. mi := &file_messaging_proto_msgTypes[10]
  576. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  577. ms.StoreMessageInfo(mi)
  578. }
  579. }
  580. func (x *GetTopicConfigurationResponse) String() string {
  581. return protoimpl.X.MessageStringOf(x)
  582. }
  583. func (*GetTopicConfigurationResponse) ProtoMessage() {}
  584. func (x *GetTopicConfigurationResponse) ProtoReflect() protoreflect.Message {
  585. mi := &file_messaging_proto_msgTypes[10]
  586. if protoimpl.UnsafeEnabled && x != nil {
  587. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  588. if ms.LoadMessageInfo() == nil {
  589. ms.StoreMessageInfo(mi)
  590. }
  591. return ms
  592. }
  593. return mi.MessageOf(x)
  594. }
  595. // Deprecated: Use GetTopicConfigurationResponse.ProtoReflect.Descriptor instead.
  596. func (*GetTopicConfigurationResponse) Descriptor() ([]byte, []int) {
  597. return file_messaging_proto_rawDescGZIP(), []int{10}
  598. }
  599. func (x *GetTopicConfigurationResponse) GetConfiguration() *TopicConfiguration {
  600. if x != nil {
  601. return x.Configuration
  602. }
  603. return nil
  604. }
  605. type FindBrokerRequest struct {
  606. state protoimpl.MessageState
  607. sizeCache protoimpl.SizeCache
  608. unknownFields protoimpl.UnknownFields
  609. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  610. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
  611. Parition int32 `protobuf:"varint,3,opt,name=parition,proto3" json:"parition,omitempty"`
  612. }
  613. func (x *FindBrokerRequest) Reset() {
  614. *x = FindBrokerRequest{}
  615. if protoimpl.UnsafeEnabled {
  616. mi := &file_messaging_proto_msgTypes[11]
  617. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  618. ms.StoreMessageInfo(mi)
  619. }
  620. }
  621. func (x *FindBrokerRequest) String() string {
  622. return protoimpl.X.MessageStringOf(x)
  623. }
  624. func (*FindBrokerRequest) ProtoMessage() {}
  625. func (x *FindBrokerRequest) ProtoReflect() protoreflect.Message {
  626. mi := &file_messaging_proto_msgTypes[11]
  627. if protoimpl.UnsafeEnabled && x != nil {
  628. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  629. if ms.LoadMessageInfo() == nil {
  630. ms.StoreMessageInfo(mi)
  631. }
  632. return ms
  633. }
  634. return mi.MessageOf(x)
  635. }
  636. // Deprecated: Use FindBrokerRequest.ProtoReflect.Descriptor instead.
  637. func (*FindBrokerRequest) Descriptor() ([]byte, []int) {
  638. return file_messaging_proto_rawDescGZIP(), []int{11}
  639. }
  640. func (x *FindBrokerRequest) GetNamespace() string {
  641. if x != nil {
  642. return x.Namespace
  643. }
  644. return ""
  645. }
  646. func (x *FindBrokerRequest) GetTopic() string {
  647. if x != nil {
  648. return x.Topic
  649. }
  650. return ""
  651. }
  652. func (x *FindBrokerRequest) GetParition() int32 {
  653. if x != nil {
  654. return x.Parition
  655. }
  656. return 0
  657. }
  658. type FindBrokerResponse struct {
  659. state protoimpl.MessageState
  660. sizeCache protoimpl.SizeCache
  661. unknownFields protoimpl.UnknownFields
  662. Broker string `protobuf:"bytes,1,opt,name=broker,proto3" json:"broker,omitempty"`
  663. }
  664. func (x *FindBrokerResponse) Reset() {
  665. *x = FindBrokerResponse{}
  666. if protoimpl.UnsafeEnabled {
  667. mi := &file_messaging_proto_msgTypes[12]
  668. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  669. ms.StoreMessageInfo(mi)
  670. }
  671. }
  672. func (x *FindBrokerResponse) String() string {
  673. return protoimpl.X.MessageStringOf(x)
  674. }
  675. func (*FindBrokerResponse) ProtoMessage() {}
  676. func (x *FindBrokerResponse) ProtoReflect() protoreflect.Message {
  677. mi := &file_messaging_proto_msgTypes[12]
  678. if protoimpl.UnsafeEnabled && x != nil {
  679. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  680. if ms.LoadMessageInfo() == nil {
  681. ms.StoreMessageInfo(mi)
  682. }
  683. return ms
  684. }
  685. return mi.MessageOf(x)
  686. }
  687. // Deprecated: Use FindBrokerResponse.ProtoReflect.Descriptor instead.
  688. func (*FindBrokerResponse) Descriptor() ([]byte, []int) {
  689. return file_messaging_proto_rawDescGZIP(), []int{12}
  690. }
  691. func (x *FindBrokerResponse) GetBroker() string {
  692. if x != nil {
  693. return x.Broker
  694. }
  695. return ""
  696. }
  697. type TopicConfiguration struct {
  698. state protoimpl.MessageState
  699. sizeCache protoimpl.SizeCache
  700. unknownFields protoimpl.UnknownFields
  701. PartitionCount int32 `protobuf:"varint,1,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"`
  702. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
  703. Replication string `protobuf:"bytes,3,opt,name=replication,proto3" json:"replication,omitempty"`
  704. IsTransient bool `protobuf:"varint,4,opt,name=is_transient,json=isTransient,proto3" json:"is_transient,omitempty"`
  705. Partitoning TopicConfiguration_Partitioning `protobuf:"varint,5,opt,name=partitoning,proto3,enum=messaging_pb.TopicConfiguration_Partitioning" json:"partitoning,omitempty"`
  706. }
  707. func (x *TopicConfiguration) Reset() {
  708. *x = TopicConfiguration{}
  709. if protoimpl.UnsafeEnabled {
  710. mi := &file_messaging_proto_msgTypes[13]
  711. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  712. ms.StoreMessageInfo(mi)
  713. }
  714. }
  715. func (x *TopicConfiguration) String() string {
  716. return protoimpl.X.MessageStringOf(x)
  717. }
  718. func (*TopicConfiguration) ProtoMessage() {}
  719. func (x *TopicConfiguration) ProtoReflect() protoreflect.Message {
  720. mi := &file_messaging_proto_msgTypes[13]
  721. if protoimpl.UnsafeEnabled && x != nil {
  722. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  723. if ms.LoadMessageInfo() == nil {
  724. ms.StoreMessageInfo(mi)
  725. }
  726. return ms
  727. }
  728. return mi.MessageOf(x)
  729. }
  730. // Deprecated: Use TopicConfiguration.ProtoReflect.Descriptor instead.
  731. func (*TopicConfiguration) Descriptor() ([]byte, []int) {
  732. return file_messaging_proto_rawDescGZIP(), []int{13}
  733. }
  734. func (x *TopicConfiguration) GetPartitionCount() int32 {
  735. if x != nil {
  736. return x.PartitionCount
  737. }
  738. return 0
  739. }
  740. func (x *TopicConfiguration) GetCollection() string {
  741. if x != nil {
  742. return x.Collection
  743. }
  744. return ""
  745. }
  746. func (x *TopicConfiguration) GetReplication() string {
  747. if x != nil {
  748. return x.Replication
  749. }
  750. return ""
  751. }
  752. func (x *TopicConfiguration) GetIsTransient() bool {
  753. if x != nil {
  754. return x.IsTransient
  755. }
  756. return false
  757. }
  758. func (x *TopicConfiguration) GetPartitoning() TopicConfiguration_Partitioning {
  759. if x != nil {
  760. return x.Partitoning
  761. }
  762. return TopicConfiguration_NonNullKeyHash
  763. }
  764. type SubscriberMessage_InitMessage struct {
  765. state protoimpl.MessageState
  766. sizeCache protoimpl.SizeCache
  767. unknownFields protoimpl.UnknownFields
  768. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  769. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
  770. Partition int32 `protobuf:"varint,3,opt,name=partition,proto3" json:"partition,omitempty"`
  771. StartPosition SubscriberMessage_InitMessage_StartPosition `protobuf:"varint,4,opt,name=startPosition,proto3,enum=messaging_pb.SubscriberMessage_InitMessage_StartPosition" json:"startPosition,omitempty"` // Where to begin consuming from
  772. TimestampNs int64 `protobuf:"varint,5,opt,name=timestampNs,proto3" json:"timestampNs,omitempty"` // timestamp in nano seconds
  773. SubscriberId string `protobuf:"bytes,6,opt,name=subscriber_id,json=subscriberId,proto3" json:"subscriber_id,omitempty"` // uniquely identify a subscriber to track consumption
  774. }
  775. func (x *SubscriberMessage_InitMessage) Reset() {
  776. *x = SubscriberMessage_InitMessage{}
  777. if protoimpl.UnsafeEnabled {
  778. mi := &file_messaging_proto_msgTypes[14]
  779. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  780. ms.StoreMessageInfo(mi)
  781. }
  782. }
  783. func (x *SubscriberMessage_InitMessage) String() string {
  784. return protoimpl.X.MessageStringOf(x)
  785. }
  786. func (*SubscriberMessage_InitMessage) ProtoMessage() {}
  787. func (x *SubscriberMessage_InitMessage) ProtoReflect() protoreflect.Message {
  788. mi := &file_messaging_proto_msgTypes[14]
  789. if protoimpl.UnsafeEnabled && x != nil {
  790. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  791. if ms.LoadMessageInfo() == nil {
  792. ms.StoreMessageInfo(mi)
  793. }
  794. return ms
  795. }
  796. return mi.MessageOf(x)
  797. }
  798. // Deprecated: Use SubscriberMessage_InitMessage.ProtoReflect.Descriptor instead.
  799. func (*SubscriberMessage_InitMessage) Descriptor() ([]byte, []int) {
  800. return file_messaging_proto_rawDescGZIP(), []int{0, 0}
  801. }
  802. func (x *SubscriberMessage_InitMessage) GetNamespace() string {
  803. if x != nil {
  804. return x.Namespace
  805. }
  806. return ""
  807. }
  808. func (x *SubscriberMessage_InitMessage) GetTopic() string {
  809. if x != nil {
  810. return x.Topic
  811. }
  812. return ""
  813. }
  814. func (x *SubscriberMessage_InitMessage) GetPartition() int32 {
  815. if x != nil {
  816. return x.Partition
  817. }
  818. return 0
  819. }
  820. func (x *SubscriberMessage_InitMessage) GetStartPosition() SubscriberMessage_InitMessage_StartPosition {
  821. if x != nil {
  822. return x.StartPosition
  823. }
  824. return SubscriberMessage_InitMessage_LATEST
  825. }
  826. func (x *SubscriberMessage_InitMessage) GetTimestampNs() int64 {
  827. if x != nil {
  828. return x.TimestampNs
  829. }
  830. return 0
  831. }
  832. func (x *SubscriberMessage_InitMessage) GetSubscriberId() string {
  833. if x != nil {
  834. return x.SubscriberId
  835. }
  836. return ""
  837. }
  838. type SubscriberMessage_AckMessage struct {
  839. state protoimpl.MessageState
  840. sizeCache protoimpl.SizeCache
  841. unknownFields protoimpl.UnknownFields
  842. MessageId int64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
  843. }
  844. func (x *SubscriberMessage_AckMessage) Reset() {
  845. *x = SubscriberMessage_AckMessage{}
  846. if protoimpl.UnsafeEnabled {
  847. mi := &file_messaging_proto_msgTypes[15]
  848. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  849. ms.StoreMessageInfo(mi)
  850. }
  851. }
  852. func (x *SubscriberMessage_AckMessage) String() string {
  853. return protoimpl.X.MessageStringOf(x)
  854. }
  855. func (*SubscriberMessage_AckMessage) ProtoMessage() {}
  856. func (x *SubscriberMessage_AckMessage) ProtoReflect() protoreflect.Message {
  857. mi := &file_messaging_proto_msgTypes[15]
  858. if protoimpl.UnsafeEnabled && x != nil {
  859. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  860. if ms.LoadMessageInfo() == nil {
  861. ms.StoreMessageInfo(mi)
  862. }
  863. return ms
  864. }
  865. return mi.MessageOf(x)
  866. }
  867. // Deprecated: Use SubscriberMessage_AckMessage.ProtoReflect.Descriptor instead.
  868. func (*SubscriberMessage_AckMessage) Descriptor() ([]byte, []int) {
  869. return file_messaging_proto_rawDescGZIP(), []int{0, 1}
  870. }
  871. func (x *SubscriberMessage_AckMessage) GetMessageId() int64 {
  872. if x != nil {
  873. return x.MessageId
  874. }
  875. return 0
  876. }
  877. type PublishRequest_InitMessage struct {
  878. state protoimpl.MessageState
  879. sizeCache protoimpl.SizeCache
  880. unknownFields protoimpl.UnknownFields
  881. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // only needed on the initial request
  882. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` // only needed on the initial request
  883. Partition int32 `protobuf:"varint,3,opt,name=partition,proto3" json:"partition,omitempty"`
  884. }
  885. func (x *PublishRequest_InitMessage) Reset() {
  886. *x = PublishRequest_InitMessage{}
  887. if protoimpl.UnsafeEnabled {
  888. mi := &file_messaging_proto_msgTypes[17]
  889. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  890. ms.StoreMessageInfo(mi)
  891. }
  892. }
  893. func (x *PublishRequest_InitMessage) String() string {
  894. return protoimpl.X.MessageStringOf(x)
  895. }
  896. func (*PublishRequest_InitMessage) ProtoMessage() {}
  897. func (x *PublishRequest_InitMessage) ProtoReflect() protoreflect.Message {
  898. mi := &file_messaging_proto_msgTypes[17]
  899. if protoimpl.UnsafeEnabled && x != nil {
  900. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  901. if ms.LoadMessageInfo() == nil {
  902. ms.StoreMessageInfo(mi)
  903. }
  904. return ms
  905. }
  906. return mi.MessageOf(x)
  907. }
  908. // Deprecated: Use PublishRequest_InitMessage.ProtoReflect.Descriptor instead.
  909. func (*PublishRequest_InitMessage) Descriptor() ([]byte, []int) {
  910. return file_messaging_proto_rawDescGZIP(), []int{3, 0}
  911. }
  912. func (x *PublishRequest_InitMessage) GetNamespace() string {
  913. if x != nil {
  914. return x.Namespace
  915. }
  916. return ""
  917. }
  918. func (x *PublishRequest_InitMessage) GetTopic() string {
  919. if x != nil {
  920. return x.Topic
  921. }
  922. return ""
  923. }
  924. func (x *PublishRequest_InitMessage) GetPartition() int32 {
  925. if x != nil {
  926. return x.Partition
  927. }
  928. return 0
  929. }
  930. type PublishResponse_ConfigMessage struct {
  931. state protoimpl.MessageState
  932. sizeCache protoimpl.SizeCache
  933. unknownFields protoimpl.UnknownFields
  934. PartitionCount int32 `protobuf:"varint,1,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"`
  935. }
  936. func (x *PublishResponse_ConfigMessage) Reset() {
  937. *x = PublishResponse_ConfigMessage{}
  938. if protoimpl.UnsafeEnabled {
  939. mi := &file_messaging_proto_msgTypes[18]
  940. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  941. ms.StoreMessageInfo(mi)
  942. }
  943. }
  944. func (x *PublishResponse_ConfigMessage) String() string {
  945. return protoimpl.X.MessageStringOf(x)
  946. }
  947. func (*PublishResponse_ConfigMessage) ProtoMessage() {}
  948. func (x *PublishResponse_ConfigMessage) ProtoReflect() protoreflect.Message {
  949. mi := &file_messaging_proto_msgTypes[18]
  950. if protoimpl.UnsafeEnabled && x != nil {
  951. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  952. if ms.LoadMessageInfo() == nil {
  953. ms.StoreMessageInfo(mi)
  954. }
  955. return ms
  956. }
  957. return mi.MessageOf(x)
  958. }
  959. // Deprecated: Use PublishResponse_ConfigMessage.ProtoReflect.Descriptor instead.
  960. func (*PublishResponse_ConfigMessage) Descriptor() ([]byte, []int) {
  961. return file_messaging_proto_rawDescGZIP(), []int{4, 0}
  962. }
  963. func (x *PublishResponse_ConfigMessage) GetPartitionCount() int32 {
  964. if x != nil {
  965. return x.PartitionCount
  966. }
  967. return 0
  968. }
  969. type PublishResponse_RedirectMessage struct {
  970. state protoimpl.MessageState
  971. sizeCache protoimpl.SizeCache
  972. unknownFields protoimpl.UnknownFields
  973. NewBroker string `protobuf:"bytes,1,opt,name=new_broker,json=newBroker,proto3" json:"new_broker,omitempty"`
  974. }
  975. func (x *PublishResponse_RedirectMessage) Reset() {
  976. *x = PublishResponse_RedirectMessage{}
  977. if protoimpl.UnsafeEnabled {
  978. mi := &file_messaging_proto_msgTypes[19]
  979. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  980. ms.StoreMessageInfo(mi)
  981. }
  982. }
  983. func (x *PublishResponse_RedirectMessage) String() string {
  984. return protoimpl.X.MessageStringOf(x)
  985. }
  986. func (*PublishResponse_RedirectMessage) ProtoMessage() {}
  987. func (x *PublishResponse_RedirectMessage) ProtoReflect() protoreflect.Message {
  988. mi := &file_messaging_proto_msgTypes[19]
  989. if protoimpl.UnsafeEnabled && x != nil {
  990. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  991. if ms.LoadMessageInfo() == nil {
  992. ms.StoreMessageInfo(mi)
  993. }
  994. return ms
  995. }
  996. return mi.MessageOf(x)
  997. }
  998. // Deprecated: Use PublishResponse_RedirectMessage.ProtoReflect.Descriptor instead.
  999. func (*PublishResponse_RedirectMessage) Descriptor() ([]byte, []int) {
  1000. return file_messaging_proto_rawDescGZIP(), []int{4, 1}
  1001. }
  1002. func (x *PublishResponse_RedirectMessage) GetNewBroker() string {
  1003. if x != nil {
  1004. return x.NewBroker
  1005. }
  1006. return ""
  1007. }
  1008. var File_messaging_proto protoreflect.FileDescriptor
  1009. var file_messaging_proto_rawDesc = []byte{
  1010. 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1011. 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x22,
  1012. 0x9e, 0x04, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x4d, 0x65,
  1013. 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20,
  1014. 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
  1015. 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73,
  1016. 0x73, 0x61, 0x67, 0x65, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1017. 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x3c, 0x0a, 0x03, 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20,
  1018. 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
  1019. 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73,
  1020. 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x63, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  1021. 0x03, 0x61, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65,
  1022. 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x1a,
  1023. 0xc1, 0x02, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
  1024. 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
  1025. 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a,
  1026. 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f,
  1027. 0x70, 0x69, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  1028. 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  1029. 0x6e, 0x12, 0x5f, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69,
  1030. 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1031. 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
  1032. 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65,
  1033. 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74,
  1034. 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69,
  1035. 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4e,
  1036. 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
  1037. 0x6d, 0x70, 0x4e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
  1038. 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62,
  1039. 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x49, 0x64, 0x22, 0x38, 0x0a, 0x0d, 0x53, 0x74, 0x61,
  1040. 0x72, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x41,
  1041. 0x54, 0x45, 0x53, 0x54, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x41, 0x52, 0x4c, 0x49, 0x45,
  1042. 0x53, 0x54, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d,
  1043. 0x50, 0x10, 0x02, 0x1a, 0x2b, 0x0a, 0x0a, 0x41, 0x63, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1044. 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18,
  1045. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64,
  1046. 0x22, 0xee, 0x01, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x0d,
  1047. 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x01, 0x20,
  1048. 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x01, 0x52, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69,
  1049. 0x6d, 0x65, 0x4e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
  1050. 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  1051. 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x07,
  1052. 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e,
  1053. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73,
  1054. 0x73, 0x61, 0x67, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72,
  1055. 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73,
  1056. 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73,
  1057. 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
  1058. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  1059. 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1060. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
  1061. 0x01, 0x22, 0x3a, 0x0a, 0x0d, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1062. 0x67, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  1063. 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
  1064. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xda, 0x01,
  1065. 0x0a, 0x0e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1066. 0x12, 0x3c, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28,
  1067. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75,
  1068. 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x69,
  1069. 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x29,
  1070. 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d,
  1071. 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73,
  1072. 0x61, 0x67, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x5f, 0x0a, 0x0b, 0x49, 0x6e, 0x69,
  1073. 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65,
  1074. 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d,
  1075. 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18,
  1076. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1c, 0x0a, 0x09,
  1077. 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
  1078. 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xaa, 0x02, 0x0a, 0x0f, 0x50,
  1079. 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43,
  1080. 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b,
  1081. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75,
  1082. 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f,
  1083. 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x06, 0x63, 0x6f, 0x6e,
  1084. 0x66, 0x69, 0x67, 0x12, 0x49, 0x0a, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18,
  1085. 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e,
  1086. 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70,
  1087. 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73,
  1088. 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x1b,
  1089. 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
  1090. 0x08, 0x52, 0x08, 0x69, 0x73, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x1a, 0x38, 0x0a, 0x0d, 0x43,
  1091. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x27, 0x0a, 0x0f,
  1092. 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  1093. 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  1094. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x30, 0x0a, 0x0f, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63,
  1095. 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x77, 0x5f,
  1096. 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x65,
  1097. 0x77, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x22, 0x48, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74,
  1098. 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a,
  1099. 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1100. 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74,
  1101. 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69,
  1102. 0x63, 0x22, 0x15, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63,
  1103. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x93, 0x01, 0x0a, 0x15, 0x43, 0x6f, 0x6e,
  1104. 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65,
  1105. 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18,
  1106. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
  1107. 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1108. 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x46, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  1109. 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
  1110. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70,
  1111. 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
  1112. 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x18,
  1113. 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63,
  1114. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x54,
  1115. 0x6f, 0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1116. 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65,
  1117. 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d,
  1118. 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18,
  1119. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x22, 0x67, 0x0a, 0x1d,
  1120. 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
  1121. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a,
  1122. 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
  1123. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  1124. 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
  1125. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
  1126. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x63, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f,
  1127. 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61,
  1128. 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e,
  1129. 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69,
  1130. 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1a,
  1131. 0x0a, 0x08, 0x70, 0x61, 0x72, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
  1132. 0x52, 0x08, 0x70, 0x61, 0x72, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x0a, 0x12, 0x46, 0x69,
  1133. 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1134. 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1135. 0x52, 0x06, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x22, 0xb4, 0x02, 0x0a, 0x12, 0x54, 0x6f, 0x70,
  1136. 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  1137. 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75,
  1138. 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
  1139. 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c,
  1140. 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f,
  1141. 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c,
  1142. 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72,
  1143. 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73,
  1144. 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08,
  1145. 0x52, 0x0b, 0x69, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x4f, 0x0a,
  1146. 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01,
  1147. 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  1148. 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
  1149. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e,
  1150. 0x67, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x22, 0x3f,
  1151. 0x0a, 0x0c, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x12,
  1152. 0x0a, 0x0e, 0x4e, 0x6f, 0x6e, 0x4e, 0x75, 0x6c, 0x6c, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68,
  1153. 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, 0x10, 0x01, 0x12,
  1154. 0x0e, 0x0a, 0x0a, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x6f, 0x62, 0x69, 0x6e, 0x10, 0x02, 0x32,
  1155. 0xad, 0x04, 0x0a, 0x10, 0x53, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1156. 0x67, 0x69, 0x6e, 0x67, 0x12, 0x4f, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
  1157. 0x65, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62,
  1158. 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1159. 0x67, 0x65, 0x1a, 0x1b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  1160. 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22,
  1161. 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4c, 0x0a, 0x07, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
  1162. 0x12, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
  1163. 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d,
  1164. 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75,
  1165. 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28,
  1166. 0x01, 0x30, 0x01, 0x12, 0x54, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x70,
  1167. 0x69, 0x63, 0x12, 0x20, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  1168. 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71,
  1169. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
  1170. 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52,
  1171. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0e, 0x43, 0x6f, 0x6e,
  1172. 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x23, 0x2e, 0x6d, 0x65,
  1173. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  1174. 0x67, 0x75, 0x72, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1175. 0x1a, 0x24, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
  1176. 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65,
  1177. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54,
  1178. 0x6f, 0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1179. 0x6e, 0x12, 0x2a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62,
  1180. 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
  1181. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e,
  1182. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74,
  1183. 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
  1184. 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0a,
  1185. 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73,
  1186. 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72,
  1187. 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x65,
  1188. 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42,
  1189. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42,
  1190. 0x57, 0x0a, 0x10, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x63, 0x6c, 0x69,
  1191. 0x65, 0x6e, 0x74, 0x42, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x50, 0x72,
  1192. 0x6f, 0x74, 0x6f, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  1193. 0x63, 0x68, 0x72, 0x69, 0x73, 0x6c, 0x75, 0x73, 0x66, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65,
  1194. 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62, 0x2f, 0x6d, 0x65, 0x73, 0x73,
  1195. 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1196. }
  1197. var (
  1198. file_messaging_proto_rawDescOnce sync.Once
  1199. file_messaging_proto_rawDescData = file_messaging_proto_rawDesc
  1200. )
  1201. func file_messaging_proto_rawDescGZIP() []byte {
  1202. file_messaging_proto_rawDescOnce.Do(func() {
  1203. file_messaging_proto_rawDescData = protoimpl.X.CompressGZIP(file_messaging_proto_rawDescData)
  1204. })
  1205. return file_messaging_proto_rawDescData
  1206. }
  1207. var file_messaging_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  1208. var file_messaging_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
  1209. var file_messaging_proto_goTypes = []interface{}{
  1210. (SubscriberMessage_InitMessage_StartPosition)(0), // 0: messaging_pb.SubscriberMessage.InitMessage.StartPosition
  1211. (TopicConfiguration_Partitioning)(0), // 1: messaging_pb.TopicConfiguration.Partitioning
  1212. (*SubscriberMessage)(nil), // 2: messaging_pb.SubscriberMessage
  1213. (*Message)(nil), // 3: messaging_pb.Message
  1214. (*BrokerMessage)(nil), // 4: messaging_pb.BrokerMessage
  1215. (*PublishRequest)(nil), // 5: messaging_pb.PublishRequest
  1216. (*PublishResponse)(nil), // 6: messaging_pb.PublishResponse
  1217. (*DeleteTopicRequest)(nil), // 7: messaging_pb.DeleteTopicRequest
  1218. (*DeleteTopicResponse)(nil), // 8: messaging_pb.DeleteTopicResponse
  1219. (*ConfigureTopicRequest)(nil), // 9: messaging_pb.ConfigureTopicRequest
  1220. (*ConfigureTopicResponse)(nil), // 10: messaging_pb.ConfigureTopicResponse
  1221. (*GetTopicConfigurationRequest)(nil), // 11: messaging_pb.GetTopicConfigurationRequest
  1222. (*GetTopicConfigurationResponse)(nil), // 12: messaging_pb.GetTopicConfigurationResponse
  1223. (*FindBrokerRequest)(nil), // 13: messaging_pb.FindBrokerRequest
  1224. (*FindBrokerResponse)(nil), // 14: messaging_pb.FindBrokerResponse
  1225. (*TopicConfiguration)(nil), // 15: messaging_pb.TopicConfiguration
  1226. (*SubscriberMessage_InitMessage)(nil), // 16: messaging_pb.SubscriberMessage.InitMessage
  1227. (*SubscriberMessage_AckMessage)(nil), // 17: messaging_pb.SubscriberMessage.AckMessage
  1228. nil, // 18: messaging_pb.Message.HeadersEntry
  1229. (*PublishRequest_InitMessage)(nil), // 19: messaging_pb.PublishRequest.InitMessage
  1230. (*PublishResponse_ConfigMessage)(nil), // 20: messaging_pb.PublishResponse.ConfigMessage
  1231. (*PublishResponse_RedirectMessage)(nil), // 21: messaging_pb.PublishResponse.RedirectMessage
  1232. }
  1233. var file_messaging_proto_depIdxs = []int32{
  1234. 16, // 0: messaging_pb.SubscriberMessage.init:type_name -> messaging_pb.SubscriberMessage.InitMessage
  1235. 17, // 1: messaging_pb.SubscriberMessage.ack:type_name -> messaging_pb.SubscriberMessage.AckMessage
  1236. 18, // 2: messaging_pb.Message.headers:type_name -> messaging_pb.Message.HeadersEntry
  1237. 3, // 3: messaging_pb.BrokerMessage.data:type_name -> messaging_pb.Message
  1238. 19, // 4: messaging_pb.PublishRequest.init:type_name -> messaging_pb.PublishRequest.InitMessage
  1239. 3, // 5: messaging_pb.PublishRequest.data:type_name -> messaging_pb.Message
  1240. 20, // 6: messaging_pb.PublishResponse.config:type_name -> messaging_pb.PublishResponse.ConfigMessage
  1241. 21, // 7: messaging_pb.PublishResponse.redirect:type_name -> messaging_pb.PublishResponse.RedirectMessage
  1242. 15, // 8: messaging_pb.ConfigureTopicRequest.configuration:type_name -> messaging_pb.TopicConfiguration
  1243. 15, // 9: messaging_pb.GetTopicConfigurationResponse.configuration:type_name -> messaging_pb.TopicConfiguration
  1244. 1, // 10: messaging_pb.TopicConfiguration.partitoning:type_name -> messaging_pb.TopicConfiguration.Partitioning
  1245. 0, // 11: messaging_pb.SubscriberMessage.InitMessage.startPosition:type_name -> messaging_pb.SubscriberMessage.InitMessage.StartPosition
  1246. 2, // 12: messaging_pb.SeaweedMessaging.Subscribe:input_type -> messaging_pb.SubscriberMessage
  1247. 5, // 13: messaging_pb.SeaweedMessaging.Publish:input_type -> messaging_pb.PublishRequest
  1248. 7, // 14: messaging_pb.SeaweedMessaging.DeleteTopic:input_type -> messaging_pb.DeleteTopicRequest
  1249. 9, // 15: messaging_pb.SeaweedMessaging.ConfigureTopic:input_type -> messaging_pb.ConfigureTopicRequest
  1250. 11, // 16: messaging_pb.SeaweedMessaging.GetTopicConfiguration:input_type -> messaging_pb.GetTopicConfigurationRequest
  1251. 13, // 17: messaging_pb.SeaweedMessaging.FindBroker:input_type -> messaging_pb.FindBrokerRequest
  1252. 4, // 18: messaging_pb.SeaweedMessaging.Subscribe:output_type -> messaging_pb.BrokerMessage
  1253. 6, // 19: messaging_pb.SeaweedMessaging.Publish:output_type -> messaging_pb.PublishResponse
  1254. 8, // 20: messaging_pb.SeaweedMessaging.DeleteTopic:output_type -> messaging_pb.DeleteTopicResponse
  1255. 10, // 21: messaging_pb.SeaweedMessaging.ConfigureTopic:output_type -> messaging_pb.ConfigureTopicResponse
  1256. 12, // 22: messaging_pb.SeaweedMessaging.GetTopicConfiguration:output_type -> messaging_pb.GetTopicConfigurationResponse
  1257. 14, // 23: messaging_pb.SeaweedMessaging.FindBroker:output_type -> messaging_pb.FindBrokerResponse
  1258. 18, // [18:24] is the sub-list for method output_type
  1259. 12, // [12:18] is the sub-list for method input_type
  1260. 12, // [12:12] is the sub-list for extension type_name
  1261. 12, // [12:12] is the sub-list for extension extendee
  1262. 0, // [0:12] is the sub-list for field type_name
  1263. }
  1264. func init() { file_messaging_proto_init() }
  1265. func file_messaging_proto_init() {
  1266. if File_messaging_proto != nil {
  1267. return
  1268. }
  1269. if !protoimpl.UnsafeEnabled {
  1270. file_messaging_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1271. switch v := v.(*SubscriberMessage); i {
  1272. case 0:
  1273. return &v.state
  1274. case 1:
  1275. return &v.sizeCache
  1276. case 2:
  1277. return &v.unknownFields
  1278. default:
  1279. return nil
  1280. }
  1281. }
  1282. file_messaging_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1283. switch v := v.(*Message); i {
  1284. case 0:
  1285. return &v.state
  1286. case 1:
  1287. return &v.sizeCache
  1288. case 2:
  1289. return &v.unknownFields
  1290. default:
  1291. return nil
  1292. }
  1293. }
  1294. file_messaging_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1295. switch v := v.(*BrokerMessage); i {
  1296. case 0:
  1297. return &v.state
  1298. case 1:
  1299. return &v.sizeCache
  1300. case 2:
  1301. return &v.unknownFields
  1302. default:
  1303. return nil
  1304. }
  1305. }
  1306. file_messaging_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1307. switch v := v.(*PublishRequest); i {
  1308. case 0:
  1309. return &v.state
  1310. case 1:
  1311. return &v.sizeCache
  1312. case 2:
  1313. return &v.unknownFields
  1314. default:
  1315. return nil
  1316. }
  1317. }
  1318. file_messaging_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1319. switch v := v.(*PublishResponse); i {
  1320. case 0:
  1321. return &v.state
  1322. case 1:
  1323. return &v.sizeCache
  1324. case 2:
  1325. return &v.unknownFields
  1326. default:
  1327. return nil
  1328. }
  1329. }
  1330. file_messaging_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1331. switch v := v.(*DeleteTopicRequest); i {
  1332. case 0:
  1333. return &v.state
  1334. case 1:
  1335. return &v.sizeCache
  1336. case 2:
  1337. return &v.unknownFields
  1338. default:
  1339. return nil
  1340. }
  1341. }
  1342. file_messaging_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1343. switch v := v.(*DeleteTopicResponse); i {
  1344. case 0:
  1345. return &v.state
  1346. case 1:
  1347. return &v.sizeCache
  1348. case 2:
  1349. return &v.unknownFields
  1350. default:
  1351. return nil
  1352. }
  1353. }
  1354. file_messaging_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1355. switch v := v.(*ConfigureTopicRequest); i {
  1356. case 0:
  1357. return &v.state
  1358. case 1:
  1359. return &v.sizeCache
  1360. case 2:
  1361. return &v.unknownFields
  1362. default:
  1363. return nil
  1364. }
  1365. }
  1366. file_messaging_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1367. switch v := v.(*ConfigureTopicResponse); i {
  1368. case 0:
  1369. return &v.state
  1370. case 1:
  1371. return &v.sizeCache
  1372. case 2:
  1373. return &v.unknownFields
  1374. default:
  1375. return nil
  1376. }
  1377. }
  1378. file_messaging_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1379. switch v := v.(*GetTopicConfigurationRequest); i {
  1380. case 0:
  1381. return &v.state
  1382. case 1:
  1383. return &v.sizeCache
  1384. case 2:
  1385. return &v.unknownFields
  1386. default:
  1387. return nil
  1388. }
  1389. }
  1390. file_messaging_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1391. switch v := v.(*GetTopicConfigurationResponse); i {
  1392. case 0:
  1393. return &v.state
  1394. case 1:
  1395. return &v.sizeCache
  1396. case 2:
  1397. return &v.unknownFields
  1398. default:
  1399. return nil
  1400. }
  1401. }
  1402. file_messaging_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1403. switch v := v.(*FindBrokerRequest); i {
  1404. case 0:
  1405. return &v.state
  1406. case 1:
  1407. return &v.sizeCache
  1408. case 2:
  1409. return &v.unknownFields
  1410. default:
  1411. return nil
  1412. }
  1413. }
  1414. file_messaging_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1415. switch v := v.(*FindBrokerResponse); i {
  1416. case 0:
  1417. return &v.state
  1418. case 1:
  1419. return &v.sizeCache
  1420. case 2:
  1421. return &v.unknownFields
  1422. default:
  1423. return nil
  1424. }
  1425. }
  1426. file_messaging_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1427. switch v := v.(*TopicConfiguration); i {
  1428. case 0:
  1429. return &v.state
  1430. case 1:
  1431. return &v.sizeCache
  1432. case 2:
  1433. return &v.unknownFields
  1434. default:
  1435. return nil
  1436. }
  1437. }
  1438. file_messaging_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1439. switch v := v.(*SubscriberMessage_InitMessage); i {
  1440. case 0:
  1441. return &v.state
  1442. case 1:
  1443. return &v.sizeCache
  1444. case 2:
  1445. return &v.unknownFields
  1446. default:
  1447. return nil
  1448. }
  1449. }
  1450. file_messaging_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1451. switch v := v.(*SubscriberMessage_AckMessage); i {
  1452. case 0:
  1453. return &v.state
  1454. case 1:
  1455. return &v.sizeCache
  1456. case 2:
  1457. return &v.unknownFields
  1458. default:
  1459. return nil
  1460. }
  1461. }
  1462. file_messaging_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1463. switch v := v.(*PublishRequest_InitMessage); i {
  1464. case 0:
  1465. return &v.state
  1466. case 1:
  1467. return &v.sizeCache
  1468. case 2:
  1469. return &v.unknownFields
  1470. default:
  1471. return nil
  1472. }
  1473. }
  1474. file_messaging_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  1475. switch v := v.(*PublishResponse_ConfigMessage); i {
  1476. case 0:
  1477. return &v.state
  1478. case 1:
  1479. return &v.sizeCache
  1480. case 2:
  1481. return &v.unknownFields
  1482. default:
  1483. return nil
  1484. }
  1485. }
  1486. file_messaging_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  1487. switch v := v.(*PublishResponse_RedirectMessage); i {
  1488. case 0:
  1489. return &v.state
  1490. case 1:
  1491. return &v.sizeCache
  1492. case 2:
  1493. return &v.unknownFields
  1494. default:
  1495. return nil
  1496. }
  1497. }
  1498. }
  1499. type x struct{}
  1500. out := protoimpl.TypeBuilder{
  1501. File: protoimpl.DescBuilder{
  1502. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1503. RawDescriptor: file_messaging_proto_rawDesc,
  1504. NumEnums: 2,
  1505. NumMessages: 20,
  1506. NumExtensions: 0,
  1507. NumServices: 1,
  1508. },
  1509. GoTypes: file_messaging_proto_goTypes,
  1510. DependencyIndexes: file_messaging_proto_depIdxs,
  1511. EnumInfos: file_messaging_proto_enumTypes,
  1512. MessageInfos: file_messaging_proto_msgTypes,
  1513. }.Build()
  1514. File_messaging_proto = out.File
  1515. file_messaging_proto_rawDesc = nil
  1516. file_messaging_proto_goTypes = nil
  1517. file_messaging_proto_depIdxs = nil
  1518. }