generated.pb.go 19 KB

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