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/autoscaling/v1/generated.proto
21 Package v1 is a generated protocol buffer package.
23 It is generated from these files:
24 k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v1/generated.proto
26 It has these top-level messages:
27 CrossVersionObjectReference
30 HorizontalPodAutoscaler
31 HorizontalPodAutoscalerCondition
32 HorizontalPodAutoscalerList
33 HorizontalPodAutoscalerSpec
34 HorizontalPodAutoscalerStatus
49 import proto "github.com/gogo/protobuf/proto"
53 import k8s_io_apimachinery_pkg_api_resource "k8s.io/apimachinery/pkg/api/resource"
54 import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
56 import k8s_io_api_core_v1 "k8s.io/api/core/v1"
58 import strings "strings"
59 import reflect "reflect"
63 // Reference imports to suppress errors if they are not otherwise used.
68 // This is a compile-time assertion to ensure that this generated file
69 // is compatible with the proto package it is being compiled against.
70 // A compilation error at this line likely means your copy of the
71 // proto package needs to be updated.
72 const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
74 func (m *CrossVersionObjectReference) Reset() { *m = CrossVersionObjectReference{} }
75 func (*CrossVersionObjectReference) ProtoMessage() {}
76 func (*CrossVersionObjectReference) Descriptor() ([]byte, []int) {
77 return fileDescriptorGenerated, []int{0}
80 func (m *ExternalMetricSource) Reset() { *m = ExternalMetricSource{} }
81 func (*ExternalMetricSource) ProtoMessage() {}
82 func (*ExternalMetricSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
84 func (m *ExternalMetricStatus) Reset() { *m = ExternalMetricStatus{} }
85 func (*ExternalMetricStatus) ProtoMessage() {}
86 func (*ExternalMetricStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
88 func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} }
89 func (*HorizontalPodAutoscaler) ProtoMessage() {}
90 func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
92 func (m *HorizontalPodAutoscalerCondition) Reset() { *m = HorizontalPodAutoscalerCondition{} }
93 func (*HorizontalPodAutoscalerCondition) ProtoMessage() {}
94 func (*HorizontalPodAutoscalerCondition) Descriptor() ([]byte, []int) {
95 return fileDescriptorGenerated, []int{4}
98 func (m *HorizontalPodAutoscalerList) Reset() { *m = HorizontalPodAutoscalerList{} }
99 func (*HorizontalPodAutoscalerList) ProtoMessage() {}
100 func (*HorizontalPodAutoscalerList) Descriptor() ([]byte, []int) {
101 return fileDescriptorGenerated, []int{5}
104 func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} }
105 func (*HorizontalPodAutoscalerSpec) ProtoMessage() {}
106 func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) {
107 return fileDescriptorGenerated, []int{6}
110 func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} }
111 func (*HorizontalPodAutoscalerStatus) ProtoMessage() {}
112 func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) {
113 return fileDescriptorGenerated, []int{7}
116 func (m *MetricSpec) Reset() { *m = MetricSpec{} }
117 func (*MetricSpec) ProtoMessage() {}
118 func (*MetricSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
120 func (m *MetricStatus) Reset() { *m = MetricStatus{} }
121 func (*MetricStatus) ProtoMessage() {}
122 func (*MetricStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
124 func (m *ObjectMetricSource) Reset() { *m = ObjectMetricSource{} }
125 func (*ObjectMetricSource) ProtoMessage() {}
126 func (*ObjectMetricSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
128 func (m *ObjectMetricStatus) Reset() { *m = ObjectMetricStatus{} }
129 func (*ObjectMetricStatus) ProtoMessage() {}
130 func (*ObjectMetricStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
132 func (m *PodsMetricSource) Reset() { *m = PodsMetricSource{} }
133 func (*PodsMetricSource) ProtoMessage() {}
134 func (*PodsMetricSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
136 func (m *PodsMetricStatus) Reset() { *m = PodsMetricStatus{} }
137 func (*PodsMetricStatus) ProtoMessage() {}
138 func (*PodsMetricStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
140 func (m *ResourceMetricSource) Reset() { *m = ResourceMetricSource{} }
141 func (*ResourceMetricSource) ProtoMessage() {}
142 func (*ResourceMetricSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
144 func (m *ResourceMetricStatus) Reset() { *m = ResourceMetricStatus{} }
145 func (*ResourceMetricStatus) ProtoMessage() {}
146 func (*ResourceMetricStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
148 func (m *Scale) Reset() { *m = Scale{} }
149 func (*Scale) ProtoMessage() {}
150 func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
152 func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
153 func (*ScaleSpec) ProtoMessage() {}
154 func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
156 func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
157 func (*ScaleStatus) ProtoMessage() {}
158 func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
161 proto.RegisterType((*CrossVersionObjectReference)(nil), "k8s.io.api.autoscaling.v1.CrossVersionObjectReference")
162 proto.RegisterType((*ExternalMetricSource)(nil), "k8s.io.api.autoscaling.v1.ExternalMetricSource")
163 proto.RegisterType((*ExternalMetricStatus)(nil), "k8s.io.api.autoscaling.v1.ExternalMetricStatus")
164 proto.RegisterType((*HorizontalPodAutoscaler)(nil), "k8s.io.api.autoscaling.v1.HorizontalPodAutoscaler")
165 proto.RegisterType((*HorizontalPodAutoscalerCondition)(nil), "k8s.io.api.autoscaling.v1.HorizontalPodAutoscalerCondition")
166 proto.RegisterType((*HorizontalPodAutoscalerList)(nil), "k8s.io.api.autoscaling.v1.HorizontalPodAutoscalerList")
167 proto.RegisterType((*HorizontalPodAutoscalerSpec)(nil), "k8s.io.api.autoscaling.v1.HorizontalPodAutoscalerSpec")
168 proto.RegisterType((*HorizontalPodAutoscalerStatus)(nil), "k8s.io.api.autoscaling.v1.HorizontalPodAutoscalerStatus")
169 proto.RegisterType((*MetricSpec)(nil), "k8s.io.api.autoscaling.v1.MetricSpec")
170 proto.RegisterType((*MetricStatus)(nil), "k8s.io.api.autoscaling.v1.MetricStatus")
171 proto.RegisterType((*ObjectMetricSource)(nil), "k8s.io.api.autoscaling.v1.ObjectMetricSource")
172 proto.RegisterType((*ObjectMetricStatus)(nil), "k8s.io.api.autoscaling.v1.ObjectMetricStatus")
173 proto.RegisterType((*PodsMetricSource)(nil), "k8s.io.api.autoscaling.v1.PodsMetricSource")
174 proto.RegisterType((*PodsMetricStatus)(nil), "k8s.io.api.autoscaling.v1.PodsMetricStatus")
175 proto.RegisterType((*ResourceMetricSource)(nil), "k8s.io.api.autoscaling.v1.ResourceMetricSource")
176 proto.RegisterType((*ResourceMetricStatus)(nil), "k8s.io.api.autoscaling.v1.ResourceMetricStatus")
177 proto.RegisterType((*Scale)(nil), "k8s.io.api.autoscaling.v1.Scale")
178 proto.RegisterType((*ScaleSpec)(nil), "k8s.io.api.autoscaling.v1.ScaleSpec")
179 proto.RegisterType((*ScaleStatus)(nil), "k8s.io.api.autoscaling.v1.ScaleStatus")
181 func (m *CrossVersionObjectReference) Marshal() (dAtA []byte, err error) {
183 dAtA = make([]byte, size)
184 n, err := m.MarshalTo(dAtA)
191 func (m *CrossVersionObjectReference) MarshalTo(dAtA []byte) (int, error) {
198 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
199 i += copy(dAtA[i:], m.Kind)
202 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
203 i += copy(dAtA[i:], m.Name)
206 i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
207 i += copy(dAtA[i:], m.APIVersion)
211 func (m *ExternalMetricSource) Marshal() (dAtA []byte, err error) {
213 dAtA = make([]byte, size)
214 n, err := m.MarshalTo(dAtA)
221 func (m *ExternalMetricSource) MarshalTo(dAtA []byte) (int, error) {
228 i = encodeVarintGenerated(dAtA, i, uint64(len(m.MetricName)))
229 i += copy(dAtA[i:], m.MetricName)
230 if m.MetricSelector != nil {
233 i = encodeVarintGenerated(dAtA, i, uint64(m.MetricSelector.Size()))
234 n1, err := m.MetricSelector.MarshalTo(dAtA[i:])
240 if m.TargetValue != nil {
243 i = encodeVarintGenerated(dAtA, i, uint64(m.TargetValue.Size()))
244 n2, err := m.TargetValue.MarshalTo(dAtA[i:])
250 if m.TargetAverageValue != nil {
253 i = encodeVarintGenerated(dAtA, i, uint64(m.TargetAverageValue.Size()))
254 n3, err := m.TargetAverageValue.MarshalTo(dAtA[i:])
263 func (m *ExternalMetricStatus) Marshal() (dAtA []byte, err error) {
265 dAtA = make([]byte, size)
266 n, err := m.MarshalTo(dAtA)
273 func (m *ExternalMetricStatus) MarshalTo(dAtA []byte) (int, error) {
280 i = encodeVarintGenerated(dAtA, i, uint64(len(m.MetricName)))
281 i += copy(dAtA[i:], m.MetricName)
282 if m.MetricSelector != nil {
285 i = encodeVarintGenerated(dAtA, i, uint64(m.MetricSelector.Size()))
286 n4, err := m.MetricSelector.MarshalTo(dAtA[i:])
294 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentValue.Size()))
295 n5, err := m.CurrentValue.MarshalTo(dAtA[i:])
300 if m.CurrentAverageValue != nil {
303 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentAverageValue.Size()))
304 n6, err := m.CurrentAverageValue.MarshalTo(dAtA[i:])
313 func (m *HorizontalPodAutoscaler) Marshal() (dAtA []byte, err error) {
315 dAtA = make([]byte, size)
316 n, err := m.MarshalTo(dAtA)
323 func (m *HorizontalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) {
330 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
331 n7, err := m.ObjectMeta.MarshalTo(dAtA[i:])
338 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
339 n8, err := m.Spec.MarshalTo(dAtA[i:])
346 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
347 n9, err := m.Status.MarshalTo(dAtA[i:])
355 func (m *HorizontalPodAutoscalerCondition) Marshal() (dAtA []byte, err error) {
357 dAtA = make([]byte, size)
358 n, err := m.MarshalTo(dAtA)
365 func (m *HorizontalPodAutoscalerCondition) MarshalTo(dAtA []byte) (int, error) {
372 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
373 i += copy(dAtA[i:], m.Type)
376 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
377 i += copy(dAtA[i:], m.Status)
380 i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
381 n10, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
388 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
389 i += copy(dAtA[i:], m.Reason)
392 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
393 i += copy(dAtA[i:], m.Message)
397 func (m *HorizontalPodAutoscalerList) Marshal() (dAtA []byte, err error) {
399 dAtA = make([]byte, size)
400 n, err := m.MarshalTo(dAtA)
407 func (m *HorizontalPodAutoscalerList) MarshalTo(dAtA []byte) (int, error) {
414 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
415 n11, err := m.ListMeta.MarshalTo(dAtA[i:])
420 if len(m.Items) > 0 {
421 for _, msg := range m.Items {
424 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
425 n, err := msg.MarshalTo(dAtA[i:])
435 func (m *HorizontalPodAutoscalerSpec) Marshal() (dAtA []byte, err error) {
437 dAtA = make([]byte, size)
438 n, err := m.MarshalTo(dAtA)
445 func (m *HorizontalPodAutoscalerSpec) MarshalTo(dAtA []byte) (int, error) {
452 i = encodeVarintGenerated(dAtA, i, uint64(m.ScaleTargetRef.Size()))
453 n12, err := m.ScaleTargetRef.MarshalTo(dAtA[i:])
458 if m.MinReplicas != nil {
461 i = encodeVarintGenerated(dAtA, i, uint64(*m.MinReplicas))
465 i = encodeVarintGenerated(dAtA, i, uint64(m.MaxReplicas))
466 if m.TargetCPUUtilizationPercentage != nil {
469 i = encodeVarintGenerated(dAtA, i, uint64(*m.TargetCPUUtilizationPercentage))
474 func (m *HorizontalPodAutoscalerStatus) Marshal() (dAtA []byte, err error) {
476 dAtA = make([]byte, size)
477 n, err := m.MarshalTo(dAtA)
484 func (m *HorizontalPodAutoscalerStatus) MarshalTo(dAtA []byte) (int, error) {
489 if m.ObservedGeneration != nil {
492 i = encodeVarintGenerated(dAtA, i, uint64(*m.ObservedGeneration))
494 if m.LastScaleTime != nil {
497 i = encodeVarintGenerated(dAtA, i, uint64(m.LastScaleTime.Size()))
498 n13, err := m.LastScaleTime.MarshalTo(dAtA[i:])
506 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentReplicas))
509 i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredReplicas))
510 if m.CurrentCPUUtilizationPercentage != nil {
513 i = encodeVarintGenerated(dAtA, i, uint64(*m.CurrentCPUUtilizationPercentage))
518 func (m *MetricSpec) Marshal() (dAtA []byte, err error) {
520 dAtA = make([]byte, size)
521 n, err := m.MarshalTo(dAtA)
528 func (m *MetricSpec) MarshalTo(dAtA []byte) (int, error) {
535 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
536 i += copy(dAtA[i:], m.Type)
540 i = encodeVarintGenerated(dAtA, i, uint64(m.Object.Size()))
541 n14, err := m.Object.MarshalTo(dAtA[i:])
550 i = encodeVarintGenerated(dAtA, i, uint64(m.Pods.Size()))
551 n15, err := m.Pods.MarshalTo(dAtA[i:])
557 if m.Resource != nil {
560 i = encodeVarintGenerated(dAtA, i, uint64(m.Resource.Size()))
561 n16, err := m.Resource.MarshalTo(dAtA[i:])
567 if m.External != nil {
570 i = encodeVarintGenerated(dAtA, i, uint64(m.External.Size()))
571 n17, err := m.External.MarshalTo(dAtA[i:])
580 func (m *MetricStatus) Marshal() (dAtA []byte, err error) {
582 dAtA = make([]byte, size)
583 n, err := m.MarshalTo(dAtA)
590 func (m *MetricStatus) MarshalTo(dAtA []byte) (int, error) {
597 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
598 i += copy(dAtA[i:], m.Type)
602 i = encodeVarintGenerated(dAtA, i, uint64(m.Object.Size()))
603 n18, err := m.Object.MarshalTo(dAtA[i:])
612 i = encodeVarintGenerated(dAtA, i, uint64(m.Pods.Size()))
613 n19, err := m.Pods.MarshalTo(dAtA[i:])
619 if m.Resource != nil {
622 i = encodeVarintGenerated(dAtA, i, uint64(m.Resource.Size()))
623 n20, err := m.Resource.MarshalTo(dAtA[i:])
629 if m.External != nil {
632 i = encodeVarintGenerated(dAtA, i, uint64(m.External.Size()))
633 n21, err := m.External.MarshalTo(dAtA[i:])
642 func (m *ObjectMetricSource) Marshal() (dAtA []byte, err error) {
644 dAtA = make([]byte, size)
645 n, err := m.MarshalTo(dAtA)
652 func (m *ObjectMetricSource) MarshalTo(dAtA []byte) (int, error) {
659 i = encodeVarintGenerated(dAtA, i, uint64(m.Target.Size()))
660 n22, err := m.Target.MarshalTo(dAtA[i:])
667 i = encodeVarintGenerated(dAtA, i, uint64(len(m.MetricName)))
668 i += copy(dAtA[i:], m.MetricName)
671 i = encodeVarintGenerated(dAtA, i, uint64(m.TargetValue.Size()))
672 n23, err := m.TargetValue.MarshalTo(dAtA[i:])
677 if m.Selector != nil {
680 i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
681 n24, err := m.Selector.MarshalTo(dAtA[i:])
687 if m.AverageValue != nil {
690 i = encodeVarintGenerated(dAtA, i, uint64(m.AverageValue.Size()))
691 n25, err := m.AverageValue.MarshalTo(dAtA[i:])
700 func (m *ObjectMetricStatus) Marshal() (dAtA []byte, err error) {
702 dAtA = make([]byte, size)
703 n, err := m.MarshalTo(dAtA)
710 func (m *ObjectMetricStatus) MarshalTo(dAtA []byte) (int, error) {
717 i = encodeVarintGenerated(dAtA, i, uint64(m.Target.Size()))
718 n26, err := m.Target.MarshalTo(dAtA[i:])
725 i = encodeVarintGenerated(dAtA, i, uint64(len(m.MetricName)))
726 i += copy(dAtA[i:], m.MetricName)
729 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentValue.Size()))
730 n27, err := m.CurrentValue.MarshalTo(dAtA[i:])
735 if m.Selector != nil {
738 i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
739 n28, err := m.Selector.MarshalTo(dAtA[i:])
745 if m.AverageValue != nil {
748 i = encodeVarintGenerated(dAtA, i, uint64(m.AverageValue.Size()))
749 n29, err := m.AverageValue.MarshalTo(dAtA[i:])
758 func (m *PodsMetricSource) Marshal() (dAtA []byte, err error) {
760 dAtA = make([]byte, size)
761 n, err := m.MarshalTo(dAtA)
768 func (m *PodsMetricSource) MarshalTo(dAtA []byte) (int, error) {
775 i = encodeVarintGenerated(dAtA, i, uint64(len(m.MetricName)))
776 i += copy(dAtA[i:], m.MetricName)
779 i = encodeVarintGenerated(dAtA, i, uint64(m.TargetAverageValue.Size()))
780 n30, err := m.TargetAverageValue.MarshalTo(dAtA[i:])
785 if m.Selector != nil {
788 i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
789 n31, err := m.Selector.MarshalTo(dAtA[i:])
798 func (m *PodsMetricStatus) Marshal() (dAtA []byte, err error) {
800 dAtA = make([]byte, size)
801 n, err := m.MarshalTo(dAtA)
808 func (m *PodsMetricStatus) MarshalTo(dAtA []byte) (int, error) {
815 i = encodeVarintGenerated(dAtA, i, uint64(len(m.MetricName)))
816 i += copy(dAtA[i:], m.MetricName)
819 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentAverageValue.Size()))
820 n32, err := m.CurrentAverageValue.MarshalTo(dAtA[i:])
825 if m.Selector != nil {
828 i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
829 n33, err := m.Selector.MarshalTo(dAtA[i:])
838 func (m *ResourceMetricSource) Marshal() (dAtA []byte, err error) {
840 dAtA = make([]byte, size)
841 n, err := m.MarshalTo(dAtA)
848 func (m *ResourceMetricSource) MarshalTo(dAtA []byte) (int, error) {
855 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
856 i += copy(dAtA[i:], m.Name)
857 if m.TargetAverageUtilization != nil {
860 i = encodeVarintGenerated(dAtA, i, uint64(*m.TargetAverageUtilization))
862 if m.TargetAverageValue != nil {
865 i = encodeVarintGenerated(dAtA, i, uint64(m.TargetAverageValue.Size()))
866 n34, err := m.TargetAverageValue.MarshalTo(dAtA[i:])
875 func (m *ResourceMetricStatus) Marshal() (dAtA []byte, err error) {
877 dAtA = make([]byte, size)
878 n, err := m.MarshalTo(dAtA)
885 func (m *ResourceMetricStatus) MarshalTo(dAtA []byte) (int, error) {
892 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
893 i += copy(dAtA[i:], m.Name)
894 if m.CurrentAverageUtilization != nil {
897 i = encodeVarintGenerated(dAtA, i, uint64(*m.CurrentAverageUtilization))
901 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentAverageValue.Size()))
902 n35, err := m.CurrentAverageValue.MarshalTo(dAtA[i:])
910 func (m *Scale) Marshal() (dAtA []byte, err error) {
912 dAtA = make([]byte, size)
913 n, err := m.MarshalTo(dAtA)
920 func (m *Scale) MarshalTo(dAtA []byte) (int, error) {
927 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
928 n36, err := m.ObjectMeta.MarshalTo(dAtA[i:])
935 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
936 n37, err := m.Spec.MarshalTo(dAtA[i:])
943 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
944 n38, err := m.Status.MarshalTo(dAtA[i:])
952 func (m *ScaleSpec) Marshal() (dAtA []byte, err error) {
954 dAtA = make([]byte, size)
955 n, err := m.MarshalTo(dAtA)
962 func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error) {
969 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
973 func (m *ScaleStatus) Marshal() (dAtA []byte, err error) {
975 dAtA = make([]byte, size)
976 n, err := m.MarshalTo(dAtA)
983 func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error) {
990 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
993 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Selector)))
994 i += copy(dAtA[i:], m.Selector)
998 func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
1000 dAtA[offset] = uint8(v&0x7f | 0x80)
1004 dAtA[offset] = uint8(v)
1007 func (m *CrossVersionObjectReference) Size() (n int) {
1011 n += 1 + l + sovGenerated(uint64(l))
1013 n += 1 + l + sovGenerated(uint64(l))
1014 l = len(m.APIVersion)
1015 n += 1 + l + sovGenerated(uint64(l))
1019 func (m *ExternalMetricSource) Size() (n int) {
1022 l = len(m.MetricName)
1023 n += 1 + l + sovGenerated(uint64(l))
1024 if m.MetricSelector != nil {
1025 l = m.MetricSelector.Size()
1026 n += 1 + l + sovGenerated(uint64(l))
1028 if m.TargetValue != nil {
1029 l = m.TargetValue.Size()
1030 n += 1 + l + sovGenerated(uint64(l))
1032 if m.TargetAverageValue != nil {
1033 l = m.TargetAverageValue.Size()
1034 n += 1 + l + sovGenerated(uint64(l))
1039 func (m *ExternalMetricStatus) Size() (n int) {
1042 l = len(m.MetricName)
1043 n += 1 + l + sovGenerated(uint64(l))
1044 if m.MetricSelector != nil {
1045 l = m.MetricSelector.Size()
1046 n += 1 + l + sovGenerated(uint64(l))
1048 l = m.CurrentValue.Size()
1049 n += 1 + l + sovGenerated(uint64(l))
1050 if m.CurrentAverageValue != nil {
1051 l = m.CurrentAverageValue.Size()
1052 n += 1 + l + sovGenerated(uint64(l))
1057 func (m *HorizontalPodAutoscaler) Size() (n int) {
1060 l = m.ObjectMeta.Size()
1061 n += 1 + l + sovGenerated(uint64(l))
1063 n += 1 + l + sovGenerated(uint64(l))
1065 n += 1 + l + sovGenerated(uint64(l))
1069 func (m *HorizontalPodAutoscalerCondition) Size() (n int) {
1073 n += 1 + l + sovGenerated(uint64(l))
1075 n += 1 + l + sovGenerated(uint64(l))
1076 l = m.LastTransitionTime.Size()
1077 n += 1 + l + sovGenerated(uint64(l))
1079 n += 1 + l + sovGenerated(uint64(l))
1081 n += 1 + l + sovGenerated(uint64(l))
1085 func (m *HorizontalPodAutoscalerList) Size() (n int) {
1088 l = m.ListMeta.Size()
1089 n += 1 + l + sovGenerated(uint64(l))
1090 if len(m.Items) > 0 {
1091 for _, e := range m.Items {
1093 n += 1 + l + sovGenerated(uint64(l))
1099 func (m *HorizontalPodAutoscalerSpec) Size() (n int) {
1102 l = m.ScaleTargetRef.Size()
1103 n += 1 + l + sovGenerated(uint64(l))
1104 if m.MinReplicas != nil {
1105 n += 1 + sovGenerated(uint64(*m.MinReplicas))
1107 n += 1 + sovGenerated(uint64(m.MaxReplicas))
1108 if m.TargetCPUUtilizationPercentage != nil {
1109 n += 1 + sovGenerated(uint64(*m.TargetCPUUtilizationPercentage))
1114 func (m *HorizontalPodAutoscalerStatus) Size() (n int) {
1117 if m.ObservedGeneration != nil {
1118 n += 1 + sovGenerated(uint64(*m.ObservedGeneration))
1120 if m.LastScaleTime != nil {
1121 l = m.LastScaleTime.Size()
1122 n += 1 + l + sovGenerated(uint64(l))
1124 n += 1 + sovGenerated(uint64(m.CurrentReplicas))
1125 n += 1 + sovGenerated(uint64(m.DesiredReplicas))
1126 if m.CurrentCPUUtilizationPercentage != nil {
1127 n += 1 + sovGenerated(uint64(*m.CurrentCPUUtilizationPercentage))
1132 func (m *MetricSpec) Size() (n int) {
1136 n += 1 + l + sovGenerated(uint64(l))
1137 if m.Object != nil {
1139 n += 1 + l + sovGenerated(uint64(l))
1143 n += 1 + l + sovGenerated(uint64(l))
1145 if m.Resource != nil {
1146 l = m.Resource.Size()
1147 n += 1 + l + sovGenerated(uint64(l))
1149 if m.External != nil {
1150 l = m.External.Size()
1151 n += 1 + l + sovGenerated(uint64(l))
1156 func (m *MetricStatus) Size() (n int) {
1160 n += 1 + l + sovGenerated(uint64(l))
1161 if m.Object != nil {
1163 n += 1 + l + sovGenerated(uint64(l))
1167 n += 1 + l + sovGenerated(uint64(l))
1169 if m.Resource != nil {
1170 l = m.Resource.Size()
1171 n += 1 + l + sovGenerated(uint64(l))
1173 if m.External != nil {
1174 l = m.External.Size()
1175 n += 1 + l + sovGenerated(uint64(l))
1180 func (m *ObjectMetricSource) Size() (n int) {
1184 n += 1 + l + sovGenerated(uint64(l))
1185 l = len(m.MetricName)
1186 n += 1 + l + sovGenerated(uint64(l))
1187 l = m.TargetValue.Size()
1188 n += 1 + l + sovGenerated(uint64(l))
1189 if m.Selector != nil {
1190 l = m.Selector.Size()
1191 n += 1 + l + sovGenerated(uint64(l))
1193 if m.AverageValue != nil {
1194 l = m.AverageValue.Size()
1195 n += 1 + l + sovGenerated(uint64(l))
1200 func (m *ObjectMetricStatus) Size() (n int) {
1204 n += 1 + l + sovGenerated(uint64(l))
1205 l = len(m.MetricName)
1206 n += 1 + l + sovGenerated(uint64(l))
1207 l = m.CurrentValue.Size()
1208 n += 1 + l + sovGenerated(uint64(l))
1209 if m.Selector != nil {
1210 l = m.Selector.Size()
1211 n += 1 + l + sovGenerated(uint64(l))
1213 if m.AverageValue != nil {
1214 l = m.AverageValue.Size()
1215 n += 1 + l + sovGenerated(uint64(l))
1220 func (m *PodsMetricSource) Size() (n int) {
1223 l = len(m.MetricName)
1224 n += 1 + l + sovGenerated(uint64(l))
1225 l = m.TargetAverageValue.Size()
1226 n += 1 + l + sovGenerated(uint64(l))
1227 if m.Selector != nil {
1228 l = m.Selector.Size()
1229 n += 1 + l + sovGenerated(uint64(l))
1234 func (m *PodsMetricStatus) Size() (n int) {
1237 l = len(m.MetricName)
1238 n += 1 + l + sovGenerated(uint64(l))
1239 l = m.CurrentAverageValue.Size()
1240 n += 1 + l + sovGenerated(uint64(l))
1241 if m.Selector != nil {
1242 l = m.Selector.Size()
1243 n += 1 + l + sovGenerated(uint64(l))
1248 func (m *ResourceMetricSource) Size() (n int) {
1252 n += 1 + l + sovGenerated(uint64(l))
1253 if m.TargetAverageUtilization != nil {
1254 n += 1 + sovGenerated(uint64(*m.TargetAverageUtilization))
1256 if m.TargetAverageValue != nil {
1257 l = m.TargetAverageValue.Size()
1258 n += 1 + l + sovGenerated(uint64(l))
1263 func (m *ResourceMetricStatus) Size() (n int) {
1267 n += 1 + l + sovGenerated(uint64(l))
1268 if m.CurrentAverageUtilization != nil {
1269 n += 1 + sovGenerated(uint64(*m.CurrentAverageUtilization))
1271 l = m.CurrentAverageValue.Size()
1272 n += 1 + l + sovGenerated(uint64(l))
1276 func (m *Scale) Size() (n int) {
1279 l = m.ObjectMeta.Size()
1280 n += 1 + l + sovGenerated(uint64(l))
1282 n += 1 + l + sovGenerated(uint64(l))
1284 n += 1 + l + sovGenerated(uint64(l))
1288 func (m *ScaleSpec) Size() (n int) {
1291 n += 1 + sovGenerated(uint64(m.Replicas))
1295 func (m *ScaleStatus) Size() (n int) {
1298 n += 1 + sovGenerated(uint64(m.Replicas))
1300 n += 1 + l + sovGenerated(uint64(l))
1304 func sovGenerated(x uint64) (n int) {
1314 func sozGenerated(x uint64) (n int) {
1315 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
1317 func (this *CrossVersionObjectReference) String() string {
1321 s := strings.Join([]string{`&CrossVersionObjectReference{`,
1322 `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
1323 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
1324 `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
1329 func (this *ExternalMetricSource) String() string {
1333 s := strings.Join([]string{`&ExternalMetricSource{`,
1334 `MetricName:` + fmt.Sprintf("%v", this.MetricName) + `,`,
1335 `MetricSelector:` + strings.Replace(fmt.Sprintf("%v", this.MetricSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
1336 `TargetValue:` + strings.Replace(fmt.Sprintf("%v", this.TargetValue), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1) + `,`,
1337 `TargetAverageValue:` + strings.Replace(fmt.Sprintf("%v", this.TargetAverageValue), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1) + `,`,
1342 func (this *ExternalMetricStatus) String() string {
1346 s := strings.Join([]string{`&ExternalMetricStatus{`,
1347 `MetricName:` + fmt.Sprintf("%v", this.MetricName) + `,`,
1348 `MetricSelector:` + strings.Replace(fmt.Sprintf("%v", this.MetricSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
1349 `CurrentValue:` + strings.Replace(strings.Replace(this.CurrentValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
1350 `CurrentAverageValue:` + strings.Replace(fmt.Sprintf("%v", this.CurrentAverageValue), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1) + `,`,
1355 func (this *HorizontalPodAutoscaler) String() string {
1359 s := strings.Join([]string{`&HorizontalPodAutoscaler{`,
1360 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
1361 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "HorizontalPodAutoscalerSpec", "HorizontalPodAutoscalerSpec", 1), `&`, ``, 1) + `,`,
1362 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "HorizontalPodAutoscalerStatus", "HorizontalPodAutoscalerStatus", 1), `&`, ``, 1) + `,`,
1367 func (this *HorizontalPodAutoscalerCondition) String() string {
1371 s := strings.Join([]string{`&HorizontalPodAutoscalerCondition{`,
1372 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
1373 `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
1374 `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
1375 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
1376 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
1381 func (this *HorizontalPodAutoscalerList) String() string {
1385 s := strings.Join([]string{`&HorizontalPodAutoscalerList{`,
1386 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
1387 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "HorizontalPodAutoscaler", "HorizontalPodAutoscaler", 1), `&`, ``, 1) + `,`,
1392 func (this *HorizontalPodAutoscalerSpec) String() string {
1396 s := strings.Join([]string{`&HorizontalPodAutoscalerSpec{`,
1397 `ScaleTargetRef:` + strings.Replace(strings.Replace(this.ScaleTargetRef.String(), "CrossVersionObjectReference", "CrossVersionObjectReference", 1), `&`, ``, 1) + `,`,
1398 `MinReplicas:` + valueToStringGenerated(this.MinReplicas) + `,`,
1399 `MaxReplicas:` + fmt.Sprintf("%v", this.MaxReplicas) + `,`,
1400 `TargetCPUUtilizationPercentage:` + valueToStringGenerated(this.TargetCPUUtilizationPercentage) + `,`,
1405 func (this *HorizontalPodAutoscalerStatus) String() string {
1409 s := strings.Join([]string{`&HorizontalPodAutoscalerStatus{`,
1410 `ObservedGeneration:` + valueToStringGenerated(this.ObservedGeneration) + `,`,
1411 `LastScaleTime:` + strings.Replace(fmt.Sprintf("%v", this.LastScaleTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
1412 `CurrentReplicas:` + fmt.Sprintf("%v", this.CurrentReplicas) + `,`,
1413 `DesiredReplicas:` + fmt.Sprintf("%v", this.DesiredReplicas) + `,`,
1414 `CurrentCPUUtilizationPercentage:` + valueToStringGenerated(this.CurrentCPUUtilizationPercentage) + `,`,
1419 func (this *MetricSpec) String() string {
1423 s := strings.Join([]string{`&MetricSpec{`,
1424 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
1425 `Object:` + strings.Replace(fmt.Sprintf("%v", this.Object), "ObjectMetricSource", "ObjectMetricSource", 1) + `,`,
1426 `Pods:` + strings.Replace(fmt.Sprintf("%v", this.Pods), "PodsMetricSource", "PodsMetricSource", 1) + `,`,
1427 `Resource:` + strings.Replace(fmt.Sprintf("%v", this.Resource), "ResourceMetricSource", "ResourceMetricSource", 1) + `,`,
1428 `External:` + strings.Replace(fmt.Sprintf("%v", this.External), "ExternalMetricSource", "ExternalMetricSource", 1) + `,`,
1433 func (this *MetricStatus) String() string {
1437 s := strings.Join([]string{`&MetricStatus{`,
1438 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
1439 `Object:` + strings.Replace(fmt.Sprintf("%v", this.Object), "ObjectMetricStatus", "ObjectMetricStatus", 1) + `,`,
1440 `Pods:` + strings.Replace(fmt.Sprintf("%v", this.Pods), "PodsMetricStatus", "PodsMetricStatus", 1) + `,`,
1441 `Resource:` + strings.Replace(fmt.Sprintf("%v", this.Resource), "ResourceMetricStatus", "ResourceMetricStatus", 1) + `,`,
1442 `External:` + strings.Replace(fmt.Sprintf("%v", this.External), "ExternalMetricStatus", "ExternalMetricStatus", 1) + `,`,
1447 func (this *ObjectMetricSource) String() string {
1451 s := strings.Join([]string{`&ObjectMetricSource{`,
1452 `Target:` + strings.Replace(strings.Replace(this.Target.String(), "CrossVersionObjectReference", "CrossVersionObjectReference", 1), `&`, ``, 1) + `,`,
1453 `MetricName:` + fmt.Sprintf("%v", this.MetricName) + `,`,
1454 `TargetValue:` + strings.Replace(strings.Replace(this.TargetValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
1455 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
1456 `AverageValue:` + strings.Replace(fmt.Sprintf("%v", this.AverageValue), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1) + `,`,
1461 func (this *ObjectMetricStatus) String() string {
1465 s := strings.Join([]string{`&ObjectMetricStatus{`,
1466 `Target:` + strings.Replace(strings.Replace(this.Target.String(), "CrossVersionObjectReference", "CrossVersionObjectReference", 1), `&`, ``, 1) + `,`,
1467 `MetricName:` + fmt.Sprintf("%v", this.MetricName) + `,`,
1468 `CurrentValue:` + strings.Replace(strings.Replace(this.CurrentValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
1469 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
1470 `AverageValue:` + strings.Replace(fmt.Sprintf("%v", this.AverageValue), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1) + `,`,
1475 func (this *PodsMetricSource) String() string {
1479 s := strings.Join([]string{`&PodsMetricSource{`,
1480 `MetricName:` + fmt.Sprintf("%v", this.MetricName) + `,`,
1481 `TargetAverageValue:` + strings.Replace(strings.Replace(this.TargetAverageValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
1482 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
1487 func (this *PodsMetricStatus) String() string {
1491 s := strings.Join([]string{`&PodsMetricStatus{`,
1492 `MetricName:` + fmt.Sprintf("%v", this.MetricName) + `,`,
1493 `CurrentAverageValue:` + strings.Replace(strings.Replace(this.CurrentAverageValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
1494 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
1499 func (this *ResourceMetricSource) String() string {
1503 s := strings.Join([]string{`&ResourceMetricSource{`,
1504 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
1505 `TargetAverageUtilization:` + valueToStringGenerated(this.TargetAverageUtilization) + `,`,
1506 `TargetAverageValue:` + strings.Replace(fmt.Sprintf("%v", this.TargetAverageValue), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1) + `,`,
1511 func (this *ResourceMetricStatus) String() string {
1515 s := strings.Join([]string{`&ResourceMetricStatus{`,
1516 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
1517 `CurrentAverageUtilization:` + valueToStringGenerated(this.CurrentAverageUtilization) + `,`,
1518 `CurrentAverageValue:` + strings.Replace(strings.Replace(this.CurrentAverageValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
1523 func (this *Scale) String() string {
1527 s := strings.Join([]string{`&Scale{`,
1528 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
1529 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`,
1530 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`,
1535 func (this *ScaleSpec) String() string {
1539 s := strings.Join([]string{`&ScaleSpec{`,
1540 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
1545 func (this *ScaleStatus) String() string {
1549 s := strings.Join([]string{`&ScaleStatus{`,
1550 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
1551 `Selector:` + fmt.Sprintf("%v", this.Selector) + `,`,
1556 func valueToStringGenerated(v interface{}) string {
1557 rv := reflect.ValueOf(v)
1561 pv := reflect.Indirect(rv).Interface()
1562 return fmt.Sprintf("*%v", pv)
1564 func (m *CrossVersionObjectReference) Unmarshal(dAtA []byte) error {
1570 for shift := uint(0); ; shift += 7 {
1572 return ErrIntOverflowGenerated
1575 return io.ErrUnexpectedEOF
1579 wire |= (uint64(b) & 0x7F) << shift
1584 fieldNum := int32(wire >> 3)
1585 wireType := int(wire & 0x7)
1587 return fmt.Errorf("proto: CrossVersionObjectReference: wiretype end group for non-group")
1590 return fmt.Errorf("proto: CrossVersionObjectReference: illegal tag %d (wire type %d)", fieldNum, wire)
1595 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
1597 var stringLen uint64
1598 for shift := uint(0); ; shift += 7 {
1600 return ErrIntOverflowGenerated
1603 return io.ErrUnexpectedEOF
1607 stringLen |= (uint64(b) & 0x7F) << shift
1612 intStringLen := int(stringLen)
1613 if intStringLen < 0 {
1614 return ErrInvalidLengthGenerated
1616 postIndex := iNdEx + intStringLen
1618 return io.ErrUnexpectedEOF
1620 m.Kind = string(dAtA[iNdEx:postIndex])
1624 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
1626 var stringLen uint64
1627 for shift := uint(0); ; shift += 7 {
1629 return ErrIntOverflowGenerated
1632 return io.ErrUnexpectedEOF
1636 stringLen |= (uint64(b) & 0x7F) << shift
1641 intStringLen := int(stringLen)
1642 if intStringLen < 0 {
1643 return ErrInvalidLengthGenerated
1645 postIndex := iNdEx + intStringLen
1647 return io.ErrUnexpectedEOF
1649 m.Name = string(dAtA[iNdEx:postIndex])
1653 return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
1655 var stringLen uint64
1656 for shift := uint(0); ; shift += 7 {
1658 return ErrIntOverflowGenerated
1661 return io.ErrUnexpectedEOF
1665 stringLen |= (uint64(b) & 0x7F) << shift
1670 intStringLen := int(stringLen)
1671 if intStringLen < 0 {
1672 return ErrInvalidLengthGenerated
1674 postIndex := iNdEx + intStringLen
1676 return io.ErrUnexpectedEOF
1678 m.APIVersion = string(dAtA[iNdEx:postIndex])
1682 skippy, err := skipGenerated(dAtA[iNdEx:])
1687 return ErrInvalidLengthGenerated
1689 if (iNdEx + skippy) > l {
1690 return io.ErrUnexpectedEOF
1697 return io.ErrUnexpectedEOF
1701 func (m *ExternalMetricSource) Unmarshal(dAtA []byte) error {
1707 for shift := uint(0); ; shift += 7 {
1709 return ErrIntOverflowGenerated
1712 return io.ErrUnexpectedEOF
1716 wire |= (uint64(b) & 0x7F) << shift
1721 fieldNum := int32(wire >> 3)
1722 wireType := int(wire & 0x7)
1724 return fmt.Errorf("proto: ExternalMetricSource: wiretype end group for non-group")
1727 return fmt.Errorf("proto: ExternalMetricSource: illegal tag %d (wire type %d)", fieldNum, wire)
1732 return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType)
1734 var stringLen uint64
1735 for shift := uint(0); ; shift += 7 {
1737 return ErrIntOverflowGenerated
1740 return io.ErrUnexpectedEOF
1744 stringLen |= (uint64(b) & 0x7F) << shift
1749 intStringLen := int(stringLen)
1750 if intStringLen < 0 {
1751 return ErrInvalidLengthGenerated
1753 postIndex := iNdEx + intStringLen
1755 return io.ErrUnexpectedEOF
1757 m.MetricName = string(dAtA[iNdEx:postIndex])
1761 return fmt.Errorf("proto: wrong wireType = %d for field MetricSelector", wireType)
1764 for shift := uint(0); ; shift += 7 {
1766 return ErrIntOverflowGenerated
1769 return io.ErrUnexpectedEOF
1773 msglen |= (int(b) & 0x7F) << shift
1779 return ErrInvalidLengthGenerated
1781 postIndex := iNdEx + msglen
1783 return io.ErrUnexpectedEOF
1785 if m.MetricSelector == nil {
1786 m.MetricSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
1788 if err := m.MetricSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1794 return fmt.Errorf("proto: wrong wireType = %d for field TargetValue", wireType)
1797 for shift := uint(0); ; shift += 7 {
1799 return ErrIntOverflowGenerated
1802 return io.ErrUnexpectedEOF
1806 msglen |= (int(b) & 0x7F) << shift
1812 return ErrInvalidLengthGenerated
1814 postIndex := iNdEx + msglen
1816 return io.ErrUnexpectedEOF
1818 if m.TargetValue == nil {
1819 m.TargetValue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
1821 if err := m.TargetValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1827 return fmt.Errorf("proto: wrong wireType = %d for field TargetAverageValue", wireType)
1830 for shift := uint(0); ; shift += 7 {
1832 return ErrIntOverflowGenerated
1835 return io.ErrUnexpectedEOF
1839 msglen |= (int(b) & 0x7F) << shift
1845 return ErrInvalidLengthGenerated
1847 postIndex := iNdEx + msglen
1849 return io.ErrUnexpectedEOF
1851 if m.TargetAverageValue == nil {
1852 m.TargetAverageValue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
1854 if err := m.TargetAverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1860 skippy, err := skipGenerated(dAtA[iNdEx:])
1865 return ErrInvalidLengthGenerated
1867 if (iNdEx + skippy) > l {
1868 return io.ErrUnexpectedEOF
1875 return io.ErrUnexpectedEOF
1879 func (m *ExternalMetricStatus) Unmarshal(dAtA []byte) error {
1885 for shift := uint(0); ; shift += 7 {
1887 return ErrIntOverflowGenerated
1890 return io.ErrUnexpectedEOF
1894 wire |= (uint64(b) & 0x7F) << shift
1899 fieldNum := int32(wire >> 3)
1900 wireType := int(wire & 0x7)
1902 return fmt.Errorf("proto: ExternalMetricStatus: wiretype end group for non-group")
1905 return fmt.Errorf("proto: ExternalMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire)
1910 return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType)
1912 var stringLen uint64
1913 for shift := uint(0); ; shift += 7 {
1915 return ErrIntOverflowGenerated
1918 return io.ErrUnexpectedEOF
1922 stringLen |= (uint64(b) & 0x7F) << shift
1927 intStringLen := int(stringLen)
1928 if intStringLen < 0 {
1929 return ErrInvalidLengthGenerated
1931 postIndex := iNdEx + intStringLen
1933 return io.ErrUnexpectedEOF
1935 m.MetricName = string(dAtA[iNdEx:postIndex])
1939 return fmt.Errorf("proto: wrong wireType = %d for field MetricSelector", wireType)
1942 for shift := uint(0); ; shift += 7 {
1944 return ErrIntOverflowGenerated
1947 return io.ErrUnexpectedEOF
1951 msglen |= (int(b) & 0x7F) << shift
1957 return ErrInvalidLengthGenerated
1959 postIndex := iNdEx + msglen
1961 return io.ErrUnexpectedEOF
1963 if m.MetricSelector == nil {
1964 m.MetricSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
1966 if err := m.MetricSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1972 return fmt.Errorf("proto: wrong wireType = %d for field CurrentValue", wireType)
1975 for shift := uint(0); ; shift += 7 {
1977 return ErrIntOverflowGenerated
1980 return io.ErrUnexpectedEOF
1984 msglen |= (int(b) & 0x7F) << shift
1990 return ErrInvalidLengthGenerated
1992 postIndex := iNdEx + msglen
1994 return io.ErrUnexpectedEOF
1996 if err := m.CurrentValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2002 return fmt.Errorf("proto: wrong wireType = %d for field CurrentAverageValue", wireType)
2005 for shift := uint(0); ; shift += 7 {
2007 return ErrIntOverflowGenerated
2010 return io.ErrUnexpectedEOF
2014 msglen |= (int(b) & 0x7F) << shift
2020 return ErrInvalidLengthGenerated
2022 postIndex := iNdEx + msglen
2024 return io.ErrUnexpectedEOF
2026 if m.CurrentAverageValue == nil {
2027 m.CurrentAverageValue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
2029 if err := m.CurrentAverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2035 skippy, err := skipGenerated(dAtA[iNdEx:])
2040 return ErrInvalidLengthGenerated
2042 if (iNdEx + skippy) > l {
2043 return io.ErrUnexpectedEOF
2050 return io.ErrUnexpectedEOF
2054 func (m *HorizontalPodAutoscaler) Unmarshal(dAtA []byte) error {
2060 for shift := uint(0); ; shift += 7 {
2062 return ErrIntOverflowGenerated
2065 return io.ErrUnexpectedEOF
2069 wire |= (uint64(b) & 0x7F) << shift
2074 fieldNum := int32(wire >> 3)
2075 wireType := int(wire & 0x7)
2077 return fmt.Errorf("proto: HorizontalPodAutoscaler: wiretype end group for non-group")
2080 return fmt.Errorf("proto: HorizontalPodAutoscaler: illegal tag %d (wire type %d)", fieldNum, wire)
2085 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
2088 for shift := uint(0); ; shift += 7 {
2090 return ErrIntOverflowGenerated
2093 return io.ErrUnexpectedEOF
2097 msglen |= (int(b) & 0x7F) << shift
2103 return ErrInvalidLengthGenerated
2105 postIndex := iNdEx + msglen
2107 return io.ErrUnexpectedEOF
2109 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2115 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
2118 for shift := uint(0); ; shift += 7 {
2120 return ErrIntOverflowGenerated
2123 return io.ErrUnexpectedEOF
2127 msglen |= (int(b) & 0x7F) << shift
2133 return ErrInvalidLengthGenerated
2135 postIndex := iNdEx + msglen
2137 return io.ErrUnexpectedEOF
2139 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2145 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2148 for shift := uint(0); ; shift += 7 {
2150 return ErrIntOverflowGenerated
2153 return io.ErrUnexpectedEOF
2157 msglen |= (int(b) & 0x7F) << shift
2163 return ErrInvalidLengthGenerated
2165 postIndex := iNdEx + msglen
2167 return io.ErrUnexpectedEOF
2169 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2175 skippy, err := skipGenerated(dAtA[iNdEx:])
2180 return ErrInvalidLengthGenerated
2182 if (iNdEx + skippy) > l {
2183 return io.ErrUnexpectedEOF
2190 return io.ErrUnexpectedEOF
2194 func (m *HorizontalPodAutoscalerCondition) Unmarshal(dAtA []byte) error {
2200 for shift := uint(0); ; shift += 7 {
2202 return ErrIntOverflowGenerated
2205 return io.ErrUnexpectedEOF
2209 wire |= (uint64(b) & 0x7F) << shift
2214 fieldNum := int32(wire >> 3)
2215 wireType := int(wire & 0x7)
2217 return fmt.Errorf("proto: HorizontalPodAutoscalerCondition: wiretype end group for non-group")
2220 return fmt.Errorf("proto: HorizontalPodAutoscalerCondition: illegal tag %d (wire type %d)", fieldNum, wire)
2225 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
2227 var stringLen uint64
2228 for shift := uint(0); ; shift += 7 {
2230 return ErrIntOverflowGenerated
2233 return io.ErrUnexpectedEOF
2237 stringLen |= (uint64(b) & 0x7F) << shift
2242 intStringLen := int(stringLen)
2243 if intStringLen < 0 {
2244 return ErrInvalidLengthGenerated
2246 postIndex := iNdEx + intStringLen
2248 return io.ErrUnexpectedEOF
2250 m.Type = HorizontalPodAutoscalerConditionType(dAtA[iNdEx:postIndex])
2254 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2256 var stringLen uint64
2257 for shift := uint(0); ; shift += 7 {
2259 return ErrIntOverflowGenerated
2262 return io.ErrUnexpectedEOF
2266 stringLen |= (uint64(b) & 0x7F) << shift
2271 intStringLen := int(stringLen)
2272 if intStringLen < 0 {
2273 return ErrInvalidLengthGenerated
2275 postIndex := iNdEx + intStringLen
2277 return io.ErrUnexpectedEOF
2279 m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
2283 return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
2286 for shift := uint(0); ; shift += 7 {
2288 return ErrIntOverflowGenerated
2291 return io.ErrUnexpectedEOF
2295 msglen |= (int(b) & 0x7F) << shift
2301 return ErrInvalidLengthGenerated
2303 postIndex := iNdEx + msglen
2305 return io.ErrUnexpectedEOF
2307 if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2313 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
2315 var stringLen uint64
2316 for shift := uint(0); ; shift += 7 {
2318 return ErrIntOverflowGenerated
2321 return io.ErrUnexpectedEOF
2325 stringLen |= (uint64(b) & 0x7F) << shift
2330 intStringLen := int(stringLen)
2331 if intStringLen < 0 {
2332 return ErrInvalidLengthGenerated
2334 postIndex := iNdEx + intStringLen
2336 return io.ErrUnexpectedEOF
2338 m.Reason = string(dAtA[iNdEx:postIndex])
2342 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
2344 var stringLen uint64
2345 for shift := uint(0); ; shift += 7 {
2347 return ErrIntOverflowGenerated
2350 return io.ErrUnexpectedEOF
2354 stringLen |= (uint64(b) & 0x7F) << shift
2359 intStringLen := int(stringLen)
2360 if intStringLen < 0 {
2361 return ErrInvalidLengthGenerated
2363 postIndex := iNdEx + intStringLen
2365 return io.ErrUnexpectedEOF
2367 m.Message = string(dAtA[iNdEx:postIndex])
2371 skippy, err := skipGenerated(dAtA[iNdEx:])
2376 return ErrInvalidLengthGenerated
2378 if (iNdEx + skippy) > l {
2379 return io.ErrUnexpectedEOF
2386 return io.ErrUnexpectedEOF
2390 func (m *HorizontalPodAutoscalerList) Unmarshal(dAtA []byte) error {
2396 for shift := uint(0); ; shift += 7 {
2398 return ErrIntOverflowGenerated
2401 return io.ErrUnexpectedEOF
2405 wire |= (uint64(b) & 0x7F) << shift
2410 fieldNum := int32(wire >> 3)
2411 wireType := int(wire & 0x7)
2413 return fmt.Errorf("proto: HorizontalPodAutoscalerList: wiretype end group for non-group")
2416 return fmt.Errorf("proto: HorizontalPodAutoscalerList: illegal tag %d (wire type %d)", fieldNum, wire)
2421 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
2424 for shift := uint(0); ; shift += 7 {
2426 return ErrIntOverflowGenerated
2429 return io.ErrUnexpectedEOF
2433 msglen |= (int(b) & 0x7F) << shift
2439 return ErrInvalidLengthGenerated
2441 postIndex := iNdEx + msglen
2443 return io.ErrUnexpectedEOF
2445 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2451 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
2454 for shift := uint(0); ; shift += 7 {
2456 return ErrIntOverflowGenerated
2459 return io.ErrUnexpectedEOF
2463 msglen |= (int(b) & 0x7F) << shift
2469 return ErrInvalidLengthGenerated
2471 postIndex := iNdEx + msglen
2473 return io.ErrUnexpectedEOF
2475 m.Items = append(m.Items, HorizontalPodAutoscaler{})
2476 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2482 skippy, err := skipGenerated(dAtA[iNdEx:])
2487 return ErrInvalidLengthGenerated
2489 if (iNdEx + skippy) > l {
2490 return io.ErrUnexpectedEOF
2497 return io.ErrUnexpectedEOF
2501 func (m *HorizontalPodAutoscalerSpec) Unmarshal(dAtA []byte) error {
2507 for shift := uint(0); ; shift += 7 {
2509 return ErrIntOverflowGenerated
2512 return io.ErrUnexpectedEOF
2516 wire |= (uint64(b) & 0x7F) << shift
2521 fieldNum := int32(wire >> 3)
2522 wireType := int(wire & 0x7)
2524 return fmt.Errorf("proto: HorizontalPodAutoscalerSpec: wiretype end group for non-group")
2527 return fmt.Errorf("proto: HorizontalPodAutoscalerSpec: illegal tag %d (wire type %d)", fieldNum, wire)
2532 return fmt.Errorf("proto: wrong wireType = %d for field ScaleTargetRef", wireType)
2535 for shift := uint(0); ; shift += 7 {
2537 return ErrIntOverflowGenerated
2540 return io.ErrUnexpectedEOF
2544 msglen |= (int(b) & 0x7F) << shift
2550 return ErrInvalidLengthGenerated
2552 postIndex := iNdEx + msglen
2554 return io.ErrUnexpectedEOF
2556 if err := m.ScaleTargetRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2562 return fmt.Errorf("proto: wrong wireType = %d for field MinReplicas", wireType)
2565 for shift := uint(0); ; shift += 7 {
2567 return ErrIntOverflowGenerated
2570 return io.ErrUnexpectedEOF
2574 v |= (int32(b) & 0x7F) << shift
2582 return fmt.Errorf("proto: wrong wireType = %d for field MaxReplicas", wireType)
2585 for shift := uint(0); ; shift += 7 {
2587 return ErrIntOverflowGenerated
2590 return io.ErrUnexpectedEOF
2594 m.MaxReplicas |= (int32(b) & 0x7F) << shift
2601 return fmt.Errorf("proto: wrong wireType = %d for field TargetCPUUtilizationPercentage", wireType)
2604 for shift := uint(0); ; shift += 7 {
2606 return ErrIntOverflowGenerated
2609 return io.ErrUnexpectedEOF
2613 v |= (int32(b) & 0x7F) << shift
2618 m.TargetCPUUtilizationPercentage = &v
2621 skippy, err := skipGenerated(dAtA[iNdEx:])
2626 return ErrInvalidLengthGenerated
2628 if (iNdEx + skippy) > l {
2629 return io.ErrUnexpectedEOF
2636 return io.ErrUnexpectedEOF
2640 func (m *HorizontalPodAutoscalerStatus) Unmarshal(dAtA []byte) error {
2646 for shift := uint(0); ; shift += 7 {
2648 return ErrIntOverflowGenerated
2651 return io.ErrUnexpectedEOF
2655 wire |= (uint64(b) & 0x7F) << shift
2660 fieldNum := int32(wire >> 3)
2661 wireType := int(wire & 0x7)
2663 return fmt.Errorf("proto: HorizontalPodAutoscalerStatus: wiretype end group for non-group")
2666 return fmt.Errorf("proto: HorizontalPodAutoscalerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
2671 return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
2674 for shift := uint(0); ; shift += 7 {
2676 return ErrIntOverflowGenerated
2679 return io.ErrUnexpectedEOF
2683 v |= (int64(b) & 0x7F) << shift
2688 m.ObservedGeneration = &v
2691 return fmt.Errorf("proto: wrong wireType = %d for field LastScaleTime", wireType)
2694 for shift := uint(0); ; shift += 7 {
2696 return ErrIntOverflowGenerated
2699 return io.ErrUnexpectedEOF
2703 msglen |= (int(b) & 0x7F) << shift
2709 return ErrInvalidLengthGenerated
2711 postIndex := iNdEx + msglen
2713 return io.ErrUnexpectedEOF
2715 if m.LastScaleTime == nil {
2716 m.LastScaleTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
2718 if err := m.LastScaleTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2724 return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
2726 m.CurrentReplicas = 0
2727 for shift := uint(0); ; shift += 7 {
2729 return ErrIntOverflowGenerated
2732 return io.ErrUnexpectedEOF
2736 m.CurrentReplicas |= (int32(b) & 0x7F) << shift
2743 return fmt.Errorf("proto: wrong wireType = %d for field DesiredReplicas", wireType)
2745 m.DesiredReplicas = 0
2746 for shift := uint(0); ; shift += 7 {
2748 return ErrIntOverflowGenerated
2751 return io.ErrUnexpectedEOF
2755 m.DesiredReplicas |= (int32(b) & 0x7F) << shift
2762 return fmt.Errorf("proto: wrong wireType = %d for field CurrentCPUUtilizationPercentage", wireType)
2765 for shift := uint(0); ; shift += 7 {
2767 return ErrIntOverflowGenerated
2770 return io.ErrUnexpectedEOF
2774 v |= (int32(b) & 0x7F) << shift
2779 m.CurrentCPUUtilizationPercentage = &v
2782 skippy, err := skipGenerated(dAtA[iNdEx:])
2787 return ErrInvalidLengthGenerated
2789 if (iNdEx + skippy) > l {
2790 return io.ErrUnexpectedEOF
2797 return io.ErrUnexpectedEOF
2801 func (m *MetricSpec) Unmarshal(dAtA []byte) error {
2807 for shift := uint(0); ; shift += 7 {
2809 return ErrIntOverflowGenerated
2812 return io.ErrUnexpectedEOF
2816 wire |= (uint64(b) & 0x7F) << shift
2821 fieldNum := int32(wire >> 3)
2822 wireType := int(wire & 0x7)
2824 return fmt.Errorf("proto: MetricSpec: wiretype end group for non-group")
2827 return fmt.Errorf("proto: MetricSpec: illegal tag %d (wire type %d)", fieldNum, wire)
2832 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
2834 var stringLen uint64
2835 for shift := uint(0); ; shift += 7 {
2837 return ErrIntOverflowGenerated
2840 return io.ErrUnexpectedEOF
2844 stringLen |= (uint64(b) & 0x7F) << shift
2849 intStringLen := int(stringLen)
2850 if intStringLen < 0 {
2851 return ErrInvalidLengthGenerated
2853 postIndex := iNdEx + intStringLen
2855 return io.ErrUnexpectedEOF
2857 m.Type = MetricSourceType(dAtA[iNdEx:postIndex])
2861 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType)
2864 for shift := uint(0); ; shift += 7 {
2866 return ErrIntOverflowGenerated
2869 return io.ErrUnexpectedEOF
2873 msglen |= (int(b) & 0x7F) << shift
2879 return ErrInvalidLengthGenerated
2881 postIndex := iNdEx + msglen
2883 return io.ErrUnexpectedEOF
2885 if m.Object == nil {
2886 m.Object = &ObjectMetricSource{}
2888 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2894 return fmt.Errorf("proto: wrong wireType = %d for field Pods", wireType)
2897 for shift := uint(0); ; shift += 7 {
2899 return ErrIntOverflowGenerated
2902 return io.ErrUnexpectedEOF
2906 msglen |= (int(b) & 0x7F) << shift
2912 return ErrInvalidLengthGenerated
2914 postIndex := iNdEx + msglen
2916 return io.ErrUnexpectedEOF
2919 m.Pods = &PodsMetricSource{}
2921 if err := m.Pods.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2927 return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
2930 for shift := uint(0); ; shift += 7 {
2932 return ErrIntOverflowGenerated
2935 return io.ErrUnexpectedEOF
2939 msglen |= (int(b) & 0x7F) << shift
2945 return ErrInvalidLengthGenerated
2947 postIndex := iNdEx + msglen
2949 return io.ErrUnexpectedEOF
2951 if m.Resource == nil {
2952 m.Resource = &ResourceMetricSource{}
2954 if err := m.Resource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2960 return fmt.Errorf("proto: wrong wireType = %d for field External", wireType)
2963 for shift := uint(0); ; shift += 7 {
2965 return ErrIntOverflowGenerated
2968 return io.ErrUnexpectedEOF
2972 msglen |= (int(b) & 0x7F) << shift
2978 return ErrInvalidLengthGenerated
2980 postIndex := iNdEx + msglen
2982 return io.ErrUnexpectedEOF
2984 if m.External == nil {
2985 m.External = &ExternalMetricSource{}
2987 if err := m.External.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2993 skippy, err := skipGenerated(dAtA[iNdEx:])
2998 return ErrInvalidLengthGenerated
3000 if (iNdEx + skippy) > l {
3001 return io.ErrUnexpectedEOF
3008 return io.ErrUnexpectedEOF
3012 func (m *MetricStatus) Unmarshal(dAtA []byte) error {
3018 for shift := uint(0); ; shift += 7 {
3020 return ErrIntOverflowGenerated
3023 return io.ErrUnexpectedEOF
3027 wire |= (uint64(b) & 0x7F) << shift
3032 fieldNum := int32(wire >> 3)
3033 wireType := int(wire & 0x7)
3035 return fmt.Errorf("proto: MetricStatus: wiretype end group for non-group")
3038 return fmt.Errorf("proto: MetricStatus: illegal tag %d (wire type %d)", fieldNum, wire)
3043 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
3045 var stringLen uint64
3046 for shift := uint(0); ; shift += 7 {
3048 return ErrIntOverflowGenerated
3051 return io.ErrUnexpectedEOF
3055 stringLen |= (uint64(b) & 0x7F) << shift
3060 intStringLen := int(stringLen)
3061 if intStringLen < 0 {
3062 return ErrInvalidLengthGenerated
3064 postIndex := iNdEx + intStringLen
3066 return io.ErrUnexpectedEOF
3068 m.Type = MetricSourceType(dAtA[iNdEx:postIndex])
3072 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType)
3075 for shift := uint(0); ; shift += 7 {
3077 return ErrIntOverflowGenerated
3080 return io.ErrUnexpectedEOF
3084 msglen |= (int(b) & 0x7F) << shift
3090 return ErrInvalidLengthGenerated
3092 postIndex := iNdEx + msglen
3094 return io.ErrUnexpectedEOF
3096 if m.Object == nil {
3097 m.Object = &ObjectMetricStatus{}
3099 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3105 return fmt.Errorf("proto: wrong wireType = %d for field Pods", wireType)
3108 for shift := uint(0); ; shift += 7 {
3110 return ErrIntOverflowGenerated
3113 return io.ErrUnexpectedEOF
3117 msglen |= (int(b) & 0x7F) << shift
3123 return ErrInvalidLengthGenerated
3125 postIndex := iNdEx + msglen
3127 return io.ErrUnexpectedEOF
3130 m.Pods = &PodsMetricStatus{}
3132 if err := m.Pods.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3138 return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
3141 for shift := uint(0); ; shift += 7 {
3143 return ErrIntOverflowGenerated
3146 return io.ErrUnexpectedEOF
3150 msglen |= (int(b) & 0x7F) << shift
3156 return ErrInvalidLengthGenerated
3158 postIndex := iNdEx + msglen
3160 return io.ErrUnexpectedEOF
3162 if m.Resource == nil {
3163 m.Resource = &ResourceMetricStatus{}
3165 if err := m.Resource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3171 return fmt.Errorf("proto: wrong wireType = %d for field External", wireType)
3174 for shift := uint(0); ; shift += 7 {
3176 return ErrIntOverflowGenerated
3179 return io.ErrUnexpectedEOF
3183 msglen |= (int(b) & 0x7F) << shift
3189 return ErrInvalidLengthGenerated
3191 postIndex := iNdEx + msglen
3193 return io.ErrUnexpectedEOF
3195 if m.External == nil {
3196 m.External = &ExternalMetricStatus{}
3198 if err := m.External.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3204 skippy, err := skipGenerated(dAtA[iNdEx:])
3209 return ErrInvalidLengthGenerated
3211 if (iNdEx + skippy) > l {
3212 return io.ErrUnexpectedEOF
3219 return io.ErrUnexpectedEOF
3223 func (m *ObjectMetricSource) Unmarshal(dAtA []byte) error {
3229 for shift := uint(0); ; shift += 7 {
3231 return ErrIntOverflowGenerated
3234 return io.ErrUnexpectedEOF
3238 wire |= (uint64(b) & 0x7F) << shift
3243 fieldNum := int32(wire >> 3)
3244 wireType := int(wire & 0x7)
3246 return fmt.Errorf("proto: ObjectMetricSource: wiretype end group for non-group")
3249 return fmt.Errorf("proto: ObjectMetricSource: illegal tag %d (wire type %d)", fieldNum, wire)
3254 return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
3257 for shift := uint(0); ; shift += 7 {
3259 return ErrIntOverflowGenerated
3262 return io.ErrUnexpectedEOF
3266 msglen |= (int(b) & 0x7F) << shift
3272 return ErrInvalidLengthGenerated
3274 postIndex := iNdEx + msglen
3276 return io.ErrUnexpectedEOF
3278 if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3284 return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType)
3286 var stringLen uint64
3287 for shift := uint(0); ; shift += 7 {
3289 return ErrIntOverflowGenerated
3292 return io.ErrUnexpectedEOF
3296 stringLen |= (uint64(b) & 0x7F) << shift
3301 intStringLen := int(stringLen)
3302 if intStringLen < 0 {
3303 return ErrInvalidLengthGenerated
3305 postIndex := iNdEx + intStringLen
3307 return io.ErrUnexpectedEOF
3309 m.MetricName = string(dAtA[iNdEx:postIndex])
3313 return fmt.Errorf("proto: wrong wireType = %d for field TargetValue", wireType)
3316 for shift := uint(0); ; shift += 7 {
3318 return ErrIntOverflowGenerated
3321 return io.ErrUnexpectedEOF
3325 msglen |= (int(b) & 0x7F) << shift
3331 return ErrInvalidLengthGenerated
3333 postIndex := iNdEx + msglen
3335 return io.ErrUnexpectedEOF
3337 if err := m.TargetValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3343 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
3346 for shift := uint(0); ; shift += 7 {
3348 return ErrIntOverflowGenerated
3351 return io.ErrUnexpectedEOF
3355 msglen |= (int(b) & 0x7F) << shift
3361 return ErrInvalidLengthGenerated
3363 postIndex := iNdEx + msglen
3365 return io.ErrUnexpectedEOF
3367 if m.Selector == nil {
3368 m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
3370 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3376 return fmt.Errorf("proto: wrong wireType = %d for field AverageValue", wireType)
3379 for shift := uint(0); ; shift += 7 {
3381 return ErrIntOverflowGenerated
3384 return io.ErrUnexpectedEOF
3388 msglen |= (int(b) & 0x7F) << shift
3394 return ErrInvalidLengthGenerated
3396 postIndex := iNdEx + msglen
3398 return io.ErrUnexpectedEOF
3400 if m.AverageValue == nil {
3401 m.AverageValue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
3403 if err := m.AverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3409 skippy, err := skipGenerated(dAtA[iNdEx:])
3414 return ErrInvalidLengthGenerated
3416 if (iNdEx + skippy) > l {
3417 return io.ErrUnexpectedEOF
3424 return io.ErrUnexpectedEOF
3428 func (m *ObjectMetricStatus) Unmarshal(dAtA []byte) error {
3434 for shift := uint(0); ; shift += 7 {
3436 return ErrIntOverflowGenerated
3439 return io.ErrUnexpectedEOF
3443 wire |= (uint64(b) & 0x7F) << shift
3448 fieldNum := int32(wire >> 3)
3449 wireType := int(wire & 0x7)
3451 return fmt.Errorf("proto: ObjectMetricStatus: wiretype end group for non-group")
3454 return fmt.Errorf("proto: ObjectMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire)
3459 return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
3462 for shift := uint(0); ; shift += 7 {
3464 return ErrIntOverflowGenerated
3467 return io.ErrUnexpectedEOF
3471 msglen |= (int(b) & 0x7F) << shift
3477 return ErrInvalidLengthGenerated
3479 postIndex := iNdEx + msglen
3481 return io.ErrUnexpectedEOF
3483 if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3489 return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType)
3491 var stringLen uint64
3492 for shift := uint(0); ; shift += 7 {
3494 return ErrIntOverflowGenerated
3497 return io.ErrUnexpectedEOF
3501 stringLen |= (uint64(b) & 0x7F) << shift
3506 intStringLen := int(stringLen)
3507 if intStringLen < 0 {
3508 return ErrInvalidLengthGenerated
3510 postIndex := iNdEx + intStringLen
3512 return io.ErrUnexpectedEOF
3514 m.MetricName = string(dAtA[iNdEx:postIndex])
3518 return fmt.Errorf("proto: wrong wireType = %d for field CurrentValue", wireType)
3521 for shift := uint(0); ; shift += 7 {
3523 return ErrIntOverflowGenerated
3526 return io.ErrUnexpectedEOF
3530 msglen |= (int(b) & 0x7F) << shift
3536 return ErrInvalidLengthGenerated
3538 postIndex := iNdEx + msglen
3540 return io.ErrUnexpectedEOF
3542 if err := m.CurrentValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3548 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
3551 for shift := uint(0); ; shift += 7 {
3553 return ErrIntOverflowGenerated
3556 return io.ErrUnexpectedEOF
3560 msglen |= (int(b) & 0x7F) << shift
3566 return ErrInvalidLengthGenerated
3568 postIndex := iNdEx + msglen
3570 return io.ErrUnexpectedEOF
3572 if m.Selector == nil {
3573 m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
3575 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3581 return fmt.Errorf("proto: wrong wireType = %d for field AverageValue", wireType)
3584 for shift := uint(0); ; shift += 7 {
3586 return ErrIntOverflowGenerated
3589 return io.ErrUnexpectedEOF
3593 msglen |= (int(b) & 0x7F) << shift
3599 return ErrInvalidLengthGenerated
3601 postIndex := iNdEx + msglen
3603 return io.ErrUnexpectedEOF
3605 if m.AverageValue == nil {
3606 m.AverageValue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
3608 if err := m.AverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3614 skippy, err := skipGenerated(dAtA[iNdEx:])
3619 return ErrInvalidLengthGenerated
3621 if (iNdEx + skippy) > l {
3622 return io.ErrUnexpectedEOF
3629 return io.ErrUnexpectedEOF
3633 func (m *PodsMetricSource) Unmarshal(dAtA []byte) error {
3639 for shift := uint(0); ; shift += 7 {
3641 return ErrIntOverflowGenerated
3644 return io.ErrUnexpectedEOF
3648 wire |= (uint64(b) & 0x7F) << shift
3653 fieldNum := int32(wire >> 3)
3654 wireType := int(wire & 0x7)
3656 return fmt.Errorf("proto: PodsMetricSource: wiretype end group for non-group")
3659 return fmt.Errorf("proto: PodsMetricSource: illegal tag %d (wire type %d)", fieldNum, wire)
3664 return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType)
3666 var stringLen uint64
3667 for shift := uint(0); ; shift += 7 {
3669 return ErrIntOverflowGenerated
3672 return io.ErrUnexpectedEOF
3676 stringLen |= (uint64(b) & 0x7F) << shift
3681 intStringLen := int(stringLen)
3682 if intStringLen < 0 {
3683 return ErrInvalidLengthGenerated
3685 postIndex := iNdEx + intStringLen
3687 return io.ErrUnexpectedEOF
3689 m.MetricName = string(dAtA[iNdEx:postIndex])
3693 return fmt.Errorf("proto: wrong wireType = %d for field TargetAverageValue", wireType)
3696 for shift := uint(0); ; shift += 7 {
3698 return ErrIntOverflowGenerated
3701 return io.ErrUnexpectedEOF
3705 msglen |= (int(b) & 0x7F) << shift
3711 return ErrInvalidLengthGenerated
3713 postIndex := iNdEx + msglen
3715 return io.ErrUnexpectedEOF
3717 if err := m.TargetAverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3723 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
3726 for shift := uint(0); ; shift += 7 {
3728 return ErrIntOverflowGenerated
3731 return io.ErrUnexpectedEOF
3735 msglen |= (int(b) & 0x7F) << shift
3741 return ErrInvalidLengthGenerated
3743 postIndex := iNdEx + msglen
3745 return io.ErrUnexpectedEOF
3747 if m.Selector == nil {
3748 m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
3750 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3756 skippy, err := skipGenerated(dAtA[iNdEx:])
3761 return ErrInvalidLengthGenerated
3763 if (iNdEx + skippy) > l {
3764 return io.ErrUnexpectedEOF
3771 return io.ErrUnexpectedEOF
3775 func (m *PodsMetricStatus) Unmarshal(dAtA []byte) error {
3781 for shift := uint(0); ; shift += 7 {
3783 return ErrIntOverflowGenerated
3786 return io.ErrUnexpectedEOF
3790 wire |= (uint64(b) & 0x7F) << shift
3795 fieldNum := int32(wire >> 3)
3796 wireType := int(wire & 0x7)
3798 return fmt.Errorf("proto: PodsMetricStatus: wiretype end group for non-group")
3801 return fmt.Errorf("proto: PodsMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire)
3806 return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType)
3808 var stringLen uint64
3809 for shift := uint(0); ; shift += 7 {
3811 return ErrIntOverflowGenerated
3814 return io.ErrUnexpectedEOF
3818 stringLen |= (uint64(b) & 0x7F) << shift
3823 intStringLen := int(stringLen)
3824 if intStringLen < 0 {
3825 return ErrInvalidLengthGenerated
3827 postIndex := iNdEx + intStringLen
3829 return io.ErrUnexpectedEOF
3831 m.MetricName = string(dAtA[iNdEx:postIndex])
3835 return fmt.Errorf("proto: wrong wireType = %d for field CurrentAverageValue", wireType)
3838 for shift := uint(0); ; shift += 7 {
3840 return ErrIntOverflowGenerated
3843 return io.ErrUnexpectedEOF
3847 msglen |= (int(b) & 0x7F) << shift
3853 return ErrInvalidLengthGenerated
3855 postIndex := iNdEx + msglen
3857 return io.ErrUnexpectedEOF
3859 if err := m.CurrentAverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3865 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
3868 for shift := uint(0); ; shift += 7 {
3870 return ErrIntOverflowGenerated
3873 return io.ErrUnexpectedEOF
3877 msglen |= (int(b) & 0x7F) << shift
3883 return ErrInvalidLengthGenerated
3885 postIndex := iNdEx + msglen
3887 return io.ErrUnexpectedEOF
3889 if m.Selector == nil {
3890 m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
3892 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3898 skippy, err := skipGenerated(dAtA[iNdEx:])
3903 return ErrInvalidLengthGenerated
3905 if (iNdEx + skippy) > l {
3906 return io.ErrUnexpectedEOF
3913 return io.ErrUnexpectedEOF
3917 func (m *ResourceMetricSource) Unmarshal(dAtA []byte) error {
3923 for shift := uint(0); ; shift += 7 {
3925 return ErrIntOverflowGenerated
3928 return io.ErrUnexpectedEOF
3932 wire |= (uint64(b) & 0x7F) << shift
3937 fieldNum := int32(wire >> 3)
3938 wireType := int(wire & 0x7)
3940 return fmt.Errorf("proto: ResourceMetricSource: wiretype end group for non-group")
3943 return fmt.Errorf("proto: ResourceMetricSource: illegal tag %d (wire type %d)", fieldNum, wire)
3948 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
3950 var stringLen uint64
3951 for shift := uint(0); ; shift += 7 {
3953 return ErrIntOverflowGenerated
3956 return io.ErrUnexpectedEOF
3960 stringLen |= (uint64(b) & 0x7F) << shift
3965 intStringLen := int(stringLen)
3966 if intStringLen < 0 {
3967 return ErrInvalidLengthGenerated
3969 postIndex := iNdEx + intStringLen
3971 return io.ErrUnexpectedEOF
3973 m.Name = k8s_io_api_core_v1.ResourceName(dAtA[iNdEx:postIndex])
3977 return fmt.Errorf("proto: wrong wireType = %d for field TargetAverageUtilization", wireType)
3980 for shift := uint(0); ; shift += 7 {
3982 return ErrIntOverflowGenerated
3985 return io.ErrUnexpectedEOF
3989 v |= (int32(b) & 0x7F) << shift
3994 m.TargetAverageUtilization = &v
3997 return fmt.Errorf("proto: wrong wireType = %d for field TargetAverageValue", wireType)
4000 for shift := uint(0); ; shift += 7 {
4002 return ErrIntOverflowGenerated
4005 return io.ErrUnexpectedEOF
4009 msglen |= (int(b) & 0x7F) << shift
4015 return ErrInvalidLengthGenerated
4017 postIndex := iNdEx + msglen
4019 return io.ErrUnexpectedEOF
4021 if m.TargetAverageValue == nil {
4022 m.TargetAverageValue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
4024 if err := m.TargetAverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4030 skippy, err := skipGenerated(dAtA[iNdEx:])
4035 return ErrInvalidLengthGenerated
4037 if (iNdEx + skippy) > l {
4038 return io.ErrUnexpectedEOF
4045 return io.ErrUnexpectedEOF
4049 func (m *ResourceMetricStatus) Unmarshal(dAtA []byte) error {
4055 for shift := uint(0); ; shift += 7 {
4057 return ErrIntOverflowGenerated
4060 return io.ErrUnexpectedEOF
4064 wire |= (uint64(b) & 0x7F) << shift
4069 fieldNum := int32(wire >> 3)
4070 wireType := int(wire & 0x7)
4072 return fmt.Errorf("proto: ResourceMetricStatus: wiretype end group for non-group")
4075 return fmt.Errorf("proto: ResourceMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire)
4080 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
4082 var stringLen uint64
4083 for shift := uint(0); ; shift += 7 {
4085 return ErrIntOverflowGenerated
4088 return io.ErrUnexpectedEOF
4092 stringLen |= (uint64(b) & 0x7F) << shift
4097 intStringLen := int(stringLen)
4098 if intStringLen < 0 {
4099 return ErrInvalidLengthGenerated
4101 postIndex := iNdEx + intStringLen
4103 return io.ErrUnexpectedEOF
4105 m.Name = k8s_io_api_core_v1.ResourceName(dAtA[iNdEx:postIndex])
4109 return fmt.Errorf("proto: wrong wireType = %d for field CurrentAverageUtilization", wireType)
4112 for shift := uint(0); ; shift += 7 {
4114 return ErrIntOverflowGenerated
4117 return io.ErrUnexpectedEOF
4121 v |= (int32(b) & 0x7F) << shift
4126 m.CurrentAverageUtilization = &v
4129 return fmt.Errorf("proto: wrong wireType = %d for field CurrentAverageValue", wireType)
4132 for shift := uint(0); ; shift += 7 {
4134 return ErrIntOverflowGenerated
4137 return io.ErrUnexpectedEOF
4141 msglen |= (int(b) & 0x7F) << shift
4147 return ErrInvalidLengthGenerated
4149 postIndex := iNdEx + msglen
4151 return io.ErrUnexpectedEOF
4153 if err := m.CurrentAverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4159 skippy, err := skipGenerated(dAtA[iNdEx:])
4164 return ErrInvalidLengthGenerated
4166 if (iNdEx + skippy) > l {
4167 return io.ErrUnexpectedEOF
4174 return io.ErrUnexpectedEOF
4178 func (m *Scale) Unmarshal(dAtA []byte) error {
4184 for shift := uint(0); ; shift += 7 {
4186 return ErrIntOverflowGenerated
4189 return io.ErrUnexpectedEOF
4193 wire |= (uint64(b) & 0x7F) << shift
4198 fieldNum := int32(wire >> 3)
4199 wireType := int(wire & 0x7)
4201 return fmt.Errorf("proto: Scale: wiretype end group for non-group")
4204 return fmt.Errorf("proto: Scale: illegal tag %d (wire type %d)", fieldNum, wire)
4209 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
4212 for shift := uint(0); ; shift += 7 {
4214 return ErrIntOverflowGenerated
4217 return io.ErrUnexpectedEOF
4221 msglen |= (int(b) & 0x7F) << shift
4227 return ErrInvalidLengthGenerated
4229 postIndex := iNdEx + msglen
4231 return io.ErrUnexpectedEOF
4233 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4239 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
4242 for shift := uint(0); ; shift += 7 {
4244 return ErrIntOverflowGenerated
4247 return io.ErrUnexpectedEOF
4251 msglen |= (int(b) & 0x7F) << shift
4257 return ErrInvalidLengthGenerated
4259 postIndex := iNdEx + msglen
4261 return io.ErrUnexpectedEOF
4263 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4269 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
4272 for shift := uint(0); ; shift += 7 {
4274 return ErrIntOverflowGenerated
4277 return io.ErrUnexpectedEOF
4281 msglen |= (int(b) & 0x7F) << shift
4287 return ErrInvalidLengthGenerated
4289 postIndex := iNdEx + msglen
4291 return io.ErrUnexpectedEOF
4293 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4299 skippy, err := skipGenerated(dAtA[iNdEx:])
4304 return ErrInvalidLengthGenerated
4306 if (iNdEx + skippy) > l {
4307 return io.ErrUnexpectedEOF
4314 return io.ErrUnexpectedEOF
4318 func (m *ScaleSpec) Unmarshal(dAtA []byte) error {
4324 for shift := uint(0); ; shift += 7 {
4326 return ErrIntOverflowGenerated
4329 return io.ErrUnexpectedEOF
4333 wire |= (uint64(b) & 0x7F) << shift
4338 fieldNum := int32(wire >> 3)
4339 wireType := int(wire & 0x7)
4341 return fmt.Errorf("proto: ScaleSpec: wiretype end group for non-group")
4344 return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire)
4349 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
4352 for shift := uint(0); ; shift += 7 {
4354 return ErrIntOverflowGenerated
4357 return io.ErrUnexpectedEOF
4361 m.Replicas |= (int32(b) & 0x7F) << shift
4368 skippy, err := skipGenerated(dAtA[iNdEx:])
4373 return ErrInvalidLengthGenerated
4375 if (iNdEx + skippy) > l {
4376 return io.ErrUnexpectedEOF
4383 return io.ErrUnexpectedEOF
4387 func (m *ScaleStatus) Unmarshal(dAtA []byte) error {
4393 for shift := uint(0); ; shift += 7 {
4395 return ErrIntOverflowGenerated
4398 return io.ErrUnexpectedEOF
4402 wire |= (uint64(b) & 0x7F) << shift
4407 fieldNum := int32(wire >> 3)
4408 wireType := int(wire & 0x7)
4410 return fmt.Errorf("proto: ScaleStatus: wiretype end group for non-group")
4413 return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire)
4418 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
4421 for shift := uint(0); ; shift += 7 {
4423 return ErrIntOverflowGenerated
4426 return io.ErrUnexpectedEOF
4430 m.Replicas |= (int32(b) & 0x7F) << shift
4437 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
4439 var stringLen uint64
4440 for shift := uint(0); ; shift += 7 {
4442 return ErrIntOverflowGenerated
4445 return io.ErrUnexpectedEOF
4449 stringLen |= (uint64(b) & 0x7F) << shift
4454 intStringLen := int(stringLen)
4455 if intStringLen < 0 {
4456 return ErrInvalidLengthGenerated
4458 postIndex := iNdEx + intStringLen
4460 return io.ErrUnexpectedEOF
4462 m.Selector = string(dAtA[iNdEx:postIndex])
4466 skippy, err := skipGenerated(dAtA[iNdEx:])
4471 return ErrInvalidLengthGenerated
4473 if (iNdEx + skippy) > l {
4474 return io.ErrUnexpectedEOF
4481 return io.ErrUnexpectedEOF
4485 func skipGenerated(dAtA []byte) (n int, err error) {
4490 for shift := uint(0); ; shift += 7 {
4492 return 0, ErrIntOverflowGenerated
4495 return 0, io.ErrUnexpectedEOF
4499 wire |= (uint64(b) & 0x7F) << shift
4504 wireType := int(wire & 0x7)
4507 for shift := uint(0); ; shift += 7 {
4509 return 0, ErrIntOverflowGenerated
4512 return 0, io.ErrUnexpectedEOF
4515 if dAtA[iNdEx-1] < 0x80 {
4525 for shift := uint(0); ; shift += 7 {
4527 return 0, ErrIntOverflowGenerated
4530 return 0, io.ErrUnexpectedEOF
4534 length |= (int(b) & 0x7F) << shift
4541 return 0, ErrInvalidLengthGenerated
4546 var innerWire uint64
4547 var start int = iNdEx
4548 for shift := uint(0); ; shift += 7 {
4550 return 0, ErrIntOverflowGenerated
4553 return 0, io.ErrUnexpectedEOF
4557 innerWire |= (uint64(b) & 0x7F) << shift
4562 innerWireType := int(innerWire & 0x7)
4563 if innerWireType == 4 {
4566 next, err := skipGenerated(dAtA[start:])
4570 iNdEx = start + next
4579 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
4582 panic("unreachable")
4586 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
4587 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
4591 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v1/generated.proto", fileDescriptorGenerated)
4594 var fileDescriptorGenerated = []byte{
4595 // 1516 bytes of a gzipped FileDescriptorProto
4596 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcf, 0x6f, 0x13, 0xc7,
4597 0x17, 0x8f, 0x7f, 0x24, 0x24, 0xe3, 0x90, 0xe4, 0x3b, 0x20, 0x08, 0xe1, 0x8b, 0x37, 0xda, 0x22,
4598 0x44, 0x7f, 0xb0, 0x6e, 0x52, 0x8a, 0xe8, 0x31, 0x76, 0x4b, 0x41, 0x8d, 0x21, 0x4c, 0x02, 0xa5,
4599 0x3f, 0xc5, 0x64, 0x3d, 0x38, 0x43, 0xbc, 0xbb, 0xd6, 0xec, 0xd8, 0x22, 0x48, 0x95, 0xda, 0x43,
4600 0xef, 0xbd, 0xb4, 0xea, 0xb1, 0x95, 0x7a, 0xed, 0x99, 0x73, 0x6f, 0x1c, 0x39, 0x20, 0x95, 0xd3,
4601 0xaa, 0x6c, 0x8f, 0xfd, 0x0f, 0x38, 0x55, 0xf3, 0xc3, 0xeb, 0x5d, 0xdb, 0xeb, 0x24, 0x26, 0x44,
4602 0x6d, 0x6f, 0x3b, 0x33, 0xef, 0x7d, 0xde, 0xec, 0x7b, 0x6f, 0xde, 0x2f, 0x50, 0xde, 0xbe, 0xec,
4603 0x5b, 0xd4, 0x2b, 0x6d, 0xb7, 0x36, 0x09, 0x73, 0x09, 0x27, 0x7e, 0xa9, 0x4d, 0xdc, 0x9a, 0xc7,
4604 0x4a, 0xfa, 0x00, 0x37, 0x69, 0x09, 0xb7, 0xb8, 0xe7, 0xdb, 0xb8, 0x41, 0xdd, 0x7a, 0xa9, 0xbd,
4605 0x54, 0xaa, 0x13, 0x97, 0x30, 0xcc, 0x49, 0xcd, 0x6a, 0x32, 0x8f, 0x7b, 0xf0, 0x94, 0x22, 0xb5,
4606 0x70, 0x93, 0x5a, 0x31, 0x52, 0xab, 0xbd, 0xb4, 0x70, 0xa1, 0x4e, 0xf9, 0x56, 0x6b, 0xd3, 0xb2,
4607 0x3d, 0xa7, 0x54, 0xf7, 0xea, 0x5e, 0x49, 0x72, 0x6c, 0xb6, 0xee, 0xc9, 0x95, 0x5c, 0xc8, 0x2f,
4608 0x85, 0xb4, 0x60, 0xc6, 0x84, 0xda, 0x1e, 0x23, 0x03, 0xa4, 0x2d, 0x5c, 0xec, 0xd2, 0x38, 0xd8,
4609 0xde, 0xa2, 0x2e, 0x61, 0x3b, 0xa5, 0xe6, 0x76, 0x5d, 0x32, 0x31, 0xe2, 0x7b, 0x2d, 0x66, 0x93,
4610 0x7d, 0x71, 0xf9, 0x25, 0x87, 0x70, 0x3c, 0x48, 0x56, 0x29, 0x8d, 0x8b, 0xb5, 0x5c, 0x4e, 0x9d,
4611 0x7e, 0x31, 0x97, 0x76, 0x63, 0xf0, 0xed, 0x2d, 0xe2, 0xe0, 0x5e, 0x3e, 0xf3, 0xfb, 0x0c, 0x38,
4612 0x5d, 0x61, 0x9e, 0xef, 0xdf, 0x26, 0xcc, 0xa7, 0x9e, 0x7b, 0x63, 0xf3, 0x3e, 0xb1, 0x39, 0x22,
4613 0xf7, 0x08, 0x23, 0xae, 0x4d, 0xe0, 0x22, 0xc8, 0x6f, 0x53, 0xb7, 0x36, 0x9f, 0x59, 0xcc, 0x9c,
4614 0x9f, 0x2a, 0x4f, 0x3f, 0x0e, 0x8c, 0xb1, 0x30, 0x30, 0xf2, 0x1f, 0x51, 0xb7, 0x86, 0xe4, 0x89,
4615 0xa0, 0x70, 0xb1, 0x43, 0xe6, 0xb3, 0x49, 0x8a, 0xeb, 0xd8, 0x21, 0x48, 0x9e, 0xc0, 0x65, 0x00,
4616 0x70, 0x93, 0x6a, 0x01, 0xf3, 0x39, 0x49, 0x07, 0x35, 0x1d, 0x58, 0x59, 0xbb, 0xa6, 0x4f, 0x50,
4617 0x8c, 0xca, 0xfc, 0x21, 0x07, 0x8e, 0x7f, 0xf0, 0x80, 0x13, 0xe6, 0xe2, 0x46, 0x95, 0x70, 0x46,
4618 0xed, 0x75, 0xa9, 0x5f, 0x01, 0xe6, 0xc8, 0xb5, 0x10, 0xa0, 0xaf, 0x15, 0x81, 0x55, 0xa3, 0x13,
4619 0x14, 0xa3, 0x82, 0x1e, 0x98, 0x51, 0xab, 0x75, 0xd2, 0x20, 0x36, 0xf7, 0x98, 0xbc, 0x6c, 0x61,
4620 0xf9, 0x1d, 0xab, 0xeb, 0x40, 0x91, 0xd6, 0xac, 0xe6, 0x76, 0x5d, 0x6c, 0xf8, 0x96, 0x30, 0x8e,
4621 0xd5, 0x5e, 0xb2, 0x56, 0xf1, 0x26, 0x69, 0x74, 0x58, 0xcb, 0x30, 0x0c, 0x8c, 0x99, 0x6a, 0x02,
4622 0x0e, 0xf5, 0xc0, 0x43, 0x0c, 0x0a, 0x1c, 0xb3, 0x3a, 0xe1, 0xb7, 0x71, 0xa3, 0x45, 0xe4, 0x2f,
4623 0x17, 0x96, 0xad, 0x61, 0xd2, 0xac, 0x8e, 0x03, 0x59, 0x37, 0x5b, 0xd8, 0xe5, 0x94, 0xef, 0x94,
4624 0x67, 0xc3, 0xc0, 0x28, 0x6c, 0x74, 0x61, 0x50, 0x1c, 0x13, 0xb6, 0x01, 0x54, 0xcb, 0x95, 0x36,
4625 0x61, 0xb8, 0x4e, 0x94, 0xa4, 0xfc, 0x48, 0x92, 0x4e, 0x84, 0x81, 0x01, 0x37, 0xfa, 0xd0, 0xd0,
4626 0x00, 0x09, 0xe6, 0x4f, 0xfd, 0x86, 0xe1, 0x98, 0xb7, 0xfc, 0x7f, 0x87, 0x61, 0xb6, 0xc0, 0xb4,
4627 0xdd, 0x62, 0x8c, 0xb8, 0x2f, 0x65, 0x99, 0xe3, 0xfa, 0xb7, 0xa6, 0x2b, 0x31, 0x2c, 0x94, 0x40,
4628 0x86, 0x3b, 0xe0, 0x98, 0x5e, 0x1f, 0x80, 0x81, 0x4e, 0x86, 0x81, 0x71, 0xac, 0xd2, 0x0f, 0x87,
4629 0x06, 0xc9, 0x30, 0x1f, 0x65, 0xc1, 0xc9, 0xab, 0x1e, 0xa3, 0x0f, 0x3d, 0x97, 0xe3, 0xc6, 0x9a,
4630 0x57, 0x5b, 0xd1, 0xb1, 0x91, 0x30, 0x78, 0x17, 0x4c, 0x0a, 0xed, 0xd5, 0x30, 0xc7, 0xd2, 0x46,
4631 0x85, 0xe5, 0xb7, 0xf7, 0xa6, 0x6b, 0x15, 0x18, 0xaa, 0x84, 0xe3, 0xae, 0x55, 0xbb, 0x7b, 0x28,
4632 0x42, 0x85, 0x77, 0x40, 0xde, 0x6f, 0x12, 0x5b, 0x5b, 0xf2, 0x92, 0x95, 0x1a, 0xa3, 0xad, 0x94,
4633 0x3b, 0xae, 0x37, 0x89, 0xdd, 0x8d, 0x23, 0x62, 0x85, 0x24, 0x22, 0xbc, 0x0b, 0x26, 0x7c, 0xe9,
4634 0x6b, 0xda, 0x6c, 0x97, 0x47, 0xc0, 0x96, 0xfc, 0xe5, 0x19, 0x8d, 0x3e, 0xa1, 0xd6, 0x48, 0xe3,
4635 0x9a, 0xdf, 0xe6, 0xc0, 0x62, 0x0a, 0x67, 0xc5, 0x73, 0x6b, 0x94, 0x53, 0xcf, 0x85, 0x57, 0x41,
4636 0x9e, 0xef, 0x34, 0x3b, 0x2e, 0x7e, 0xb1, 0x73, 0xd1, 0x8d, 0x9d, 0x26, 0x79, 0x11, 0x18, 0x67,
4637 0x77, 0xe3, 0x17, 0x74, 0x48, 0x22, 0xc0, 0xd5, 0xe8, 0x87, 0xb2, 0x09, 0x2c, 0x7d, 0xad, 0x17,
4638 0x81, 0x31, 0x20, 0x2f, 0x59, 0x11, 0x52, 0xf2, 0xf2, 0x22, 0x22, 0x34, 0xb0, 0xcf, 0x37, 0x18,
4639 0x76, 0x7d, 0x25, 0x89, 0x3a, 0x1d, 0x0f, 0x7f, 0x63, 0x6f, 0x46, 0x16, 0x1c, 0xe5, 0x05, 0x7d,
4640 0x0b, 0xb8, 0xda, 0x87, 0x86, 0x06, 0x48, 0x80, 0xe7, 0xc0, 0x04, 0x23, 0xd8, 0xf7, 0x5c, 0xe9,
4641 0xdc, 0x53, 0x5d, 0xe5, 0x22, 0xb9, 0x8b, 0xf4, 0x29, 0x7c, 0x1d, 0x1c, 0x71, 0x88, 0xef, 0xe3,
4642 0x3a, 0x99, 0x1f, 0x97, 0x84, 0xb3, 0x9a, 0xf0, 0x48, 0x55, 0x6d, 0xa3, 0xce, 0xb9, 0xf9, 0x34,
4643 0x03, 0x4e, 0xa7, 0xe8, 0x71, 0x95, 0xfa, 0x1c, 0x7e, 0xde, 0xe7, 0xc5, 0xd6, 0x1e, 0x23, 0x06,
4644 0xf5, 0x95, 0x0f, 0xcf, 0x69, 0xd9, 0x93, 0x9d, 0x9d, 0x98, 0x07, 0x7f, 0x0c, 0xc6, 0x29, 0x27,
4645 0x8e, 0xb0, 0x4a, 0xee, 0x7c, 0x61, 0x79, 0x79, 0xff, 0x6e, 0x56, 0x3e, 0xaa, 0xe1, 0xc7, 0xaf,
4646 0x09, 0x20, 0xa4, 0xf0, 0xcc, 0xbf, 0xb2, 0xa9, 0xbf, 0x25, 0xdc, 0x1c, 0xb6, 0xc1, 0x8c, 0x5c,
4647 0xa9, 0x50, 0x8c, 0xc8, 0x3d, 0xfd, 0x73, 0xc3, 0x1e, 0xd1, 0x90, 0xe4, 0x5d, 0x3e, 0xa1, 0x6f,
4648 0x31, 0xb3, 0x9e, 0x40, 0x45, 0x3d, 0x52, 0xe0, 0x12, 0x28, 0x38, 0xd4, 0x45, 0xa4, 0xd9, 0xa0,
4649 0x36, 0x56, 0xce, 0x38, 0xae, 0xd2, 0x4f, 0xb5, 0xbb, 0x8d, 0xe2, 0x34, 0xf0, 0x5d, 0x50, 0x70,
4650 0xf0, 0x83, 0x88, 0x25, 0x27, 0x59, 0x8e, 0x69, 0x79, 0x85, 0x6a, 0xf7, 0x08, 0xc5, 0xe9, 0xe0,
4651 0x7d, 0x50, 0x54, 0x39, 0xa5, 0xb2, 0x76, 0xeb, 0x16, 0xa7, 0x0d, 0xfa, 0x10, 0x0b, 0x3f, 0x5a,
4652 0x23, 0xcc, 0x26, 0x2e, 0x17, 0xae, 0x91, 0x97, 0x48, 0x66, 0x18, 0x18, 0xc5, 0x8d, 0xa1, 0x94,
4653 0x68, 0x17, 0x24, 0xf3, 0xb7, 0x1c, 0x38, 0x33, 0x34, 0x0c, 0xc0, 0x2b, 0x00, 0x7a, 0x9b, 0x3e,
4654 0x61, 0x6d, 0x52, 0xfb, 0x50, 0xd5, 0x45, 0xa2, 0x40, 0x11, 0x3a, 0xcf, 0xa9, 0x9c, 0x78, 0xa3,
4655 0xef, 0x14, 0x0d, 0xe0, 0x80, 0x36, 0x38, 0x2a, 0xde, 0x85, 0xd2, 0x32, 0xd5, 0xb5, 0xd0, 0xfe,
4656 0x1e, 0xdd, 0xff, 0xc2, 0xc0, 0x38, 0xba, 0x1a, 0x07, 0x41, 0x49, 0x4c, 0xb8, 0x02, 0x66, 0x75,
4657 0xb0, 0xef, 0xd1, 0xfa, 0x49, 0xad, 0xf5, 0xd9, 0x4a, 0xf2, 0x18, 0xf5, 0xd2, 0x0b, 0x88, 0x1a,
4658 0xf1, 0x29, 0x23, 0xb5, 0x08, 0x22, 0x9f, 0x84, 0x78, 0x3f, 0x79, 0x8c, 0x7a, 0xe9, 0xa1, 0x03,
4659 0x0c, 0x8d, 0x9a, 0x6a, 0xc1, 0x71, 0x09, 0xf9, 0x5a, 0x18, 0x18, 0x46, 0x65, 0x38, 0x29, 0xda,
4660 0x0d, 0x4b, 0x94, 0x81, 0xba, 0x76, 0x90, 0x0f, 0xe4, 0x62, 0x22, 0xf4, 0x2e, 0xf6, 0x84, 0xde,
4661 0xb9, 0x78, 0xa1, 0x18, 0x0b, 0xb3, 0x37, 0xc1, 0x84, 0x27, 0x5f, 0x86, 0xb6, 0xcb, 0x85, 0x21,
4662 0xcf, 0x29, 0x4a, 0x69, 0x11, 0x50, 0x19, 0x88, 0x58, 0xa6, 0x9f, 0x96, 0x06, 0x82, 0xd7, 0x40,
4663 0xbe, 0xe9, 0xd5, 0x3a, 0x89, 0xe8, 0xcd, 0x21, 0x80, 0x6b, 0x5e, 0xcd, 0x4f, 0xc0, 0x4d, 0x8a,
4664 0x1b, 0x8b, 0x5d, 0x24, 0x21, 0xe0, 0x27, 0x60, 0xb2, 0x93, 0xf0, 0x75, 0x75, 0x50, 0x1a, 0x02,
4665 0x87, 0x34, 0x69, 0x02, 0x72, 0x5a, 0x04, 0xb2, 0xce, 0x09, 0x8a, 0xe0, 0x04, 0x34, 0xd1, 0xa5,
4666 0x9a, 0xb4, 0xca, 0x70, 0xe8, 0x41, 0xe5, 0xb6, 0x82, 0xee, 0x9c, 0xa0, 0x08, 0xce, 0xfc, 0x31,
4667 0x07, 0xa6, 0x13, 0xe5, 0xdf, 0x21, 0x9b, 0x46, 0xe5, 0xf1, 0x03, 0x33, 0x8d, 0x82, 0x3b, 0x50,
4668 0xd3, 0x28, 0xc8, 0x57, 0x62, 0x9a, 0x18, 0xf4, 0x00, 0xd3, 0x3c, 0xcd, 0x01, 0xd8, 0xef, 0xc6,
4669 0xf0, 0x4b, 0x30, 0xa1, 0x02, 0xe6, 0x4b, 0x26, 0x95, 0x28, 0xbd, 0xeb, 0xfc, 0xa1, 0x51, 0x7b,
4670 0xea, 0xff, 0xec, 0x9e, 0xea, 0x7f, 0x72, 0x10, 0x7d, 0x52, 0x94, 0x75, 0x52, 0x7b, 0xa5, 0x2f,
4671 0xc0, 0xa4, 0xdf, 0x69, 0x30, 0xf2, 0xa3, 0x37, 0x18, 0x52, 0xe1, 0x51, 0x6b, 0x11, 0x41, 0xc2,
4672 0x1a, 0x98, 0xc6, 0xf1, 0x1a, 0x7f, 0x7c, 0xa4, 0xdf, 0x98, 0x13, 0x0d, 0x45, 0xa2, 0xb8, 0x4f,
4673 0xa0, 0x9a, 0xbf, 0xf7, 0x9a, 0x55, 0xbd, 0xbb, 0x7f, 0xa2, 0x59, 0x0f, 0xaf, 0xcb, 0xfa, 0x4f,
4674 0x58, 0xf6, 0xe7, 0x2c, 0x98, 0xeb, 0x4d, 0x13, 0x23, 0xb5, 0xd3, 0x0f, 0x07, 0xce, 0x04, 0xb2,
4675 0x23, 0x5d, 0x3a, 0xea, 0x02, 0xf6, 0x36, 0x17, 0x48, 0x58, 0x22, 0x77, 0xe0, 0x96, 0x30, 0x7f,
4676 0x49, 0xea, 0x68, 0xf4, 0x91, 0xc3, 0x57, 0x83, 0xfb, 0xf2, 0xd1, 0x94, 0x74, 0x5a, 0x0b, 0xdb,
4677 0x73, 0x6f, 0xfe, 0xaa, 0xd5, 0xf4, 0x6b, 0x16, 0x1c, 0x1f, 0x54, 0x22, 0xc0, 0x8a, 0x9e, 0xd2,
4678 0x29, 0x25, 0x95, 0xe2, 0x53, 0xba, 0x17, 0x81, 0x61, 0x0c, 0x68, 0x33, 0x3b, 0x30, 0xb1, 0x41,
4679 0xde, 0x1d, 0x30, 0x9f, 0xb0, 0x7c, 0xac, 0x66, 0xd3, 0x4d, 0xc3, 0xff, 0xc3, 0xc0, 0x98, 0xdf,
4680 0x48, 0xa1, 0x41, 0xa9, 0xdc, 0x29, 0xd3, 0xac, 0xdc, 0x2b, 0x9f, 0x66, 0x3d, 0xea, 0xd7, 0x97,
4681 0x72, 0xad, 0x03, 0xd1, 0xd7, 0x67, 0xe0, 0x54, 0xd2, 0x07, 0xfa, 0x15, 0x76, 0x26, 0x0c, 0x8c,
4682 0x53, 0x95, 0x34, 0x22, 0x94, 0xce, 0x9f, 0xe6, 0xc8, 0xb9, 0xc3, 0x71, 0x64, 0xf3, 0x9b, 0x2c,
4683 0x18, 0x97, 0xcd, 0xc9, 0x21, 0x8c, 0x94, 0xae, 0x24, 0x46, 0x4a, 0x67, 0x87, 0x64, 0x38, 0x79,
4684 0xa3, 0xd4, 0x01, 0xd2, 0xf5, 0x9e, 0x01, 0xd2, 0xb9, 0x5d, 0x91, 0x86, 0x8f, 0x8b, 0xde, 0x03,
4685 0x53, 0x91, 0x40, 0xf8, 0x96, 0x28, 0x16, 0x75, 0x57, 0x95, 0x91, 0xb6, 0x8d, 0x66, 0x0c, 0x51,
4686 0x3b, 0x15, 0x51, 0x98, 0x14, 0x14, 0x62, 0x12, 0xf6, 0xc7, 0x2c, 0xa8, 0xfd, 0xf8, 0xc0, 0x74,
4687 0xaa, 0x4b, 0xdd, 0x1f, 0x13, 0xca, 0xe7, 0x1f, 0x3f, 0x2f, 0x8e, 0x3d, 0x79, 0x5e, 0x1c, 0x7b,
4688 0xf6, 0xbc, 0x38, 0xf6, 0x75, 0x58, 0xcc, 0x3c, 0x0e, 0x8b, 0x99, 0x27, 0x61, 0x31, 0xf3, 0x2c,
4689 0x2c, 0x66, 0xfe, 0x08, 0x8b, 0x99, 0xef, 0xfe, 0x2c, 0x8e, 0x7d, 0x9a, 0x6d, 0x2f, 0xfd, 0x1d,
4690 0x00, 0x00, 0xff, 0xff, 0x3c, 0x26, 0x41, 0xcb, 0x94, 0x19, 0x00, 0x00,