1/*
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/apps/v1beta1/generated.proto
19
20package v1beta1
21
22import (
23	fmt "fmt"
24
25	io "io"
26
27	proto "github.com/gogo/protobuf/proto"
28	github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
29	k8s_io_api_core_v1 "k8s.io/api/core/v1"
30	v11 "k8s.io/api/core/v1"
31	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
32
33	math "math"
34	math_bits "math/bits"
35	reflect "reflect"
36	strings "strings"
37
38	intstr "k8s.io/apimachinery/pkg/util/intstr"
39)
40
41// Reference imports to suppress errors if they are not otherwise used.
42var _ = proto.Marshal
43var _ = fmt.Errorf
44var _ = math.Inf
45
46// This is a compile-time assertion to ensure that this generated file
47// is compatible with the proto package it is being compiled against.
48// A compilation error at this line likely means your copy of the
49// proto package needs to be updated.
50const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
51
52func (m *ControllerRevision) Reset()      { *m = ControllerRevision{} }
53func (*ControllerRevision) ProtoMessage() {}
54func (*ControllerRevision) Descriptor() ([]byte, []int) {
55	return fileDescriptor_2a07313e8f66e805, []int{0}
56}
57func (m *ControllerRevision) XXX_Unmarshal(b []byte) error {
58	return m.Unmarshal(b)
59}
60func (m *ControllerRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
61	b = b[:cap(b)]
62	n, err := m.MarshalToSizedBuffer(b)
63	if err != nil {
64		return nil, err
65	}
66	return b[:n], nil
67}
68func (m *ControllerRevision) XXX_Merge(src proto.Message) {
69	xxx_messageInfo_ControllerRevision.Merge(m, src)
70}
71func (m *ControllerRevision) XXX_Size() int {
72	return m.Size()
73}
74func (m *ControllerRevision) XXX_DiscardUnknown() {
75	xxx_messageInfo_ControllerRevision.DiscardUnknown(m)
76}
77
78var xxx_messageInfo_ControllerRevision proto.InternalMessageInfo
79
80func (m *ControllerRevisionList) Reset()      { *m = ControllerRevisionList{} }
81func (*ControllerRevisionList) ProtoMessage() {}
82func (*ControllerRevisionList) Descriptor() ([]byte, []int) {
83	return fileDescriptor_2a07313e8f66e805, []int{1}
84}
85func (m *ControllerRevisionList) XXX_Unmarshal(b []byte) error {
86	return m.Unmarshal(b)
87}
88func (m *ControllerRevisionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
89	b = b[:cap(b)]
90	n, err := m.MarshalToSizedBuffer(b)
91	if err != nil {
92		return nil, err
93	}
94	return b[:n], nil
95}
96func (m *ControllerRevisionList) XXX_Merge(src proto.Message) {
97	xxx_messageInfo_ControllerRevisionList.Merge(m, src)
98}
99func (m *ControllerRevisionList) XXX_Size() int {
100	return m.Size()
101}
102func (m *ControllerRevisionList) XXX_DiscardUnknown() {
103	xxx_messageInfo_ControllerRevisionList.DiscardUnknown(m)
104}
105
106var xxx_messageInfo_ControllerRevisionList proto.InternalMessageInfo
107
108func (m *Deployment) Reset()      { *m = Deployment{} }
109func (*Deployment) ProtoMessage() {}
110func (*Deployment) Descriptor() ([]byte, []int) {
111	return fileDescriptor_2a07313e8f66e805, []int{2}
112}
113func (m *Deployment) XXX_Unmarshal(b []byte) error {
114	return m.Unmarshal(b)
115}
116func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
117	b = b[:cap(b)]
118	n, err := m.MarshalToSizedBuffer(b)
119	if err != nil {
120		return nil, err
121	}
122	return b[:n], nil
123}
124func (m *Deployment) XXX_Merge(src proto.Message) {
125	xxx_messageInfo_Deployment.Merge(m, src)
126}
127func (m *Deployment) XXX_Size() int {
128	return m.Size()
129}
130func (m *Deployment) XXX_DiscardUnknown() {
131	xxx_messageInfo_Deployment.DiscardUnknown(m)
132}
133
134var xxx_messageInfo_Deployment proto.InternalMessageInfo
135
136func (m *DeploymentCondition) Reset()      { *m = DeploymentCondition{} }
137func (*DeploymentCondition) ProtoMessage() {}
138func (*DeploymentCondition) Descriptor() ([]byte, []int) {
139	return fileDescriptor_2a07313e8f66e805, []int{3}
140}
141func (m *DeploymentCondition) XXX_Unmarshal(b []byte) error {
142	return m.Unmarshal(b)
143}
144func (m *DeploymentCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
145	b = b[:cap(b)]
146	n, err := m.MarshalToSizedBuffer(b)
147	if err != nil {
148		return nil, err
149	}
150	return b[:n], nil
151}
152func (m *DeploymentCondition) XXX_Merge(src proto.Message) {
153	xxx_messageInfo_DeploymentCondition.Merge(m, src)
154}
155func (m *DeploymentCondition) XXX_Size() int {
156	return m.Size()
157}
158func (m *DeploymentCondition) XXX_DiscardUnknown() {
159	xxx_messageInfo_DeploymentCondition.DiscardUnknown(m)
160}
161
162var xxx_messageInfo_DeploymentCondition proto.InternalMessageInfo
163
164func (m *DeploymentList) Reset()      { *m = DeploymentList{} }
165func (*DeploymentList) ProtoMessage() {}
166func (*DeploymentList) Descriptor() ([]byte, []int) {
167	return fileDescriptor_2a07313e8f66e805, []int{4}
168}
169func (m *DeploymentList) XXX_Unmarshal(b []byte) error {
170	return m.Unmarshal(b)
171}
172func (m *DeploymentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
173	b = b[:cap(b)]
174	n, err := m.MarshalToSizedBuffer(b)
175	if err != nil {
176		return nil, err
177	}
178	return b[:n], nil
179}
180func (m *DeploymentList) XXX_Merge(src proto.Message) {
181	xxx_messageInfo_DeploymentList.Merge(m, src)
182}
183func (m *DeploymentList) XXX_Size() int {
184	return m.Size()
185}
186func (m *DeploymentList) XXX_DiscardUnknown() {
187	xxx_messageInfo_DeploymentList.DiscardUnknown(m)
188}
189
190var xxx_messageInfo_DeploymentList proto.InternalMessageInfo
191
192func (m *DeploymentRollback) Reset()      { *m = DeploymentRollback{} }
193func (*DeploymentRollback) ProtoMessage() {}
194func (*DeploymentRollback) Descriptor() ([]byte, []int) {
195	return fileDescriptor_2a07313e8f66e805, []int{5}
196}
197func (m *DeploymentRollback) XXX_Unmarshal(b []byte) error {
198	return m.Unmarshal(b)
199}
200func (m *DeploymentRollback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
201	b = b[:cap(b)]
202	n, err := m.MarshalToSizedBuffer(b)
203	if err != nil {
204		return nil, err
205	}
206	return b[:n], nil
207}
208func (m *DeploymentRollback) XXX_Merge(src proto.Message) {
209	xxx_messageInfo_DeploymentRollback.Merge(m, src)
210}
211func (m *DeploymentRollback) XXX_Size() int {
212	return m.Size()
213}
214func (m *DeploymentRollback) XXX_DiscardUnknown() {
215	xxx_messageInfo_DeploymentRollback.DiscardUnknown(m)
216}
217
218var xxx_messageInfo_DeploymentRollback proto.InternalMessageInfo
219
220func (m *DeploymentSpec) Reset()      { *m = DeploymentSpec{} }
221func (*DeploymentSpec) ProtoMessage() {}
222func (*DeploymentSpec) Descriptor() ([]byte, []int) {
223	return fileDescriptor_2a07313e8f66e805, []int{6}
224}
225func (m *DeploymentSpec) XXX_Unmarshal(b []byte) error {
226	return m.Unmarshal(b)
227}
228func (m *DeploymentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
229	b = b[:cap(b)]
230	n, err := m.MarshalToSizedBuffer(b)
231	if err != nil {
232		return nil, err
233	}
234	return b[:n], nil
235}
236func (m *DeploymentSpec) XXX_Merge(src proto.Message) {
237	xxx_messageInfo_DeploymentSpec.Merge(m, src)
238}
239func (m *DeploymentSpec) XXX_Size() int {
240	return m.Size()
241}
242func (m *DeploymentSpec) XXX_DiscardUnknown() {
243	xxx_messageInfo_DeploymentSpec.DiscardUnknown(m)
244}
245
246var xxx_messageInfo_DeploymentSpec proto.InternalMessageInfo
247
248func (m *DeploymentStatus) Reset()      { *m = DeploymentStatus{} }
249func (*DeploymentStatus) ProtoMessage() {}
250func (*DeploymentStatus) Descriptor() ([]byte, []int) {
251	return fileDescriptor_2a07313e8f66e805, []int{7}
252}
253func (m *DeploymentStatus) XXX_Unmarshal(b []byte) error {
254	return m.Unmarshal(b)
255}
256func (m *DeploymentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
257	b = b[:cap(b)]
258	n, err := m.MarshalToSizedBuffer(b)
259	if err != nil {
260		return nil, err
261	}
262	return b[:n], nil
263}
264func (m *DeploymentStatus) XXX_Merge(src proto.Message) {
265	xxx_messageInfo_DeploymentStatus.Merge(m, src)
266}
267func (m *DeploymentStatus) XXX_Size() int {
268	return m.Size()
269}
270func (m *DeploymentStatus) XXX_DiscardUnknown() {
271	xxx_messageInfo_DeploymentStatus.DiscardUnknown(m)
272}
273
274var xxx_messageInfo_DeploymentStatus proto.InternalMessageInfo
275
276func (m *DeploymentStrategy) Reset()      { *m = DeploymentStrategy{} }
277func (*DeploymentStrategy) ProtoMessage() {}
278func (*DeploymentStrategy) Descriptor() ([]byte, []int) {
279	return fileDescriptor_2a07313e8f66e805, []int{8}
280}
281func (m *DeploymentStrategy) XXX_Unmarshal(b []byte) error {
282	return m.Unmarshal(b)
283}
284func (m *DeploymentStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
285	b = b[:cap(b)]
286	n, err := m.MarshalToSizedBuffer(b)
287	if err != nil {
288		return nil, err
289	}
290	return b[:n], nil
291}
292func (m *DeploymentStrategy) XXX_Merge(src proto.Message) {
293	xxx_messageInfo_DeploymentStrategy.Merge(m, src)
294}
295func (m *DeploymentStrategy) XXX_Size() int {
296	return m.Size()
297}
298func (m *DeploymentStrategy) XXX_DiscardUnknown() {
299	xxx_messageInfo_DeploymentStrategy.DiscardUnknown(m)
300}
301
302var xxx_messageInfo_DeploymentStrategy proto.InternalMessageInfo
303
304func (m *RollbackConfig) Reset()      { *m = RollbackConfig{} }
305func (*RollbackConfig) ProtoMessage() {}
306func (*RollbackConfig) Descriptor() ([]byte, []int) {
307	return fileDescriptor_2a07313e8f66e805, []int{9}
308}
309func (m *RollbackConfig) XXX_Unmarshal(b []byte) error {
310	return m.Unmarshal(b)
311}
312func (m *RollbackConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
313	b = b[:cap(b)]
314	n, err := m.MarshalToSizedBuffer(b)
315	if err != nil {
316		return nil, err
317	}
318	return b[:n], nil
319}
320func (m *RollbackConfig) XXX_Merge(src proto.Message) {
321	xxx_messageInfo_RollbackConfig.Merge(m, src)
322}
323func (m *RollbackConfig) XXX_Size() int {
324	return m.Size()
325}
326func (m *RollbackConfig) XXX_DiscardUnknown() {
327	xxx_messageInfo_RollbackConfig.DiscardUnknown(m)
328}
329
330var xxx_messageInfo_RollbackConfig proto.InternalMessageInfo
331
332func (m *RollingUpdateDeployment) Reset()      { *m = RollingUpdateDeployment{} }
333func (*RollingUpdateDeployment) ProtoMessage() {}
334func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
335	return fileDescriptor_2a07313e8f66e805, []int{10}
336}
337func (m *RollingUpdateDeployment) XXX_Unmarshal(b []byte) error {
338	return m.Unmarshal(b)
339}
340func (m *RollingUpdateDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
341	b = b[:cap(b)]
342	n, err := m.MarshalToSizedBuffer(b)
343	if err != nil {
344		return nil, err
345	}
346	return b[:n], nil
347}
348func (m *RollingUpdateDeployment) XXX_Merge(src proto.Message) {
349	xxx_messageInfo_RollingUpdateDeployment.Merge(m, src)
350}
351func (m *RollingUpdateDeployment) XXX_Size() int {
352	return m.Size()
353}
354func (m *RollingUpdateDeployment) XXX_DiscardUnknown() {
355	xxx_messageInfo_RollingUpdateDeployment.DiscardUnknown(m)
356}
357
358var xxx_messageInfo_RollingUpdateDeployment proto.InternalMessageInfo
359
360func (m *RollingUpdateStatefulSetStrategy) Reset()      { *m = RollingUpdateStatefulSetStrategy{} }
361func (*RollingUpdateStatefulSetStrategy) ProtoMessage() {}
362func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int) {
363	return fileDescriptor_2a07313e8f66e805, []int{11}
364}
365func (m *RollingUpdateStatefulSetStrategy) XXX_Unmarshal(b []byte) error {
366	return m.Unmarshal(b)
367}
368func (m *RollingUpdateStatefulSetStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
369	b = b[:cap(b)]
370	n, err := m.MarshalToSizedBuffer(b)
371	if err != nil {
372		return nil, err
373	}
374	return b[:n], nil
375}
376func (m *RollingUpdateStatefulSetStrategy) XXX_Merge(src proto.Message) {
377	xxx_messageInfo_RollingUpdateStatefulSetStrategy.Merge(m, src)
378}
379func (m *RollingUpdateStatefulSetStrategy) XXX_Size() int {
380	return m.Size()
381}
382func (m *RollingUpdateStatefulSetStrategy) XXX_DiscardUnknown() {
383	xxx_messageInfo_RollingUpdateStatefulSetStrategy.DiscardUnknown(m)
384}
385
386var xxx_messageInfo_RollingUpdateStatefulSetStrategy proto.InternalMessageInfo
387
388func (m *Scale) Reset()      { *m = Scale{} }
389func (*Scale) ProtoMessage() {}
390func (*Scale) Descriptor() ([]byte, []int) {
391	return fileDescriptor_2a07313e8f66e805, []int{12}
392}
393func (m *Scale) XXX_Unmarshal(b []byte) error {
394	return m.Unmarshal(b)
395}
396func (m *Scale) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
397	b = b[:cap(b)]
398	n, err := m.MarshalToSizedBuffer(b)
399	if err != nil {
400		return nil, err
401	}
402	return b[:n], nil
403}
404func (m *Scale) XXX_Merge(src proto.Message) {
405	xxx_messageInfo_Scale.Merge(m, src)
406}
407func (m *Scale) XXX_Size() int {
408	return m.Size()
409}
410func (m *Scale) XXX_DiscardUnknown() {
411	xxx_messageInfo_Scale.DiscardUnknown(m)
412}
413
414var xxx_messageInfo_Scale proto.InternalMessageInfo
415
416func (m *ScaleSpec) Reset()      { *m = ScaleSpec{} }
417func (*ScaleSpec) ProtoMessage() {}
418func (*ScaleSpec) Descriptor() ([]byte, []int) {
419	return fileDescriptor_2a07313e8f66e805, []int{13}
420}
421func (m *ScaleSpec) XXX_Unmarshal(b []byte) error {
422	return m.Unmarshal(b)
423}
424func (m *ScaleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
425	b = b[:cap(b)]
426	n, err := m.MarshalToSizedBuffer(b)
427	if err != nil {
428		return nil, err
429	}
430	return b[:n], nil
431}
432func (m *ScaleSpec) XXX_Merge(src proto.Message) {
433	xxx_messageInfo_ScaleSpec.Merge(m, src)
434}
435func (m *ScaleSpec) XXX_Size() int {
436	return m.Size()
437}
438func (m *ScaleSpec) XXX_DiscardUnknown() {
439	xxx_messageInfo_ScaleSpec.DiscardUnknown(m)
440}
441
442var xxx_messageInfo_ScaleSpec proto.InternalMessageInfo
443
444func (m *ScaleStatus) Reset()      { *m = ScaleStatus{} }
445func (*ScaleStatus) ProtoMessage() {}
446func (*ScaleStatus) Descriptor() ([]byte, []int) {
447	return fileDescriptor_2a07313e8f66e805, []int{14}
448}
449func (m *ScaleStatus) XXX_Unmarshal(b []byte) error {
450	return m.Unmarshal(b)
451}
452func (m *ScaleStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
453	b = b[:cap(b)]
454	n, err := m.MarshalToSizedBuffer(b)
455	if err != nil {
456		return nil, err
457	}
458	return b[:n], nil
459}
460func (m *ScaleStatus) XXX_Merge(src proto.Message) {
461	xxx_messageInfo_ScaleStatus.Merge(m, src)
462}
463func (m *ScaleStatus) XXX_Size() int {
464	return m.Size()
465}
466func (m *ScaleStatus) XXX_DiscardUnknown() {
467	xxx_messageInfo_ScaleStatus.DiscardUnknown(m)
468}
469
470var xxx_messageInfo_ScaleStatus proto.InternalMessageInfo
471
472func (m *StatefulSet) Reset()      { *m = StatefulSet{} }
473func (*StatefulSet) ProtoMessage() {}
474func (*StatefulSet) Descriptor() ([]byte, []int) {
475	return fileDescriptor_2a07313e8f66e805, []int{15}
476}
477func (m *StatefulSet) XXX_Unmarshal(b []byte) error {
478	return m.Unmarshal(b)
479}
480func (m *StatefulSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
481	b = b[:cap(b)]
482	n, err := m.MarshalToSizedBuffer(b)
483	if err != nil {
484		return nil, err
485	}
486	return b[:n], nil
487}
488func (m *StatefulSet) XXX_Merge(src proto.Message) {
489	xxx_messageInfo_StatefulSet.Merge(m, src)
490}
491func (m *StatefulSet) XXX_Size() int {
492	return m.Size()
493}
494func (m *StatefulSet) XXX_DiscardUnknown() {
495	xxx_messageInfo_StatefulSet.DiscardUnknown(m)
496}
497
498var xxx_messageInfo_StatefulSet proto.InternalMessageInfo
499
500func (m *StatefulSetCondition) Reset()      { *m = StatefulSetCondition{} }
501func (*StatefulSetCondition) ProtoMessage() {}
502func (*StatefulSetCondition) Descriptor() ([]byte, []int) {
503	return fileDescriptor_2a07313e8f66e805, []int{16}
504}
505func (m *StatefulSetCondition) XXX_Unmarshal(b []byte) error {
506	return m.Unmarshal(b)
507}
508func (m *StatefulSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
509	b = b[:cap(b)]
510	n, err := m.MarshalToSizedBuffer(b)
511	if err != nil {
512		return nil, err
513	}
514	return b[:n], nil
515}
516func (m *StatefulSetCondition) XXX_Merge(src proto.Message) {
517	xxx_messageInfo_StatefulSetCondition.Merge(m, src)
518}
519func (m *StatefulSetCondition) XXX_Size() int {
520	return m.Size()
521}
522func (m *StatefulSetCondition) XXX_DiscardUnknown() {
523	xxx_messageInfo_StatefulSetCondition.DiscardUnknown(m)
524}
525
526var xxx_messageInfo_StatefulSetCondition proto.InternalMessageInfo
527
528func (m *StatefulSetList) Reset()      { *m = StatefulSetList{} }
529func (*StatefulSetList) ProtoMessage() {}
530func (*StatefulSetList) Descriptor() ([]byte, []int) {
531	return fileDescriptor_2a07313e8f66e805, []int{17}
532}
533func (m *StatefulSetList) XXX_Unmarshal(b []byte) error {
534	return m.Unmarshal(b)
535}
536func (m *StatefulSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
537	b = b[:cap(b)]
538	n, err := m.MarshalToSizedBuffer(b)
539	if err != nil {
540		return nil, err
541	}
542	return b[:n], nil
543}
544func (m *StatefulSetList) XXX_Merge(src proto.Message) {
545	xxx_messageInfo_StatefulSetList.Merge(m, src)
546}
547func (m *StatefulSetList) XXX_Size() int {
548	return m.Size()
549}
550func (m *StatefulSetList) XXX_DiscardUnknown() {
551	xxx_messageInfo_StatefulSetList.DiscardUnknown(m)
552}
553
554var xxx_messageInfo_StatefulSetList proto.InternalMessageInfo
555
556func (m *StatefulSetSpec) Reset()      { *m = StatefulSetSpec{} }
557func (*StatefulSetSpec) ProtoMessage() {}
558func (*StatefulSetSpec) Descriptor() ([]byte, []int) {
559	return fileDescriptor_2a07313e8f66e805, []int{18}
560}
561func (m *StatefulSetSpec) XXX_Unmarshal(b []byte) error {
562	return m.Unmarshal(b)
563}
564func (m *StatefulSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
565	b = b[:cap(b)]
566	n, err := m.MarshalToSizedBuffer(b)
567	if err != nil {
568		return nil, err
569	}
570	return b[:n], nil
571}
572func (m *StatefulSetSpec) XXX_Merge(src proto.Message) {
573	xxx_messageInfo_StatefulSetSpec.Merge(m, src)
574}
575func (m *StatefulSetSpec) XXX_Size() int {
576	return m.Size()
577}
578func (m *StatefulSetSpec) XXX_DiscardUnknown() {
579	xxx_messageInfo_StatefulSetSpec.DiscardUnknown(m)
580}
581
582var xxx_messageInfo_StatefulSetSpec proto.InternalMessageInfo
583
584func (m *StatefulSetStatus) Reset()      { *m = StatefulSetStatus{} }
585func (*StatefulSetStatus) ProtoMessage() {}
586func (*StatefulSetStatus) Descriptor() ([]byte, []int) {
587	return fileDescriptor_2a07313e8f66e805, []int{19}
588}
589func (m *StatefulSetStatus) XXX_Unmarshal(b []byte) error {
590	return m.Unmarshal(b)
591}
592func (m *StatefulSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
593	b = b[:cap(b)]
594	n, err := m.MarshalToSizedBuffer(b)
595	if err != nil {
596		return nil, err
597	}
598	return b[:n], nil
599}
600func (m *StatefulSetStatus) XXX_Merge(src proto.Message) {
601	xxx_messageInfo_StatefulSetStatus.Merge(m, src)
602}
603func (m *StatefulSetStatus) XXX_Size() int {
604	return m.Size()
605}
606func (m *StatefulSetStatus) XXX_DiscardUnknown() {
607	xxx_messageInfo_StatefulSetStatus.DiscardUnknown(m)
608}
609
610var xxx_messageInfo_StatefulSetStatus proto.InternalMessageInfo
611
612func (m *StatefulSetUpdateStrategy) Reset()      { *m = StatefulSetUpdateStrategy{} }
613func (*StatefulSetUpdateStrategy) ProtoMessage() {}
614func (*StatefulSetUpdateStrategy) Descriptor() ([]byte, []int) {
615	return fileDescriptor_2a07313e8f66e805, []int{20}
616}
617func (m *StatefulSetUpdateStrategy) XXX_Unmarshal(b []byte) error {
618	return m.Unmarshal(b)
619}
620func (m *StatefulSetUpdateStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
621	b = b[:cap(b)]
622	n, err := m.MarshalToSizedBuffer(b)
623	if err != nil {
624		return nil, err
625	}
626	return b[:n], nil
627}
628func (m *StatefulSetUpdateStrategy) XXX_Merge(src proto.Message) {
629	xxx_messageInfo_StatefulSetUpdateStrategy.Merge(m, src)
630}
631func (m *StatefulSetUpdateStrategy) XXX_Size() int {
632	return m.Size()
633}
634func (m *StatefulSetUpdateStrategy) XXX_DiscardUnknown() {
635	xxx_messageInfo_StatefulSetUpdateStrategy.DiscardUnknown(m)
636}
637
638var xxx_messageInfo_StatefulSetUpdateStrategy proto.InternalMessageInfo
639
640func init() {
641	proto.RegisterType((*ControllerRevision)(nil), "k8s.io.api.apps.v1beta1.ControllerRevision")
642	proto.RegisterType((*ControllerRevisionList)(nil), "k8s.io.api.apps.v1beta1.ControllerRevisionList")
643	proto.RegisterType((*Deployment)(nil), "k8s.io.api.apps.v1beta1.Deployment")
644	proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.api.apps.v1beta1.DeploymentCondition")
645	proto.RegisterType((*DeploymentList)(nil), "k8s.io.api.apps.v1beta1.DeploymentList")
646	proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.api.apps.v1beta1.DeploymentRollback")
647	proto.RegisterMapType((map[string]string)(nil), "k8s.io.api.apps.v1beta1.DeploymentRollback.UpdatedAnnotationsEntry")
648	proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.api.apps.v1beta1.DeploymentSpec")
649	proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.api.apps.v1beta1.DeploymentStatus")
650	proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.api.apps.v1beta1.DeploymentStrategy")
651	proto.RegisterType((*RollbackConfig)(nil), "k8s.io.api.apps.v1beta1.RollbackConfig")
652	proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.api.apps.v1beta1.RollingUpdateDeployment")
653	proto.RegisterType((*RollingUpdateStatefulSetStrategy)(nil), "k8s.io.api.apps.v1beta1.RollingUpdateStatefulSetStrategy")
654	proto.RegisterType((*Scale)(nil), "k8s.io.api.apps.v1beta1.Scale")
655	proto.RegisterType((*ScaleSpec)(nil), "k8s.io.api.apps.v1beta1.ScaleSpec")
656	proto.RegisterType((*ScaleStatus)(nil), "k8s.io.api.apps.v1beta1.ScaleStatus")
657	proto.RegisterMapType((map[string]string)(nil), "k8s.io.api.apps.v1beta1.ScaleStatus.SelectorEntry")
658	proto.RegisterType((*StatefulSet)(nil), "k8s.io.api.apps.v1beta1.StatefulSet")
659	proto.RegisterType((*StatefulSetCondition)(nil), "k8s.io.api.apps.v1beta1.StatefulSetCondition")
660	proto.RegisterType((*StatefulSetList)(nil), "k8s.io.api.apps.v1beta1.StatefulSetList")
661	proto.RegisterType((*StatefulSetSpec)(nil), "k8s.io.api.apps.v1beta1.StatefulSetSpec")
662	proto.RegisterType((*StatefulSetStatus)(nil), "k8s.io.api.apps.v1beta1.StatefulSetStatus")
663	proto.RegisterType((*StatefulSetUpdateStrategy)(nil), "k8s.io.api.apps.v1beta1.StatefulSetUpdateStrategy")
664}
665
666func init() {
667	proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta1/generated.proto", fileDescriptor_2a07313e8f66e805)
668}
669
670var fileDescriptor_2a07313e8f66e805 = []byte{
671	// 1855 bytes of a gzipped FileDescriptorProto
672	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcd, 0x6f, 0x24, 0x47,
673	0x15, 0x77, 0x8f, 0x67, 0xec, 0xf1, 0x73, 0x3c, 0xde, 0x2d, 0x9b, 0xf5, 0xc4, 0x81, 0xb1, 0x35,
674	0x44, 0x89, 0xf3, 0xe1, 0x9e, 0xac, 0x13, 0xa2, 0x64, 0x17, 0x45, 0x78, 0xbc, 0x4b, 0xb2, 0x91,
675	0x8d, 0x9d, 0xb2, 0x1d, 0x44, 0x00, 0x29, 0x35, 0x3d, 0xb5, 0xb3, 0x1d, 0xf7, 0x97, 0xba, 0xab,
676	0x87, 0x1d, 0x71, 0xe1, 0x0f, 0x40, 0x0a, 0x67, 0xfe, 0x0a, 0x8e, 0x08, 0x6e, 0x9c, 0xf6, 0x82,
677	0x14, 0x71, 0x21, 0x27, 0x8b, 0x9d, 0x5c, 0x81, 0x1b, 0x97, 0x95, 0x90, 0x50, 0x55, 0x57, 0x7f,
678	0x77, 0xdb, 0x6d, 0xa4, 0xb5, 0x04, 0xb7, 0xe9, 0x7a, 0xef, 0xfd, 0x5e, 0x7d, 0xbc, 0xaf, 0xdf,
679	0xc0, 0x0f, 0xce, 0xde, 0xf3, 0x54, 0xdd, 0xee, 0x9d, 0xf9, 0x03, 0xea, 0x5a, 0x94, 0x51, 0xaf,
680	0x37, 0xa6, 0xd6, 0xd0, 0x76, 0x7b, 0x52, 0x40, 0x1c, 0xbd, 0x47, 0x1c, 0xc7, 0xeb, 0x8d, 0x6f,
681	0x0f, 0x28, 0x23, 0xb7, 0x7b, 0x23, 0x6a, 0x51, 0x97, 0x30, 0x3a, 0x54, 0x1d, 0xd7, 0x66, 0x36,
682	0x5a, 0x0b, 0x14, 0x55, 0xe2, 0xe8, 0x2a, 0x57, 0x54, 0xa5, 0xe2, 0xfa, 0xf6, 0x48, 0x67, 0x8f,
683	0xfc, 0x81, 0xaa, 0xd9, 0x66, 0x6f, 0x64, 0x8f, 0xec, 0x9e, 0xd0, 0x1f, 0xf8, 0x0f, 0xc5, 0x97,
684	0xf8, 0x10, 0xbf, 0x02, 0x9c, 0xf5, 0x6e, 0xc2, 0xa1, 0x66, 0xbb, 0xb4, 0x37, 0xce, 0xf9, 0x5a,
685	0x7f, 0x27, 0xd6, 0x31, 0x89, 0xf6, 0x48, 0xb7, 0xa8, 0x3b, 0xe9, 0x39, 0x67, 0x23, 0xbe, 0xe0,
686	0xf5, 0x4c, 0xca, 0x48, 0x91, 0x55, 0xaf, 0xcc, 0xca, 0xf5, 0x2d, 0xa6, 0x9b, 0x34, 0x67, 0xf0,
687	0xee, 0x65, 0x06, 0x9e, 0xf6, 0x88, 0x9a, 0x24, 0x67, 0xf7, 0x76, 0x99, 0x9d, 0xcf, 0x74, 0xa3,
688	0xa7, 0x5b, 0xcc, 0x63, 0x6e, 0xd6, 0xa8, 0xfb, 0x2f, 0x05, 0xd0, 0x9e, 0x6d, 0x31, 0xd7, 0x36,
689	0x0c, 0xea, 0x62, 0x3a, 0xd6, 0x3d, 0xdd, 0xb6, 0xd0, 0xe7, 0xd0, 0xe4, 0xe7, 0x19, 0x12, 0x46,
690	0xda, 0xca, 0xa6, 0xb2, 0xb5, 0xb8, 0xf3, 0x96, 0x1a, 0xdf, 0x74, 0x04, 0xaf, 0x3a, 0x67, 0x23,
691	0xbe, 0xe0, 0xa9, 0x5c, 0x5b, 0x1d, 0xdf, 0x56, 0x0f, 0x07, 0x5f, 0x50, 0x8d, 0x1d, 0x50, 0x46,
692	0xfa, 0xe8, 0xc9, 0xf9, 0xc6, 0xcc, 0xf4, 0x7c, 0x03, 0xe2, 0x35, 0x1c, 0xa1, 0xa2, 0x43, 0xa8,
693	0x0b, 0xf4, 0x9a, 0x40, 0xdf, 0x2e, 0x45, 0x97, 0x87, 0x56, 0x31, 0xf9, 0xc5, 0xfd, 0xc7, 0x8c,
694	0x5a, 0x7c, 0x7b, 0xfd, 0x17, 0x24, 0x74, 0xfd, 0x1e, 0x61, 0x04, 0x0b, 0x20, 0xf4, 0x26, 0x34,
695	0x5d, 0xb9, 0xfd, 0xf6, 0xec, 0xa6, 0xb2, 0x35, 0xdb, 0xbf, 0x21, 0xb5, 0x9a, 0xe1, 0xb1, 0x70,
696	0xa4, 0xd1, 0x7d, 0xa2, 0xc0, 0xad, 0xfc, 0xb9, 0xf7, 0x75, 0x8f, 0xa1, 0x9f, 0xe5, 0xce, 0xae,
697	0x56, 0x3b, 0x3b, 0xb7, 0x16, 0x27, 0x8f, 0x1c, 0x87, 0x2b, 0x89, 0x73, 0x1f, 0x41, 0x43, 0x67,
698	0xd4, 0xf4, 0xda, 0xb5, 0xcd, 0xd9, 0xad, 0xc5, 0x9d, 0x37, 0xd4, 0x92, 0x00, 0x56, 0xf3, 0xbb,
699	0xeb, 0x2f, 0x49, 0xdc, 0xc6, 0x03, 0x8e, 0x80, 0x03, 0xa0, 0xee, 0xaf, 0x6b, 0x00, 0xf7, 0xa8,
700	0x63, 0xd8, 0x13, 0x93, 0x5a, 0xec, 0x1a, 0x9e, 0xee, 0x01, 0xd4, 0x3d, 0x87, 0x6a, 0xf2, 0xe9,
701	0x5e, 0x2d, 0x3d, 0x41, 0xbc, 0xa9, 0x63, 0x87, 0x6a, 0xf1, 0xa3, 0xf1, 0x2f, 0x2c, 0x20, 0xd0,
702	0x27, 0x30, 0xe7, 0x31, 0xc2, 0x7c, 0x4f, 0x3c, 0xd9, 0xe2, 0xce, 0x6b, 0x55, 0xc0, 0x84, 0x41,
703	0xbf, 0x25, 0xe1, 0xe6, 0x82, 0x6f, 0x2c, 0x81, 0xba, 0x7f, 0x9d, 0x85, 0x95, 0x58, 0x79, 0xcf,
704	0xb6, 0x86, 0x3a, 0xe3, 0x21, 0x7d, 0x17, 0xea, 0x6c, 0xe2, 0x50, 0x71, 0x27, 0x0b, 0xfd, 0x57,
705	0xc3, 0xcd, 0x9c, 0x4c, 0x1c, 0xfa, 0xec, 0x7c, 0x63, 0xad, 0xc0, 0x84, 0x8b, 0xb0, 0x30, 0x42,
706	0xfb, 0xd1, 0x3e, 0x6b, 0xc2, 0xfc, 0x9d, 0xb4, 0xf3, 0x67, 0xe7, 0x1b, 0x05, 0x05, 0x44, 0x8d,
707	0x90, 0xd2, 0x5b, 0x44, 0x5f, 0x40, 0xcb, 0x20, 0x1e, 0x3b, 0x75, 0x86, 0x84, 0xd1, 0x13, 0xdd,
708	0xa4, 0xed, 0x39, 0x71, 0xfa, 0xd7, 0xab, 0x3d, 0x14, 0xb7, 0xe8, 0xdf, 0x92, 0x3b, 0x68, 0xed,
709	0xa7, 0x90, 0x70, 0x06, 0x19, 0x8d, 0x01, 0xf1, 0x95, 0x13, 0x97, 0x58, 0x5e, 0x70, 0x2a, 0xee,
710	0x6f, 0xfe, 0xca, 0xfe, 0xd6, 0xa5, 0x3f, 0xb4, 0x9f, 0x43, 0xc3, 0x05, 0x1e, 0xd0, 0x2b, 0x30,
711	0xe7, 0x52, 0xe2, 0xd9, 0x56, 0xbb, 0x2e, 0x6e, 0x2c, 0x7a, 0x2e, 0x2c, 0x56, 0xb1, 0x94, 0xa2,
712	0xd7, 0x60, 0xde, 0xa4, 0x9e, 0x47, 0x46, 0xb4, 0xdd, 0x10, 0x8a, 0xcb, 0x52, 0x71, 0xfe, 0x20,
713	0x58, 0xc6, 0xa1, 0xbc, 0xfb, 0x7b, 0x05, 0x5a, 0xf1, 0x33, 0x5d, 0x43, 0xae, 0x7e, 0x94, 0xce,
714	0xd5, 0xef, 0x56, 0x08, 0xce, 0x92, 0x1c, 0xfd, 0x7b, 0x0d, 0x50, 0xac, 0x84, 0x6d, 0xc3, 0x18,
715	0x10, 0xed, 0x0c, 0x6d, 0x42, 0xdd, 0x22, 0x66, 0x18, 0x93, 0x51, 0x82, 0xfc, 0x88, 0x98, 0x14,
716	0x0b, 0x09, 0xfa, 0x52, 0x01, 0xe4, 0x8b, 0xd7, 0x1c, 0xee, 0x5a, 0x96, 0xcd, 0x08, 0xbf, 0xe0,
717	0x70, 0x43, 0x7b, 0x15, 0x36, 0x14, 0xfa, 0x52, 0x4f, 0x73, 0x28, 0xf7, 0x2d, 0xe6, 0x4e, 0xe2,
718	0x87, 0xcd, 0x2b, 0xe0, 0x02, 0xd7, 0xe8, 0xa7, 0x00, 0xae, 0xc4, 0x3c, 0xb1, 0x65, 0xda, 0x96,
719	0xd7, 0x80, 0xd0, 0xfd, 0x9e, 0x6d, 0x3d, 0xd4, 0x47, 0x71, 0x61, 0xc1, 0x11, 0x04, 0x4e, 0xc0,
720	0xad, 0xdf, 0x87, 0xb5, 0x92, 0x7d, 0xa2, 0x1b, 0x30, 0x7b, 0x46, 0x27, 0xc1, 0x55, 0x61, 0xfe,
721	0x13, 0xad, 0x42, 0x63, 0x4c, 0x0c, 0x9f, 0x06, 0x39, 0x89, 0x83, 0x8f, 0x3b, 0xb5, 0xf7, 0x94,
722	0xee, 0xef, 0x1a, 0xc9, 0x48, 0xe1, 0xf5, 0x06, 0x6d, 0xf1, 0xf6, 0xe0, 0x18, 0xba, 0x46, 0x3c,
723	0x81, 0xd1, 0xe8, 0xbf, 0x10, 0xb4, 0x86, 0x60, 0x0d, 0x47, 0x52, 0xf4, 0x73, 0x68, 0x7a, 0xd4,
724	0xa0, 0x1a, 0xb3, 0x5d, 0x59, 0xe2, 0xde, 0xae, 0x18, 0x53, 0x64, 0x40, 0x8d, 0x63, 0x69, 0x1a,
725	0xc0, 0x87, 0x5f, 0x38, 0x82, 0x44, 0x9f, 0x40, 0x93, 0x51, 0xd3, 0x31, 0x08, 0xa3, 0xf2, 0xf6,
726	0x52, 0x71, 0xc5, 0x6b, 0x07, 0x07, 0x3b, 0xb2, 0x87, 0x27, 0x52, 0x4d, 0x54, 0xcf, 0x28, 0x4e,
727	0xc3, 0x55, 0x1c, 0xc1, 0xa0, 0x9f, 0x40, 0xd3, 0x63, 0xbc, 0xab, 0x8f, 0x26, 0x22, 0xdb, 0x2e,
728	0x6a, 0x2b, 0xc9, 0x3a, 0x1a, 0x98, 0xc4, 0xd0, 0xe1, 0x0a, 0x8e, 0xe0, 0xd0, 0x2e, 0x2c, 0x9b,
729	0xba, 0x85, 0x29, 0x19, 0x4e, 0x8e, 0xa9, 0x66, 0x5b, 0x43, 0x4f, 0xa4, 0x69, 0xa3, 0xbf, 0x26,
730	0x8d, 0x96, 0x0f, 0xd2, 0x62, 0x9c, 0xd5, 0x47, 0xfb, 0xb0, 0x1a, 0xb6, 0xdd, 0x8f, 0x74, 0x8f,
731	0xd9, 0xee, 0x64, 0x5f, 0x37, 0x75, 0x26, 0x6a, 0x5e, 0xa3, 0xdf, 0x9e, 0x9e, 0x6f, 0xac, 0xe2,
732	0x02, 0x39, 0x2e, 0xb4, 0xe2, 0x75, 0xc5, 0x21, 0xbe, 0x47, 0x87, 0xa2, 0x86, 0x35, 0xe3, 0xba,
733	0x72, 0x24, 0x56, 0xb1, 0x94, 0xa2, 0x1f, 0xa7, 0xc2, 0xb4, 0x79, 0xb5, 0x30, 0x6d, 0x95, 0x87,
734	0x28, 0x3a, 0x85, 0x35, 0xc7, 0xb5, 0x47, 0x2e, 0xf5, 0xbc, 0x7b, 0x94, 0x0c, 0x0d, 0xdd, 0xa2,
735	0xe1, 0xcd, 0x2c, 0x88, 0x13, 0xbd, 0x34, 0x3d, 0xdf, 0x58, 0x3b, 0x2a, 0x56, 0xc1, 0x65, 0xb6,
736	0xdd, 0x3f, 0xd5, 0xe1, 0x46, 0xb6, 0xc7, 0xa1, 0x8f, 0x01, 0xd9, 0x03, 0x8f, 0xba, 0x63, 0x3a,
737	0xfc, 0x30, 0x18, 0xdc, 0xf8, 0x74, 0xa3, 0x88, 0xe9, 0x26, 0xca, 0xdb, 0xc3, 0x9c, 0x06, 0x2e,
738	0xb0, 0x0a, 0xe6, 0x23, 0x99, 0x00, 0x35, 0xb1, 0xd1, 0xc4, 0x7c, 0x94, 0x4b, 0x82, 0x5d, 0x58,
739	0x96, 0xb9, 0x1f, 0x0a, 0x45, 0xb0, 0x26, 0xde, 0xfd, 0x34, 0x2d, 0xc6, 0x59, 0x7d, 0x74, 0x17,
740	0x96, 0x5c, 0x1e, 0x07, 0x11, 0xc0, 0xbc, 0x00, 0xf8, 0x96, 0x04, 0x58, 0xc2, 0x49, 0x21, 0x4e,
741	0xeb, 0xa2, 0x0f, 0xe1, 0x26, 0x19, 0x13, 0xdd, 0x20, 0x03, 0x83, 0x46, 0x00, 0x75, 0x01, 0xf0,
742	0xa2, 0x04, 0xb8, 0xb9, 0x9b, 0x55, 0xc0, 0x79, 0x1b, 0x74, 0x00, 0x2b, 0xbe, 0x95, 0x87, 0x0a,
743	0x82, 0xf8, 0x25, 0x09, 0xb5, 0x72, 0x9a, 0x57, 0xc1, 0x45, 0x76, 0xe8, 0x73, 0x00, 0x2d, 0xec,
744	0xea, 0x5e, 0x7b, 0x4e, 0x94, 0xe1, 0x37, 0x2b, 0x24, 0x5b, 0x34, 0x0a, 0xc4, 0x25, 0x30, 0x5a,
745	0xf2, 0x70, 0x02, 0x13, 0xdd, 0x81, 0x96, 0x66, 0x1b, 0x86, 0x88, 0xfc, 0x3d, 0xdb, 0xb7, 0x98,
746	0x08, 0xde, 0x46, 0x1f, 0xf1, 0x66, 0xbf, 0x97, 0x92, 0xe0, 0x8c, 0x66, 0xf7, 0x8f, 0x4a, 0xb2,
747	0xcd, 0x84, 0xe9, 0x8c, 0xee, 0xa4, 0x46, 0x9f, 0x57, 0x32, 0xa3, 0xcf, 0xad, 0xbc, 0x45, 0x62,
748	0xf2, 0xd1, 0x61, 0x89, 0x07, 0xbf, 0x6e, 0x8d, 0x82, 0x07, 0x97, 0x25, 0xf1, 0xad, 0x0b, 0x53,
749	0x29, 0xd2, 0x4e, 0x34, 0xc6, 0x9b, 0xe2, 0xcd, 0x93, 0x42, 0x9c, 0x46, 0xee, 0x7e, 0x00, 0xad,
750	0x74, 0x1e, 0xa6, 0x66, 0x7a, 0xe5, 0xd2, 0x99, 0xfe, 0x1b, 0x05, 0xd6, 0x4a, 0xbc, 0x23, 0x03,
751	0x5a, 0x26, 0x79, 0x9c, 0x78, 0xe6, 0x4b, 0x67, 0x63, 0xce, 0x9a, 0xd4, 0x80, 0x35, 0xa9, 0x0f,
752	0x2c, 0x76, 0xe8, 0x1e, 0x33, 0x57, 0xb7, 0x46, 0xc1, 0x3b, 0x1c, 0xa4, 0xb0, 0x70, 0x06, 0x1b,
753	0x7d, 0x06, 0x4d, 0x93, 0x3c, 0x3e, 0xf6, 0xdd, 0x51, 0xd1, 0x7d, 0x55, 0xf3, 0x23, 0xfa, 0xc7,
754	0x81, 0x44, 0xc1, 0x11, 0x5e, 0xf7, 0x10, 0x36, 0x53, 0x87, 0xe4, 0xa5, 0x82, 0x3e, 0xf4, 0x8d,
755	0x63, 0x1a, 0x3f, 0xf8, 0x1b, 0xb0, 0xe0, 0x10, 0x97, 0xe9, 0x51, 0xb9, 0x68, 0xf4, 0x97, 0xa6,
756	0xe7, 0x1b, 0x0b, 0x47, 0xe1, 0x22, 0x8e, 0xe5, 0xdd, 0x7f, 0x2b, 0xd0, 0x38, 0xd6, 0x88, 0x41,
757	0xaf, 0x81, 0x3a, 0xdc, 0x4b, 0x51, 0x87, 0x6e, 0x69, 0x10, 0x89, 0xfd, 0x94, 0xb2, 0x86, 0xfd,
758	0x0c, 0x6b, 0x78, 0xf9, 0x12, 0x9c, 0x8b, 0x09, 0xc3, 0xfb, 0xb0, 0x10, 0xb9, 0x4b, 0x55, 0x49,
759	0xe5, 0xb2, 0x2a, 0xd9, 0xfd, 0x6d, 0x0d, 0x16, 0x13, 0x2e, 0xae, 0x66, 0xcd, 0xaf, 0x3b, 0x31,
760	0x68, 0xf0, 0x4a, 0xb2, 0x53, 0xe5, 0x20, 0x6a, 0x38, 0x54, 0x04, 0xf3, 0x5b, 0xdc, 0xbd, 0xf3,
761	0xb3, 0xc6, 0x07, 0xd0, 0x62, 0xc4, 0x1d, 0x51, 0x16, 0xca, 0xc4, 0x85, 0x2d, 0xc4, 0xe4, 0xe1,
762	0x24, 0x25, 0xc5, 0x19, 0xed, 0xf5, 0xbb, 0xb0, 0x94, 0x72, 0x76, 0xa5, 0x21, 0xec, 0x4b, 0x7e,
763	0x39, 0x71, 0x70, 0x5e, 0x43, 0x74, 0x7d, 0x9c, 0x8a, 0xae, 0xad, 0xf2, 0xcb, 0x4c, 0xa4, 0x4c,
764	0x59, 0x8c, 0xe1, 0x4c, 0x8c, 0xbd, 0x5e, 0x09, 0xed, 0xe2, 0x48, 0xfb, 0x47, 0x0d, 0x56, 0x13,
765	0xda, 0x31, 0x37, 0xfd, 0x7e, 0xaa, 0x40, 0x6f, 0x65, 0x0a, 0x74, 0xbb, 0xc8, 0xe6, 0xb9, 0x91,
766	0xd3, 0x62, 0xc2, 0x38, 0xfb, 0xbf, 0x48, 0x18, 0xff, 0xa0, 0xc0, 0x72, 0xe2, 0xee, 0xae, 0x81,
767	0x31, 0x3e, 0x48, 0x33, 0xc6, 0x97, 0xab, 0x04, 0x4d, 0x09, 0x65, 0xfc, 0x73, 0x23, 0xb5, 0xf9,
768	0xff, 0x7b, 0x12, 0xf3, 0x4b, 0x58, 0x1d, 0xdb, 0x86, 0x6f, 0xd2, 0x3d, 0x83, 0xe8, 0x66, 0xa8,
769	0xc0, 0x87, 0xbe, 0xd9, 0xec, 0x1f, 0x43, 0x11, 0x3c, 0x75, 0x3d, 0xdd, 0x63, 0xd4, 0x62, 0x9f,
770	0xc6, 0x96, 0xfd, 0x6f, 0x4b, 0x27, 0xab, 0x9f, 0x16, 0xc0, 0xe1, 0x42, 0x27, 0xe8, 0x7b, 0xb0,
771	0xc8, 0x07, 0x66, 0x5d, 0xa3, 0x9c, 0x7b, 0xcb, 0xc0, 0x5a, 0x91, 0x40, 0x8b, 0xc7, 0xb1, 0x08,
772	0x27, 0xf5, 0xd0, 0x23, 0x58, 0x71, 0xec, 0xe1, 0x01, 0xb1, 0xc8, 0x88, 0xf2, 0x31, 0xe3, 0xc8,
773	0x36, 0x74, 0x6d, 0x22, 0x98, 0xcd, 0x42, 0xff, 0xdd, 0x70, 0xb8, 0x3c, 0xca, 0xab, 0x3c, 0xe3,
774	0x14, 0x21, 0xbf, 0x2c, 0x92, 0xba, 0x08, 0x12, 0xb9, 0xd0, 0xf2, 0x65, 0xbb, 0x97, 0x44, 0x2f,
775	0xf8, 0x0b, 0x67, 0xa7, 0x4a, 0x84, 0x9d, 0xa6, 0x2c, 0xe3, 0xea, 0x9f, 0x5e, 0xc7, 0x19, 0x0f,
776	0xa5, 0xc4, 0xad, 0xf9, 0xdf, 0x10, 0xb7, 0xee, 0x3f, 0xeb, 0x70, 0x33, 0x57, 0x2a, 0xd1, 0x0f,
777	0x2f, 0x60, 0x38, 0xb7, 0x9e, 0x1b, 0xbb, 0xc9, 0x51, 0x93, 0xd9, 0x2b, 0x50, 0x93, 0x5d, 0x58,
778	0xd6, 0x7c, 0xd7, 0xa5, 0x16, 0xcb, 0x10, 0x93, 0x88, 0x1a, 0xed, 0xa5, 0xc5, 0x38, 0xab, 0x5f,
779	0xc4, 0xae, 0x1a, 0x57, 0x64, 0x57, 0xc9, 0x5d, 0xc8, 0x09, 0x39, 0x08, 0xbb, 0xfc, 0x2e, 0xe4,
780	0xa0, 0x9c, 0xd5, 0xe7, 0xd3, 0x41, 0x80, 0x1a, 0x21, 0xcc, 0xa7, 0xa7, 0x83, 0xd3, 0x94, 0x14,
781	0x67, 0xb4, 0x0b, 0x98, 0xca, 0x42, 0x55, 0xa6, 0x82, 0x48, 0x8a, 0x47, 0x81, 0xc8, 0xf1, 0xed,
782	0x2a, 0xb1, 0x5c, 0x99, 0x48, 0x75, 0xff, 0xa2, 0xc0, 0x8b, 0xa5, 0x49, 0x80, 0x76, 0x53, 0x2d,
783	0x77, 0x3b, 0xd3, 0x72, 0xbf, 0x53, 0x6a, 0x98, 0xe8, 0xbb, 0x6e, 0x31, 0x35, 0x7a, 0xbf, 0x1a,
784	0x35, 0x2a, 0x98, 0xdb, 0x2f, 0xe7, 0x48, 0xfd, 0xed, 0x27, 0x4f, 0x3b, 0x33, 0x5f, 0x3d, 0xed,
785	0xcc, 0x7c, 0xfd, 0xb4, 0x33, 0xf3, 0xab, 0x69, 0x47, 0x79, 0x32, 0xed, 0x28, 0x5f, 0x4d, 0x3b,
786	0xca, 0xd7, 0xd3, 0x8e, 0xf2, 0xb7, 0x69, 0x47, 0xf9, 0xcd, 0x37, 0x9d, 0x99, 0xcf, 0xe6, 0xa5,
787	0xc7, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x99, 0x8d, 0x1e, 0xaf, 0x61, 0x1b, 0x00, 0x00,
788}
789
790func (m *ControllerRevision) Marshal() (dAtA []byte, err error) {
791	size := m.Size()
792	dAtA = make([]byte, size)
793	n, err := m.MarshalToSizedBuffer(dAtA[:size])
794	if err != nil {
795		return nil, err
796	}
797	return dAtA[:n], nil
798}
799
800func (m *ControllerRevision) MarshalTo(dAtA []byte) (int, error) {
801	size := m.Size()
802	return m.MarshalToSizedBuffer(dAtA[:size])
803}
804
805func (m *ControllerRevision) MarshalToSizedBuffer(dAtA []byte) (int, error) {
806	i := len(dAtA)
807	_ = i
808	var l int
809	_ = l
810	i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
811	i--
812	dAtA[i] = 0x18
813	{
814		size, err := m.Data.MarshalToSizedBuffer(dAtA[:i])
815		if err != nil {
816			return 0, err
817		}
818		i -= size
819		i = encodeVarintGenerated(dAtA, i, uint64(size))
820	}
821	i--
822	dAtA[i] = 0x12
823	{
824		size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
825		if err != nil {
826			return 0, err
827		}
828		i -= size
829		i = encodeVarintGenerated(dAtA, i, uint64(size))
830	}
831	i--
832	dAtA[i] = 0xa
833	return len(dAtA) - i, nil
834}
835
836func (m *ControllerRevisionList) Marshal() (dAtA []byte, err error) {
837	size := m.Size()
838	dAtA = make([]byte, size)
839	n, err := m.MarshalToSizedBuffer(dAtA[:size])
840	if err != nil {
841		return nil, err
842	}
843	return dAtA[:n], nil
844}
845
846func (m *ControllerRevisionList) MarshalTo(dAtA []byte) (int, error) {
847	size := m.Size()
848	return m.MarshalToSizedBuffer(dAtA[:size])
849}
850
851func (m *ControllerRevisionList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
852	i := len(dAtA)
853	_ = i
854	var l int
855	_ = l
856	if len(m.Items) > 0 {
857		for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
858			{
859				size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
860				if err != nil {
861					return 0, err
862				}
863				i -= size
864				i = encodeVarintGenerated(dAtA, i, uint64(size))
865			}
866			i--
867			dAtA[i] = 0x12
868		}
869	}
870	{
871		size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
872		if err != nil {
873			return 0, err
874		}
875		i -= size
876		i = encodeVarintGenerated(dAtA, i, uint64(size))
877	}
878	i--
879	dAtA[i] = 0xa
880	return len(dAtA) - i, nil
881}
882
883func (m *Deployment) Marshal() (dAtA []byte, err error) {
884	size := m.Size()
885	dAtA = make([]byte, size)
886	n, err := m.MarshalToSizedBuffer(dAtA[:size])
887	if err != nil {
888		return nil, err
889	}
890	return dAtA[:n], nil
891}
892
893func (m *Deployment) MarshalTo(dAtA []byte) (int, error) {
894	size := m.Size()
895	return m.MarshalToSizedBuffer(dAtA[:size])
896}
897
898func (m *Deployment) MarshalToSizedBuffer(dAtA []byte) (int, error) {
899	i := len(dAtA)
900	_ = i
901	var l int
902	_ = l
903	{
904		size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
905		if err != nil {
906			return 0, err
907		}
908		i -= size
909		i = encodeVarintGenerated(dAtA, i, uint64(size))
910	}
911	i--
912	dAtA[i] = 0x1a
913	{
914		size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
915		if err != nil {
916			return 0, err
917		}
918		i -= size
919		i = encodeVarintGenerated(dAtA, i, uint64(size))
920	}
921	i--
922	dAtA[i] = 0x12
923	{
924		size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
925		if err != nil {
926			return 0, err
927		}
928		i -= size
929		i = encodeVarintGenerated(dAtA, i, uint64(size))
930	}
931	i--
932	dAtA[i] = 0xa
933	return len(dAtA) - i, nil
934}
935
936func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) {
937	size := m.Size()
938	dAtA = make([]byte, size)
939	n, err := m.MarshalToSizedBuffer(dAtA[:size])
940	if err != nil {
941		return nil, err
942	}
943	return dAtA[:n], nil
944}
945
946func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) {
947	size := m.Size()
948	return m.MarshalToSizedBuffer(dAtA[:size])
949}
950
951func (m *DeploymentCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
952	i := len(dAtA)
953	_ = i
954	var l int
955	_ = l
956	{
957		size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
958		if err != nil {
959			return 0, err
960		}
961		i -= size
962		i = encodeVarintGenerated(dAtA, i, uint64(size))
963	}
964	i--
965	dAtA[i] = 0x3a
966	{
967		size, err := m.LastUpdateTime.MarshalToSizedBuffer(dAtA[:i])
968		if err != nil {
969			return 0, err
970		}
971		i -= size
972		i = encodeVarintGenerated(dAtA, i, uint64(size))
973	}
974	i--
975	dAtA[i] = 0x32
976	i -= len(m.Message)
977	copy(dAtA[i:], m.Message)
978	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
979	i--
980	dAtA[i] = 0x2a
981	i -= len(m.Reason)
982	copy(dAtA[i:], m.Reason)
983	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
984	i--
985	dAtA[i] = 0x22
986	i -= len(m.Status)
987	copy(dAtA[i:], m.Status)
988	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
989	i--
990	dAtA[i] = 0x12
991	i -= len(m.Type)
992	copy(dAtA[i:], m.Type)
993	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
994	i--
995	dAtA[i] = 0xa
996	return len(dAtA) - i, nil
997}
998
999func (m *DeploymentList) Marshal() (dAtA []byte, err error) {
1000	size := m.Size()
1001	dAtA = make([]byte, size)
1002	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1003	if err != nil {
1004		return nil, err
1005	}
1006	return dAtA[:n], nil
1007}
1008
1009func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) {
1010	size := m.Size()
1011	return m.MarshalToSizedBuffer(dAtA[:size])
1012}
1013
1014func (m *DeploymentList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1015	i := len(dAtA)
1016	_ = i
1017	var l int
1018	_ = l
1019	if len(m.Items) > 0 {
1020		for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
1021			{
1022				size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
1023				if err != nil {
1024					return 0, err
1025				}
1026				i -= size
1027				i = encodeVarintGenerated(dAtA, i, uint64(size))
1028			}
1029			i--
1030			dAtA[i] = 0x12
1031		}
1032	}
1033	{
1034		size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
1035		if err != nil {
1036			return 0, err
1037		}
1038		i -= size
1039		i = encodeVarintGenerated(dAtA, i, uint64(size))
1040	}
1041	i--
1042	dAtA[i] = 0xa
1043	return len(dAtA) - i, nil
1044}
1045
1046func (m *DeploymentRollback) Marshal() (dAtA []byte, err error) {
1047	size := m.Size()
1048	dAtA = make([]byte, size)
1049	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1050	if err != nil {
1051		return nil, err
1052	}
1053	return dAtA[:n], nil
1054}
1055
1056func (m *DeploymentRollback) MarshalTo(dAtA []byte) (int, error) {
1057	size := m.Size()
1058	return m.MarshalToSizedBuffer(dAtA[:size])
1059}
1060
1061func (m *DeploymentRollback) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1062	i := len(dAtA)
1063	_ = i
1064	var l int
1065	_ = l
1066	{
1067		size, err := m.RollbackTo.MarshalToSizedBuffer(dAtA[:i])
1068		if err != nil {
1069			return 0, err
1070		}
1071		i -= size
1072		i = encodeVarintGenerated(dAtA, i, uint64(size))
1073	}
1074	i--
1075	dAtA[i] = 0x1a
1076	if len(m.UpdatedAnnotations) > 0 {
1077		keysForUpdatedAnnotations := make([]string, 0, len(m.UpdatedAnnotations))
1078		for k := range m.UpdatedAnnotations {
1079			keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, string(k))
1080		}
1081		github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
1082		for iNdEx := len(keysForUpdatedAnnotations) - 1; iNdEx >= 0; iNdEx-- {
1083			v := m.UpdatedAnnotations[string(keysForUpdatedAnnotations[iNdEx])]
1084			baseI := i
1085			i -= len(v)
1086			copy(dAtA[i:], v)
1087			i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
1088			i--
1089			dAtA[i] = 0x12
1090			i -= len(keysForUpdatedAnnotations[iNdEx])
1091			copy(dAtA[i:], keysForUpdatedAnnotations[iNdEx])
1092			i = encodeVarintGenerated(dAtA, i, uint64(len(keysForUpdatedAnnotations[iNdEx])))
1093			i--
1094			dAtA[i] = 0xa
1095			i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
1096			i--
1097			dAtA[i] = 0x12
1098		}
1099	}
1100	i -= len(m.Name)
1101	copy(dAtA[i:], m.Name)
1102	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
1103	i--
1104	dAtA[i] = 0xa
1105	return len(dAtA) - i, nil
1106}
1107
1108func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) {
1109	size := m.Size()
1110	dAtA = make([]byte, size)
1111	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1112	if err != nil {
1113		return nil, err
1114	}
1115	return dAtA[:n], nil
1116}
1117
1118func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) {
1119	size := m.Size()
1120	return m.MarshalToSizedBuffer(dAtA[:size])
1121}
1122
1123func (m *DeploymentSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1124	i := len(dAtA)
1125	_ = i
1126	var l int
1127	_ = l
1128	if m.ProgressDeadlineSeconds != nil {
1129		i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
1130		i--
1131		dAtA[i] = 0x48
1132	}
1133	if m.RollbackTo != nil {
1134		{
1135			size, err := m.RollbackTo.MarshalToSizedBuffer(dAtA[:i])
1136			if err != nil {
1137				return 0, err
1138			}
1139			i -= size
1140			i = encodeVarintGenerated(dAtA, i, uint64(size))
1141		}
1142		i--
1143		dAtA[i] = 0x42
1144	}
1145	i--
1146	if m.Paused {
1147		dAtA[i] = 1
1148	} else {
1149		dAtA[i] = 0
1150	}
1151	i--
1152	dAtA[i] = 0x38
1153	if m.RevisionHistoryLimit != nil {
1154		i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
1155		i--
1156		dAtA[i] = 0x30
1157	}
1158	i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
1159	i--
1160	dAtA[i] = 0x28
1161	{
1162		size, err := m.Strategy.MarshalToSizedBuffer(dAtA[:i])
1163		if err != nil {
1164			return 0, err
1165		}
1166		i -= size
1167		i = encodeVarintGenerated(dAtA, i, uint64(size))
1168	}
1169	i--
1170	dAtA[i] = 0x22
1171	{
1172		size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
1173		if err != nil {
1174			return 0, err
1175		}
1176		i -= size
1177		i = encodeVarintGenerated(dAtA, i, uint64(size))
1178	}
1179	i--
1180	dAtA[i] = 0x1a
1181	if m.Selector != nil {
1182		{
1183			size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
1184			if err != nil {
1185				return 0, err
1186			}
1187			i -= size
1188			i = encodeVarintGenerated(dAtA, i, uint64(size))
1189		}
1190		i--
1191		dAtA[i] = 0x12
1192	}
1193	if m.Replicas != nil {
1194		i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
1195		i--
1196		dAtA[i] = 0x8
1197	}
1198	return len(dAtA) - i, nil
1199}
1200
1201func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) {
1202	size := m.Size()
1203	dAtA = make([]byte, size)
1204	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1205	if err != nil {
1206		return nil, err
1207	}
1208	return dAtA[:n], nil
1209}
1210
1211func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) {
1212	size := m.Size()
1213	return m.MarshalToSizedBuffer(dAtA[:size])
1214}
1215
1216func (m *DeploymentStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1217	i := len(dAtA)
1218	_ = i
1219	var l int
1220	_ = l
1221	if m.CollisionCount != nil {
1222		i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
1223		i--
1224		dAtA[i] = 0x40
1225	}
1226	i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
1227	i--
1228	dAtA[i] = 0x38
1229	if len(m.Conditions) > 0 {
1230		for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
1231			{
1232				size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
1233				if err != nil {
1234					return 0, err
1235				}
1236				i -= size
1237				i = encodeVarintGenerated(dAtA, i, uint64(size))
1238			}
1239			i--
1240			dAtA[i] = 0x32
1241		}
1242	}
1243	i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas))
1244	i--
1245	dAtA[i] = 0x28
1246	i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
1247	i--
1248	dAtA[i] = 0x20
1249	i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
1250	i--
1251	dAtA[i] = 0x18
1252	i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
1253	i--
1254	dAtA[i] = 0x10
1255	i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
1256	i--
1257	dAtA[i] = 0x8
1258	return len(dAtA) - i, nil
1259}
1260
1261func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error) {
1262	size := m.Size()
1263	dAtA = make([]byte, size)
1264	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1265	if err != nil {
1266		return nil, err
1267	}
1268	return dAtA[:n], nil
1269}
1270
1271func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) {
1272	size := m.Size()
1273	return m.MarshalToSizedBuffer(dAtA[:size])
1274}
1275
1276func (m *DeploymentStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1277	i := len(dAtA)
1278	_ = i
1279	var l int
1280	_ = l
1281	if m.RollingUpdate != nil {
1282		{
1283			size, err := m.RollingUpdate.MarshalToSizedBuffer(dAtA[:i])
1284			if err != nil {
1285				return 0, err
1286			}
1287			i -= size
1288			i = encodeVarintGenerated(dAtA, i, uint64(size))
1289		}
1290		i--
1291		dAtA[i] = 0x12
1292	}
1293	i -= len(m.Type)
1294	copy(dAtA[i:], m.Type)
1295	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
1296	i--
1297	dAtA[i] = 0xa
1298	return len(dAtA) - i, nil
1299}
1300
1301func (m *RollbackConfig) Marshal() (dAtA []byte, err error) {
1302	size := m.Size()
1303	dAtA = make([]byte, size)
1304	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1305	if err != nil {
1306		return nil, err
1307	}
1308	return dAtA[:n], nil
1309}
1310
1311func (m *RollbackConfig) MarshalTo(dAtA []byte) (int, error) {
1312	size := m.Size()
1313	return m.MarshalToSizedBuffer(dAtA[:size])
1314}
1315
1316func (m *RollbackConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1317	i := len(dAtA)
1318	_ = i
1319	var l int
1320	_ = l
1321	i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
1322	i--
1323	dAtA[i] = 0x8
1324	return len(dAtA) - i, nil
1325}
1326
1327func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) {
1328	size := m.Size()
1329	dAtA = make([]byte, size)
1330	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1331	if err != nil {
1332		return nil, err
1333	}
1334	return dAtA[:n], nil
1335}
1336
1337func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) {
1338	size := m.Size()
1339	return m.MarshalToSizedBuffer(dAtA[:size])
1340}
1341
1342func (m *RollingUpdateDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1343	i := len(dAtA)
1344	_ = i
1345	var l int
1346	_ = l
1347	if m.MaxSurge != nil {
1348		{
1349			size, err := m.MaxSurge.MarshalToSizedBuffer(dAtA[:i])
1350			if err != nil {
1351				return 0, err
1352			}
1353			i -= size
1354			i = encodeVarintGenerated(dAtA, i, uint64(size))
1355		}
1356		i--
1357		dAtA[i] = 0x12
1358	}
1359	if m.MaxUnavailable != nil {
1360		{
1361			size, err := m.MaxUnavailable.MarshalToSizedBuffer(dAtA[:i])
1362			if err != nil {
1363				return 0, err
1364			}
1365			i -= size
1366			i = encodeVarintGenerated(dAtA, i, uint64(size))
1367		}
1368		i--
1369		dAtA[i] = 0xa
1370	}
1371	return len(dAtA) - i, nil
1372}
1373
1374func (m *RollingUpdateStatefulSetStrategy) Marshal() (dAtA []byte, err error) {
1375	size := m.Size()
1376	dAtA = make([]byte, size)
1377	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1378	if err != nil {
1379		return nil, err
1380	}
1381	return dAtA[:n], nil
1382}
1383
1384func (m *RollingUpdateStatefulSetStrategy) MarshalTo(dAtA []byte) (int, error) {
1385	size := m.Size()
1386	return m.MarshalToSizedBuffer(dAtA[:size])
1387}
1388
1389func (m *RollingUpdateStatefulSetStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1390	i := len(dAtA)
1391	_ = i
1392	var l int
1393	_ = l
1394	if m.Partition != nil {
1395		i = encodeVarintGenerated(dAtA, i, uint64(*m.Partition))
1396		i--
1397		dAtA[i] = 0x8
1398	}
1399	return len(dAtA) - i, nil
1400}
1401
1402func (m *Scale) Marshal() (dAtA []byte, err error) {
1403	size := m.Size()
1404	dAtA = make([]byte, size)
1405	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1406	if err != nil {
1407		return nil, err
1408	}
1409	return dAtA[:n], nil
1410}
1411
1412func (m *Scale) MarshalTo(dAtA []byte) (int, error) {
1413	size := m.Size()
1414	return m.MarshalToSizedBuffer(dAtA[:size])
1415}
1416
1417func (m *Scale) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1418	i := len(dAtA)
1419	_ = i
1420	var l int
1421	_ = l
1422	{
1423		size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
1424		if err != nil {
1425			return 0, err
1426		}
1427		i -= size
1428		i = encodeVarintGenerated(dAtA, i, uint64(size))
1429	}
1430	i--
1431	dAtA[i] = 0x1a
1432	{
1433		size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
1434		if err != nil {
1435			return 0, err
1436		}
1437		i -= size
1438		i = encodeVarintGenerated(dAtA, i, uint64(size))
1439	}
1440	i--
1441	dAtA[i] = 0x12
1442	{
1443		size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
1444		if err != nil {
1445			return 0, err
1446		}
1447		i -= size
1448		i = encodeVarintGenerated(dAtA, i, uint64(size))
1449	}
1450	i--
1451	dAtA[i] = 0xa
1452	return len(dAtA) - i, nil
1453}
1454
1455func (m *ScaleSpec) Marshal() (dAtA []byte, err error) {
1456	size := m.Size()
1457	dAtA = make([]byte, size)
1458	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1459	if err != nil {
1460		return nil, err
1461	}
1462	return dAtA[:n], nil
1463}
1464
1465func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error) {
1466	size := m.Size()
1467	return m.MarshalToSizedBuffer(dAtA[:size])
1468}
1469
1470func (m *ScaleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1471	i := len(dAtA)
1472	_ = i
1473	var l int
1474	_ = l
1475	i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
1476	i--
1477	dAtA[i] = 0x8
1478	return len(dAtA) - i, nil
1479}
1480
1481func (m *ScaleStatus) Marshal() (dAtA []byte, err error) {
1482	size := m.Size()
1483	dAtA = make([]byte, size)
1484	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1485	if err != nil {
1486		return nil, err
1487	}
1488	return dAtA[:n], nil
1489}
1490
1491func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error) {
1492	size := m.Size()
1493	return m.MarshalToSizedBuffer(dAtA[:size])
1494}
1495
1496func (m *ScaleStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1497	i := len(dAtA)
1498	_ = i
1499	var l int
1500	_ = l
1501	i -= len(m.TargetSelector)
1502	copy(dAtA[i:], m.TargetSelector)
1503	i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetSelector)))
1504	i--
1505	dAtA[i] = 0x1a
1506	if len(m.Selector) > 0 {
1507		keysForSelector := make([]string, 0, len(m.Selector))
1508		for k := range m.Selector {
1509			keysForSelector = append(keysForSelector, string(k))
1510		}
1511		github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
1512		for iNdEx := len(keysForSelector) - 1; iNdEx >= 0; iNdEx-- {
1513			v := m.Selector[string(keysForSelector[iNdEx])]
1514			baseI := i
1515			i -= len(v)
1516			copy(dAtA[i:], v)
1517			i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
1518			i--
1519			dAtA[i] = 0x12
1520			i -= len(keysForSelector[iNdEx])
1521			copy(dAtA[i:], keysForSelector[iNdEx])
1522			i = encodeVarintGenerated(dAtA, i, uint64(len(keysForSelector[iNdEx])))
1523			i--
1524			dAtA[i] = 0xa
1525			i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
1526			i--
1527			dAtA[i] = 0x12
1528		}
1529	}
1530	i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
1531	i--
1532	dAtA[i] = 0x8
1533	return len(dAtA) - i, nil
1534}
1535
1536func (m *StatefulSet) Marshal() (dAtA []byte, err error) {
1537	size := m.Size()
1538	dAtA = make([]byte, size)
1539	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1540	if err != nil {
1541		return nil, err
1542	}
1543	return dAtA[:n], nil
1544}
1545
1546func (m *StatefulSet) MarshalTo(dAtA []byte) (int, error) {
1547	size := m.Size()
1548	return m.MarshalToSizedBuffer(dAtA[:size])
1549}
1550
1551func (m *StatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1552	i := len(dAtA)
1553	_ = i
1554	var l int
1555	_ = l
1556	{
1557		size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
1558		if err != nil {
1559			return 0, err
1560		}
1561		i -= size
1562		i = encodeVarintGenerated(dAtA, i, uint64(size))
1563	}
1564	i--
1565	dAtA[i] = 0x1a
1566	{
1567		size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
1568		if err != nil {
1569			return 0, err
1570		}
1571		i -= size
1572		i = encodeVarintGenerated(dAtA, i, uint64(size))
1573	}
1574	i--
1575	dAtA[i] = 0x12
1576	{
1577		size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
1578		if err != nil {
1579			return 0, err
1580		}
1581		i -= size
1582		i = encodeVarintGenerated(dAtA, i, uint64(size))
1583	}
1584	i--
1585	dAtA[i] = 0xa
1586	return len(dAtA) - i, nil
1587}
1588
1589func (m *StatefulSetCondition) Marshal() (dAtA []byte, err error) {
1590	size := m.Size()
1591	dAtA = make([]byte, size)
1592	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1593	if err != nil {
1594		return nil, err
1595	}
1596	return dAtA[:n], nil
1597}
1598
1599func (m *StatefulSetCondition) MarshalTo(dAtA []byte) (int, error) {
1600	size := m.Size()
1601	return m.MarshalToSizedBuffer(dAtA[:size])
1602}
1603
1604func (m *StatefulSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1605	i := len(dAtA)
1606	_ = i
1607	var l int
1608	_ = l
1609	i -= len(m.Message)
1610	copy(dAtA[i:], m.Message)
1611	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
1612	i--
1613	dAtA[i] = 0x2a
1614	i -= len(m.Reason)
1615	copy(dAtA[i:], m.Reason)
1616	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
1617	i--
1618	dAtA[i] = 0x22
1619	{
1620		size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
1621		if err != nil {
1622			return 0, err
1623		}
1624		i -= size
1625		i = encodeVarintGenerated(dAtA, i, uint64(size))
1626	}
1627	i--
1628	dAtA[i] = 0x1a
1629	i -= len(m.Status)
1630	copy(dAtA[i:], m.Status)
1631	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
1632	i--
1633	dAtA[i] = 0x12
1634	i -= len(m.Type)
1635	copy(dAtA[i:], m.Type)
1636	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
1637	i--
1638	dAtA[i] = 0xa
1639	return len(dAtA) - i, nil
1640}
1641
1642func (m *StatefulSetList) Marshal() (dAtA []byte, err error) {
1643	size := m.Size()
1644	dAtA = make([]byte, size)
1645	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1646	if err != nil {
1647		return nil, err
1648	}
1649	return dAtA[:n], nil
1650}
1651
1652func (m *StatefulSetList) MarshalTo(dAtA []byte) (int, error) {
1653	size := m.Size()
1654	return m.MarshalToSizedBuffer(dAtA[:size])
1655}
1656
1657func (m *StatefulSetList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1658	i := len(dAtA)
1659	_ = i
1660	var l int
1661	_ = l
1662	if len(m.Items) > 0 {
1663		for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
1664			{
1665				size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
1666				if err != nil {
1667					return 0, err
1668				}
1669				i -= size
1670				i = encodeVarintGenerated(dAtA, i, uint64(size))
1671			}
1672			i--
1673			dAtA[i] = 0x12
1674		}
1675	}
1676	{
1677		size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
1678		if err != nil {
1679			return 0, err
1680		}
1681		i -= size
1682		i = encodeVarintGenerated(dAtA, i, uint64(size))
1683	}
1684	i--
1685	dAtA[i] = 0xa
1686	return len(dAtA) - i, nil
1687}
1688
1689func (m *StatefulSetSpec) Marshal() (dAtA []byte, err error) {
1690	size := m.Size()
1691	dAtA = make([]byte, size)
1692	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1693	if err != nil {
1694		return nil, err
1695	}
1696	return dAtA[:n], nil
1697}
1698
1699func (m *StatefulSetSpec) MarshalTo(dAtA []byte) (int, error) {
1700	size := m.Size()
1701	return m.MarshalToSizedBuffer(dAtA[:size])
1702}
1703
1704func (m *StatefulSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1705	i := len(dAtA)
1706	_ = i
1707	var l int
1708	_ = l
1709	if m.RevisionHistoryLimit != nil {
1710		i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
1711		i--
1712		dAtA[i] = 0x40
1713	}
1714	{
1715		size, err := m.UpdateStrategy.MarshalToSizedBuffer(dAtA[:i])
1716		if err != nil {
1717			return 0, err
1718		}
1719		i -= size
1720		i = encodeVarintGenerated(dAtA, i, uint64(size))
1721	}
1722	i--
1723	dAtA[i] = 0x3a
1724	i -= len(m.PodManagementPolicy)
1725	copy(dAtA[i:], m.PodManagementPolicy)
1726	i = encodeVarintGenerated(dAtA, i, uint64(len(m.PodManagementPolicy)))
1727	i--
1728	dAtA[i] = 0x32
1729	i -= len(m.ServiceName)
1730	copy(dAtA[i:], m.ServiceName)
1731	i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName)))
1732	i--
1733	dAtA[i] = 0x2a
1734	if len(m.VolumeClaimTemplates) > 0 {
1735		for iNdEx := len(m.VolumeClaimTemplates) - 1; iNdEx >= 0; iNdEx-- {
1736			{
1737				size, err := m.VolumeClaimTemplates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
1738				if err != nil {
1739					return 0, err
1740				}
1741				i -= size
1742				i = encodeVarintGenerated(dAtA, i, uint64(size))
1743			}
1744			i--
1745			dAtA[i] = 0x22
1746		}
1747	}
1748	{
1749		size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
1750		if err != nil {
1751			return 0, err
1752		}
1753		i -= size
1754		i = encodeVarintGenerated(dAtA, i, uint64(size))
1755	}
1756	i--
1757	dAtA[i] = 0x1a
1758	if m.Selector != nil {
1759		{
1760			size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
1761			if err != nil {
1762				return 0, err
1763			}
1764			i -= size
1765			i = encodeVarintGenerated(dAtA, i, uint64(size))
1766		}
1767		i--
1768		dAtA[i] = 0x12
1769	}
1770	if m.Replicas != nil {
1771		i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
1772		i--
1773		dAtA[i] = 0x8
1774	}
1775	return len(dAtA) - i, nil
1776}
1777
1778func (m *StatefulSetStatus) Marshal() (dAtA []byte, err error) {
1779	size := m.Size()
1780	dAtA = make([]byte, size)
1781	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1782	if err != nil {
1783		return nil, err
1784	}
1785	return dAtA[:n], nil
1786}
1787
1788func (m *StatefulSetStatus) MarshalTo(dAtA []byte) (int, error) {
1789	size := m.Size()
1790	return m.MarshalToSizedBuffer(dAtA[:size])
1791}
1792
1793func (m *StatefulSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1794	i := len(dAtA)
1795	_ = i
1796	var l int
1797	_ = l
1798	if len(m.Conditions) > 0 {
1799		for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
1800			{
1801				size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
1802				if err != nil {
1803					return 0, err
1804				}
1805				i -= size
1806				i = encodeVarintGenerated(dAtA, i, uint64(size))
1807			}
1808			i--
1809			dAtA[i] = 0x52
1810		}
1811	}
1812	if m.CollisionCount != nil {
1813		i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
1814		i--
1815		dAtA[i] = 0x48
1816	}
1817	i -= len(m.UpdateRevision)
1818	copy(dAtA[i:], m.UpdateRevision)
1819	i = encodeVarintGenerated(dAtA, i, uint64(len(m.UpdateRevision)))
1820	i--
1821	dAtA[i] = 0x3a
1822	i -= len(m.CurrentRevision)
1823	copy(dAtA[i:], m.CurrentRevision)
1824	i = encodeVarintGenerated(dAtA, i, uint64(len(m.CurrentRevision)))
1825	i--
1826	dAtA[i] = 0x32
1827	i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
1828	i--
1829	dAtA[i] = 0x28
1830	i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentReplicas))
1831	i--
1832	dAtA[i] = 0x20
1833	i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
1834	i--
1835	dAtA[i] = 0x18
1836	i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
1837	i--
1838	dAtA[i] = 0x10
1839	if m.ObservedGeneration != nil {
1840		i = encodeVarintGenerated(dAtA, i, uint64(*m.ObservedGeneration))
1841		i--
1842		dAtA[i] = 0x8
1843	}
1844	return len(dAtA) - i, nil
1845}
1846
1847func (m *StatefulSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
1848	size := m.Size()
1849	dAtA = make([]byte, size)
1850	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1851	if err != nil {
1852		return nil, err
1853	}
1854	return dAtA[:n], nil
1855}
1856
1857func (m *StatefulSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
1858	size := m.Size()
1859	return m.MarshalToSizedBuffer(dAtA[:size])
1860}
1861
1862func (m *StatefulSetUpdateStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1863	i := len(dAtA)
1864	_ = i
1865	var l int
1866	_ = l
1867	if m.RollingUpdate != nil {
1868		{
1869			size, err := m.RollingUpdate.MarshalToSizedBuffer(dAtA[:i])
1870			if err != nil {
1871				return 0, err
1872			}
1873			i -= size
1874			i = encodeVarintGenerated(dAtA, i, uint64(size))
1875		}
1876		i--
1877		dAtA[i] = 0x12
1878	}
1879	i -= len(m.Type)
1880	copy(dAtA[i:], m.Type)
1881	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
1882	i--
1883	dAtA[i] = 0xa
1884	return len(dAtA) - i, nil
1885}
1886
1887func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
1888	offset -= sovGenerated(v)
1889	base := offset
1890	for v >= 1<<7 {
1891		dAtA[offset] = uint8(v&0x7f | 0x80)
1892		v >>= 7
1893		offset++
1894	}
1895	dAtA[offset] = uint8(v)
1896	return base
1897}
1898func (m *ControllerRevision) Size() (n int) {
1899	if m == nil {
1900		return 0
1901	}
1902	var l int
1903	_ = l
1904	l = m.ObjectMeta.Size()
1905	n += 1 + l + sovGenerated(uint64(l))
1906	l = m.Data.Size()
1907	n += 1 + l + sovGenerated(uint64(l))
1908	n += 1 + sovGenerated(uint64(m.Revision))
1909	return n
1910}
1911
1912func (m *ControllerRevisionList) Size() (n int) {
1913	if m == nil {
1914		return 0
1915	}
1916	var l int
1917	_ = l
1918	l = m.ListMeta.Size()
1919	n += 1 + l + sovGenerated(uint64(l))
1920	if len(m.Items) > 0 {
1921		for _, e := range m.Items {
1922			l = e.Size()
1923			n += 1 + l + sovGenerated(uint64(l))
1924		}
1925	}
1926	return n
1927}
1928
1929func (m *Deployment) Size() (n int) {
1930	if m == nil {
1931		return 0
1932	}
1933	var l int
1934	_ = l
1935	l = m.ObjectMeta.Size()
1936	n += 1 + l + sovGenerated(uint64(l))
1937	l = m.Spec.Size()
1938	n += 1 + l + sovGenerated(uint64(l))
1939	l = m.Status.Size()
1940	n += 1 + l + sovGenerated(uint64(l))
1941	return n
1942}
1943
1944func (m *DeploymentCondition) Size() (n int) {
1945	if m == nil {
1946		return 0
1947	}
1948	var l int
1949	_ = l
1950	l = len(m.Type)
1951	n += 1 + l + sovGenerated(uint64(l))
1952	l = len(m.Status)
1953	n += 1 + l + sovGenerated(uint64(l))
1954	l = len(m.Reason)
1955	n += 1 + l + sovGenerated(uint64(l))
1956	l = len(m.Message)
1957	n += 1 + l + sovGenerated(uint64(l))
1958	l = m.LastUpdateTime.Size()
1959	n += 1 + l + sovGenerated(uint64(l))
1960	l = m.LastTransitionTime.Size()
1961	n += 1 + l + sovGenerated(uint64(l))
1962	return n
1963}
1964
1965func (m *DeploymentList) Size() (n int) {
1966	if m == nil {
1967		return 0
1968	}
1969	var l int
1970	_ = l
1971	l = m.ListMeta.Size()
1972	n += 1 + l + sovGenerated(uint64(l))
1973	if len(m.Items) > 0 {
1974		for _, e := range m.Items {
1975			l = e.Size()
1976			n += 1 + l + sovGenerated(uint64(l))
1977		}
1978	}
1979	return n
1980}
1981
1982func (m *DeploymentRollback) Size() (n int) {
1983	if m == nil {
1984		return 0
1985	}
1986	var l int
1987	_ = l
1988	l = len(m.Name)
1989	n += 1 + l + sovGenerated(uint64(l))
1990	if len(m.UpdatedAnnotations) > 0 {
1991		for k, v := range m.UpdatedAnnotations {
1992			_ = k
1993			_ = v
1994			mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
1995			n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
1996		}
1997	}
1998	l = m.RollbackTo.Size()
1999	n += 1 + l + sovGenerated(uint64(l))
2000	return n
2001}
2002
2003func (m *DeploymentSpec) Size() (n int) {
2004	if m == nil {
2005		return 0
2006	}
2007	var l int
2008	_ = l
2009	if m.Replicas != nil {
2010		n += 1 + sovGenerated(uint64(*m.Replicas))
2011	}
2012	if m.Selector != nil {
2013		l = m.Selector.Size()
2014		n += 1 + l + sovGenerated(uint64(l))
2015	}
2016	l = m.Template.Size()
2017	n += 1 + l + sovGenerated(uint64(l))
2018	l = m.Strategy.Size()
2019	n += 1 + l + sovGenerated(uint64(l))
2020	n += 1 + sovGenerated(uint64(m.MinReadySeconds))
2021	if m.RevisionHistoryLimit != nil {
2022		n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
2023	}
2024	n += 2
2025	if m.RollbackTo != nil {
2026		l = m.RollbackTo.Size()
2027		n += 1 + l + sovGenerated(uint64(l))
2028	}
2029	if m.ProgressDeadlineSeconds != nil {
2030		n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds))
2031	}
2032	return n
2033}
2034
2035func (m *DeploymentStatus) Size() (n int) {
2036	if m == nil {
2037		return 0
2038	}
2039	var l int
2040	_ = l
2041	n += 1 + sovGenerated(uint64(m.ObservedGeneration))
2042	n += 1 + sovGenerated(uint64(m.Replicas))
2043	n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
2044	n += 1 + sovGenerated(uint64(m.AvailableReplicas))
2045	n += 1 + sovGenerated(uint64(m.UnavailableReplicas))
2046	if len(m.Conditions) > 0 {
2047		for _, e := range m.Conditions {
2048			l = e.Size()
2049			n += 1 + l + sovGenerated(uint64(l))
2050		}
2051	}
2052	n += 1 + sovGenerated(uint64(m.ReadyReplicas))
2053	if m.CollisionCount != nil {
2054		n += 1 + sovGenerated(uint64(*m.CollisionCount))
2055	}
2056	return n
2057}
2058
2059func (m *DeploymentStrategy) Size() (n int) {
2060	if m == nil {
2061		return 0
2062	}
2063	var l int
2064	_ = l
2065	l = len(m.Type)
2066	n += 1 + l + sovGenerated(uint64(l))
2067	if m.RollingUpdate != nil {
2068		l = m.RollingUpdate.Size()
2069		n += 1 + l + sovGenerated(uint64(l))
2070	}
2071	return n
2072}
2073
2074func (m *RollbackConfig) Size() (n int) {
2075	if m == nil {
2076		return 0
2077	}
2078	var l int
2079	_ = l
2080	n += 1 + sovGenerated(uint64(m.Revision))
2081	return n
2082}
2083
2084func (m *RollingUpdateDeployment) Size() (n int) {
2085	if m == nil {
2086		return 0
2087	}
2088	var l int
2089	_ = l
2090	if m.MaxUnavailable != nil {
2091		l = m.MaxUnavailable.Size()
2092		n += 1 + l + sovGenerated(uint64(l))
2093	}
2094	if m.MaxSurge != nil {
2095		l = m.MaxSurge.Size()
2096		n += 1 + l + sovGenerated(uint64(l))
2097	}
2098	return n
2099}
2100
2101func (m *RollingUpdateStatefulSetStrategy) Size() (n int) {
2102	if m == nil {
2103		return 0
2104	}
2105	var l int
2106	_ = l
2107	if m.Partition != nil {
2108		n += 1 + sovGenerated(uint64(*m.Partition))
2109	}
2110	return n
2111}
2112
2113func (m *Scale) Size() (n int) {
2114	if m == nil {
2115		return 0
2116	}
2117	var l int
2118	_ = l
2119	l = m.ObjectMeta.Size()
2120	n += 1 + l + sovGenerated(uint64(l))
2121	l = m.Spec.Size()
2122	n += 1 + l + sovGenerated(uint64(l))
2123	l = m.Status.Size()
2124	n += 1 + l + sovGenerated(uint64(l))
2125	return n
2126}
2127
2128func (m *ScaleSpec) Size() (n int) {
2129	if m == nil {
2130		return 0
2131	}
2132	var l int
2133	_ = l
2134	n += 1 + sovGenerated(uint64(m.Replicas))
2135	return n
2136}
2137
2138func (m *ScaleStatus) Size() (n int) {
2139	if m == nil {
2140		return 0
2141	}
2142	var l int
2143	_ = l
2144	n += 1 + sovGenerated(uint64(m.Replicas))
2145	if len(m.Selector) > 0 {
2146		for k, v := range m.Selector {
2147			_ = k
2148			_ = v
2149			mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
2150			n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
2151		}
2152	}
2153	l = len(m.TargetSelector)
2154	n += 1 + l + sovGenerated(uint64(l))
2155	return n
2156}
2157
2158func (m *StatefulSet) Size() (n int) {
2159	if m == nil {
2160		return 0
2161	}
2162	var l int
2163	_ = l
2164	l = m.ObjectMeta.Size()
2165	n += 1 + l + sovGenerated(uint64(l))
2166	l = m.Spec.Size()
2167	n += 1 + l + sovGenerated(uint64(l))
2168	l = m.Status.Size()
2169	n += 1 + l + sovGenerated(uint64(l))
2170	return n
2171}
2172
2173func (m *StatefulSetCondition) Size() (n int) {
2174	if m == nil {
2175		return 0
2176	}
2177	var l int
2178	_ = l
2179	l = len(m.Type)
2180	n += 1 + l + sovGenerated(uint64(l))
2181	l = len(m.Status)
2182	n += 1 + l + sovGenerated(uint64(l))
2183	l = m.LastTransitionTime.Size()
2184	n += 1 + l + sovGenerated(uint64(l))
2185	l = len(m.Reason)
2186	n += 1 + l + sovGenerated(uint64(l))
2187	l = len(m.Message)
2188	n += 1 + l + sovGenerated(uint64(l))
2189	return n
2190}
2191
2192func (m *StatefulSetList) Size() (n int) {
2193	if m == nil {
2194		return 0
2195	}
2196	var l int
2197	_ = l
2198	l = m.ListMeta.Size()
2199	n += 1 + l + sovGenerated(uint64(l))
2200	if len(m.Items) > 0 {
2201		for _, e := range m.Items {
2202			l = e.Size()
2203			n += 1 + l + sovGenerated(uint64(l))
2204		}
2205	}
2206	return n
2207}
2208
2209func (m *StatefulSetSpec) Size() (n int) {
2210	if m == nil {
2211		return 0
2212	}
2213	var l int
2214	_ = l
2215	if m.Replicas != nil {
2216		n += 1 + sovGenerated(uint64(*m.Replicas))
2217	}
2218	if m.Selector != nil {
2219		l = m.Selector.Size()
2220		n += 1 + l + sovGenerated(uint64(l))
2221	}
2222	l = m.Template.Size()
2223	n += 1 + l + sovGenerated(uint64(l))
2224	if len(m.VolumeClaimTemplates) > 0 {
2225		for _, e := range m.VolumeClaimTemplates {
2226			l = e.Size()
2227			n += 1 + l + sovGenerated(uint64(l))
2228		}
2229	}
2230	l = len(m.ServiceName)
2231	n += 1 + l + sovGenerated(uint64(l))
2232	l = len(m.PodManagementPolicy)
2233	n += 1 + l + sovGenerated(uint64(l))
2234	l = m.UpdateStrategy.Size()
2235	n += 1 + l + sovGenerated(uint64(l))
2236	if m.RevisionHistoryLimit != nil {
2237		n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
2238	}
2239	return n
2240}
2241
2242func (m *StatefulSetStatus) Size() (n int) {
2243	if m == nil {
2244		return 0
2245	}
2246	var l int
2247	_ = l
2248	if m.ObservedGeneration != nil {
2249		n += 1 + sovGenerated(uint64(*m.ObservedGeneration))
2250	}
2251	n += 1 + sovGenerated(uint64(m.Replicas))
2252	n += 1 + sovGenerated(uint64(m.ReadyReplicas))
2253	n += 1 + sovGenerated(uint64(m.CurrentReplicas))
2254	n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
2255	l = len(m.CurrentRevision)
2256	n += 1 + l + sovGenerated(uint64(l))
2257	l = len(m.UpdateRevision)
2258	n += 1 + l + sovGenerated(uint64(l))
2259	if m.CollisionCount != nil {
2260		n += 1 + sovGenerated(uint64(*m.CollisionCount))
2261	}
2262	if len(m.Conditions) > 0 {
2263		for _, e := range m.Conditions {
2264			l = e.Size()
2265			n += 1 + l + sovGenerated(uint64(l))
2266		}
2267	}
2268	return n
2269}
2270
2271func (m *StatefulSetUpdateStrategy) Size() (n int) {
2272	if m == nil {
2273		return 0
2274	}
2275	var l int
2276	_ = l
2277	l = len(m.Type)
2278	n += 1 + l + sovGenerated(uint64(l))
2279	if m.RollingUpdate != nil {
2280		l = m.RollingUpdate.Size()
2281		n += 1 + l + sovGenerated(uint64(l))
2282	}
2283	return n
2284}
2285
2286func sovGenerated(x uint64) (n int) {
2287	return (math_bits.Len64(x|1) + 6) / 7
2288}
2289func sozGenerated(x uint64) (n int) {
2290	return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
2291}
2292func (this *ControllerRevision) String() string {
2293	if this == nil {
2294		return "nil"
2295	}
2296	s := strings.Join([]string{`&ControllerRevision{`,
2297		`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2298		`Data:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Data), "RawExtension", "runtime.RawExtension", 1), `&`, ``, 1) + `,`,
2299		`Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
2300		`}`,
2301	}, "")
2302	return s
2303}
2304func (this *ControllerRevisionList) String() string {
2305	if this == nil {
2306		return "nil"
2307	}
2308	repeatedStringForItems := "[]ControllerRevision{"
2309	for _, f := range this.Items {
2310		repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ControllerRevision", "ControllerRevision", 1), `&`, ``, 1) + ","
2311	}
2312	repeatedStringForItems += "}"
2313	s := strings.Join([]string{`&ControllerRevisionList{`,
2314		`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
2315		`Items:` + repeatedStringForItems + `,`,
2316		`}`,
2317	}, "")
2318	return s
2319}
2320func (this *Deployment) String() string {
2321	if this == nil {
2322		return "nil"
2323	}
2324	s := strings.Join([]string{`&Deployment{`,
2325		`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2326		`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`,
2327		`Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`,
2328		`}`,
2329	}, "")
2330	return s
2331}
2332func (this *DeploymentCondition) String() string {
2333	if this == nil {
2334		return "nil"
2335	}
2336	s := strings.Join([]string{`&DeploymentCondition{`,
2337		`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
2338		`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
2339		`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
2340		`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
2341		`LastUpdateTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastUpdateTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
2342		`LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
2343		`}`,
2344	}, "")
2345	return s
2346}
2347func (this *DeploymentList) String() string {
2348	if this == nil {
2349		return "nil"
2350	}
2351	repeatedStringForItems := "[]Deployment{"
2352	for _, f := range this.Items {
2353		repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "Deployment", "Deployment", 1), `&`, ``, 1) + ","
2354	}
2355	repeatedStringForItems += "}"
2356	s := strings.Join([]string{`&DeploymentList{`,
2357		`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
2358		`Items:` + repeatedStringForItems + `,`,
2359		`}`,
2360	}, "")
2361	return s
2362}
2363func (this *DeploymentRollback) String() string {
2364	if this == nil {
2365		return "nil"
2366	}
2367	keysForUpdatedAnnotations := make([]string, 0, len(this.UpdatedAnnotations))
2368	for k := range this.UpdatedAnnotations {
2369		keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, k)
2370	}
2371	github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
2372	mapStringForUpdatedAnnotations := "map[string]string{"
2373	for _, k := range keysForUpdatedAnnotations {
2374		mapStringForUpdatedAnnotations += fmt.Sprintf("%v: %v,", k, this.UpdatedAnnotations[k])
2375	}
2376	mapStringForUpdatedAnnotations += "}"
2377	s := strings.Join([]string{`&DeploymentRollback{`,
2378		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
2379		`UpdatedAnnotations:` + mapStringForUpdatedAnnotations + `,`,
2380		`RollbackTo:` + strings.Replace(strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1), `&`, ``, 1) + `,`,
2381		`}`,
2382	}, "")
2383	return s
2384}
2385func (this *DeploymentSpec) String() string {
2386	if this == nil {
2387		return "nil"
2388	}
2389	s := strings.Join([]string{`&DeploymentSpec{`,
2390		`Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
2391		`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
2392		`Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
2393		`Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`,
2394		`MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
2395		`RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
2396		`Paused:` + fmt.Sprintf("%v", this.Paused) + `,`,
2397		`RollbackTo:` + strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1) + `,`,
2398		`ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`,
2399		`}`,
2400	}, "")
2401	return s
2402}
2403func (this *DeploymentStatus) String() string {
2404	if this == nil {
2405		return "nil"
2406	}
2407	repeatedStringForConditions := "[]DeploymentCondition{"
2408	for _, f := range this.Conditions {
2409		repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + ","
2410	}
2411	repeatedStringForConditions += "}"
2412	s := strings.Join([]string{`&DeploymentStatus{`,
2413		`ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
2414		`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
2415		`UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
2416		`AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
2417		`UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`,
2418		`Conditions:` + repeatedStringForConditions + `,`,
2419		`ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
2420		`CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
2421		`}`,
2422	}, "")
2423	return s
2424}
2425func (this *DeploymentStrategy) String() string {
2426	if this == nil {
2427		return "nil"
2428	}
2429	s := strings.Join([]string{`&DeploymentStrategy{`,
2430		`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
2431		`RollingUpdate:` + strings.Replace(this.RollingUpdate.String(), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`,
2432		`}`,
2433	}, "")
2434	return s
2435}
2436func (this *RollbackConfig) String() string {
2437	if this == nil {
2438		return "nil"
2439	}
2440	s := strings.Join([]string{`&RollbackConfig{`,
2441		`Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
2442		`}`,
2443	}, "")
2444	return s
2445}
2446func (this *RollingUpdateDeployment) String() string {
2447	if this == nil {
2448		return "nil"
2449	}
2450	s := strings.Join([]string{`&RollingUpdateDeployment{`,
2451		`MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "intstr.IntOrString", 1) + `,`,
2452		`MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "intstr.IntOrString", 1) + `,`,
2453		`}`,
2454	}, "")
2455	return s
2456}
2457func (this *RollingUpdateStatefulSetStrategy) String() string {
2458	if this == nil {
2459		return "nil"
2460	}
2461	s := strings.Join([]string{`&RollingUpdateStatefulSetStrategy{`,
2462		`Partition:` + valueToStringGenerated(this.Partition) + `,`,
2463		`}`,
2464	}, "")
2465	return s
2466}
2467func (this *Scale) String() string {
2468	if this == nil {
2469		return "nil"
2470	}
2471	s := strings.Join([]string{`&Scale{`,
2472		`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2473		`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`,
2474		`Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`,
2475		`}`,
2476	}, "")
2477	return s
2478}
2479func (this *ScaleSpec) String() string {
2480	if this == nil {
2481		return "nil"
2482	}
2483	s := strings.Join([]string{`&ScaleSpec{`,
2484		`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
2485		`}`,
2486	}, "")
2487	return s
2488}
2489func (this *ScaleStatus) String() string {
2490	if this == nil {
2491		return "nil"
2492	}
2493	keysForSelector := make([]string, 0, len(this.Selector))
2494	for k := range this.Selector {
2495		keysForSelector = append(keysForSelector, k)
2496	}
2497	github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
2498	mapStringForSelector := "map[string]string{"
2499	for _, k := range keysForSelector {
2500		mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
2501	}
2502	mapStringForSelector += "}"
2503	s := strings.Join([]string{`&ScaleStatus{`,
2504		`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
2505		`Selector:` + mapStringForSelector + `,`,
2506		`TargetSelector:` + fmt.Sprintf("%v", this.TargetSelector) + `,`,
2507		`}`,
2508	}, "")
2509	return s
2510}
2511func (this *StatefulSet) String() string {
2512	if this == nil {
2513		return "nil"
2514	}
2515	s := strings.Join([]string{`&StatefulSet{`,
2516		`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2517		`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "StatefulSetSpec", "StatefulSetSpec", 1), `&`, ``, 1) + `,`,
2518		`Status:` + strings.Replace(strings.Replace(this.Status.String(), "StatefulSetStatus", "StatefulSetStatus", 1), `&`, ``, 1) + `,`,
2519		`}`,
2520	}, "")
2521	return s
2522}
2523func (this *StatefulSetCondition) String() string {
2524	if this == nil {
2525		return "nil"
2526	}
2527	s := strings.Join([]string{`&StatefulSetCondition{`,
2528		`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
2529		`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
2530		`LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
2531		`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
2532		`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
2533		`}`,
2534	}, "")
2535	return s
2536}
2537func (this *StatefulSetList) String() string {
2538	if this == nil {
2539		return "nil"
2540	}
2541	repeatedStringForItems := "[]StatefulSet{"
2542	for _, f := range this.Items {
2543		repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "StatefulSet", "StatefulSet", 1), `&`, ``, 1) + ","
2544	}
2545	repeatedStringForItems += "}"
2546	s := strings.Join([]string{`&StatefulSetList{`,
2547		`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
2548		`Items:` + repeatedStringForItems + `,`,
2549		`}`,
2550	}, "")
2551	return s
2552}
2553func (this *StatefulSetSpec) String() string {
2554	if this == nil {
2555		return "nil"
2556	}
2557	repeatedStringForVolumeClaimTemplates := "[]PersistentVolumeClaim{"
2558	for _, f := range this.VolumeClaimTemplates {
2559		repeatedStringForVolumeClaimTemplates += fmt.Sprintf("%v", f) + ","
2560	}
2561	repeatedStringForVolumeClaimTemplates += "}"
2562	s := strings.Join([]string{`&StatefulSetSpec{`,
2563		`Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
2564		`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
2565		`Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
2566		`VolumeClaimTemplates:` + repeatedStringForVolumeClaimTemplates + `,`,
2567		`ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`,
2568		`PodManagementPolicy:` + fmt.Sprintf("%v", this.PodManagementPolicy) + `,`,
2569		`UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "StatefulSetUpdateStrategy", "StatefulSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
2570		`RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
2571		`}`,
2572	}, "")
2573	return s
2574}
2575func (this *StatefulSetStatus) String() string {
2576	if this == nil {
2577		return "nil"
2578	}
2579	repeatedStringForConditions := "[]StatefulSetCondition{"
2580	for _, f := range this.Conditions {
2581		repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "StatefulSetCondition", "StatefulSetCondition", 1), `&`, ``, 1) + ","
2582	}
2583	repeatedStringForConditions += "}"
2584	s := strings.Join([]string{`&StatefulSetStatus{`,
2585		`ObservedGeneration:` + valueToStringGenerated(this.ObservedGeneration) + `,`,
2586		`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
2587		`ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
2588		`CurrentReplicas:` + fmt.Sprintf("%v", this.CurrentReplicas) + `,`,
2589		`UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
2590		`CurrentRevision:` + fmt.Sprintf("%v", this.CurrentRevision) + `,`,
2591		`UpdateRevision:` + fmt.Sprintf("%v", this.UpdateRevision) + `,`,
2592		`CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
2593		`Conditions:` + repeatedStringForConditions + `,`,
2594		`}`,
2595	}, "")
2596	return s
2597}
2598func (this *StatefulSetUpdateStrategy) String() string {
2599	if this == nil {
2600		return "nil"
2601	}
2602	s := strings.Join([]string{`&StatefulSetUpdateStrategy{`,
2603		`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
2604		`RollingUpdate:` + strings.Replace(this.RollingUpdate.String(), "RollingUpdateStatefulSetStrategy", "RollingUpdateStatefulSetStrategy", 1) + `,`,
2605		`}`,
2606	}, "")
2607	return s
2608}
2609func valueToStringGenerated(v interface{}) string {
2610	rv := reflect.ValueOf(v)
2611	if rv.IsNil() {
2612		return "nil"
2613	}
2614	pv := reflect.Indirect(rv).Interface()
2615	return fmt.Sprintf("*%v", pv)
2616}
2617func (m *ControllerRevision) Unmarshal(dAtA []byte) error {
2618	l := len(dAtA)
2619	iNdEx := 0
2620	for iNdEx < l {
2621		preIndex := iNdEx
2622		var wire uint64
2623		for shift := uint(0); ; shift += 7 {
2624			if shift >= 64 {
2625				return ErrIntOverflowGenerated
2626			}
2627			if iNdEx >= l {
2628				return io.ErrUnexpectedEOF
2629			}
2630			b := dAtA[iNdEx]
2631			iNdEx++
2632			wire |= uint64(b&0x7F) << shift
2633			if b < 0x80 {
2634				break
2635			}
2636		}
2637		fieldNum := int32(wire >> 3)
2638		wireType := int(wire & 0x7)
2639		if wireType == 4 {
2640			return fmt.Errorf("proto: ControllerRevision: wiretype end group for non-group")
2641		}
2642		if fieldNum <= 0 {
2643			return fmt.Errorf("proto: ControllerRevision: illegal tag %d (wire type %d)", fieldNum, wire)
2644		}
2645		switch fieldNum {
2646		case 1:
2647			if wireType != 2 {
2648				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
2649			}
2650			var msglen int
2651			for shift := uint(0); ; shift += 7 {
2652				if shift >= 64 {
2653					return ErrIntOverflowGenerated
2654				}
2655				if iNdEx >= l {
2656					return io.ErrUnexpectedEOF
2657				}
2658				b := dAtA[iNdEx]
2659				iNdEx++
2660				msglen |= int(b&0x7F) << shift
2661				if b < 0x80 {
2662					break
2663				}
2664			}
2665			if msglen < 0 {
2666				return ErrInvalidLengthGenerated
2667			}
2668			postIndex := iNdEx + msglen
2669			if postIndex < 0 {
2670				return ErrInvalidLengthGenerated
2671			}
2672			if postIndex > l {
2673				return io.ErrUnexpectedEOF
2674			}
2675			if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2676				return err
2677			}
2678			iNdEx = postIndex
2679		case 2:
2680			if wireType != 2 {
2681				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
2682			}
2683			var msglen int
2684			for shift := uint(0); ; shift += 7 {
2685				if shift >= 64 {
2686					return ErrIntOverflowGenerated
2687				}
2688				if iNdEx >= l {
2689					return io.ErrUnexpectedEOF
2690				}
2691				b := dAtA[iNdEx]
2692				iNdEx++
2693				msglen |= int(b&0x7F) << shift
2694				if b < 0x80 {
2695					break
2696				}
2697			}
2698			if msglen < 0 {
2699				return ErrInvalidLengthGenerated
2700			}
2701			postIndex := iNdEx + msglen
2702			if postIndex < 0 {
2703				return ErrInvalidLengthGenerated
2704			}
2705			if postIndex > l {
2706				return io.ErrUnexpectedEOF
2707			}
2708			if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2709				return err
2710			}
2711			iNdEx = postIndex
2712		case 3:
2713			if wireType != 0 {
2714				return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
2715			}
2716			m.Revision = 0
2717			for shift := uint(0); ; shift += 7 {
2718				if shift >= 64 {
2719					return ErrIntOverflowGenerated
2720				}
2721				if iNdEx >= l {
2722					return io.ErrUnexpectedEOF
2723				}
2724				b := dAtA[iNdEx]
2725				iNdEx++
2726				m.Revision |= int64(b&0x7F) << shift
2727				if b < 0x80 {
2728					break
2729				}
2730			}
2731		default:
2732			iNdEx = preIndex
2733			skippy, err := skipGenerated(dAtA[iNdEx:])
2734			if err != nil {
2735				return err
2736			}
2737			if (skippy < 0) || (iNdEx+skippy) < 0 {
2738				return ErrInvalidLengthGenerated
2739			}
2740			if (iNdEx + skippy) > l {
2741				return io.ErrUnexpectedEOF
2742			}
2743			iNdEx += skippy
2744		}
2745	}
2746
2747	if iNdEx > l {
2748		return io.ErrUnexpectedEOF
2749	}
2750	return nil
2751}
2752func (m *ControllerRevisionList) Unmarshal(dAtA []byte) error {
2753	l := len(dAtA)
2754	iNdEx := 0
2755	for iNdEx < l {
2756		preIndex := iNdEx
2757		var wire uint64
2758		for shift := uint(0); ; shift += 7 {
2759			if shift >= 64 {
2760				return ErrIntOverflowGenerated
2761			}
2762			if iNdEx >= l {
2763				return io.ErrUnexpectedEOF
2764			}
2765			b := dAtA[iNdEx]
2766			iNdEx++
2767			wire |= uint64(b&0x7F) << shift
2768			if b < 0x80 {
2769				break
2770			}
2771		}
2772		fieldNum := int32(wire >> 3)
2773		wireType := int(wire & 0x7)
2774		if wireType == 4 {
2775			return fmt.Errorf("proto: ControllerRevisionList: wiretype end group for non-group")
2776		}
2777		if fieldNum <= 0 {
2778			return fmt.Errorf("proto: ControllerRevisionList: illegal tag %d (wire type %d)", fieldNum, wire)
2779		}
2780		switch fieldNum {
2781		case 1:
2782			if wireType != 2 {
2783				return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
2784			}
2785			var msglen int
2786			for shift := uint(0); ; shift += 7 {
2787				if shift >= 64 {
2788					return ErrIntOverflowGenerated
2789				}
2790				if iNdEx >= l {
2791					return io.ErrUnexpectedEOF
2792				}
2793				b := dAtA[iNdEx]
2794				iNdEx++
2795				msglen |= int(b&0x7F) << shift
2796				if b < 0x80 {
2797					break
2798				}
2799			}
2800			if msglen < 0 {
2801				return ErrInvalidLengthGenerated
2802			}
2803			postIndex := iNdEx + msglen
2804			if postIndex < 0 {
2805				return ErrInvalidLengthGenerated
2806			}
2807			if postIndex > l {
2808				return io.ErrUnexpectedEOF
2809			}
2810			if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2811				return err
2812			}
2813			iNdEx = postIndex
2814		case 2:
2815			if wireType != 2 {
2816				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
2817			}
2818			var msglen int
2819			for shift := uint(0); ; shift += 7 {
2820				if shift >= 64 {
2821					return ErrIntOverflowGenerated
2822				}
2823				if iNdEx >= l {
2824					return io.ErrUnexpectedEOF
2825				}
2826				b := dAtA[iNdEx]
2827				iNdEx++
2828				msglen |= int(b&0x7F) << shift
2829				if b < 0x80 {
2830					break
2831				}
2832			}
2833			if msglen < 0 {
2834				return ErrInvalidLengthGenerated
2835			}
2836			postIndex := iNdEx + msglen
2837			if postIndex < 0 {
2838				return ErrInvalidLengthGenerated
2839			}
2840			if postIndex > l {
2841				return io.ErrUnexpectedEOF
2842			}
2843			m.Items = append(m.Items, ControllerRevision{})
2844			if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2845				return err
2846			}
2847			iNdEx = postIndex
2848		default:
2849			iNdEx = preIndex
2850			skippy, err := skipGenerated(dAtA[iNdEx:])
2851			if err != nil {
2852				return err
2853			}
2854			if (skippy < 0) || (iNdEx+skippy) < 0 {
2855				return ErrInvalidLengthGenerated
2856			}
2857			if (iNdEx + skippy) > l {
2858				return io.ErrUnexpectedEOF
2859			}
2860			iNdEx += skippy
2861		}
2862	}
2863
2864	if iNdEx > l {
2865		return io.ErrUnexpectedEOF
2866	}
2867	return nil
2868}
2869func (m *Deployment) Unmarshal(dAtA []byte) error {
2870	l := len(dAtA)
2871	iNdEx := 0
2872	for iNdEx < l {
2873		preIndex := iNdEx
2874		var wire uint64
2875		for shift := uint(0); ; shift += 7 {
2876			if shift >= 64 {
2877				return ErrIntOverflowGenerated
2878			}
2879			if iNdEx >= l {
2880				return io.ErrUnexpectedEOF
2881			}
2882			b := dAtA[iNdEx]
2883			iNdEx++
2884			wire |= uint64(b&0x7F) << shift
2885			if b < 0x80 {
2886				break
2887			}
2888		}
2889		fieldNum := int32(wire >> 3)
2890		wireType := int(wire & 0x7)
2891		if wireType == 4 {
2892			return fmt.Errorf("proto: Deployment: wiretype end group for non-group")
2893		}
2894		if fieldNum <= 0 {
2895			return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire)
2896		}
2897		switch fieldNum {
2898		case 1:
2899			if wireType != 2 {
2900				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
2901			}
2902			var msglen int
2903			for shift := uint(0); ; shift += 7 {
2904				if shift >= 64 {
2905					return ErrIntOverflowGenerated
2906				}
2907				if iNdEx >= l {
2908					return io.ErrUnexpectedEOF
2909				}
2910				b := dAtA[iNdEx]
2911				iNdEx++
2912				msglen |= int(b&0x7F) << shift
2913				if b < 0x80 {
2914					break
2915				}
2916			}
2917			if msglen < 0 {
2918				return ErrInvalidLengthGenerated
2919			}
2920			postIndex := iNdEx + msglen
2921			if postIndex < 0 {
2922				return ErrInvalidLengthGenerated
2923			}
2924			if postIndex > l {
2925				return io.ErrUnexpectedEOF
2926			}
2927			if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2928				return err
2929			}
2930			iNdEx = postIndex
2931		case 2:
2932			if wireType != 2 {
2933				return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
2934			}
2935			var msglen int
2936			for shift := uint(0); ; shift += 7 {
2937				if shift >= 64 {
2938					return ErrIntOverflowGenerated
2939				}
2940				if iNdEx >= l {
2941					return io.ErrUnexpectedEOF
2942				}
2943				b := dAtA[iNdEx]
2944				iNdEx++
2945				msglen |= int(b&0x7F) << shift
2946				if b < 0x80 {
2947					break
2948				}
2949			}
2950			if msglen < 0 {
2951				return ErrInvalidLengthGenerated
2952			}
2953			postIndex := iNdEx + msglen
2954			if postIndex < 0 {
2955				return ErrInvalidLengthGenerated
2956			}
2957			if postIndex > l {
2958				return io.ErrUnexpectedEOF
2959			}
2960			if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2961				return err
2962			}
2963			iNdEx = postIndex
2964		case 3:
2965			if wireType != 2 {
2966				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2967			}
2968			var msglen int
2969			for shift := uint(0); ; shift += 7 {
2970				if shift >= 64 {
2971					return ErrIntOverflowGenerated
2972				}
2973				if iNdEx >= l {
2974					return io.ErrUnexpectedEOF
2975				}
2976				b := dAtA[iNdEx]
2977				iNdEx++
2978				msglen |= int(b&0x7F) << shift
2979				if b < 0x80 {
2980					break
2981				}
2982			}
2983			if msglen < 0 {
2984				return ErrInvalidLengthGenerated
2985			}
2986			postIndex := iNdEx + msglen
2987			if postIndex < 0 {
2988				return ErrInvalidLengthGenerated
2989			}
2990			if postIndex > l {
2991				return io.ErrUnexpectedEOF
2992			}
2993			if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2994				return err
2995			}
2996			iNdEx = postIndex
2997		default:
2998			iNdEx = preIndex
2999			skippy, err := skipGenerated(dAtA[iNdEx:])
3000			if err != nil {
3001				return err
3002			}
3003			if (skippy < 0) || (iNdEx+skippy) < 0 {
3004				return ErrInvalidLengthGenerated
3005			}
3006			if (iNdEx + skippy) > l {
3007				return io.ErrUnexpectedEOF
3008			}
3009			iNdEx += skippy
3010		}
3011	}
3012
3013	if iNdEx > l {
3014		return io.ErrUnexpectedEOF
3015	}
3016	return nil
3017}
3018func (m *DeploymentCondition) Unmarshal(dAtA []byte) error {
3019	l := len(dAtA)
3020	iNdEx := 0
3021	for iNdEx < l {
3022		preIndex := iNdEx
3023		var wire uint64
3024		for shift := uint(0); ; shift += 7 {
3025			if shift >= 64 {
3026				return ErrIntOverflowGenerated
3027			}
3028			if iNdEx >= l {
3029				return io.ErrUnexpectedEOF
3030			}
3031			b := dAtA[iNdEx]
3032			iNdEx++
3033			wire |= uint64(b&0x7F) << shift
3034			if b < 0x80 {
3035				break
3036			}
3037		}
3038		fieldNum := int32(wire >> 3)
3039		wireType := int(wire & 0x7)
3040		if wireType == 4 {
3041			return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group")
3042		}
3043		if fieldNum <= 0 {
3044			return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
3045		}
3046		switch fieldNum {
3047		case 1:
3048			if wireType != 2 {
3049				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
3050			}
3051			var stringLen uint64
3052			for shift := uint(0); ; shift += 7 {
3053				if shift >= 64 {
3054					return ErrIntOverflowGenerated
3055				}
3056				if iNdEx >= l {
3057					return io.ErrUnexpectedEOF
3058				}
3059				b := dAtA[iNdEx]
3060				iNdEx++
3061				stringLen |= uint64(b&0x7F) << shift
3062				if b < 0x80 {
3063					break
3064				}
3065			}
3066			intStringLen := int(stringLen)
3067			if intStringLen < 0 {
3068				return ErrInvalidLengthGenerated
3069			}
3070			postIndex := iNdEx + intStringLen
3071			if postIndex < 0 {
3072				return ErrInvalidLengthGenerated
3073			}
3074			if postIndex > l {
3075				return io.ErrUnexpectedEOF
3076			}
3077			m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
3078			iNdEx = postIndex
3079		case 2:
3080			if wireType != 2 {
3081				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
3082			}
3083			var stringLen uint64
3084			for shift := uint(0); ; shift += 7 {
3085				if shift >= 64 {
3086					return ErrIntOverflowGenerated
3087				}
3088				if iNdEx >= l {
3089					return io.ErrUnexpectedEOF
3090				}
3091				b := dAtA[iNdEx]
3092				iNdEx++
3093				stringLen |= uint64(b&0x7F) << shift
3094				if b < 0x80 {
3095					break
3096				}
3097			}
3098			intStringLen := int(stringLen)
3099			if intStringLen < 0 {
3100				return ErrInvalidLengthGenerated
3101			}
3102			postIndex := iNdEx + intStringLen
3103			if postIndex < 0 {
3104				return ErrInvalidLengthGenerated
3105			}
3106			if postIndex > l {
3107				return io.ErrUnexpectedEOF
3108			}
3109			m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
3110			iNdEx = postIndex
3111		case 4:
3112			if wireType != 2 {
3113				return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
3114			}
3115			var stringLen uint64
3116			for shift := uint(0); ; shift += 7 {
3117				if shift >= 64 {
3118					return ErrIntOverflowGenerated
3119				}
3120				if iNdEx >= l {
3121					return io.ErrUnexpectedEOF
3122				}
3123				b := dAtA[iNdEx]
3124				iNdEx++
3125				stringLen |= uint64(b&0x7F) << shift
3126				if b < 0x80 {
3127					break
3128				}
3129			}
3130			intStringLen := int(stringLen)
3131			if intStringLen < 0 {
3132				return ErrInvalidLengthGenerated
3133			}
3134			postIndex := iNdEx + intStringLen
3135			if postIndex < 0 {
3136				return ErrInvalidLengthGenerated
3137			}
3138			if postIndex > l {
3139				return io.ErrUnexpectedEOF
3140			}
3141			m.Reason = string(dAtA[iNdEx:postIndex])
3142			iNdEx = postIndex
3143		case 5:
3144			if wireType != 2 {
3145				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
3146			}
3147			var stringLen uint64
3148			for shift := uint(0); ; shift += 7 {
3149				if shift >= 64 {
3150					return ErrIntOverflowGenerated
3151				}
3152				if iNdEx >= l {
3153					return io.ErrUnexpectedEOF
3154				}
3155				b := dAtA[iNdEx]
3156				iNdEx++
3157				stringLen |= uint64(b&0x7F) << shift
3158				if b < 0x80 {
3159					break
3160				}
3161			}
3162			intStringLen := int(stringLen)
3163			if intStringLen < 0 {
3164				return ErrInvalidLengthGenerated
3165			}
3166			postIndex := iNdEx + intStringLen
3167			if postIndex < 0 {
3168				return ErrInvalidLengthGenerated
3169			}
3170			if postIndex > l {
3171				return io.ErrUnexpectedEOF
3172			}
3173			m.Message = string(dAtA[iNdEx:postIndex])
3174			iNdEx = postIndex
3175		case 6:
3176			if wireType != 2 {
3177				return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
3178			}
3179			var msglen int
3180			for shift := uint(0); ; shift += 7 {
3181				if shift >= 64 {
3182					return ErrIntOverflowGenerated
3183				}
3184				if iNdEx >= l {
3185					return io.ErrUnexpectedEOF
3186				}
3187				b := dAtA[iNdEx]
3188				iNdEx++
3189				msglen |= int(b&0x7F) << shift
3190				if b < 0x80 {
3191					break
3192				}
3193			}
3194			if msglen < 0 {
3195				return ErrInvalidLengthGenerated
3196			}
3197			postIndex := iNdEx + msglen
3198			if postIndex < 0 {
3199				return ErrInvalidLengthGenerated
3200			}
3201			if postIndex > l {
3202				return io.ErrUnexpectedEOF
3203			}
3204			if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3205				return err
3206			}
3207			iNdEx = postIndex
3208		case 7:
3209			if wireType != 2 {
3210				return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
3211			}
3212			var msglen int
3213			for shift := uint(0); ; shift += 7 {
3214				if shift >= 64 {
3215					return ErrIntOverflowGenerated
3216				}
3217				if iNdEx >= l {
3218					return io.ErrUnexpectedEOF
3219				}
3220				b := dAtA[iNdEx]
3221				iNdEx++
3222				msglen |= int(b&0x7F) << shift
3223				if b < 0x80 {
3224					break
3225				}
3226			}
3227			if msglen < 0 {
3228				return ErrInvalidLengthGenerated
3229			}
3230			postIndex := iNdEx + msglen
3231			if postIndex < 0 {
3232				return ErrInvalidLengthGenerated
3233			}
3234			if postIndex > l {
3235				return io.ErrUnexpectedEOF
3236			}
3237			if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3238				return err
3239			}
3240			iNdEx = postIndex
3241		default:
3242			iNdEx = preIndex
3243			skippy, err := skipGenerated(dAtA[iNdEx:])
3244			if err != nil {
3245				return err
3246			}
3247			if (skippy < 0) || (iNdEx+skippy) < 0 {
3248				return ErrInvalidLengthGenerated
3249			}
3250			if (iNdEx + skippy) > l {
3251				return io.ErrUnexpectedEOF
3252			}
3253			iNdEx += skippy
3254		}
3255	}
3256
3257	if iNdEx > l {
3258		return io.ErrUnexpectedEOF
3259	}
3260	return nil
3261}
3262func (m *DeploymentList) Unmarshal(dAtA []byte) error {
3263	l := len(dAtA)
3264	iNdEx := 0
3265	for iNdEx < l {
3266		preIndex := iNdEx
3267		var wire uint64
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			wire |= uint64(b&0x7F) << shift
3278			if b < 0x80 {
3279				break
3280			}
3281		}
3282		fieldNum := int32(wire >> 3)
3283		wireType := int(wire & 0x7)
3284		if wireType == 4 {
3285			return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group")
3286		}
3287		if fieldNum <= 0 {
3288			return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire)
3289		}
3290		switch fieldNum {
3291		case 1:
3292			if wireType != 2 {
3293				return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
3294			}
3295			var msglen int
3296			for shift := uint(0); ; shift += 7 {
3297				if shift >= 64 {
3298					return ErrIntOverflowGenerated
3299				}
3300				if iNdEx >= l {
3301					return io.ErrUnexpectedEOF
3302				}
3303				b := dAtA[iNdEx]
3304				iNdEx++
3305				msglen |= int(b&0x7F) << shift
3306				if b < 0x80 {
3307					break
3308				}
3309			}
3310			if msglen < 0 {
3311				return ErrInvalidLengthGenerated
3312			}
3313			postIndex := iNdEx + msglen
3314			if postIndex < 0 {
3315				return ErrInvalidLengthGenerated
3316			}
3317			if postIndex > l {
3318				return io.ErrUnexpectedEOF
3319			}
3320			if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3321				return err
3322			}
3323			iNdEx = postIndex
3324		case 2:
3325			if wireType != 2 {
3326				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
3327			}
3328			var msglen int
3329			for shift := uint(0); ; shift += 7 {
3330				if shift >= 64 {
3331					return ErrIntOverflowGenerated
3332				}
3333				if iNdEx >= l {
3334					return io.ErrUnexpectedEOF
3335				}
3336				b := dAtA[iNdEx]
3337				iNdEx++
3338				msglen |= int(b&0x7F) << shift
3339				if b < 0x80 {
3340					break
3341				}
3342			}
3343			if msglen < 0 {
3344				return ErrInvalidLengthGenerated
3345			}
3346			postIndex := iNdEx + msglen
3347			if postIndex < 0 {
3348				return ErrInvalidLengthGenerated
3349			}
3350			if postIndex > l {
3351				return io.ErrUnexpectedEOF
3352			}
3353			m.Items = append(m.Items, Deployment{})
3354			if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3355				return err
3356			}
3357			iNdEx = postIndex
3358		default:
3359			iNdEx = preIndex
3360			skippy, err := skipGenerated(dAtA[iNdEx:])
3361			if err != nil {
3362				return err
3363			}
3364			if (skippy < 0) || (iNdEx+skippy) < 0 {
3365				return ErrInvalidLengthGenerated
3366			}
3367			if (iNdEx + skippy) > l {
3368				return io.ErrUnexpectedEOF
3369			}
3370			iNdEx += skippy
3371		}
3372	}
3373
3374	if iNdEx > l {
3375		return io.ErrUnexpectedEOF
3376	}
3377	return nil
3378}
3379func (m *DeploymentRollback) Unmarshal(dAtA []byte) error {
3380	l := len(dAtA)
3381	iNdEx := 0
3382	for iNdEx < l {
3383		preIndex := iNdEx
3384		var wire uint64
3385		for shift := uint(0); ; shift += 7 {
3386			if shift >= 64 {
3387				return ErrIntOverflowGenerated
3388			}
3389			if iNdEx >= l {
3390				return io.ErrUnexpectedEOF
3391			}
3392			b := dAtA[iNdEx]
3393			iNdEx++
3394			wire |= uint64(b&0x7F) << shift
3395			if b < 0x80 {
3396				break
3397			}
3398		}
3399		fieldNum := int32(wire >> 3)
3400		wireType := int(wire & 0x7)
3401		if wireType == 4 {
3402			return fmt.Errorf("proto: DeploymentRollback: wiretype end group for non-group")
3403		}
3404		if fieldNum <= 0 {
3405			return fmt.Errorf("proto: DeploymentRollback: illegal tag %d (wire type %d)", fieldNum, wire)
3406		}
3407		switch fieldNum {
3408		case 1:
3409			if wireType != 2 {
3410				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
3411			}
3412			var stringLen uint64
3413			for shift := uint(0); ; shift += 7 {
3414				if shift >= 64 {
3415					return ErrIntOverflowGenerated
3416				}
3417				if iNdEx >= l {
3418					return io.ErrUnexpectedEOF
3419				}
3420				b := dAtA[iNdEx]
3421				iNdEx++
3422				stringLen |= uint64(b&0x7F) << shift
3423				if b < 0x80 {
3424					break
3425				}
3426			}
3427			intStringLen := int(stringLen)
3428			if intStringLen < 0 {
3429				return ErrInvalidLengthGenerated
3430			}
3431			postIndex := iNdEx + intStringLen
3432			if postIndex < 0 {
3433				return ErrInvalidLengthGenerated
3434			}
3435			if postIndex > l {
3436				return io.ErrUnexpectedEOF
3437			}
3438			m.Name = string(dAtA[iNdEx:postIndex])
3439			iNdEx = postIndex
3440		case 2:
3441			if wireType != 2 {
3442				return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAnnotations", wireType)
3443			}
3444			var msglen int
3445			for shift := uint(0); ; shift += 7 {
3446				if shift >= 64 {
3447					return ErrIntOverflowGenerated
3448				}
3449				if iNdEx >= l {
3450					return io.ErrUnexpectedEOF
3451				}
3452				b := dAtA[iNdEx]
3453				iNdEx++
3454				msglen |= int(b&0x7F) << shift
3455				if b < 0x80 {
3456					break
3457				}
3458			}
3459			if msglen < 0 {
3460				return ErrInvalidLengthGenerated
3461			}
3462			postIndex := iNdEx + msglen
3463			if postIndex < 0 {
3464				return ErrInvalidLengthGenerated
3465			}
3466			if postIndex > l {
3467				return io.ErrUnexpectedEOF
3468			}
3469			if m.UpdatedAnnotations == nil {
3470				m.UpdatedAnnotations = make(map[string]string)
3471			}
3472			var mapkey string
3473			var mapvalue string
3474			for iNdEx < postIndex {
3475				entryPreIndex := iNdEx
3476				var wire uint64
3477				for shift := uint(0); ; shift += 7 {
3478					if shift >= 64 {
3479						return ErrIntOverflowGenerated
3480					}
3481					if iNdEx >= l {
3482						return io.ErrUnexpectedEOF
3483					}
3484					b := dAtA[iNdEx]
3485					iNdEx++
3486					wire |= uint64(b&0x7F) << shift
3487					if b < 0x80 {
3488						break
3489					}
3490				}
3491				fieldNum := int32(wire >> 3)
3492				if fieldNum == 1 {
3493					var stringLenmapkey uint64
3494					for shift := uint(0); ; shift += 7 {
3495						if shift >= 64 {
3496							return ErrIntOverflowGenerated
3497						}
3498						if iNdEx >= l {
3499							return io.ErrUnexpectedEOF
3500						}
3501						b := dAtA[iNdEx]
3502						iNdEx++
3503						stringLenmapkey |= uint64(b&0x7F) << shift
3504						if b < 0x80 {
3505							break
3506						}
3507					}
3508					intStringLenmapkey := int(stringLenmapkey)
3509					if intStringLenmapkey < 0 {
3510						return ErrInvalidLengthGenerated
3511					}
3512					postStringIndexmapkey := iNdEx + intStringLenmapkey
3513					if postStringIndexmapkey < 0 {
3514						return ErrInvalidLengthGenerated
3515					}
3516					if postStringIndexmapkey > l {
3517						return io.ErrUnexpectedEOF
3518					}
3519					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
3520					iNdEx = postStringIndexmapkey
3521				} else if fieldNum == 2 {
3522					var stringLenmapvalue uint64
3523					for shift := uint(0); ; shift += 7 {
3524						if shift >= 64 {
3525							return ErrIntOverflowGenerated
3526						}
3527						if iNdEx >= l {
3528							return io.ErrUnexpectedEOF
3529						}
3530						b := dAtA[iNdEx]
3531						iNdEx++
3532						stringLenmapvalue |= uint64(b&0x7F) << shift
3533						if b < 0x80 {
3534							break
3535						}
3536					}
3537					intStringLenmapvalue := int(stringLenmapvalue)
3538					if intStringLenmapvalue < 0 {
3539						return ErrInvalidLengthGenerated
3540					}
3541					postStringIndexmapvalue := iNdEx + intStringLenmapvalue
3542					if postStringIndexmapvalue < 0 {
3543						return ErrInvalidLengthGenerated
3544					}
3545					if postStringIndexmapvalue > l {
3546						return io.ErrUnexpectedEOF
3547					}
3548					mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
3549					iNdEx = postStringIndexmapvalue
3550				} else {
3551					iNdEx = entryPreIndex
3552					skippy, err := skipGenerated(dAtA[iNdEx:])
3553					if err != nil {
3554						return err
3555					}
3556					if (skippy < 0) || (iNdEx+skippy) < 0 {
3557						return ErrInvalidLengthGenerated
3558					}
3559					if (iNdEx + skippy) > postIndex {
3560						return io.ErrUnexpectedEOF
3561					}
3562					iNdEx += skippy
3563				}
3564			}
3565			m.UpdatedAnnotations[mapkey] = mapvalue
3566			iNdEx = postIndex
3567		case 3:
3568			if wireType != 2 {
3569				return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
3570			}
3571			var msglen int
3572			for shift := uint(0); ; shift += 7 {
3573				if shift >= 64 {
3574					return ErrIntOverflowGenerated
3575				}
3576				if iNdEx >= l {
3577					return io.ErrUnexpectedEOF
3578				}
3579				b := dAtA[iNdEx]
3580				iNdEx++
3581				msglen |= int(b&0x7F) << shift
3582				if b < 0x80 {
3583					break
3584				}
3585			}
3586			if msglen < 0 {
3587				return ErrInvalidLengthGenerated
3588			}
3589			postIndex := iNdEx + msglen
3590			if postIndex < 0 {
3591				return ErrInvalidLengthGenerated
3592			}
3593			if postIndex > l {
3594				return io.ErrUnexpectedEOF
3595			}
3596			if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3597				return err
3598			}
3599			iNdEx = postIndex
3600		default:
3601			iNdEx = preIndex
3602			skippy, err := skipGenerated(dAtA[iNdEx:])
3603			if err != nil {
3604				return err
3605			}
3606			if (skippy < 0) || (iNdEx+skippy) < 0 {
3607				return ErrInvalidLengthGenerated
3608			}
3609			if (iNdEx + skippy) > l {
3610				return io.ErrUnexpectedEOF
3611			}
3612			iNdEx += skippy
3613		}
3614	}
3615
3616	if iNdEx > l {
3617		return io.ErrUnexpectedEOF
3618	}
3619	return nil
3620}
3621func (m *DeploymentSpec) Unmarshal(dAtA []byte) error {
3622	l := len(dAtA)
3623	iNdEx := 0
3624	for iNdEx < l {
3625		preIndex := iNdEx
3626		var wire uint64
3627		for shift := uint(0); ; shift += 7 {
3628			if shift >= 64 {
3629				return ErrIntOverflowGenerated
3630			}
3631			if iNdEx >= l {
3632				return io.ErrUnexpectedEOF
3633			}
3634			b := dAtA[iNdEx]
3635			iNdEx++
3636			wire |= uint64(b&0x7F) << shift
3637			if b < 0x80 {
3638				break
3639			}
3640		}
3641		fieldNum := int32(wire >> 3)
3642		wireType := int(wire & 0x7)
3643		if wireType == 4 {
3644			return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group")
3645		}
3646		if fieldNum <= 0 {
3647			return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire)
3648		}
3649		switch fieldNum {
3650		case 1:
3651			if wireType != 0 {
3652				return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
3653			}
3654			var v int32
3655			for shift := uint(0); ; shift += 7 {
3656				if shift >= 64 {
3657					return ErrIntOverflowGenerated
3658				}
3659				if iNdEx >= l {
3660					return io.ErrUnexpectedEOF
3661				}
3662				b := dAtA[iNdEx]
3663				iNdEx++
3664				v |= int32(b&0x7F) << shift
3665				if b < 0x80 {
3666					break
3667				}
3668			}
3669			m.Replicas = &v
3670		case 2:
3671			if wireType != 2 {
3672				return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
3673			}
3674			var msglen int
3675			for shift := uint(0); ; shift += 7 {
3676				if shift >= 64 {
3677					return ErrIntOverflowGenerated
3678				}
3679				if iNdEx >= l {
3680					return io.ErrUnexpectedEOF
3681				}
3682				b := dAtA[iNdEx]
3683				iNdEx++
3684				msglen |= int(b&0x7F) << shift
3685				if b < 0x80 {
3686					break
3687				}
3688			}
3689			if msglen < 0 {
3690				return ErrInvalidLengthGenerated
3691			}
3692			postIndex := iNdEx + msglen
3693			if postIndex < 0 {
3694				return ErrInvalidLengthGenerated
3695			}
3696			if postIndex > l {
3697				return io.ErrUnexpectedEOF
3698			}
3699			if m.Selector == nil {
3700				m.Selector = &v1.LabelSelector{}
3701			}
3702			if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3703				return err
3704			}
3705			iNdEx = postIndex
3706		case 3:
3707			if wireType != 2 {
3708				return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
3709			}
3710			var msglen int
3711			for shift := uint(0); ; shift += 7 {
3712				if shift >= 64 {
3713					return ErrIntOverflowGenerated
3714				}
3715				if iNdEx >= l {
3716					return io.ErrUnexpectedEOF
3717				}
3718				b := dAtA[iNdEx]
3719				iNdEx++
3720				msglen |= int(b&0x7F) << shift
3721				if b < 0x80 {
3722					break
3723				}
3724			}
3725			if msglen < 0 {
3726				return ErrInvalidLengthGenerated
3727			}
3728			postIndex := iNdEx + msglen
3729			if postIndex < 0 {
3730				return ErrInvalidLengthGenerated
3731			}
3732			if postIndex > l {
3733				return io.ErrUnexpectedEOF
3734			}
3735			if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3736				return err
3737			}
3738			iNdEx = postIndex
3739		case 4:
3740			if wireType != 2 {
3741				return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
3742			}
3743			var msglen int
3744			for shift := uint(0); ; shift += 7 {
3745				if shift >= 64 {
3746					return ErrIntOverflowGenerated
3747				}
3748				if iNdEx >= l {
3749					return io.ErrUnexpectedEOF
3750				}
3751				b := dAtA[iNdEx]
3752				iNdEx++
3753				msglen |= int(b&0x7F) << shift
3754				if b < 0x80 {
3755					break
3756				}
3757			}
3758			if msglen < 0 {
3759				return ErrInvalidLengthGenerated
3760			}
3761			postIndex := iNdEx + msglen
3762			if postIndex < 0 {
3763				return ErrInvalidLengthGenerated
3764			}
3765			if postIndex > l {
3766				return io.ErrUnexpectedEOF
3767			}
3768			if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3769				return err
3770			}
3771			iNdEx = postIndex
3772		case 5:
3773			if wireType != 0 {
3774				return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
3775			}
3776			m.MinReadySeconds = 0
3777			for shift := uint(0); ; shift += 7 {
3778				if shift >= 64 {
3779					return ErrIntOverflowGenerated
3780				}
3781				if iNdEx >= l {
3782					return io.ErrUnexpectedEOF
3783				}
3784				b := dAtA[iNdEx]
3785				iNdEx++
3786				m.MinReadySeconds |= int32(b&0x7F) << shift
3787				if b < 0x80 {
3788					break
3789				}
3790			}
3791		case 6:
3792			if wireType != 0 {
3793				return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
3794			}
3795			var v int32
3796			for shift := uint(0); ; shift += 7 {
3797				if shift >= 64 {
3798					return ErrIntOverflowGenerated
3799				}
3800				if iNdEx >= l {
3801					return io.ErrUnexpectedEOF
3802				}
3803				b := dAtA[iNdEx]
3804				iNdEx++
3805				v |= int32(b&0x7F) << shift
3806				if b < 0x80 {
3807					break
3808				}
3809			}
3810			m.RevisionHistoryLimit = &v
3811		case 7:
3812			if wireType != 0 {
3813				return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
3814			}
3815			var v int
3816			for shift := uint(0); ; shift += 7 {
3817				if shift >= 64 {
3818					return ErrIntOverflowGenerated
3819				}
3820				if iNdEx >= l {
3821					return io.ErrUnexpectedEOF
3822				}
3823				b := dAtA[iNdEx]
3824				iNdEx++
3825				v |= int(b&0x7F) << shift
3826				if b < 0x80 {
3827					break
3828				}
3829			}
3830			m.Paused = bool(v != 0)
3831		case 8:
3832			if wireType != 2 {
3833				return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
3834			}
3835			var msglen int
3836			for shift := uint(0); ; shift += 7 {
3837				if shift >= 64 {
3838					return ErrIntOverflowGenerated
3839				}
3840				if iNdEx >= l {
3841					return io.ErrUnexpectedEOF
3842				}
3843				b := dAtA[iNdEx]
3844				iNdEx++
3845				msglen |= int(b&0x7F) << shift
3846				if b < 0x80 {
3847					break
3848				}
3849			}
3850			if msglen < 0 {
3851				return ErrInvalidLengthGenerated
3852			}
3853			postIndex := iNdEx + msglen
3854			if postIndex < 0 {
3855				return ErrInvalidLengthGenerated
3856			}
3857			if postIndex > l {
3858				return io.ErrUnexpectedEOF
3859			}
3860			if m.RollbackTo == nil {
3861				m.RollbackTo = &RollbackConfig{}
3862			}
3863			if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3864				return err
3865			}
3866			iNdEx = postIndex
3867		case 9:
3868			if wireType != 0 {
3869				return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType)
3870			}
3871			var v int32
3872			for shift := uint(0); ; shift += 7 {
3873				if shift >= 64 {
3874					return ErrIntOverflowGenerated
3875				}
3876				if iNdEx >= l {
3877					return io.ErrUnexpectedEOF
3878				}
3879				b := dAtA[iNdEx]
3880				iNdEx++
3881				v |= int32(b&0x7F) << shift
3882				if b < 0x80 {
3883					break
3884				}
3885			}
3886			m.ProgressDeadlineSeconds = &v
3887		default:
3888			iNdEx = preIndex
3889			skippy, err := skipGenerated(dAtA[iNdEx:])
3890			if err != nil {
3891				return err
3892			}
3893			if (skippy < 0) || (iNdEx+skippy) < 0 {
3894				return ErrInvalidLengthGenerated
3895			}
3896			if (iNdEx + skippy) > l {
3897				return io.ErrUnexpectedEOF
3898			}
3899			iNdEx += skippy
3900		}
3901	}
3902
3903	if iNdEx > l {
3904		return io.ErrUnexpectedEOF
3905	}
3906	return nil
3907}
3908func (m *DeploymentStatus) Unmarshal(dAtA []byte) error {
3909	l := len(dAtA)
3910	iNdEx := 0
3911	for iNdEx < l {
3912		preIndex := iNdEx
3913		var wire uint64
3914		for shift := uint(0); ; shift += 7 {
3915			if shift >= 64 {
3916				return ErrIntOverflowGenerated
3917			}
3918			if iNdEx >= l {
3919				return io.ErrUnexpectedEOF
3920			}
3921			b := dAtA[iNdEx]
3922			iNdEx++
3923			wire |= uint64(b&0x7F) << shift
3924			if b < 0x80 {
3925				break
3926			}
3927		}
3928		fieldNum := int32(wire >> 3)
3929		wireType := int(wire & 0x7)
3930		if wireType == 4 {
3931			return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group")
3932		}
3933		if fieldNum <= 0 {
3934			return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
3935		}
3936		switch fieldNum {
3937		case 1:
3938			if wireType != 0 {
3939				return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
3940			}
3941			m.ObservedGeneration = 0
3942			for shift := uint(0); ; shift += 7 {
3943				if shift >= 64 {
3944					return ErrIntOverflowGenerated
3945				}
3946				if iNdEx >= l {
3947					return io.ErrUnexpectedEOF
3948				}
3949				b := dAtA[iNdEx]
3950				iNdEx++
3951				m.ObservedGeneration |= int64(b&0x7F) << shift
3952				if b < 0x80 {
3953					break
3954				}
3955			}
3956		case 2:
3957			if wireType != 0 {
3958				return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
3959			}
3960			m.Replicas = 0
3961			for shift := uint(0); ; shift += 7 {
3962				if shift >= 64 {
3963					return ErrIntOverflowGenerated
3964				}
3965				if iNdEx >= l {
3966					return io.ErrUnexpectedEOF
3967				}
3968				b := dAtA[iNdEx]
3969				iNdEx++
3970				m.Replicas |= int32(b&0x7F) << shift
3971				if b < 0x80 {
3972					break
3973				}
3974			}
3975		case 3:
3976			if wireType != 0 {
3977				return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
3978			}
3979			m.UpdatedReplicas = 0
3980			for shift := uint(0); ; shift += 7 {
3981				if shift >= 64 {
3982					return ErrIntOverflowGenerated
3983				}
3984				if iNdEx >= l {
3985					return io.ErrUnexpectedEOF
3986				}
3987				b := dAtA[iNdEx]
3988				iNdEx++
3989				m.UpdatedReplicas |= int32(b&0x7F) << shift
3990				if b < 0x80 {
3991					break
3992				}
3993			}
3994		case 4:
3995			if wireType != 0 {
3996				return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
3997			}
3998			m.AvailableReplicas = 0
3999			for shift := uint(0); ; shift += 7 {
4000				if shift >= 64 {
4001					return ErrIntOverflowGenerated
4002				}
4003				if iNdEx >= l {
4004					return io.ErrUnexpectedEOF
4005				}
4006				b := dAtA[iNdEx]
4007				iNdEx++
4008				m.AvailableReplicas |= int32(b&0x7F) << shift
4009				if b < 0x80 {
4010					break
4011				}
4012			}
4013		case 5:
4014			if wireType != 0 {
4015				return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType)
4016			}
4017			m.UnavailableReplicas = 0
4018			for shift := uint(0); ; shift += 7 {
4019				if shift >= 64 {
4020					return ErrIntOverflowGenerated
4021				}
4022				if iNdEx >= l {
4023					return io.ErrUnexpectedEOF
4024				}
4025				b := dAtA[iNdEx]
4026				iNdEx++
4027				m.UnavailableReplicas |= int32(b&0x7F) << shift
4028				if b < 0x80 {
4029					break
4030				}
4031			}
4032		case 6:
4033			if wireType != 2 {
4034				return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
4035			}
4036			var msglen int
4037			for shift := uint(0); ; shift += 7 {
4038				if shift >= 64 {
4039					return ErrIntOverflowGenerated
4040				}
4041				if iNdEx >= l {
4042					return io.ErrUnexpectedEOF
4043				}
4044				b := dAtA[iNdEx]
4045				iNdEx++
4046				msglen |= int(b&0x7F) << shift
4047				if b < 0x80 {
4048					break
4049				}
4050			}
4051			if msglen < 0 {
4052				return ErrInvalidLengthGenerated
4053			}
4054			postIndex := iNdEx + msglen
4055			if postIndex < 0 {
4056				return ErrInvalidLengthGenerated
4057			}
4058			if postIndex > l {
4059				return io.ErrUnexpectedEOF
4060			}
4061			m.Conditions = append(m.Conditions, DeploymentCondition{})
4062			if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4063				return err
4064			}
4065			iNdEx = postIndex
4066		case 7:
4067			if wireType != 0 {
4068				return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
4069			}
4070			m.ReadyReplicas = 0
4071			for shift := uint(0); ; shift += 7 {
4072				if shift >= 64 {
4073					return ErrIntOverflowGenerated
4074				}
4075				if iNdEx >= l {
4076					return io.ErrUnexpectedEOF
4077				}
4078				b := dAtA[iNdEx]
4079				iNdEx++
4080				m.ReadyReplicas |= int32(b&0x7F) << shift
4081				if b < 0x80 {
4082					break
4083				}
4084			}
4085		case 8:
4086			if wireType != 0 {
4087				return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
4088			}
4089			var v int32
4090			for shift := uint(0); ; shift += 7 {
4091				if shift >= 64 {
4092					return ErrIntOverflowGenerated
4093				}
4094				if iNdEx >= l {
4095					return io.ErrUnexpectedEOF
4096				}
4097				b := dAtA[iNdEx]
4098				iNdEx++
4099				v |= int32(b&0x7F) << shift
4100				if b < 0x80 {
4101					break
4102				}
4103			}
4104			m.CollisionCount = &v
4105		default:
4106			iNdEx = preIndex
4107			skippy, err := skipGenerated(dAtA[iNdEx:])
4108			if err != nil {
4109				return err
4110			}
4111			if (skippy < 0) || (iNdEx+skippy) < 0 {
4112				return ErrInvalidLengthGenerated
4113			}
4114			if (iNdEx + skippy) > l {
4115				return io.ErrUnexpectedEOF
4116			}
4117			iNdEx += skippy
4118		}
4119	}
4120
4121	if iNdEx > l {
4122		return io.ErrUnexpectedEOF
4123	}
4124	return nil
4125}
4126func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error {
4127	l := len(dAtA)
4128	iNdEx := 0
4129	for iNdEx < l {
4130		preIndex := iNdEx
4131		var wire uint64
4132		for shift := uint(0); ; shift += 7 {
4133			if shift >= 64 {
4134				return ErrIntOverflowGenerated
4135			}
4136			if iNdEx >= l {
4137				return io.ErrUnexpectedEOF
4138			}
4139			b := dAtA[iNdEx]
4140			iNdEx++
4141			wire |= uint64(b&0x7F) << shift
4142			if b < 0x80 {
4143				break
4144			}
4145		}
4146		fieldNum := int32(wire >> 3)
4147		wireType := int(wire & 0x7)
4148		if wireType == 4 {
4149			return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group")
4150		}
4151		if fieldNum <= 0 {
4152			return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
4153		}
4154		switch fieldNum {
4155		case 1:
4156			if wireType != 2 {
4157				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
4158			}
4159			var stringLen uint64
4160			for shift := uint(0); ; shift += 7 {
4161				if shift >= 64 {
4162					return ErrIntOverflowGenerated
4163				}
4164				if iNdEx >= l {
4165					return io.ErrUnexpectedEOF
4166				}
4167				b := dAtA[iNdEx]
4168				iNdEx++
4169				stringLen |= uint64(b&0x7F) << shift
4170				if b < 0x80 {
4171					break
4172				}
4173			}
4174			intStringLen := int(stringLen)
4175			if intStringLen < 0 {
4176				return ErrInvalidLengthGenerated
4177			}
4178			postIndex := iNdEx + intStringLen
4179			if postIndex < 0 {
4180				return ErrInvalidLengthGenerated
4181			}
4182			if postIndex > l {
4183				return io.ErrUnexpectedEOF
4184			}
4185			m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex])
4186			iNdEx = postIndex
4187		case 2:
4188			if wireType != 2 {
4189				return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
4190			}
4191			var msglen int
4192			for shift := uint(0); ; shift += 7 {
4193				if shift >= 64 {
4194					return ErrIntOverflowGenerated
4195				}
4196				if iNdEx >= l {
4197					return io.ErrUnexpectedEOF
4198				}
4199				b := dAtA[iNdEx]
4200				iNdEx++
4201				msglen |= int(b&0x7F) << shift
4202				if b < 0x80 {
4203					break
4204				}
4205			}
4206			if msglen < 0 {
4207				return ErrInvalidLengthGenerated
4208			}
4209			postIndex := iNdEx + msglen
4210			if postIndex < 0 {
4211				return ErrInvalidLengthGenerated
4212			}
4213			if postIndex > l {
4214				return io.ErrUnexpectedEOF
4215			}
4216			if m.RollingUpdate == nil {
4217				m.RollingUpdate = &RollingUpdateDeployment{}
4218			}
4219			if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4220				return err
4221			}
4222			iNdEx = postIndex
4223		default:
4224			iNdEx = preIndex
4225			skippy, err := skipGenerated(dAtA[iNdEx:])
4226			if err != nil {
4227				return err
4228			}
4229			if (skippy < 0) || (iNdEx+skippy) < 0 {
4230				return ErrInvalidLengthGenerated
4231			}
4232			if (iNdEx + skippy) > l {
4233				return io.ErrUnexpectedEOF
4234			}
4235			iNdEx += skippy
4236		}
4237	}
4238
4239	if iNdEx > l {
4240		return io.ErrUnexpectedEOF
4241	}
4242	return nil
4243}
4244func (m *RollbackConfig) Unmarshal(dAtA []byte) error {
4245	l := len(dAtA)
4246	iNdEx := 0
4247	for iNdEx < l {
4248		preIndex := iNdEx
4249		var wire uint64
4250		for shift := uint(0); ; shift += 7 {
4251			if shift >= 64 {
4252				return ErrIntOverflowGenerated
4253			}
4254			if iNdEx >= l {
4255				return io.ErrUnexpectedEOF
4256			}
4257			b := dAtA[iNdEx]
4258			iNdEx++
4259			wire |= uint64(b&0x7F) << shift
4260			if b < 0x80 {
4261				break
4262			}
4263		}
4264		fieldNum := int32(wire >> 3)
4265		wireType := int(wire & 0x7)
4266		if wireType == 4 {
4267			return fmt.Errorf("proto: RollbackConfig: wiretype end group for non-group")
4268		}
4269		if fieldNum <= 0 {
4270			return fmt.Errorf("proto: RollbackConfig: illegal tag %d (wire type %d)", fieldNum, wire)
4271		}
4272		switch fieldNum {
4273		case 1:
4274			if wireType != 0 {
4275				return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
4276			}
4277			m.Revision = 0
4278			for shift := uint(0); ; shift += 7 {
4279				if shift >= 64 {
4280					return ErrIntOverflowGenerated
4281				}
4282				if iNdEx >= l {
4283					return io.ErrUnexpectedEOF
4284				}
4285				b := dAtA[iNdEx]
4286				iNdEx++
4287				m.Revision |= int64(b&0x7F) << shift
4288				if b < 0x80 {
4289					break
4290				}
4291			}
4292		default:
4293			iNdEx = preIndex
4294			skippy, err := skipGenerated(dAtA[iNdEx:])
4295			if err != nil {
4296				return err
4297			}
4298			if (skippy < 0) || (iNdEx+skippy) < 0 {
4299				return ErrInvalidLengthGenerated
4300			}
4301			if (iNdEx + skippy) > l {
4302				return io.ErrUnexpectedEOF
4303			}
4304			iNdEx += skippy
4305		}
4306	}
4307
4308	if iNdEx > l {
4309		return io.ErrUnexpectedEOF
4310	}
4311	return nil
4312}
4313func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error {
4314	l := len(dAtA)
4315	iNdEx := 0
4316	for iNdEx < l {
4317		preIndex := iNdEx
4318		var wire uint64
4319		for shift := uint(0); ; shift += 7 {
4320			if shift >= 64 {
4321				return ErrIntOverflowGenerated
4322			}
4323			if iNdEx >= l {
4324				return io.ErrUnexpectedEOF
4325			}
4326			b := dAtA[iNdEx]
4327			iNdEx++
4328			wire |= uint64(b&0x7F) << shift
4329			if b < 0x80 {
4330				break
4331			}
4332		}
4333		fieldNum := int32(wire >> 3)
4334		wireType := int(wire & 0x7)
4335		if wireType == 4 {
4336			return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group")
4337		}
4338		if fieldNum <= 0 {
4339			return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire)
4340		}
4341		switch fieldNum {
4342		case 1:
4343			if wireType != 2 {
4344				return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
4345			}
4346			var msglen int
4347			for shift := uint(0); ; shift += 7 {
4348				if shift >= 64 {
4349					return ErrIntOverflowGenerated
4350				}
4351				if iNdEx >= l {
4352					return io.ErrUnexpectedEOF
4353				}
4354				b := dAtA[iNdEx]
4355				iNdEx++
4356				msglen |= int(b&0x7F) << shift
4357				if b < 0x80 {
4358					break
4359				}
4360			}
4361			if msglen < 0 {
4362				return ErrInvalidLengthGenerated
4363			}
4364			postIndex := iNdEx + msglen
4365			if postIndex < 0 {
4366				return ErrInvalidLengthGenerated
4367			}
4368			if postIndex > l {
4369				return io.ErrUnexpectedEOF
4370			}
4371			if m.MaxUnavailable == nil {
4372				m.MaxUnavailable = &intstr.IntOrString{}
4373			}
4374			if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4375				return err
4376			}
4377			iNdEx = postIndex
4378		case 2:
4379			if wireType != 2 {
4380				return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
4381			}
4382			var msglen int
4383			for shift := uint(0); ; shift += 7 {
4384				if shift >= 64 {
4385					return ErrIntOverflowGenerated
4386				}
4387				if iNdEx >= l {
4388					return io.ErrUnexpectedEOF
4389				}
4390				b := dAtA[iNdEx]
4391				iNdEx++
4392				msglen |= int(b&0x7F) << shift
4393				if b < 0x80 {
4394					break
4395				}
4396			}
4397			if msglen < 0 {
4398				return ErrInvalidLengthGenerated
4399			}
4400			postIndex := iNdEx + msglen
4401			if postIndex < 0 {
4402				return ErrInvalidLengthGenerated
4403			}
4404			if postIndex > l {
4405				return io.ErrUnexpectedEOF
4406			}
4407			if m.MaxSurge == nil {
4408				m.MaxSurge = &intstr.IntOrString{}
4409			}
4410			if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4411				return err
4412			}
4413			iNdEx = postIndex
4414		default:
4415			iNdEx = preIndex
4416			skippy, err := skipGenerated(dAtA[iNdEx:])
4417			if err != nil {
4418				return err
4419			}
4420			if (skippy < 0) || (iNdEx+skippy) < 0 {
4421				return ErrInvalidLengthGenerated
4422			}
4423			if (iNdEx + skippy) > l {
4424				return io.ErrUnexpectedEOF
4425			}
4426			iNdEx += skippy
4427		}
4428	}
4429
4430	if iNdEx > l {
4431		return io.ErrUnexpectedEOF
4432	}
4433	return nil
4434}
4435func (m *RollingUpdateStatefulSetStrategy) Unmarshal(dAtA []byte) error {
4436	l := len(dAtA)
4437	iNdEx := 0
4438	for iNdEx < l {
4439		preIndex := iNdEx
4440		var wire uint64
4441		for shift := uint(0); ; shift += 7 {
4442			if shift >= 64 {
4443				return ErrIntOverflowGenerated
4444			}
4445			if iNdEx >= l {
4446				return io.ErrUnexpectedEOF
4447			}
4448			b := dAtA[iNdEx]
4449			iNdEx++
4450			wire |= uint64(b&0x7F) << shift
4451			if b < 0x80 {
4452				break
4453			}
4454		}
4455		fieldNum := int32(wire >> 3)
4456		wireType := int(wire & 0x7)
4457		if wireType == 4 {
4458			return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: wiretype end group for non-group")
4459		}
4460		if fieldNum <= 0 {
4461			return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
4462		}
4463		switch fieldNum {
4464		case 1:
4465			if wireType != 0 {
4466				return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
4467			}
4468			var v int32
4469			for shift := uint(0); ; shift += 7 {
4470				if shift >= 64 {
4471					return ErrIntOverflowGenerated
4472				}
4473				if iNdEx >= l {
4474					return io.ErrUnexpectedEOF
4475				}
4476				b := dAtA[iNdEx]
4477				iNdEx++
4478				v |= int32(b&0x7F) << shift
4479				if b < 0x80 {
4480					break
4481				}
4482			}
4483			m.Partition = &v
4484		default:
4485			iNdEx = preIndex
4486			skippy, err := skipGenerated(dAtA[iNdEx:])
4487			if err != nil {
4488				return err
4489			}
4490			if (skippy < 0) || (iNdEx+skippy) < 0 {
4491				return ErrInvalidLengthGenerated
4492			}
4493			if (iNdEx + skippy) > l {
4494				return io.ErrUnexpectedEOF
4495			}
4496			iNdEx += skippy
4497		}
4498	}
4499
4500	if iNdEx > l {
4501		return io.ErrUnexpectedEOF
4502	}
4503	return nil
4504}
4505func (m *Scale) Unmarshal(dAtA []byte) error {
4506	l := len(dAtA)
4507	iNdEx := 0
4508	for iNdEx < l {
4509		preIndex := iNdEx
4510		var wire uint64
4511		for shift := uint(0); ; shift += 7 {
4512			if shift >= 64 {
4513				return ErrIntOverflowGenerated
4514			}
4515			if iNdEx >= l {
4516				return io.ErrUnexpectedEOF
4517			}
4518			b := dAtA[iNdEx]
4519			iNdEx++
4520			wire |= uint64(b&0x7F) << shift
4521			if b < 0x80 {
4522				break
4523			}
4524		}
4525		fieldNum := int32(wire >> 3)
4526		wireType := int(wire & 0x7)
4527		if wireType == 4 {
4528			return fmt.Errorf("proto: Scale: wiretype end group for non-group")
4529		}
4530		if fieldNum <= 0 {
4531			return fmt.Errorf("proto: Scale: illegal tag %d (wire type %d)", fieldNum, wire)
4532		}
4533		switch fieldNum {
4534		case 1:
4535			if wireType != 2 {
4536				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
4537			}
4538			var msglen int
4539			for shift := uint(0); ; shift += 7 {
4540				if shift >= 64 {
4541					return ErrIntOverflowGenerated
4542				}
4543				if iNdEx >= l {
4544					return io.ErrUnexpectedEOF
4545				}
4546				b := dAtA[iNdEx]
4547				iNdEx++
4548				msglen |= int(b&0x7F) << shift
4549				if b < 0x80 {
4550					break
4551				}
4552			}
4553			if msglen < 0 {
4554				return ErrInvalidLengthGenerated
4555			}
4556			postIndex := iNdEx + msglen
4557			if postIndex < 0 {
4558				return ErrInvalidLengthGenerated
4559			}
4560			if postIndex > l {
4561				return io.ErrUnexpectedEOF
4562			}
4563			if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4564				return err
4565			}
4566			iNdEx = postIndex
4567		case 2:
4568			if wireType != 2 {
4569				return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
4570			}
4571			var msglen int
4572			for shift := uint(0); ; shift += 7 {
4573				if shift >= 64 {
4574					return ErrIntOverflowGenerated
4575				}
4576				if iNdEx >= l {
4577					return io.ErrUnexpectedEOF
4578				}
4579				b := dAtA[iNdEx]
4580				iNdEx++
4581				msglen |= int(b&0x7F) << shift
4582				if b < 0x80 {
4583					break
4584				}
4585			}
4586			if msglen < 0 {
4587				return ErrInvalidLengthGenerated
4588			}
4589			postIndex := iNdEx + msglen
4590			if postIndex < 0 {
4591				return ErrInvalidLengthGenerated
4592			}
4593			if postIndex > l {
4594				return io.ErrUnexpectedEOF
4595			}
4596			if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4597				return err
4598			}
4599			iNdEx = postIndex
4600		case 3:
4601			if wireType != 2 {
4602				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
4603			}
4604			var msglen int
4605			for shift := uint(0); ; shift += 7 {
4606				if shift >= 64 {
4607					return ErrIntOverflowGenerated
4608				}
4609				if iNdEx >= l {
4610					return io.ErrUnexpectedEOF
4611				}
4612				b := dAtA[iNdEx]
4613				iNdEx++
4614				msglen |= int(b&0x7F) << shift
4615				if b < 0x80 {
4616					break
4617				}
4618			}
4619			if msglen < 0 {
4620				return ErrInvalidLengthGenerated
4621			}
4622			postIndex := iNdEx + msglen
4623			if postIndex < 0 {
4624				return ErrInvalidLengthGenerated
4625			}
4626			if postIndex > l {
4627				return io.ErrUnexpectedEOF
4628			}
4629			if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4630				return err
4631			}
4632			iNdEx = postIndex
4633		default:
4634			iNdEx = preIndex
4635			skippy, err := skipGenerated(dAtA[iNdEx:])
4636			if err != nil {
4637				return err
4638			}
4639			if (skippy < 0) || (iNdEx+skippy) < 0 {
4640				return ErrInvalidLengthGenerated
4641			}
4642			if (iNdEx + skippy) > l {
4643				return io.ErrUnexpectedEOF
4644			}
4645			iNdEx += skippy
4646		}
4647	}
4648
4649	if iNdEx > l {
4650		return io.ErrUnexpectedEOF
4651	}
4652	return nil
4653}
4654func (m *ScaleSpec) Unmarshal(dAtA []byte) error {
4655	l := len(dAtA)
4656	iNdEx := 0
4657	for iNdEx < l {
4658		preIndex := iNdEx
4659		var wire uint64
4660		for shift := uint(0); ; shift += 7 {
4661			if shift >= 64 {
4662				return ErrIntOverflowGenerated
4663			}
4664			if iNdEx >= l {
4665				return io.ErrUnexpectedEOF
4666			}
4667			b := dAtA[iNdEx]
4668			iNdEx++
4669			wire |= uint64(b&0x7F) << shift
4670			if b < 0x80 {
4671				break
4672			}
4673		}
4674		fieldNum := int32(wire >> 3)
4675		wireType := int(wire & 0x7)
4676		if wireType == 4 {
4677			return fmt.Errorf("proto: ScaleSpec: wiretype end group for non-group")
4678		}
4679		if fieldNum <= 0 {
4680			return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire)
4681		}
4682		switch fieldNum {
4683		case 1:
4684			if wireType != 0 {
4685				return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
4686			}
4687			m.Replicas = 0
4688			for shift := uint(0); ; shift += 7 {
4689				if shift >= 64 {
4690					return ErrIntOverflowGenerated
4691				}
4692				if iNdEx >= l {
4693					return io.ErrUnexpectedEOF
4694				}
4695				b := dAtA[iNdEx]
4696				iNdEx++
4697				m.Replicas |= int32(b&0x7F) << shift
4698				if b < 0x80 {
4699					break
4700				}
4701			}
4702		default:
4703			iNdEx = preIndex
4704			skippy, err := skipGenerated(dAtA[iNdEx:])
4705			if err != nil {
4706				return err
4707			}
4708			if (skippy < 0) || (iNdEx+skippy) < 0 {
4709				return ErrInvalidLengthGenerated
4710			}
4711			if (iNdEx + skippy) > l {
4712				return io.ErrUnexpectedEOF
4713			}
4714			iNdEx += skippy
4715		}
4716	}
4717
4718	if iNdEx > l {
4719		return io.ErrUnexpectedEOF
4720	}
4721	return nil
4722}
4723func (m *ScaleStatus) Unmarshal(dAtA []byte) error {
4724	l := len(dAtA)
4725	iNdEx := 0
4726	for iNdEx < l {
4727		preIndex := iNdEx
4728		var wire uint64
4729		for shift := uint(0); ; shift += 7 {
4730			if shift >= 64 {
4731				return ErrIntOverflowGenerated
4732			}
4733			if iNdEx >= l {
4734				return io.ErrUnexpectedEOF
4735			}
4736			b := dAtA[iNdEx]
4737			iNdEx++
4738			wire |= uint64(b&0x7F) << shift
4739			if b < 0x80 {
4740				break
4741			}
4742		}
4743		fieldNum := int32(wire >> 3)
4744		wireType := int(wire & 0x7)
4745		if wireType == 4 {
4746			return fmt.Errorf("proto: ScaleStatus: wiretype end group for non-group")
4747		}
4748		if fieldNum <= 0 {
4749			return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire)
4750		}
4751		switch fieldNum {
4752		case 1:
4753			if wireType != 0 {
4754				return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
4755			}
4756			m.Replicas = 0
4757			for shift := uint(0); ; shift += 7 {
4758				if shift >= 64 {
4759					return ErrIntOverflowGenerated
4760				}
4761				if iNdEx >= l {
4762					return io.ErrUnexpectedEOF
4763				}
4764				b := dAtA[iNdEx]
4765				iNdEx++
4766				m.Replicas |= int32(b&0x7F) << shift
4767				if b < 0x80 {
4768					break
4769				}
4770			}
4771		case 2:
4772			if wireType != 2 {
4773				return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
4774			}
4775			var msglen int
4776			for shift := uint(0); ; shift += 7 {
4777				if shift >= 64 {
4778					return ErrIntOverflowGenerated
4779				}
4780				if iNdEx >= l {
4781					return io.ErrUnexpectedEOF
4782				}
4783				b := dAtA[iNdEx]
4784				iNdEx++
4785				msglen |= int(b&0x7F) << shift
4786				if b < 0x80 {
4787					break
4788				}
4789			}
4790			if msglen < 0 {
4791				return ErrInvalidLengthGenerated
4792			}
4793			postIndex := iNdEx + msglen
4794			if postIndex < 0 {
4795				return ErrInvalidLengthGenerated
4796			}
4797			if postIndex > l {
4798				return io.ErrUnexpectedEOF
4799			}
4800			if m.Selector == nil {
4801				m.Selector = make(map[string]string)
4802			}
4803			var mapkey string
4804			var mapvalue string
4805			for iNdEx < postIndex {
4806				entryPreIndex := iNdEx
4807				var wire uint64
4808				for shift := uint(0); ; shift += 7 {
4809					if shift >= 64 {
4810						return ErrIntOverflowGenerated
4811					}
4812					if iNdEx >= l {
4813						return io.ErrUnexpectedEOF
4814					}
4815					b := dAtA[iNdEx]
4816					iNdEx++
4817					wire |= uint64(b&0x7F) << shift
4818					if b < 0x80 {
4819						break
4820					}
4821				}
4822				fieldNum := int32(wire >> 3)
4823				if fieldNum == 1 {
4824					var stringLenmapkey uint64
4825					for shift := uint(0); ; shift += 7 {
4826						if shift >= 64 {
4827							return ErrIntOverflowGenerated
4828						}
4829						if iNdEx >= l {
4830							return io.ErrUnexpectedEOF
4831						}
4832						b := dAtA[iNdEx]
4833						iNdEx++
4834						stringLenmapkey |= uint64(b&0x7F) << shift
4835						if b < 0x80 {
4836							break
4837						}
4838					}
4839					intStringLenmapkey := int(stringLenmapkey)
4840					if intStringLenmapkey < 0 {
4841						return ErrInvalidLengthGenerated
4842					}
4843					postStringIndexmapkey := iNdEx + intStringLenmapkey
4844					if postStringIndexmapkey < 0 {
4845						return ErrInvalidLengthGenerated
4846					}
4847					if postStringIndexmapkey > l {
4848						return io.ErrUnexpectedEOF
4849					}
4850					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
4851					iNdEx = postStringIndexmapkey
4852				} else if fieldNum == 2 {
4853					var stringLenmapvalue uint64
4854					for shift := uint(0); ; shift += 7 {
4855						if shift >= 64 {
4856							return ErrIntOverflowGenerated
4857						}
4858						if iNdEx >= l {
4859							return io.ErrUnexpectedEOF
4860						}
4861						b := dAtA[iNdEx]
4862						iNdEx++
4863						stringLenmapvalue |= uint64(b&0x7F) << shift
4864						if b < 0x80 {
4865							break
4866						}
4867					}
4868					intStringLenmapvalue := int(stringLenmapvalue)
4869					if intStringLenmapvalue < 0 {
4870						return ErrInvalidLengthGenerated
4871					}
4872					postStringIndexmapvalue := iNdEx + intStringLenmapvalue
4873					if postStringIndexmapvalue < 0 {
4874						return ErrInvalidLengthGenerated
4875					}
4876					if postStringIndexmapvalue > l {
4877						return io.ErrUnexpectedEOF
4878					}
4879					mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
4880					iNdEx = postStringIndexmapvalue
4881				} else {
4882					iNdEx = entryPreIndex
4883					skippy, err := skipGenerated(dAtA[iNdEx:])
4884					if err != nil {
4885						return err
4886					}
4887					if (skippy < 0) || (iNdEx+skippy) < 0 {
4888						return ErrInvalidLengthGenerated
4889					}
4890					if (iNdEx + skippy) > postIndex {
4891						return io.ErrUnexpectedEOF
4892					}
4893					iNdEx += skippy
4894				}
4895			}
4896			m.Selector[mapkey] = mapvalue
4897			iNdEx = postIndex
4898		case 3:
4899			if wireType != 2 {
4900				return fmt.Errorf("proto: wrong wireType = %d for field TargetSelector", wireType)
4901			}
4902			var stringLen uint64
4903			for shift := uint(0); ; shift += 7 {
4904				if shift >= 64 {
4905					return ErrIntOverflowGenerated
4906				}
4907				if iNdEx >= l {
4908					return io.ErrUnexpectedEOF
4909				}
4910				b := dAtA[iNdEx]
4911				iNdEx++
4912				stringLen |= uint64(b&0x7F) << shift
4913				if b < 0x80 {
4914					break
4915				}
4916			}
4917			intStringLen := int(stringLen)
4918			if intStringLen < 0 {
4919				return ErrInvalidLengthGenerated
4920			}
4921			postIndex := iNdEx + intStringLen
4922			if postIndex < 0 {
4923				return ErrInvalidLengthGenerated
4924			}
4925			if postIndex > l {
4926				return io.ErrUnexpectedEOF
4927			}
4928			m.TargetSelector = string(dAtA[iNdEx:postIndex])
4929			iNdEx = postIndex
4930		default:
4931			iNdEx = preIndex
4932			skippy, err := skipGenerated(dAtA[iNdEx:])
4933			if err != nil {
4934				return err
4935			}
4936			if (skippy < 0) || (iNdEx+skippy) < 0 {
4937				return ErrInvalidLengthGenerated
4938			}
4939			if (iNdEx + skippy) > l {
4940				return io.ErrUnexpectedEOF
4941			}
4942			iNdEx += skippy
4943		}
4944	}
4945
4946	if iNdEx > l {
4947		return io.ErrUnexpectedEOF
4948	}
4949	return nil
4950}
4951func (m *StatefulSet) Unmarshal(dAtA []byte) error {
4952	l := len(dAtA)
4953	iNdEx := 0
4954	for iNdEx < l {
4955		preIndex := iNdEx
4956		var wire uint64
4957		for shift := uint(0); ; shift += 7 {
4958			if shift >= 64 {
4959				return ErrIntOverflowGenerated
4960			}
4961			if iNdEx >= l {
4962				return io.ErrUnexpectedEOF
4963			}
4964			b := dAtA[iNdEx]
4965			iNdEx++
4966			wire |= uint64(b&0x7F) << shift
4967			if b < 0x80 {
4968				break
4969			}
4970		}
4971		fieldNum := int32(wire >> 3)
4972		wireType := int(wire & 0x7)
4973		if wireType == 4 {
4974			return fmt.Errorf("proto: StatefulSet: wiretype end group for non-group")
4975		}
4976		if fieldNum <= 0 {
4977			return fmt.Errorf("proto: StatefulSet: illegal tag %d (wire type %d)", fieldNum, wire)
4978		}
4979		switch fieldNum {
4980		case 1:
4981			if wireType != 2 {
4982				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
4983			}
4984			var msglen int
4985			for shift := uint(0); ; shift += 7 {
4986				if shift >= 64 {
4987					return ErrIntOverflowGenerated
4988				}
4989				if iNdEx >= l {
4990					return io.ErrUnexpectedEOF
4991				}
4992				b := dAtA[iNdEx]
4993				iNdEx++
4994				msglen |= int(b&0x7F) << shift
4995				if b < 0x80 {
4996					break
4997				}
4998			}
4999			if msglen < 0 {
5000				return ErrInvalidLengthGenerated
5001			}
5002			postIndex := iNdEx + msglen
5003			if postIndex < 0 {
5004				return ErrInvalidLengthGenerated
5005			}
5006			if postIndex > l {
5007				return io.ErrUnexpectedEOF
5008			}
5009			if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5010				return err
5011			}
5012			iNdEx = postIndex
5013		case 2:
5014			if wireType != 2 {
5015				return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
5016			}
5017			var msglen int
5018			for shift := uint(0); ; shift += 7 {
5019				if shift >= 64 {
5020					return ErrIntOverflowGenerated
5021				}
5022				if iNdEx >= l {
5023					return io.ErrUnexpectedEOF
5024				}
5025				b := dAtA[iNdEx]
5026				iNdEx++
5027				msglen |= int(b&0x7F) << shift
5028				if b < 0x80 {
5029					break
5030				}
5031			}
5032			if msglen < 0 {
5033				return ErrInvalidLengthGenerated
5034			}
5035			postIndex := iNdEx + msglen
5036			if postIndex < 0 {
5037				return ErrInvalidLengthGenerated
5038			}
5039			if postIndex > l {
5040				return io.ErrUnexpectedEOF
5041			}
5042			if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5043				return err
5044			}
5045			iNdEx = postIndex
5046		case 3:
5047			if wireType != 2 {
5048				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
5049			}
5050			var msglen int
5051			for shift := uint(0); ; shift += 7 {
5052				if shift >= 64 {
5053					return ErrIntOverflowGenerated
5054				}
5055				if iNdEx >= l {
5056					return io.ErrUnexpectedEOF
5057				}
5058				b := dAtA[iNdEx]
5059				iNdEx++
5060				msglen |= int(b&0x7F) << shift
5061				if b < 0x80 {
5062					break
5063				}
5064			}
5065			if msglen < 0 {
5066				return ErrInvalidLengthGenerated
5067			}
5068			postIndex := iNdEx + msglen
5069			if postIndex < 0 {
5070				return ErrInvalidLengthGenerated
5071			}
5072			if postIndex > l {
5073				return io.ErrUnexpectedEOF
5074			}
5075			if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5076				return err
5077			}
5078			iNdEx = postIndex
5079		default:
5080			iNdEx = preIndex
5081			skippy, err := skipGenerated(dAtA[iNdEx:])
5082			if err != nil {
5083				return err
5084			}
5085			if (skippy < 0) || (iNdEx+skippy) < 0 {
5086				return ErrInvalidLengthGenerated
5087			}
5088			if (iNdEx + skippy) > l {
5089				return io.ErrUnexpectedEOF
5090			}
5091			iNdEx += skippy
5092		}
5093	}
5094
5095	if iNdEx > l {
5096		return io.ErrUnexpectedEOF
5097	}
5098	return nil
5099}
5100func (m *StatefulSetCondition) Unmarshal(dAtA []byte) error {
5101	l := len(dAtA)
5102	iNdEx := 0
5103	for iNdEx < l {
5104		preIndex := iNdEx
5105		var wire uint64
5106		for shift := uint(0); ; shift += 7 {
5107			if shift >= 64 {
5108				return ErrIntOverflowGenerated
5109			}
5110			if iNdEx >= l {
5111				return io.ErrUnexpectedEOF
5112			}
5113			b := dAtA[iNdEx]
5114			iNdEx++
5115			wire |= uint64(b&0x7F) << shift
5116			if b < 0x80 {
5117				break
5118			}
5119		}
5120		fieldNum := int32(wire >> 3)
5121		wireType := int(wire & 0x7)
5122		if wireType == 4 {
5123			return fmt.Errorf("proto: StatefulSetCondition: wiretype end group for non-group")
5124		}
5125		if fieldNum <= 0 {
5126			return fmt.Errorf("proto: StatefulSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
5127		}
5128		switch fieldNum {
5129		case 1:
5130			if wireType != 2 {
5131				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
5132			}
5133			var stringLen uint64
5134			for shift := uint(0); ; shift += 7 {
5135				if shift >= 64 {
5136					return ErrIntOverflowGenerated
5137				}
5138				if iNdEx >= l {
5139					return io.ErrUnexpectedEOF
5140				}
5141				b := dAtA[iNdEx]
5142				iNdEx++
5143				stringLen |= uint64(b&0x7F) << shift
5144				if b < 0x80 {
5145					break
5146				}
5147			}
5148			intStringLen := int(stringLen)
5149			if intStringLen < 0 {
5150				return ErrInvalidLengthGenerated
5151			}
5152			postIndex := iNdEx + intStringLen
5153			if postIndex < 0 {
5154				return ErrInvalidLengthGenerated
5155			}
5156			if postIndex > l {
5157				return io.ErrUnexpectedEOF
5158			}
5159			m.Type = StatefulSetConditionType(dAtA[iNdEx:postIndex])
5160			iNdEx = postIndex
5161		case 2:
5162			if wireType != 2 {
5163				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
5164			}
5165			var stringLen uint64
5166			for shift := uint(0); ; shift += 7 {
5167				if shift >= 64 {
5168					return ErrIntOverflowGenerated
5169				}
5170				if iNdEx >= l {
5171					return io.ErrUnexpectedEOF
5172				}
5173				b := dAtA[iNdEx]
5174				iNdEx++
5175				stringLen |= uint64(b&0x7F) << shift
5176				if b < 0x80 {
5177					break
5178				}
5179			}
5180			intStringLen := int(stringLen)
5181			if intStringLen < 0 {
5182				return ErrInvalidLengthGenerated
5183			}
5184			postIndex := iNdEx + intStringLen
5185			if postIndex < 0 {
5186				return ErrInvalidLengthGenerated
5187			}
5188			if postIndex > l {
5189				return io.ErrUnexpectedEOF
5190			}
5191			m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
5192			iNdEx = postIndex
5193		case 3:
5194			if wireType != 2 {
5195				return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
5196			}
5197			var msglen int
5198			for shift := uint(0); ; shift += 7 {
5199				if shift >= 64 {
5200					return ErrIntOverflowGenerated
5201				}
5202				if iNdEx >= l {
5203					return io.ErrUnexpectedEOF
5204				}
5205				b := dAtA[iNdEx]
5206				iNdEx++
5207				msglen |= int(b&0x7F) << shift
5208				if b < 0x80 {
5209					break
5210				}
5211			}
5212			if msglen < 0 {
5213				return ErrInvalidLengthGenerated
5214			}
5215			postIndex := iNdEx + msglen
5216			if postIndex < 0 {
5217				return ErrInvalidLengthGenerated
5218			}
5219			if postIndex > l {
5220				return io.ErrUnexpectedEOF
5221			}
5222			if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5223				return err
5224			}
5225			iNdEx = postIndex
5226		case 4:
5227			if wireType != 2 {
5228				return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
5229			}
5230			var stringLen uint64
5231			for shift := uint(0); ; shift += 7 {
5232				if shift >= 64 {
5233					return ErrIntOverflowGenerated
5234				}
5235				if iNdEx >= l {
5236					return io.ErrUnexpectedEOF
5237				}
5238				b := dAtA[iNdEx]
5239				iNdEx++
5240				stringLen |= uint64(b&0x7F) << shift
5241				if b < 0x80 {
5242					break
5243				}
5244			}
5245			intStringLen := int(stringLen)
5246			if intStringLen < 0 {
5247				return ErrInvalidLengthGenerated
5248			}
5249			postIndex := iNdEx + intStringLen
5250			if postIndex < 0 {
5251				return ErrInvalidLengthGenerated
5252			}
5253			if postIndex > l {
5254				return io.ErrUnexpectedEOF
5255			}
5256			m.Reason = string(dAtA[iNdEx:postIndex])
5257			iNdEx = postIndex
5258		case 5:
5259			if wireType != 2 {
5260				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
5261			}
5262			var stringLen uint64
5263			for shift := uint(0); ; shift += 7 {
5264				if shift >= 64 {
5265					return ErrIntOverflowGenerated
5266				}
5267				if iNdEx >= l {
5268					return io.ErrUnexpectedEOF
5269				}
5270				b := dAtA[iNdEx]
5271				iNdEx++
5272				stringLen |= uint64(b&0x7F) << shift
5273				if b < 0x80 {
5274					break
5275				}
5276			}
5277			intStringLen := int(stringLen)
5278			if intStringLen < 0 {
5279				return ErrInvalidLengthGenerated
5280			}
5281			postIndex := iNdEx + intStringLen
5282			if postIndex < 0 {
5283				return ErrInvalidLengthGenerated
5284			}
5285			if postIndex > l {
5286				return io.ErrUnexpectedEOF
5287			}
5288			m.Message = string(dAtA[iNdEx:postIndex])
5289			iNdEx = postIndex
5290		default:
5291			iNdEx = preIndex
5292			skippy, err := skipGenerated(dAtA[iNdEx:])
5293			if err != nil {
5294				return err
5295			}
5296			if (skippy < 0) || (iNdEx+skippy) < 0 {
5297				return ErrInvalidLengthGenerated
5298			}
5299			if (iNdEx + skippy) > l {
5300				return io.ErrUnexpectedEOF
5301			}
5302			iNdEx += skippy
5303		}
5304	}
5305
5306	if iNdEx > l {
5307		return io.ErrUnexpectedEOF
5308	}
5309	return nil
5310}
5311func (m *StatefulSetList) Unmarshal(dAtA []byte) error {
5312	l := len(dAtA)
5313	iNdEx := 0
5314	for iNdEx < l {
5315		preIndex := iNdEx
5316		var wire uint64
5317		for shift := uint(0); ; shift += 7 {
5318			if shift >= 64 {
5319				return ErrIntOverflowGenerated
5320			}
5321			if iNdEx >= l {
5322				return io.ErrUnexpectedEOF
5323			}
5324			b := dAtA[iNdEx]
5325			iNdEx++
5326			wire |= uint64(b&0x7F) << shift
5327			if b < 0x80 {
5328				break
5329			}
5330		}
5331		fieldNum := int32(wire >> 3)
5332		wireType := int(wire & 0x7)
5333		if wireType == 4 {
5334			return fmt.Errorf("proto: StatefulSetList: wiretype end group for non-group")
5335		}
5336		if fieldNum <= 0 {
5337			return fmt.Errorf("proto: StatefulSetList: illegal tag %d (wire type %d)", fieldNum, wire)
5338		}
5339		switch fieldNum {
5340		case 1:
5341			if wireType != 2 {
5342				return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
5343			}
5344			var msglen int
5345			for shift := uint(0); ; shift += 7 {
5346				if shift >= 64 {
5347					return ErrIntOverflowGenerated
5348				}
5349				if iNdEx >= l {
5350					return io.ErrUnexpectedEOF
5351				}
5352				b := dAtA[iNdEx]
5353				iNdEx++
5354				msglen |= int(b&0x7F) << shift
5355				if b < 0x80 {
5356					break
5357				}
5358			}
5359			if msglen < 0 {
5360				return ErrInvalidLengthGenerated
5361			}
5362			postIndex := iNdEx + msglen
5363			if postIndex < 0 {
5364				return ErrInvalidLengthGenerated
5365			}
5366			if postIndex > l {
5367				return io.ErrUnexpectedEOF
5368			}
5369			if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5370				return err
5371			}
5372			iNdEx = postIndex
5373		case 2:
5374			if wireType != 2 {
5375				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
5376			}
5377			var msglen int
5378			for shift := uint(0); ; shift += 7 {
5379				if shift >= 64 {
5380					return ErrIntOverflowGenerated
5381				}
5382				if iNdEx >= l {
5383					return io.ErrUnexpectedEOF
5384				}
5385				b := dAtA[iNdEx]
5386				iNdEx++
5387				msglen |= int(b&0x7F) << shift
5388				if b < 0x80 {
5389					break
5390				}
5391			}
5392			if msglen < 0 {
5393				return ErrInvalidLengthGenerated
5394			}
5395			postIndex := iNdEx + msglen
5396			if postIndex < 0 {
5397				return ErrInvalidLengthGenerated
5398			}
5399			if postIndex > l {
5400				return io.ErrUnexpectedEOF
5401			}
5402			m.Items = append(m.Items, StatefulSet{})
5403			if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5404				return err
5405			}
5406			iNdEx = postIndex
5407		default:
5408			iNdEx = preIndex
5409			skippy, err := skipGenerated(dAtA[iNdEx:])
5410			if err != nil {
5411				return err
5412			}
5413			if (skippy < 0) || (iNdEx+skippy) < 0 {
5414				return ErrInvalidLengthGenerated
5415			}
5416			if (iNdEx + skippy) > l {
5417				return io.ErrUnexpectedEOF
5418			}
5419			iNdEx += skippy
5420		}
5421	}
5422
5423	if iNdEx > l {
5424		return io.ErrUnexpectedEOF
5425	}
5426	return nil
5427}
5428func (m *StatefulSetSpec) Unmarshal(dAtA []byte) error {
5429	l := len(dAtA)
5430	iNdEx := 0
5431	for iNdEx < l {
5432		preIndex := iNdEx
5433		var wire uint64
5434		for shift := uint(0); ; shift += 7 {
5435			if shift >= 64 {
5436				return ErrIntOverflowGenerated
5437			}
5438			if iNdEx >= l {
5439				return io.ErrUnexpectedEOF
5440			}
5441			b := dAtA[iNdEx]
5442			iNdEx++
5443			wire |= uint64(b&0x7F) << shift
5444			if b < 0x80 {
5445				break
5446			}
5447		}
5448		fieldNum := int32(wire >> 3)
5449		wireType := int(wire & 0x7)
5450		if wireType == 4 {
5451			return fmt.Errorf("proto: StatefulSetSpec: wiretype end group for non-group")
5452		}
5453		if fieldNum <= 0 {
5454			return fmt.Errorf("proto: StatefulSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
5455		}
5456		switch fieldNum {
5457		case 1:
5458			if wireType != 0 {
5459				return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
5460			}
5461			var v int32
5462			for shift := uint(0); ; shift += 7 {
5463				if shift >= 64 {
5464					return ErrIntOverflowGenerated
5465				}
5466				if iNdEx >= l {
5467					return io.ErrUnexpectedEOF
5468				}
5469				b := dAtA[iNdEx]
5470				iNdEx++
5471				v |= int32(b&0x7F) << shift
5472				if b < 0x80 {
5473					break
5474				}
5475			}
5476			m.Replicas = &v
5477		case 2:
5478			if wireType != 2 {
5479				return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
5480			}
5481			var msglen int
5482			for shift := uint(0); ; shift += 7 {
5483				if shift >= 64 {
5484					return ErrIntOverflowGenerated
5485				}
5486				if iNdEx >= l {
5487					return io.ErrUnexpectedEOF
5488				}
5489				b := dAtA[iNdEx]
5490				iNdEx++
5491				msglen |= int(b&0x7F) << shift
5492				if b < 0x80 {
5493					break
5494				}
5495			}
5496			if msglen < 0 {
5497				return ErrInvalidLengthGenerated
5498			}
5499			postIndex := iNdEx + msglen
5500			if postIndex < 0 {
5501				return ErrInvalidLengthGenerated
5502			}
5503			if postIndex > l {
5504				return io.ErrUnexpectedEOF
5505			}
5506			if m.Selector == nil {
5507				m.Selector = &v1.LabelSelector{}
5508			}
5509			if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5510				return err
5511			}
5512			iNdEx = postIndex
5513		case 3:
5514			if wireType != 2 {
5515				return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
5516			}
5517			var msglen int
5518			for shift := uint(0); ; shift += 7 {
5519				if shift >= 64 {
5520					return ErrIntOverflowGenerated
5521				}
5522				if iNdEx >= l {
5523					return io.ErrUnexpectedEOF
5524				}
5525				b := dAtA[iNdEx]
5526				iNdEx++
5527				msglen |= int(b&0x7F) << shift
5528				if b < 0x80 {
5529					break
5530				}
5531			}
5532			if msglen < 0 {
5533				return ErrInvalidLengthGenerated
5534			}
5535			postIndex := iNdEx + msglen
5536			if postIndex < 0 {
5537				return ErrInvalidLengthGenerated
5538			}
5539			if postIndex > l {
5540				return io.ErrUnexpectedEOF
5541			}
5542			if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5543				return err
5544			}
5545			iNdEx = postIndex
5546		case 4:
5547			if wireType != 2 {
5548				return fmt.Errorf("proto: wrong wireType = %d for field VolumeClaimTemplates", wireType)
5549			}
5550			var msglen int
5551			for shift := uint(0); ; shift += 7 {
5552				if shift >= 64 {
5553					return ErrIntOverflowGenerated
5554				}
5555				if iNdEx >= l {
5556					return io.ErrUnexpectedEOF
5557				}
5558				b := dAtA[iNdEx]
5559				iNdEx++
5560				msglen |= int(b&0x7F) << shift
5561				if b < 0x80 {
5562					break
5563				}
5564			}
5565			if msglen < 0 {
5566				return ErrInvalidLengthGenerated
5567			}
5568			postIndex := iNdEx + msglen
5569			if postIndex < 0 {
5570				return ErrInvalidLengthGenerated
5571			}
5572			if postIndex > l {
5573				return io.ErrUnexpectedEOF
5574			}
5575			m.VolumeClaimTemplates = append(m.VolumeClaimTemplates, v11.PersistentVolumeClaim{})
5576			if err := m.VolumeClaimTemplates[len(m.VolumeClaimTemplates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5577				return err
5578			}
5579			iNdEx = postIndex
5580		case 5:
5581			if wireType != 2 {
5582				return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType)
5583			}
5584			var stringLen uint64
5585			for shift := uint(0); ; shift += 7 {
5586				if shift >= 64 {
5587					return ErrIntOverflowGenerated
5588				}
5589				if iNdEx >= l {
5590					return io.ErrUnexpectedEOF
5591				}
5592				b := dAtA[iNdEx]
5593				iNdEx++
5594				stringLen |= uint64(b&0x7F) << shift
5595				if b < 0x80 {
5596					break
5597				}
5598			}
5599			intStringLen := int(stringLen)
5600			if intStringLen < 0 {
5601				return ErrInvalidLengthGenerated
5602			}
5603			postIndex := iNdEx + intStringLen
5604			if postIndex < 0 {
5605				return ErrInvalidLengthGenerated
5606			}
5607			if postIndex > l {
5608				return io.ErrUnexpectedEOF
5609			}
5610			m.ServiceName = string(dAtA[iNdEx:postIndex])
5611			iNdEx = postIndex
5612		case 6:
5613			if wireType != 2 {
5614				return fmt.Errorf("proto: wrong wireType = %d for field PodManagementPolicy", wireType)
5615			}
5616			var stringLen uint64
5617			for shift := uint(0); ; shift += 7 {
5618				if shift >= 64 {
5619					return ErrIntOverflowGenerated
5620				}
5621				if iNdEx >= l {
5622					return io.ErrUnexpectedEOF
5623				}
5624				b := dAtA[iNdEx]
5625				iNdEx++
5626				stringLen |= uint64(b&0x7F) << shift
5627				if b < 0x80 {
5628					break
5629				}
5630			}
5631			intStringLen := int(stringLen)
5632			if intStringLen < 0 {
5633				return ErrInvalidLengthGenerated
5634			}
5635			postIndex := iNdEx + intStringLen
5636			if postIndex < 0 {
5637				return ErrInvalidLengthGenerated
5638			}
5639			if postIndex > l {
5640				return io.ErrUnexpectedEOF
5641			}
5642			m.PodManagementPolicy = PodManagementPolicyType(dAtA[iNdEx:postIndex])
5643			iNdEx = postIndex
5644		case 7:
5645			if wireType != 2 {
5646				return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType)
5647			}
5648			var msglen int
5649			for shift := uint(0); ; shift += 7 {
5650				if shift >= 64 {
5651					return ErrIntOverflowGenerated
5652				}
5653				if iNdEx >= l {
5654					return io.ErrUnexpectedEOF
5655				}
5656				b := dAtA[iNdEx]
5657				iNdEx++
5658				msglen |= int(b&0x7F) << shift
5659				if b < 0x80 {
5660					break
5661				}
5662			}
5663			if msglen < 0 {
5664				return ErrInvalidLengthGenerated
5665			}
5666			postIndex := iNdEx + msglen
5667			if postIndex < 0 {
5668				return ErrInvalidLengthGenerated
5669			}
5670			if postIndex > l {
5671				return io.ErrUnexpectedEOF
5672			}
5673			if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5674				return err
5675			}
5676			iNdEx = postIndex
5677		case 8:
5678			if wireType != 0 {
5679				return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
5680			}
5681			var v int32
5682			for shift := uint(0); ; shift += 7 {
5683				if shift >= 64 {
5684					return ErrIntOverflowGenerated
5685				}
5686				if iNdEx >= l {
5687					return io.ErrUnexpectedEOF
5688				}
5689				b := dAtA[iNdEx]
5690				iNdEx++
5691				v |= int32(b&0x7F) << shift
5692				if b < 0x80 {
5693					break
5694				}
5695			}
5696			m.RevisionHistoryLimit = &v
5697		default:
5698			iNdEx = preIndex
5699			skippy, err := skipGenerated(dAtA[iNdEx:])
5700			if err != nil {
5701				return err
5702			}
5703			if (skippy < 0) || (iNdEx+skippy) < 0 {
5704				return ErrInvalidLengthGenerated
5705			}
5706			if (iNdEx + skippy) > l {
5707				return io.ErrUnexpectedEOF
5708			}
5709			iNdEx += skippy
5710		}
5711	}
5712
5713	if iNdEx > l {
5714		return io.ErrUnexpectedEOF
5715	}
5716	return nil
5717}
5718func (m *StatefulSetStatus) Unmarshal(dAtA []byte) error {
5719	l := len(dAtA)
5720	iNdEx := 0
5721	for iNdEx < l {
5722		preIndex := iNdEx
5723		var wire uint64
5724		for shift := uint(0); ; shift += 7 {
5725			if shift >= 64 {
5726				return ErrIntOverflowGenerated
5727			}
5728			if iNdEx >= l {
5729				return io.ErrUnexpectedEOF
5730			}
5731			b := dAtA[iNdEx]
5732			iNdEx++
5733			wire |= uint64(b&0x7F) << shift
5734			if b < 0x80 {
5735				break
5736			}
5737		}
5738		fieldNum := int32(wire >> 3)
5739		wireType := int(wire & 0x7)
5740		if wireType == 4 {
5741			return fmt.Errorf("proto: StatefulSetStatus: wiretype end group for non-group")
5742		}
5743		if fieldNum <= 0 {
5744			return fmt.Errorf("proto: StatefulSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
5745		}
5746		switch fieldNum {
5747		case 1:
5748			if wireType != 0 {
5749				return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
5750			}
5751			var v int64
5752			for shift := uint(0); ; shift += 7 {
5753				if shift >= 64 {
5754					return ErrIntOverflowGenerated
5755				}
5756				if iNdEx >= l {
5757					return io.ErrUnexpectedEOF
5758				}
5759				b := dAtA[iNdEx]
5760				iNdEx++
5761				v |= int64(b&0x7F) << shift
5762				if b < 0x80 {
5763					break
5764				}
5765			}
5766			m.ObservedGeneration = &v
5767		case 2:
5768			if wireType != 0 {
5769				return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
5770			}
5771			m.Replicas = 0
5772			for shift := uint(0); ; shift += 7 {
5773				if shift >= 64 {
5774					return ErrIntOverflowGenerated
5775				}
5776				if iNdEx >= l {
5777					return io.ErrUnexpectedEOF
5778				}
5779				b := dAtA[iNdEx]
5780				iNdEx++
5781				m.Replicas |= int32(b&0x7F) << shift
5782				if b < 0x80 {
5783					break
5784				}
5785			}
5786		case 3:
5787			if wireType != 0 {
5788				return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
5789			}
5790			m.ReadyReplicas = 0
5791			for shift := uint(0); ; shift += 7 {
5792				if shift >= 64 {
5793					return ErrIntOverflowGenerated
5794				}
5795				if iNdEx >= l {
5796					return io.ErrUnexpectedEOF
5797				}
5798				b := dAtA[iNdEx]
5799				iNdEx++
5800				m.ReadyReplicas |= int32(b&0x7F) << shift
5801				if b < 0x80 {
5802					break
5803				}
5804			}
5805		case 4:
5806			if wireType != 0 {
5807				return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
5808			}
5809			m.CurrentReplicas = 0
5810			for shift := uint(0); ; shift += 7 {
5811				if shift >= 64 {
5812					return ErrIntOverflowGenerated
5813				}
5814				if iNdEx >= l {
5815					return io.ErrUnexpectedEOF
5816				}
5817				b := dAtA[iNdEx]
5818				iNdEx++
5819				m.CurrentReplicas |= int32(b&0x7F) << shift
5820				if b < 0x80 {
5821					break
5822				}
5823			}
5824		case 5:
5825			if wireType != 0 {
5826				return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
5827			}
5828			m.UpdatedReplicas = 0
5829			for shift := uint(0); ; shift += 7 {
5830				if shift >= 64 {
5831					return ErrIntOverflowGenerated
5832				}
5833				if iNdEx >= l {
5834					return io.ErrUnexpectedEOF
5835				}
5836				b := dAtA[iNdEx]
5837				iNdEx++
5838				m.UpdatedReplicas |= int32(b&0x7F) << shift
5839				if b < 0x80 {
5840					break
5841				}
5842			}
5843		case 6:
5844			if wireType != 2 {
5845				return fmt.Errorf("proto: wrong wireType = %d for field CurrentRevision", wireType)
5846			}
5847			var stringLen uint64
5848			for shift := uint(0); ; shift += 7 {
5849				if shift >= 64 {
5850					return ErrIntOverflowGenerated
5851				}
5852				if iNdEx >= l {
5853					return io.ErrUnexpectedEOF
5854				}
5855				b := dAtA[iNdEx]
5856				iNdEx++
5857				stringLen |= uint64(b&0x7F) << shift
5858				if b < 0x80 {
5859					break
5860				}
5861			}
5862			intStringLen := int(stringLen)
5863			if intStringLen < 0 {
5864				return ErrInvalidLengthGenerated
5865			}
5866			postIndex := iNdEx + intStringLen
5867			if postIndex < 0 {
5868				return ErrInvalidLengthGenerated
5869			}
5870			if postIndex > l {
5871				return io.ErrUnexpectedEOF
5872			}
5873			m.CurrentRevision = string(dAtA[iNdEx:postIndex])
5874			iNdEx = postIndex
5875		case 7:
5876			if wireType != 2 {
5877				return fmt.Errorf("proto: wrong wireType = %d for field UpdateRevision", wireType)
5878			}
5879			var stringLen uint64
5880			for shift := uint(0); ; shift += 7 {
5881				if shift >= 64 {
5882					return ErrIntOverflowGenerated
5883				}
5884				if iNdEx >= l {
5885					return io.ErrUnexpectedEOF
5886				}
5887				b := dAtA[iNdEx]
5888				iNdEx++
5889				stringLen |= uint64(b&0x7F) << shift
5890				if b < 0x80 {
5891					break
5892				}
5893			}
5894			intStringLen := int(stringLen)
5895			if intStringLen < 0 {
5896				return ErrInvalidLengthGenerated
5897			}
5898			postIndex := iNdEx + intStringLen
5899			if postIndex < 0 {
5900				return ErrInvalidLengthGenerated
5901			}
5902			if postIndex > l {
5903				return io.ErrUnexpectedEOF
5904			}
5905			m.UpdateRevision = string(dAtA[iNdEx:postIndex])
5906			iNdEx = postIndex
5907		case 9:
5908			if wireType != 0 {
5909				return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
5910			}
5911			var v int32
5912			for shift := uint(0); ; shift += 7 {
5913				if shift >= 64 {
5914					return ErrIntOverflowGenerated
5915				}
5916				if iNdEx >= l {
5917					return io.ErrUnexpectedEOF
5918				}
5919				b := dAtA[iNdEx]
5920				iNdEx++
5921				v |= int32(b&0x7F) << shift
5922				if b < 0x80 {
5923					break
5924				}
5925			}
5926			m.CollisionCount = &v
5927		case 10:
5928			if wireType != 2 {
5929				return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
5930			}
5931			var msglen int
5932			for shift := uint(0); ; shift += 7 {
5933				if shift >= 64 {
5934					return ErrIntOverflowGenerated
5935				}
5936				if iNdEx >= l {
5937					return io.ErrUnexpectedEOF
5938				}
5939				b := dAtA[iNdEx]
5940				iNdEx++
5941				msglen |= int(b&0x7F) << shift
5942				if b < 0x80 {
5943					break
5944				}
5945			}
5946			if msglen < 0 {
5947				return ErrInvalidLengthGenerated
5948			}
5949			postIndex := iNdEx + msglen
5950			if postIndex < 0 {
5951				return ErrInvalidLengthGenerated
5952			}
5953			if postIndex > l {
5954				return io.ErrUnexpectedEOF
5955			}
5956			m.Conditions = append(m.Conditions, StatefulSetCondition{})
5957			if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5958				return err
5959			}
5960			iNdEx = postIndex
5961		default:
5962			iNdEx = preIndex
5963			skippy, err := skipGenerated(dAtA[iNdEx:])
5964			if err != nil {
5965				return err
5966			}
5967			if (skippy < 0) || (iNdEx+skippy) < 0 {
5968				return ErrInvalidLengthGenerated
5969			}
5970			if (iNdEx + skippy) > l {
5971				return io.ErrUnexpectedEOF
5972			}
5973			iNdEx += skippy
5974		}
5975	}
5976
5977	if iNdEx > l {
5978		return io.ErrUnexpectedEOF
5979	}
5980	return nil
5981}
5982func (m *StatefulSetUpdateStrategy) Unmarshal(dAtA []byte) error {
5983	l := len(dAtA)
5984	iNdEx := 0
5985	for iNdEx < l {
5986		preIndex := iNdEx
5987		var wire uint64
5988		for shift := uint(0); ; shift += 7 {
5989			if shift >= 64 {
5990				return ErrIntOverflowGenerated
5991			}
5992			if iNdEx >= l {
5993				return io.ErrUnexpectedEOF
5994			}
5995			b := dAtA[iNdEx]
5996			iNdEx++
5997			wire |= uint64(b&0x7F) << shift
5998			if b < 0x80 {
5999				break
6000			}
6001		}
6002		fieldNum := int32(wire >> 3)
6003		wireType := int(wire & 0x7)
6004		if wireType == 4 {
6005			return fmt.Errorf("proto: StatefulSetUpdateStrategy: wiretype end group for non-group")
6006		}
6007		if fieldNum <= 0 {
6008			return fmt.Errorf("proto: StatefulSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
6009		}
6010		switch fieldNum {
6011		case 1:
6012			if wireType != 2 {
6013				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
6014			}
6015			var stringLen uint64
6016			for shift := uint(0); ; shift += 7 {
6017				if shift >= 64 {
6018					return ErrIntOverflowGenerated
6019				}
6020				if iNdEx >= l {
6021					return io.ErrUnexpectedEOF
6022				}
6023				b := dAtA[iNdEx]
6024				iNdEx++
6025				stringLen |= uint64(b&0x7F) << shift
6026				if b < 0x80 {
6027					break
6028				}
6029			}
6030			intStringLen := int(stringLen)
6031			if intStringLen < 0 {
6032				return ErrInvalidLengthGenerated
6033			}
6034			postIndex := iNdEx + intStringLen
6035			if postIndex < 0 {
6036				return ErrInvalidLengthGenerated
6037			}
6038			if postIndex > l {
6039				return io.ErrUnexpectedEOF
6040			}
6041			m.Type = StatefulSetUpdateStrategyType(dAtA[iNdEx:postIndex])
6042			iNdEx = postIndex
6043		case 2:
6044			if wireType != 2 {
6045				return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
6046			}
6047			var msglen int
6048			for shift := uint(0); ; shift += 7 {
6049				if shift >= 64 {
6050					return ErrIntOverflowGenerated
6051				}
6052				if iNdEx >= l {
6053					return io.ErrUnexpectedEOF
6054				}
6055				b := dAtA[iNdEx]
6056				iNdEx++
6057				msglen |= int(b&0x7F) << shift
6058				if b < 0x80 {
6059					break
6060				}
6061			}
6062			if msglen < 0 {
6063				return ErrInvalidLengthGenerated
6064			}
6065			postIndex := iNdEx + msglen
6066			if postIndex < 0 {
6067				return ErrInvalidLengthGenerated
6068			}
6069			if postIndex > l {
6070				return io.ErrUnexpectedEOF
6071			}
6072			if m.RollingUpdate == nil {
6073				m.RollingUpdate = &RollingUpdateStatefulSetStrategy{}
6074			}
6075			if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6076				return err
6077			}
6078			iNdEx = postIndex
6079		default:
6080			iNdEx = preIndex
6081			skippy, err := skipGenerated(dAtA[iNdEx:])
6082			if err != nil {
6083				return err
6084			}
6085			if (skippy < 0) || (iNdEx+skippy) < 0 {
6086				return ErrInvalidLengthGenerated
6087			}
6088			if (iNdEx + skippy) > l {
6089				return io.ErrUnexpectedEOF
6090			}
6091			iNdEx += skippy
6092		}
6093	}
6094
6095	if iNdEx > l {
6096		return io.ErrUnexpectedEOF
6097	}
6098	return nil
6099}
6100func skipGenerated(dAtA []byte) (n int, err error) {
6101	l := len(dAtA)
6102	iNdEx := 0
6103	depth := 0
6104	for iNdEx < l {
6105		var wire uint64
6106		for shift := uint(0); ; shift += 7 {
6107			if shift >= 64 {
6108				return 0, ErrIntOverflowGenerated
6109			}
6110			if iNdEx >= l {
6111				return 0, io.ErrUnexpectedEOF
6112			}
6113			b := dAtA[iNdEx]
6114			iNdEx++
6115			wire |= (uint64(b) & 0x7F) << shift
6116			if b < 0x80 {
6117				break
6118			}
6119		}
6120		wireType := int(wire & 0x7)
6121		switch wireType {
6122		case 0:
6123			for shift := uint(0); ; shift += 7 {
6124				if shift >= 64 {
6125					return 0, ErrIntOverflowGenerated
6126				}
6127				if iNdEx >= l {
6128					return 0, io.ErrUnexpectedEOF
6129				}
6130				iNdEx++
6131				if dAtA[iNdEx-1] < 0x80 {
6132					break
6133				}
6134			}
6135		case 1:
6136			iNdEx += 8
6137		case 2:
6138			var length int
6139			for shift := uint(0); ; shift += 7 {
6140				if shift >= 64 {
6141					return 0, ErrIntOverflowGenerated
6142				}
6143				if iNdEx >= l {
6144					return 0, io.ErrUnexpectedEOF
6145				}
6146				b := dAtA[iNdEx]
6147				iNdEx++
6148				length |= (int(b) & 0x7F) << shift
6149				if b < 0x80 {
6150					break
6151				}
6152			}
6153			if length < 0 {
6154				return 0, ErrInvalidLengthGenerated
6155			}
6156			iNdEx += length
6157		case 3:
6158			depth++
6159		case 4:
6160			if depth == 0 {
6161				return 0, ErrUnexpectedEndOfGroupGenerated
6162			}
6163			depth--
6164		case 5:
6165			iNdEx += 4
6166		default:
6167			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
6168		}
6169		if iNdEx < 0 {
6170			return 0, ErrInvalidLengthGenerated
6171		}
6172		if depth == 0 {
6173			return iNdEx, nil
6174		}
6175	}
6176	return 0, io.ErrUnexpectedEOF
6177}
6178
6179var (
6180	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
6181	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
6182	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
6183)
6184