blob: 176567acf757f6471b0b4da59727f2008234c6eb [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001/*
2Copyright The Kubernetes Authors.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16
17// Code generated by protoc-gen-gogo.
18// source: k8s.io/kubernetes/vendor/k8s.io/api/batch/v1/generated.proto
19// DO NOT EDIT!
20
21/*
22 Package v1 is a generated protocol buffer package.
23
24 It is generated from these files:
25 k8s.io/kubernetes/vendor/k8s.io/api/batch/v1/generated.proto
26
27 It has these top-level messages:
28 Job
29 JobCondition
30 JobList
31 JobSpec
32 JobStatus
33*/
34package v1
35
36import proto "github.com/gogo/protobuf/proto"
37import fmt "fmt"
38import math "math"
39
40import k8s_io_api_core_v1 "k8s.io/api/core/v1"
41import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
42
43import strings "strings"
44import reflect "reflect"
45
46import io "io"
47
48// Reference imports to suppress errors if they are not otherwise used.
49var _ = proto.Marshal
50var _ = fmt.Errorf
51var _ = math.Inf
52
53// This is a compile-time assertion to ensure that this generated file
54// is compatible with the proto package it is being compiled against.
55// A compilation error at this line likely means your copy of the
56// proto package needs to be updated.
57const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
58
59func (m *Job) Reset() { *m = Job{} }
60func (*Job) ProtoMessage() {}
61func (*Job) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
62
63func (m *JobCondition) Reset() { *m = JobCondition{} }
64func (*JobCondition) ProtoMessage() {}
65func (*JobCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
66
67func (m *JobList) Reset() { *m = JobList{} }
68func (*JobList) ProtoMessage() {}
69func (*JobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
70
71func (m *JobSpec) Reset() { *m = JobSpec{} }
72func (*JobSpec) ProtoMessage() {}
73func (*JobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
74
75func (m *JobStatus) Reset() { *m = JobStatus{} }
76func (*JobStatus) ProtoMessage() {}
77func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
78
79func init() {
80 proto.RegisterType((*Job)(nil), "k8s.io.api.batch.v1.Job")
81 proto.RegisterType((*JobCondition)(nil), "k8s.io.api.batch.v1.JobCondition")
82 proto.RegisterType((*JobList)(nil), "k8s.io.api.batch.v1.JobList")
83 proto.RegisterType((*JobSpec)(nil), "k8s.io.api.batch.v1.JobSpec")
84 proto.RegisterType((*JobStatus)(nil), "k8s.io.api.batch.v1.JobStatus")
85}
86func (m *Job) Marshal() (dAtA []byte, err error) {
87 size := m.Size()
88 dAtA = make([]byte, size)
89 n, err := m.MarshalTo(dAtA)
90 if err != nil {
91 return nil, err
92 }
93 return dAtA[:n], nil
94}
95
96func (m *Job) MarshalTo(dAtA []byte) (int, error) {
97 var i int
98 _ = i
99 var l int
100 _ = l
101 dAtA[i] = 0xa
102 i++
103 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
104 n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
105 if err != nil {
106 return 0, err
107 }
108 i += n1
109 dAtA[i] = 0x12
110 i++
111 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
112 n2, err := m.Spec.MarshalTo(dAtA[i:])
113 if err != nil {
114 return 0, err
115 }
116 i += n2
117 dAtA[i] = 0x1a
118 i++
119 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
120 n3, err := m.Status.MarshalTo(dAtA[i:])
121 if err != nil {
122 return 0, err
123 }
124 i += n3
125 return i, nil
126}
127
128func (m *JobCondition) Marshal() (dAtA []byte, err error) {
129 size := m.Size()
130 dAtA = make([]byte, size)
131 n, err := m.MarshalTo(dAtA)
132 if err != nil {
133 return nil, err
134 }
135 return dAtA[:n], nil
136}
137
138func (m *JobCondition) MarshalTo(dAtA []byte) (int, error) {
139 var i int
140 _ = i
141 var l int
142 _ = l
143 dAtA[i] = 0xa
144 i++
145 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
146 i += copy(dAtA[i:], m.Type)
147 dAtA[i] = 0x12
148 i++
149 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
150 i += copy(dAtA[i:], m.Status)
151 dAtA[i] = 0x1a
152 i++
153 i = encodeVarintGenerated(dAtA, i, uint64(m.LastProbeTime.Size()))
154 n4, err := m.LastProbeTime.MarshalTo(dAtA[i:])
155 if err != nil {
156 return 0, err
157 }
158 i += n4
159 dAtA[i] = 0x22
160 i++
161 i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
162 n5, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
163 if err != nil {
164 return 0, err
165 }
166 i += n5
167 dAtA[i] = 0x2a
168 i++
169 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
170 i += copy(dAtA[i:], m.Reason)
171 dAtA[i] = 0x32
172 i++
173 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
174 i += copy(dAtA[i:], m.Message)
175 return i, nil
176}
177
178func (m *JobList) Marshal() (dAtA []byte, err error) {
179 size := m.Size()
180 dAtA = make([]byte, size)
181 n, err := m.MarshalTo(dAtA)
182 if err != nil {
183 return nil, err
184 }
185 return dAtA[:n], nil
186}
187
188func (m *JobList) MarshalTo(dAtA []byte) (int, error) {
189 var i int
190 _ = i
191 var l int
192 _ = l
193 dAtA[i] = 0xa
194 i++
195 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
196 n6, err := m.ListMeta.MarshalTo(dAtA[i:])
197 if err != nil {
198 return 0, err
199 }
200 i += n6
201 if len(m.Items) > 0 {
202 for _, msg := range m.Items {
203 dAtA[i] = 0x12
204 i++
205 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
206 n, err := msg.MarshalTo(dAtA[i:])
207 if err != nil {
208 return 0, err
209 }
210 i += n
211 }
212 }
213 return i, nil
214}
215
216func (m *JobSpec) Marshal() (dAtA []byte, err error) {
217 size := m.Size()
218 dAtA = make([]byte, size)
219 n, err := m.MarshalTo(dAtA)
220 if err != nil {
221 return nil, err
222 }
223 return dAtA[:n], nil
224}
225
226func (m *JobSpec) MarshalTo(dAtA []byte) (int, error) {
227 var i int
228 _ = i
229 var l int
230 _ = l
231 if m.Parallelism != nil {
232 dAtA[i] = 0x8
233 i++
234 i = encodeVarintGenerated(dAtA, i, uint64(*m.Parallelism))
235 }
236 if m.Completions != nil {
237 dAtA[i] = 0x10
238 i++
239 i = encodeVarintGenerated(dAtA, i, uint64(*m.Completions))
240 }
241 if m.ActiveDeadlineSeconds != nil {
242 dAtA[i] = 0x18
243 i++
244 i = encodeVarintGenerated(dAtA, i, uint64(*m.ActiveDeadlineSeconds))
245 }
246 if m.Selector != nil {
247 dAtA[i] = 0x22
248 i++
249 i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
250 n7, err := m.Selector.MarshalTo(dAtA[i:])
251 if err != nil {
252 return 0, err
253 }
254 i += n7
255 }
256 if m.ManualSelector != nil {
257 dAtA[i] = 0x28
258 i++
259 if *m.ManualSelector {
260 dAtA[i] = 1
261 } else {
262 dAtA[i] = 0
263 }
264 i++
265 }
266 dAtA[i] = 0x32
267 i++
268 i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
269 n8, err := m.Template.MarshalTo(dAtA[i:])
270 if err != nil {
271 return 0, err
272 }
273 i += n8
274 if m.BackoffLimit != nil {
275 dAtA[i] = 0x38
276 i++
277 i = encodeVarintGenerated(dAtA, i, uint64(*m.BackoffLimit))
278 }
279 return i, nil
280}
281
282func (m *JobStatus) Marshal() (dAtA []byte, err error) {
283 size := m.Size()
284 dAtA = make([]byte, size)
285 n, err := m.MarshalTo(dAtA)
286 if err != nil {
287 return nil, err
288 }
289 return dAtA[:n], nil
290}
291
292func (m *JobStatus) MarshalTo(dAtA []byte) (int, error) {
293 var i int
294 _ = i
295 var l int
296 _ = l
297 if len(m.Conditions) > 0 {
298 for _, msg := range m.Conditions {
299 dAtA[i] = 0xa
300 i++
301 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
302 n, err := msg.MarshalTo(dAtA[i:])
303 if err != nil {
304 return 0, err
305 }
306 i += n
307 }
308 }
309 if m.StartTime != nil {
310 dAtA[i] = 0x12
311 i++
312 i = encodeVarintGenerated(dAtA, i, uint64(m.StartTime.Size()))
313 n9, err := m.StartTime.MarshalTo(dAtA[i:])
314 if err != nil {
315 return 0, err
316 }
317 i += n9
318 }
319 if m.CompletionTime != nil {
320 dAtA[i] = 0x1a
321 i++
322 i = encodeVarintGenerated(dAtA, i, uint64(m.CompletionTime.Size()))
323 n10, err := m.CompletionTime.MarshalTo(dAtA[i:])
324 if err != nil {
325 return 0, err
326 }
327 i += n10
328 }
329 dAtA[i] = 0x20
330 i++
331 i = encodeVarintGenerated(dAtA, i, uint64(m.Active))
332 dAtA[i] = 0x28
333 i++
334 i = encodeVarintGenerated(dAtA, i, uint64(m.Succeeded))
335 dAtA[i] = 0x30
336 i++
337 i = encodeVarintGenerated(dAtA, i, uint64(m.Failed))
338 return i, nil
339}
340
341func encodeFixed64Generated(dAtA []byte, offset int, v uint64) int {
342 dAtA[offset] = uint8(v)
343 dAtA[offset+1] = uint8(v >> 8)
344 dAtA[offset+2] = uint8(v >> 16)
345 dAtA[offset+3] = uint8(v >> 24)
346 dAtA[offset+4] = uint8(v >> 32)
347 dAtA[offset+5] = uint8(v >> 40)
348 dAtA[offset+6] = uint8(v >> 48)
349 dAtA[offset+7] = uint8(v >> 56)
350 return offset + 8
351}
352func encodeFixed32Generated(dAtA []byte, offset int, v uint32) int {
353 dAtA[offset] = uint8(v)
354 dAtA[offset+1] = uint8(v >> 8)
355 dAtA[offset+2] = uint8(v >> 16)
356 dAtA[offset+3] = uint8(v >> 24)
357 return offset + 4
358}
359func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
360 for v >= 1<<7 {
361 dAtA[offset] = uint8(v&0x7f | 0x80)
362 v >>= 7
363 offset++
364 }
365 dAtA[offset] = uint8(v)
366 return offset + 1
367}
368func (m *Job) Size() (n int) {
369 var l int
370 _ = l
371 l = m.ObjectMeta.Size()
372 n += 1 + l + sovGenerated(uint64(l))
373 l = m.Spec.Size()
374 n += 1 + l + sovGenerated(uint64(l))
375 l = m.Status.Size()
376 n += 1 + l + sovGenerated(uint64(l))
377 return n
378}
379
380func (m *JobCondition) Size() (n int) {
381 var l int
382 _ = l
383 l = len(m.Type)
384 n += 1 + l + sovGenerated(uint64(l))
385 l = len(m.Status)
386 n += 1 + l + sovGenerated(uint64(l))
387 l = m.LastProbeTime.Size()
388 n += 1 + l + sovGenerated(uint64(l))
389 l = m.LastTransitionTime.Size()
390 n += 1 + l + sovGenerated(uint64(l))
391 l = len(m.Reason)
392 n += 1 + l + sovGenerated(uint64(l))
393 l = len(m.Message)
394 n += 1 + l + sovGenerated(uint64(l))
395 return n
396}
397
398func (m *JobList) Size() (n int) {
399 var l int
400 _ = l
401 l = m.ListMeta.Size()
402 n += 1 + l + sovGenerated(uint64(l))
403 if len(m.Items) > 0 {
404 for _, e := range m.Items {
405 l = e.Size()
406 n += 1 + l + sovGenerated(uint64(l))
407 }
408 }
409 return n
410}
411
412func (m *JobSpec) Size() (n int) {
413 var l int
414 _ = l
415 if m.Parallelism != nil {
416 n += 1 + sovGenerated(uint64(*m.Parallelism))
417 }
418 if m.Completions != nil {
419 n += 1 + sovGenerated(uint64(*m.Completions))
420 }
421 if m.ActiveDeadlineSeconds != nil {
422 n += 1 + sovGenerated(uint64(*m.ActiveDeadlineSeconds))
423 }
424 if m.Selector != nil {
425 l = m.Selector.Size()
426 n += 1 + l + sovGenerated(uint64(l))
427 }
428 if m.ManualSelector != nil {
429 n += 2
430 }
431 l = m.Template.Size()
432 n += 1 + l + sovGenerated(uint64(l))
433 if m.BackoffLimit != nil {
434 n += 1 + sovGenerated(uint64(*m.BackoffLimit))
435 }
436 return n
437}
438
439func (m *JobStatus) Size() (n int) {
440 var l int
441 _ = l
442 if len(m.Conditions) > 0 {
443 for _, e := range m.Conditions {
444 l = e.Size()
445 n += 1 + l + sovGenerated(uint64(l))
446 }
447 }
448 if m.StartTime != nil {
449 l = m.StartTime.Size()
450 n += 1 + l + sovGenerated(uint64(l))
451 }
452 if m.CompletionTime != nil {
453 l = m.CompletionTime.Size()
454 n += 1 + l + sovGenerated(uint64(l))
455 }
456 n += 1 + sovGenerated(uint64(m.Active))
457 n += 1 + sovGenerated(uint64(m.Succeeded))
458 n += 1 + sovGenerated(uint64(m.Failed))
459 return n
460}
461
462func sovGenerated(x uint64) (n int) {
463 for {
464 n++
465 x >>= 7
466 if x == 0 {
467 break
468 }
469 }
470 return n
471}
472func sozGenerated(x uint64) (n int) {
473 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
474}
475func (this *Job) String() string {
476 if this == nil {
477 return "nil"
478 }
479 s := strings.Join([]string{`&Job{`,
480 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
481 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "JobSpec", "JobSpec", 1), `&`, ``, 1) + `,`,
482 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "JobStatus", "JobStatus", 1), `&`, ``, 1) + `,`,
483 `}`,
484 }, "")
485 return s
486}
487func (this *JobCondition) String() string {
488 if this == nil {
489 return "nil"
490 }
491 s := strings.Join([]string{`&JobCondition{`,
492 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
493 `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
494 `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
495 `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
496 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
497 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
498 `}`,
499 }, "")
500 return s
501}
502func (this *JobList) String() string {
503 if this == nil {
504 return "nil"
505 }
506 s := strings.Join([]string{`&JobList{`,
507 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
508 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Job", "Job", 1), `&`, ``, 1) + `,`,
509 `}`,
510 }, "")
511 return s
512}
513func (this *JobSpec) String() string {
514 if this == nil {
515 return "nil"
516 }
517 s := strings.Join([]string{`&JobSpec{`,
518 `Parallelism:` + valueToStringGenerated(this.Parallelism) + `,`,
519 `Completions:` + valueToStringGenerated(this.Completions) + `,`,
520 `ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`,
521 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
522 `ManualSelector:` + valueToStringGenerated(this.ManualSelector) + `,`,
523 `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
524 `BackoffLimit:` + valueToStringGenerated(this.BackoffLimit) + `,`,
525 `}`,
526 }, "")
527 return s
528}
529func (this *JobStatus) String() string {
530 if this == nil {
531 return "nil"
532 }
533 s := strings.Join([]string{`&JobStatus{`,
534 `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "JobCondition", "JobCondition", 1), `&`, ``, 1) + `,`,
535 `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
536 `CompletionTime:` + strings.Replace(fmt.Sprintf("%v", this.CompletionTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
537 `Active:` + fmt.Sprintf("%v", this.Active) + `,`,
538 `Succeeded:` + fmt.Sprintf("%v", this.Succeeded) + `,`,
539 `Failed:` + fmt.Sprintf("%v", this.Failed) + `,`,
540 `}`,
541 }, "")
542 return s
543}
544func valueToStringGenerated(v interface{}) string {
545 rv := reflect.ValueOf(v)
546 if rv.IsNil() {
547 return "nil"
548 }
549 pv := reflect.Indirect(rv).Interface()
550 return fmt.Sprintf("*%v", pv)
551}
552func (m *Job) Unmarshal(dAtA []byte) error {
553 l := len(dAtA)
554 iNdEx := 0
555 for iNdEx < l {
556 preIndex := iNdEx
557 var wire uint64
558 for shift := uint(0); ; shift += 7 {
559 if shift >= 64 {
560 return ErrIntOverflowGenerated
561 }
562 if iNdEx >= l {
563 return io.ErrUnexpectedEOF
564 }
565 b := dAtA[iNdEx]
566 iNdEx++
567 wire |= (uint64(b) & 0x7F) << shift
568 if b < 0x80 {
569 break
570 }
571 }
572 fieldNum := int32(wire >> 3)
573 wireType := int(wire & 0x7)
574 if wireType == 4 {
575 return fmt.Errorf("proto: Job: wiretype end group for non-group")
576 }
577 if fieldNum <= 0 {
578 return fmt.Errorf("proto: Job: illegal tag %d (wire type %d)", fieldNum, wire)
579 }
580 switch fieldNum {
581 case 1:
582 if wireType != 2 {
583 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
584 }
585 var msglen int
586 for shift := uint(0); ; shift += 7 {
587 if shift >= 64 {
588 return ErrIntOverflowGenerated
589 }
590 if iNdEx >= l {
591 return io.ErrUnexpectedEOF
592 }
593 b := dAtA[iNdEx]
594 iNdEx++
595 msglen |= (int(b) & 0x7F) << shift
596 if b < 0x80 {
597 break
598 }
599 }
600 if msglen < 0 {
601 return ErrInvalidLengthGenerated
602 }
603 postIndex := iNdEx + msglen
604 if postIndex > l {
605 return io.ErrUnexpectedEOF
606 }
607 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
608 return err
609 }
610 iNdEx = postIndex
611 case 2:
612 if wireType != 2 {
613 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
614 }
615 var msglen int
616 for shift := uint(0); ; shift += 7 {
617 if shift >= 64 {
618 return ErrIntOverflowGenerated
619 }
620 if iNdEx >= l {
621 return io.ErrUnexpectedEOF
622 }
623 b := dAtA[iNdEx]
624 iNdEx++
625 msglen |= (int(b) & 0x7F) << shift
626 if b < 0x80 {
627 break
628 }
629 }
630 if msglen < 0 {
631 return ErrInvalidLengthGenerated
632 }
633 postIndex := iNdEx + msglen
634 if postIndex > l {
635 return io.ErrUnexpectedEOF
636 }
637 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
638 return err
639 }
640 iNdEx = postIndex
641 case 3:
642 if wireType != 2 {
643 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
644 }
645 var msglen int
646 for shift := uint(0); ; shift += 7 {
647 if shift >= 64 {
648 return ErrIntOverflowGenerated
649 }
650 if iNdEx >= l {
651 return io.ErrUnexpectedEOF
652 }
653 b := dAtA[iNdEx]
654 iNdEx++
655 msglen |= (int(b) & 0x7F) << shift
656 if b < 0x80 {
657 break
658 }
659 }
660 if msglen < 0 {
661 return ErrInvalidLengthGenerated
662 }
663 postIndex := iNdEx + msglen
664 if postIndex > l {
665 return io.ErrUnexpectedEOF
666 }
667 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
668 return err
669 }
670 iNdEx = postIndex
671 default:
672 iNdEx = preIndex
673 skippy, err := skipGenerated(dAtA[iNdEx:])
674 if err != nil {
675 return err
676 }
677 if skippy < 0 {
678 return ErrInvalidLengthGenerated
679 }
680 if (iNdEx + skippy) > l {
681 return io.ErrUnexpectedEOF
682 }
683 iNdEx += skippy
684 }
685 }
686
687 if iNdEx > l {
688 return io.ErrUnexpectedEOF
689 }
690 return nil
691}
692func (m *JobCondition) Unmarshal(dAtA []byte) error {
693 l := len(dAtA)
694 iNdEx := 0
695 for iNdEx < l {
696 preIndex := iNdEx
697 var wire uint64
698 for shift := uint(0); ; shift += 7 {
699 if shift >= 64 {
700 return ErrIntOverflowGenerated
701 }
702 if iNdEx >= l {
703 return io.ErrUnexpectedEOF
704 }
705 b := dAtA[iNdEx]
706 iNdEx++
707 wire |= (uint64(b) & 0x7F) << shift
708 if b < 0x80 {
709 break
710 }
711 }
712 fieldNum := int32(wire >> 3)
713 wireType := int(wire & 0x7)
714 if wireType == 4 {
715 return fmt.Errorf("proto: JobCondition: wiretype end group for non-group")
716 }
717 if fieldNum <= 0 {
718 return fmt.Errorf("proto: JobCondition: illegal tag %d (wire type %d)", fieldNum, wire)
719 }
720 switch fieldNum {
721 case 1:
722 if wireType != 2 {
723 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
724 }
725 var stringLen uint64
726 for shift := uint(0); ; shift += 7 {
727 if shift >= 64 {
728 return ErrIntOverflowGenerated
729 }
730 if iNdEx >= l {
731 return io.ErrUnexpectedEOF
732 }
733 b := dAtA[iNdEx]
734 iNdEx++
735 stringLen |= (uint64(b) & 0x7F) << shift
736 if b < 0x80 {
737 break
738 }
739 }
740 intStringLen := int(stringLen)
741 if intStringLen < 0 {
742 return ErrInvalidLengthGenerated
743 }
744 postIndex := iNdEx + intStringLen
745 if postIndex > l {
746 return io.ErrUnexpectedEOF
747 }
748 m.Type = JobConditionType(dAtA[iNdEx:postIndex])
749 iNdEx = postIndex
750 case 2:
751 if wireType != 2 {
752 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
753 }
754 var stringLen uint64
755 for shift := uint(0); ; shift += 7 {
756 if shift >= 64 {
757 return ErrIntOverflowGenerated
758 }
759 if iNdEx >= l {
760 return io.ErrUnexpectedEOF
761 }
762 b := dAtA[iNdEx]
763 iNdEx++
764 stringLen |= (uint64(b) & 0x7F) << shift
765 if b < 0x80 {
766 break
767 }
768 }
769 intStringLen := int(stringLen)
770 if intStringLen < 0 {
771 return ErrInvalidLengthGenerated
772 }
773 postIndex := iNdEx + intStringLen
774 if postIndex > l {
775 return io.ErrUnexpectedEOF
776 }
777 m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
778 iNdEx = postIndex
779 case 3:
780 if wireType != 2 {
781 return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType)
782 }
783 var msglen int
784 for shift := uint(0); ; shift += 7 {
785 if shift >= 64 {
786 return ErrIntOverflowGenerated
787 }
788 if iNdEx >= l {
789 return io.ErrUnexpectedEOF
790 }
791 b := dAtA[iNdEx]
792 iNdEx++
793 msglen |= (int(b) & 0x7F) << shift
794 if b < 0x80 {
795 break
796 }
797 }
798 if msglen < 0 {
799 return ErrInvalidLengthGenerated
800 }
801 postIndex := iNdEx + msglen
802 if postIndex > l {
803 return io.ErrUnexpectedEOF
804 }
805 if err := m.LastProbeTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
806 return err
807 }
808 iNdEx = postIndex
809 case 4:
810 if wireType != 2 {
811 return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
812 }
813 var msglen int
814 for shift := uint(0); ; shift += 7 {
815 if shift >= 64 {
816 return ErrIntOverflowGenerated
817 }
818 if iNdEx >= l {
819 return io.ErrUnexpectedEOF
820 }
821 b := dAtA[iNdEx]
822 iNdEx++
823 msglen |= (int(b) & 0x7F) << shift
824 if b < 0x80 {
825 break
826 }
827 }
828 if msglen < 0 {
829 return ErrInvalidLengthGenerated
830 }
831 postIndex := iNdEx + msglen
832 if postIndex > l {
833 return io.ErrUnexpectedEOF
834 }
835 if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
836 return err
837 }
838 iNdEx = postIndex
839 case 5:
840 if wireType != 2 {
841 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
842 }
843 var stringLen uint64
844 for shift := uint(0); ; shift += 7 {
845 if shift >= 64 {
846 return ErrIntOverflowGenerated
847 }
848 if iNdEx >= l {
849 return io.ErrUnexpectedEOF
850 }
851 b := dAtA[iNdEx]
852 iNdEx++
853 stringLen |= (uint64(b) & 0x7F) << shift
854 if b < 0x80 {
855 break
856 }
857 }
858 intStringLen := int(stringLen)
859 if intStringLen < 0 {
860 return ErrInvalidLengthGenerated
861 }
862 postIndex := iNdEx + intStringLen
863 if postIndex > l {
864 return io.ErrUnexpectedEOF
865 }
866 m.Reason = string(dAtA[iNdEx:postIndex])
867 iNdEx = postIndex
868 case 6:
869 if wireType != 2 {
870 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
871 }
872 var stringLen uint64
873 for shift := uint(0); ; shift += 7 {
874 if shift >= 64 {
875 return ErrIntOverflowGenerated
876 }
877 if iNdEx >= l {
878 return io.ErrUnexpectedEOF
879 }
880 b := dAtA[iNdEx]
881 iNdEx++
882 stringLen |= (uint64(b) & 0x7F) << shift
883 if b < 0x80 {
884 break
885 }
886 }
887 intStringLen := int(stringLen)
888 if intStringLen < 0 {
889 return ErrInvalidLengthGenerated
890 }
891 postIndex := iNdEx + intStringLen
892 if postIndex > l {
893 return io.ErrUnexpectedEOF
894 }
895 m.Message = string(dAtA[iNdEx:postIndex])
896 iNdEx = postIndex
897 default:
898 iNdEx = preIndex
899 skippy, err := skipGenerated(dAtA[iNdEx:])
900 if err != nil {
901 return err
902 }
903 if skippy < 0 {
904 return ErrInvalidLengthGenerated
905 }
906 if (iNdEx + skippy) > l {
907 return io.ErrUnexpectedEOF
908 }
909 iNdEx += skippy
910 }
911 }
912
913 if iNdEx > l {
914 return io.ErrUnexpectedEOF
915 }
916 return nil
917}
918func (m *JobList) Unmarshal(dAtA []byte) error {
919 l := len(dAtA)
920 iNdEx := 0
921 for iNdEx < l {
922 preIndex := iNdEx
923 var wire uint64
924 for shift := uint(0); ; shift += 7 {
925 if shift >= 64 {
926 return ErrIntOverflowGenerated
927 }
928 if iNdEx >= l {
929 return io.ErrUnexpectedEOF
930 }
931 b := dAtA[iNdEx]
932 iNdEx++
933 wire |= (uint64(b) & 0x7F) << shift
934 if b < 0x80 {
935 break
936 }
937 }
938 fieldNum := int32(wire >> 3)
939 wireType := int(wire & 0x7)
940 if wireType == 4 {
941 return fmt.Errorf("proto: JobList: wiretype end group for non-group")
942 }
943 if fieldNum <= 0 {
944 return fmt.Errorf("proto: JobList: illegal tag %d (wire type %d)", fieldNum, wire)
945 }
946 switch fieldNum {
947 case 1:
948 if wireType != 2 {
949 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
950 }
951 var msglen int
952 for shift := uint(0); ; shift += 7 {
953 if shift >= 64 {
954 return ErrIntOverflowGenerated
955 }
956 if iNdEx >= l {
957 return io.ErrUnexpectedEOF
958 }
959 b := dAtA[iNdEx]
960 iNdEx++
961 msglen |= (int(b) & 0x7F) << shift
962 if b < 0x80 {
963 break
964 }
965 }
966 if msglen < 0 {
967 return ErrInvalidLengthGenerated
968 }
969 postIndex := iNdEx + msglen
970 if postIndex > l {
971 return io.ErrUnexpectedEOF
972 }
973 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
974 return err
975 }
976 iNdEx = postIndex
977 case 2:
978 if wireType != 2 {
979 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
980 }
981 var msglen int
982 for shift := uint(0); ; shift += 7 {
983 if shift >= 64 {
984 return ErrIntOverflowGenerated
985 }
986 if iNdEx >= l {
987 return io.ErrUnexpectedEOF
988 }
989 b := dAtA[iNdEx]
990 iNdEx++
991 msglen |= (int(b) & 0x7F) << shift
992 if b < 0x80 {
993 break
994 }
995 }
996 if msglen < 0 {
997 return ErrInvalidLengthGenerated
998 }
999 postIndex := iNdEx + msglen
1000 if postIndex > l {
1001 return io.ErrUnexpectedEOF
1002 }
1003 m.Items = append(m.Items, Job{})
1004 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1005 return err
1006 }
1007 iNdEx = postIndex
1008 default:
1009 iNdEx = preIndex
1010 skippy, err := skipGenerated(dAtA[iNdEx:])
1011 if err != nil {
1012 return err
1013 }
1014 if skippy < 0 {
1015 return ErrInvalidLengthGenerated
1016 }
1017 if (iNdEx + skippy) > l {
1018 return io.ErrUnexpectedEOF
1019 }
1020 iNdEx += skippy
1021 }
1022 }
1023
1024 if iNdEx > l {
1025 return io.ErrUnexpectedEOF
1026 }
1027 return nil
1028}
1029func (m *JobSpec) Unmarshal(dAtA []byte) error {
1030 l := len(dAtA)
1031 iNdEx := 0
1032 for iNdEx < l {
1033 preIndex := iNdEx
1034 var wire uint64
1035 for shift := uint(0); ; shift += 7 {
1036 if shift >= 64 {
1037 return ErrIntOverflowGenerated
1038 }
1039 if iNdEx >= l {
1040 return io.ErrUnexpectedEOF
1041 }
1042 b := dAtA[iNdEx]
1043 iNdEx++
1044 wire |= (uint64(b) & 0x7F) << shift
1045 if b < 0x80 {
1046 break
1047 }
1048 }
1049 fieldNum := int32(wire >> 3)
1050 wireType := int(wire & 0x7)
1051 if wireType == 4 {
1052 return fmt.Errorf("proto: JobSpec: wiretype end group for non-group")
1053 }
1054 if fieldNum <= 0 {
1055 return fmt.Errorf("proto: JobSpec: illegal tag %d (wire type %d)", fieldNum, wire)
1056 }
1057 switch fieldNum {
1058 case 1:
1059 if wireType != 0 {
1060 return fmt.Errorf("proto: wrong wireType = %d for field Parallelism", wireType)
1061 }
1062 var v int32
1063 for shift := uint(0); ; shift += 7 {
1064 if shift >= 64 {
1065 return ErrIntOverflowGenerated
1066 }
1067 if iNdEx >= l {
1068 return io.ErrUnexpectedEOF
1069 }
1070 b := dAtA[iNdEx]
1071 iNdEx++
1072 v |= (int32(b) & 0x7F) << shift
1073 if b < 0x80 {
1074 break
1075 }
1076 }
1077 m.Parallelism = &v
1078 case 2:
1079 if wireType != 0 {
1080 return fmt.Errorf("proto: wrong wireType = %d for field Completions", wireType)
1081 }
1082 var v int32
1083 for shift := uint(0); ; shift += 7 {
1084 if shift >= 64 {
1085 return ErrIntOverflowGenerated
1086 }
1087 if iNdEx >= l {
1088 return io.ErrUnexpectedEOF
1089 }
1090 b := dAtA[iNdEx]
1091 iNdEx++
1092 v |= (int32(b) & 0x7F) << shift
1093 if b < 0x80 {
1094 break
1095 }
1096 }
1097 m.Completions = &v
1098 case 3:
1099 if wireType != 0 {
1100 return fmt.Errorf("proto: wrong wireType = %d for field ActiveDeadlineSeconds", wireType)
1101 }
1102 var v int64
1103 for shift := uint(0); ; shift += 7 {
1104 if shift >= 64 {
1105 return ErrIntOverflowGenerated
1106 }
1107 if iNdEx >= l {
1108 return io.ErrUnexpectedEOF
1109 }
1110 b := dAtA[iNdEx]
1111 iNdEx++
1112 v |= (int64(b) & 0x7F) << shift
1113 if b < 0x80 {
1114 break
1115 }
1116 }
1117 m.ActiveDeadlineSeconds = &v
1118 case 4:
1119 if wireType != 2 {
1120 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
1121 }
1122 var msglen int
1123 for shift := uint(0); ; shift += 7 {
1124 if shift >= 64 {
1125 return ErrIntOverflowGenerated
1126 }
1127 if iNdEx >= l {
1128 return io.ErrUnexpectedEOF
1129 }
1130 b := dAtA[iNdEx]
1131 iNdEx++
1132 msglen |= (int(b) & 0x7F) << shift
1133 if b < 0x80 {
1134 break
1135 }
1136 }
1137 if msglen < 0 {
1138 return ErrInvalidLengthGenerated
1139 }
1140 postIndex := iNdEx + msglen
1141 if postIndex > l {
1142 return io.ErrUnexpectedEOF
1143 }
1144 if m.Selector == nil {
1145 m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
1146 }
1147 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1148 return err
1149 }
1150 iNdEx = postIndex
1151 case 5:
1152 if wireType != 0 {
1153 return fmt.Errorf("proto: wrong wireType = %d for field ManualSelector", wireType)
1154 }
1155 var v int
1156 for shift := uint(0); ; shift += 7 {
1157 if shift >= 64 {
1158 return ErrIntOverflowGenerated
1159 }
1160 if iNdEx >= l {
1161 return io.ErrUnexpectedEOF
1162 }
1163 b := dAtA[iNdEx]
1164 iNdEx++
1165 v |= (int(b) & 0x7F) << shift
1166 if b < 0x80 {
1167 break
1168 }
1169 }
1170 b := bool(v != 0)
1171 m.ManualSelector = &b
1172 case 6:
1173 if wireType != 2 {
1174 return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
1175 }
1176 var msglen int
1177 for shift := uint(0); ; shift += 7 {
1178 if shift >= 64 {
1179 return ErrIntOverflowGenerated
1180 }
1181 if iNdEx >= l {
1182 return io.ErrUnexpectedEOF
1183 }
1184 b := dAtA[iNdEx]
1185 iNdEx++
1186 msglen |= (int(b) & 0x7F) << shift
1187 if b < 0x80 {
1188 break
1189 }
1190 }
1191 if msglen < 0 {
1192 return ErrInvalidLengthGenerated
1193 }
1194 postIndex := iNdEx + msglen
1195 if postIndex > l {
1196 return io.ErrUnexpectedEOF
1197 }
1198 if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1199 return err
1200 }
1201 iNdEx = postIndex
1202 case 7:
1203 if wireType != 0 {
1204 return fmt.Errorf("proto: wrong wireType = %d for field BackoffLimit", wireType)
1205 }
1206 var v int32
1207 for shift := uint(0); ; shift += 7 {
1208 if shift >= 64 {
1209 return ErrIntOverflowGenerated
1210 }
1211 if iNdEx >= l {
1212 return io.ErrUnexpectedEOF
1213 }
1214 b := dAtA[iNdEx]
1215 iNdEx++
1216 v |= (int32(b) & 0x7F) << shift
1217 if b < 0x80 {
1218 break
1219 }
1220 }
1221 m.BackoffLimit = &v
1222 default:
1223 iNdEx = preIndex
1224 skippy, err := skipGenerated(dAtA[iNdEx:])
1225 if err != nil {
1226 return err
1227 }
1228 if skippy < 0 {
1229 return ErrInvalidLengthGenerated
1230 }
1231 if (iNdEx + skippy) > l {
1232 return io.ErrUnexpectedEOF
1233 }
1234 iNdEx += skippy
1235 }
1236 }
1237
1238 if iNdEx > l {
1239 return io.ErrUnexpectedEOF
1240 }
1241 return nil
1242}
1243func (m *JobStatus) Unmarshal(dAtA []byte) error {
1244 l := len(dAtA)
1245 iNdEx := 0
1246 for iNdEx < l {
1247 preIndex := iNdEx
1248 var wire uint64
1249 for shift := uint(0); ; shift += 7 {
1250 if shift >= 64 {
1251 return ErrIntOverflowGenerated
1252 }
1253 if iNdEx >= l {
1254 return io.ErrUnexpectedEOF
1255 }
1256 b := dAtA[iNdEx]
1257 iNdEx++
1258 wire |= (uint64(b) & 0x7F) << shift
1259 if b < 0x80 {
1260 break
1261 }
1262 }
1263 fieldNum := int32(wire >> 3)
1264 wireType := int(wire & 0x7)
1265 if wireType == 4 {
1266 return fmt.Errorf("proto: JobStatus: wiretype end group for non-group")
1267 }
1268 if fieldNum <= 0 {
1269 return fmt.Errorf("proto: JobStatus: illegal tag %d (wire type %d)", fieldNum, wire)
1270 }
1271 switch fieldNum {
1272 case 1:
1273 if wireType != 2 {
1274 return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
1275 }
1276 var msglen int
1277 for shift := uint(0); ; shift += 7 {
1278 if shift >= 64 {
1279 return ErrIntOverflowGenerated
1280 }
1281 if iNdEx >= l {
1282 return io.ErrUnexpectedEOF
1283 }
1284 b := dAtA[iNdEx]
1285 iNdEx++
1286 msglen |= (int(b) & 0x7F) << shift
1287 if b < 0x80 {
1288 break
1289 }
1290 }
1291 if msglen < 0 {
1292 return ErrInvalidLengthGenerated
1293 }
1294 postIndex := iNdEx + msglen
1295 if postIndex > l {
1296 return io.ErrUnexpectedEOF
1297 }
1298 m.Conditions = append(m.Conditions, JobCondition{})
1299 if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1300 return err
1301 }
1302 iNdEx = postIndex
1303 case 2:
1304 if wireType != 2 {
1305 return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
1306 }
1307 var msglen int
1308 for shift := uint(0); ; shift += 7 {
1309 if shift >= 64 {
1310 return ErrIntOverflowGenerated
1311 }
1312 if iNdEx >= l {
1313 return io.ErrUnexpectedEOF
1314 }
1315 b := dAtA[iNdEx]
1316 iNdEx++
1317 msglen |= (int(b) & 0x7F) << shift
1318 if b < 0x80 {
1319 break
1320 }
1321 }
1322 if msglen < 0 {
1323 return ErrInvalidLengthGenerated
1324 }
1325 postIndex := iNdEx + msglen
1326 if postIndex > l {
1327 return io.ErrUnexpectedEOF
1328 }
1329 if m.StartTime == nil {
1330 m.StartTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
1331 }
1332 if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1333 return err
1334 }
1335 iNdEx = postIndex
1336 case 3:
1337 if wireType != 2 {
1338 return fmt.Errorf("proto: wrong wireType = %d for field CompletionTime", wireType)
1339 }
1340 var msglen int
1341 for shift := uint(0); ; shift += 7 {
1342 if shift >= 64 {
1343 return ErrIntOverflowGenerated
1344 }
1345 if iNdEx >= l {
1346 return io.ErrUnexpectedEOF
1347 }
1348 b := dAtA[iNdEx]
1349 iNdEx++
1350 msglen |= (int(b) & 0x7F) << shift
1351 if b < 0x80 {
1352 break
1353 }
1354 }
1355 if msglen < 0 {
1356 return ErrInvalidLengthGenerated
1357 }
1358 postIndex := iNdEx + msglen
1359 if postIndex > l {
1360 return io.ErrUnexpectedEOF
1361 }
1362 if m.CompletionTime == nil {
1363 m.CompletionTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
1364 }
1365 if err := m.CompletionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1366 return err
1367 }
1368 iNdEx = postIndex
1369 case 4:
1370 if wireType != 0 {
1371 return fmt.Errorf("proto: wrong wireType = %d for field Active", wireType)
1372 }
1373 m.Active = 0
1374 for shift := uint(0); ; shift += 7 {
1375 if shift >= 64 {
1376 return ErrIntOverflowGenerated
1377 }
1378 if iNdEx >= l {
1379 return io.ErrUnexpectedEOF
1380 }
1381 b := dAtA[iNdEx]
1382 iNdEx++
1383 m.Active |= (int32(b) & 0x7F) << shift
1384 if b < 0x80 {
1385 break
1386 }
1387 }
1388 case 5:
1389 if wireType != 0 {
1390 return fmt.Errorf("proto: wrong wireType = %d for field Succeeded", wireType)
1391 }
1392 m.Succeeded = 0
1393 for shift := uint(0); ; shift += 7 {
1394 if shift >= 64 {
1395 return ErrIntOverflowGenerated
1396 }
1397 if iNdEx >= l {
1398 return io.ErrUnexpectedEOF
1399 }
1400 b := dAtA[iNdEx]
1401 iNdEx++
1402 m.Succeeded |= (int32(b) & 0x7F) << shift
1403 if b < 0x80 {
1404 break
1405 }
1406 }
1407 case 6:
1408 if wireType != 0 {
1409 return fmt.Errorf("proto: wrong wireType = %d for field Failed", wireType)
1410 }
1411 m.Failed = 0
1412 for shift := uint(0); ; shift += 7 {
1413 if shift >= 64 {
1414 return ErrIntOverflowGenerated
1415 }
1416 if iNdEx >= l {
1417 return io.ErrUnexpectedEOF
1418 }
1419 b := dAtA[iNdEx]
1420 iNdEx++
1421 m.Failed |= (int32(b) & 0x7F) << shift
1422 if b < 0x80 {
1423 break
1424 }
1425 }
1426 default:
1427 iNdEx = preIndex
1428 skippy, err := skipGenerated(dAtA[iNdEx:])
1429 if err != nil {
1430 return err
1431 }
1432 if skippy < 0 {
1433 return ErrInvalidLengthGenerated
1434 }
1435 if (iNdEx + skippy) > l {
1436 return io.ErrUnexpectedEOF
1437 }
1438 iNdEx += skippy
1439 }
1440 }
1441
1442 if iNdEx > l {
1443 return io.ErrUnexpectedEOF
1444 }
1445 return nil
1446}
1447func skipGenerated(dAtA []byte) (n int, err error) {
1448 l := len(dAtA)
1449 iNdEx := 0
1450 for iNdEx < l {
1451 var wire uint64
1452 for shift := uint(0); ; shift += 7 {
1453 if shift >= 64 {
1454 return 0, ErrIntOverflowGenerated
1455 }
1456 if iNdEx >= l {
1457 return 0, io.ErrUnexpectedEOF
1458 }
1459 b := dAtA[iNdEx]
1460 iNdEx++
1461 wire |= (uint64(b) & 0x7F) << shift
1462 if b < 0x80 {
1463 break
1464 }
1465 }
1466 wireType := int(wire & 0x7)
1467 switch wireType {
1468 case 0:
1469 for shift := uint(0); ; shift += 7 {
1470 if shift >= 64 {
1471 return 0, ErrIntOverflowGenerated
1472 }
1473 if iNdEx >= l {
1474 return 0, io.ErrUnexpectedEOF
1475 }
1476 iNdEx++
1477 if dAtA[iNdEx-1] < 0x80 {
1478 break
1479 }
1480 }
1481 return iNdEx, nil
1482 case 1:
1483 iNdEx += 8
1484 return iNdEx, nil
1485 case 2:
1486 var length int
1487 for shift := uint(0); ; shift += 7 {
1488 if shift >= 64 {
1489 return 0, ErrIntOverflowGenerated
1490 }
1491 if iNdEx >= l {
1492 return 0, io.ErrUnexpectedEOF
1493 }
1494 b := dAtA[iNdEx]
1495 iNdEx++
1496 length |= (int(b) & 0x7F) << shift
1497 if b < 0x80 {
1498 break
1499 }
1500 }
1501 iNdEx += length
1502 if length < 0 {
1503 return 0, ErrInvalidLengthGenerated
1504 }
1505 return iNdEx, nil
1506 case 3:
1507 for {
1508 var innerWire uint64
1509 var start int = iNdEx
1510 for shift := uint(0); ; shift += 7 {
1511 if shift >= 64 {
1512 return 0, ErrIntOverflowGenerated
1513 }
1514 if iNdEx >= l {
1515 return 0, io.ErrUnexpectedEOF
1516 }
1517 b := dAtA[iNdEx]
1518 iNdEx++
1519 innerWire |= (uint64(b) & 0x7F) << shift
1520 if b < 0x80 {
1521 break
1522 }
1523 }
1524 innerWireType := int(innerWire & 0x7)
1525 if innerWireType == 4 {
1526 break
1527 }
1528 next, err := skipGenerated(dAtA[start:])
1529 if err != nil {
1530 return 0, err
1531 }
1532 iNdEx = start + next
1533 }
1534 return iNdEx, nil
1535 case 4:
1536 return iNdEx, nil
1537 case 5:
1538 iNdEx += 4
1539 return iNdEx, nil
1540 default:
1541 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
1542 }
1543 }
1544 panic("unreachable")
1545}
1546
1547var (
1548 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
1549 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
1550)
1551
1552func init() {
1553 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/batch/v1/generated.proto", fileDescriptorGenerated)
1554}
1555
1556var fileDescriptorGenerated = []byte{
1557 // 907 bytes of a gzipped FileDescriptorProto
1558 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x41, 0x6f, 0xe3, 0x44,
1559 0x18, 0x8d, 0x9b, 0xa6, 0x4d, 0x26, 0x69, 0x77, 0x19, 0x54, 0x29, 0x54, 0xc8, 0x59, 0x82, 0x84,
1560 0x0a, 0x12, 0x36, 0xe9, 0x56, 0x08, 0x21, 0x40, 0xc2, 0x45, 0x2b, 0x51, 0xa5, 0xda, 0x32, 0x29,
1561 0x42, 0x42, 0x20, 0x31, 0xb6, 0xbf, 0xa4, 0x43, 0x6c, 0x8f, 0xe5, 0x99, 0x44, 0xea, 0x8d, 0x9f,
1562 0xc0, 0x8f, 0x40, 0xfc, 0x14, 0xd4, 0xe3, 0x1e, 0xf7, 0x14, 0x51, 0xc3, 0x9d, 0xfb, 0x9e, 0xd0,
1563 0x8c, 0x1d, 0xdb, 0x69, 0x13, 0xd1, 0xe5, 0x66, 0xbf, 0x79, 0xef, 0x7d, 0x33, 0xf3, 0xbd, 0xf9,
1564 0xd0, 0x67, 0xd3, 0x4f, 0x84, 0xc5, 0xb8, 0x3d, 0x9d, 0xb9, 0x90, 0x44, 0x20, 0x41, 0xd8, 0x73,
1565 0x88, 0x7c, 0x9e, 0xd8, 0xf9, 0x02, 0x8d, 0x99, 0xed, 0x52, 0xe9, 0x5d, 0xd9, 0xf3, 0x81, 0x3d,
1566 0x81, 0x08, 0x12, 0x2a, 0xc1, 0xb7, 0xe2, 0x84, 0x4b, 0x8e, 0xdf, 0xcc, 0x48, 0x16, 0x8d, 0x99,
1567 0xa5, 0x49, 0xd6, 0x7c, 0x70, 0xf8, 0xe1, 0x84, 0xc9, 0xab, 0x99, 0x6b, 0x79, 0x3c, 0xb4, 0x27,
1568 0x7c, 0xc2, 0x6d, 0xcd, 0x75, 0x67, 0x63, 0xfd, 0xa7, 0x7f, 0xf4, 0x57, 0xe6, 0x71, 0xd8, 0xaf,
1569 0x14, 0xf2, 0x78, 0x02, 0x6b, 0xea, 0x1c, 0x9e, 0x94, 0x9c, 0x90, 0x7a, 0x57, 0x2c, 0x82, 0xe4,
1570 0xda, 0x8e, 0xa7, 0x13, 0x05, 0x08, 0x3b, 0x04, 0x49, 0xd7, 0xa9, 0xec, 0x4d, 0xaa, 0x64, 0x16,
1571 0x49, 0x16, 0xc2, 0x3d, 0xc1, 0xc7, 0xff, 0x25, 0x10, 0xde, 0x15, 0x84, 0xf4, 0x9e, 0xee, 0xe9,
1572 0x26, 0xdd, 0x4c, 0xb2, 0xc0, 0x66, 0x91, 0x14, 0x32, 0xb9, 0x2b, 0xea, 0xff, 0x63, 0xa0, 0xfa,
1573 0x19, 0x77, 0xf1, 0x4f, 0xa8, 0xa9, 0x0e, 0xe0, 0x53, 0x49, 0xbb, 0xc6, 0x13, 0xe3, 0xa8, 0x7d,
1574 0xfc, 0x91, 0x55, 0x5e, 0x6b, 0xe1, 0x67, 0xc5, 0xd3, 0x89, 0x02, 0x84, 0xa5, 0xd8, 0xd6, 0x7c,
1575 0x60, 0x3d, 0x77, 0x7f, 0x06, 0x4f, 0x9e, 0x83, 0xa4, 0x0e, 0xbe, 0x59, 0xf4, 0x6a, 0xe9, 0xa2,
1576 0x87, 0x4a, 0x8c, 0x14, 0xae, 0xf8, 0x0b, 0xb4, 0x2d, 0x62, 0xf0, 0xba, 0x5b, 0xda, 0xfd, 0x6d,
1577 0x6b, 0x4d, 0xd3, 0xac, 0x33, 0xee, 0x8e, 0x62, 0xf0, 0x9c, 0x4e, 0xee, 0xb4, 0xad, 0xfe, 0x88,
1578 0xd6, 0xe1, 0x67, 0x68, 0x47, 0x48, 0x2a, 0x67, 0xa2, 0x5b, 0xd7, 0x0e, 0xe6, 0x46, 0x07, 0xcd,
1579 0x72, 0xf6, 0x73, 0x8f, 0x9d, 0xec, 0x9f, 0xe4, 0xea, 0xfe, 0x1f, 0x75, 0xd4, 0x39, 0xe3, 0xee,
1580 0x29, 0x8f, 0x7c, 0x26, 0x19, 0x8f, 0xf0, 0x09, 0xda, 0x96, 0xd7, 0x31, 0xe8, 0x63, 0xb7, 0x9c,
1581 0x27, 0xcb, 0xd2, 0x97, 0xd7, 0x31, 0xbc, 0x5a, 0xf4, 0x1e, 0x57, 0xb9, 0x0a, 0x23, 0x9a, 0x8d,
1582 0x87, 0xc5, 0x76, 0xb6, 0xb4, 0xee, 0x64, 0xb5, 0xdc, 0xab, 0x45, 0x6f, 0x4d, 0xa4, 0xac, 0xc2,
1583 0x69, 0x75, 0x53, 0x78, 0x82, 0xf6, 0x02, 0x2a, 0xe4, 0x45, 0xc2, 0x5d, 0xb8, 0x64, 0x21, 0xe4,
1584 0x67, 0xfc, 0xe0, 0x61, 0x3d, 0x50, 0x0a, 0xe7, 0x20, 0xdf, 0xc0, 0xde, 0xb0, 0x6a, 0x44, 0x56,
1585 0x7d, 0xf1, 0x1c, 0x61, 0x05, 0x5c, 0x26, 0x34, 0x12, 0xd9, 0x91, 0x54, 0xb5, 0xed, 0xd7, 0xae,
1586 0x76, 0x98, 0x57, 0xc3, 0xc3, 0x7b, 0x6e, 0x64, 0x4d, 0x05, 0xfc, 0x1e, 0xda, 0x49, 0x80, 0x0a,
1587 0x1e, 0x75, 0x1b, 0xfa, 0xba, 0x8a, 0xee, 0x10, 0x8d, 0x92, 0x7c, 0x15, 0xbf, 0x8f, 0x76, 0x43,
1588 0x10, 0x82, 0x4e, 0xa0, 0xbb, 0xa3, 0x89, 0x8f, 0x72, 0xe2, 0xee, 0x79, 0x06, 0x93, 0xe5, 0x7a,
1589 0xff, 0x77, 0x03, 0xed, 0x9e, 0x71, 0x77, 0xc8, 0x84, 0xc4, 0x3f, 0xdc, 0x8b, 0xaf, 0xf5, 0xb0,
1590 0xc3, 0x28, 0xb5, 0x0e, 0xef, 0xe3, 0xbc, 0x4e, 0x73, 0x89, 0x54, 0xa2, 0xfb, 0x39, 0x6a, 0x30,
1591 0x09, 0xa1, 0x6a, 0x75, 0xfd, 0xa8, 0x7d, 0xdc, 0xdd, 0x94, 0x3c, 0x67, 0x2f, 0x37, 0x69, 0x7c,
1592 0xad, 0xe8, 0x24, 0x53, 0xf5, 0xff, 0xae, 0xeb, 0x8d, 0xaa, 0x2c, 0xe3, 0x01, 0x6a, 0xc7, 0x34,
1593 0xa1, 0x41, 0x00, 0x01, 0x13, 0xa1, 0xde, 0x6b, 0xc3, 0x79, 0x94, 0x2e, 0x7a, 0xed, 0x8b, 0x12,
1594 0x26, 0x55, 0x8e, 0x92, 0x78, 0x3c, 0x8c, 0x03, 0x50, 0x97, 0x99, 0xc5, 0x2d, 0x97, 0x9c, 0x96,
1595 0x30, 0xa9, 0x72, 0xf0, 0x73, 0x74, 0x40, 0x3d, 0xc9, 0xe6, 0xf0, 0x15, 0x50, 0x3f, 0x60, 0x11,
1596 0x8c, 0xc0, 0xe3, 0x91, 0x9f, 0x3d, 0x9d, 0xba, 0xf3, 0x56, 0xba, 0xe8, 0x1d, 0x7c, 0xb9, 0x8e,
1597 0x40, 0xd6, 0xeb, 0xf0, 0x8f, 0xa8, 0x29, 0x20, 0x00, 0x4f, 0xf2, 0x24, 0x0f, 0xcb, 0xd3, 0x07,
1598 0xde, 0x2f, 0x75, 0x21, 0x18, 0xe5, 0x52, 0xa7, 0xa3, 0x2e, 0x78, 0xf9, 0x47, 0x0a, 0x4b, 0xfc,
1599 0x29, 0xda, 0x0f, 0x69, 0x34, 0xa3, 0x05, 0x53, 0xa7, 0xa4, 0xe9, 0xe0, 0x74, 0xd1, 0xdb, 0x3f,
1600 0x5f, 0x59, 0x21, 0x77, 0x98, 0xf8, 0x1b, 0xd4, 0x94, 0x10, 0xc6, 0x01, 0x95, 0x59, 0x64, 0xda,
1601 0xc7, 0xef, 0x56, 0xfb, 0xa3, 0x5e, 0x9e, 0xda, 0xc8, 0x05, 0xf7, 0x2f, 0x73, 0x9a, 0x1e, 0x31,
1602 0x45, 0xbf, 0x97, 0x28, 0x29, 0x6c, 0xf0, 0x09, 0xea, 0xb8, 0xd4, 0x9b, 0xf2, 0xf1, 0x78, 0xc8,
1603 0x42, 0x26, 0xbb, 0xbb, 0xfa, 0xca, 0x1f, 0xa7, 0x8b, 0x5e, 0xc7, 0xa9, 0xe0, 0x64, 0x85, 0xd5,
1604 0xff, 0xad, 0x8e, 0x5a, 0xc5, 0xf8, 0xc1, 0xdf, 0x22, 0xe4, 0x2d, 0x1f, 0xbb, 0xe8, 0x1a, 0x3a,
1605 0x38, 0xef, 0x6c, 0x0a, 0x4e, 0x31, 0x16, 0xca, 0x19, 0x5a, 0x40, 0x82, 0x54, 0x8c, 0xf0, 0x77,
1606 0xa8, 0x25, 0x24, 0x4d, 0xa4, 0x7e, 0xb6, 0x5b, 0xaf, 0xfd, 0x6c, 0xf7, 0xd2, 0x45, 0xaf, 0x35,
1607 0x5a, 0x1a, 0x90, 0xd2, 0x0b, 0x8f, 0xd1, 0x7e, 0x99, 0xa0, 0xff, 0x39, 0x82, 0x74, 0xbb, 0x4e,
1608 0x57, 0x5c, 0xc8, 0x1d, 0x57, 0x35, 0x08, 0xb2, 0x88, 0xe9, 0x1c, 0x35, 0xca, 0x41, 0x90, 0xe5,
1609 0x91, 0xe4, 0xab, 0xd8, 0x46, 0x2d, 0x31, 0xf3, 0x3c, 0x00, 0x1f, 0x7c, 0x9d, 0x86, 0x86, 0xf3,
1610 0x46, 0x4e, 0x6d, 0x8d, 0x96, 0x0b, 0xa4, 0xe4, 0x28, 0xe3, 0x31, 0x65, 0x01, 0xf8, 0x3a, 0x05,
1611 0x15, 0xe3, 0x67, 0x1a, 0x25, 0xf9, 0xaa, 0x73, 0x74, 0x73, 0x6b, 0xd6, 0x5e, 0xdc, 0x9a, 0xb5,
1612 0x97, 0xb7, 0x66, 0xed, 0x97, 0xd4, 0x34, 0x6e, 0x52, 0xd3, 0x78, 0x91, 0x9a, 0xc6, 0xcb, 0xd4,
1613 0x34, 0xfe, 0x4c, 0x4d, 0xe3, 0xd7, 0xbf, 0xcc, 0xda, 0xf7, 0x5b, 0xf3, 0xc1, 0xbf, 0x01, 0x00,
1614 0x00, 0xff, 0xff, 0xce, 0x80, 0xf2, 0xbe, 0x96, 0x08, 0x00, 0x00,
1615}