You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

776 lines
18 KiB

  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: libs/common/types.proto
  3. package common
  4. import proto "github.com/gogo/protobuf/proto"
  5. import golang_proto "github.com/golang/protobuf/proto"
  6. import fmt "fmt"
  7. import math "math"
  8. import _ "github.com/gogo/protobuf/gogoproto"
  9. import bytes "bytes"
  10. import io "io"
  11. // Reference imports to suppress errors if they are not otherwise used.
  12. var _ = proto.Marshal
  13. var _ = golang_proto.Marshal
  14. var _ = fmt.Errorf
  15. var _ = math.Inf
  16. // This is a compile-time assertion to ensure that this generated file
  17. // is compatible with the proto package it is being compiled against.
  18. // A compilation error at this line likely means your copy of the
  19. // proto package needs to be updated.
  20. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  21. // Define these here for compatibility but use tmlibs/common.KVPair.
  22. type KVPair struct {
  23. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  24. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  25. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  26. XXX_unrecognized []byte `json:"-"`
  27. XXX_sizecache int32 `json:"-"`
  28. }
  29. func (m *KVPair) Reset() { *m = KVPair{} }
  30. func (m *KVPair) String() string { return proto.CompactTextString(m) }
  31. func (*KVPair) ProtoMessage() {}
  32. func (*KVPair) Descriptor() ([]byte, []int) {
  33. return fileDescriptor_types_a863d437ea36eb85, []int{0}
  34. }
  35. func (m *KVPair) XXX_Unmarshal(b []byte) error {
  36. return m.Unmarshal(b)
  37. }
  38. func (m *KVPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  39. if deterministic {
  40. return xxx_messageInfo_KVPair.Marshal(b, m, deterministic)
  41. } else {
  42. b = b[:cap(b)]
  43. n, err := m.MarshalTo(b)
  44. if err != nil {
  45. return nil, err
  46. }
  47. return b[:n], nil
  48. }
  49. }
  50. func (dst *KVPair) XXX_Merge(src proto.Message) {
  51. xxx_messageInfo_KVPair.Merge(dst, src)
  52. }
  53. func (m *KVPair) XXX_Size() int {
  54. return m.Size()
  55. }
  56. func (m *KVPair) XXX_DiscardUnknown() {
  57. xxx_messageInfo_KVPair.DiscardUnknown(m)
  58. }
  59. var xxx_messageInfo_KVPair proto.InternalMessageInfo
  60. func (m *KVPair) GetKey() []byte {
  61. if m != nil {
  62. return m.Key
  63. }
  64. return nil
  65. }
  66. func (m *KVPair) GetValue() []byte {
  67. if m != nil {
  68. return m.Value
  69. }
  70. return nil
  71. }
  72. // Define these here for compatibility but use tmlibs/common.KI64Pair.
  73. type KI64Pair struct {
  74. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  75. Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
  76. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  77. XXX_unrecognized []byte `json:"-"`
  78. XXX_sizecache int32 `json:"-"`
  79. }
  80. func (m *KI64Pair) Reset() { *m = KI64Pair{} }
  81. func (m *KI64Pair) String() string { return proto.CompactTextString(m) }
  82. func (*KI64Pair) ProtoMessage() {}
  83. func (*KI64Pair) Descriptor() ([]byte, []int) {
  84. return fileDescriptor_types_a863d437ea36eb85, []int{1}
  85. }
  86. func (m *KI64Pair) XXX_Unmarshal(b []byte) error {
  87. return m.Unmarshal(b)
  88. }
  89. func (m *KI64Pair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  90. if deterministic {
  91. return xxx_messageInfo_KI64Pair.Marshal(b, m, deterministic)
  92. } else {
  93. b = b[:cap(b)]
  94. n, err := m.MarshalTo(b)
  95. if err != nil {
  96. return nil, err
  97. }
  98. return b[:n], nil
  99. }
  100. }
  101. func (dst *KI64Pair) XXX_Merge(src proto.Message) {
  102. xxx_messageInfo_KI64Pair.Merge(dst, src)
  103. }
  104. func (m *KI64Pair) XXX_Size() int {
  105. return m.Size()
  106. }
  107. func (m *KI64Pair) XXX_DiscardUnknown() {
  108. xxx_messageInfo_KI64Pair.DiscardUnknown(m)
  109. }
  110. var xxx_messageInfo_KI64Pair proto.InternalMessageInfo
  111. func (m *KI64Pair) GetKey() []byte {
  112. if m != nil {
  113. return m.Key
  114. }
  115. return nil
  116. }
  117. func (m *KI64Pair) GetValue() int64 {
  118. if m != nil {
  119. return m.Value
  120. }
  121. return 0
  122. }
  123. func init() {
  124. proto.RegisterType((*KVPair)(nil), "common.KVPair")
  125. golang_proto.RegisterType((*KVPair)(nil), "common.KVPair")
  126. proto.RegisterType((*KI64Pair)(nil), "common.KI64Pair")
  127. golang_proto.RegisterType((*KI64Pair)(nil), "common.KI64Pair")
  128. }
  129. func (this *KVPair) Equal(that interface{}) bool {
  130. if that == nil {
  131. return this == nil
  132. }
  133. that1, ok := that.(*KVPair)
  134. if !ok {
  135. that2, ok := that.(KVPair)
  136. if ok {
  137. that1 = &that2
  138. } else {
  139. return false
  140. }
  141. }
  142. if that1 == nil {
  143. return this == nil
  144. } else if this == nil {
  145. return false
  146. }
  147. if !bytes.Equal(this.Key, that1.Key) {
  148. return false
  149. }
  150. if !bytes.Equal(this.Value, that1.Value) {
  151. return false
  152. }
  153. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  154. return false
  155. }
  156. return true
  157. }
  158. func (this *KI64Pair) Equal(that interface{}) bool {
  159. if that == nil {
  160. return this == nil
  161. }
  162. that1, ok := that.(*KI64Pair)
  163. if !ok {
  164. that2, ok := that.(KI64Pair)
  165. if ok {
  166. that1 = &that2
  167. } else {
  168. return false
  169. }
  170. }
  171. if that1 == nil {
  172. return this == nil
  173. } else if this == nil {
  174. return false
  175. }
  176. if !bytes.Equal(this.Key, that1.Key) {
  177. return false
  178. }
  179. if this.Value != that1.Value {
  180. return false
  181. }
  182. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  183. return false
  184. }
  185. return true
  186. }
  187. func (m *KVPair) Marshal() (dAtA []byte, err error) {
  188. size := m.Size()
  189. dAtA = make([]byte, size)
  190. n, err := m.MarshalTo(dAtA)
  191. if err != nil {
  192. return nil, err
  193. }
  194. return dAtA[:n], nil
  195. }
  196. func (m *KVPair) MarshalTo(dAtA []byte) (int, error) {
  197. var i int
  198. _ = i
  199. var l int
  200. _ = l
  201. if len(m.Key) > 0 {
  202. dAtA[i] = 0xa
  203. i++
  204. i = encodeVarintTypes(dAtA, i, uint64(len(m.Key)))
  205. i += copy(dAtA[i:], m.Key)
  206. }
  207. if len(m.Value) > 0 {
  208. dAtA[i] = 0x12
  209. i++
  210. i = encodeVarintTypes(dAtA, i, uint64(len(m.Value)))
  211. i += copy(dAtA[i:], m.Value)
  212. }
  213. if m.XXX_unrecognized != nil {
  214. i += copy(dAtA[i:], m.XXX_unrecognized)
  215. }
  216. return i, nil
  217. }
  218. func (m *KI64Pair) Marshal() (dAtA []byte, err error) {
  219. size := m.Size()
  220. dAtA = make([]byte, size)
  221. n, err := m.MarshalTo(dAtA)
  222. if err != nil {
  223. return nil, err
  224. }
  225. return dAtA[:n], nil
  226. }
  227. func (m *KI64Pair) MarshalTo(dAtA []byte) (int, error) {
  228. var i int
  229. _ = i
  230. var l int
  231. _ = l
  232. if len(m.Key) > 0 {
  233. dAtA[i] = 0xa
  234. i++
  235. i = encodeVarintTypes(dAtA, i, uint64(len(m.Key)))
  236. i += copy(dAtA[i:], m.Key)
  237. }
  238. if m.Value != 0 {
  239. dAtA[i] = 0x10
  240. i++
  241. i = encodeVarintTypes(dAtA, i, uint64(m.Value))
  242. }
  243. if m.XXX_unrecognized != nil {
  244. i += copy(dAtA[i:], m.XXX_unrecognized)
  245. }
  246. return i, nil
  247. }
  248. func encodeVarintTypes(dAtA []byte, offset int, v uint64) int {
  249. for v >= 1<<7 {
  250. dAtA[offset] = uint8(v&0x7f | 0x80)
  251. v >>= 7
  252. offset++
  253. }
  254. dAtA[offset] = uint8(v)
  255. return offset + 1
  256. }
  257. func NewPopulatedKVPair(r randyTypes, easy bool) *KVPair {
  258. this := &KVPair{}
  259. v1 := r.Intn(100)
  260. this.Key = make([]byte, v1)
  261. for i := 0; i < v1; i++ {
  262. this.Key[i] = byte(r.Intn(256))
  263. }
  264. v2 := r.Intn(100)
  265. this.Value = make([]byte, v2)
  266. for i := 0; i < v2; i++ {
  267. this.Value[i] = byte(r.Intn(256))
  268. }
  269. if !easy && r.Intn(10) != 0 {
  270. this.XXX_unrecognized = randUnrecognizedTypes(r, 3)
  271. }
  272. return this
  273. }
  274. func NewPopulatedKI64Pair(r randyTypes, easy bool) *KI64Pair {
  275. this := &KI64Pair{}
  276. v3 := r.Intn(100)
  277. this.Key = make([]byte, v3)
  278. for i := 0; i < v3; i++ {
  279. this.Key[i] = byte(r.Intn(256))
  280. }
  281. this.Value = int64(r.Int63())
  282. if r.Intn(2) == 0 {
  283. this.Value *= -1
  284. }
  285. if !easy && r.Intn(10) != 0 {
  286. this.XXX_unrecognized = randUnrecognizedTypes(r, 3)
  287. }
  288. return this
  289. }
  290. type randyTypes interface {
  291. Float32() float32
  292. Float64() float64
  293. Int63() int64
  294. Int31() int32
  295. Uint32() uint32
  296. Intn(n int) int
  297. }
  298. func randUTF8RuneTypes(r randyTypes) rune {
  299. ru := r.Intn(62)
  300. if ru < 10 {
  301. return rune(ru + 48)
  302. } else if ru < 36 {
  303. return rune(ru + 55)
  304. }
  305. return rune(ru + 61)
  306. }
  307. func randStringTypes(r randyTypes) string {
  308. v4 := r.Intn(100)
  309. tmps := make([]rune, v4)
  310. for i := 0; i < v4; i++ {
  311. tmps[i] = randUTF8RuneTypes(r)
  312. }
  313. return string(tmps)
  314. }
  315. func randUnrecognizedTypes(r randyTypes, maxFieldNumber int) (dAtA []byte) {
  316. l := r.Intn(5)
  317. for i := 0; i < l; i++ {
  318. wire := r.Intn(4)
  319. if wire == 3 {
  320. wire = 5
  321. }
  322. fieldNumber := maxFieldNumber + r.Intn(100)
  323. dAtA = randFieldTypes(dAtA, r, fieldNumber, wire)
  324. }
  325. return dAtA
  326. }
  327. func randFieldTypes(dAtA []byte, r randyTypes, fieldNumber int, wire int) []byte {
  328. key := uint32(fieldNumber)<<3 | uint32(wire)
  329. switch wire {
  330. case 0:
  331. dAtA = encodeVarintPopulateTypes(dAtA, uint64(key))
  332. v5 := r.Int63()
  333. if r.Intn(2) == 0 {
  334. v5 *= -1
  335. }
  336. dAtA = encodeVarintPopulateTypes(dAtA, uint64(v5))
  337. case 1:
  338. dAtA = encodeVarintPopulateTypes(dAtA, uint64(key))
  339. dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
  340. case 2:
  341. dAtA = encodeVarintPopulateTypes(dAtA, uint64(key))
  342. ll := r.Intn(100)
  343. dAtA = encodeVarintPopulateTypes(dAtA, uint64(ll))
  344. for j := 0; j < ll; j++ {
  345. dAtA = append(dAtA, byte(r.Intn(256)))
  346. }
  347. default:
  348. dAtA = encodeVarintPopulateTypes(dAtA, uint64(key))
  349. dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
  350. }
  351. return dAtA
  352. }
  353. func encodeVarintPopulateTypes(dAtA []byte, v uint64) []byte {
  354. for v >= 1<<7 {
  355. dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80))
  356. v >>= 7
  357. }
  358. dAtA = append(dAtA, uint8(v))
  359. return dAtA
  360. }
  361. func (m *KVPair) Size() (n int) {
  362. if m == nil {
  363. return 0
  364. }
  365. var l int
  366. _ = l
  367. l = len(m.Key)
  368. if l > 0 {
  369. n += 1 + l + sovTypes(uint64(l))
  370. }
  371. l = len(m.Value)
  372. if l > 0 {
  373. n += 1 + l + sovTypes(uint64(l))
  374. }
  375. if m.XXX_unrecognized != nil {
  376. n += len(m.XXX_unrecognized)
  377. }
  378. return n
  379. }
  380. func (m *KI64Pair) Size() (n int) {
  381. if m == nil {
  382. return 0
  383. }
  384. var l int
  385. _ = l
  386. l = len(m.Key)
  387. if l > 0 {
  388. n += 1 + l + sovTypes(uint64(l))
  389. }
  390. if m.Value != 0 {
  391. n += 1 + sovTypes(uint64(m.Value))
  392. }
  393. if m.XXX_unrecognized != nil {
  394. n += len(m.XXX_unrecognized)
  395. }
  396. return n
  397. }
  398. func sovTypes(x uint64) (n int) {
  399. for {
  400. n++
  401. x >>= 7
  402. if x == 0 {
  403. break
  404. }
  405. }
  406. return n
  407. }
  408. func sozTypes(x uint64) (n int) {
  409. return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  410. }
  411. func (m *KVPair) Unmarshal(dAtA []byte) error {
  412. l := len(dAtA)
  413. iNdEx := 0
  414. for iNdEx < l {
  415. preIndex := iNdEx
  416. var wire uint64
  417. for shift := uint(0); ; shift += 7 {
  418. if shift >= 64 {
  419. return ErrIntOverflowTypes
  420. }
  421. if iNdEx >= l {
  422. return io.ErrUnexpectedEOF
  423. }
  424. b := dAtA[iNdEx]
  425. iNdEx++
  426. wire |= (uint64(b) & 0x7F) << shift
  427. if b < 0x80 {
  428. break
  429. }
  430. }
  431. fieldNum := int32(wire >> 3)
  432. wireType := int(wire & 0x7)
  433. if wireType == 4 {
  434. return fmt.Errorf("proto: KVPair: wiretype end group for non-group")
  435. }
  436. if fieldNum <= 0 {
  437. return fmt.Errorf("proto: KVPair: illegal tag %d (wire type %d)", fieldNum, wire)
  438. }
  439. switch fieldNum {
  440. case 1:
  441. if wireType != 2 {
  442. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  443. }
  444. var byteLen int
  445. for shift := uint(0); ; shift += 7 {
  446. if shift >= 64 {
  447. return ErrIntOverflowTypes
  448. }
  449. if iNdEx >= l {
  450. return io.ErrUnexpectedEOF
  451. }
  452. b := dAtA[iNdEx]
  453. iNdEx++
  454. byteLen |= (int(b) & 0x7F) << shift
  455. if b < 0x80 {
  456. break
  457. }
  458. }
  459. if byteLen < 0 {
  460. return ErrInvalidLengthTypes
  461. }
  462. postIndex := iNdEx + byteLen
  463. if postIndex > l {
  464. return io.ErrUnexpectedEOF
  465. }
  466. m.Key = append(m.Key[:0], dAtA[iNdEx:postIndex]...)
  467. if m.Key == nil {
  468. m.Key = []byte{}
  469. }
  470. iNdEx = postIndex
  471. case 2:
  472. if wireType != 2 {
  473. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  474. }
  475. var byteLen int
  476. for shift := uint(0); ; shift += 7 {
  477. if shift >= 64 {
  478. return ErrIntOverflowTypes
  479. }
  480. if iNdEx >= l {
  481. return io.ErrUnexpectedEOF
  482. }
  483. b := dAtA[iNdEx]
  484. iNdEx++
  485. byteLen |= (int(b) & 0x7F) << shift
  486. if b < 0x80 {
  487. break
  488. }
  489. }
  490. if byteLen < 0 {
  491. return ErrInvalidLengthTypes
  492. }
  493. postIndex := iNdEx + byteLen
  494. if postIndex > l {
  495. return io.ErrUnexpectedEOF
  496. }
  497. m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...)
  498. if m.Value == nil {
  499. m.Value = []byte{}
  500. }
  501. iNdEx = postIndex
  502. default:
  503. iNdEx = preIndex
  504. skippy, err := skipTypes(dAtA[iNdEx:])
  505. if err != nil {
  506. return err
  507. }
  508. if skippy < 0 {
  509. return ErrInvalidLengthTypes
  510. }
  511. if (iNdEx + skippy) > l {
  512. return io.ErrUnexpectedEOF
  513. }
  514. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  515. iNdEx += skippy
  516. }
  517. }
  518. if iNdEx > l {
  519. return io.ErrUnexpectedEOF
  520. }
  521. return nil
  522. }
  523. func (m *KI64Pair) Unmarshal(dAtA []byte) error {
  524. l := len(dAtA)
  525. iNdEx := 0
  526. for iNdEx < l {
  527. preIndex := iNdEx
  528. var wire uint64
  529. for shift := uint(0); ; shift += 7 {
  530. if shift >= 64 {
  531. return ErrIntOverflowTypes
  532. }
  533. if iNdEx >= l {
  534. return io.ErrUnexpectedEOF
  535. }
  536. b := dAtA[iNdEx]
  537. iNdEx++
  538. wire |= (uint64(b) & 0x7F) << shift
  539. if b < 0x80 {
  540. break
  541. }
  542. }
  543. fieldNum := int32(wire >> 3)
  544. wireType := int(wire & 0x7)
  545. if wireType == 4 {
  546. return fmt.Errorf("proto: KI64Pair: wiretype end group for non-group")
  547. }
  548. if fieldNum <= 0 {
  549. return fmt.Errorf("proto: KI64Pair: illegal tag %d (wire type %d)", fieldNum, wire)
  550. }
  551. switch fieldNum {
  552. case 1:
  553. if wireType != 2 {
  554. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  555. }
  556. var byteLen int
  557. for shift := uint(0); ; shift += 7 {
  558. if shift >= 64 {
  559. return ErrIntOverflowTypes
  560. }
  561. if iNdEx >= l {
  562. return io.ErrUnexpectedEOF
  563. }
  564. b := dAtA[iNdEx]
  565. iNdEx++
  566. byteLen |= (int(b) & 0x7F) << shift
  567. if b < 0x80 {
  568. break
  569. }
  570. }
  571. if byteLen < 0 {
  572. return ErrInvalidLengthTypes
  573. }
  574. postIndex := iNdEx + byteLen
  575. if postIndex > l {
  576. return io.ErrUnexpectedEOF
  577. }
  578. m.Key = append(m.Key[:0], dAtA[iNdEx:postIndex]...)
  579. if m.Key == nil {
  580. m.Key = []byte{}
  581. }
  582. iNdEx = postIndex
  583. case 2:
  584. if wireType != 0 {
  585. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  586. }
  587. m.Value = 0
  588. for shift := uint(0); ; shift += 7 {
  589. if shift >= 64 {
  590. return ErrIntOverflowTypes
  591. }
  592. if iNdEx >= l {
  593. return io.ErrUnexpectedEOF
  594. }
  595. b := dAtA[iNdEx]
  596. iNdEx++
  597. m.Value |= (int64(b) & 0x7F) << shift
  598. if b < 0x80 {
  599. break
  600. }
  601. }
  602. default:
  603. iNdEx = preIndex
  604. skippy, err := skipTypes(dAtA[iNdEx:])
  605. if err != nil {
  606. return err
  607. }
  608. if skippy < 0 {
  609. return ErrInvalidLengthTypes
  610. }
  611. if (iNdEx + skippy) > l {
  612. return io.ErrUnexpectedEOF
  613. }
  614. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  615. iNdEx += skippy
  616. }
  617. }
  618. if iNdEx > l {
  619. return io.ErrUnexpectedEOF
  620. }
  621. return nil
  622. }
  623. func skipTypes(dAtA []byte) (n int, err error) {
  624. l := len(dAtA)
  625. iNdEx := 0
  626. for iNdEx < l {
  627. var wire uint64
  628. for shift := uint(0); ; shift += 7 {
  629. if shift >= 64 {
  630. return 0, ErrIntOverflowTypes
  631. }
  632. if iNdEx >= l {
  633. return 0, io.ErrUnexpectedEOF
  634. }
  635. b := dAtA[iNdEx]
  636. iNdEx++
  637. wire |= (uint64(b) & 0x7F) << shift
  638. if b < 0x80 {
  639. break
  640. }
  641. }
  642. wireType := int(wire & 0x7)
  643. switch wireType {
  644. case 0:
  645. for shift := uint(0); ; shift += 7 {
  646. if shift >= 64 {
  647. return 0, ErrIntOverflowTypes
  648. }
  649. if iNdEx >= l {
  650. return 0, io.ErrUnexpectedEOF
  651. }
  652. iNdEx++
  653. if dAtA[iNdEx-1] < 0x80 {
  654. break
  655. }
  656. }
  657. return iNdEx, nil
  658. case 1:
  659. iNdEx += 8
  660. return iNdEx, nil
  661. case 2:
  662. var length int
  663. for shift := uint(0); ; shift += 7 {
  664. if shift >= 64 {
  665. return 0, ErrIntOverflowTypes
  666. }
  667. if iNdEx >= l {
  668. return 0, io.ErrUnexpectedEOF
  669. }
  670. b := dAtA[iNdEx]
  671. iNdEx++
  672. length |= (int(b) & 0x7F) << shift
  673. if b < 0x80 {
  674. break
  675. }
  676. }
  677. iNdEx += length
  678. if length < 0 {
  679. return 0, ErrInvalidLengthTypes
  680. }
  681. return iNdEx, nil
  682. case 3:
  683. for {
  684. var innerWire uint64
  685. var start int = iNdEx
  686. for shift := uint(0); ; shift += 7 {
  687. if shift >= 64 {
  688. return 0, ErrIntOverflowTypes
  689. }
  690. if iNdEx >= l {
  691. return 0, io.ErrUnexpectedEOF
  692. }
  693. b := dAtA[iNdEx]
  694. iNdEx++
  695. innerWire |= (uint64(b) & 0x7F) << shift
  696. if b < 0x80 {
  697. break
  698. }
  699. }
  700. innerWireType := int(innerWire & 0x7)
  701. if innerWireType == 4 {
  702. break
  703. }
  704. next, err := skipTypes(dAtA[start:])
  705. if err != nil {
  706. return 0, err
  707. }
  708. iNdEx = start + next
  709. }
  710. return iNdEx, nil
  711. case 4:
  712. return iNdEx, nil
  713. case 5:
  714. iNdEx += 4
  715. return iNdEx, nil
  716. default:
  717. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  718. }
  719. }
  720. panic("unreachable")
  721. }
  722. var (
  723. ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling")
  724. ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow")
  725. )
  726. func init() { proto.RegisterFile("libs/common/types.proto", fileDescriptor_types_a863d437ea36eb85) }
  727. func init() {
  728. golang_proto.RegisterFile("libs/common/types.proto", fileDescriptor_types_a863d437ea36eb85)
  729. }
  730. var fileDescriptor_types_a863d437ea36eb85 = []byte{
  731. // 174 bytes of a gzipped FileDescriptorProto
  732. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcf, 0xc9, 0x4c, 0x2a,
  733. 0xd6, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 0xcf, 0xd3, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2b, 0x28,
  734. 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x83, 0x88, 0x49, 0xe9, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9,
  735. 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xa7, 0xe7, 0xeb, 0x83, 0xa5, 0x93, 0x4a, 0xd3, 0xc0, 0x3c,
  736. 0x30, 0x07, 0xcc, 0x82, 0x68, 0x53, 0x32, 0xe0, 0x62, 0xf3, 0x0e, 0x0b, 0x48, 0xcc, 0x2c, 0x12,
  737. 0x12, 0xe0, 0x62, 0xce, 0x4e, 0xad, 0x94, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x09, 0x02, 0x31, 0x85,
  738. 0x44, 0xb8, 0x58, 0xcb, 0x12, 0x73, 0x4a, 0x53, 0x25, 0x98, 0xc0, 0x62, 0x10, 0x8e, 0x92, 0x11,
  739. 0x17, 0x87, 0xb7, 0xa7, 0x99, 0x09, 0x31, 0x7a, 0x98, 0xa1, 0x7a, 0x9c, 0x64, 0x7e, 0x3c, 0x94,
  740. 0x63, 0x5c, 0xf1, 0x48, 0x8e, 0x71, 0xc7, 0x23, 0x39, 0xc6, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c,
  741. 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0xf1, 0xc0, 0x63, 0x39, 0xc6, 0x24, 0x36, 0xb0, 0x53, 0x8c,
  742. 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x39, 0xe1, 0xef, 0xdc, 0x00, 0x00, 0x00,
  743. }