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/events/v1beta1/generated.proto
21 Package v1beta1 is a generated protocol buffer package.
23 It is generated from these files:
24 k8s.io/kubernetes/vendor/k8s.io/api/events/v1beta1/generated.proto
26 It has these top-level messages:
33 import proto "github.com/gogo/protobuf/proto"
37 import k8s_io_api_core_v1 "k8s.io/api/core/v1"
39 import strings "strings"
40 import reflect "reflect"
44 // Reference imports to suppress errors if they are not otherwise used.
49 // This is a compile-time assertion to ensure that this generated file
50 // is compatible with the proto package it is being compiled against.
51 // A compilation error at this line likely means your copy of the
52 // proto package needs to be updated.
53 const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
55 func (m *Event) Reset() { *m = Event{} }
56 func (*Event) ProtoMessage() {}
57 func (*Event) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
59 func (m *EventList) Reset() { *m = EventList{} }
60 func (*EventList) ProtoMessage() {}
61 func (*EventList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
63 func (m *EventSeries) Reset() { *m = EventSeries{} }
64 func (*EventSeries) ProtoMessage() {}
65 func (*EventSeries) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
68 proto.RegisterType((*Event)(nil), "k8s.io.api.events.v1beta1.Event")
69 proto.RegisterType((*EventList)(nil), "k8s.io.api.events.v1beta1.EventList")
70 proto.RegisterType((*EventSeries)(nil), "k8s.io.api.events.v1beta1.EventSeries")
72 func (m *Event) Marshal() (dAtA []byte, err error) {
74 dAtA = make([]byte, size)
75 n, err := m.MarshalTo(dAtA)
82 func (m *Event) MarshalTo(dAtA []byte) (int, error) {
89 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
90 n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
97 i = encodeVarintGenerated(dAtA, i, uint64(m.EventTime.Size()))
98 n2, err := m.EventTime.MarshalTo(dAtA[i:])
106 i = encodeVarintGenerated(dAtA, i, uint64(m.Series.Size()))
107 n3, err := m.Series.MarshalTo(dAtA[i:])
115 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ReportingController)))
116 i += copy(dAtA[i:], m.ReportingController)
119 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ReportingInstance)))
120 i += copy(dAtA[i:], m.ReportingInstance)
123 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Action)))
124 i += copy(dAtA[i:], m.Action)
127 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
128 i += copy(dAtA[i:], m.Reason)
131 i = encodeVarintGenerated(dAtA, i, uint64(m.Regarding.Size()))
132 n4, err := m.Regarding.MarshalTo(dAtA[i:])
137 if m.Related != nil {
140 i = encodeVarintGenerated(dAtA, i, uint64(m.Related.Size()))
141 n5, err := m.Related.MarshalTo(dAtA[i:])
149 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Note)))
150 i += copy(dAtA[i:], m.Note)
153 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
154 i += copy(dAtA[i:], m.Type)
157 i = encodeVarintGenerated(dAtA, i, uint64(m.DeprecatedSource.Size()))
158 n6, err := m.DeprecatedSource.MarshalTo(dAtA[i:])
165 i = encodeVarintGenerated(dAtA, i, uint64(m.DeprecatedFirstTimestamp.Size()))
166 n7, err := m.DeprecatedFirstTimestamp.MarshalTo(dAtA[i:])
173 i = encodeVarintGenerated(dAtA, i, uint64(m.DeprecatedLastTimestamp.Size()))
174 n8, err := m.DeprecatedLastTimestamp.MarshalTo(dAtA[i:])
181 i = encodeVarintGenerated(dAtA, i, uint64(m.DeprecatedCount))
185 func (m *EventList) Marshal() (dAtA []byte, err error) {
187 dAtA = make([]byte, size)
188 n, err := m.MarshalTo(dAtA)
195 func (m *EventList) MarshalTo(dAtA []byte) (int, error) {
202 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
203 n9, err := m.ListMeta.MarshalTo(dAtA[i:])
208 if len(m.Items) > 0 {
209 for _, msg := range m.Items {
212 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
213 n, err := msg.MarshalTo(dAtA[i:])
223 func (m *EventSeries) Marshal() (dAtA []byte, err error) {
225 dAtA = make([]byte, size)
226 n, err := m.MarshalTo(dAtA)
233 func (m *EventSeries) MarshalTo(dAtA []byte) (int, error) {
240 i = encodeVarintGenerated(dAtA, i, uint64(m.Count))
243 i = encodeVarintGenerated(dAtA, i, uint64(m.LastObservedTime.Size()))
244 n10, err := m.LastObservedTime.MarshalTo(dAtA[i:])
251 i = encodeVarintGenerated(dAtA, i, uint64(len(m.State)))
252 i += copy(dAtA[i:], m.State)
256 func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
258 dAtA[offset] = uint8(v&0x7f | 0x80)
262 dAtA[offset] = uint8(v)
265 func (m *Event) Size() (n int) {
268 l = m.ObjectMeta.Size()
269 n += 1 + l + sovGenerated(uint64(l))
270 l = m.EventTime.Size()
271 n += 1 + l + sovGenerated(uint64(l))
274 n += 1 + l + sovGenerated(uint64(l))
276 l = len(m.ReportingController)
277 n += 1 + l + sovGenerated(uint64(l))
278 l = len(m.ReportingInstance)
279 n += 1 + l + sovGenerated(uint64(l))
281 n += 1 + l + sovGenerated(uint64(l))
283 n += 1 + l + sovGenerated(uint64(l))
284 l = m.Regarding.Size()
285 n += 1 + l + sovGenerated(uint64(l))
286 if m.Related != nil {
288 n += 1 + l + sovGenerated(uint64(l))
291 n += 1 + l + sovGenerated(uint64(l))
293 n += 1 + l + sovGenerated(uint64(l))
294 l = m.DeprecatedSource.Size()
295 n += 1 + l + sovGenerated(uint64(l))
296 l = m.DeprecatedFirstTimestamp.Size()
297 n += 1 + l + sovGenerated(uint64(l))
298 l = m.DeprecatedLastTimestamp.Size()
299 n += 1 + l + sovGenerated(uint64(l))
300 n += 1 + sovGenerated(uint64(m.DeprecatedCount))
304 func (m *EventList) Size() (n int) {
307 l = m.ListMeta.Size()
308 n += 1 + l + sovGenerated(uint64(l))
309 if len(m.Items) > 0 {
310 for _, e := range m.Items {
312 n += 1 + l + sovGenerated(uint64(l))
318 func (m *EventSeries) Size() (n int) {
321 n += 1 + sovGenerated(uint64(m.Count))
322 l = m.LastObservedTime.Size()
323 n += 1 + l + sovGenerated(uint64(l))
325 n += 1 + l + sovGenerated(uint64(l))
329 func sovGenerated(x uint64) (n int) {
339 func sozGenerated(x uint64) (n int) {
340 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
342 func (this *Event) String() string {
346 s := strings.Join([]string{`&Event{`,
347 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
348 `EventTime:` + strings.Replace(strings.Replace(this.EventTime.String(), "MicroTime", "k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime", 1), `&`, ``, 1) + `,`,
349 `Series:` + strings.Replace(fmt.Sprintf("%v", this.Series), "EventSeries", "EventSeries", 1) + `,`,
350 `ReportingController:` + fmt.Sprintf("%v", this.ReportingController) + `,`,
351 `ReportingInstance:` + fmt.Sprintf("%v", this.ReportingInstance) + `,`,
352 `Action:` + fmt.Sprintf("%v", this.Action) + `,`,
353 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
354 `Regarding:` + strings.Replace(strings.Replace(this.Regarding.String(), "ObjectReference", "k8s_io_api_core_v1.ObjectReference", 1), `&`, ``, 1) + `,`,
355 `Related:` + strings.Replace(fmt.Sprintf("%v", this.Related), "ObjectReference", "k8s_io_api_core_v1.ObjectReference", 1) + `,`,
356 `Note:` + fmt.Sprintf("%v", this.Note) + `,`,
357 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
358 `DeprecatedSource:` + strings.Replace(strings.Replace(this.DeprecatedSource.String(), "EventSource", "k8s_io_api_core_v1.EventSource", 1), `&`, ``, 1) + `,`,
359 `DeprecatedFirstTimestamp:` + strings.Replace(strings.Replace(this.DeprecatedFirstTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
360 `DeprecatedLastTimestamp:` + strings.Replace(strings.Replace(this.DeprecatedLastTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
361 `DeprecatedCount:` + fmt.Sprintf("%v", this.DeprecatedCount) + `,`,
366 func (this *EventList) String() string {
370 s := strings.Join([]string{`&EventList{`,
371 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
372 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Event", "Event", 1), `&`, ``, 1) + `,`,
377 func (this *EventSeries) String() string {
381 s := strings.Join([]string{`&EventSeries{`,
382 `Count:` + fmt.Sprintf("%v", this.Count) + `,`,
383 `LastObservedTime:` + strings.Replace(strings.Replace(this.LastObservedTime.String(), "MicroTime", "k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime", 1), `&`, ``, 1) + `,`,
384 `State:` + fmt.Sprintf("%v", this.State) + `,`,
389 func valueToStringGenerated(v interface{}) string {
390 rv := reflect.ValueOf(v)
394 pv := reflect.Indirect(rv).Interface()
395 return fmt.Sprintf("*%v", pv)
397 func (m *Event) Unmarshal(dAtA []byte) error {
403 for shift := uint(0); ; shift += 7 {
405 return ErrIntOverflowGenerated
408 return io.ErrUnexpectedEOF
412 wire |= (uint64(b) & 0x7F) << shift
417 fieldNum := int32(wire >> 3)
418 wireType := int(wire & 0x7)
420 return fmt.Errorf("proto: Event: wiretype end group for non-group")
423 return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire)
428 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
431 for shift := uint(0); ; shift += 7 {
433 return ErrIntOverflowGenerated
436 return io.ErrUnexpectedEOF
440 msglen |= (int(b) & 0x7F) << shift
446 return ErrInvalidLengthGenerated
448 postIndex := iNdEx + msglen
450 return io.ErrUnexpectedEOF
452 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
458 return fmt.Errorf("proto: wrong wireType = %d for field EventTime", wireType)
461 for shift := uint(0); ; shift += 7 {
463 return ErrIntOverflowGenerated
466 return io.ErrUnexpectedEOF
470 msglen |= (int(b) & 0x7F) << shift
476 return ErrInvalidLengthGenerated
478 postIndex := iNdEx + msglen
480 return io.ErrUnexpectedEOF
482 if err := m.EventTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
488 return fmt.Errorf("proto: wrong wireType = %d for field Series", wireType)
491 for shift := uint(0); ; shift += 7 {
493 return ErrIntOverflowGenerated
496 return io.ErrUnexpectedEOF
500 msglen |= (int(b) & 0x7F) << shift
506 return ErrInvalidLengthGenerated
508 postIndex := iNdEx + msglen
510 return io.ErrUnexpectedEOF
513 m.Series = &EventSeries{}
515 if err := m.Series.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
521 return fmt.Errorf("proto: wrong wireType = %d for field ReportingController", wireType)
524 for shift := uint(0); ; shift += 7 {
526 return ErrIntOverflowGenerated
529 return io.ErrUnexpectedEOF
533 stringLen |= (uint64(b) & 0x7F) << shift
538 intStringLen := int(stringLen)
539 if intStringLen < 0 {
540 return ErrInvalidLengthGenerated
542 postIndex := iNdEx + intStringLen
544 return io.ErrUnexpectedEOF
546 m.ReportingController = string(dAtA[iNdEx:postIndex])
550 return fmt.Errorf("proto: wrong wireType = %d for field ReportingInstance", wireType)
553 for shift := uint(0); ; shift += 7 {
555 return ErrIntOverflowGenerated
558 return io.ErrUnexpectedEOF
562 stringLen |= (uint64(b) & 0x7F) << shift
567 intStringLen := int(stringLen)
568 if intStringLen < 0 {
569 return ErrInvalidLengthGenerated
571 postIndex := iNdEx + intStringLen
573 return io.ErrUnexpectedEOF
575 m.ReportingInstance = string(dAtA[iNdEx:postIndex])
579 return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
582 for shift := uint(0); ; shift += 7 {
584 return ErrIntOverflowGenerated
587 return io.ErrUnexpectedEOF
591 stringLen |= (uint64(b) & 0x7F) << shift
596 intStringLen := int(stringLen)
597 if intStringLen < 0 {
598 return ErrInvalidLengthGenerated
600 postIndex := iNdEx + intStringLen
602 return io.ErrUnexpectedEOF
604 m.Action = string(dAtA[iNdEx:postIndex])
608 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
611 for shift := uint(0); ; shift += 7 {
613 return ErrIntOverflowGenerated
616 return io.ErrUnexpectedEOF
620 stringLen |= (uint64(b) & 0x7F) << shift
625 intStringLen := int(stringLen)
626 if intStringLen < 0 {
627 return ErrInvalidLengthGenerated
629 postIndex := iNdEx + intStringLen
631 return io.ErrUnexpectedEOF
633 m.Reason = string(dAtA[iNdEx:postIndex])
637 return fmt.Errorf("proto: wrong wireType = %d for field Regarding", wireType)
640 for shift := uint(0); ; shift += 7 {
642 return ErrIntOverflowGenerated
645 return io.ErrUnexpectedEOF
649 msglen |= (int(b) & 0x7F) << shift
655 return ErrInvalidLengthGenerated
657 postIndex := iNdEx + msglen
659 return io.ErrUnexpectedEOF
661 if err := m.Regarding.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
667 return fmt.Errorf("proto: wrong wireType = %d for field Related", wireType)
670 for shift := uint(0); ; shift += 7 {
672 return ErrIntOverflowGenerated
675 return io.ErrUnexpectedEOF
679 msglen |= (int(b) & 0x7F) << shift
685 return ErrInvalidLengthGenerated
687 postIndex := iNdEx + msglen
689 return io.ErrUnexpectedEOF
691 if m.Related == nil {
692 m.Related = &k8s_io_api_core_v1.ObjectReference{}
694 if err := m.Related.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
700 return fmt.Errorf("proto: wrong wireType = %d for field Note", wireType)
703 for shift := uint(0); ; shift += 7 {
705 return ErrIntOverflowGenerated
708 return io.ErrUnexpectedEOF
712 stringLen |= (uint64(b) & 0x7F) << shift
717 intStringLen := int(stringLen)
718 if intStringLen < 0 {
719 return ErrInvalidLengthGenerated
721 postIndex := iNdEx + intStringLen
723 return io.ErrUnexpectedEOF
725 m.Note = string(dAtA[iNdEx:postIndex])
729 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
732 for shift := uint(0); ; shift += 7 {
734 return ErrIntOverflowGenerated
737 return io.ErrUnexpectedEOF
741 stringLen |= (uint64(b) & 0x7F) << shift
746 intStringLen := int(stringLen)
747 if intStringLen < 0 {
748 return ErrInvalidLengthGenerated
750 postIndex := iNdEx + intStringLen
752 return io.ErrUnexpectedEOF
754 m.Type = string(dAtA[iNdEx:postIndex])
758 return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedSource", wireType)
761 for shift := uint(0); ; shift += 7 {
763 return ErrIntOverflowGenerated
766 return io.ErrUnexpectedEOF
770 msglen |= (int(b) & 0x7F) << shift
776 return ErrInvalidLengthGenerated
778 postIndex := iNdEx + msglen
780 return io.ErrUnexpectedEOF
782 if err := m.DeprecatedSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
788 return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedFirstTimestamp", wireType)
791 for shift := uint(0); ; shift += 7 {
793 return ErrIntOverflowGenerated
796 return io.ErrUnexpectedEOF
800 msglen |= (int(b) & 0x7F) << shift
806 return ErrInvalidLengthGenerated
808 postIndex := iNdEx + msglen
810 return io.ErrUnexpectedEOF
812 if err := m.DeprecatedFirstTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
818 return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedLastTimestamp", wireType)
821 for shift := uint(0); ; shift += 7 {
823 return ErrIntOverflowGenerated
826 return io.ErrUnexpectedEOF
830 msglen |= (int(b) & 0x7F) << shift
836 return ErrInvalidLengthGenerated
838 postIndex := iNdEx + msglen
840 return io.ErrUnexpectedEOF
842 if err := m.DeprecatedLastTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
848 return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedCount", wireType)
850 m.DeprecatedCount = 0
851 for shift := uint(0); ; shift += 7 {
853 return ErrIntOverflowGenerated
856 return io.ErrUnexpectedEOF
860 m.DeprecatedCount |= (int32(b) & 0x7F) << shift
867 skippy, err := skipGenerated(dAtA[iNdEx:])
872 return ErrInvalidLengthGenerated
874 if (iNdEx + skippy) > l {
875 return io.ErrUnexpectedEOF
882 return io.ErrUnexpectedEOF
886 func (m *EventList) Unmarshal(dAtA []byte) error {
892 for shift := uint(0); ; shift += 7 {
894 return ErrIntOverflowGenerated
897 return io.ErrUnexpectedEOF
901 wire |= (uint64(b) & 0x7F) << shift
906 fieldNum := int32(wire >> 3)
907 wireType := int(wire & 0x7)
909 return fmt.Errorf("proto: EventList: wiretype end group for non-group")
912 return fmt.Errorf("proto: EventList: illegal tag %d (wire type %d)", fieldNum, wire)
917 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
920 for shift := uint(0); ; shift += 7 {
922 return ErrIntOverflowGenerated
925 return io.ErrUnexpectedEOF
929 msglen |= (int(b) & 0x7F) << shift
935 return ErrInvalidLengthGenerated
937 postIndex := iNdEx + msglen
939 return io.ErrUnexpectedEOF
941 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
947 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
950 for shift := uint(0); ; shift += 7 {
952 return ErrIntOverflowGenerated
955 return io.ErrUnexpectedEOF
959 msglen |= (int(b) & 0x7F) << shift
965 return ErrInvalidLengthGenerated
967 postIndex := iNdEx + msglen
969 return io.ErrUnexpectedEOF
971 m.Items = append(m.Items, Event{})
972 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
978 skippy, err := skipGenerated(dAtA[iNdEx:])
983 return ErrInvalidLengthGenerated
985 if (iNdEx + skippy) > l {
986 return io.ErrUnexpectedEOF
993 return io.ErrUnexpectedEOF
997 func (m *EventSeries) Unmarshal(dAtA []byte) error {
1003 for shift := uint(0); ; shift += 7 {
1005 return ErrIntOverflowGenerated
1008 return io.ErrUnexpectedEOF
1012 wire |= (uint64(b) & 0x7F) << shift
1017 fieldNum := int32(wire >> 3)
1018 wireType := int(wire & 0x7)
1020 return fmt.Errorf("proto: EventSeries: wiretype end group for non-group")
1023 return fmt.Errorf("proto: EventSeries: illegal tag %d (wire type %d)", fieldNum, wire)
1028 return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
1031 for shift := uint(0); ; shift += 7 {
1033 return ErrIntOverflowGenerated
1036 return io.ErrUnexpectedEOF
1040 m.Count |= (int32(b) & 0x7F) << shift
1047 return fmt.Errorf("proto: wrong wireType = %d for field LastObservedTime", wireType)
1050 for shift := uint(0); ; shift += 7 {
1052 return ErrIntOverflowGenerated
1055 return io.ErrUnexpectedEOF
1059 msglen |= (int(b) & 0x7F) << shift
1065 return ErrInvalidLengthGenerated
1067 postIndex := iNdEx + msglen
1069 return io.ErrUnexpectedEOF
1071 if err := m.LastObservedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1077 return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
1079 var stringLen uint64
1080 for shift := uint(0); ; shift += 7 {
1082 return ErrIntOverflowGenerated
1085 return io.ErrUnexpectedEOF
1089 stringLen |= (uint64(b) & 0x7F) << shift
1094 intStringLen := int(stringLen)
1095 if intStringLen < 0 {
1096 return ErrInvalidLengthGenerated
1098 postIndex := iNdEx + intStringLen
1100 return io.ErrUnexpectedEOF
1102 m.State = EventSeriesState(dAtA[iNdEx:postIndex])
1106 skippy, err := skipGenerated(dAtA[iNdEx:])
1111 return ErrInvalidLengthGenerated
1113 if (iNdEx + skippy) > l {
1114 return io.ErrUnexpectedEOF
1121 return io.ErrUnexpectedEOF
1125 func skipGenerated(dAtA []byte) (n int, err error) {
1130 for shift := uint(0); ; shift += 7 {
1132 return 0, ErrIntOverflowGenerated
1135 return 0, io.ErrUnexpectedEOF
1139 wire |= (uint64(b) & 0x7F) << shift
1144 wireType := int(wire & 0x7)
1147 for shift := uint(0); ; shift += 7 {
1149 return 0, ErrIntOverflowGenerated
1152 return 0, io.ErrUnexpectedEOF
1155 if dAtA[iNdEx-1] < 0x80 {
1165 for shift := uint(0); ; shift += 7 {
1167 return 0, ErrIntOverflowGenerated
1170 return 0, io.ErrUnexpectedEOF
1174 length |= (int(b) & 0x7F) << shift
1181 return 0, ErrInvalidLengthGenerated
1186 var innerWire uint64
1187 var start int = iNdEx
1188 for shift := uint(0); ; shift += 7 {
1190 return 0, ErrIntOverflowGenerated
1193 return 0, io.ErrUnexpectedEOF
1197 innerWire |= (uint64(b) & 0x7F) << shift
1202 innerWireType := int(innerWire & 0x7)
1203 if innerWireType == 4 {
1206 next, err := skipGenerated(dAtA[start:])
1210 iNdEx = start + next
1219 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
1222 panic("unreachable")
1226 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
1227 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
1231 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/events/v1beta1/generated.proto", fileDescriptorGenerated)
1234 var fileDescriptorGenerated = []byte{
1235 // 801 bytes of a gzipped FileDescriptorProto
1236 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcd, 0x6e, 0xdb, 0x46,
1237 0x10, 0x16, 0x13, 0x4b, 0xb2, 0x56, 0x49, 0x2c, 0x6f, 0x0e, 0xde, 0xb8, 0x00, 0xa5, 0x2a, 0x40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x25, 0x27, 0x5c, 0xc7, 0x09, 0xac, 0x11, 0xbe, 0xfe, 0x14, 0x41, 0x85, 0x57, 0x90, 0xb0,
1250 0x55, 0x5e, 0xf7, 0x8f, 0x06, 0xaa, 0x9e, 0xe6, 0x43, 0xc0, 0xef, 0xd0, 0x7e, 0x5e, 0xcd, 0x90,
1251 0x69, 0x46, 0x9c, 0x8e, 0xd3, 0x6b, 0xbe, 0xf8, 0xd2, 0x2b, 0x27, 0xb5, 0x10, 0xf5, 0xd2, 0x51,
1252 0x94, 0x07, 0x94, 0x97, 0xa3, 0xbd, 0xe9, 0x89, 0xf7, 0x76, 0xf0, 0x33, 0x84, 0xfa, 0x1c, 0x34,
1253 0x0b, 0xf0, 0xcd, 0xac, 0x5d, 0xc9, 0x66, 0x6d, 0x54, 0xc6, 0xe8, 0x42, 0x15, 0xbf, 0x43, 0x0d,
1254 0x33, 0xef, 0xcb, 0x38, 0x01, 0x72, 0xcf, 0x58, 0xf8, 0xbb, 0x59, 0x9c, 0xc7, 0xa1, 0x14, 0x39,
1255 0x2d, 0x38, 0xb4, 0x0e, 0x8d, 0xd3, 0xb9, 0x12, 0x2d, 0x45, 0xf1, 0x1b, 0x54, 0x53, 0x20, 0x63,
1256 0x50, 0xe4, 0xbe, 0x91, 0x7f, 0xe6, 0x6d, 0x7d, 0x6b, 0xcf, 0x08, 0x5c, 0x18, 0x74, 0x80, 0xb2,
1257 0x59, 0xbb, 0x56, 0xfc, 0xa6, 0x56, 0x01, 0x9f, 0xa3, 0xc7, 0x12, 0x52, 0x21, 0x75, 0xcc, 0xa3,
1258 0x57, 0x82, 0x6b, 0x29, 0xc6, 0x63, 0x90, 0x64, 0xaf, 0xe3, 0xf4, 0x1a, 0xc1, 0x67, 0xb6, 0x8c,
1259 0xc7, 0x74, 0x1d, 0x42, 0x37, 0xf1, 0xf0, 0xf7, 0xe8, 0x70, 0x11, 0x7e, 0xcd, 0x95, 0x66, 0x3c,
1260 0x04, 0x52, 0x35, 0x62, 0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23, 0x26, 0x46, 0x0b, 0x7c, 0xf0, 0xfc, 0xe6,
1283 0xd6, 0xad, 0x7c, 0xb8, 0x75, 0x2b, 0x1f, 0x6f, 0xdd, 0xca, 0x2f, 0x99, 0xeb, 0xdc, 0x64, 0xae,
1284 0xf3, 0x21, 0x73, 0x9d, 0x8f, 0x99, 0xeb, 0xfc, 0x95, 0xb9, 0xce, 0xef, 0x7f, 0xbb, 0x95, 0x1f,
1285 0xeb, 0x76, 0x5e, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x25, 0x9b, 0x14, 0x4d, 0xbd, 0x07, 0x00,