generated.pb.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766
  1. /*
  2. Copyright 2016 The Kubernetes Authors.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. // Code generated by protoc-gen-gogo.
  14. // source: k8s.io/kubernetes/pkg/runtime/generated.proto
  15. // DO NOT EDIT!
  16. /*
  17. Package runtime is a generated protocol buffer package.
  18. It is generated from these files:
  19. k8s.io/kubernetes/pkg/runtime/generated.proto
  20. It has these top-level messages:
  21. RawExtension
  22. TypeMeta
  23. Unknown
  24. */
  25. package runtime
  26. import proto "github.com/gogo/protobuf/proto"
  27. import fmt "fmt"
  28. import math "math"
  29. import strings "strings"
  30. import reflect "reflect"
  31. import io "io"
  32. // Reference imports to suppress errors if they are not otherwise used.
  33. var _ = proto.Marshal
  34. var _ = fmt.Errorf
  35. var _ = math.Inf
  36. // This is a compile-time assertion to ensure that this generated file
  37. // is compatible with the proto package it is being compiled against.
  38. const _ = proto.GoGoProtoPackageIsVersion1
  39. func (m *RawExtension) Reset() { *m = RawExtension{} }
  40. func (*RawExtension) ProtoMessage() {}
  41. func (*RawExtension) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
  42. func (m *TypeMeta) Reset() { *m = TypeMeta{} }
  43. func (*TypeMeta) ProtoMessage() {}
  44. func (*TypeMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  45. func (m *Unknown) Reset() { *m = Unknown{} }
  46. func (*Unknown) ProtoMessage() {}
  47. func (*Unknown) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  48. func init() {
  49. proto.RegisterType((*RawExtension)(nil), "k8s.io.kubernetes.pkg.runtime.RawExtension")
  50. proto.RegisterType((*TypeMeta)(nil), "k8s.io.kubernetes.pkg.runtime.TypeMeta")
  51. proto.RegisterType((*Unknown)(nil), "k8s.io.kubernetes.pkg.runtime.Unknown")
  52. }
  53. func (m *RawExtension) Marshal() (data []byte, err error) {
  54. size := m.Size()
  55. data = make([]byte, size)
  56. n, err := m.MarshalTo(data)
  57. if err != nil {
  58. return nil, err
  59. }
  60. return data[:n], nil
  61. }
  62. func (m *RawExtension) MarshalTo(data []byte) (int, error) {
  63. var i int
  64. _ = i
  65. var l int
  66. _ = l
  67. if m.Raw != nil {
  68. data[i] = 0xa
  69. i++
  70. i = encodeVarintGenerated(data, i, uint64(len(m.Raw)))
  71. i += copy(data[i:], m.Raw)
  72. }
  73. return i, nil
  74. }
  75. func (m *TypeMeta) Marshal() (data []byte, err error) {
  76. size := m.Size()
  77. data = make([]byte, size)
  78. n, err := m.MarshalTo(data)
  79. if err != nil {
  80. return nil, err
  81. }
  82. return data[:n], nil
  83. }
  84. func (m *TypeMeta) MarshalTo(data []byte) (int, error) {
  85. var i int
  86. _ = i
  87. var l int
  88. _ = l
  89. data[i] = 0xa
  90. i++
  91. i = encodeVarintGenerated(data, i, uint64(len(m.APIVersion)))
  92. i += copy(data[i:], m.APIVersion)
  93. data[i] = 0x12
  94. i++
  95. i = encodeVarintGenerated(data, i, uint64(len(m.Kind)))
  96. i += copy(data[i:], m.Kind)
  97. return i, nil
  98. }
  99. func (m *Unknown) Marshal() (data []byte, err error) {
  100. size := m.Size()
  101. data = make([]byte, size)
  102. n, err := m.MarshalTo(data)
  103. if err != nil {
  104. return nil, err
  105. }
  106. return data[:n], nil
  107. }
  108. func (m *Unknown) MarshalTo(data []byte) (int, error) {
  109. var i int
  110. _ = i
  111. var l int
  112. _ = l
  113. data[i] = 0xa
  114. i++
  115. i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size()))
  116. n1, err := m.TypeMeta.MarshalTo(data[i:])
  117. if err != nil {
  118. return 0, err
  119. }
  120. i += n1
  121. if m.Raw != nil {
  122. data[i] = 0x12
  123. i++
  124. i = encodeVarintGenerated(data, i, uint64(len(m.Raw)))
  125. i += copy(data[i:], m.Raw)
  126. }
  127. data[i] = 0x1a
  128. i++
  129. i = encodeVarintGenerated(data, i, uint64(len(m.ContentEncoding)))
  130. i += copy(data[i:], m.ContentEncoding)
  131. data[i] = 0x22
  132. i++
  133. i = encodeVarintGenerated(data, i, uint64(len(m.ContentType)))
  134. i += copy(data[i:], m.ContentType)
  135. return i, nil
  136. }
  137. func encodeFixed64Generated(data []byte, offset int, v uint64) int {
  138. data[offset] = uint8(v)
  139. data[offset+1] = uint8(v >> 8)
  140. data[offset+2] = uint8(v >> 16)
  141. data[offset+3] = uint8(v >> 24)
  142. data[offset+4] = uint8(v >> 32)
  143. data[offset+5] = uint8(v >> 40)
  144. data[offset+6] = uint8(v >> 48)
  145. data[offset+7] = uint8(v >> 56)
  146. return offset + 8
  147. }
  148. func encodeFixed32Generated(data []byte, offset int, v uint32) int {
  149. data[offset] = uint8(v)
  150. data[offset+1] = uint8(v >> 8)
  151. data[offset+2] = uint8(v >> 16)
  152. data[offset+3] = uint8(v >> 24)
  153. return offset + 4
  154. }
  155. func encodeVarintGenerated(data []byte, offset int, v uint64) int {
  156. for v >= 1<<7 {
  157. data[offset] = uint8(v&0x7f | 0x80)
  158. v >>= 7
  159. offset++
  160. }
  161. data[offset] = uint8(v)
  162. return offset + 1
  163. }
  164. func (m *RawExtension) Size() (n int) {
  165. var l int
  166. _ = l
  167. if m.Raw != nil {
  168. l = len(m.Raw)
  169. n += 1 + l + sovGenerated(uint64(l))
  170. }
  171. return n
  172. }
  173. func (m *TypeMeta) Size() (n int) {
  174. var l int
  175. _ = l
  176. l = len(m.APIVersion)
  177. n += 1 + l + sovGenerated(uint64(l))
  178. l = len(m.Kind)
  179. n += 1 + l + sovGenerated(uint64(l))
  180. return n
  181. }
  182. func (m *Unknown) Size() (n int) {
  183. var l int
  184. _ = l
  185. l = m.TypeMeta.Size()
  186. n += 1 + l + sovGenerated(uint64(l))
  187. if m.Raw != nil {
  188. l = len(m.Raw)
  189. n += 1 + l + sovGenerated(uint64(l))
  190. }
  191. l = len(m.ContentEncoding)
  192. n += 1 + l + sovGenerated(uint64(l))
  193. l = len(m.ContentType)
  194. n += 1 + l + sovGenerated(uint64(l))
  195. return n
  196. }
  197. func sovGenerated(x uint64) (n int) {
  198. for {
  199. n++
  200. x >>= 7
  201. if x == 0 {
  202. break
  203. }
  204. }
  205. return n
  206. }
  207. func sozGenerated(x uint64) (n int) {
  208. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  209. }
  210. func (this *RawExtension) String() string {
  211. if this == nil {
  212. return "nil"
  213. }
  214. s := strings.Join([]string{`&RawExtension{`,
  215. `Raw:` + valueToStringGenerated(this.Raw) + `,`,
  216. `}`,
  217. }, "")
  218. return s
  219. }
  220. func (this *TypeMeta) String() string {
  221. if this == nil {
  222. return "nil"
  223. }
  224. s := strings.Join([]string{`&TypeMeta{`,
  225. `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
  226. `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
  227. `}`,
  228. }, "")
  229. return s
  230. }
  231. func (this *Unknown) String() string {
  232. if this == nil {
  233. return "nil"
  234. }
  235. s := strings.Join([]string{`&Unknown{`,
  236. `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "TypeMeta", 1), `&`, ``, 1) + `,`,
  237. `Raw:` + valueToStringGenerated(this.Raw) + `,`,
  238. `ContentEncoding:` + fmt.Sprintf("%v", this.ContentEncoding) + `,`,
  239. `ContentType:` + fmt.Sprintf("%v", this.ContentType) + `,`,
  240. `}`,
  241. }, "")
  242. return s
  243. }
  244. func valueToStringGenerated(v interface{}) string {
  245. rv := reflect.ValueOf(v)
  246. if rv.IsNil() {
  247. return "nil"
  248. }
  249. pv := reflect.Indirect(rv).Interface()
  250. return fmt.Sprintf("*%v", pv)
  251. }
  252. func (m *RawExtension) Unmarshal(data []byte) error {
  253. l := len(data)
  254. iNdEx := 0
  255. for iNdEx < l {
  256. preIndex := iNdEx
  257. var wire uint64
  258. for shift := uint(0); ; shift += 7 {
  259. if shift >= 64 {
  260. return ErrIntOverflowGenerated
  261. }
  262. if iNdEx >= l {
  263. return io.ErrUnexpectedEOF
  264. }
  265. b := data[iNdEx]
  266. iNdEx++
  267. wire |= (uint64(b) & 0x7F) << shift
  268. if b < 0x80 {
  269. break
  270. }
  271. }
  272. fieldNum := int32(wire >> 3)
  273. wireType := int(wire & 0x7)
  274. if wireType == 4 {
  275. return fmt.Errorf("proto: RawExtension: wiretype end group for non-group")
  276. }
  277. if fieldNum <= 0 {
  278. return fmt.Errorf("proto: RawExtension: illegal tag %d (wire type %d)", fieldNum, wire)
  279. }
  280. switch fieldNum {
  281. case 1:
  282. if wireType != 2 {
  283. return fmt.Errorf("proto: wrong wireType = %d for field Raw", wireType)
  284. }
  285. var byteLen int
  286. for shift := uint(0); ; shift += 7 {
  287. if shift >= 64 {
  288. return ErrIntOverflowGenerated
  289. }
  290. if iNdEx >= l {
  291. return io.ErrUnexpectedEOF
  292. }
  293. b := data[iNdEx]
  294. iNdEx++
  295. byteLen |= (int(b) & 0x7F) << shift
  296. if b < 0x80 {
  297. break
  298. }
  299. }
  300. if byteLen < 0 {
  301. return ErrInvalidLengthGenerated
  302. }
  303. postIndex := iNdEx + byteLen
  304. if postIndex > l {
  305. return io.ErrUnexpectedEOF
  306. }
  307. m.Raw = append(m.Raw[:0], data[iNdEx:postIndex]...)
  308. if m.Raw == nil {
  309. m.Raw = []byte{}
  310. }
  311. iNdEx = postIndex
  312. default:
  313. iNdEx = preIndex
  314. skippy, err := skipGenerated(data[iNdEx:])
  315. if err != nil {
  316. return err
  317. }
  318. if skippy < 0 {
  319. return ErrInvalidLengthGenerated
  320. }
  321. if (iNdEx + skippy) > l {
  322. return io.ErrUnexpectedEOF
  323. }
  324. iNdEx += skippy
  325. }
  326. }
  327. if iNdEx > l {
  328. return io.ErrUnexpectedEOF
  329. }
  330. return nil
  331. }
  332. func (m *TypeMeta) Unmarshal(data []byte) error {
  333. l := len(data)
  334. iNdEx := 0
  335. for iNdEx < l {
  336. preIndex := iNdEx
  337. var wire uint64
  338. for shift := uint(0); ; shift += 7 {
  339. if shift >= 64 {
  340. return ErrIntOverflowGenerated
  341. }
  342. if iNdEx >= l {
  343. return io.ErrUnexpectedEOF
  344. }
  345. b := data[iNdEx]
  346. iNdEx++
  347. wire |= (uint64(b) & 0x7F) << shift
  348. if b < 0x80 {
  349. break
  350. }
  351. }
  352. fieldNum := int32(wire >> 3)
  353. wireType := int(wire & 0x7)
  354. if wireType == 4 {
  355. return fmt.Errorf("proto: TypeMeta: wiretype end group for non-group")
  356. }
  357. if fieldNum <= 0 {
  358. return fmt.Errorf("proto: TypeMeta: illegal tag %d (wire type %d)", fieldNum, wire)
  359. }
  360. switch fieldNum {
  361. case 1:
  362. if wireType != 2 {
  363. return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
  364. }
  365. var stringLen uint64
  366. for shift := uint(0); ; shift += 7 {
  367. if shift >= 64 {
  368. return ErrIntOverflowGenerated
  369. }
  370. if iNdEx >= l {
  371. return io.ErrUnexpectedEOF
  372. }
  373. b := data[iNdEx]
  374. iNdEx++
  375. stringLen |= (uint64(b) & 0x7F) << shift
  376. if b < 0x80 {
  377. break
  378. }
  379. }
  380. intStringLen := int(stringLen)
  381. if intStringLen < 0 {
  382. return ErrInvalidLengthGenerated
  383. }
  384. postIndex := iNdEx + intStringLen
  385. if postIndex > l {
  386. return io.ErrUnexpectedEOF
  387. }
  388. m.APIVersion = string(data[iNdEx:postIndex])
  389. iNdEx = postIndex
  390. case 2:
  391. if wireType != 2 {
  392. return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
  393. }
  394. var stringLen uint64
  395. for shift := uint(0); ; shift += 7 {
  396. if shift >= 64 {
  397. return ErrIntOverflowGenerated
  398. }
  399. if iNdEx >= l {
  400. return io.ErrUnexpectedEOF
  401. }
  402. b := data[iNdEx]
  403. iNdEx++
  404. stringLen |= (uint64(b) & 0x7F) << shift
  405. if b < 0x80 {
  406. break
  407. }
  408. }
  409. intStringLen := int(stringLen)
  410. if intStringLen < 0 {
  411. return ErrInvalidLengthGenerated
  412. }
  413. postIndex := iNdEx + intStringLen
  414. if postIndex > l {
  415. return io.ErrUnexpectedEOF
  416. }
  417. m.Kind = string(data[iNdEx:postIndex])
  418. iNdEx = postIndex
  419. default:
  420. iNdEx = preIndex
  421. skippy, err := skipGenerated(data[iNdEx:])
  422. if err != nil {
  423. return err
  424. }
  425. if skippy < 0 {
  426. return ErrInvalidLengthGenerated
  427. }
  428. if (iNdEx + skippy) > l {
  429. return io.ErrUnexpectedEOF
  430. }
  431. iNdEx += skippy
  432. }
  433. }
  434. if iNdEx > l {
  435. return io.ErrUnexpectedEOF
  436. }
  437. return nil
  438. }
  439. func (m *Unknown) Unmarshal(data []byte) error {
  440. l := len(data)
  441. iNdEx := 0
  442. for iNdEx < l {
  443. preIndex := iNdEx
  444. var wire uint64
  445. for shift := uint(0); ; shift += 7 {
  446. if shift >= 64 {
  447. return ErrIntOverflowGenerated
  448. }
  449. if iNdEx >= l {
  450. return io.ErrUnexpectedEOF
  451. }
  452. b := data[iNdEx]
  453. iNdEx++
  454. wire |= (uint64(b) & 0x7F) << shift
  455. if b < 0x80 {
  456. break
  457. }
  458. }
  459. fieldNum := int32(wire >> 3)
  460. wireType := int(wire & 0x7)
  461. if wireType == 4 {
  462. return fmt.Errorf("proto: Unknown: wiretype end group for non-group")
  463. }
  464. if fieldNum <= 0 {
  465. return fmt.Errorf("proto: Unknown: illegal tag %d (wire type %d)", fieldNum, wire)
  466. }
  467. switch fieldNum {
  468. case 1:
  469. if wireType != 2 {
  470. return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType)
  471. }
  472. var msglen int
  473. for shift := uint(0); ; shift += 7 {
  474. if shift >= 64 {
  475. return ErrIntOverflowGenerated
  476. }
  477. if iNdEx >= l {
  478. return io.ErrUnexpectedEOF
  479. }
  480. b := data[iNdEx]
  481. iNdEx++
  482. msglen |= (int(b) & 0x7F) << shift
  483. if b < 0x80 {
  484. break
  485. }
  486. }
  487. if msglen < 0 {
  488. return ErrInvalidLengthGenerated
  489. }
  490. postIndex := iNdEx + msglen
  491. if postIndex > l {
  492. return io.ErrUnexpectedEOF
  493. }
  494. if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  495. return err
  496. }
  497. iNdEx = postIndex
  498. case 2:
  499. if wireType != 2 {
  500. return fmt.Errorf("proto: wrong wireType = %d for field Raw", wireType)
  501. }
  502. var byteLen int
  503. for shift := uint(0); ; shift += 7 {
  504. if shift >= 64 {
  505. return ErrIntOverflowGenerated
  506. }
  507. if iNdEx >= l {
  508. return io.ErrUnexpectedEOF
  509. }
  510. b := data[iNdEx]
  511. iNdEx++
  512. byteLen |= (int(b) & 0x7F) << shift
  513. if b < 0x80 {
  514. break
  515. }
  516. }
  517. if byteLen < 0 {
  518. return ErrInvalidLengthGenerated
  519. }
  520. postIndex := iNdEx + byteLen
  521. if postIndex > l {
  522. return io.ErrUnexpectedEOF
  523. }
  524. m.Raw = append(m.Raw[:0], data[iNdEx:postIndex]...)
  525. if m.Raw == nil {
  526. m.Raw = []byte{}
  527. }
  528. iNdEx = postIndex
  529. case 3:
  530. if wireType != 2 {
  531. return fmt.Errorf("proto: wrong wireType = %d for field ContentEncoding", wireType)
  532. }
  533. var stringLen uint64
  534. for shift := uint(0); ; shift += 7 {
  535. if shift >= 64 {
  536. return ErrIntOverflowGenerated
  537. }
  538. if iNdEx >= l {
  539. return io.ErrUnexpectedEOF
  540. }
  541. b := data[iNdEx]
  542. iNdEx++
  543. stringLen |= (uint64(b) & 0x7F) << shift
  544. if b < 0x80 {
  545. break
  546. }
  547. }
  548. intStringLen := int(stringLen)
  549. if intStringLen < 0 {
  550. return ErrInvalidLengthGenerated
  551. }
  552. postIndex := iNdEx + intStringLen
  553. if postIndex > l {
  554. return io.ErrUnexpectedEOF
  555. }
  556. m.ContentEncoding = string(data[iNdEx:postIndex])
  557. iNdEx = postIndex
  558. case 4:
  559. if wireType != 2 {
  560. return fmt.Errorf("proto: wrong wireType = %d for field ContentType", wireType)
  561. }
  562. var stringLen uint64
  563. for shift := uint(0); ; shift += 7 {
  564. if shift >= 64 {
  565. return ErrIntOverflowGenerated
  566. }
  567. if iNdEx >= l {
  568. return io.ErrUnexpectedEOF
  569. }
  570. b := data[iNdEx]
  571. iNdEx++
  572. stringLen |= (uint64(b) & 0x7F) << shift
  573. if b < 0x80 {
  574. break
  575. }
  576. }
  577. intStringLen := int(stringLen)
  578. if intStringLen < 0 {
  579. return ErrInvalidLengthGenerated
  580. }
  581. postIndex := iNdEx + intStringLen
  582. if postIndex > l {
  583. return io.ErrUnexpectedEOF
  584. }
  585. m.ContentType = string(data[iNdEx:postIndex])
  586. iNdEx = postIndex
  587. default:
  588. iNdEx = preIndex
  589. skippy, err := skipGenerated(data[iNdEx:])
  590. if err != nil {
  591. return err
  592. }
  593. if skippy < 0 {
  594. return ErrInvalidLengthGenerated
  595. }
  596. if (iNdEx + skippy) > l {
  597. return io.ErrUnexpectedEOF
  598. }
  599. iNdEx += skippy
  600. }
  601. }
  602. if iNdEx > l {
  603. return io.ErrUnexpectedEOF
  604. }
  605. return nil
  606. }
  607. func skipGenerated(data []byte) (n int, err error) {
  608. l := len(data)
  609. iNdEx := 0
  610. for iNdEx < l {
  611. var wire uint64
  612. for shift := uint(0); ; shift += 7 {
  613. if shift >= 64 {
  614. return 0, ErrIntOverflowGenerated
  615. }
  616. if iNdEx >= l {
  617. return 0, io.ErrUnexpectedEOF
  618. }
  619. b := data[iNdEx]
  620. iNdEx++
  621. wire |= (uint64(b) & 0x7F) << shift
  622. if b < 0x80 {
  623. break
  624. }
  625. }
  626. wireType := int(wire & 0x7)
  627. switch wireType {
  628. case 0:
  629. for shift := uint(0); ; shift += 7 {
  630. if shift >= 64 {
  631. return 0, ErrIntOverflowGenerated
  632. }
  633. if iNdEx >= l {
  634. return 0, io.ErrUnexpectedEOF
  635. }
  636. iNdEx++
  637. if data[iNdEx-1] < 0x80 {
  638. break
  639. }
  640. }
  641. return iNdEx, nil
  642. case 1:
  643. iNdEx += 8
  644. return iNdEx, nil
  645. case 2:
  646. var length int
  647. for shift := uint(0); ; shift += 7 {
  648. if shift >= 64 {
  649. return 0, ErrIntOverflowGenerated
  650. }
  651. if iNdEx >= l {
  652. return 0, io.ErrUnexpectedEOF
  653. }
  654. b := data[iNdEx]
  655. iNdEx++
  656. length |= (int(b) & 0x7F) << shift
  657. if b < 0x80 {
  658. break
  659. }
  660. }
  661. iNdEx += length
  662. if length < 0 {
  663. return 0, ErrInvalidLengthGenerated
  664. }
  665. return iNdEx, nil
  666. case 3:
  667. for {
  668. var innerWire uint64
  669. var start int = iNdEx
  670. for shift := uint(0); ; shift += 7 {
  671. if shift >= 64 {
  672. return 0, ErrIntOverflowGenerated
  673. }
  674. if iNdEx >= l {
  675. return 0, io.ErrUnexpectedEOF
  676. }
  677. b := data[iNdEx]
  678. iNdEx++
  679. innerWire |= (uint64(b) & 0x7F) << shift
  680. if b < 0x80 {
  681. break
  682. }
  683. }
  684. innerWireType := int(innerWire & 0x7)
  685. if innerWireType == 4 {
  686. break
  687. }
  688. next, err := skipGenerated(data[start:])
  689. if err != nil {
  690. return 0, err
  691. }
  692. iNdEx = start + next
  693. }
  694. return iNdEx, nil
  695. case 4:
  696. return iNdEx, nil
  697. case 5:
  698. iNdEx += 4
  699. return iNdEx, nil
  700. default:
  701. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  702. }
  703. }
  704. panic("unreachable")
  705. }
  706. var (
  707. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  708. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  709. )
  710. var fileDescriptorGenerated = []byte{
  711. // 380 bytes of a gzipped FileDescriptorProto
  712. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4e, 0x2a, 0x31,
  713. 0x14, 0xc6, 0x19, 0x20, 0x81, 0x5b, 0x48, 0xb8, 0xe9, 0x5d, 0xdc, 0x91, 0x44, 0x20, 0x6c, 0x94,
  714. 0x05, 0x6d, 0x24, 0x31, 0x71, 0xcb, 0x10, 0x16, 0xc6, 0x98, 0x98, 0x89, 0xb8, 0x70, 0xe5, 0x30,
  715. 0xd4, 0xb1, 0x19, 0x69, 0x27, 0x9d, 0x4e, 0xd0, 0x9d, 0x8f, 0xe0, 0x63, 0xb1, 0x64, 0xe9, 0x8a,
  716. 0x28, 0x3e, 0x83, 0x7b, 0x4b, 0x29, 0x7f, 0x04, 0xe2, 0xe2, 0x24, 0x33, 0xe7, 0xfc, 0xbe, 0xef,
  717. 0x7c, 0xa7, 0xa0, 0x19, 0x9e, 0xc5, 0x88, 0x72, 0x1c, 0x26, 0x7d, 0x22, 0x18, 0x91, 0x24, 0xc6,
  718. 0x51, 0x18, 0x60, 0x91, 0x30, 0x49, 0x87, 0x04, 0x07, 0x84, 0x11, 0xe1, 0x49, 0x32, 0x40, 0x91,
  719. 0xe0, 0x92, 0xc3, 0xc3, 0x05, 0x8e, 0xd6, 0x38, 0x52, 0x38, 0x32, 0x78, 0xb9, 0x19, 0x50, 0xf9,
  720. 0x90, 0xf4, 0x91, 0xcf, 0x87, 0x38, 0xe0, 0x01, 0xc7, 0x5a, 0xd5, 0x4f, 0xee, 0xf5, 0x9f, 0xfe,
  721. 0xd1, 0x5f, 0x0b, 0xb7, 0x72, 0x6b, 0xff, 0x72, 0x2f, 0xa2, 0x58, 0x90, 0x98, 0x27, 0xc2, 0xdf,
  722. 0x49, 0x50, 0x3e, 0xd9, 0xaf, 0x49, 0x24, 0x7d, 0xc4, 0x94, 0xc9, 0x58, 0x8a, 0x6d, 0x49, 0xbd,
  723. 0x01, 0x8a, 0xae, 0x37, 0xea, 0x3e, 0x49, 0xc2, 0x62, 0xca, 0x19, 0x3c, 0x00, 0x19, 0xe1, 0x8d,
  724. 0x6c, 0xab, 0x66, 0x1d, 0x17, 0x9d, 0xdc, 0x6c, 0x5a, 0xcd, 0xa8, 0xb1, 0x3b, 0xef, 0xd5, 0xef,
  725. 0x40, 0xfe, 0xfa, 0x39, 0x22, 0x97, 0x44, 0x7a, 0xb0, 0x05, 0x80, 0x4a, 0x72, 0x43, 0xc4, 0x5c,
  726. 0xa4, 0xe9, 0x3f, 0x0e, 0x1c, 0x4f, 0xab, 0x29, 0xa5, 0x00, 0xed, 0xab, 0x73, 0x33, 0x71, 0x37,
  727. 0x28, 0x58, 0x03, 0xd9, 0x90, 0xb2, 0x81, 0x9d, 0xd6, 0x74, 0xd1, 0xd0, 0xd9, 0x0b, 0xd5, 0x73,
  728. 0xf5, 0xa4, 0xfe, 0x65, 0x81, 0x5c, 0x8f, 0x85, 0x8c, 0x8f, 0x18, 0xec, 0x81, 0xbc, 0x34, 0xdb,
  729. 0xb4, 0x7f, 0xa1, 0x75, 0x84, 0x7e, 0x7d, 0x60, 0xb4, 0x0c, 0xe7, 0xfc, 0x35, 0xd6, 0xab, 0xb8,
  730. 0xee, 0xca, 0x6a, 0x79, 0x5f, 0x7a, 0xf7, 0x3e, 0xd8, 0x06, 0x25, 0x9f, 0x33, 0xf5, 0x10, 0xb2,
  731. 0xcb, 0x7c, 0x3e, 0xa0, 0x2c, 0xb0, 0x33, 0x3a, 0xea, 0x7f, 0xe3, 0x57, 0xea, 0xfc, 0x1c, 0xbb,
  732. 0xdb, 0x3c, 0x3c, 0x05, 0x05, 0xd3, 0x9a, 0xaf, 0xb6, 0xb3, 0x5a, 0xfe, 0xcf, 0xc8, 0x0b, 0x9d,
  733. 0xf5, 0xc8, 0xdd, 0xe4, 0x9c, 0xc6, 0xf8, 0xa3, 0x92, 0x9a, 0xa8, 0x7a, 0x53, 0xf5, 0x32, 0xab,
  734. 0x58, 0x63, 0x55, 0x13, 0x55, 0xef, 0xaa, 0x5e, 0x3f, 0x2b, 0xa9, 0xdb, 0x9c, 0x39, 0xf2, 0x3b,
  735. 0x00, 0x00, 0xff, 0xff, 0x32, 0xc1, 0x73, 0x2d, 0x94, 0x02, 0x00, 0x00,
  736. }