blob: 84c40a9f49fd8d8b8bf56d54e59848e66584f65d [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001/*
2Copyright The Kubernetes Authors.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16
17// Code generated by protoc-gen-gogo.
18// source: k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v1/generated.proto
19// DO NOT EDIT!
20
21/*
22 Package v1 is a generated protocol buffer package.
23
24 It is generated from these files:
25 k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v1/generated.proto
26
27 It has these top-level messages:
28 CrossVersionObjectReference
29 ExternalMetricSource
30 ExternalMetricStatus
31 HorizontalPodAutoscaler
32 HorizontalPodAutoscalerCondition
33 HorizontalPodAutoscalerList
34 HorizontalPodAutoscalerSpec
35 HorizontalPodAutoscalerStatus
36 MetricSpec
37 MetricStatus
38 ObjectMetricSource
39 ObjectMetricStatus
40 PodsMetricSource
41 PodsMetricStatus
42 ResourceMetricSource
43 ResourceMetricStatus
44 Scale
45 ScaleSpec
46 ScaleStatus
47*/
48package v1
49
50import proto "github.com/gogo/protobuf/proto"
51import fmt "fmt"
52import math "math"
53
54import k8s_io_apimachinery_pkg_api_resource "k8s.io/apimachinery/pkg/api/resource"
55import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
56
57import k8s_io_api_core_v1 "k8s.io/api/core/v1"
58
59import strings "strings"
60import reflect "reflect"
61
62import io "io"
63
64// Reference imports to suppress errors if they are not otherwise used.
65var _ = proto.Marshal
66var _ = fmt.Errorf
67var _ = math.Inf
68
69// This is a compile-time assertion to ensure that this generated file
70// is compatible with the proto package it is being compiled against.
71// A compilation error at this line likely means your copy of the
72// proto package needs to be updated.
73const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
74
75func (m *CrossVersionObjectReference) Reset() { *m = CrossVersionObjectReference{} }
76func (*CrossVersionObjectReference) ProtoMessage() {}
77func (*CrossVersionObjectReference) Descriptor() ([]byte, []int) {
78 return fileDescriptorGenerated, []int{0}
79}
80
81func (m *ExternalMetricSource) Reset() { *m = ExternalMetricSource{} }
82func (*ExternalMetricSource) ProtoMessage() {}
83func (*ExternalMetricSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
84
85func (m *ExternalMetricStatus) Reset() { *m = ExternalMetricStatus{} }
86func (*ExternalMetricStatus) ProtoMessage() {}
87func (*ExternalMetricStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
88
89func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} }
90func (*HorizontalPodAutoscaler) ProtoMessage() {}
91func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
92
93func (m *HorizontalPodAutoscalerCondition) Reset() { *m = HorizontalPodAutoscalerCondition{} }
94func (*HorizontalPodAutoscalerCondition) ProtoMessage() {}
95func (*HorizontalPodAutoscalerCondition) Descriptor() ([]byte, []int) {
96 return fileDescriptorGenerated, []int{4}
97}
98
99func (m *HorizontalPodAutoscalerList) Reset() { *m = HorizontalPodAutoscalerList{} }
100func (*HorizontalPodAutoscalerList) ProtoMessage() {}
101func (*HorizontalPodAutoscalerList) Descriptor() ([]byte, []int) {
102 return fileDescriptorGenerated, []int{5}
103}
104
105func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} }
106func (*HorizontalPodAutoscalerSpec) ProtoMessage() {}
107func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) {
108 return fileDescriptorGenerated, []int{6}
109}
110
111func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} }
112func (*HorizontalPodAutoscalerStatus) ProtoMessage() {}
113func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) {
114 return fileDescriptorGenerated, []int{7}
115}
116
117func (m *MetricSpec) Reset() { *m = MetricSpec{} }
118func (*MetricSpec) ProtoMessage() {}
119func (*MetricSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
120
121func (m *MetricStatus) Reset() { *m = MetricStatus{} }
122func (*MetricStatus) ProtoMessage() {}
123func (*MetricStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
124
125func (m *ObjectMetricSource) Reset() { *m = ObjectMetricSource{} }
126func (*ObjectMetricSource) ProtoMessage() {}
127func (*ObjectMetricSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
128
129func (m *ObjectMetricStatus) Reset() { *m = ObjectMetricStatus{} }
130func (*ObjectMetricStatus) ProtoMessage() {}
131func (*ObjectMetricStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
132
133func (m *PodsMetricSource) Reset() { *m = PodsMetricSource{} }
134func (*PodsMetricSource) ProtoMessage() {}
135func (*PodsMetricSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
136
137func (m *PodsMetricStatus) Reset() { *m = PodsMetricStatus{} }
138func (*PodsMetricStatus) ProtoMessage() {}
139func (*PodsMetricStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
140
141func (m *ResourceMetricSource) Reset() { *m = ResourceMetricSource{} }
142func (*ResourceMetricSource) ProtoMessage() {}
143func (*ResourceMetricSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
144
145func (m *ResourceMetricStatus) Reset() { *m = ResourceMetricStatus{} }
146func (*ResourceMetricStatus) ProtoMessage() {}
147func (*ResourceMetricStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
148
149func (m *Scale) Reset() { *m = Scale{} }
150func (*Scale) ProtoMessage() {}
151func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
152
153func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
154func (*ScaleSpec) ProtoMessage() {}
155func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
156
157func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
158func (*ScaleStatus) ProtoMessage() {}
159func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
160
161func init() {
162 proto.RegisterType((*CrossVersionObjectReference)(nil), "k8s.io.api.autoscaling.v1.CrossVersionObjectReference")
163 proto.RegisterType((*ExternalMetricSource)(nil), "k8s.io.api.autoscaling.v1.ExternalMetricSource")
164 proto.RegisterType((*ExternalMetricStatus)(nil), "k8s.io.api.autoscaling.v1.ExternalMetricStatus")
165 proto.RegisterType((*HorizontalPodAutoscaler)(nil), "k8s.io.api.autoscaling.v1.HorizontalPodAutoscaler")
166 proto.RegisterType((*HorizontalPodAutoscalerCondition)(nil), "k8s.io.api.autoscaling.v1.HorizontalPodAutoscalerCondition")
167 proto.RegisterType((*HorizontalPodAutoscalerList)(nil), "k8s.io.api.autoscaling.v1.HorizontalPodAutoscalerList")
168 proto.RegisterType((*HorizontalPodAutoscalerSpec)(nil), "k8s.io.api.autoscaling.v1.HorizontalPodAutoscalerSpec")
169 proto.RegisterType((*HorizontalPodAutoscalerStatus)(nil), "k8s.io.api.autoscaling.v1.HorizontalPodAutoscalerStatus")
170 proto.RegisterType((*MetricSpec)(nil), "k8s.io.api.autoscaling.v1.MetricSpec")
171 proto.RegisterType((*MetricStatus)(nil), "k8s.io.api.autoscaling.v1.MetricStatus")
172 proto.RegisterType((*ObjectMetricSource)(nil), "k8s.io.api.autoscaling.v1.ObjectMetricSource")
173 proto.RegisterType((*ObjectMetricStatus)(nil), "k8s.io.api.autoscaling.v1.ObjectMetricStatus")
174 proto.RegisterType((*PodsMetricSource)(nil), "k8s.io.api.autoscaling.v1.PodsMetricSource")
175 proto.RegisterType((*PodsMetricStatus)(nil), "k8s.io.api.autoscaling.v1.PodsMetricStatus")
176 proto.RegisterType((*ResourceMetricSource)(nil), "k8s.io.api.autoscaling.v1.ResourceMetricSource")
177 proto.RegisterType((*ResourceMetricStatus)(nil), "k8s.io.api.autoscaling.v1.ResourceMetricStatus")
178 proto.RegisterType((*Scale)(nil), "k8s.io.api.autoscaling.v1.Scale")
179 proto.RegisterType((*ScaleSpec)(nil), "k8s.io.api.autoscaling.v1.ScaleSpec")
180 proto.RegisterType((*ScaleStatus)(nil), "k8s.io.api.autoscaling.v1.ScaleStatus")
181}
182func (m *CrossVersionObjectReference) Marshal() (dAtA []byte, err error) {
183 size := m.Size()
184 dAtA = make([]byte, size)
185 n, err := m.MarshalTo(dAtA)
186 if err != nil {
187 return nil, err
188 }
189 return dAtA[:n], nil
190}
191
192func (m *CrossVersionObjectReference) MarshalTo(dAtA []byte) (int, error) {
193 var i int
194 _ = i
195 var l int
196 _ = l
197 dAtA[i] = 0xa
198 i++
199 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
200 i += copy(dAtA[i:], m.Kind)
201 dAtA[i] = 0x12
202 i++
203 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
204 i += copy(dAtA[i:], m.Name)
205 dAtA[i] = 0x1a
206 i++
207 i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
208 i += copy(dAtA[i:], m.APIVersion)
209 return i, nil
210}
211
212func (m *ExternalMetricSource) Marshal() (dAtA []byte, err error) {
213 size := m.Size()
214 dAtA = make([]byte, size)
215 n, err := m.MarshalTo(dAtA)
216 if err != nil {
217 return nil, err
218 }
219 return dAtA[:n], nil
220}
221
222func (m *ExternalMetricSource) MarshalTo(dAtA []byte) (int, error) {
223 var i int
224 _ = i
225 var l int
226 _ = l
227 dAtA[i] = 0xa
228 i++
229 i = encodeVarintGenerated(dAtA, i, uint64(len(m.MetricName)))
230 i += copy(dAtA[i:], m.MetricName)
231 if m.MetricSelector != nil {
232 dAtA[i] = 0x12
233 i++
234 i = encodeVarintGenerated(dAtA, i, uint64(m.MetricSelector.Size()))
235 n1, err := m.MetricSelector.MarshalTo(dAtA[i:])
236 if err != nil {
237 return 0, err
238 }
239 i += n1
240 }
241 if m.TargetValue != nil {
242 dAtA[i] = 0x1a
243 i++
244 i = encodeVarintGenerated(dAtA, i, uint64(m.TargetValue.Size()))
245 n2, err := m.TargetValue.MarshalTo(dAtA[i:])
246 if err != nil {
247 return 0, err
248 }
249 i += n2
250 }
251 if m.TargetAverageValue != nil {
252 dAtA[i] = 0x22
253 i++
254 i = encodeVarintGenerated(dAtA, i, uint64(m.TargetAverageValue.Size()))
255 n3, err := m.TargetAverageValue.MarshalTo(dAtA[i:])
256 if err != nil {
257 return 0, err
258 }
259 i += n3
260 }
261 return i, nil
262}
263
264func (m *ExternalMetricStatus) Marshal() (dAtA []byte, err error) {
265 size := m.Size()
266 dAtA = make([]byte, size)
267 n, err := m.MarshalTo(dAtA)
268 if err != nil {
269 return nil, err
270 }
271 return dAtA[:n], nil
272}
273
274func (m *ExternalMetricStatus) MarshalTo(dAtA []byte) (int, error) {
275 var i int
276 _ = i
277 var l int
278 _ = l
279 dAtA[i] = 0xa
280 i++
281 i = encodeVarintGenerated(dAtA, i, uint64(len(m.MetricName)))
282 i += copy(dAtA[i:], m.MetricName)
283 if m.MetricSelector != nil {
284 dAtA[i] = 0x12
285 i++
286 i = encodeVarintGenerated(dAtA, i, uint64(m.MetricSelector.Size()))
287 n4, err := m.MetricSelector.MarshalTo(dAtA[i:])
288 if err != nil {
289 return 0, err
290 }
291 i += n4
292 }
293 dAtA[i] = 0x1a
294 i++
295 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentValue.Size()))
296 n5, err := m.CurrentValue.MarshalTo(dAtA[i:])
297 if err != nil {
298 return 0, err
299 }
300 i += n5
301 if m.CurrentAverageValue != nil {
302 dAtA[i] = 0x22
303 i++
304 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentAverageValue.Size()))
305 n6, err := m.CurrentAverageValue.MarshalTo(dAtA[i:])
306 if err != nil {
307 return 0, err
308 }
309 i += n6
310 }
311 return i, nil
312}
313
314func (m *HorizontalPodAutoscaler) Marshal() (dAtA []byte, err error) {
315 size := m.Size()
316 dAtA = make([]byte, size)
317 n, err := m.MarshalTo(dAtA)
318 if err != nil {
319 return nil, err
320 }
321 return dAtA[:n], nil
322}
323
324func (m *HorizontalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) {
325 var i int
326 _ = i
327 var l int
328 _ = l
329 dAtA[i] = 0xa
330 i++
331 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
332 n7, err := m.ObjectMeta.MarshalTo(dAtA[i:])
333 if err != nil {
334 return 0, err
335 }
336 i += n7
337 dAtA[i] = 0x12
338 i++
339 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
340 n8, err := m.Spec.MarshalTo(dAtA[i:])
341 if err != nil {
342 return 0, err
343 }
344 i += n8
345 dAtA[i] = 0x1a
346 i++
347 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
348 n9, err := m.Status.MarshalTo(dAtA[i:])
349 if err != nil {
350 return 0, err
351 }
352 i += n9
353 return i, nil
354}
355
356func (m *HorizontalPodAutoscalerCondition) Marshal() (dAtA []byte, err error) {
357 size := m.Size()
358 dAtA = make([]byte, size)
359 n, err := m.MarshalTo(dAtA)
360 if err != nil {
361 return nil, err
362 }
363 return dAtA[:n], nil
364}
365
366func (m *HorizontalPodAutoscalerCondition) MarshalTo(dAtA []byte) (int, error) {
367 var i int
368 _ = i
369 var l int
370 _ = l
371 dAtA[i] = 0xa
372 i++
373 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
374 i += copy(dAtA[i:], m.Type)
375 dAtA[i] = 0x12
376 i++
377 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
378 i += copy(dAtA[i:], m.Status)
379 dAtA[i] = 0x1a
380 i++
381 i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
382 n10, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
383 if err != nil {
384 return 0, err
385 }
386 i += n10
387 dAtA[i] = 0x22
388 i++
389 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
390 i += copy(dAtA[i:], m.Reason)
391 dAtA[i] = 0x2a
392 i++
393 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
394 i += copy(dAtA[i:], m.Message)
395 return i, nil
396}
397
398func (m *HorizontalPodAutoscalerList) Marshal() (dAtA []byte, err error) {
399 size := m.Size()
400 dAtA = make([]byte, size)
401 n, err := m.MarshalTo(dAtA)
402 if err != nil {
403 return nil, err
404 }
405 return dAtA[:n], nil
406}
407
408func (m *HorizontalPodAutoscalerList) MarshalTo(dAtA []byte) (int, error) {
409 var i int
410 _ = i
411 var l int
412 _ = l
413 dAtA[i] = 0xa
414 i++
415 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
416 n11, err := m.ListMeta.MarshalTo(dAtA[i:])
417 if err != nil {
418 return 0, err
419 }
420 i += n11
421 if len(m.Items) > 0 {
422 for _, msg := range m.Items {
423 dAtA[i] = 0x12
424 i++
425 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
426 n, err := msg.MarshalTo(dAtA[i:])
427 if err != nil {
428 return 0, err
429 }
430 i += n
431 }
432 }
433 return i, nil
434}
435
436func (m *HorizontalPodAutoscalerSpec) Marshal() (dAtA []byte, err error) {
437 size := m.Size()
438 dAtA = make([]byte, size)
439 n, err := m.MarshalTo(dAtA)
440 if err != nil {
441 return nil, err
442 }
443 return dAtA[:n], nil
444}
445
446func (m *HorizontalPodAutoscalerSpec) MarshalTo(dAtA []byte) (int, error) {
447 var i int
448 _ = i
449 var l int
450 _ = l
451 dAtA[i] = 0xa
452 i++
453 i = encodeVarintGenerated(dAtA, i, uint64(m.ScaleTargetRef.Size()))
454 n12, err := m.ScaleTargetRef.MarshalTo(dAtA[i:])
455 if err != nil {
456 return 0, err
457 }
458 i += n12
459 if m.MinReplicas != nil {
460 dAtA[i] = 0x10
461 i++
462 i = encodeVarintGenerated(dAtA, i, uint64(*m.MinReplicas))
463 }
464 dAtA[i] = 0x18
465 i++
466 i = encodeVarintGenerated(dAtA, i, uint64(m.MaxReplicas))
467 if m.TargetCPUUtilizationPercentage != nil {
468 dAtA[i] = 0x20
469 i++
470 i = encodeVarintGenerated(dAtA, i, uint64(*m.TargetCPUUtilizationPercentage))
471 }
472 return i, nil
473}
474
475func (m *HorizontalPodAutoscalerStatus) Marshal() (dAtA []byte, err error) {
476 size := m.Size()
477 dAtA = make([]byte, size)
478 n, err := m.MarshalTo(dAtA)
479 if err != nil {
480 return nil, err
481 }
482 return dAtA[:n], nil
483}
484
485func (m *HorizontalPodAutoscalerStatus) MarshalTo(dAtA []byte) (int, error) {
486 var i int
487 _ = i
488 var l int
489 _ = l
490 if m.ObservedGeneration != nil {
491 dAtA[i] = 0x8
492 i++
493 i = encodeVarintGenerated(dAtA, i, uint64(*m.ObservedGeneration))
494 }
495 if m.LastScaleTime != nil {
496 dAtA[i] = 0x12
497 i++
498 i = encodeVarintGenerated(dAtA, i, uint64(m.LastScaleTime.Size()))
499 n13, err := m.LastScaleTime.MarshalTo(dAtA[i:])
500 if err != nil {
501 return 0, err
502 }
503 i += n13
504 }
505 dAtA[i] = 0x18
506 i++
507 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentReplicas))
508 dAtA[i] = 0x20
509 i++
510 i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredReplicas))
511 if m.CurrentCPUUtilizationPercentage != nil {
512 dAtA[i] = 0x28
513 i++
514 i = encodeVarintGenerated(dAtA, i, uint64(*m.CurrentCPUUtilizationPercentage))
515 }
516 return i, nil
517}
518
519func (m *MetricSpec) Marshal() (dAtA []byte, err error) {
520 size := m.Size()
521 dAtA = make([]byte, size)
522 n, err := m.MarshalTo(dAtA)
523 if err != nil {
524 return nil, err
525 }
526 return dAtA[:n], nil
527}
528
529func (m *MetricSpec) MarshalTo(dAtA []byte) (int, error) {
530 var i int
531 _ = i
532 var l int
533 _ = l
534 dAtA[i] = 0xa
535 i++
536 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
537 i += copy(dAtA[i:], m.Type)
538 if m.Object != nil {
539 dAtA[i] = 0x12
540 i++
541 i = encodeVarintGenerated(dAtA, i, uint64(m.Object.Size()))
542 n14, err := m.Object.MarshalTo(dAtA[i:])
543 if err != nil {
544 return 0, err
545 }
546 i += n14
547 }
548 if m.Pods != nil {
549 dAtA[i] = 0x1a
550 i++
551 i = encodeVarintGenerated(dAtA, i, uint64(m.Pods.Size()))
552 n15, err := m.Pods.MarshalTo(dAtA[i:])
553 if err != nil {
554 return 0, err
555 }
556 i += n15
557 }
558 if m.Resource != nil {
559 dAtA[i] = 0x22
560 i++
561 i = encodeVarintGenerated(dAtA, i, uint64(m.Resource.Size()))
562 n16, err := m.Resource.MarshalTo(dAtA[i:])
563 if err != nil {
564 return 0, err
565 }
566 i += n16
567 }
568 if m.External != nil {
569 dAtA[i] = 0x2a
570 i++
571 i = encodeVarintGenerated(dAtA, i, uint64(m.External.Size()))
572 n17, err := m.External.MarshalTo(dAtA[i:])
573 if err != nil {
574 return 0, err
575 }
576 i += n17
577 }
578 return i, nil
579}
580
581func (m *MetricStatus) Marshal() (dAtA []byte, err error) {
582 size := m.Size()
583 dAtA = make([]byte, size)
584 n, err := m.MarshalTo(dAtA)
585 if err != nil {
586 return nil, err
587 }
588 return dAtA[:n], nil
589}
590
591func (m *MetricStatus) MarshalTo(dAtA []byte) (int, error) {
592 var i int
593 _ = i
594 var l int
595 _ = l
596 dAtA[i] = 0xa
597 i++
598 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
599 i += copy(dAtA[i:], m.Type)
600 if m.Object != nil {
601 dAtA[i] = 0x12
602 i++
603 i = encodeVarintGenerated(dAtA, i, uint64(m.Object.Size()))
604 n18, err := m.Object.MarshalTo(dAtA[i:])
605 if err != nil {
606 return 0, err
607 }
608 i += n18
609 }
610 if m.Pods != nil {
611 dAtA[i] = 0x1a
612 i++
613 i = encodeVarintGenerated(dAtA, i, uint64(m.Pods.Size()))
614 n19, err := m.Pods.MarshalTo(dAtA[i:])
615 if err != nil {
616 return 0, err
617 }
618 i += n19
619 }
620 if m.Resource != nil {
621 dAtA[i] = 0x22
622 i++
623 i = encodeVarintGenerated(dAtA, i, uint64(m.Resource.Size()))
624 n20, err := m.Resource.MarshalTo(dAtA[i:])
625 if err != nil {
626 return 0, err
627 }
628 i += n20
629 }
630 if m.External != nil {
631 dAtA[i] = 0x2a
632 i++
633 i = encodeVarintGenerated(dAtA, i, uint64(m.External.Size()))
634 n21, err := m.External.MarshalTo(dAtA[i:])
635 if err != nil {
636 return 0, err
637 }
638 i += n21
639 }
640 return i, nil
641}
642
643func (m *ObjectMetricSource) Marshal() (dAtA []byte, err error) {
644 size := m.Size()
645 dAtA = make([]byte, size)
646 n, err := m.MarshalTo(dAtA)
647 if err != nil {
648 return nil, err
649 }
650 return dAtA[:n], nil
651}
652
653func (m *ObjectMetricSource) MarshalTo(dAtA []byte) (int, error) {
654 var i int
655 _ = i
656 var l int
657 _ = l
658 dAtA[i] = 0xa
659 i++
660 i = encodeVarintGenerated(dAtA, i, uint64(m.Target.Size()))
661 n22, err := m.Target.MarshalTo(dAtA[i:])
662 if err != nil {
663 return 0, err
664 }
665 i += n22
666 dAtA[i] = 0x12
667 i++
668 i = encodeVarintGenerated(dAtA, i, uint64(len(m.MetricName)))
669 i += copy(dAtA[i:], m.MetricName)
670 dAtA[i] = 0x1a
671 i++
672 i = encodeVarintGenerated(dAtA, i, uint64(m.TargetValue.Size()))
673 n23, err := m.TargetValue.MarshalTo(dAtA[i:])
674 if err != nil {
675 return 0, err
676 }
677 i += n23
678 return i, nil
679}
680
681func (m *ObjectMetricStatus) Marshal() (dAtA []byte, err error) {
682 size := m.Size()
683 dAtA = make([]byte, size)
684 n, err := m.MarshalTo(dAtA)
685 if err != nil {
686 return nil, err
687 }
688 return dAtA[:n], nil
689}
690
691func (m *ObjectMetricStatus) MarshalTo(dAtA []byte) (int, error) {
692 var i int
693 _ = i
694 var l int
695 _ = l
696 dAtA[i] = 0xa
697 i++
698 i = encodeVarintGenerated(dAtA, i, uint64(m.Target.Size()))
699 n24, err := m.Target.MarshalTo(dAtA[i:])
700 if err != nil {
701 return 0, err
702 }
703 i += n24
704 dAtA[i] = 0x12
705 i++
706 i = encodeVarintGenerated(dAtA, i, uint64(len(m.MetricName)))
707 i += copy(dAtA[i:], m.MetricName)
708 dAtA[i] = 0x1a
709 i++
710 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentValue.Size()))
711 n25, err := m.CurrentValue.MarshalTo(dAtA[i:])
712 if err != nil {
713 return 0, err
714 }
715 i += n25
716 return i, nil
717}
718
719func (m *PodsMetricSource) Marshal() (dAtA []byte, err error) {
720 size := m.Size()
721 dAtA = make([]byte, size)
722 n, err := m.MarshalTo(dAtA)
723 if err != nil {
724 return nil, err
725 }
726 return dAtA[:n], nil
727}
728
729func (m *PodsMetricSource) MarshalTo(dAtA []byte) (int, error) {
730 var i int
731 _ = i
732 var l int
733 _ = l
734 dAtA[i] = 0xa
735 i++
736 i = encodeVarintGenerated(dAtA, i, uint64(len(m.MetricName)))
737 i += copy(dAtA[i:], m.MetricName)
738 dAtA[i] = 0x12
739 i++
740 i = encodeVarintGenerated(dAtA, i, uint64(m.TargetAverageValue.Size()))
741 n26, err := m.TargetAverageValue.MarshalTo(dAtA[i:])
742 if err != nil {
743 return 0, err
744 }
745 i += n26
746 return i, nil
747}
748
749func (m *PodsMetricStatus) Marshal() (dAtA []byte, err error) {
750 size := m.Size()
751 dAtA = make([]byte, size)
752 n, err := m.MarshalTo(dAtA)
753 if err != nil {
754 return nil, err
755 }
756 return dAtA[:n], nil
757}
758
759func (m *PodsMetricStatus) MarshalTo(dAtA []byte) (int, error) {
760 var i int
761 _ = i
762 var l int
763 _ = l
764 dAtA[i] = 0xa
765 i++
766 i = encodeVarintGenerated(dAtA, i, uint64(len(m.MetricName)))
767 i += copy(dAtA[i:], m.MetricName)
768 dAtA[i] = 0x12
769 i++
770 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentAverageValue.Size()))
771 n27, err := m.CurrentAverageValue.MarshalTo(dAtA[i:])
772 if err != nil {
773 return 0, err
774 }
775 i += n27
776 return i, nil
777}
778
779func (m *ResourceMetricSource) Marshal() (dAtA []byte, err error) {
780 size := m.Size()
781 dAtA = make([]byte, size)
782 n, err := m.MarshalTo(dAtA)
783 if err != nil {
784 return nil, err
785 }
786 return dAtA[:n], nil
787}
788
789func (m *ResourceMetricSource) MarshalTo(dAtA []byte) (int, error) {
790 var i int
791 _ = i
792 var l int
793 _ = l
794 dAtA[i] = 0xa
795 i++
796 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
797 i += copy(dAtA[i:], m.Name)
798 if m.TargetAverageUtilization != nil {
799 dAtA[i] = 0x10
800 i++
801 i = encodeVarintGenerated(dAtA, i, uint64(*m.TargetAverageUtilization))
802 }
803 if m.TargetAverageValue != nil {
804 dAtA[i] = 0x1a
805 i++
806 i = encodeVarintGenerated(dAtA, i, uint64(m.TargetAverageValue.Size()))
807 n28, err := m.TargetAverageValue.MarshalTo(dAtA[i:])
808 if err != nil {
809 return 0, err
810 }
811 i += n28
812 }
813 return i, nil
814}
815
816func (m *ResourceMetricStatus) Marshal() (dAtA []byte, err error) {
817 size := m.Size()
818 dAtA = make([]byte, size)
819 n, err := m.MarshalTo(dAtA)
820 if err != nil {
821 return nil, err
822 }
823 return dAtA[:n], nil
824}
825
826func (m *ResourceMetricStatus) MarshalTo(dAtA []byte) (int, error) {
827 var i int
828 _ = i
829 var l int
830 _ = l
831 dAtA[i] = 0xa
832 i++
833 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
834 i += copy(dAtA[i:], m.Name)
835 if m.CurrentAverageUtilization != nil {
836 dAtA[i] = 0x10
837 i++
838 i = encodeVarintGenerated(dAtA, i, uint64(*m.CurrentAverageUtilization))
839 }
840 dAtA[i] = 0x1a
841 i++
842 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentAverageValue.Size()))
843 n29, err := m.CurrentAverageValue.MarshalTo(dAtA[i:])
844 if err != nil {
845 return 0, err
846 }
847 i += n29
848 return i, nil
849}
850
851func (m *Scale) Marshal() (dAtA []byte, err error) {
852 size := m.Size()
853 dAtA = make([]byte, size)
854 n, err := m.MarshalTo(dAtA)
855 if err != nil {
856 return nil, err
857 }
858 return dAtA[:n], nil
859}
860
861func (m *Scale) MarshalTo(dAtA []byte) (int, error) {
862 var i int
863 _ = i
864 var l int
865 _ = l
866 dAtA[i] = 0xa
867 i++
868 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
869 n30, err := m.ObjectMeta.MarshalTo(dAtA[i:])
870 if err != nil {
871 return 0, err
872 }
873 i += n30
874 dAtA[i] = 0x12
875 i++
876 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
877 n31, err := m.Spec.MarshalTo(dAtA[i:])
878 if err != nil {
879 return 0, err
880 }
881 i += n31
882 dAtA[i] = 0x1a
883 i++
884 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
885 n32, err := m.Status.MarshalTo(dAtA[i:])
886 if err != nil {
887 return 0, err
888 }
889 i += n32
890 return i, nil
891}
892
893func (m *ScaleSpec) Marshal() (dAtA []byte, err error) {
894 size := m.Size()
895 dAtA = make([]byte, size)
896 n, err := m.MarshalTo(dAtA)
897 if err != nil {
898 return nil, err
899 }
900 return dAtA[:n], nil
901}
902
903func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error) {
904 var i int
905 _ = i
906 var l int
907 _ = l
908 dAtA[i] = 0x8
909 i++
910 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
911 return i, nil
912}
913
914func (m *ScaleStatus) Marshal() (dAtA []byte, err error) {
915 size := m.Size()
916 dAtA = make([]byte, size)
917 n, err := m.MarshalTo(dAtA)
918 if err != nil {
919 return nil, err
920 }
921 return dAtA[:n], nil
922}
923
924func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error) {
925 var i int
926 _ = i
927 var l int
928 _ = l
929 dAtA[i] = 0x8
930 i++
931 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
932 dAtA[i] = 0x12
933 i++
934 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Selector)))
935 i += copy(dAtA[i:], m.Selector)
936 return i, nil
937}
938
939func encodeFixed64Generated(dAtA []byte, offset int, v uint64) int {
940 dAtA[offset] = uint8(v)
941 dAtA[offset+1] = uint8(v >> 8)
942 dAtA[offset+2] = uint8(v >> 16)
943 dAtA[offset+3] = uint8(v >> 24)
944 dAtA[offset+4] = uint8(v >> 32)
945 dAtA[offset+5] = uint8(v >> 40)
946 dAtA[offset+6] = uint8(v >> 48)
947 dAtA[offset+7] = uint8(v >> 56)
948 return offset + 8
949}
950func encodeFixed32Generated(dAtA []byte, offset int, v uint32) int {
951 dAtA[offset] = uint8(v)
952 dAtA[offset+1] = uint8(v >> 8)
953 dAtA[offset+2] = uint8(v >> 16)
954 dAtA[offset+3] = uint8(v >> 24)
955 return offset + 4
956}
957func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
958 for v >= 1<<7 {
959 dAtA[offset] = uint8(v&0x7f | 0x80)
960 v >>= 7
961 offset++
962 }
963 dAtA[offset] = uint8(v)
964 return offset + 1
965}
966func (m *CrossVersionObjectReference) Size() (n int) {
967 var l int
968 _ = l
969 l = len(m.Kind)
970 n += 1 + l + sovGenerated(uint64(l))
971 l = len(m.Name)
972 n += 1 + l + sovGenerated(uint64(l))
973 l = len(m.APIVersion)
974 n += 1 + l + sovGenerated(uint64(l))
975 return n
976}
977
978func (m *ExternalMetricSource) Size() (n int) {
979 var l int
980 _ = l
981 l = len(m.MetricName)
982 n += 1 + l + sovGenerated(uint64(l))
983 if m.MetricSelector != nil {
984 l = m.MetricSelector.Size()
985 n += 1 + l + sovGenerated(uint64(l))
986 }
987 if m.TargetValue != nil {
988 l = m.TargetValue.Size()
989 n += 1 + l + sovGenerated(uint64(l))
990 }
991 if m.TargetAverageValue != nil {
992 l = m.TargetAverageValue.Size()
993 n += 1 + l + sovGenerated(uint64(l))
994 }
995 return n
996}
997
998func (m *ExternalMetricStatus) Size() (n int) {
999 var l int
1000 _ = l
1001 l = len(m.MetricName)
1002 n += 1 + l + sovGenerated(uint64(l))
1003 if m.MetricSelector != nil {
1004 l = m.MetricSelector.Size()
1005 n += 1 + l + sovGenerated(uint64(l))
1006 }
1007 l = m.CurrentValue.Size()
1008 n += 1 + l + sovGenerated(uint64(l))
1009 if m.CurrentAverageValue != nil {
1010 l = m.CurrentAverageValue.Size()
1011 n += 1 + l + sovGenerated(uint64(l))
1012 }
1013 return n
1014}
1015
1016func (m *HorizontalPodAutoscaler) Size() (n int) {
1017 var l int
1018 _ = l
1019 l = m.ObjectMeta.Size()
1020 n += 1 + l + sovGenerated(uint64(l))
1021 l = m.Spec.Size()
1022 n += 1 + l + sovGenerated(uint64(l))
1023 l = m.Status.Size()
1024 n += 1 + l + sovGenerated(uint64(l))
1025 return n
1026}
1027
1028func (m *HorizontalPodAutoscalerCondition) Size() (n int) {
1029 var l int
1030 _ = l
1031 l = len(m.Type)
1032 n += 1 + l + sovGenerated(uint64(l))
1033 l = len(m.Status)
1034 n += 1 + l + sovGenerated(uint64(l))
1035 l = m.LastTransitionTime.Size()
1036 n += 1 + l + sovGenerated(uint64(l))
1037 l = len(m.Reason)
1038 n += 1 + l + sovGenerated(uint64(l))
1039 l = len(m.Message)
1040 n += 1 + l + sovGenerated(uint64(l))
1041 return n
1042}
1043
1044func (m *HorizontalPodAutoscalerList) Size() (n int) {
1045 var l int
1046 _ = l
1047 l = m.ListMeta.Size()
1048 n += 1 + l + sovGenerated(uint64(l))
1049 if len(m.Items) > 0 {
1050 for _, e := range m.Items {
1051 l = e.Size()
1052 n += 1 + l + sovGenerated(uint64(l))
1053 }
1054 }
1055 return n
1056}
1057
1058func (m *HorizontalPodAutoscalerSpec) Size() (n int) {
1059 var l int
1060 _ = l
1061 l = m.ScaleTargetRef.Size()
1062 n += 1 + l + sovGenerated(uint64(l))
1063 if m.MinReplicas != nil {
1064 n += 1 + sovGenerated(uint64(*m.MinReplicas))
1065 }
1066 n += 1 + sovGenerated(uint64(m.MaxReplicas))
1067 if m.TargetCPUUtilizationPercentage != nil {
1068 n += 1 + sovGenerated(uint64(*m.TargetCPUUtilizationPercentage))
1069 }
1070 return n
1071}
1072
1073func (m *HorizontalPodAutoscalerStatus) Size() (n int) {
1074 var l int
1075 _ = l
1076 if m.ObservedGeneration != nil {
1077 n += 1 + sovGenerated(uint64(*m.ObservedGeneration))
1078 }
1079 if m.LastScaleTime != nil {
1080 l = m.LastScaleTime.Size()
1081 n += 1 + l + sovGenerated(uint64(l))
1082 }
1083 n += 1 + sovGenerated(uint64(m.CurrentReplicas))
1084 n += 1 + sovGenerated(uint64(m.DesiredReplicas))
1085 if m.CurrentCPUUtilizationPercentage != nil {
1086 n += 1 + sovGenerated(uint64(*m.CurrentCPUUtilizationPercentage))
1087 }
1088 return n
1089}
1090
1091func (m *MetricSpec) Size() (n int) {
1092 var l int
1093 _ = l
1094 l = len(m.Type)
1095 n += 1 + l + sovGenerated(uint64(l))
1096 if m.Object != nil {
1097 l = m.Object.Size()
1098 n += 1 + l + sovGenerated(uint64(l))
1099 }
1100 if m.Pods != nil {
1101 l = m.Pods.Size()
1102 n += 1 + l + sovGenerated(uint64(l))
1103 }
1104 if m.Resource != nil {
1105 l = m.Resource.Size()
1106 n += 1 + l + sovGenerated(uint64(l))
1107 }
1108 if m.External != nil {
1109 l = m.External.Size()
1110 n += 1 + l + sovGenerated(uint64(l))
1111 }
1112 return n
1113}
1114
1115func (m *MetricStatus) Size() (n int) {
1116 var l int
1117 _ = l
1118 l = len(m.Type)
1119 n += 1 + l + sovGenerated(uint64(l))
1120 if m.Object != nil {
1121 l = m.Object.Size()
1122 n += 1 + l + sovGenerated(uint64(l))
1123 }
1124 if m.Pods != nil {
1125 l = m.Pods.Size()
1126 n += 1 + l + sovGenerated(uint64(l))
1127 }
1128 if m.Resource != nil {
1129 l = m.Resource.Size()
1130 n += 1 + l + sovGenerated(uint64(l))
1131 }
1132 if m.External != nil {
1133 l = m.External.Size()
1134 n += 1 + l + sovGenerated(uint64(l))
1135 }
1136 return n
1137}
1138
1139func (m *ObjectMetricSource) Size() (n int) {
1140 var l int
1141 _ = l
1142 l = m.Target.Size()
1143 n += 1 + l + sovGenerated(uint64(l))
1144 l = len(m.MetricName)
1145 n += 1 + l + sovGenerated(uint64(l))
1146 l = m.TargetValue.Size()
1147 n += 1 + l + sovGenerated(uint64(l))
1148 return n
1149}
1150
1151func (m *ObjectMetricStatus) Size() (n int) {
1152 var l int
1153 _ = l
1154 l = m.Target.Size()
1155 n += 1 + l + sovGenerated(uint64(l))
1156 l = len(m.MetricName)
1157 n += 1 + l + sovGenerated(uint64(l))
1158 l = m.CurrentValue.Size()
1159 n += 1 + l + sovGenerated(uint64(l))
1160 return n
1161}
1162
1163func (m *PodsMetricSource) Size() (n int) {
1164 var l int
1165 _ = l
1166 l = len(m.MetricName)
1167 n += 1 + l + sovGenerated(uint64(l))
1168 l = m.TargetAverageValue.Size()
1169 n += 1 + l + sovGenerated(uint64(l))
1170 return n
1171}
1172
1173func (m *PodsMetricStatus) Size() (n int) {
1174 var l int
1175 _ = l
1176 l = len(m.MetricName)
1177 n += 1 + l + sovGenerated(uint64(l))
1178 l = m.CurrentAverageValue.Size()
1179 n += 1 + l + sovGenerated(uint64(l))
1180 return n
1181}
1182
1183func (m *ResourceMetricSource) Size() (n int) {
1184 var l int
1185 _ = l
1186 l = len(m.Name)
1187 n += 1 + l + sovGenerated(uint64(l))
1188 if m.TargetAverageUtilization != nil {
1189 n += 1 + sovGenerated(uint64(*m.TargetAverageUtilization))
1190 }
1191 if m.TargetAverageValue != nil {
1192 l = m.TargetAverageValue.Size()
1193 n += 1 + l + sovGenerated(uint64(l))
1194 }
1195 return n
1196}
1197
1198func (m *ResourceMetricStatus) Size() (n int) {
1199 var l int
1200 _ = l
1201 l = len(m.Name)
1202 n += 1 + l + sovGenerated(uint64(l))
1203 if m.CurrentAverageUtilization != nil {
1204 n += 1 + sovGenerated(uint64(*m.CurrentAverageUtilization))
1205 }
1206 l = m.CurrentAverageValue.Size()
1207 n += 1 + l + sovGenerated(uint64(l))
1208 return n
1209}
1210
1211func (m *Scale) Size() (n int) {
1212 var l int
1213 _ = l
1214 l = m.ObjectMeta.Size()
1215 n += 1 + l + sovGenerated(uint64(l))
1216 l = m.Spec.Size()
1217 n += 1 + l + sovGenerated(uint64(l))
1218 l = m.Status.Size()
1219 n += 1 + l + sovGenerated(uint64(l))
1220 return n
1221}
1222
1223func (m *ScaleSpec) Size() (n int) {
1224 var l int
1225 _ = l
1226 n += 1 + sovGenerated(uint64(m.Replicas))
1227 return n
1228}
1229
1230func (m *ScaleStatus) Size() (n int) {
1231 var l int
1232 _ = l
1233 n += 1 + sovGenerated(uint64(m.Replicas))
1234 l = len(m.Selector)
1235 n += 1 + l + sovGenerated(uint64(l))
1236 return n
1237}
1238
1239func sovGenerated(x uint64) (n int) {
1240 for {
1241 n++
1242 x >>= 7
1243 if x == 0 {
1244 break
1245 }
1246 }
1247 return n
1248}
1249func sozGenerated(x uint64) (n int) {
1250 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
1251}
1252func (this *CrossVersionObjectReference) String() string {
1253 if this == nil {
1254 return "nil"
1255 }
1256 s := strings.Join([]string{`&CrossVersionObjectReference{`,
1257 `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
1258 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
1259 `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
1260 `}`,
1261 }, "")
1262 return s
1263}
1264func (this *ExternalMetricSource) String() string {
1265 if this == nil {
1266 return "nil"
1267 }
1268 s := strings.Join([]string{`&ExternalMetricSource{`,
1269 `MetricName:` + fmt.Sprintf("%v", this.MetricName) + `,`,
1270 `MetricSelector:` + strings.Replace(fmt.Sprintf("%v", this.MetricSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
1271 `TargetValue:` + strings.Replace(fmt.Sprintf("%v", this.TargetValue), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1) + `,`,
1272 `TargetAverageValue:` + strings.Replace(fmt.Sprintf("%v", this.TargetAverageValue), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1) + `,`,
1273 `}`,
1274 }, "")
1275 return s
1276}
1277func (this *ExternalMetricStatus) String() string {
1278 if this == nil {
1279 return "nil"
1280 }
1281 s := strings.Join([]string{`&ExternalMetricStatus{`,
1282 `MetricName:` + fmt.Sprintf("%v", this.MetricName) + `,`,
1283 `MetricSelector:` + strings.Replace(fmt.Sprintf("%v", this.MetricSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
1284 `CurrentValue:` + strings.Replace(strings.Replace(this.CurrentValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
1285 `CurrentAverageValue:` + strings.Replace(fmt.Sprintf("%v", this.CurrentAverageValue), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1) + `,`,
1286 `}`,
1287 }, "")
1288 return s
1289}
1290func (this *HorizontalPodAutoscaler) String() string {
1291 if this == nil {
1292 return "nil"
1293 }
1294 s := strings.Join([]string{`&HorizontalPodAutoscaler{`,
1295 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
1296 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "HorizontalPodAutoscalerSpec", "HorizontalPodAutoscalerSpec", 1), `&`, ``, 1) + `,`,
1297 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "HorizontalPodAutoscalerStatus", "HorizontalPodAutoscalerStatus", 1), `&`, ``, 1) + `,`,
1298 `}`,
1299 }, "")
1300 return s
1301}
1302func (this *HorizontalPodAutoscalerCondition) String() string {
1303 if this == nil {
1304 return "nil"
1305 }
1306 s := strings.Join([]string{`&HorizontalPodAutoscalerCondition{`,
1307 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
1308 `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
1309 `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
1310 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
1311 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
1312 `}`,
1313 }, "")
1314 return s
1315}
1316func (this *HorizontalPodAutoscalerList) String() string {
1317 if this == nil {
1318 return "nil"
1319 }
1320 s := strings.Join([]string{`&HorizontalPodAutoscalerList{`,
1321 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
1322 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "HorizontalPodAutoscaler", "HorizontalPodAutoscaler", 1), `&`, ``, 1) + `,`,
1323 `}`,
1324 }, "")
1325 return s
1326}
1327func (this *HorizontalPodAutoscalerSpec) String() string {
1328 if this == nil {
1329 return "nil"
1330 }
1331 s := strings.Join([]string{`&HorizontalPodAutoscalerSpec{`,
1332 `ScaleTargetRef:` + strings.Replace(strings.Replace(this.ScaleTargetRef.String(), "CrossVersionObjectReference", "CrossVersionObjectReference", 1), `&`, ``, 1) + `,`,
1333 `MinReplicas:` + valueToStringGenerated(this.MinReplicas) + `,`,
1334 `MaxReplicas:` + fmt.Sprintf("%v", this.MaxReplicas) + `,`,
1335 `TargetCPUUtilizationPercentage:` + valueToStringGenerated(this.TargetCPUUtilizationPercentage) + `,`,
1336 `}`,
1337 }, "")
1338 return s
1339}
1340func (this *HorizontalPodAutoscalerStatus) String() string {
1341 if this == nil {
1342 return "nil"
1343 }
1344 s := strings.Join([]string{`&HorizontalPodAutoscalerStatus{`,
1345 `ObservedGeneration:` + valueToStringGenerated(this.ObservedGeneration) + `,`,
1346 `LastScaleTime:` + strings.Replace(fmt.Sprintf("%v", this.LastScaleTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`,
1347 `CurrentReplicas:` + fmt.Sprintf("%v", this.CurrentReplicas) + `,`,
1348 `DesiredReplicas:` + fmt.Sprintf("%v", this.DesiredReplicas) + `,`,
1349 `CurrentCPUUtilizationPercentage:` + valueToStringGenerated(this.CurrentCPUUtilizationPercentage) + `,`,
1350 `}`,
1351 }, "")
1352 return s
1353}
1354func (this *MetricSpec) String() string {
1355 if this == nil {
1356 return "nil"
1357 }
1358 s := strings.Join([]string{`&MetricSpec{`,
1359 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
1360 `Object:` + strings.Replace(fmt.Sprintf("%v", this.Object), "ObjectMetricSource", "ObjectMetricSource", 1) + `,`,
1361 `Pods:` + strings.Replace(fmt.Sprintf("%v", this.Pods), "PodsMetricSource", "PodsMetricSource", 1) + `,`,
1362 `Resource:` + strings.Replace(fmt.Sprintf("%v", this.Resource), "ResourceMetricSource", "ResourceMetricSource", 1) + `,`,
1363 `External:` + strings.Replace(fmt.Sprintf("%v", this.External), "ExternalMetricSource", "ExternalMetricSource", 1) + `,`,
1364 `}`,
1365 }, "")
1366 return s
1367}
1368func (this *MetricStatus) String() string {
1369 if this == nil {
1370 return "nil"
1371 }
1372 s := strings.Join([]string{`&MetricStatus{`,
1373 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
1374 `Object:` + strings.Replace(fmt.Sprintf("%v", this.Object), "ObjectMetricStatus", "ObjectMetricStatus", 1) + `,`,
1375 `Pods:` + strings.Replace(fmt.Sprintf("%v", this.Pods), "PodsMetricStatus", "PodsMetricStatus", 1) + `,`,
1376 `Resource:` + strings.Replace(fmt.Sprintf("%v", this.Resource), "ResourceMetricStatus", "ResourceMetricStatus", 1) + `,`,
1377 `External:` + strings.Replace(fmt.Sprintf("%v", this.External), "ExternalMetricStatus", "ExternalMetricStatus", 1) + `,`,
1378 `}`,
1379 }, "")
1380 return s
1381}
1382func (this *ObjectMetricSource) String() string {
1383 if this == nil {
1384 return "nil"
1385 }
1386 s := strings.Join([]string{`&ObjectMetricSource{`,
1387 `Target:` + strings.Replace(strings.Replace(this.Target.String(), "CrossVersionObjectReference", "CrossVersionObjectReference", 1), `&`, ``, 1) + `,`,
1388 `MetricName:` + fmt.Sprintf("%v", this.MetricName) + `,`,
1389 `TargetValue:` + strings.Replace(strings.Replace(this.TargetValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
1390 `}`,
1391 }, "")
1392 return s
1393}
1394func (this *ObjectMetricStatus) String() string {
1395 if this == nil {
1396 return "nil"
1397 }
1398 s := strings.Join([]string{`&ObjectMetricStatus{`,
1399 `Target:` + strings.Replace(strings.Replace(this.Target.String(), "CrossVersionObjectReference", "CrossVersionObjectReference", 1), `&`, ``, 1) + `,`,
1400 `MetricName:` + fmt.Sprintf("%v", this.MetricName) + `,`,
1401 `CurrentValue:` + strings.Replace(strings.Replace(this.CurrentValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
1402 `}`,
1403 }, "")
1404 return s
1405}
1406func (this *PodsMetricSource) String() string {
1407 if this == nil {
1408 return "nil"
1409 }
1410 s := strings.Join([]string{`&PodsMetricSource{`,
1411 `MetricName:` + fmt.Sprintf("%v", this.MetricName) + `,`,
1412 `TargetAverageValue:` + strings.Replace(strings.Replace(this.TargetAverageValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
1413 `}`,
1414 }, "")
1415 return s
1416}
1417func (this *PodsMetricStatus) String() string {
1418 if this == nil {
1419 return "nil"
1420 }
1421 s := strings.Join([]string{`&PodsMetricStatus{`,
1422 `MetricName:` + fmt.Sprintf("%v", this.MetricName) + `,`,
1423 `CurrentAverageValue:` + strings.Replace(strings.Replace(this.CurrentAverageValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
1424 `}`,
1425 }, "")
1426 return s
1427}
1428func (this *ResourceMetricSource) String() string {
1429 if this == nil {
1430 return "nil"
1431 }
1432 s := strings.Join([]string{`&ResourceMetricSource{`,
1433 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
1434 `TargetAverageUtilization:` + valueToStringGenerated(this.TargetAverageUtilization) + `,`,
1435 `TargetAverageValue:` + strings.Replace(fmt.Sprintf("%v", this.TargetAverageValue), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1) + `,`,
1436 `}`,
1437 }, "")
1438 return s
1439}
1440func (this *ResourceMetricStatus) String() string {
1441 if this == nil {
1442 return "nil"
1443 }
1444 s := strings.Join([]string{`&ResourceMetricStatus{`,
1445 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
1446 `CurrentAverageUtilization:` + valueToStringGenerated(this.CurrentAverageUtilization) + `,`,
1447 `CurrentAverageValue:` + strings.Replace(strings.Replace(this.CurrentAverageValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
1448 `}`,
1449 }, "")
1450 return s
1451}
1452func (this *Scale) String() string {
1453 if this == nil {
1454 return "nil"
1455 }
1456 s := strings.Join([]string{`&Scale{`,
1457 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
1458 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`,
1459 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`,
1460 `}`,
1461 }, "")
1462 return s
1463}
1464func (this *ScaleSpec) String() string {
1465 if this == nil {
1466 return "nil"
1467 }
1468 s := strings.Join([]string{`&ScaleSpec{`,
1469 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
1470 `}`,
1471 }, "")
1472 return s
1473}
1474func (this *ScaleStatus) String() string {
1475 if this == nil {
1476 return "nil"
1477 }
1478 s := strings.Join([]string{`&ScaleStatus{`,
1479 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
1480 `Selector:` + fmt.Sprintf("%v", this.Selector) + `,`,
1481 `}`,
1482 }, "")
1483 return s
1484}
1485func valueToStringGenerated(v interface{}) string {
1486 rv := reflect.ValueOf(v)
1487 if rv.IsNil() {
1488 return "nil"
1489 }
1490 pv := reflect.Indirect(rv).Interface()
1491 return fmt.Sprintf("*%v", pv)
1492}
1493func (m *CrossVersionObjectReference) Unmarshal(dAtA []byte) error {
1494 l := len(dAtA)
1495 iNdEx := 0
1496 for iNdEx < l {
1497 preIndex := iNdEx
1498 var wire uint64
1499 for shift := uint(0); ; shift += 7 {
1500 if shift >= 64 {
1501 return ErrIntOverflowGenerated
1502 }
1503 if iNdEx >= l {
1504 return io.ErrUnexpectedEOF
1505 }
1506 b := dAtA[iNdEx]
1507 iNdEx++
1508 wire |= (uint64(b) & 0x7F) << shift
1509 if b < 0x80 {
1510 break
1511 }
1512 }
1513 fieldNum := int32(wire >> 3)
1514 wireType := int(wire & 0x7)
1515 if wireType == 4 {
1516 return fmt.Errorf("proto: CrossVersionObjectReference: wiretype end group for non-group")
1517 }
1518 if fieldNum <= 0 {
1519 return fmt.Errorf("proto: CrossVersionObjectReference: illegal tag %d (wire type %d)", fieldNum, wire)
1520 }
1521 switch fieldNum {
1522 case 1:
1523 if wireType != 2 {
1524 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
1525 }
1526 var stringLen uint64
1527 for shift := uint(0); ; shift += 7 {
1528 if shift >= 64 {
1529 return ErrIntOverflowGenerated
1530 }
1531 if iNdEx >= l {
1532 return io.ErrUnexpectedEOF
1533 }
1534 b := dAtA[iNdEx]
1535 iNdEx++
1536 stringLen |= (uint64(b) & 0x7F) << shift
1537 if b < 0x80 {
1538 break
1539 }
1540 }
1541 intStringLen := int(stringLen)
1542 if intStringLen < 0 {
1543 return ErrInvalidLengthGenerated
1544 }
1545 postIndex := iNdEx + intStringLen
1546 if postIndex > l {
1547 return io.ErrUnexpectedEOF
1548 }
1549 m.Kind = string(dAtA[iNdEx:postIndex])
1550 iNdEx = postIndex
1551 case 2:
1552 if wireType != 2 {
1553 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
1554 }
1555 var stringLen uint64
1556 for shift := uint(0); ; shift += 7 {
1557 if shift >= 64 {
1558 return ErrIntOverflowGenerated
1559 }
1560 if iNdEx >= l {
1561 return io.ErrUnexpectedEOF
1562 }
1563 b := dAtA[iNdEx]
1564 iNdEx++
1565 stringLen |= (uint64(b) & 0x7F) << shift
1566 if b < 0x80 {
1567 break
1568 }
1569 }
1570 intStringLen := int(stringLen)
1571 if intStringLen < 0 {
1572 return ErrInvalidLengthGenerated
1573 }
1574 postIndex := iNdEx + intStringLen
1575 if postIndex > l {
1576 return io.ErrUnexpectedEOF
1577 }
1578 m.Name = string(dAtA[iNdEx:postIndex])
1579 iNdEx = postIndex
1580 case 3:
1581 if wireType != 2 {
1582 return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
1583 }
1584 var stringLen uint64
1585 for shift := uint(0); ; shift += 7 {
1586 if shift >= 64 {
1587 return ErrIntOverflowGenerated
1588 }
1589 if iNdEx >= l {
1590 return io.ErrUnexpectedEOF
1591 }
1592 b := dAtA[iNdEx]
1593 iNdEx++
1594 stringLen |= (uint64(b) & 0x7F) << shift
1595 if b < 0x80 {
1596 break
1597 }
1598 }
1599 intStringLen := int(stringLen)
1600 if intStringLen < 0 {
1601 return ErrInvalidLengthGenerated
1602 }
1603 postIndex := iNdEx + intStringLen
1604 if postIndex > l {
1605 return io.ErrUnexpectedEOF
1606 }
1607 m.APIVersion = string(dAtA[iNdEx:postIndex])
1608 iNdEx = postIndex
1609 default:
1610 iNdEx = preIndex
1611 skippy, err := skipGenerated(dAtA[iNdEx:])
1612 if err != nil {
1613 return err
1614 }
1615 if skippy < 0 {
1616 return ErrInvalidLengthGenerated
1617 }
1618 if (iNdEx + skippy) > l {
1619 return io.ErrUnexpectedEOF
1620 }
1621 iNdEx += skippy
1622 }
1623 }
1624
1625 if iNdEx > l {
1626 return io.ErrUnexpectedEOF
1627 }
1628 return nil
1629}
1630func (m *ExternalMetricSource) Unmarshal(dAtA []byte) error {
1631 l := len(dAtA)
1632 iNdEx := 0
1633 for iNdEx < l {
1634 preIndex := iNdEx
1635 var wire uint64
1636 for shift := uint(0); ; shift += 7 {
1637 if shift >= 64 {
1638 return ErrIntOverflowGenerated
1639 }
1640 if iNdEx >= l {
1641 return io.ErrUnexpectedEOF
1642 }
1643 b := dAtA[iNdEx]
1644 iNdEx++
1645 wire |= (uint64(b) & 0x7F) << shift
1646 if b < 0x80 {
1647 break
1648 }
1649 }
1650 fieldNum := int32(wire >> 3)
1651 wireType := int(wire & 0x7)
1652 if wireType == 4 {
1653 return fmt.Errorf("proto: ExternalMetricSource: wiretype end group for non-group")
1654 }
1655 if fieldNum <= 0 {
1656 return fmt.Errorf("proto: ExternalMetricSource: illegal tag %d (wire type %d)", fieldNum, wire)
1657 }
1658 switch fieldNum {
1659 case 1:
1660 if wireType != 2 {
1661 return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType)
1662 }
1663 var stringLen uint64
1664 for shift := uint(0); ; shift += 7 {
1665 if shift >= 64 {
1666 return ErrIntOverflowGenerated
1667 }
1668 if iNdEx >= l {
1669 return io.ErrUnexpectedEOF
1670 }
1671 b := dAtA[iNdEx]
1672 iNdEx++
1673 stringLen |= (uint64(b) & 0x7F) << shift
1674 if b < 0x80 {
1675 break
1676 }
1677 }
1678 intStringLen := int(stringLen)
1679 if intStringLen < 0 {
1680 return ErrInvalidLengthGenerated
1681 }
1682 postIndex := iNdEx + intStringLen
1683 if postIndex > l {
1684 return io.ErrUnexpectedEOF
1685 }
1686 m.MetricName = string(dAtA[iNdEx:postIndex])
1687 iNdEx = postIndex
1688 case 2:
1689 if wireType != 2 {
1690 return fmt.Errorf("proto: wrong wireType = %d for field MetricSelector", wireType)
1691 }
1692 var msglen int
1693 for shift := uint(0); ; shift += 7 {
1694 if shift >= 64 {
1695 return ErrIntOverflowGenerated
1696 }
1697 if iNdEx >= l {
1698 return io.ErrUnexpectedEOF
1699 }
1700 b := dAtA[iNdEx]
1701 iNdEx++
1702 msglen |= (int(b) & 0x7F) << shift
1703 if b < 0x80 {
1704 break
1705 }
1706 }
1707 if msglen < 0 {
1708 return ErrInvalidLengthGenerated
1709 }
1710 postIndex := iNdEx + msglen
1711 if postIndex > l {
1712 return io.ErrUnexpectedEOF
1713 }
1714 if m.MetricSelector == nil {
1715 m.MetricSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
1716 }
1717 if err := m.MetricSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1718 return err
1719 }
1720 iNdEx = postIndex
1721 case 3:
1722 if wireType != 2 {
1723 return fmt.Errorf("proto: wrong wireType = %d for field TargetValue", wireType)
1724 }
1725 var msglen int
1726 for shift := uint(0); ; shift += 7 {
1727 if shift >= 64 {
1728 return ErrIntOverflowGenerated
1729 }
1730 if iNdEx >= l {
1731 return io.ErrUnexpectedEOF
1732 }
1733 b := dAtA[iNdEx]
1734 iNdEx++
1735 msglen |= (int(b) & 0x7F) << shift
1736 if b < 0x80 {
1737 break
1738 }
1739 }
1740 if msglen < 0 {
1741 return ErrInvalidLengthGenerated
1742 }
1743 postIndex := iNdEx + msglen
1744 if postIndex > l {
1745 return io.ErrUnexpectedEOF
1746 }
1747 if m.TargetValue == nil {
1748 m.TargetValue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
1749 }
1750 if err := m.TargetValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1751 return err
1752 }
1753 iNdEx = postIndex
1754 case 4:
1755 if wireType != 2 {
1756 return fmt.Errorf("proto: wrong wireType = %d for field TargetAverageValue", wireType)
1757 }
1758 var msglen int
1759 for shift := uint(0); ; shift += 7 {
1760 if shift >= 64 {
1761 return ErrIntOverflowGenerated
1762 }
1763 if iNdEx >= l {
1764 return io.ErrUnexpectedEOF
1765 }
1766 b := dAtA[iNdEx]
1767 iNdEx++
1768 msglen |= (int(b) & 0x7F) << shift
1769 if b < 0x80 {
1770 break
1771 }
1772 }
1773 if msglen < 0 {
1774 return ErrInvalidLengthGenerated
1775 }
1776 postIndex := iNdEx + msglen
1777 if postIndex > l {
1778 return io.ErrUnexpectedEOF
1779 }
1780 if m.TargetAverageValue == nil {
1781 m.TargetAverageValue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
1782 }
1783 if err := m.TargetAverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1784 return err
1785 }
1786 iNdEx = postIndex
1787 default:
1788 iNdEx = preIndex
1789 skippy, err := skipGenerated(dAtA[iNdEx:])
1790 if err != nil {
1791 return err
1792 }
1793 if skippy < 0 {
1794 return ErrInvalidLengthGenerated
1795 }
1796 if (iNdEx + skippy) > l {
1797 return io.ErrUnexpectedEOF
1798 }
1799 iNdEx += skippy
1800 }
1801 }
1802
1803 if iNdEx > l {
1804 return io.ErrUnexpectedEOF
1805 }
1806 return nil
1807}
1808func (m *ExternalMetricStatus) Unmarshal(dAtA []byte) error {
1809 l := len(dAtA)
1810 iNdEx := 0
1811 for iNdEx < l {
1812 preIndex := iNdEx
1813 var wire uint64
1814 for shift := uint(0); ; shift += 7 {
1815 if shift >= 64 {
1816 return ErrIntOverflowGenerated
1817 }
1818 if iNdEx >= l {
1819 return io.ErrUnexpectedEOF
1820 }
1821 b := dAtA[iNdEx]
1822 iNdEx++
1823 wire |= (uint64(b) & 0x7F) << shift
1824 if b < 0x80 {
1825 break
1826 }
1827 }
1828 fieldNum := int32(wire >> 3)
1829 wireType := int(wire & 0x7)
1830 if wireType == 4 {
1831 return fmt.Errorf("proto: ExternalMetricStatus: wiretype end group for non-group")
1832 }
1833 if fieldNum <= 0 {
1834 return fmt.Errorf("proto: ExternalMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire)
1835 }
1836 switch fieldNum {
1837 case 1:
1838 if wireType != 2 {
1839 return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType)
1840 }
1841 var stringLen uint64
1842 for shift := uint(0); ; shift += 7 {
1843 if shift >= 64 {
1844 return ErrIntOverflowGenerated
1845 }
1846 if iNdEx >= l {
1847 return io.ErrUnexpectedEOF
1848 }
1849 b := dAtA[iNdEx]
1850 iNdEx++
1851 stringLen |= (uint64(b) & 0x7F) << shift
1852 if b < 0x80 {
1853 break
1854 }
1855 }
1856 intStringLen := int(stringLen)
1857 if intStringLen < 0 {
1858 return ErrInvalidLengthGenerated
1859 }
1860 postIndex := iNdEx + intStringLen
1861 if postIndex > l {
1862 return io.ErrUnexpectedEOF
1863 }
1864 m.MetricName = string(dAtA[iNdEx:postIndex])
1865 iNdEx = postIndex
1866 case 2:
1867 if wireType != 2 {
1868 return fmt.Errorf("proto: wrong wireType = %d for field MetricSelector", wireType)
1869 }
1870 var msglen int
1871 for shift := uint(0); ; shift += 7 {
1872 if shift >= 64 {
1873 return ErrIntOverflowGenerated
1874 }
1875 if iNdEx >= l {
1876 return io.ErrUnexpectedEOF
1877 }
1878 b := dAtA[iNdEx]
1879 iNdEx++
1880 msglen |= (int(b) & 0x7F) << shift
1881 if b < 0x80 {
1882 break
1883 }
1884 }
1885 if msglen < 0 {
1886 return ErrInvalidLengthGenerated
1887 }
1888 postIndex := iNdEx + msglen
1889 if postIndex > l {
1890 return io.ErrUnexpectedEOF
1891 }
1892 if m.MetricSelector == nil {
1893 m.MetricSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
1894 }
1895 if err := m.MetricSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1896 return err
1897 }
1898 iNdEx = postIndex
1899 case 3:
1900 if wireType != 2 {
1901 return fmt.Errorf("proto: wrong wireType = %d for field CurrentValue", wireType)
1902 }
1903 var msglen int
1904 for shift := uint(0); ; shift += 7 {
1905 if shift >= 64 {
1906 return ErrIntOverflowGenerated
1907 }
1908 if iNdEx >= l {
1909 return io.ErrUnexpectedEOF
1910 }
1911 b := dAtA[iNdEx]
1912 iNdEx++
1913 msglen |= (int(b) & 0x7F) << shift
1914 if b < 0x80 {
1915 break
1916 }
1917 }
1918 if msglen < 0 {
1919 return ErrInvalidLengthGenerated
1920 }
1921 postIndex := iNdEx + msglen
1922 if postIndex > l {
1923 return io.ErrUnexpectedEOF
1924 }
1925 if err := m.CurrentValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1926 return err
1927 }
1928 iNdEx = postIndex
1929 case 4:
1930 if wireType != 2 {
1931 return fmt.Errorf("proto: wrong wireType = %d for field CurrentAverageValue", wireType)
1932 }
1933 var msglen int
1934 for shift := uint(0); ; shift += 7 {
1935 if shift >= 64 {
1936 return ErrIntOverflowGenerated
1937 }
1938 if iNdEx >= l {
1939 return io.ErrUnexpectedEOF
1940 }
1941 b := dAtA[iNdEx]
1942 iNdEx++
1943 msglen |= (int(b) & 0x7F) << shift
1944 if b < 0x80 {
1945 break
1946 }
1947 }
1948 if msglen < 0 {
1949 return ErrInvalidLengthGenerated
1950 }
1951 postIndex := iNdEx + msglen
1952 if postIndex > l {
1953 return io.ErrUnexpectedEOF
1954 }
1955 if m.CurrentAverageValue == nil {
1956 m.CurrentAverageValue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
1957 }
1958 if err := m.CurrentAverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1959 return err
1960 }
1961 iNdEx = postIndex
1962 default:
1963 iNdEx = preIndex
1964 skippy, err := skipGenerated(dAtA[iNdEx:])
1965 if err != nil {
1966 return err
1967 }
1968 if skippy < 0 {
1969 return ErrInvalidLengthGenerated
1970 }
1971 if (iNdEx + skippy) > l {
1972 return io.ErrUnexpectedEOF
1973 }
1974 iNdEx += skippy
1975 }
1976 }
1977
1978 if iNdEx > l {
1979 return io.ErrUnexpectedEOF
1980 }
1981 return nil
1982}
1983func (m *HorizontalPodAutoscaler) Unmarshal(dAtA []byte) error {
1984 l := len(dAtA)
1985 iNdEx := 0
1986 for iNdEx < l {
1987 preIndex := iNdEx
1988 var wire uint64
1989 for shift := uint(0); ; shift += 7 {
1990 if shift >= 64 {
1991 return ErrIntOverflowGenerated
1992 }
1993 if iNdEx >= l {
1994 return io.ErrUnexpectedEOF
1995 }
1996 b := dAtA[iNdEx]
1997 iNdEx++
1998 wire |= (uint64(b) & 0x7F) << shift
1999 if b < 0x80 {
2000 break
2001 }
2002 }
2003 fieldNum := int32(wire >> 3)
2004 wireType := int(wire & 0x7)
2005 if wireType == 4 {
2006 return fmt.Errorf("proto: HorizontalPodAutoscaler: wiretype end group for non-group")
2007 }
2008 if fieldNum <= 0 {
2009 return fmt.Errorf("proto: HorizontalPodAutoscaler: illegal tag %d (wire type %d)", fieldNum, wire)
2010 }
2011 switch fieldNum {
2012 case 1:
2013 if wireType != 2 {
2014 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
2015 }
2016 var msglen int
2017 for shift := uint(0); ; shift += 7 {
2018 if shift >= 64 {
2019 return ErrIntOverflowGenerated
2020 }
2021 if iNdEx >= l {
2022 return io.ErrUnexpectedEOF
2023 }
2024 b := dAtA[iNdEx]
2025 iNdEx++
2026 msglen |= (int(b) & 0x7F) << shift
2027 if b < 0x80 {
2028 break
2029 }
2030 }
2031 if msglen < 0 {
2032 return ErrInvalidLengthGenerated
2033 }
2034 postIndex := iNdEx + msglen
2035 if postIndex > l {
2036 return io.ErrUnexpectedEOF
2037 }
2038 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2039 return err
2040 }
2041 iNdEx = postIndex
2042 case 2:
2043 if wireType != 2 {
2044 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
2045 }
2046 var msglen int
2047 for shift := uint(0); ; shift += 7 {
2048 if shift >= 64 {
2049 return ErrIntOverflowGenerated
2050 }
2051 if iNdEx >= l {
2052 return io.ErrUnexpectedEOF
2053 }
2054 b := dAtA[iNdEx]
2055 iNdEx++
2056 msglen |= (int(b) & 0x7F) << shift
2057 if b < 0x80 {
2058 break
2059 }
2060 }
2061 if msglen < 0 {
2062 return ErrInvalidLengthGenerated
2063 }
2064 postIndex := iNdEx + msglen
2065 if postIndex > l {
2066 return io.ErrUnexpectedEOF
2067 }
2068 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2069 return err
2070 }
2071 iNdEx = postIndex
2072 case 3:
2073 if wireType != 2 {
2074 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2075 }
2076 var msglen int
2077 for shift := uint(0); ; shift += 7 {
2078 if shift >= 64 {
2079 return ErrIntOverflowGenerated
2080 }
2081 if iNdEx >= l {
2082 return io.ErrUnexpectedEOF
2083 }
2084 b := dAtA[iNdEx]
2085 iNdEx++
2086 msglen |= (int(b) & 0x7F) << shift
2087 if b < 0x80 {
2088 break
2089 }
2090 }
2091 if msglen < 0 {
2092 return ErrInvalidLengthGenerated
2093 }
2094 postIndex := iNdEx + msglen
2095 if postIndex > l {
2096 return io.ErrUnexpectedEOF
2097 }
2098 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2099 return err
2100 }
2101 iNdEx = postIndex
2102 default:
2103 iNdEx = preIndex
2104 skippy, err := skipGenerated(dAtA[iNdEx:])
2105 if err != nil {
2106 return err
2107 }
2108 if skippy < 0 {
2109 return ErrInvalidLengthGenerated
2110 }
2111 if (iNdEx + skippy) > l {
2112 return io.ErrUnexpectedEOF
2113 }
2114 iNdEx += skippy
2115 }
2116 }
2117
2118 if iNdEx > l {
2119 return io.ErrUnexpectedEOF
2120 }
2121 return nil
2122}
2123func (m *HorizontalPodAutoscalerCondition) Unmarshal(dAtA []byte) error {
2124 l := len(dAtA)
2125 iNdEx := 0
2126 for iNdEx < l {
2127 preIndex := iNdEx
2128 var wire uint64
2129 for shift := uint(0); ; shift += 7 {
2130 if shift >= 64 {
2131 return ErrIntOverflowGenerated
2132 }
2133 if iNdEx >= l {
2134 return io.ErrUnexpectedEOF
2135 }
2136 b := dAtA[iNdEx]
2137 iNdEx++
2138 wire |= (uint64(b) & 0x7F) << shift
2139 if b < 0x80 {
2140 break
2141 }
2142 }
2143 fieldNum := int32(wire >> 3)
2144 wireType := int(wire & 0x7)
2145 if wireType == 4 {
2146 return fmt.Errorf("proto: HorizontalPodAutoscalerCondition: wiretype end group for non-group")
2147 }
2148 if fieldNum <= 0 {
2149 return fmt.Errorf("proto: HorizontalPodAutoscalerCondition: illegal tag %d (wire type %d)", fieldNum, wire)
2150 }
2151 switch fieldNum {
2152 case 1:
2153 if wireType != 2 {
2154 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
2155 }
2156 var stringLen uint64
2157 for shift := uint(0); ; shift += 7 {
2158 if shift >= 64 {
2159 return ErrIntOverflowGenerated
2160 }
2161 if iNdEx >= l {
2162 return io.ErrUnexpectedEOF
2163 }
2164 b := dAtA[iNdEx]
2165 iNdEx++
2166 stringLen |= (uint64(b) & 0x7F) << shift
2167 if b < 0x80 {
2168 break
2169 }
2170 }
2171 intStringLen := int(stringLen)
2172 if intStringLen < 0 {
2173 return ErrInvalidLengthGenerated
2174 }
2175 postIndex := iNdEx + intStringLen
2176 if postIndex > l {
2177 return io.ErrUnexpectedEOF
2178 }
2179 m.Type = HorizontalPodAutoscalerConditionType(dAtA[iNdEx:postIndex])
2180 iNdEx = postIndex
2181 case 2:
2182 if wireType != 2 {
2183 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2184 }
2185 var stringLen uint64
2186 for shift := uint(0); ; shift += 7 {
2187 if shift >= 64 {
2188 return ErrIntOverflowGenerated
2189 }
2190 if iNdEx >= l {
2191 return io.ErrUnexpectedEOF
2192 }
2193 b := dAtA[iNdEx]
2194 iNdEx++
2195 stringLen |= (uint64(b) & 0x7F) << shift
2196 if b < 0x80 {
2197 break
2198 }
2199 }
2200 intStringLen := int(stringLen)
2201 if intStringLen < 0 {
2202 return ErrInvalidLengthGenerated
2203 }
2204 postIndex := iNdEx + intStringLen
2205 if postIndex > l {
2206 return io.ErrUnexpectedEOF
2207 }
2208 m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
2209 iNdEx = postIndex
2210 case 3:
2211 if wireType != 2 {
2212 return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
2213 }
2214 var msglen int
2215 for shift := uint(0); ; shift += 7 {
2216 if shift >= 64 {
2217 return ErrIntOverflowGenerated
2218 }
2219 if iNdEx >= l {
2220 return io.ErrUnexpectedEOF
2221 }
2222 b := dAtA[iNdEx]
2223 iNdEx++
2224 msglen |= (int(b) & 0x7F) << shift
2225 if b < 0x80 {
2226 break
2227 }
2228 }
2229 if msglen < 0 {
2230 return ErrInvalidLengthGenerated
2231 }
2232 postIndex := iNdEx + msglen
2233 if postIndex > l {
2234 return io.ErrUnexpectedEOF
2235 }
2236 if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2237 return err
2238 }
2239 iNdEx = postIndex
2240 case 4:
2241 if wireType != 2 {
2242 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
2243 }
2244 var stringLen uint64
2245 for shift := uint(0); ; shift += 7 {
2246 if shift >= 64 {
2247 return ErrIntOverflowGenerated
2248 }
2249 if iNdEx >= l {
2250 return io.ErrUnexpectedEOF
2251 }
2252 b := dAtA[iNdEx]
2253 iNdEx++
2254 stringLen |= (uint64(b) & 0x7F) << shift
2255 if b < 0x80 {
2256 break
2257 }
2258 }
2259 intStringLen := int(stringLen)
2260 if intStringLen < 0 {
2261 return ErrInvalidLengthGenerated
2262 }
2263 postIndex := iNdEx + intStringLen
2264 if postIndex > l {
2265 return io.ErrUnexpectedEOF
2266 }
2267 m.Reason = string(dAtA[iNdEx:postIndex])
2268 iNdEx = postIndex
2269 case 5:
2270 if wireType != 2 {
2271 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
2272 }
2273 var stringLen uint64
2274 for shift := uint(0); ; shift += 7 {
2275 if shift >= 64 {
2276 return ErrIntOverflowGenerated
2277 }
2278 if iNdEx >= l {
2279 return io.ErrUnexpectedEOF
2280 }
2281 b := dAtA[iNdEx]
2282 iNdEx++
2283 stringLen |= (uint64(b) & 0x7F) << shift
2284 if b < 0x80 {
2285 break
2286 }
2287 }
2288 intStringLen := int(stringLen)
2289 if intStringLen < 0 {
2290 return ErrInvalidLengthGenerated
2291 }
2292 postIndex := iNdEx + intStringLen
2293 if postIndex > l {
2294 return io.ErrUnexpectedEOF
2295 }
2296 m.Message = string(dAtA[iNdEx:postIndex])
2297 iNdEx = postIndex
2298 default:
2299 iNdEx = preIndex
2300 skippy, err := skipGenerated(dAtA[iNdEx:])
2301 if err != nil {
2302 return err
2303 }
2304 if skippy < 0 {
2305 return ErrInvalidLengthGenerated
2306 }
2307 if (iNdEx + skippy) > l {
2308 return io.ErrUnexpectedEOF
2309 }
2310 iNdEx += skippy
2311 }
2312 }
2313
2314 if iNdEx > l {
2315 return io.ErrUnexpectedEOF
2316 }
2317 return nil
2318}
2319func (m *HorizontalPodAutoscalerList) Unmarshal(dAtA []byte) error {
2320 l := len(dAtA)
2321 iNdEx := 0
2322 for iNdEx < l {
2323 preIndex := iNdEx
2324 var wire uint64
2325 for shift := uint(0); ; shift += 7 {
2326 if shift >= 64 {
2327 return ErrIntOverflowGenerated
2328 }
2329 if iNdEx >= l {
2330 return io.ErrUnexpectedEOF
2331 }
2332 b := dAtA[iNdEx]
2333 iNdEx++
2334 wire |= (uint64(b) & 0x7F) << shift
2335 if b < 0x80 {
2336 break
2337 }
2338 }
2339 fieldNum := int32(wire >> 3)
2340 wireType := int(wire & 0x7)
2341 if wireType == 4 {
2342 return fmt.Errorf("proto: HorizontalPodAutoscalerList: wiretype end group for non-group")
2343 }
2344 if fieldNum <= 0 {
2345 return fmt.Errorf("proto: HorizontalPodAutoscalerList: illegal tag %d (wire type %d)", fieldNum, wire)
2346 }
2347 switch fieldNum {
2348 case 1:
2349 if wireType != 2 {
2350 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
2351 }
2352 var msglen int
2353 for shift := uint(0); ; shift += 7 {
2354 if shift >= 64 {
2355 return ErrIntOverflowGenerated
2356 }
2357 if iNdEx >= l {
2358 return io.ErrUnexpectedEOF
2359 }
2360 b := dAtA[iNdEx]
2361 iNdEx++
2362 msglen |= (int(b) & 0x7F) << shift
2363 if b < 0x80 {
2364 break
2365 }
2366 }
2367 if msglen < 0 {
2368 return ErrInvalidLengthGenerated
2369 }
2370 postIndex := iNdEx + msglen
2371 if postIndex > l {
2372 return io.ErrUnexpectedEOF
2373 }
2374 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2375 return err
2376 }
2377 iNdEx = postIndex
2378 case 2:
2379 if wireType != 2 {
2380 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
2381 }
2382 var msglen int
2383 for shift := uint(0); ; shift += 7 {
2384 if shift >= 64 {
2385 return ErrIntOverflowGenerated
2386 }
2387 if iNdEx >= l {
2388 return io.ErrUnexpectedEOF
2389 }
2390 b := dAtA[iNdEx]
2391 iNdEx++
2392 msglen |= (int(b) & 0x7F) << shift
2393 if b < 0x80 {
2394 break
2395 }
2396 }
2397 if msglen < 0 {
2398 return ErrInvalidLengthGenerated
2399 }
2400 postIndex := iNdEx + msglen
2401 if postIndex > l {
2402 return io.ErrUnexpectedEOF
2403 }
2404 m.Items = append(m.Items, HorizontalPodAutoscaler{})
2405 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2406 return err
2407 }
2408 iNdEx = postIndex
2409 default:
2410 iNdEx = preIndex
2411 skippy, err := skipGenerated(dAtA[iNdEx:])
2412 if err != nil {
2413 return err
2414 }
2415 if skippy < 0 {
2416 return ErrInvalidLengthGenerated
2417 }
2418 if (iNdEx + skippy) > l {
2419 return io.ErrUnexpectedEOF
2420 }
2421 iNdEx += skippy
2422 }
2423 }
2424
2425 if iNdEx > l {
2426 return io.ErrUnexpectedEOF
2427 }
2428 return nil
2429}
2430func (m *HorizontalPodAutoscalerSpec) Unmarshal(dAtA []byte) error {
2431 l := len(dAtA)
2432 iNdEx := 0
2433 for iNdEx < l {
2434 preIndex := iNdEx
2435 var wire uint64
2436 for shift := uint(0); ; shift += 7 {
2437 if shift >= 64 {
2438 return ErrIntOverflowGenerated
2439 }
2440 if iNdEx >= l {
2441 return io.ErrUnexpectedEOF
2442 }
2443 b := dAtA[iNdEx]
2444 iNdEx++
2445 wire |= (uint64(b) & 0x7F) << shift
2446 if b < 0x80 {
2447 break
2448 }
2449 }
2450 fieldNum := int32(wire >> 3)
2451 wireType := int(wire & 0x7)
2452 if wireType == 4 {
2453 return fmt.Errorf("proto: HorizontalPodAutoscalerSpec: wiretype end group for non-group")
2454 }
2455 if fieldNum <= 0 {
2456 return fmt.Errorf("proto: HorizontalPodAutoscalerSpec: illegal tag %d (wire type %d)", fieldNum, wire)
2457 }
2458 switch fieldNum {
2459 case 1:
2460 if wireType != 2 {
2461 return fmt.Errorf("proto: wrong wireType = %d for field ScaleTargetRef", wireType)
2462 }
2463 var msglen int
2464 for shift := uint(0); ; shift += 7 {
2465 if shift >= 64 {
2466 return ErrIntOverflowGenerated
2467 }
2468 if iNdEx >= l {
2469 return io.ErrUnexpectedEOF
2470 }
2471 b := dAtA[iNdEx]
2472 iNdEx++
2473 msglen |= (int(b) & 0x7F) << shift
2474 if b < 0x80 {
2475 break
2476 }
2477 }
2478 if msglen < 0 {
2479 return ErrInvalidLengthGenerated
2480 }
2481 postIndex := iNdEx + msglen
2482 if postIndex > l {
2483 return io.ErrUnexpectedEOF
2484 }
2485 if err := m.ScaleTargetRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2486 return err
2487 }
2488 iNdEx = postIndex
2489 case 2:
2490 if wireType != 0 {
2491 return fmt.Errorf("proto: wrong wireType = %d for field MinReplicas", wireType)
2492 }
2493 var v int32
2494 for shift := uint(0); ; shift += 7 {
2495 if shift >= 64 {
2496 return ErrIntOverflowGenerated
2497 }
2498 if iNdEx >= l {
2499 return io.ErrUnexpectedEOF
2500 }
2501 b := dAtA[iNdEx]
2502 iNdEx++
2503 v |= (int32(b) & 0x7F) << shift
2504 if b < 0x80 {
2505 break
2506 }
2507 }
2508 m.MinReplicas = &v
2509 case 3:
2510 if wireType != 0 {
2511 return fmt.Errorf("proto: wrong wireType = %d for field MaxReplicas", wireType)
2512 }
2513 m.MaxReplicas = 0
2514 for shift := uint(0); ; shift += 7 {
2515 if shift >= 64 {
2516 return ErrIntOverflowGenerated
2517 }
2518 if iNdEx >= l {
2519 return io.ErrUnexpectedEOF
2520 }
2521 b := dAtA[iNdEx]
2522 iNdEx++
2523 m.MaxReplicas |= (int32(b) & 0x7F) << shift
2524 if b < 0x80 {
2525 break
2526 }
2527 }
2528 case 4:
2529 if wireType != 0 {
2530 return fmt.Errorf("proto: wrong wireType = %d for field TargetCPUUtilizationPercentage", wireType)
2531 }
2532 var v int32
2533 for shift := uint(0); ; shift += 7 {
2534 if shift >= 64 {
2535 return ErrIntOverflowGenerated
2536 }
2537 if iNdEx >= l {
2538 return io.ErrUnexpectedEOF
2539 }
2540 b := dAtA[iNdEx]
2541 iNdEx++
2542 v |= (int32(b) & 0x7F) << shift
2543 if b < 0x80 {
2544 break
2545 }
2546 }
2547 m.TargetCPUUtilizationPercentage = &v
2548 default:
2549 iNdEx = preIndex
2550 skippy, err := skipGenerated(dAtA[iNdEx:])
2551 if err != nil {
2552 return err
2553 }
2554 if skippy < 0 {
2555 return ErrInvalidLengthGenerated
2556 }
2557 if (iNdEx + skippy) > l {
2558 return io.ErrUnexpectedEOF
2559 }
2560 iNdEx += skippy
2561 }
2562 }
2563
2564 if iNdEx > l {
2565 return io.ErrUnexpectedEOF
2566 }
2567 return nil
2568}
2569func (m *HorizontalPodAutoscalerStatus) Unmarshal(dAtA []byte) error {
2570 l := len(dAtA)
2571 iNdEx := 0
2572 for iNdEx < l {
2573 preIndex := iNdEx
2574 var wire uint64
2575 for shift := uint(0); ; shift += 7 {
2576 if shift >= 64 {
2577 return ErrIntOverflowGenerated
2578 }
2579 if iNdEx >= l {
2580 return io.ErrUnexpectedEOF
2581 }
2582 b := dAtA[iNdEx]
2583 iNdEx++
2584 wire |= (uint64(b) & 0x7F) << shift
2585 if b < 0x80 {
2586 break
2587 }
2588 }
2589 fieldNum := int32(wire >> 3)
2590 wireType := int(wire & 0x7)
2591 if wireType == 4 {
2592 return fmt.Errorf("proto: HorizontalPodAutoscalerStatus: wiretype end group for non-group")
2593 }
2594 if fieldNum <= 0 {
2595 return fmt.Errorf("proto: HorizontalPodAutoscalerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
2596 }
2597 switch fieldNum {
2598 case 1:
2599 if wireType != 0 {
2600 return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
2601 }
2602 var v int64
2603 for shift := uint(0); ; shift += 7 {
2604 if shift >= 64 {
2605 return ErrIntOverflowGenerated
2606 }
2607 if iNdEx >= l {
2608 return io.ErrUnexpectedEOF
2609 }
2610 b := dAtA[iNdEx]
2611 iNdEx++
2612 v |= (int64(b) & 0x7F) << shift
2613 if b < 0x80 {
2614 break
2615 }
2616 }
2617 m.ObservedGeneration = &v
2618 case 2:
2619 if wireType != 2 {
2620 return fmt.Errorf("proto: wrong wireType = %d for field LastScaleTime", wireType)
2621 }
2622 var msglen int
2623 for shift := uint(0); ; shift += 7 {
2624 if shift >= 64 {
2625 return ErrIntOverflowGenerated
2626 }
2627 if iNdEx >= l {
2628 return io.ErrUnexpectedEOF
2629 }
2630 b := dAtA[iNdEx]
2631 iNdEx++
2632 msglen |= (int(b) & 0x7F) << shift
2633 if b < 0x80 {
2634 break
2635 }
2636 }
2637 if msglen < 0 {
2638 return ErrInvalidLengthGenerated
2639 }
2640 postIndex := iNdEx + msglen
2641 if postIndex > l {
2642 return io.ErrUnexpectedEOF
2643 }
2644 if m.LastScaleTime == nil {
2645 m.LastScaleTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
2646 }
2647 if err := m.LastScaleTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2648 return err
2649 }
2650 iNdEx = postIndex
2651 case 3:
2652 if wireType != 0 {
2653 return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
2654 }
2655 m.CurrentReplicas = 0
2656 for shift := uint(0); ; shift += 7 {
2657 if shift >= 64 {
2658 return ErrIntOverflowGenerated
2659 }
2660 if iNdEx >= l {
2661 return io.ErrUnexpectedEOF
2662 }
2663 b := dAtA[iNdEx]
2664 iNdEx++
2665 m.CurrentReplicas |= (int32(b) & 0x7F) << shift
2666 if b < 0x80 {
2667 break
2668 }
2669 }
2670 case 4:
2671 if wireType != 0 {
2672 return fmt.Errorf("proto: wrong wireType = %d for field DesiredReplicas", wireType)
2673 }
2674 m.DesiredReplicas = 0
2675 for shift := uint(0); ; shift += 7 {
2676 if shift >= 64 {
2677 return ErrIntOverflowGenerated
2678 }
2679 if iNdEx >= l {
2680 return io.ErrUnexpectedEOF
2681 }
2682 b := dAtA[iNdEx]
2683 iNdEx++
2684 m.DesiredReplicas |= (int32(b) & 0x7F) << shift
2685 if b < 0x80 {
2686 break
2687 }
2688 }
2689 case 5:
2690 if wireType != 0 {
2691 return fmt.Errorf("proto: wrong wireType = %d for field CurrentCPUUtilizationPercentage", wireType)
2692 }
2693 var v int32
2694 for shift := uint(0); ; shift += 7 {
2695 if shift >= 64 {
2696 return ErrIntOverflowGenerated
2697 }
2698 if iNdEx >= l {
2699 return io.ErrUnexpectedEOF
2700 }
2701 b := dAtA[iNdEx]
2702 iNdEx++
2703 v |= (int32(b) & 0x7F) << shift
2704 if b < 0x80 {
2705 break
2706 }
2707 }
2708 m.CurrentCPUUtilizationPercentage = &v
2709 default:
2710 iNdEx = preIndex
2711 skippy, err := skipGenerated(dAtA[iNdEx:])
2712 if err != nil {
2713 return err
2714 }
2715 if skippy < 0 {
2716 return ErrInvalidLengthGenerated
2717 }
2718 if (iNdEx + skippy) > l {
2719 return io.ErrUnexpectedEOF
2720 }
2721 iNdEx += skippy
2722 }
2723 }
2724
2725 if iNdEx > l {
2726 return io.ErrUnexpectedEOF
2727 }
2728 return nil
2729}
2730func (m *MetricSpec) Unmarshal(dAtA []byte) error {
2731 l := len(dAtA)
2732 iNdEx := 0
2733 for iNdEx < l {
2734 preIndex := iNdEx
2735 var wire uint64
2736 for shift := uint(0); ; shift += 7 {
2737 if shift >= 64 {
2738 return ErrIntOverflowGenerated
2739 }
2740 if iNdEx >= l {
2741 return io.ErrUnexpectedEOF
2742 }
2743 b := dAtA[iNdEx]
2744 iNdEx++
2745 wire |= (uint64(b) & 0x7F) << shift
2746 if b < 0x80 {
2747 break
2748 }
2749 }
2750 fieldNum := int32(wire >> 3)
2751 wireType := int(wire & 0x7)
2752 if wireType == 4 {
2753 return fmt.Errorf("proto: MetricSpec: wiretype end group for non-group")
2754 }
2755 if fieldNum <= 0 {
2756 return fmt.Errorf("proto: MetricSpec: illegal tag %d (wire type %d)", fieldNum, wire)
2757 }
2758 switch fieldNum {
2759 case 1:
2760 if wireType != 2 {
2761 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
2762 }
2763 var stringLen uint64
2764 for shift := uint(0); ; shift += 7 {
2765 if shift >= 64 {
2766 return ErrIntOverflowGenerated
2767 }
2768 if iNdEx >= l {
2769 return io.ErrUnexpectedEOF
2770 }
2771 b := dAtA[iNdEx]
2772 iNdEx++
2773 stringLen |= (uint64(b) & 0x7F) << shift
2774 if b < 0x80 {
2775 break
2776 }
2777 }
2778 intStringLen := int(stringLen)
2779 if intStringLen < 0 {
2780 return ErrInvalidLengthGenerated
2781 }
2782 postIndex := iNdEx + intStringLen
2783 if postIndex > l {
2784 return io.ErrUnexpectedEOF
2785 }
2786 m.Type = MetricSourceType(dAtA[iNdEx:postIndex])
2787 iNdEx = postIndex
2788 case 2:
2789 if wireType != 2 {
2790 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType)
2791 }
2792 var msglen int
2793 for shift := uint(0); ; shift += 7 {
2794 if shift >= 64 {
2795 return ErrIntOverflowGenerated
2796 }
2797 if iNdEx >= l {
2798 return io.ErrUnexpectedEOF
2799 }
2800 b := dAtA[iNdEx]
2801 iNdEx++
2802 msglen |= (int(b) & 0x7F) << shift
2803 if b < 0x80 {
2804 break
2805 }
2806 }
2807 if msglen < 0 {
2808 return ErrInvalidLengthGenerated
2809 }
2810 postIndex := iNdEx + msglen
2811 if postIndex > l {
2812 return io.ErrUnexpectedEOF
2813 }
2814 if m.Object == nil {
2815 m.Object = &ObjectMetricSource{}
2816 }
2817 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2818 return err
2819 }
2820 iNdEx = postIndex
2821 case 3:
2822 if wireType != 2 {
2823 return fmt.Errorf("proto: wrong wireType = %d for field Pods", wireType)
2824 }
2825 var msglen int
2826 for shift := uint(0); ; shift += 7 {
2827 if shift >= 64 {
2828 return ErrIntOverflowGenerated
2829 }
2830 if iNdEx >= l {
2831 return io.ErrUnexpectedEOF
2832 }
2833 b := dAtA[iNdEx]
2834 iNdEx++
2835 msglen |= (int(b) & 0x7F) << shift
2836 if b < 0x80 {
2837 break
2838 }
2839 }
2840 if msglen < 0 {
2841 return ErrInvalidLengthGenerated
2842 }
2843 postIndex := iNdEx + msglen
2844 if postIndex > l {
2845 return io.ErrUnexpectedEOF
2846 }
2847 if m.Pods == nil {
2848 m.Pods = &PodsMetricSource{}
2849 }
2850 if err := m.Pods.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2851 return err
2852 }
2853 iNdEx = postIndex
2854 case 4:
2855 if wireType != 2 {
2856 return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
2857 }
2858 var msglen int
2859 for shift := uint(0); ; shift += 7 {
2860 if shift >= 64 {
2861 return ErrIntOverflowGenerated
2862 }
2863 if iNdEx >= l {
2864 return io.ErrUnexpectedEOF
2865 }
2866 b := dAtA[iNdEx]
2867 iNdEx++
2868 msglen |= (int(b) & 0x7F) << shift
2869 if b < 0x80 {
2870 break
2871 }
2872 }
2873 if msglen < 0 {
2874 return ErrInvalidLengthGenerated
2875 }
2876 postIndex := iNdEx + msglen
2877 if postIndex > l {
2878 return io.ErrUnexpectedEOF
2879 }
2880 if m.Resource == nil {
2881 m.Resource = &ResourceMetricSource{}
2882 }
2883 if err := m.Resource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2884 return err
2885 }
2886 iNdEx = postIndex
2887 case 5:
2888 if wireType != 2 {
2889 return fmt.Errorf("proto: wrong wireType = %d for field External", wireType)
2890 }
2891 var msglen int
2892 for shift := uint(0); ; shift += 7 {
2893 if shift >= 64 {
2894 return ErrIntOverflowGenerated
2895 }
2896 if iNdEx >= l {
2897 return io.ErrUnexpectedEOF
2898 }
2899 b := dAtA[iNdEx]
2900 iNdEx++
2901 msglen |= (int(b) & 0x7F) << shift
2902 if b < 0x80 {
2903 break
2904 }
2905 }
2906 if msglen < 0 {
2907 return ErrInvalidLengthGenerated
2908 }
2909 postIndex := iNdEx + msglen
2910 if postIndex > l {
2911 return io.ErrUnexpectedEOF
2912 }
2913 if m.External == nil {
2914 m.External = &ExternalMetricSource{}
2915 }
2916 if err := m.External.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2917 return err
2918 }
2919 iNdEx = postIndex
2920 default:
2921 iNdEx = preIndex
2922 skippy, err := skipGenerated(dAtA[iNdEx:])
2923 if err != nil {
2924 return err
2925 }
2926 if skippy < 0 {
2927 return ErrInvalidLengthGenerated
2928 }
2929 if (iNdEx + skippy) > l {
2930 return io.ErrUnexpectedEOF
2931 }
2932 iNdEx += skippy
2933 }
2934 }
2935
2936 if iNdEx > l {
2937 return io.ErrUnexpectedEOF
2938 }
2939 return nil
2940}
2941func (m *MetricStatus) Unmarshal(dAtA []byte) error {
2942 l := len(dAtA)
2943 iNdEx := 0
2944 for iNdEx < l {
2945 preIndex := iNdEx
2946 var wire uint64
2947 for shift := uint(0); ; shift += 7 {
2948 if shift >= 64 {
2949 return ErrIntOverflowGenerated
2950 }
2951 if iNdEx >= l {
2952 return io.ErrUnexpectedEOF
2953 }
2954 b := dAtA[iNdEx]
2955 iNdEx++
2956 wire |= (uint64(b) & 0x7F) << shift
2957 if b < 0x80 {
2958 break
2959 }
2960 }
2961 fieldNum := int32(wire >> 3)
2962 wireType := int(wire & 0x7)
2963 if wireType == 4 {
2964 return fmt.Errorf("proto: MetricStatus: wiretype end group for non-group")
2965 }
2966 if fieldNum <= 0 {
2967 return fmt.Errorf("proto: MetricStatus: illegal tag %d (wire type %d)", fieldNum, wire)
2968 }
2969 switch fieldNum {
2970 case 1:
2971 if wireType != 2 {
2972 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
2973 }
2974 var stringLen uint64
2975 for shift := uint(0); ; shift += 7 {
2976 if shift >= 64 {
2977 return ErrIntOverflowGenerated
2978 }
2979 if iNdEx >= l {
2980 return io.ErrUnexpectedEOF
2981 }
2982 b := dAtA[iNdEx]
2983 iNdEx++
2984 stringLen |= (uint64(b) & 0x7F) << shift
2985 if b < 0x80 {
2986 break
2987 }
2988 }
2989 intStringLen := int(stringLen)
2990 if intStringLen < 0 {
2991 return ErrInvalidLengthGenerated
2992 }
2993 postIndex := iNdEx + intStringLen
2994 if postIndex > l {
2995 return io.ErrUnexpectedEOF
2996 }
2997 m.Type = MetricSourceType(dAtA[iNdEx:postIndex])
2998 iNdEx = postIndex
2999 case 2:
3000 if wireType != 2 {
3001 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType)
3002 }
3003 var msglen int
3004 for shift := uint(0); ; shift += 7 {
3005 if shift >= 64 {
3006 return ErrIntOverflowGenerated
3007 }
3008 if iNdEx >= l {
3009 return io.ErrUnexpectedEOF
3010 }
3011 b := dAtA[iNdEx]
3012 iNdEx++
3013 msglen |= (int(b) & 0x7F) << shift
3014 if b < 0x80 {
3015 break
3016 }
3017 }
3018 if msglen < 0 {
3019 return ErrInvalidLengthGenerated
3020 }
3021 postIndex := iNdEx + msglen
3022 if postIndex > l {
3023 return io.ErrUnexpectedEOF
3024 }
3025 if m.Object == nil {
3026 m.Object = &ObjectMetricStatus{}
3027 }
3028 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3029 return err
3030 }
3031 iNdEx = postIndex
3032 case 3:
3033 if wireType != 2 {
3034 return fmt.Errorf("proto: wrong wireType = %d for field Pods", wireType)
3035 }
3036 var msglen int
3037 for shift := uint(0); ; shift += 7 {
3038 if shift >= 64 {
3039 return ErrIntOverflowGenerated
3040 }
3041 if iNdEx >= l {
3042 return io.ErrUnexpectedEOF
3043 }
3044 b := dAtA[iNdEx]
3045 iNdEx++
3046 msglen |= (int(b) & 0x7F) << shift
3047 if b < 0x80 {
3048 break
3049 }
3050 }
3051 if msglen < 0 {
3052 return ErrInvalidLengthGenerated
3053 }
3054 postIndex := iNdEx + msglen
3055 if postIndex > l {
3056 return io.ErrUnexpectedEOF
3057 }
3058 if m.Pods == nil {
3059 m.Pods = &PodsMetricStatus{}
3060 }
3061 if err := m.Pods.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3062 return err
3063 }
3064 iNdEx = postIndex
3065 case 4:
3066 if wireType != 2 {
3067 return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
3068 }
3069 var msglen int
3070 for shift := uint(0); ; shift += 7 {
3071 if shift >= 64 {
3072 return ErrIntOverflowGenerated
3073 }
3074 if iNdEx >= l {
3075 return io.ErrUnexpectedEOF
3076 }
3077 b := dAtA[iNdEx]
3078 iNdEx++
3079 msglen |= (int(b) & 0x7F) << shift
3080 if b < 0x80 {
3081 break
3082 }
3083 }
3084 if msglen < 0 {
3085 return ErrInvalidLengthGenerated
3086 }
3087 postIndex := iNdEx + msglen
3088 if postIndex > l {
3089 return io.ErrUnexpectedEOF
3090 }
3091 if m.Resource == nil {
3092 m.Resource = &ResourceMetricStatus{}
3093 }
3094 if err := m.Resource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3095 return err
3096 }
3097 iNdEx = postIndex
3098 case 5:
3099 if wireType != 2 {
3100 return fmt.Errorf("proto: wrong wireType = %d for field External", wireType)
3101 }
3102 var msglen int
3103 for shift := uint(0); ; shift += 7 {
3104 if shift >= 64 {
3105 return ErrIntOverflowGenerated
3106 }
3107 if iNdEx >= l {
3108 return io.ErrUnexpectedEOF
3109 }
3110 b := dAtA[iNdEx]
3111 iNdEx++
3112 msglen |= (int(b) & 0x7F) << shift
3113 if b < 0x80 {
3114 break
3115 }
3116 }
3117 if msglen < 0 {
3118 return ErrInvalidLengthGenerated
3119 }
3120 postIndex := iNdEx + msglen
3121 if postIndex > l {
3122 return io.ErrUnexpectedEOF
3123 }
3124 if m.External == nil {
3125 m.External = &ExternalMetricStatus{}
3126 }
3127 if err := m.External.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3128 return err
3129 }
3130 iNdEx = postIndex
3131 default:
3132 iNdEx = preIndex
3133 skippy, err := skipGenerated(dAtA[iNdEx:])
3134 if err != nil {
3135 return err
3136 }
3137 if skippy < 0 {
3138 return ErrInvalidLengthGenerated
3139 }
3140 if (iNdEx + skippy) > l {
3141 return io.ErrUnexpectedEOF
3142 }
3143 iNdEx += skippy
3144 }
3145 }
3146
3147 if iNdEx > l {
3148 return io.ErrUnexpectedEOF
3149 }
3150 return nil
3151}
3152func (m *ObjectMetricSource) Unmarshal(dAtA []byte) error {
3153 l := len(dAtA)
3154 iNdEx := 0
3155 for iNdEx < l {
3156 preIndex := iNdEx
3157 var wire uint64
3158 for shift := uint(0); ; shift += 7 {
3159 if shift >= 64 {
3160 return ErrIntOverflowGenerated
3161 }
3162 if iNdEx >= l {
3163 return io.ErrUnexpectedEOF
3164 }
3165 b := dAtA[iNdEx]
3166 iNdEx++
3167 wire |= (uint64(b) & 0x7F) << shift
3168 if b < 0x80 {
3169 break
3170 }
3171 }
3172 fieldNum := int32(wire >> 3)
3173 wireType := int(wire & 0x7)
3174 if wireType == 4 {
3175 return fmt.Errorf("proto: ObjectMetricSource: wiretype end group for non-group")
3176 }
3177 if fieldNum <= 0 {
3178 return fmt.Errorf("proto: ObjectMetricSource: illegal tag %d (wire type %d)", fieldNum, wire)
3179 }
3180 switch fieldNum {
3181 case 1:
3182 if wireType != 2 {
3183 return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
3184 }
3185 var msglen int
3186 for shift := uint(0); ; shift += 7 {
3187 if shift >= 64 {
3188 return ErrIntOverflowGenerated
3189 }
3190 if iNdEx >= l {
3191 return io.ErrUnexpectedEOF
3192 }
3193 b := dAtA[iNdEx]
3194 iNdEx++
3195 msglen |= (int(b) & 0x7F) << shift
3196 if b < 0x80 {
3197 break
3198 }
3199 }
3200 if msglen < 0 {
3201 return ErrInvalidLengthGenerated
3202 }
3203 postIndex := iNdEx + msglen
3204 if postIndex > l {
3205 return io.ErrUnexpectedEOF
3206 }
3207 if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3208 return err
3209 }
3210 iNdEx = postIndex
3211 case 2:
3212 if wireType != 2 {
3213 return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType)
3214 }
3215 var stringLen uint64
3216 for shift := uint(0); ; shift += 7 {
3217 if shift >= 64 {
3218 return ErrIntOverflowGenerated
3219 }
3220 if iNdEx >= l {
3221 return io.ErrUnexpectedEOF
3222 }
3223 b := dAtA[iNdEx]
3224 iNdEx++
3225 stringLen |= (uint64(b) & 0x7F) << shift
3226 if b < 0x80 {
3227 break
3228 }
3229 }
3230 intStringLen := int(stringLen)
3231 if intStringLen < 0 {
3232 return ErrInvalidLengthGenerated
3233 }
3234 postIndex := iNdEx + intStringLen
3235 if postIndex > l {
3236 return io.ErrUnexpectedEOF
3237 }
3238 m.MetricName = string(dAtA[iNdEx:postIndex])
3239 iNdEx = postIndex
3240 case 3:
3241 if wireType != 2 {
3242 return fmt.Errorf("proto: wrong wireType = %d for field TargetValue", wireType)
3243 }
3244 var msglen int
3245 for shift := uint(0); ; shift += 7 {
3246 if shift >= 64 {
3247 return ErrIntOverflowGenerated
3248 }
3249 if iNdEx >= l {
3250 return io.ErrUnexpectedEOF
3251 }
3252 b := dAtA[iNdEx]
3253 iNdEx++
3254 msglen |= (int(b) & 0x7F) << shift
3255 if b < 0x80 {
3256 break
3257 }
3258 }
3259 if msglen < 0 {
3260 return ErrInvalidLengthGenerated
3261 }
3262 postIndex := iNdEx + msglen
3263 if postIndex > l {
3264 return io.ErrUnexpectedEOF
3265 }
3266 if err := m.TargetValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3267 return err
3268 }
3269 iNdEx = postIndex
3270 default:
3271 iNdEx = preIndex
3272 skippy, err := skipGenerated(dAtA[iNdEx:])
3273 if err != nil {
3274 return err
3275 }
3276 if skippy < 0 {
3277 return ErrInvalidLengthGenerated
3278 }
3279 if (iNdEx + skippy) > l {
3280 return io.ErrUnexpectedEOF
3281 }
3282 iNdEx += skippy
3283 }
3284 }
3285
3286 if iNdEx > l {
3287 return io.ErrUnexpectedEOF
3288 }
3289 return nil
3290}
3291func (m *ObjectMetricStatus) Unmarshal(dAtA []byte) error {
3292 l := len(dAtA)
3293 iNdEx := 0
3294 for iNdEx < l {
3295 preIndex := iNdEx
3296 var wire uint64
3297 for shift := uint(0); ; shift += 7 {
3298 if shift >= 64 {
3299 return ErrIntOverflowGenerated
3300 }
3301 if iNdEx >= l {
3302 return io.ErrUnexpectedEOF
3303 }
3304 b := dAtA[iNdEx]
3305 iNdEx++
3306 wire |= (uint64(b) & 0x7F) << shift
3307 if b < 0x80 {
3308 break
3309 }
3310 }
3311 fieldNum := int32(wire >> 3)
3312 wireType := int(wire & 0x7)
3313 if wireType == 4 {
3314 return fmt.Errorf("proto: ObjectMetricStatus: wiretype end group for non-group")
3315 }
3316 if fieldNum <= 0 {
3317 return fmt.Errorf("proto: ObjectMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire)
3318 }
3319 switch fieldNum {
3320 case 1:
3321 if wireType != 2 {
3322 return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
3323 }
3324 var msglen int
3325 for shift := uint(0); ; shift += 7 {
3326 if shift >= 64 {
3327 return ErrIntOverflowGenerated
3328 }
3329 if iNdEx >= l {
3330 return io.ErrUnexpectedEOF
3331 }
3332 b := dAtA[iNdEx]
3333 iNdEx++
3334 msglen |= (int(b) & 0x7F) << shift
3335 if b < 0x80 {
3336 break
3337 }
3338 }
3339 if msglen < 0 {
3340 return ErrInvalidLengthGenerated
3341 }
3342 postIndex := iNdEx + msglen
3343 if postIndex > l {
3344 return io.ErrUnexpectedEOF
3345 }
3346 if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3347 return err
3348 }
3349 iNdEx = postIndex
3350 case 2:
3351 if wireType != 2 {
3352 return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType)
3353 }
3354 var stringLen uint64
3355 for shift := uint(0); ; shift += 7 {
3356 if shift >= 64 {
3357 return ErrIntOverflowGenerated
3358 }
3359 if iNdEx >= l {
3360 return io.ErrUnexpectedEOF
3361 }
3362 b := dAtA[iNdEx]
3363 iNdEx++
3364 stringLen |= (uint64(b) & 0x7F) << shift
3365 if b < 0x80 {
3366 break
3367 }
3368 }
3369 intStringLen := int(stringLen)
3370 if intStringLen < 0 {
3371 return ErrInvalidLengthGenerated
3372 }
3373 postIndex := iNdEx + intStringLen
3374 if postIndex > l {
3375 return io.ErrUnexpectedEOF
3376 }
3377 m.MetricName = string(dAtA[iNdEx:postIndex])
3378 iNdEx = postIndex
3379 case 3:
3380 if wireType != 2 {
3381 return fmt.Errorf("proto: wrong wireType = %d for field CurrentValue", wireType)
3382 }
3383 var msglen int
3384 for shift := uint(0); ; shift += 7 {
3385 if shift >= 64 {
3386 return ErrIntOverflowGenerated
3387 }
3388 if iNdEx >= l {
3389 return io.ErrUnexpectedEOF
3390 }
3391 b := dAtA[iNdEx]
3392 iNdEx++
3393 msglen |= (int(b) & 0x7F) << shift
3394 if b < 0x80 {
3395 break
3396 }
3397 }
3398 if msglen < 0 {
3399 return ErrInvalidLengthGenerated
3400 }
3401 postIndex := iNdEx + msglen
3402 if postIndex > l {
3403 return io.ErrUnexpectedEOF
3404 }
3405 if err := m.CurrentValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3406 return err
3407 }
3408 iNdEx = postIndex
3409 default:
3410 iNdEx = preIndex
3411 skippy, err := skipGenerated(dAtA[iNdEx:])
3412 if err != nil {
3413 return err
3414 }
3415 if skippy < 0 {
3416 return ErrInvalidLengthGenerated
3417 }
3418 if (iNdEx + skippy) > l {
3419 return io.ErrUnexpectedEOF
3420 }
3421 iNdEx += skippy
3422 }
3423 }
3424
3425 if iNdEx > l {
3426 return io.ErrUnexpectedEOF
3427 }
3428 return nil
3429}
3430func (m *PodsMetricSource) Unmarshal(dAtA []byte) error {
3431 l := len(dAtA)
3432 iNdEx := 0
3433 for iNdEx < l {
3434 preIndex := iNdEx
3435 var wire uint64
3436 for shift := uint(0); ; shift += 7 {
3437 if shift >= 64 {
3438 return ErrIntOverflowGenerated
3439 }
3440 if iNdEx >= l {
3441 return io.ErrUnexpectedEOF
3442 }
3443 b := dAtA[iNdEx]
3444 iNdEx++
3445 wire |= (uint64(b) & 0x7F) << shift
3446 if b < 0x80 {
3447 break
3448 }
3449 }
3450 fieldNum := int32(wire >> 3)
3451 wireType := int(wire & 0x7)
3452 if wireType == 4 {
3453 return fmt.Errorf("proto: PodsMetricSource: wiretype end group for non-group")
3454 }
3455 if fieldNum <= 0 {
3456 return fmt.Errorf("proto: PodsMetricSource: illegal tag %d (wire type %d)", fieldNum, wire)
3457 }
3458 switch fieldNum {
3459 case 1:
3460 if wireType != 2 {
3461 return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType)
3462 }
3463 var stringLen uint64
3464 for shift := uint(0); ; shift += 7 {
3465 if shift >= 64 {
3466 return ErrIntOverflowGenerated
3467 }
3468 if iNdEx >= l {
3469 return io.ErrUnexpectedEOF
3470 }
3471 b := dAtA[iNdEx]
3472 iNdEx++
3473 stringLen |= (uint64(b) & 0x7F) << shift
3474 if b < 0x80 {
3475 break
3476 }
3477 }
3478 intStringLen := int(stringLen)
3479 if intStringLen < 0 {
3480 return ErrInvalidLengthGenerated
3481 }
3482 postIndex := iNdEx + intStringLen
3483 if postIndex > l {
3484 return io.ErrUnexpectedEOF
3485 }
3486 m.MetricName = string(dAtA[iNdEx:postIndex])
3487 iNdEx = postIndex
3488 case 2:
3489 if wireType != 2 {
3490 return fmt.Errorf("proto: wrong wireType = %d for field TargetAverageValue", wireType)
3491 }
3492 var msglen int
3493 for shift := uint(0); ; shift += 7 {
3494 if shift >= 64 {
3495 return ErrIntOverflowGenerated
3496 }
3497 if iNdEx >= l {
3498 return io.ErrUnexpectedEOF
3499 }
3500 b := dAtA[iNdEx]
3501 iNdEx++
3502 msglen |= (int(b) & 0x7F) << shift
3503 if b < 0x80 {
3504 break
3505 }
3506 }
3507 if msglen < 0 {
3508 return ErrInvalidLengthGenerated
3509 }
3510 postIndex := iNdEx + msglen
3511 if postIndex > l {
3512 return io.ErrUnexpectedEOF
3513 }
3514 if err := m.TargetAverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3515 return err
3516 }
3517 iNdEx = postIndex
3518 default:
3519 iNdEx = preIndex
3520 skippy, err := skipGenerated(dAtA[iNdEx:])
3521 if err != nil {
3522 return err
3523 }
3524 if skippy < 0 {
3525 return ErrInvalidLengthGenerated
3526 }
3527 if (iNdEx + skippy) > l {
3528 return io.ErrUnexpectedEOF
3529 }
3530 iNdEx += skippy
3531 }
3532 }
3533
3534 if iNdEx > l {
3535 return io.ErrUnexpectedEOF
3536 }
3537 return nil
3538}
3539func (m *PodsMetricStatus) Unmarshal(dAtA []byte) error {
3540 l := len(dAtA)
3541 iNdEx := 0
3542 for iNdEx < l {
3543 preIndex := iNdEx
3544 var wire uint64
3545 for shift := uint(0); ; shift += 7 {
3546 if shift >= 64 {
3547 return ErrIntOverflowGenerated
3548 }
3549 if iNdEx >= l {
3550 return io.ErrUnexpectedEOF
3551 }
3552 b := dAtA[iNdEx]
3553 iNdEx++
3554 wire |= (uint64(b) & 0x7F) << shift
3555 if b < 0x80 {
3556 break
3557 }
3558 }
3559 fieldNum := int32(wire >> 3)
3560 wireType := int(wire & 0x7)
3561 if wireType == 4 {
3562 return fmt.Errorf("proto: PodsMetricStatus: wiretype end group for non-group")
3563 }
3564 if fieldNum <= 0 {
3565 return fmt.Errorf("proto: PodsMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire)
3566 }
3567 switch fieldNum {
3568 case 1:
3569 if wireType != 2 {
3570 return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType)
3571 }
3572 var stringLen uint64
3573 for shift := uint(0); ; shift += 7 {
3574 if shift >= 64 {
3575 return ErrIntOverflowGenerated
3576 }
3577 if iNdEx >= l {
3578 return io.ErrUnexpectedEOF
3579 }
3580 b := dAtA[iNdEx]
3581 iNdEx++
3582 stringLen |= (uint64(b) & 0x7F) << shift
3583 if b < 0x80 {
3584 break
3585 }
3586 }
3587 intStringLen := int(stringLen)
3588 if intStringLen < 0 {
3589 return ErrInvalidLengthGenerated
3590 }
3591 postIndex := iNdEx + intStringLen
3592 if postIndex > l {
3593 return io.ErrUnexpectedEOF
3594 }
3595 m.MetricName = string(dAtA[iNdEx:postIndex])
3596 iNdEx = postIndex
3597 case 2:
3598 if wireType != 2 {
3599 return fmt.Errorf("proto: wrong wireType = %d for field CurrentAverageValue", wireType)
3600 }
3601 var msglen int
3602 for shift := uint(0); ; shift += 7 {
3603 if shift >= 64 {
3604 return ErrIntOverflowGenerated
3605 }
3606 if iNdEx >= l {
3607 return io.ErrUnexpectedEOF
3608 }
3609 b := dAtA[iNdEx]
3610 iNdEx++
3611 msglen |= (int(b) & 0x7F) << shift
3612 if b < 0x80 {
3613 break
3614 }
3615 }
3616 if msglen < 0 {
3617 return ErrInvalidLengthGenerated
3618 }
3619 postIndex := iNdEx + msglen
3620 if postIndex > l {
3621 return io.ErrUnexpectedEOF
3622 }
3623 if err := m.CurrentAverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3624 return err
3625 }
3626 iNdEx = postIndex
3627 default:
3628 iNdEx = preIndex
3629 skippy, err := skipGenerated(dAtA[iNdEx:])
3630 if err != nil {
3631 return err
3632 }
3633 if skippy < 0 {
3634 return ErrInvalidLengthGenerated
3635 }
3636 if (iNdEx + skippy) > l {
3637 return io.ErrUnexpectedEOF
3638 }
3639 iNdEx += skippy
3640 }
3641 }
3642
3643 if iNdEx > l {
3644 return io.ErrUnexpectedEOF
3645 }
3646 return nil
3647}
3648func (m *ResourceMetricSource) Unmarshal(dAtA []byte) error {
3649 l := len(dAtA)
3650 iNdEx := 0
3651 for iNdEx < l {
3652 preIndex := iNdEx
3653 var wire uint64
3654 for shift := uint(0); ; shift += 7 {
3655 if shift >= 64 {
3656 return ErrIntOverflowGenerated
3657 }
3658 if iNdEx >= l {
3659 return io.ErrUnexpectedEOF
3660 }
3661 b := dAtA[iNdEx]
3662 iNdEx++
3663 wire |= (uint64(b) & 0x7F) << shift
3664 if b < 0x80 {
3665 break
3666 }
3667 }
3668 fieldNum := int32(wire >> 3)
3669 wireType := int(wire & 0x7)
3670 if wireType == 4 {
3671 return fmt.Errorf("proto: ResourceMetricSource: wiretype end group for non-group")
3672 }
3673 if fieldNum <= 0 {
3674 return fmt.Errorf("proto: ResourceMetricSource: illegal tag %d (wire type %d)", fieldNum, wire)
3675 }
3676 switch fieldNum {
3677 case 1:
3678 if wireType != 2 {
3679 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
3680 }
3681 var stringLen uint64
3682 for shift := uint(0); ; shift += 7 {
3683 if shift >= 64 {
3684 return ErrIntOverflowGenerated
3685 }
3686 if iNdEx >= l {
3687 return io.ErrUnexpectedEOF
3688 }
3689 b := dAtA[iNdEx]
3690 iNdEx++
3691 stringLen |= (uint64(b) & 0x7F) << shift
3692 if b < 0x80 {
3693 break
3694 }
3695 }
3696 intStringLen := int(stringLen)
3697 if intStringLen < 0 {
3698 return ErrInvalidLengthGenerated
3699 }
3700 postIndex := iNdEx + intStringLen
3701 if postIndex > l {
3702 return io.ErrUnexpectedEOF
3703 }
3704 m.Name = k8s_io_api_core_v1.ResourceName(dAtA[iNdEx:postIndex])
3705 iNdEx = postIndex
3706 case 2:
3707 if wireType != 0 {
3708 return fmt.Errorf("proto: wrong wireType = %d for field TargetAverageUtilization", wireType)
3709 }
3710 var v int32
3711 for shift := uint(0); ; shift += 7 {
3712 if shift >= 64 {
3713 return ErrIntOverflowGenerated
3714 }
3715 if iNdEx >= l {
3716 return io.ErrUnexpectedEOF
3717 }
3718 b := dAtA[iNdEx]
3719 iNdEx++
3720 v |= (int32(b) & 0x7F) << shift
3721 if b < 0x80 {
3722 break
3723 }
3724 }
3725 m.TargetAverageUtilization = &v
3726 case 3:
3727 if wireType != 2 {
3728 return fmt.Errorf("proto: wrong wireType = %d for field TargetAverageValue", wireType)
3729 }
3730 var msglen int
3731 for shift := uint(0); ; shift += 7 {
3732 if shift >= 64 {
3733 return ErrIntOverflowGenerated
3734 }
3735 if iNdEx >= l {
3736 return io.ErrUnexpectedEOF
3737 }
3738 b := dAtA[iNdEx]
3739 iNdEx++
3740 msglen |= (int(b) & 0x7F) << shift
3741 if b < 0x80 {
3742 break
3743 }
3744 }
3745 if msglen < 0 {
3746 return ErrInvalidLengthGenerated
3747 }
3748 postIndex := iNdEx + msglen
3749 if postIndex > l {
3750 return io.ErrUnexpectedEOF
3751 }
3752 if m.TargetAverageValue == nil {
3753 m.TargetAverageValue = &k8s_io_apimachinery_pkg_api_resource.Quantity{}
3754 }
3755 if err := m.TargetAverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3756 return err
3757 }
3758 iNdEx = postIndex
3759 default:
3760 iNdEx = preIndex
3761 skippy, err := skipGenerated(dAtA[iNdEx:])
3762 if err != nil {
3763 return err
3764 }
3765 if skippy < 0 {
3766 return ErrInvalidLengthGenerated
3767 }
3768 if (iNdEx + skippy) > l {
3769 return io.ErrUnexpectedEOF
3770 }
3771 iNdEx += skippy
3772 }
3773 }
3774
3775 if iNdEx > l {
3776 return io.ErrUnexpectedEOF
3777 }
3778 return nil
3779}
3780func (m *ResourceMetricStatus) Unmarshal(dAtA []byte) error {
3781 l := len(dAtA)
3782 iNdEx := 0
3783 for iNdEx < l {
3784 preIndex := iNdEx
3785 var wire uint64
3786 for shift := uint(0); ; shift += 7 {
3787 if shift >= 64 {
3788 return ErrIntOverflowGenerated
3789 }
3790 if iNdEx >= l {
3791 return io.ErrUnexpectedEOF
3792 }
3793 b := dAtA[iNdEx]
3794 iNdEx++
3795 wire |= (uint64(b) & 0x7F) << shift
3796 if b < 0x80 {
3797 break
3798 }
3799 }
3800 fieldNum := int32(wire >> 3)
3801 wireType := int(wire & 0x7)
3802 if wireType == 4 {
3803 return fmt.Errorf("proto: ResourceMetricStatus: wiretype end group for non-group")
3804 }
3805 if fieldNum <= 0 {
3806 return fmt.Errorf("proto: ResourceMetricStatus: illegal tag %d (wire type %d)", fieldNum, wire)
3807 }
3808 switch fieldNum {
3809 case 1:
3810 if wireType != 2 {
3811 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
3812 }
3813 var stringLen uint64
3814 for shift := uint(0); ; shift += 7 {
3815 if shift >= 64 {
3816 return ErrIntOverflowGenerated
3817 }
3818 if iNdEx >= l {
3819 return io.ErrUnexpectedEOF
3820 }
3821 b := dAtA[iNdEx]
3822 iNdEx++
3823 stringLen |= (uint64(b) & 0x7F) << shift
3824 if b < 0x80 {
3825 break
3826 }
3827 }
3828 intStringLen := int(stringLen)
3829 if intStringLen < 0 {
3830 return ErrInvalidLengthGenerated
3831 }
3832 postIndex := iNdEx + intStringLen
3833 if postIndex > l {
3834 return io.ErrUnexpectedEOF
3835 }
3836 m.Name = k8s_io_api_core_v1.ResourceName(dAtA[iNdEx:postIndex])
3837 iNdEx = postIndex
3838 case 2:
3839 if wireType != 0 {
3840 return fmt.Errorf("proto: wrong wireType = %d for field CurrentAverageUtilization", wireType)
3841 }
3842 var v int32
3843 for shift := uint(0); ; shift += 7 {
3844 if shift >= 64 {
3845 return ErrIntOverflowGenerated
3846 }
3847 if iNdEx >= l {
3848 return io.ErrUnexpectedEOF
3849 }
3850 b := dAtA[iNdEx]
3851 iNdEx++
3852 v |= (int32(b) & 0x7F) << shift
3853 if b < 0x80 {
3854 break
3855 }
3856 }
3857 m.CurrentAverageUtilization = &v
3858 case 3:
3859 if wireType != 2 {
3860 return fmt.Errorf("proto: wrong wireType = %d for field CurrentAverageValue", wireType)
3861 }
3862 var msglen int
3863 for shift := uint(0); ; shift += 7 {
3864 if shift >= 64 {
3865 return ErrIntOverflowGenerated
3866 }
3867 if iNdEx >= l {
3868 return io.ErrUnexpectedEOF
3869 }
3870 b := dAtA[iNdEx]
3871 iNdEx++
3872 msglen |= (int(b) & 0x7F) << shift
3873 if b < 0x80 {
3874 break
3875 }
3876 }
3877 if msglen < 0 {
3878 return ErrInvalidLengthGenerated
3879 }
3880 postIndex := iNdEx + msglen
3881 if postIndex > l {
3882 return io.ErrUnexpectedEOF
3883 }
3884 if err := m.CurrentAverageValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3885 return err
3886 }
3887 iNdEx = postIndex
3888 default:
3889 iNdEx = preIndex
3890 skippy, err := skipGenerated(dAtA[iNdEx:])
3891 if err != nil {
3892 return err
3893 }
3894 if skippy < 0 {
3895 return ErrInvalidLengthGenerated
3896 }
3897 if (iNdEx + skippy) > l {
3898 return io.ErrUnexpectedEOF
3899 }
3900 iNdEx += skippy
3901 }
3902 }
3903
3904 if iNdEx > l {
3905 return io.ErrUnexpectedEOF
3906 }
3907 return nil
3908}
3909func (m *Scale) Unmarshal(dAtA []byte) error {
3910 l := len(dAtA)
3911 iNdEx := 0
3912 for iNdEx < l {
3913 preIndex := iNdEx
3914 var wire uint64
3915 for shift := uint(0); ; shift += 7 {
3916 if shift >= 64 {
3917 return ErrIntOverflowGenerated
3918 }
3919 if iNdEx >= l {
3920 return io.ErrUnexpectedEOF
3921 }
3922 b := dAtA[iNdEx]
3923 iNdEx++
3924 wire |= (uint64(b) & 0x7F) << shift
3925 if b < 0x80 {
3926 break
3927 }
3928 }
3929 fieldNum := int32(wire >> 3)
3930 wireType := int(wire & 0x7)
3931 if wireType == 4 {
3932 return fmt.Errorf("proto: Scale: wiretype end group for non-group")
3933 }
3934 if fieldNum <= 0 {
3935 return fmt.Errorf("proto: Scale: illegal tag %d (wire type %d)", fieldNum, wire)
3936 }
3937 switch fieldNum {
3938 case 1:
3939 if wireType != 2 {
3940 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
3941 }
3942 var msglen int
3943 for shift := uint(0); ; shift += 7 {
3944 if shift >= 64 {
3945 return ErrIntOverflowGenerated
3946 }
3947 if iNdEx >= l {
3948 return io.ErrUnexpectedEOF
3949 }
3950 b := dAtA[iNdEx]
3951 iNdEx++
3952 msglen |= (int(b) & 0x7F) << shift
3953 if b < 0x80 {
3954 break
3955 }
3956 }
3957 if msglen < 0 {
3958 return ErrInvalidLengthGenerated
3959 }
3960 postIndex := iNdEx + msglen
3961 if postIndex > l {
3962 return io.ErrUnexpectedEOF
3963 }
3964 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3965 return err
3966 }
3967 iNdEx = postIndex
3968 case 2:
3969 if wireType != 2 {
3970 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
3971 }
3972 var msglen int
3973 for shift := uint(0); ; shift += 7 {
3974 if shift >= 64 {
3975 return ErrIntOverflowGenerated
3976 }
3977 if iNdEx >= l {
3978 return io.ErrUnexpectedEOF
3979 }
3980 b := dAtA[iNdEx]
3981 iNdEx++
3982 msglen |= (int(b) & 0x7F) << shift
3983 if b < 0x80 {
3984 break
3985 }
3986 }
3987 if msglen < 0 {
3988 return ErrInvalidLengthGenerated
3989 }
3990 postIndex := iNdEx + msglen
3991 if postIndex > l {
3992 return io.ErrUnexpectedEOF
3993 }
3994 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3995 return err
3996 }
3997 iNdEx = postIndex
3998 case 3:
3999 if wireType != 2 {
4000 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
4001 }
4002 var msglen int
4003 for shift := uint(0); ; shift += 7 {
4004 if shift >= 64 {
4005 return ErrIntOverflowGenerated
4006 }
4007 if iNdEx >= l {
4008 return io.ErrUnexpectedEOF
4009 }
4010 b := dAtA[iNdEx]
4011 iNdEx++
4012 msglen |= (int(b) & 0x7F) << shift
4013 if b < 0x80 {
4014 break
4015 }
4016 }
4017 if msglen < 0 {
4018 return ErrInvalidLengthGenerated
4019 }
4020 postIndex := iNdEx + msglen
4021 if postIndex > l {
4022 return io.ErrUnexpectedEOF
4023 }
4024 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4025 return err
4026 }
4027 iNdEx = postIndex
4028 default:
4029 iNdEx = preIndex
4030 skippy, err := skipGenerated(dAtA[iNdEx:])
4031 if err != nil {
4032 return err
4033 }
4034 if skippy < 0 {
4035 return ErrInvalidLengthGenerated
4036 }
4037 if (iNdEx + skippy) > l {
4038 return io.ErrUnexpectedEOF
4039 }
4040 iNdEx += skippy
4041 }
4042 }
4043
4044 if iNdEx > l {
4045 return io.ErrUnexpectedEOF
4046 }
4047 return nil
4048}
4049func (m *ScaleSpec) Unmarshal(dAtA []byte) error {
4050 l := len(dAtA)
4051 iNdEx := 0
4052 for iNdEx < l {
4053 preIndex := iNdEx
4054 var wire uint64
4055 for shift := uint(0); ; shift += 7 {
4056 if shift >= 64 {
4057 return ErrIntOverflowGenerated
4058 }
4059 if iNdEx >= l {
4060 return io.ErrUnexpectedEOF
4061 }
4062 b := dAtA[iNdEx]
4063 iNdEx++
4064 wire |= (uint64(b) & 0x7F) << shift
4065 if b < 0x80 {
4066 break
4067 }
4068 }
4069 fieldNum := int32(wire >> 3)
4070 wireType := int(wire & 0x7)
4071 if wireType == 4 {
4072 return fmt.Errorf("proto: ScaleSpec: wiretype end group for non-group")
4073 }
4074 if fieldNum <= 0 {
4075 return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire)
4076 }
4077 switch fieldNum {
4078 case 1:
4079 if wireType != 0 {
4080 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
4081 }
4082 m.Replicas = 0
4083 for shift := uint(0); ; shift += 7 {
4084 if shift >= 64 {
4085 return ErrIntOverflowGenerated
4086 }
4087 if iNdEx >= l {
4088 return io.ErrUnexpectedEOF
4089 }
4090 b := dAtA[iNdEx]
4091 iNdEx++
4092 m.Replicas |= (int32(b) & 0x7F) << shift
4093 if b < 0x80 {
4094 break
4095 }
4096 }
4097 default:
4098 iNdEx = preIndex
4099 skippy, err := skipGenerated(dAtA[iNdEx:])
4100 if err != nil {
4101 return err
4102 }
4103 if skippy < 0 {
4104 return ErrInvalidLengthGenerated
4105 }
4106 if (iNdEx + skippy) > l {
4107 return io.ErrUnexpectedEOF
4108 }
4109 iNdEx += skippy
4110 }
4111 }
4112
4113 if iNdEx > l {
4114 return io.ErrUnexpectedEOF
4115 }
4116 return nil
4117}
4118func (m *ScaleStatus) Unmarshal(dAtA []byte) error {
4119 l := len(dAtA)
4120 iNdEx := 0
4121 for iNdEx < l {
4122 preIndex := iNdEx
4123 var wire uint64
4124 for shift := uint(0); ; shift += 7 {
4125 if shift >= 64 {
4126 return ErrIntOverflowGenerated
4127 }
4128 if iNdEx >= l {
4129 return io.ErrUnexpectedEOF
4130 }
4131 b := dAtA[iNdEx]
4132 iNdEx++
4133 wire |= (uint64(b) & 0x7F) << shift
4134 if b < 0x80 {
4135 break
4136 }
4137 }
4138 fieldNum := int32(wire >> 3)
4139 wireType := int(wire & 0x7)
4140 if wireType == 4 {
4141 return fmt.Errorf("proto: ScaleStatus: wiretype end group for non-group")
4142 }
4143 if fieldNum <= 0 {
4144 return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire)
4145 }
4146 switch fieldNum {
4147 case 1:
4148 if wireType != 0 {
4149 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
4150 }
4151 m.Replicas = 0
4152 for shift := uint(0); ; shift += 7 {
4153 if shift >= 64 {
4154 return ErrIntOverflowGenerated
4155 }
4156 if iNdEx >= l {
4157 return io.ErrUnexpectedEOF
4158 }
4159 b := dAtA[iNdEx]
4160 iNdEx++
4161 m.Replicas |= (int32(b) & 0x7F) << shift
4162 if b < 0x80 {
4163 break
4164 }
4165 }
4166 case 2:
4167 if wireType != 2 {
4168 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
4169 }
4170 var stringLen uint64
4171 for shift := uint(0); ; shift += 7 {
4172 if shift >= 64 {
4173 return ErrIntOverflowGenerated
4174 }
4175 if iNdEx >= l {
4176 return io.ErrUnexpectedEOF
4177 }
4178 b := dAtA[iNdEx]
4179 iNdEx++
4180 stringLen |= (uint64(b) & 0x7F) << shift
4181 if b < 0x80 {
4182 break
4183 }
4184 }
4185 intStringLen := int(stringLen)
4186 if intStringLen < 0 {
4187 return ErrInvalidLengthGenerated
4188 }
4189 postIndex := iNdEx + intStringLen
4190 if postIndex > l {
4191 return io.ErrUnexpectedEOF
4192 }
4193 m.Selector = string(dAtA[iNdEx:postIndex])
4194 iNdEx = postIndex
4195 default:
4196 iNdEx = preIndex
4197 skippy, err := skipGenerated(dAtA[iNdEx:])
4198 if err != nil {
4199 return err
4200 }
4201 if skippy < 0 {
4202 return ErrInvalidLengthGenerated
4203 }
4204 if (iNdEx + skippy) > l {
4205 return io.ErrUnexpectedEOF
4206 }
4207 iNdEx += skippy
4208 }
4209 }
4210
4211 if iNdEx > l {
4212 return io.ErrUnexpectedEOF
4213 }
4214 return nil
4215}
4216func skipGenerated(dAtA []byte) (n int, err error) {
4217 l := len(dAtA)
4218 iNdEx := 0
4219 for iNdEx < l {
4220 var wire uint64
4221 for shift := uint(0); ; shift += 7 {
4222 if shift >= 64 {
4223 return 0, ErrIntOverflowGenerated
4224 }
4225 if iNdEx >= l {
4226 return 0, io.ErrUnexpectedEOF
4227 }
4228 b := dAtA[iNdEx]
4229 iNdEx++
4230 wire |= (uint64(b) & 0x7F) << shift
4231 if b < 0x80 {
4232 break
4233 }
4234 }
4235 wireType := int(wire & 0x7)
4236 switch wireType {
4237 case 0:
4238 for shift := uint(0); ; shift += 7 {
4239 if shift >= 64 {
4240 return 0, ErrIntOverflowGenerated
4241 }
4242 if iNdEx >= l {
4243 return 0, io.ErrUnexpectedEOF
4244 }
4245 iNdEx++
4246 if dAtA[iNdEx-1] < 0x80 {
4247 break
4248 }
4249 }
4250 return iNdEx, nil
4251 case 1:
4252 iNdEx += 8
4253 return iNdEx, nil
4254 case 2:
4255 var length int
4256 for shift := uint(0); ; shift += 7 {
4257 if shift >= 64 {
4258 return 0, ErrIntOverflowGenerated
4259 }
4260 if iNdEx >= l {
4261 return 0, io.ErrUnexpectedEOF
4262 }
4263 b := dAtA[iNdEx]
4264 iNdEx++
4265 length |= (int(b) & 0x7F) << shift
4266 if b < 0x80 {
4267 break
4268 }
4269 }
4270 iNdEx += length
4271 if length < 0 {
4272 return 0, ErrInvalidLengthGenerated
4273 }
4274 return iNdEx, nil
4275 case 3:
4276 for {
4277 var innerWire uint64
4278 var start int = iNdEx
4279 for shift := uint(0); ; shift += 7 {
4280 if shift >= 64 {
4281 return 0, ErrIntOverflowGenerated
4282 }
4283 if iNdEx >= l {
4284 return 0, io.ErrUnexpectedEOF
4285 }
4286 b := dAtA[iNdEx]
4287 iNdEx++
4288 innerWire |= (uint64(b) & 0x7F) << shift
4289 if b < 0x80 {
4290 break
4291 }
4292 }
4293 innerWireType := int(innerWire & 0x7)
4294 if innerWireType == 4 {
4295 break
4296 }
4297 next, err := skipGenerated(dAtA[start:])
4298 if err != nil {
4299 return 0, err
4300 }
4301 iNdEx = start + next
4302 }
4303 return iNdEx, nil
4304 case 4:
4305 return iNdEx, nil
4306 case 5:
4307 iNdEx += 4
4308 return iNdEx, nil
4309 default:
4310 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
4311 }
4312 }
4313 panic("unreachable")
4314}
4315
4316var (
4317 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
4318 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
4319)
4320
4321func init() {
4322 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v1/generated.proto", fileDescriptorGenerated)
4323}
4324
4325var fileDescriptorGenerated = []byte{
4326 // 1485 bytes of a gzipped FileDescriptorProto
4327 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0xcb, 0x6f, 0x14, 0x47,
4328 0x13, 0xf7, 0x3e, 0x6c, 0xec, 0x5e, 0x63, 0xf3, 0x35, 0x08, 0x8c, 0xf9, 0xd8, 0xb1, 0xe6, 0x43,
4329 0x88, 0x2f, 0x09, 0x33, 0xb1, 0x21, 0x88, 0x1c, 0xbd, 0x9b, 0x10, 0x50, 0xbc, 0x60, 0xda, 0x86,
4330 0x90, 0x87, 0x22, 0xda, 0xb3, 0xcd, 0xba, 0xf1, 0xce, 0xcc, 0xaa, 0xa7, 0x77, 0x85, 0x91, 0x22,
4331 0x25, 0x87, 0x9c, 0x13, 0x45, 0x4a, 0x94, 0x63, 0xfe, 0x81, 0x9c, 0x39, 0x27, 0x52, 0x24, 0x8e,
4332 0x1c, 0x72, 0xe0, 0x34, 0x0a, 0x93, 0x63, 0xfe, 0x03, 0x4e, 0x51, 0x3f, 0x76, 0x76, 0x66, 0x77,
4333 0x67, 0xfd, 0xc0, 0x58, 0xc9, 0x6d, 0x7a, 0xaa, 0xea, 0x57, 0xdd, 0x55, 0xd5, 0xf5, 0x68, 0x50,
4334 0xd9, 0xba, 0x1a, 0x58, 0xd4, 0xb7, 0xb7, 0xda, 0x1b, 0x84, 0x79, 0x84, 0x93, 0xc0, 0xee, 0x10,
4335 0xaf, 0xee, 0x33, 0x5b, 0x13, 0x70, 0x8b, 0xda, 0xb8, 0xcd, 0xfd, 0xc0, 0xc1, 0x4d, 0xea, 0x35,
4336 0xec, 0xce, 0xa2, 0xdd, 0x20, 0x1e, 0x61, 0x98, 0x93, 0xba, 0xd5, 0x62, 0x3e, 0xf7, 0xe1, 0x69,
4337 0xc5, 0x6a, 0xe1, 0x16, 0xb5, 0x12, 0xac, 0x56, 0x67, 0x71, 0xfe, 0x62, 0x83, 0xf2, 0xcd, 0xf6,
4338 0x86, 0xe5, 0xf8, 0xae, 0xdd, 0xf0, 0x1b, 0xbe, 0x2d, 0x25, 0x36, 0xda, 0x0f, 0xe4, 0x4a, 0x2e,
4339 0xe4, 0x97, 0x42, 0x9a, 0x37, 0x13, 0x4a, 0x1d, 0x9f, 0x91, 0x21, 0xda, 0xe6, 0x2f, 0xf7, 0x78,
4340 0x5c, 0xec, 0x6c, 0x52, 0x8f, 0xb0, 0x6d, 0xbb, 0xb5, 0xd5, 0x90, 0x42, 0x8c, 0x04, 0x7e, 0x9b,
4341 0x39, 0x64, 0x4f, 0x52, 0x81, 0xed, 0x12, 0x8e, 0x87, 0xe9, 0xb2, 0xb3, 0xa4, 0x58, 0xdb, 0xe3,
4342 0xd4, 0x1d, 0x54, 0x73, 0x65, 0x27, 0x81, 0xc0, 0xd9, 0x24, 0x2e, 0x1e, 0x90, 0xbb, 0x94, 0x25,
4343 0xd7, 0xe6, 0xb4, 0x69, 0x53, 0x8f, 0x07, 0x9c, 0xf5, 0x0b, 0x99, 0xdf, 0xe7, 0xc0, 0x99, 0x2a,
4344 0xf3, 0x83, 0xe0, 0x2e, 0x61, 0x01, 0xf5, 0xbd, 0x5b, 0x1b, 0x0f, 0x89, 0xc3, 0x11, 0x79, 0x40,
4345 0x18, 0xf1, 0x1c, 0x02, 0x17, 0x40, 0x71, 0x8b, 0x7a, 0xf5, 0xb9, 0xdc, 0x42, 0xee, 0xc2, 0x54,
4346 0x65, 0xfa, 0x69, 0x68, 0x8c, 0x45, 0xa1, 0x51, 0xfc, 0x90, 0x7a, 0x75, 0x24, 0x29, 0x82, 0xc3,
4347 0xc3, 0x2e, 0x99, 0xcb, 0xa7, 0x39, 0x6e, 0x62, 0x97, 0x20, 0x49, 0x81, 0x4b, 0x00, 0xe0, 0x16,
4348 0xd5, 0x0a, 0xe6, 0x0a, 0x92, 0x0f, 0x6a, 0x3e, 0xb0, 0xbc, 0x7a, 0x43, 0x53, 0x50, 0x82, 0xcb,
4349 0xfc, 0xa1, 0x00, 0x4e, 0xbc, 0xff, 0x88, 0x13, 0xe6, 0xe1, 0x66, 0x8d, 0x70, 0x46, 0x9d, 0x35,
4350 0xe9, 0x14, 0x01, 0xe6, 0xca, 0xb5, 0x50, 0xa0, 0xb7, 0x15, 0x83, 0xd5, 0x62, 0x0a, 0x4a, 0x70,
4351 0x41, 0x1f, 0xcc, 0xa8, 0xd5, 0x1a, 0x69, 0x12, 0x87, 0xfb, 0x4c, 0x6e, 0xb6, 0xb4, 0x74, 0xc9,
4352 0xea, 0x45, 0x5d, 0x6c, 0x32, 0xab, 0xb5, 0xd5, 0x10, 0x3f, 0x02, 0x4b, 0x78, 0xd4, 0xea, 0x2c,
4353 0x5a, 0x2b, 0x78, 0x83, 0x34, 0xbb, 0xa2, 0x15, 0x18, 0x85, 0xc6, 0x4c, 0x2d, 0x05, 0x87, 0xfa,
4354 0xe0, 0x21, 0x06, 0x25, 0x8e, 0x59, 0x83, 0xf0, 0xbb, 0xb8, 0xd9, 0x26, 0xf2, 0xc8, 0xa5, 0x25,
4355 0x6b, 0x94, 0x36, 0xab, 0x1b, 0x75, 0xd6, 0xed, 0x36, 0xf6, 0x38, 0xe5, 0xdb, 0x95, 0xd9, 0x28,
4356 0x34, 0x4a, 0xeb, 0x3d, 0x18, 0x94, 0xc4, 0x84, 0x1d, 0x00, 0xd5, 0x72, 0xb9, 0x43, 0x18, 0x6e,
4357 0x10, 0xa5, 0xa9, 0xb8, 0x2f, 0x4d, 0x27, 0xa3, 0xd0, 0x80, 0xeb, 0x03, 0x68, 0x68, 0x88, 0x06,
4358 0xf3, 0xa7, 0x41, 0xc7, 0x70, 0xcc, 0xdb, 0xc1, 0xbf, 0xc3, 0x31, 0x9b, 0x60, 0xda, 0x69, 0x33,
4359 0x46, 0xbc, 0x57, 0xf2, 0xcc, 0x09, 0x7d, 0xac, 0xe9, 0x6a, 0x02, 0x0b, 0xa5, 0x90, 0xe1, 0x36,
4360 0x38, 0xae, 0xd7, 0x07, 0xe0, 0xa0, 0x53, 0x51, 0x68, 0x1c, 0xaf, 0x0e, 0xc2, 0xa1, 0x61, 0x3a,
4361 0xcc, 0x27, 0x79, 0x70, 0xea, 0xba, 0xcf, 0xe8, 0x63, 0xdf, 0xe3, 0xb8, 0xb9, 0xea, 0xd7, 0x97,
4362 0x75, 0x42, 0x25, 0x0c, 0xde, 0x07, 0x93, 0xc2, 0x7a, 0x75, 0xcc, 0xb1, 0xf4, 0x51, 0x69, 0xe9,
4363 0xed, 0xdd, 0xd9, 0x5a, 0x25, 0x86, 0x1a, 0xe1, 0xb8, 0xe7, 0xd5, 0xde, 0x3f, 0x14, 0xa3, 0xc2,
4364 0x7b, 0xa0, 0x18, 0xb4, 0x88, 0xa3, 0x3d, 0x79, 0xc5, 0xca, 0x4c, 0xec, 0x56, 0xc6, 0x1e, 0xd7,
4365 0x5a, 0xc4, 0xe9, 0xe5, 0x11, 0xb1, 0x42, 0x12, 0x11, 0xde, 0x07, 0x13, 0x81, 0x8c, 0x35, 0xed,
4366 0xb6, 0xab, 0xfb, 0xc0, 0x96, 0xf2, 0x95, 0x19, 0x8d, 0x3e, 0xa1, 0xd6, 0x48, 0xe3, 0x9a, 0x5f,
4367 0x17, 0xc0, 0x42, 0x86, 0x64, 0xd5, 0xf7, 0xea, 0x94, 0x53, 0xdf, 0x83, 0xd7, 0x41, 0x91, 0x6f,
4368 0xb7, 0xba, 0x21, 0x7e, 0xb9, 0xbb, 0xd1, 0xf5, 0xed, 0x16, 0x79, 0x19, 0x1a, 0xe7, 0x76, 0x92,
4369 0x17, 0x7c, 0x48, 0x22, 0xc0, 0x95, 0xf8, 0x40, 0xf9, 0x14, 0x96, 0xde, 0xd6, 0xcb, 0xd0, 0x18,
4370 0x52, 0xcc, 0xac, 0x18, 0x29, 0xbd, 0x79, 0x91, 0x11, 0x9a, 0x38, 0xe0, 0xeb, 0x0c, 0x7b, 0x81,
4371 0xd2, 0x44, 0xdd, 0x6e, 0x84, 0xbf, 0xb1, 0x3b, 0x27, 0x0b, 0x89, 0xca, 0xbc, 0xde, 0x05, 0x5c,
4372 0x19, 0x40, 0x43, 0x43, 0x34, 0xc0, 0xf3, 0x60, 0x82, 0x11, 0x1c, 0xf8, 0x9e, 0x0c, 0xee, 0xa9,
4373 0x9e, 0x71, 0x91, 0xfc, 0x8b, 0x34, 0x15, 0xfe, 0x1f, 0x1c, 0x71, 0x49, 0x10, 0xe0, 0x06, 0x99,
4374 0x1b, 0x97, 0x8c, 0xb3, 0x9a, 0xf1, 0x48, 0x4d, 0xfd, 0x46, 0x5d, 0xba, 0xf9, 0x7b, 0x0e, 0x9c,
4375 0xc9, 0xb0, 0xe3, 0x0a, 0x0d, 0x38, 0xfc, 0x6c, 0x20, 0x8a, 0xad, 0x5d, 0x66, 0x0c, 0x1a, 0xa8,
4376 0x18, 0x3e, 0xa6, 0x75, 0x4f, 0x76, 0xff, 0x24, 0x22, 0xf8, 0x23, 0x30, 0x4e, 0x39, 0x71, 0x85,
4377 0x57, 0x0a, 0x17, 0x4a, 0x4b, 0x4b, 0x7b, 0x0f, 0xb3, 0xca, 0x51, 0x0d, 0x3f, 0x7e, 0x43, 0x00,
4378 0x21, 0x85, 0x67, 0xfe, 0x95, 0xcf, 0x3c, 0x96, 0x08, 0x73, 0xd8, 0x01, 0x33, 0x72, 0xa5, 0x52,
4379 0x31, 0x22, 0x0f, 0xf4, 0xe1, 0x46, 0x5d, 0xa2, 0x11, 0xc5, 0xbb, 0x72, 0x52, 0xef, 0x62, 0x66,
4380 0x2d, 0x85, 0x8a, 0xfa, 0xb4, 0xc0, 0x45, 0x50, 0x72, 0xa9, 0x87, 0x48, 0xab, 0x49, 0x1d, 0xac,
4381 0x82, 0x71, 0x5c, 0x95, 0x9f, 0x5a, 0xef, 0x37, 0x4a, 0xf2, 0xc0, 0x77, 0x40, 0xc9, 0xc5, 0x8f,
4382 0x62, 0x91, 0x82, 0x14, 0x39, 0xae, 0xf5, 0x95, 0x6a, 0x3d, 0x12, 0x4a, 0xf2, 0xc1, 0x87, 0xa0,
4383 0xac, 0x6a, 0x4a, 0x75, 0xf5, 0xce, 0x1d, 0x4e, 0x9b, 0xf4, 0x31, 0x16, 0x71, 0xb4, 0x4a, 0x98,
4384 0x43, 0x3c, 0x2e, 0x42, 0xa3, 0x28, 0x91, 0xcc, 0x28, 0x34, 0xca, 0xeb, 0x23, 0x39, 0xd1, 0x0e,
4385 0x48, 0xe6, 0x2f, 0x05, 0x70, 0x76, 0x64, 0x1a, 0x80, 0xd7, 0x00, 0xf4, 0x37, 0x02, 0xc2, 0x3a,
4386 0xa4, 0xfe, 0x81, 0xea, 0x8b, 0x44, 0x83, 0x22, 0x6c, 0x5e, 0x50, 0x35, 0xf1, 0xd6, 0x00, 0x15,
4387 0x0d, 0x91, 0x80, 0x0e, 0x38, 0x2a, 0xee, 0x85, 0xb2, 0x32, 0xd5, 0xbd, 0xd0, 0xde, 0x2e, 0xdd,
4388 0x7f, 0xa2, 0xd0, 0x38, 0xba, 0x92, 0x04, 0x41, 0x69, 0x4c, 0xb8, 0x0c, 0x66, 0x75, 0xb2, 0xef,
4389 0xb3, 0xfa, 0x29, 0x6d, 0xf5, 0xd9, 0x6a, 0x9a, 0x8c, 0xfa, 0xf9, 0x05, 0x44, 0x9d, 0x04, 0x94,
4390 0x91, 0x7a, 0x0c, 0x51, 0x4c, 0x43, 0xbc, 0x97, 0x26, 0xa3, 0x7e, 0x7e, 0xe8, 0x02, 0x43, 0xa3,
4391 0x66, 0x7a, 0x70, 0x5c, 0x42, 0xfe, 0x2f, 0x0a, 0x0d, 0xa3, 0x3a, 0x9a, 0x15, 0xed, 0x84, 0x25,
4392 0xda, 0x40, 0xdd, 0x3b, 0xc8, 0x0b, 0x72, 0x39, 0x95, 0x7a, 0x17, 0xfa, 0x52, 0xef, 0xb1, 0x64,
4393 0xa3, 0x98, 0x48, 0xb3, 0xb7, 0xc1, 0x84, 0x2f, 0x6f, 0x86, 0xf6, 0xcb, 0xc5, 0x11, 0xd7, 0x29,
4394 0x2e, 0x69, 0x31, 0x50, 0x05, 0x88, 0x5c, 0xa6, 0xaf, 0x96, 0x06, 0x82, 0x37, 0x40, 0xb1, 0xe5,
4395 0xd7, 0xbb, 0x85, 0xe8, 0xcd, 0x11, 0x80, 0xab, 0x7e, 0x3d, 0x48, 0xc1, 0x4d, 0x8a, 0x1d, 0x8b,
4396 0xbf, 0x48, 0x42, 0xc0, 0x8f, 0xc1, 0x64, 0xb7, 0xe0, 0xeb, 0xee, 0xc0, 0x1e, 0x01, 0x87, 0x34,
4397 0x6b, 0x0a, 0x72, 0x5a, 0x24, 0xb2, 0x2e, 0x05, 0xc5, 0x70, 0x02, 0x9a, 0xe8, 0x56, 0x4d, 0x7a,
4398 0x65, 0x34, 0xf4, 0xb0, 0x76, 0x5b, 0x41, 0x77, 0x29, 0x28, 0x86, 0x33, 0x7f, 0x2c, 0x80, 0xe9,
4399 0x54, 0xfb, 0x77, 0xc8, 0xae, 0x51, 0x75, 0xfc, 0xc0, 0x5c, 0xa3, 0xe0, 0x0e, 0xd4, 0x35, 0x0a,
4400 0xf2, 0xb5, 0xb8, 0x26, 0x01, 0x3d, 0xc4, 0x35, 0xdf, 0xe4, 0x01, 0x1c, 0x0c, 0x63, 0xf8, 0x39,
4401 0x98, 0x50, 0x09, 0xf3, 0x15, 0x8b, 0x4a, 0x5c, 0xde, 0x75, 0xfd, 0xd0, 0xa8, 0x7d, 0xfd, 0x7f,
4402 0x7e, 0x57, 0xfd, 0x3f, 0x39, 0x88, 0x39, 0x29, 0xae, 0x3a, 0x59, 0xb3, 0x92, 0xf9, 0x5d, 0xbf,
4403 0x45, 0x54, 0xc8, 0xfe, 0x13, 0x2d, 0x72, 0x68, 0x03, 0x8a, 0xf9, 0x6b, 0x0e, 0x1c, 0xeb, 0x4f,
4404 0x4e, 0xfb, 0x1a, 0xe2, 0x1e, 0x0f, 0x9d, 0x44, 0xf3, 0xfb, 0xda, 0x78, 0xdc, 0x7b, 0xee, 0x72,
4405 0x1a, 0xfd, 0x2d, 0x7d, 0x88, 0xfd, 0x4f, 0xa2, 0x5f, 0x0c, 0x1f, 0xd7, 0xf6, 0x77, 0x8a, 0x33,
4406 0x5a, 0xd9, 0xee, 0x47, 0xb6, 0x9f, 0xf3, 0xe0, 0xc4, 0xb0, 0xd4, 0x0e, 0xab, 0xfa, 0x75, 0x45,
4407 0x9d, 0xc2, 0x4e, 0xbe, 0xae, 0xbc, 0x0c, 0x0d, 0x63, 0xc8, 0x78, 0xd0, 0x85, 0x49, 0x3c, 0xc0,
4408 0xdc, 0x03, 0x73, 0x29, 0xdb, 0x25, 0x6a, 0xad, 0x6e, 0xf6, 0xfe, 0x1b, 0x85, 0xc6, 0xdc, 0x7a,
4409 0x06, 0x0f, 0xca, 0x94, 0xce, 0x78, 0x85, 0x28, 0xbc, 0xf6, 0x57, 0x88, 0x27, 0x83, 0xf6, 0x52,
4410 0xbe, 0x3f, 0x10, 0x7b, 0x7d, 0x0a, 0x4e, 0xa7, 0x9d, 0x34, 0x68, 0xb0, 0xb3, 0x51, 0x68, 0x9c,
4411 0xae, 0x66, 0x31, 0xa1, 0x6c, 0xf9, 0xac, 0x48, 0x2b, 0x1c, 0x52, 0xa4, 0x7d, 0x95, 0x07, 0xe3,
4412 0xb2, 0xa9, 0x3c, 0x84, 0xa7, 0x80, 0x6b, 0xa9, 0xa7, 0x80, 0x73, 0x23, 0xd2, 0xab, 0xdc, 0x51,
4413 0xe6, 0xe0, 0x7f, 0xb3, 0x6f, 0xf0, 0x3f, 0xbf, 0x23, 0xd2, 0xe8, 0x31, 0xff, 0x5d, 0x30, 0x15,
4414 0x2b, 0x84, 0x6f, 0x89, 0x22, 0xaf, 0xbb, 0xe1, 0x9c, 0xf4, 0x6d, 0x3c, 0x1b, 0xc6, 0x6d, 0x70,
4415 0xcc, 0x61, 0x52, 0x50, 0x4a, 0x68, 0xd8, 0x9b, 0xb0, 0xe0, 0x0e, 0x92, 0x0f, 0x5d, 0x53, 0x3d,
4416 0xee, 0xf8, 0xc5, 0x2a, 0xe6, 0xa8, 0x5c, 0x78, 0xfa, 0xa2, 0x3c, 0xf6, 0xec, 0x45, 0x79, 0xec,
4417 0xf9, 0x8b, 0xf2, 0xd8, 0x97, 0x51, 0x39, 0xf7, 0x34, 0x2a, 0xe7, 0x9e, 0x45, 0xe5, 0xdc, 0xf3,
4418 0xa8, 0x9c, 0xfb, 0x23, 0x2a, 0xe7, 0xbe, 0xfd, 0xb3, 0x3c, 0xf6, 0x49, 0xbe, 0xb3, 0xf8, 0x77,
4419 0x00, 0x00, 0x00, 0xff, 0xff, 0x61, 0x55, 0xfd, 0xeb, 0x81, 0x17, 0x00, 0x00,
4420}