generated.pb.go 18 KB

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