2 Copyright The Kubernetes Authors.
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
17 // Code generated by protoc-gen-gogo. DO NOT EDIT.
18 // source: k8s.io/kubernetes/vendor/k8s.io/api/batch/v2alpha1/generated.proto
21 Package v2alpha1 is a generated protocol buffer package.
23 It is generated from these files:
24 k8s.io/kubernetes/vendor/k8s.io/api/batch/v2alpha1/generated.proto
26 It has these top-level messages:
36 import proto "github.com/gogo/protobuf/proto"
40 import k8s_io_api_core_v1 "k8s.io/api/core/v1"
41 import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
43 import strings "strings"
44 import reflect "reflect"
48 // Reference imports to suppress errors if they are not otherwise used.
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.
57 const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
59 func (m *CronJob) Reset() { *m = CronJob{} }
60 func (*CronJob) ProtoMessage() {}
61 func (*CronJob) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
63 func (m *CronJobList) Reset() { *m = CronJobList{} }
64 func (*CronJobList) ProtoMessage() {}
65 func (*CronJobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
67 func (m *CronJobSpec) Reset() { *m = CronJobSpec{} }
68 func (*CronJobSpec) ProtoMessage() {}
69 func (*CronJobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
71 func (m *CronJobStatus) Reset() { *m = CronJobStatus{} }
72 func (*CronJobStatus) ProtoMessage() {}
73 func (*CronJobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
75 func (m *JobTemplate) Reset() { *m = JobTemplate{} }
76 func (*JobTemplate) ProtoMessage() {}
77 func (*JobTemplate) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
79 func (m *JobTemplateSpec) Reset() { *m = JobTemplateSpec{} }
80 func (*JobTemplateSpec) ProtoMessage() {}
81 func (*JobTemplateSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
84 proto.RegisterType((*CronJob)(nil), "k8s.io.api.batch.v2alpha1.CronJob")
85 proto.RegisterType((*CronJobList)(nil), "k8s.io.api.batch.v2alpha1.CronJobList")
86 proto.RegisterType((*CronJobSpec)(nil), "k8s.io.api.batch.v2alpha1.CronJobSpec")
87 proto.RegisterType((*CronJobStatus)(nil), "k8s.io.api.batch.v2alpha1.CronJobStatus")
88 proto.RegisterType((*JobTemplate)(nil), "k8s.io.api.batch.v2alpha1.JobTemplate")
89 proto.RegisterType((*JobTemplateSpec)(nil), "k8s.io.api.batch.v2alpha1.JobTemplateSpec")
91 func (m *CronJob) Marshal() (dAtA []byte, err error) {
93 dAtA = make([]byte, size)
94 n, err := m.MarshalTo(dAtA)
101 func (m *CronJob) MarshalTo(dAtA []byte) (int, error) {
108 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
109 n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
116 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
117 n2, err := m.Spec.MarshalTo(dAtA[i:])
124 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
125 n3, err := m.Status.MarshalTo(dAtA[i:])
133 func (m *CronJobList) Marshal() (dAtA []byte, err error) {
135 dAtA = make([]byte, size)
136 n, err := m.MarshalTo(dAtA)
143 func (m *CronJobList) MarshalTo(dAtA []byte) (int, error) {
150 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
151 n4, err := m.ListMeta.MarshalTo(dAtA[i:])
156 if len(m.Items) > 0 {
157 for _, msg := range m.Items {
160 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
161 n, err := msg.MarshalTo(dAtA[i:])
171 func (m *CronJobSpec) Marshal() (dAtA []byte, err error) {
173 dAtA = make([]byte, size)
174 n, err := m.MarshalTo(dAtA)
181 func (m *CronJobSpec) MarshalTo(dAtA []byte) (int, error) {
188 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Schedule)))
189 i += copy(dAtA[i:], m.Schedule)
190 if m.StartingDeadlineSeconds != nil {
193 i = encodeVarintGenerated(dAtA, i, uint64(*m.StartingDeadlineSeconds))
197 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ConcurrencyPolicy)))
198 i += copy(dAtA[i:], m.ConcurrencyPolicy)
199 if m.Suspend != nil {
211 i = encodeVarintGenerated(dAtA, i, uint64(m.JobTemplate.Size()))
212 n5, err := m.JobTemplate.MarshalTo(dAtA[i:])
217 if m.SuccessfulJobsHistoryLimit != nil {
220 i = encodeVarintGenerated(dAtA, i, uint64(*m.SuccessfulJobsHistoryLimit))
222 if m.FailedJobsHistoryLimit != nil {
225 i = encodeVarintGenerated(dAtA, i, uint64(*m.FailedJobsHistoryLimit))
230 func (m *CronJobStatus) Marshal() (dAtA []byte, err error) {
232 dAtA = make([]byte, size)
233 n, err := m.MarshalTo(dAtA)
240 func (m *CronJobStatus) MarshalTo(dAtA []byte) (int, error) {
245 if len(m.Active) > 0 {
246 for _, msg := range m.Active {
249 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
250 n, err := msg.MarshalTo(dAtA[i:])
257 if m.LastScheduleTime != nil {
260 i = encodeVarintGenerated(dAtA, i, uint64(m.LastScheduleTime.Size()))
261 n6, err := m.LastScheduleTime.MarshalTo(dAtA[i:])
270 func (m *JobTemplate) Marshal() (dAtA []byte, err error) {
272 dAtA = make([]byte, size)
273 n, err := m.MarshalTo(dAtA)
280 func (m *JobTemplate) MarshalTo(dAtA []byte) (int, error) {
287 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
288 n7, err := m.ObjectMeta.MarshalTo(dAtA[i:])
295 i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
296 n8, err := m.Template.MarshalTo(dAtA[i:])
304 func (m *JobTemplateSpec) Marshal() (dAtA []byte, err error) {
306 dAtA = make([]byte, size)
307 n, err := m.MarshalTo(dAtA)
314 func (m *JobTemplateSpec) MarshalTo(dAtA []byte) (int, error) {
321 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
322 n9, err := m.ObjectMeta.MarshalTo(dAtA[i:])
329 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
330 n10, err := m.Spec.MarshalTo(dAtA[i:])
338 func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
340 dAtA[offset] = uint8(v&0x7f | 0x80)
344 dAtA[offset] = uint8(v)
347 func (m *CronJob) Size() (n int) {
350 l = m.ObjectMeta.Size()
351 n += 1 + l + sovGenerated(uint64(l))
353 n += 1 + l + sovGenerated(uint64(l))
355 n += 1 + l + sovGenerated(uint64(l))
359 func (m *CronJobList) Size() (n int) {
362 l = m.ListMeta.Size()
363 n += 1 + l + sovGenerated(uint64(l))
364 if len(m.Items) > 0 {
365 for _, e := range m.Items {
367 n += 1 + l + sovGenerated(uint64(l))
373 func (m *CronJobSpec) Size() (n int) {
377 n += 1 + l + sovGenerated(uint64(l))
378 if m.StartingDeadlineSeconds != nil {
379 n += 1 + sovGenerated(uint64(*m.StartingDeadlineSeconds))
381 l = len(m.ConcurrencyPolicy)
382 n += 1 + l + sovGenerated(uint64(l))
383 if m.Suspend != nil {
386 l = m.JobTemplate.Size()
387 n += 1 + l + sovGenerated(uint64(l))
388 if m.SuccessfulJobsHistoryLimit != nil {
389 n += 1 + sovGenerated(uint64(*m.SuccessfulJobsHistoryLimit))
391 if m.FailedJobsHistoryLimit != nil {
392 n += 1 + sovGenerated(uint64(*m.FailedJobsHistoryLimit))
397 func (m *CronJobStatus) Size() (n int) {
400 if len(m.Active) > 0 {
401 for _, e := range m.Active {
403 n += 1 + l + sovGenerated(uint64(l))
406 if m.LastScheduleTime != nil {
407 l = m.LastScheduleTime.Size()
408 n += 1 + l + sovGenerated(uint64(l))
413 func (m *JobTemplate) Size() (n int) {
416 l = m.ObjectMeta.Size()
417 n += 1 + l + sovGenerated(uint64(l))
418 l = m.Template.Size()
419 n += 1 + l + sovGenerated(uint64(l))
423 func (m *JobTemplateSpec) Size() (n int) {
426 l = m.ObjectMeta.Size()
427 n += 1 + l + sovGenerated(uint64(l))
429 n += 1 + l + sovGenerated(uint64(l))
433 func sovGenerated(x uint64) (n int) {
443 func sozGenerated(x uint64) (n int) {
444 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
446 func (this *CronJob) String() string {
450 s := strings.Join([]string{`&CronJob{`,
451 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
452 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "CronJobSpec", "CronJobSpec", 1), `&`, ``, 1) + `,`,
453 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "CronJobStatus", "CronJobStatus", 1), `&`, ``, 1) + `,`,
458 func (this *CronJobList) String() string {
462 s := strings.Join([]string{`&CronJobList{`,
463 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
464 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "CronJob", "CronJob", 1), `&`, ``, 1) + `,`,
469 func (this *CronJobSpec) String() string {
473 s := strings.Join([]string{`&CronJobSpec{`,
474 `Schedule:` + fmt.Sprintf("%v", this.Schedule) + `,`,
475 `StartingDeadlineSeconds:` + valueToStringGenerated(this.StartingDeadlineSeconds) + `,`,
476 `ConcurrencyPolicy:` + fmt.Sprintf("%v", this.ConcurrencyPolicy) + `,`,
477 `Suspend:` + valueToStringGenerated(this.Suspend) + `,`,
478 `JobTemplate:` + strings.Replace(strings.Replace(this.JobTemplate.String(), "JobTemplateSpec", "JobTemplateSpec", 1), `&`, ``, 1) + `,`,
479 `SuccessfulJobsHistoryLimit:` + valueToStringGenerated(this.SuccessfulJobsHistoryLimit) + `,`,
480 `FailedJobsHistoryLimit:` + valueToStringGenerated(this.FailedJobsHistoryLimit) + `,`,
485 func (this *CronJobStatus) String() string {
489 s := strings.Join([]string{`&CronJobStatus{`,
490 `Active:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Active), "ObjectReference", "k8s_io_api_core_v1.ObjectReference", 1), `&`, ``, 1) + `,`,
491 `LastScheduleTime:` + strings.Replace(fmt.Sprintf("%v", this.LastScheduleTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
496 func (this *JobTemplate) String() string {
500 s := strings.Join([]string{`&JobTemplate{`,
501 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
502 `Template:` + strings.Replace(strings.Replace(this.Template.String(), "JobTemplateSpec", "JobTemplateSpec", 1), `&`, ``, 1) + `,`,
507 func (this *JobTemplateSpec) String() string {
511 s := strings.Join([]string{`&JobTemplateSpec{`,
512 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
513 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "JobSpec", "k8s_io_api_batch_v1.JobSpec", 1), `&`, ``, 1) + `,`,
518 func valueToStringGenerated(v interface{}) string {
519 rv := reflect.ValueOf(v)
523 pv := reflect.Indirect(rv).Interface()
524 return fmt.Sprintf("*%v", pv)
526 func (m *CronJob) Unmarshal(dAtA []byte) error {
532 for shift := uint(0); ; shift += 7 {
534 return ErrIntOverflowGenerated
537 return io.ErrUnexpectedEOF
541 wire |= (uint64(b) & 0x7F) << shift
546 fieldNum := int32(wire >> 3)
547 wireType := int(wire & 0x7)
549 return fmt.Errorf("proto: CronJob: wiretype end group for non-group")
552 return fmt.Errorf("proto: CronJob: illegal tag %d (wire type %d)", fieldNum, wire)
557 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
560 for shift := uint(0); ; shift += 7 {
562 return ErrIntOverflowGenerated
565 return io.ErrUnexpectedEOF
569 msglen |= (int(b) & 0x7F) << shift
575 return ErrInvalidLengthGenerated
577 postIndex := iNdEx + msglen
579 return io.ErrUnexpectedEOF
581 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
587 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
590 for shift := uint(0); ; shift += 7 {
592 return ErrIntOverflowGenerated
595 return io.ErrUnexpectedEOF
599 msglen |= (int(b) & 0x7F) << shift
605 return ErrInvalidLengthGenerated
607 postIndex := iNdEx + msglen
609 return io.ErrUnexpectedEOF
611 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
617 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
620 for shift := uint(0); ; shift += 7 {
622 return ErrIntOverflowGenerated
625 return io.ErrUnexpectedEOF
629 msglen |= (int(b) & 0x7F) << shift
635 return ErrInvalidLengthGenerated
637 postIndex := iNdEx + msglen
639 return io.ErrUnexpectedEOF
641 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
647 skippy, err := skipGenerated(dAtA[iNdEx:])
652 return ErrInvalidLengthGenerated
654 if (iNdEx + skippy) > l {
655 return io.ErrUnexpectedEOF
662 return io.ErrUnexpectedEOF
666 func (m *CronJobList) Unmarshal(dAtA []byte) error {
672 for shift := uint(0); ; shift += 7 {
674 return ErrIntOverflowGenerated
677 return io.ErrUnexpectedEOF
681 wire |= (uint64(b) & 0x7F) << shift
686 fieldNum := int32(wire >> 3)
687 wireType := int(wire & 0x7)
689 return fmt.Errorf("proto: CronJobList: wiretype end group for non-group")
692 return fmt.Errorf("proto: CronJobList: illegal tag %d (wire type %d)", fieldNum, wire)
697 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
700 for shift := uint(0); ; shift += 7 {
702 return ErrIntOverflowGenerated
705 return io.ErrUnexpectedEOF
709 msglen |= (int(b) & 0x7F) << shift
715 return ErrInvalidLengthGenerated
717 postIndex := iNdEx + msglen
719 return io.ErrUnexpectedEOF
721 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
727 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
730 for shift := uint(0); ; shift += 7 {
732 return ErrIntOverflowGenerated
735 return io.ErrUnexpectedEOF
739 msglen |= (int(b) & 0x7F) << shift
745 return ErrInvalidLengthGenerated
747 postIndex := iNdEx + msglen
749 return io.ErrUnexpectedEOF
751 m.Items = append(m.Items, CronJob{})
752 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
758 skippy, err := skipGenerated(dAtA[iNdEx:])
763 return ErrInvalidLengthGenerated
765 if (iNdEx + skippy) > l {
766 return io.ErrUnexpectedEOF
773 return io.ErrUnexpectedEOF
777 func (m *CronJobSpec) Unmarshal(dAtA []byte) error {
783 for shift := uint(0); ; shift += 7 {
785 return ErrIntOverflowGenerated
788 return io.ErrUnexpectedEOF
792 wire |= (uint64(b) & 0x7F) << shift
797 fieldNum := int32(wire >> 3)
798 wireType := int(wire & 0x7)
800 return fmt.Errorf("proto: CronJobSpec: wiretype end group for non-group")
803 return fmt.Errorf("proto: CronJobSpec: illegal tag %d (wire type %d)", fieldNum, wire)
808 return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType)
811 for shift := uint(0); ; shift += 7 {
813 return ErrIntOverflowGenerated
816 return io.ErrUnexpectedEOF
820 stringLen |= (uint64(b) & 0x7F) << shift
825 intStringLen := int(stringLen)
826 if intStringLen < 0 {
827 return ErrInvalidLengthGenerated
829 postIndex := iNdEx + intStringLen
831 return io.ErrUnexpectedEOF
833 m.Schedule = string(dAtA[iNdEx:postIndex])
837 return fmt.Errorf("proto: wrong wireType = %d for field StartingDeadlineSeconds", wireType)
840 for shift := uint(0); ; shift += 7 {
842 return ErrIntOverflowGenerated
845 return io.ErrUnexpectedEOF
849 v |= (int64(b) & 0x7F) << shift
854 m.StartingDeadlineSeconds = &v
857 return fmt.Errorf("proto: wrong wireType = %d for field ConcurrencyPolicy", wireType)
860 for shift := uint(0); ; shift += 7 {
862 return ErrIntOverflowGenerated
865 return io.ErrUnexpectedEOF
869 stringLen |= (uint64(b) & 0x7F) << shift
874 intStringLen := int(stringLen)
875 if intStringLen < 0 {
876 return ErrInvalidLengthGenerated
878 postIndex := iNdEx + intStringLen
880 return io.ErrUnexpectedEOF
882 m.ConcurrencyPolicy = ConcurrencyPolicy(dAtA[iNdEx:postIndex])
886 return fmt.Errorf("proto: wrong wireType = %d for field Suspend", wireType)
889 for shift := uint(0); ; shift += 7 {
891 return ErrIntOverflowGenerated
894 return io.ErrUnexpectedEOF
898 v |= (int(b) & 0x7F) << shift
907 return fmt.Errorf("proto: wrong wireType = %d for field JobTemplate", wireType)
910 for shift := uint(0); ; shift += 7 {
912 return ErrIntOverflowGenerated
915 return io.ErrUnexpectedEOF
919 msglen |= (int(b) & 0x7F) << shift
925 return ErrInvalidLengthGenerated
927 postIndex := iNdEx + msglen
929 return io.ErrUnexpectedEOF
931 if err := m.JobTemplate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
937 return fmt.Errorf("proto: wrong wireType = %d for field SuccessfulJobsHistoryLimit", wireType)
940 for shift := uint(0); ; shift += 7 {
942 return ErrIntOverflowGenerated
945 return io.ErrUnexpectedEOF
949 v |= (int32(b) & 0x7F) << shift
954 m.SuccessfulJobsHistoryLimit = &v
957 return fmt.Errorf("proto: wrong wireType = %d for field FailedJobsHistoryLimit", wireType)
960 for shift := uint(0); ; shift += 7 {
962 return ErrIntOverflowGenerated
965 return io.ErrUnexpectedEOF
969 v |= (int32(b) & 0x7F) << shift
974 m.FailedJobsHistoryLimit = &v
977 skippy, err := skipGenerated(dAtA[iNdEx:])
982 return ErrInvalidLengthGenerated
984 if (iNdEx + skippy) > l {
985 return io.ErrUnexpectedEOF
992 return io.ErrUnexpectedEOF
996 func (m *CronJobStatus) Unmarshal(dAtA []byte) error {
1002 for shift := uint(0); ; shift += 7 {
1004 return ErrIntOverflowGenerated
1007 return io.ErrUnexpectedEOF
1011 wire |= (uint64(b) & 0x7F) << shift
1016 fieldNum := int32(wire >> 3)
1017 wireType := int(wire & 0x7)
1019 return fmt.Errorf("proto: CronJobStatus: wiretype end group for non-group")
1022 return fmt.Errorf("proto: CronJobStatus: illegal tag %d (wire type %d)", fieldNum, wire)
1027 return fmt.Errorf("proto: wrong wireType = %d for field Active", wireType)
1030 for shift := uint(0); ; shift += 7 {
1032 return ErrIntOverflowGenerated
1035 return io.ErrUnexpectedEOF
1039 msglen |= (int(b) & 0x7F) << shift
1045 return ErrInvalidLengthGenerated
1047 postIndex := iNdEx + msglen
1049 return io.ErrUnexpectedEOF
1051 m.Active = append(m.Active, k8s_io_api_core_v1.ObjectReference{})
1052 if err := m.Active[len(m.Active)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1058 return fmt.Errorf("proto: wrong wireType = %d for field LastScheduleTime", wireType)
1061 for shift := uint(0); ; shift += 7 {
1063 return ErrIntOverflowGenerated
1066 return io.ErrUnexpectedEOF
1070 msglen |= (int(b) & 0x7F) << shift
1076 return ErrInvalidLengthGenerated
1078 postIndex := iNdEx + msglen
1080 return io.ErrUnexpectedEOF
1082 if m.LastScheduleTime == nil {
1083 m.LastScheduleTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
1085 if err := m.LastScheduleTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1091 skippy, err := skipGenerated(dAtA[iNdEx:])
1096 return ErrInvalidLengthGenerated
1098 if (iNdEx + skippy) > l {
1099 return io.ErrUnexpectedEOF
1106 return io.ErrUnexpectedEOF
1110 func (m *JobTemplate) Unmarshal(dAtA []byte) error {
1116 for shift := uint(0); ; shift += 7 {
1118 return ErrIntOverflowGenerated
1121 return io.ErrUnexpectedEOF
1125 wire |= (uint64(b) & 0x7F) << shift
1130 fieldNum := int32(wire >> 3)
1131 wireType := int(wire & 0x7)
1133 return fmt.Errorf("proto: JobTemplate: wiretype end group for non-group")
1136 return fmt.Errorf("proto: JobTemplate: illegal tag %d (wire type %d)", fieldNum, wire)
1141 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
1144 for shift := uint(0); ; shift += 7 {
1146 return ErrIntOverflowGenerated
1149 return io.ErrUnexpectedEOF
1153 msglen |= (int(b) & 0x7F) << shift
1159 return ErrInvalidLengthGenerated
1161 postIndex := iNdEx + msglen
1163 return io.ErrUnexpectedEOF
1165 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1171 return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
1174 for shift := uint(0); ; shift += 7 {
1176 return ErrIntOverflowGenerated
1179 return io.ErrUnexpectedEOF
1183 msglen |= (int(b) & 0x7F) << shift
1189 return ErrInvalidLengthGenerated
1191 postIndex := iNdEx + msglen
1193 return io.ErrUnexpectedEOF
1195 if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1201 skippy, err := skipGenerated(dAtA[iNdEx:])
1206 return ErrInvalidLengthGenerated
1208 if (iNdEx + skippy) > l {
1209 return io.ErrUnexpectedEOF
1216 return io.ErrUnexpectedEOF
1220 func (m *JobTemplateSpec) Unmarshal(dAtA []byte) error {
1226 for shift := uint(0); ; shift += 7 {
1228 return ErrIntOverflowGenerated
1231 return io.ErrUnexpectedEOF
1235 wire |= (uint64(b) & 0x7F) << shift
1240 fieldNum := int32(wire >> 3)
1241 wireType := int(wire & 0x7)
1243 return fmt.Errorf("proto: JobTemplateSpec: wiretype end group for non-group")
1246 return fmt.Errorf("proto: JobTemplateSpec: illegal tag %d (wire type %d)", fieldNum, wire)
1251 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
1254 for shift := uint(0); ; shift += 7 {
1256 return ErrIntOverflowGenerated
1259 return io.ErrUnexpectedEOF
1263 msglen |= (int(b) & 0x7F) << shift
1269 return ErrInvalidLengthGenerated
1271 postIndex := iNdEx + msglen
1273 return io.ErrUnexpectedEOF
1275 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1281 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
1284 for shift := uint(0); ; shift += 7 {
1286 return ErrIntOverflowGenerated
1289 return io.ErrUnexpectedEOF
1293 msglen |= (int(b) & 0x7F) << shift
1299 return ErrInvalidLengthGenerated
1301 postIndex := iNdEx + msglen
1303 return io.ErrUnexpectedEOF
1305 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1311 skippy, err := skipGenerated(dAtA[iNdEx:])
1316 return ErrInvalidLengthGenerated
1318 if (iNdEx + skippy) > l {
1319 return io.ErrUnexpectedEOF
1326 return io.ErrUnexpectedEOF
1330 func skipGenerated(dAtA []byte) (n int, err error) {
1335 for shift := uint(0); ; shift += 7 {
1337 return 0, ErrIntOverflowGenerated
1340 return 0, io.ErrUnexpectedEOF
1344 wire |= (uint64(b) & 0x7F) << shift
1349 wireType := int(wire & 0x7)
1352 for shift := uint(0); ; shift += 7 {
1354 return 0, ErrIntOverflowGenerated
1357 return 0, io.ErrUnexpectedEOF
1360 if dAtA[iNdEx-1] < 0x80 {
1370 for shift := uint(0); ; shift += 7 {
1372 return 0, ErrIntOverflowGenerated
1375 return 0, io.ErrUnexpectedEOF
1379 length |= (int(b) & 0x7F) << shift
1386 return 0, ErrInvalidLengthGenerated
1391 var innerWire uint64
1392 var start int = iNdEx
1393 for shift := uint(0); ; shift += 7 {
1395 return 0, ErrIntOverflowGenerated
1398 return 0, io.ErrUnexpectedEOF
1402 innerWire |= (uint64(b) & 0x7F) << shift
1407 innerWireType := int(innerWire & 0x7)
1408 if innerWireType == 4 {
1411 next, err := skipGenerated(dAtA[start:])
1415 iNdEx = start + next
1424 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
1427 panic("unreachable")
1431 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
1432 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
1436 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/batch/v2alpha1/generated.proto", fileDescriptorGenerated)
1439 var fileDescriptorGenerated = []byte{
1440 // 774 bytes of a gzipped FileDescriptorProto
1441 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0x4d, 0x6f, 0xdb, 0x36,
1442 0x18, 0xc7, 0x2d, 0xc7, 0x6f, 0xa1, 0x97, 0x2d, 0xd1, 0x86, 0xc4, 0xf3, 0x06, 0xd9, 0x50, 0xb0,
1443 0xc1, 0x18, 0x36, 0x6a, 0x09, 0x86, 0x61, 0xa7, 0x01, 0x53, 0x86, 0x36, 0x4d, 0x53, 0x34, 0x90,
1444 0x53, 0xa0, 0x28, 0x82, 0xa2, 0x14, 0x45, 0xdb, 0x8c, 0x25, 0x51, 0x10, 0x29, 0x03, 0xbe, 0xf5,
1445 0xd6, 0x6b, 0x3f, 0x49, 0x2f, 0xed, 0x87, 0x48, 0x7b, 0xca, 0x31, 0x27, 0xa3, 0x51, 0xbf, 0x45,
1446 0x4f, 0x85, 0x68, 0xf9, 0x25, 0x7e, 0x49, 0xd2, 0x4b, 0x6e, 0xe2, 0xa3, 0xff, 0xff, 0xc7, 0x87,
1447 0xcf, 0xf3, 0x90, 0xc0, 0xec, 0xfe, 0xc3, 0x21, 0x65, 0x46, 0x37, 0xb2, 0x49, 0xe8, 0x13, 0x41,
1448 0xb8, 0xd1, 0x23, 0xbe, 0xc3, 0x42, 0x23, 0xfd, 0x81, 0x02, 0x6a, 0xd8, 0x48, 0xe0, 0x8e, 0xd1,
1449 0xdb, 0x45, 0x6e, 0xd0, 0x41, 0x3b, 0x46, 0x9b, 0xf8, 0x24, 0x44, 0x82, 0x38, 0x30, 0x08, 0x99,
1450 0x60, 0xea, 0x8f, 0x43, 0x29, 0x44, 0x01, 0x85, 0x52, 0x0a, 0x47, 0xd2, 0xea, 0x1f, 0x6d, 0x2a,
1451 0x3a, 0x91, 0x0d, 0x31, 0xf3, 0x8c, 0x36, 0x6b, 0x33, 0x43, 0x3a, 0xec, 0xa8, 0x25, 0x57, 0x72,
1452 0x21, 0xbf, 0x86, 0xa4, 0xea, 0xf6, 0xfc, 0xa6, 0x73, 0xdb, 0x55, 0xf5, 0x29, 0x11, 0x66, 0x21,
1453 0x59, 0xa4, 0xf9, 0x6b, 0xa2, 0xf1, 0x10, 0xee, 0x50, 0x9f, 0x84, 0x7d, 0x23, 0xe8, 0xb6, 0x93,
1454 0x00, 0x37, 0x3c, 0x22, 0xd0, 0x22, 0x97, 0xb1, 0xcc, 0x15, 0x46, 0xbe, 0xa0, 0x1e, 0x99, 0x33,
1455 0xfc, 0x7d, 0x93, 0x81, 0xe3, 0x0e, 0xf1, 0xd0, 0xac, 0x4f, 0x7f, 0x95, 0x05, 0xc5, 0xbd, 0x90,
1456 0xf9, 0x07, 0xcc, 0x56, 0x5f, 0x80, 0x52, 0x92, 0x8f, 0x83, 0x04, 0xaa, 0x28, 0x75, 0xa5, 0x51,
1457 0xde, 0xfd, 0x13, 0x4e, 0x0a, 0x3a, 0xc6, 0xc2, 0xa0, 0xdb, 0x4e, 0x02, 0x1c, 0x26, 0x6a, 0xd8,
1458 0xdb, 0x81, 0x8f, 0xed, 0x53, 0x82, 0xc5, 0x23, 0x22, 0x90, 0xa9, 0x9e, 0x0d, 0x6a, 0x99, 0x78,
1459 0x50, 0x03, 0x93, 0x98, 0x35, 0xa6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x29, 0xee, 0xcb, 0x46, 0xad, 0x9a, 0x30, 0xcd, 0x66,
1471 0x63, 0x6f, 0x56, 0xf0, 0x79, 0x51, 0xd0, 0x9a, 0x07, 0xa9, 0xbf, 0x80, 0x22, 0x8f, 0x78, 0x40,
1472 0x7c, 0xa7, 0x92, 0xab, 0x2b, 0x8d, 0x92, 0x59, 0x8e, 0x07, 0xb5, 0x62, 0x73, 0x18, 0xb2, 0x46,
1473 0xff, 0x54, 0x04, 0xca, 0xa7, 0xcc, 0x3e, 0x26, 0x5e, 0xe0, 0x22, 0x41, 0x2a, 0x79, 0xd9, 0xc3,
1474 0xdf, 0xae, 0x29, 0xf4, 0xc1, 0x44, 0x2d, 0xe7, 0xee, 0xfb, 0x34, 0xd5, 0xf2, 0xd4, 0x0f, 0x6b,
1475 0x9a, 0xa9, 0x3e, 0x07, 0x55, 0x1e, 0x61, 0x4c, 0x38, 0x6f, 0x45, 0xee, 0x01, 0xb3, 0xf9, 0x3e,
1476 0xe5, 0x82, 0x85, 0xfd, 0x43, 0xea, 0x51, 0x51, 0x29, 0xd4, 0x95, 0x46, 0xde, 0xd4, 0xe2, 0x41,
1477 0xad, 0xda, 0x5c, 0xaa, 0xb2, 0xae, 0x21, 0xa8, 0x16, 0xd8, 0x6c, 0x21, 0xea, 0x12, 0x67, 0x8e,
1478 0x5d, 0x94, 0xec, 0x6a, 0x3c, 0xa8, 0x6d, 0xde, 0x5b, 0xa8, 0xb0, 0x96, 0x38, 0xf5, 0x0f, 0x0a,
1479 0x58, 0xbb, 0x72, 0x23, 0xd4, 0x87, 0xa0, 0x80, 0xb0, 0xa0, 0xbd, 0x64, 0x60, 0x92, 0x61, 0xdc,
1480 0x9e, 0xae, 0x51, 0xf2, 0xae, 0x4d, 0xee, 0xb8, 0x45, 0x5a, 0x24, 0x69, 0x05, 0x99, 0x5c, 0xa3,
1481 0xff, 0xa4, 0xd5, 0x4a, 0x11, 0xaa, 0x0b, 0xd6, 0x5d, 0xc4, 0xc5, 0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