mq_schema.pb.go 39 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.34.2
  4. // protoc v5.28.3
  5. // source: mq_schema.proto
  6. package schema_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 PartitionOffsetStartType int32
  20. const (
  21. PartitionOffsetStartType_EARLIEST PartitionOffsetStartType = 0
  22. PartitionOffsetStartType_EARLIEST_IN_MEMORY PartitionOffsetStartType = 1
  23. PartitionOffsetStartType_LATEST PartitionOffsetStartType = 2
  24. )
  25. // Enum value maps for PartitionOffsetStartType.
  26. var (
  27. PartitionOffsetStartType_name = map[int32]string{
  28. 0: "EARLIEST",
  29. 1: "EARLIEST_IN_MEMORY",
  30. 2: "LATEST",
  31. }
  32. PartitionOffsetStartType_value = map[string]int32{
  33. "EARLIEST": 0,
  34. "EARLIEST_IN_MEMORY": 1,
  35. "LATEST": 2,
  36. }
  37. )
  38. func (x PartitionOffsetStartType) Enum() *PartitionOffsetStartType {
  39. p := new(PartitionOffsetStartType)
  40. *p = x
  41. return p
  42. }
  43. func (x PartitionOffsetStartType) String() string {
  44. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  45. }
  46. func (PartitionOffsetStartType) Descriptor() protoreflect.EnumDescriptor {
  47. return file_mq_schema_proto_enumTypes[0].Descriptor()
  48. }
  49. func (PartitionOffsetStartType) Type() protoreflect.EnumType {
  50. return &file_mq_schema_proto_enumTypes[0]
  51. }
  52. func (x PartitionOffsetStartType) Number() protoreflect.EnumNumber {
  53. return protoreflect.EnumNumber(x)
  54. }
  55. // Deprecated: Use PartitionOffsetStartType.Descriptor instead.
  56. func (PartitionOffsetStartType) EnumDescriptor() ([]byte, []int) {
  57. return file_mq_schema_proto_rawDescGZIP(), []int{0}
  58. }
  59. type ScalarType int32
  60. const (
  61. ScalarType_BOOL ScalarType = 0
  62. ScalarType_INT32 ScalarType = 1
  63. ScalarType_INT64 ScalarType = 3
  64. ScalarType_FLOAT ScalarType = 4
  65. ScalarType_DOUBLE ScalarType = 5
  66. ScalarType_BYTES ScalarType = 6
  67. ScalarType_STRING ScalarType = 7
  68. )
  69. // Enum value maps for ScalarType.
  70. var (
  71. ScalarType_name = map[int32]string{
  72. 0: "BOOL",
  73. 1: "INT32",
  74. 3: "INT64",
  75. 4: "FLOAT",
  76. 5: "DOUBLE",
  77. 6: "BYTES",
  78. 7: "STRING",
  79. }
  80. ScalarType_value = map[string]int32{
  81. "BOOL": 0,
  82. "INT32": 1,
  83. "INT64": 3,
  84. "FLOAT": 4,
  85. "DOUBLE": 5,
  86. "BYTES": 6,
  87. "STRING": 7,
  88. }
  89. )
  90. func (x ScalarType) Enum() *ScalarType {
  91. p := new(ScalarType)
  92. *p = x
  93. return p
  94. }
  95. func (x ScalarType) String() string {
  96. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  97. }
  98. func (ScalarType) Descriptor() protoreflect.EnumDescriptor {
  99. return file_mq_schema_proto_enumTypes[1].Descriptor()
  100. }
  101. func (ScalarType) Type() protoreflect.EnumType {
  102. return &file_mq_schema_proto_enumTypes[1]
  103. }
  104. func (x ScalarType) Number() protoreflect.EnumNumber {
  105. return protoreflect.EnumNumber(x)
  106. }
  107. // Deprecated: Use ScalarType.Descriptor instead.
  108. func (ScalarType) EnumDescriptor() ([]byte, []int) {
  109. return file_mq_schema_proto_rawDescGZIP(), []int{1}
  110. }
  111. type Topic struct {
  112. state protoimpl.MessageState
  113. sizeCache protoimpl.SizeCache
  114. unknownFields protoimpl.UnknownFields
  115. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
  116. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  117. }
  118. func (x *Topic) Reset() {
  119. *x = Topic{}
  120. if protoimpl.UnsafeEnabled {
  121. mi := &file_mq_schema_proto_msgTypes[0]
  122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  123. ms.StoreMessageInfo(mi)
  124. }
  125. }
  126. func (x *Topic) String() string {
  127. return protoimpl.X.MessageStringOf(x)
  128. }
  129. func (*Topic) ProtoMessage() {}
  130. func (x *Topic) ProtoReflect() protoreflect.Message {
  131. mi := &file_mq_schema_proto_msgTypes[0]
  132. if protoimpl.UnsafeEnabled && x != nil {
  133. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  134. if ms.LoadMessageInfo() == nil {
  135. ms.StoreMessageInfo(mi)
  136. }
  137. return ms
  138. }
  139. return mi.MessageOf(x)
  140. }
  141. // Deprecated: Use Topic.ProtoReflect.Descriptor instead.
  142. func (*Topic) Descriptor() ([]byte, []int) {
  143. return file_mq_schema_proto_rawDescGZIP(), []int{0}
  144. }
  145. func (x *Topic) GetNamespace() string {
  146. if x != nil {
  147. return x.Namespace
  148. }
  149. return ""
  150. }
  151. func (x *Topic) GetName() string {
  152. if x != nil {
  153. return x.Name
  154. }
  155. return ""
  156. }
  157. type Partition struct {
  158. state protoimpl.MessageState
  159. sizeCache protoimpl.SizeCache
  160. unknownFields protoimpl.UnknownFields
  161. RingSize int32 `protobuf:"varint,1,opt,name=ring_size,json=ringSize,proto3" json:"ring_size,omitempty"`
  162. RangeStart int32 `protobuf:"varint,2,opt,name=range_start,json=rangeStart,proto3" json:"range_start,omitempty"`
  163. RangeStop int32 `protobuf:"varint,3,opt,name=range_stop,json=rangeStop,proto3" json:"range_stop,omitempty"`
  164. UnixTimeNs int64 `protobuf:"varint,4,opt,name=unix_time_ns,json=unixTimeNs,proto3" json:"unix_time_ns,omitempty"`
  165. }
  166. func (x *Partition) Reset() {
  167. *x = Partition{}
  168. if protoimpl.UnsafeEnabled {
  169. mi := &file_mq_schema_proto_msgTypes[1]
  170. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  171. ms.StoreMessageInfo(mi)
  172. }
  173. }
  174. func (x *Partition) String() string {
  175. return protoimpl.X.MessageStringOf(x)
  176. }
  177. func (*Partition) ProtoMessage() {}
  178. func (x *Partition) ProtoReflect() protoreflect.Message {
  179. mi := &file_mq_schema_proto_msgTypes[1]
  180. if protoimpl.UnsafeEnabled && x != nil {
  181. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  182. if ms.LoadMessageInfo() == nil {
  183. ms.StoreMessageInfo(mi)
  184. }
  185. return ms
  186. }
  187. return mi.MessageOf(x)
  188. }
  189. // Deprecated: Use Partition.ProtoReflect.Descriptor instead.
  190. func (*Partition) Descriptor() ([]byte, []int) {
  191. return file_mq_schema_proto_rawDescGZIP(), []int{1}
  192. }
  193. func (x *Partition) GetRingSize() int32 {
  194. if x != nil {
  195. return x.RingSize
  196. }
  197. return 0
  198. }
  199. func (x *Partition) GetRangeStart() int32 {
  200. if x != nil {
  201. return x.RangeStart
  202. }
  203. return 0
  204. }
  205. func (x *Partition) GetRangeStop() int32 {
  206. if x != nil {
  207. return x.RangeStop
  208. }
  209. return 0
  210. }
  211. func (x *Partition) GetUnixTimeNs() int64 {
  212. if x != nil {
  213. return x.UnixTimeNs
  214. }
  215. return 0
  216. }
  217. type Offset struct {
  218. state protoimpl.MessageState
  219. sizeCache protoimpl.SizeCache
  220. unknownFields protoimpl.UnknownFields
  221. Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  222. PartitionOffsets []*PartitionOffset `protobuf:"bytes,2,rep,name=partition_offsets,json=partitionOffsets,proto3" json:"partition_offsets,omitempty"`
  223. }
  224. func (x *Offset) Reset() {
  225. *x = Offset{}
  226. if protoimpl.UnsafeEnabled {
  227. mi := &file_mq_schema_proto_msgTypes[2]
  228. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  229. ms.StoreMessageInfo(mi)
  230. }
  231. }
  232. func (x *Offset) String() string {
  233. return protoimpl.X.MessageStringOf(x)
  234. }
  235. func (*Offset) ProtoMessage() {}
  236. func (x *Offset) ProtoReflect() protoreflect.Message {
  237. mi := &file_mq_schema_proto_msgTypes[2]
  238. if protoimpl.UnsafeEnabled && x != nil {
  239. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  240. if ms.LoadMessageInfo() == nil {
  241. ms.StoreMessageInfo(mi)
  242. }
  243. return ms
  244. }
  245. return mi.MessageOf(x)
  246. }
  247. // Deprecated: Use Offset.ProtoReflect.Descriptor instead.
  248. func (*Offset) Descriptor() ([]byte, []int) {
  249. return file_mq_schema_proto_rawDescGZIP(), []int{2}
  250. }
  251. func (x *Offset) GetTopic() *Topic {
  252. if x != nil {
  253. return x.Topic
  254. }
  255. return nil
  256. }
  257. func (x *Offset) GetPartitionOffsets() []*PartitionOffset {
  258. if x != nil {
  259. return x.PartitionOffsets
  260. }
  261. return nil
  262. }
  263. type PartitionOffset struct {
  264. state protoimpl.MessageState
  265. sizeCache protoimpl.SizeCache
  266. unknownFields protoimpl.UnknownFields
  267. Partition *Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
  268. StartTsNs int64 `protobuf:"varint,2,opt,name=start_ts_ns,json=startTsNs,proto3" json:"start_ts_ns,omitempty"`
  269. StopTsNs int64 `protobuf:"varint,3,opt,name=stop_ts_ns,json=stopTsNs,proto3" json:"stop_ts_ns,omitempty"`
  270. StartType PartitionOffsetStartType `protobuf:"varint,4,opt,name=start_type,json=startType,proto3,enum=schema_pb.PartitionOffsetStartType" json:"start_type,omitempty"`
  271. }
  272. func (x *PartitionOffset) Reset() {
  273. *x = PartitionOffset{}
  274. if protoimpl.UnsafeEnabled {
  275. mi := &file_mq_schema_proto_msgTypes[3]
  276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  277. ms.StoreMessageInfo(mi)
  278. }
  279. }
  280. func (x *PartitionOffset) String() string {
  281. return protoimpl.X.MessageStringOf(x)
  282. }
  283. func (*PartitionOffset) ProtoMessage() {}
  284. func (x *PartitionOffset) ProtoReflect() protoreflect.Message {
  285. mi := &file_mq_schema_proto_msgTypes[3]
  286. if protoimpl.UnsafeEnabled && x != nil {
  287. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  288. if ms.LoadMessageInfo() == nil {
  289. ms.StoreMessageInfo(mi)
  290. }
  291. return ms
  292. }
  293. return mi.MessageOf(x)
  294. }
  295. // Deprecated: Use PartitionOffset.ProtoReflect.Descriptor instead.
  296. func (*PartitionOffset) Descriptor() ([]byte, []int) {
  297. return file_mq_schema_proto_rawDescGZIP(), []int{3}
  298. }
  299. func (x *PartitionOffset) GetPartition() *Partition {
  300. if x != nil {
  301. return x.Partition
  302. }
  303. return nil
  304. }
  305. func (x *PartitionOffset) GetStartTsNs() int64 {
  306. if x != nil {
  307. return x.StartTsNs
  308. }
  309. return 0
  310. }
  311. func (x *PartitionOffset) GetStopTsNs() int64 {
  312. if x != nil {
  313. return x.StopTsNs
  314. }
  315. return 0
  316. }
  317. func (x *PartitionOffset) GetStartType() PartitionOffsetStartType {
  318. if x != nil {
  319. return x.StartType
  320. }
  321. return PartitionOffsetStartType_EARLIEST
  322. }
  323. type RecordType struct {
  324. state protoimpl.MessageState
  325. sizeCache protoimpl.SizeCache
  326. unknownFields protoimpl.UnknownFields
  327. Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
  328. }
  329. func (x *RecordType) Reset() {
  330. *x = RecordType{}
  331. if protoimpl.UnsafeEnabled {
  332. mi := &file_mq_schema_proto_msgTypes[4]
  333. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  334. ms.StoreMessageInfo(mi)
  335. }
  336. }
  337. func (x *RecordType) String() string {
  338. return protoimpl.X.MessageStringOf(x)
  339. }
  340. func (*RecordType) ProtoMessage() {}
  341. func (x *RecordType) ProtoReflect() protoreflect.Message {
  342. mi := &file_mq_schema_proto_msgTypes[4]
  343. if protoimpl.UnsafeEnabled && x != nil {
  344. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  345. if ms.LoadMessageInfo() == nil {
  346. ms.StoreMessageInfo(mi)
  347. }
  348. return ms
  349. }
  350. return mi.MessageOf(x)
  351. }
  352. // Deprecated: Use RecordType.ProtoReflect.Descriptor instead.
  353. func (*RecordType) Descriptor() ([]byte, []int) {
  354. return file_mq_schema_proto_rawDescGZIP(), []int{4}
  355. }
  356. func (x *RecordType) GetFields() []*Field {
  357. if x != nil {
  358. return x.Fields
  359. }
  360. return nil
  361. }
  362. type Field struct {
  363. state protoimpl.MessageState
  364. sizeCache protoimpl.SizeCache
  365. unknownFields protoimpl.UnknownFields
  366. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  367. FieldIndex int32 `protobuf:"varint,2,opt,name=field_index,json=fieldIndex,proto3" json:"field_index,omitempty"`
  368. Type *Type `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
  369. IsRepeated bool `protobuf:"varint,4,opt,name=is_repeated,json=isRepeated,proto3" json:"is_repeated,omitempty"`
  370. IsRequired bool `protobuf:"varint,5,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"`
  371. }
  372. func (x *Field) Reset() {
  373. *x = Field{}
  374. if protoimpl.UnsafeEnabled {
  375. mi := &file_mq_schema_proto_msgTypes[5]
  376. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  377. ms.StoreMessageInfo(mi)
  378. }
  379. }
  380. func (x *Field) String() string {
  381. return protoimpl.X.MessageStringOf(x)
  382. }
  383. func (*Field) ProtoMessage() {}
  384. func (x *Field) ProtoReflect() protoreflect.Message {
  385. mi := &file_mq_schema_proto_msgTypes[5]
  386. if protoimpl.UnsafeEnabled && x != nil {
  387. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  388. if ms.LoadMessageInfo() == nil {
  389. ms.StoreMessageInfo(mi)
  390. }
  391. return ms
  392. }
  393. return mi.MessageOf(x)
  394. }
  395. // Deprecated: Use Field.ProtoReflect.Descriptor instead.
  396. func (*Field) Descriptor() ([]byte, []int) {
  397. return file_mq_schema_proto_rawDescGZIP(), []int{5}
  398. }
  399. func (x *Field) GetName() string {
  400. if x != nil {
  401. return x.Name
  402. }
  403. return ""
  404. }
  405. func (x *Field) GetFieldIndex() int32 {
  406. if x != nil {
  407. return x.FieldIndex
  408. }
  409. return 0
  410. }
  411. func (x *Field) GetType() *Type {
  412. if x != nil {
  413. return x.Type
  414. }
  415. return nil
  416. }
  417. func (x *Field) GetIsRepeated() bool {
  418. if x != nil {
  419. return x.IsRepeated
  420. }
  421. return false
  422. }
  423. func (x *Field) GetIsRequired() bool {
  424. if x != nil {
  425. return x.IsRequired
  426. }
  427. return false
  428. }
  429. type Type struct {
  430. state protoimpl.MessageState
  431. sizeCache protoimpl.SizeCache
  432. unknownFields protoimpl.UnknownFields
  433. // Types that are assignable to Kind:
  434. //
  435. // *Type_ScalarType
  436. // *Type_RecordType
  437. // *Type_ListType
  438. Kind isType_Kind `protobuf_oneof:"kind"`
  439. }
  440. func (x *Type) Reset() {
  441. *x = Type{}
  442. if protoimpl.UnsafeEnabled {
  443. mi := &file_mq_schema_proto_msgTypes[6]
  444. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  445. ms.StoreMessageInfo(mi)
  446. }
  447. }
  448. func (x *Type) String() string {
  449. return protoimpl.X.MessageStringOf(x)
  450. }
  451. func (*Type) ProtoMessage() {}
  452. func (x *Type) ProtoReflect() protoreflect.Message {
  453. mi := &file_mq_schema_proto_msgTypes[6]
  454. if protoimpl.UnsafeEnabled && x != nil {
  455. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  456. if ms.LoadMessageInfo() == nil {
  457. ms.StoreMessageInfo(mi)
  458. }
  459. return ms
  460. }
  461. return mi.MessageOf(x)
  462. }
  463. // Deprecated: Use Type.ProtoReflect.Descriptor instead.
  464. func (*Type) Descriptor() ([]byte, []int) {
  465. return file_mq_schema_proto_rawDescGZIP(), []int{6}
  466. }
  467. func (m *Type) GetKind() isType_Kind {
  468. if m != nil {
  469. return m.Kind
  470. }
  471. return nil
  472. }
  473. func (x *Type) GetScalarType() ScalarType {
  474. if x, ok := x.GetKind().(*Type_ScalarType); ok {
  475. return x.ScalarType
  476. }
  477. return ScalarType_BOOL
  478. }
  479. func (x *Type) GetRecordType() *RecordType {
  480. if x, ok := x.GetKind().(*Type_RecordType); ok {
  481. return x.RecordType
  482. }
  483. return nil
  484. }
  485. func (x *Type) GetListType() *ListType {
  486. if x, ok := x.GetKind().(*Type_ListType); ok {
  487. return x.ListType
  488. }
  489. return nil
  490. }
  491. type isType_Kind interface {
  492. isType_Kind()
  493. }
  494. type Type_ScalarType struct {
  495. ScalarType ScalarType `protobuf:"varint,1,opt,name=scalar_type,json=scalarType,proto3,enum=schema_pb.ScalarType,oneof"`
  496. }
  497. type Type_RecordType struct {
  498. RecordType *RecordType `protobuf:"bytes,2,opt,name=record_type,json=recordType,proto3,oneof"`
  499. }
  500. type Type_ListType struct {
  501. ListType *ListType `protobuf:"bytes,3,opt,name=list_type,json=listType,proto3,oneof"`
  502. }
  503. func (*Type_ScalarType) isType_Kind() {}
  504. func (*Type_RecordType) isType_Kind() {}
  505. func (*Type_ListType) isType_Kind() {}
  506. type ListType struct {
  507. state protoimpl.MessageState
  508. sizeCache protoimpl.SizeCache
  509. unknownFields protoimpl.UnknownFields
  510. ElementType *Type `protobuf:"bytes,1,opt,name=element_type,json=elementType,proto3" json:"element_type,omitempty"`
  511. }
  512. func (x *ListType) Reset() {
  513. *x = ListType{}
  514. if protoimpl.UnsafeEnabled {
  515. mi := &file_mq_schema_proto_msgTypes[7]
  516. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  517. ms.StoreMessageInfo(mi)
  518. }
  519. }
  520. func (x *ListType) String() string {
  521. return protoimpl.X.MessageStringOf(x)
  522. }
  523. func (*ListType) ProtoMessage() {}
  524. func (x *ListType) ProtoReflect() protoreflect.Message {
  525. mi := &file_mq_schema_proto_msgTypes[7]
  526. if protoimpl.UnsafeEnabled && x != nil {
  527. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  528. if ms.LoadMessageInfo() == nil {
  529. ms.StoreMessageInfo(mi)
  530. }
  531. return ms
  532. }
  533. return mi.MessageOf(x)
  534. }
  535. // Deprecated: Use ListType.ProtoReflect.Descriptor instead.
  536. func (*ListType) Descriptor() ([]byte, []int) {
  537. return file_mq_schema_proto_rawDescGZIP(), []int{7}
  538. }
  539. func (x *ListType) GetElementType() *Type {
  540. if x != nil {
  541. return x.ElementType
  542. }
  543. return nil
  544. }
  545. // /////////////////////////
  546. // value definition
  547. // /////////////////////////
  548. type RecordValue struct {
  549. state protoimpl.MessageState
  550. sizeCache protoimpl.SizeCache
  551. unknownFields protoimpl.UnknownFields
  552. Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  553. }
  554. func (x *RecordValue) Reset() {
  555. *x = RecordValue{}
  556. if protoimpl.UnsafeEnabled {
  557. mi := &file_mq_schema_proto_msgTypes[8]
  558. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  559. ms.StoreMessageInfo(mi)
  560. }
  561. }
  562. func (x *RecordValue) String() string {
  563. return protoimpl.X.MessageStringOf(x)
  564. }
  565. func (*RecordValue) ProtoMessage() {}
  566. func (x *RecordValue) ProtoReflect() protoreflect.Message {
  567. mi := &file_mq_schema_proto_msgTypes[8]
  568. if protoimpl.UnsafeEnabled && x != nil {
  569. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  570. if ms.LoadMessageInfo() == nil {
  571. ms.StoreMessageInfo(mi)
  572. }
  573. return ms
  574. }
  575. return mi.MessageOf(x)
  576. }
  577. // Deprecated: Use RecordValue.ProtoReflect.Descriptor instead.
  578. func (*RecordValue) Descriptor() ([]byte, []int) {
  579. return file_mq_schema_proto_rawDescGZIP(), []int{8}
  580. }
  581. func (x *RecordValue) GetFields() map[string]*Value {
  582. if x != nil {
  583. return x.Fields
  584. }
  585. return nil
  586. }
  587. type Value struct {
  588. state protoimpl.MessageState
  589. sizeCache protoimpl.SizeCache
  590. unknownFields protoimpl.UnknownFields
  591. // Types that are assignable to Kind:
  592. //
  593. // *Value_BoolValue
  594. // *Value_Int32Value
  595. // *Value_Int64Value
  596. // *Value_FloatValue
  597. // *Value_DoubleValue
  598. // *Value_BytesValue
  599. // *Value_StringValue
  600. // *Value_ListValue
  601. // *Value_RecordValue
  602. Kind isValue_Kind `protobuf_oneof:"kind"`
  603. }
  604. func (x *Value) Reset() {
  605. *x = Value{}
  606. if protoimpl.UnsafeEnabled {
  607. mi := &file_mq_schema_proto_msgTypes[9]
  608. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  609. ms.StoreMessageInfo(mi)
  610. }
  611. }
  612. func (x *Value) String() string {
  613. return protoimpl.X.MessageStringOf(x)
  614. }
  615. func (*Value) ProtoMessage() {}
  616. func (x *Value) ProtoReflect() protoreflect.Message {
  617. mi := &file_mq_schema_proto_msgTypes[9]
  618. if protoimpl.UnsafeEnabled && x != nil {
  619. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  620. if ms.LoadMessageInfo() == nil {
  621. ms.StoreMessageInfo(mi)
  622. }
  623. return ms
  624. }
  625. return mi.MessageOf(x)
  626. }
  627. // Deprecated: Use Value.ProtoReflect.Descriptor instead.
  628. func (*Value) Descriptor() ([]byte, []int) {
  629. return file_mq_schema_proto_rawDescGZIP(), []int{9}
  630. }
  631. func (m *Value) GetKind() isValue_Kind {
  632. if m != nil {
  633. return m.Kind
  634. }
  635. return nil
  636. }
  637. func (x *Value) GetBoolValue() bool {
  638. if x, ok := x.GetKind().(*Value_BoolValue); ok {
  639. return x.BoolValue
  640. }
  641. return false
  642. }
  643. func (x *Value) GetInt32Value() int32 {
  644. if x, ok := x.GetKind().(*Value_Int32Value); ok {
  645. return x.Int32Value
  646. }
  647. return 0
  648. }
  649. func (x *Value) GetInt64Value() int64 {
  650. if x, ok := x.GetKind().(*Value_Int64Value); ok {
  651. return x.Int64Value
  652. }
  653. return 0
  654. }
  655. func (x *Value) GetFloatValue() float32 {
  656. if x, ok := x.GetKind().(*Value_FloatValue); ok {
  657. return x.FloatValue
  658. }
  659. return 0
  660. }
  661. func (x *Value) GetDoubleValue() float64 {
  662. if x, ok := x.GetKind().(*Value_DoubleValue); ok {
  663. return x.DoubleValue
  664. }
  665. return 0
  666. }
  667. func (x *Value) GetBytesValue() []byte {
  668. if x, ok := x.GetKind().(*Value_BytesValue); ok {
  669. return x.BytesValue
  670. }
  671. return nil
  672. }
  673. func (x *Value) GetStringValue() string {
  674. if x, ok := x.GetKind().(*Value_StringValue); ok {
  675. return x.StringValue
  676. }
  677. return ""
  678. }
  679. func (x *Value) GetListValue() *ListValue {
  680. if x, ok := x.GetKind().(*Value_ListValue); ok {
  681. return x.ListValue
  682. }
  683. return nil
  684. }
  685. func (x *Value) GetRecordValue() *RecordValue {
  686. if x, ok := x.GetKind().(*Value_RecordValue); ok {
  687. return x.RecordValue
  688. }
  689. return nil
  690. }
  691. type isValue_Kind interface {
  692. isValue_Kind()
  693. }
  694. type Value_BoolValue struct {
  695. BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"`
  696. }
  697. type Value_Int32Value struct {
  698. Int32Value int32 `protobuf:"varint,2,opt,name=int32_value,json=int32Value,proto3,oneof"`
  699. }
  700. type Value_Int64Value struct {
  701. Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`
  702. }
  703. type Value_FloatValue struct {
  704. FloatValue float32 `protobuf:"fixed32,4,opt,name=float_value,json=floatValue,proto3,oneof"`
  705. }
  706. type Value_DoubleValue struct {
  707. DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`
  708. }
  709. type Value_BytesValue struct {
  710. BytesValue []byte `protobuf:"bytes,6,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
  711. }
  712. type Value_StringValue struct {
  713. StringValue string `protobuf:"bytes,7,opt,name=string_value,json=stringValue,proto3,oneof"`
  714. }
  715. type Value_ListValue struct {
  716. ListValue *ListValue `protobuf:"bytes,14,opt,name=list_value,json=listValue,proto3,oneof"`
  717. }
  718. type Value_RecordValue struct {
  719. RecordValue *RecordValue `protobuf:"bytes,15,opt,name=record_value,json=recordValue,proto3,oneof"`
  720. }
  721. func (*Value_BoolValue) isValue_Kind() {}
  722. func (*Value_Int32Value) isValue_Kind() {}
  723. func (*Value_Int64Value) isValue_Kind() {}
  724. func (*Value_FloatValue) isValue_Kind() {}
  725. func (*Value_DoubleValue) isValue_Kind() {}
  726. func (*Value_BytesValue) isValue_Kind() {}
  727. func (*Value_StringValue) isValue_Kind() {}
  728. func (*Value_ListValue) isValue_Kind() {}
  729. func (*Value_RecordValue) isValue_Kind() {}
  730. type ListValue struct {
  731. state protoimpl.MessageState
  732. sizeCache protoimpl.SizeCache
  733. unknownFields protoimpl.UnknownFields
  734. Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
  735. }
  736. func (x *ListValue) Reset() {
  737. *x = ListValue{}
  738. if protoimpl.UnsafeEnabled {
  739. mi := &file_mq_schema_proto_msgTypes[10]
  740. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  741. ms.StoreMessageInfo(mi)
  742. }
  743. }
  744. func (x *ListValue) String() string {
  745. return protoimpl.X.MessageStringOf(x)
  746. }
  747. func (*ListValue) ProtoMessage() {}
  748. func (x *ListValue) ProtoReflect() protoreflect.Message {
  749. mi := &file_mq_schema_proto_msgTypes[10]
  750. if protoimpl.UnsafeEnabled && x != nil {
  751. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  752. if ms.LoadMessageInfo() == nil {
  753. ms.StoreMessageInfo(mi)
  754. }
  755. return ms
  756. }
  757. return mi.MessageOf(x)
  758. }
  759. // Deprecated: Use ListValue.ProtoReflect.Descriptor instead.
  760. func (*ListValue) Descriptor() ([]byte, []int) {
  761. return file_mq_schema_proto_rawDescGZIP(), []int{10}
  762. }
  763. func (x *ListValue) GetValues() []*Value {
  764. if x != nil {
  765. return x.Values
  766. }
  767. return nil
  768. }
  769. var File_mq_schema_proto protoreflect.FileDescriptor
  770. var file_mq_schema_proto_rawDesc = []byte{
  771. 0x0a, 0x0f, 0x6d, 0x71, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  772. 0x6f, 0x12, 0x09, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x22, 0x39, 0x0a, 0x05,
  773. 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
  774. 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
  775. 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  776. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x74,
  777. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69,
  778. 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x69,
  779. 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72,
  780. 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74,
  781. 0x61, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x6f,
  782. 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74,
  783. 0x6f, 0x70, 0x12, 0x20, 0x0a, 0x0c, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f,
  784. 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x6e, 0x69, 0x78, 0x54, 0x69,
  785. 0x6d, 0x65, 0x4e, 0x73, 0x22, 0x79, 0x0a, 0x06, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x26,
  786. 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
  787. 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52,
  788. 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x47, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
  789. 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
  790. 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61,
  791. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x52, 0x10, 0x70,
  792. 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x22,
  793. 0xc7, 0x01, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66,
  794. 0x73, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  795. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,
  796. 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61,
  797. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74,
  798. 0x5f, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74,
  799. 0x61, 0x72, 0x74, 0x54, 0x73, 0x4e, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x5f,
  800. 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x6f,
  801. 0x70, 0x54, 0x73, 0x4e, 0x73, 0x12, 0x42, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,
  802. 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x63, 0x68, 0x65,
  803. 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f,
  804. 0x66, 0x66, 0x73, 0x65, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09,
  805. 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x36, 0x0a, 0x0a, 0x52, 0x65, 0x63,
  806. 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64,
  807. 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
  808. 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64,
  809. 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e,
  810. 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
  811. 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02,
  812. 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78,
  813. 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f,
  814. 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52,
  815. 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x65,
  816. 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65,
  817. 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x71,
  818. 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52,
  819. 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0xb6, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65,
  820. 0x12, 0x38, 0x0a, 0x0b, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
  821. 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70,
  822. 0x62, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0a,
  823. 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x72, 0x65,
  824. 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  825. 0x15, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x6f,
  826. 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64,
  827. 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70,
  828. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
  829. 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x08,
  830. 0x6c, 0x69, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64,
  831. 0x22, 0x3e, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x0c,
  832. 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
  833. 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x54,
  834. 0x79, 0x70, 0x65, 0x52, 0x0b, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65,
  835. 0x22, 0x96, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65,
  836. 0x12, 0x3a, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  837. 0x32, 0x22, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63,
  838. 0x6f, 0x72, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45,
  839. 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x4b, 0x0a, 0x0b,
  840. 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  841. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a,
  842. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73,
  843. 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05,
  844. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfa, 0x02, 0x0a, 0x05, 0x56, 0x61,
  845. 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75,
  846. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56,
  847. 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x76, 0x61,
  848. 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x6e, 0x74,
  849. 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x36, 0x34,
  850. 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0a,
  851. 0x69, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x6c,
  852. 0x6f, 0x61, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x48,
  853. 0x00, 0x52, 0x0a, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a,
  854. 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20,
  855. 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c,
  856. 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75,
  857. 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73,
  858. 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f,
  859. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73,
  860. 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a, 0x0a, 0x6c, 0x69,
  861. 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
  862. 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56,
  863. 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75,
  864. 0x65, 0x12, 0x3b, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75,
  865. 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
  866. 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48,
  867. 0x00, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x06,
  868. 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x35, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61,
  869. 0x6c, 0x75, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20,
  870. 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x2e,
  871. 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2a, 0x4c, 0x0a,
  872. 0x18, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74,
  873. 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x41, 0x52,
  874. 0x4c, 0x49, 0x45, 0x53, 0x54, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x41, 0x52, 0x4c, 0x49,
  875. 0x45, 0x53, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x4d, 0x45, 0x4d, 0x4f, 0x52, 0x59, 0x10, 0x01, 0x12,
  876. 0x0a, 0x0a, 0x06, 0x4c, 0x41, 0x54, 0x45, 0x53, 0x54, 0x10, 0x02, 0x2a, 0x5a, 0x0a, 0x0a, 0x53,
  877. 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f,
  878. 0x4c, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x01, 0x12, 0x09,
  879. 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x4c, 0x4f,
  880. 0x41, 0x54, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x05,
  881. 0x12, 0x09, 0x0a, 0x05, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x53,
  882. 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x42, 0x32, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75,
  883. 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f,
  884. 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70,
  885. 0x62, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
  886. 0x74, 0x6f, 0x33,
  887. }
  888. var (
  889. file_mq_schema_proto_rawDescOnce sync.Once
  890. file_mq_schema_proto_rawDescData = file_mq_schema_proto_rawDesc
  891. )
  892. func file_mq_schema_proto_rawDescGZIP() []byte {
  893. file_mq_schema_proto_rawDescOnce.Do(func() {
  894. file_mq_schema_proto_rawDescData = protoimpl.X.CompressGZIP(file_mq_schema_proto_rawDescData)
  895. })
  896. return file_mq_schema_proto_rawDescData
  897. }
  898. var file_mq_schema_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  899. var file_mq_schema_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  900. var file_mq_schema_proto_goTypes = []any{
  901. (PartitionOffsetStartType)(0), // 0: schema_pb.PartitionOffsetStartType
  902. (ScalarType)(0), // 1: schema_pb.ScalarType
  903. (*Topic)(nil), // 2: schema_pb.Topic
  904. (*Partition)(nil), // 3: schema_pb.Partition
  905. (*Offset)(nil), // 4: schema_pb.Offset
  906. (*PartitionOffset)(nil), // 5: schema_pb.PartitionOffset
  907. (*RecordType)(nil), // 6: schema_pb.RecordType
  908. (*Field)(nil), // 7: schema_pb.Field
  909. (*Type)(nil), // 8: schema_pb.Type
  910. (*ListType)(nil), // 9: schema_pb.ListType
  911. (*RecordValue)(nil), // 10: schema_pb.RecordValue
  912. (*Value)(nil), // 11: schema_pb.Value
  913. (*ListValue)(nil), // 12: schema_pb.ListValue
  914. nil, // 13: schema_pb.RecordValue.FieldsEntry
  915. }
  916. var file_mq_schema_proto_depIdxs = []int32{
  917. 2, // 0: schema_pb.Offset.topic:type_name -> schema_pb.Topic
  918. 5, // 1: schema_pb.Offset.partition_offsets:type_name -> schema_pb.PartitionOffset
  919. 3, // 2: schema_pb.PartitionOffset.partition:type_name -> schema_pb.Partition
  920. 0, // 3: schema_pb.PartitionOffset.start_type:type_name -> schema_pb.PartitionOffsetStartType
  921. 7, // 4: schema_pb.RecordType.fields:type_name -> schema_pb.Field
  922. 8, // 5: schema_pb.Field.type:type_name -> schema_pb.Type
  923. 1, // 6: schema_pb.Type.scalar_type:type_name -> schema_pb.ScalarType
  924. 6, // 7: schema_pb.Type.record_type:type_name -> schema_pb.RecordType
  925. 9, // 8: schema_pb.Type.list_type:type_name -> schema_pb.ListType
  926. 8, // 9: schema_pb.ListType.element_type:type_name -> schema_pb.Type
  927. 13, // 10: schema_pb.RecordValue.fields:type_name -> schema_pb.RecordValue.FieldsEntry
  928. 12, // 11: schema_pb.Value.list_value:type_name -> schema_pb.ListValue
  929. 10, // 12: schema_pb.Value.record_value:type_name -> schema_pb.RecordValue
  930. 11, // 13: schema_pb.ListValue.values:type_name -> schema_pb.Value
  931. 11, // 14: schema_pb.RecordValue.FieldsEntry.value:type_name -> schema_pb.Value
  932. 15, // [15:15] is the sub-list for method output_type
  933. 15, // [15:15] is the sub-list for method input_type
  934. 15, // [15:15] is the sub-list for extension type_name
  935. 15, // [15:15] is the sub-list for extension extendee
  936. 0, // [0:15] is the sub-list for field type_name
  937. }
  938. func init() { file_mq_schema_proto_init() }
  939. func file_mq_schema_proto_init() {
  940. if File_mq_schema_proto != nil {
  941. return
  942. }
  943. if !protoimpl.UnsafeEnabled {
  944. file_mq_schema_proto_msgTypes[0].Exporter = func(v any, i int) any {
  945. switch v := v.(*Topic); i {
  946. case 0:
  947. return &v.state
  948. case 1:
  949. return &v.sizeCache
  950. case 2:
  951. return &v.unknownFields
  952. default:
  953. return nil
  954. }
  955. }
  956. file_mq_schema_proto_msgTypes[1].Exporter = func(v any, i int) any {
  957. switch v := v.(*Partition); i {
  958. case 0:
  959. return &v.state
  960. case 1:
  961. return &v.sizeCache
  962. case 2:
  963. return &v.unknownFields
  964. default:
  965. return nil
  966. }
  967. }
  968. file_mq_schema_proto_msgTypes[2].Exporter = func(v any, i int) any {
  969. switch v := v.(*Offset); i {
  970. case 0:
  971. return &v.state
  972. case 1:
  973. return &v.sizeCache
  974. case 2:
  975. return &v.unknownFields
  976. default:
  977. return nil
  978. }
  979. }
  980. file_mq_schema_proto_msgTypes[3].Exporter = func(v any, i int) any {
  981. switch v := v.(*PartitionOffset); i {
  982. case 0:
  983. return &v.state
  984. case 1:
  985. return &v.sizeCache
  986. case 2:
  987. return &v.unknownFields
  988. default:
  989. return nil
  990. }
  991. }
  992. file_mq_schema_proto_msgTypes[4].Exporter = func(v any, i int) any {
  993. switch v := v.(*RecordType); i {
  994. case 0:
  995. return &v.state
  996. case 1:
  997. return &v.sizeCache
  998. case 2:
  999. return &v.unknownFields
  1000. default:
  1001. return nil
  1002. }
  1003. }
  1004. file_mq_schema_proto_msgTypes[5].Exporter = func(v any, i int) any {
  1005. switch v := v.(*Field); i {
  1006. case 0:
  1007. return &v.state
  1008. case 1:
  1009. return &v.sizeCache
  1010. case 2:
  1011. return &v.unknownFields
  1012. default:
  1013. return nil
  1014. }
  1015. }
  1016. file_mq_schema_proto_msgTypes[6].Exporter = func(v any, i int) any {
  1017. switch v := v.(*Type); i {
  1018. case 0:
  1019. return &v.state
  1020. case 1:
  1021. return &v.sizeCache
  1022. case 2:
  1023. return &v.unknownFields
  1024. default:
  1025. return nil
  1026. }
  1027. }
  1028. file_mq_schema_proto_msgTypes[7].Exporter = func(v any, i int) any {
  1029. switch v := v.(*ListType); i {
  1030. case 0:
  1031. return &v.state
  1032. case 1:
  1033. return &v.sizeCache
  1034. case 2:
  1035. return &v.unknownFields
  1036. default:
  1037. return nil
  1038. }
  1039. }
  1040. file_mq_schema_proto_msgTypes[8].Exporter = func(v any, i int) any {
  1041. switch v := v.(*RecordValue); i {
  1042. case 0:
  1043. return &v.state
  1044. case 1:
  1045. return &v.sizeCache
  1046. case 2:
  1047. return &v.unknownFields
  1048. default:
  1049. return nil
  1050. }
  1051. }
  1052. file_mq_schema_proto_msgTypes[9].Exporter = func(v any, i int) any {
  1053. switch v := v.(*Value); i {
  1054. case 0:
  1055. return &v.state
  1056. case 1:
  1057. return &v.sizeCache
  1058. case 2:
  1059. return &v.unknownFields
  1060. default:
  1061. return nil
  1062. }
  1063. }
  1064. file_mq_schema_proto_msgTypes[10].Exporter = func(v any, i int) any {
  1065. switch v := v.(*ListValue); i {
  1066. case 0:
  1067. return &v.state
  1068. case 1:
  1069. return &v.sizeCache
  1070. case 2:
  1071. return &v.unknownFields
  1072. default:
  1073. return nil
  1074. }
  1075. }
  1076. }
  1077. file_mq_schema_proto_msgTypes[6].OneofWrappers = []any{
  1078. (*Type_ScalarType)(nil),
  1079. (*Type_RecordType)(nil),
  1080. (*Type_ListType)(nil),
  1081. }
  1082. file_mq_schema_proto_msgTypes[9].OneofWrappers = []any{
  1083. (*Value_BoolValue)(nil),
  1084. (*Value_Int32Value)(nil),
  1085. (*Value_Int64Value)(nil),
  1086. (*Value_FloatValue)(nil),
  1087. (*Value_DoubleValue)(nil),
  1088. (*Value_BytesValue)(nil),
  1089. (*Value_StringValue)(nil),
  1090. (*Value_ListValue)(nil),
  1091. (*Value_RecordValue)(nil),
  1092. }
  1093. type x struct{}
  1094. out := protoimpl.TypeBuilder{
  1095. File: protoimpl.DescBuilder{
  1096. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1097. RawDescriptor: file_mq_schema_proto_rawDesc,
  1098. NumEnums: 2,
  1099. NumMessages: 12,
  1100. NumExtensions: 0,
  1101. NumServices: 0,
  1102. },
  1103. GoTypes: file_mq_schema_proto_goTypes,
  1104. DependencyIndexes: file_mq_schema_proto_depIdxs,
  1105. EnumInfos: file_mq_schema_proto_enumTypes,
  1106. MessageInfos: file_mq_schema_proto_msgTypes,
  1107. }.Build()
  1108. File_mq_schema_proto = out.File
  1109. file_mq_schema_proto_rawDesc = nil
  1110. file_mq_schema_proto_goTypes = nil
  1111. file_mq_schema_proto_depIdxs = nil
  1112. }