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