github.com/spotmaxtech/k8s-apimachinery-v0260@v0.0.1/pkg/apis/testapigroup/v1/generated.pb.go (about)

     1  /*
     2  Copyright The Kubernetes Authors.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  // Code generated by protoc-gen-gogo. DO NOT EDIT.
    18  // source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto
    19  
    20  package v1
    21  
    22  import (
    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  	v1 "github.com/spotmaxtech/k8s-apimachinery-v0260/pkg/apis/meta/v1"
    30  
    31  	math "math"
    32  	math_bits "math/bits"
    33  	reflect "reflect"
    34  	strings "strings"
    35  )
    36  
    37  // Reference imports to suppress errors if they are not otherwise used.
    38  var _ = proto.Marshal
    39  var _ = fmt.Errorf
    40  var _ = math.Inf
    41  
    42  // This is a compile-time assertion to ensure that this generated file
    43  // is compatible with the proto package it is being compiled against.
    44  // A compilation error at this line likely means your copy of the
    45  // proto package needs to be updated.
    46  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    47  
    48  func (m *Carp) Reset()      { *m = Carp{} }
    49  func (*Carp) ProtoMessage() {}
    50  func (*Carp) Descriptor() ([]byte, []int) {
    51  	return fileDescriptor_b7eb07c7d80facdf, []int{0}
    52  }
    53  func (m *Carp) XXX_Unmarshal(b []byte) error {
    54  	return m.Unmarshal(b)
    55  }
    56  func (m *Carp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    57  	b = b[:cap(b)]
    58  	n, err := m.MarshalToSizedBuffer(b)
    59  	if err != nil {
    60  		return nil, err
    61  	}
    62  	return b[:n], nil
    63  }
    64  func (m *Carp) XXX_Merge(src proto.Message) {
    65  	xxx_messageInfo_Carp.Merge(m, src)
    66  }
    67  func (m *Carp) XXX_Size() int {
    68  	return m.Size()
    69  }
    70  func (m *Carp) XXX_DiscardUnknown() {
    71  	xxx_messageInfo_Carp.DiscardUnknown(m)
    72  }
    73  
    74  var xxx_messageInfo_Carp proto.InternalMessageInfo
    75  
    76  func (m *CarpCondition) Reset()      { *m = CarpCondition{} }
    77  func (*CarpCondition) ProtoMessage() {}
    78  func (*CarpCondition) Descriptor() ([]byte, []int) {
    79  	return fileDescriptor_b7eb07c7d80facdf, []int{1}
    80  }
    81  func (m *CarpCondition) XXX_Unmarshal(b []byte) error {
    82  	return m.Unmarshal(b)
    83  }
    84  func (m *CarpCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    85  	b = b[:cap(b)]
    86  	n, err := m.MarshalToSizedBuffer(b)
    87  	if err != nil {
    88  		return nil, err
    89  	}
    90  	return b[:n], nil
    91  }
    92  func (m *CarpCondition) XXX_Merge(src proto.Message) {
    93  	xxx_messageInfo_CarpCondition.Merge(m, src)
    94  }
    95  func (m *CarpCondition) XXX_Size() int {
    96  	return m.Size()
    97  }
    98  func (m *CarpCondition) XXX_DiscardUnknown() {
    99  	xxx_messageInfo_CarpCondition.DiscardUnknown(m)
   100  }
   101  
   102  var xxx_messageInfo_CarpCondition proto.InternalMessageInfo
   103  
   104  func (m *CarpList) Reset()      { *m = CarpList{} }
   105  func (*CarpList) ProtoMessage() {}
   106  func (*CarpList) Descriptor() ([]byte, []int) {
   107  	return fileDescriptor_b7eb07c7d80facdf, []int{2}
   108  }
   109  func (m *CarpList) XXX_Unmarshal(b []byte) error {
   110  	return m.Unmarshal(b)
   111  }
   112  func (m *CarpList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   113  	b = b[:cap(b)]
   114  	n, err := m.MarshalToSizedBuffer(b)
   115  	if err != nil {
   116  		return nil, err
   117  	}
   118  	return b[:n], nil
   119  }
   120  func (m *CarpList) XXX_Merge(src proto.Message) {
   121  	xxx_messageInfo_CarpList.Merge(m, src)
   122  }
   123  func (m *CarpList) XXX_Size() int {
   124  	return m.Size()
   125  }
   126  func (m *CarpList) XXX_DiscardUnknown() {
   127  	xxx_messageInfo_CarpList.DiscardUnknown(m)
   128  }
   129  
   130  var xxx_messageInfo_CarpList proto.InternalMessageInfo
   131  
   132  func (m *CarpSpec) Reset()      { *m = CarpSpec{} }
   133  func (*CarpSpec) ProtoMessage() {}
   134  func (*CarpSpec) Descriptor() ([]byte, []int) {
   135  	return fileDescriptor_b7eb07c7d80facdf, []int{3}
   136  }
   137  func (m *CarpSpec) XXX_Unmarshal(b []byte) error {
   138  	return m.Unmarshal(b)
   139  }
   140  func (m *CarpSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   141  	b = b[:cap(b)]
   142  	n, err := m.MarshalToSizedBuffer(b)
   143  	if err != nil {
   144  		return nil, err
   145  	}
   146  	return b[:n], nil
   147  }
   148  func (m *CarpSpec) XXX_Merge(src proto.Message) {
   149  	xxx_messageInfo_CarpSpec.Merge(m, src)
   150  }
   151  func (m *CarpSpec) XXX_Size() int {
   152  	return m.Size()
   153  }
   154  func (m *CarpSpec) XXX_DiscardUnknown() {
   155  	xxx_messageInfo_CarpSpec.DiscardUnknown(m)
   156  }
   157  
   158  var xxx_messageInfo_CarpSpec proto.InternalMessageInfo
   159  
   160  func (m *CarpStatus) Reset()      { *m = CarpStatus{} }
   161  func (*CarpStatus) ProtoMessage() {}
   162  func (*CarpStatus) Descriptor() ([]byte, []int) {
   163  	return fileDescriptor_b7eb07c7d80facdf, []int{4}
   164  }
   165  func (m *CarpStatus) XXX_Unmarshal(b []byte) error {
   166  	return m.Unmarshal(b)
   167  }
   168  func (m *CarpStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   169  	b = b[:cap(b)]
   170  	n, err := m.MarshalToSizedBuffer(b)
   171  	if err != nil {
   172  		return nil, err
   173  	}
   174  	return b[:n], nil
   175  }
   176  func (m *CarpStatus) XXX_Merge(src proto.Message) {
   177  	xxx_messageInfo_CarpStatus.Merge(m, src)
   178  }
   179  func (m *CarpStatus) XXX_Size() int {
   180  	return m.Size()
   181  }
   182  func (m *CarpStatus) XXX_DiscardUnknown() {
   183  	xxx_messageInfo_CarpStatus.DiscardUnknown(m)
   184  }
   185  
   186  var xxx_messageInfo_CarpStatus proto.InternalMessageInfo
   187  
   188  func init() {
   189  	proto.RegisterType((*Carp)(nil), "k8s.io.apimachinery.pkg.apis.testapigroup.v1.Carp")
   190  	proto.RegisterType((*CarpCondition)(nil), "k8s.io.apimachinery.pkg.apis.testapigroup.v1.CarpCondition")
   191  	proto.RegisterType((*CarpList)(nil), "k8s.io.apimachinery.pkg.apis.testapigroup.v1.CarpList")
   192  	proto.RegisterType((*CarpSpec)(nil), "k8s.io.apimachinery.pkg.apis.testapigroup.v1.CarpSpec")
   193  	proto.RegisterMapType((map[string]string)(nil), "k8s.io.apimachinery.pkg.apis.testapigroup.v1.CarpSpec.NodeSelectorEntry")
   194  	proto.RegisterType((*CarpStatus)(nil), "k8s.io.apimachinery.pkg.apis.testapigroup.v1.CarpStatus")
   195  }
   196  
   197  func init() {
   198  	proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto", fileDescriptor_b7eb07c7d80facdf)
   199  }
   200  
   201  var fileDescriptor_b7eb07c7d80facdf = []byte{
   202  	// 1051 bytes of a gzipped FileDescriptorProto
   203  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xc1, 0x6e, 0xdb, 0x46,
   204  	0x13, 0x36, 0x2d, 0xc9, 0x96, 0xd6, 0x56, 0x62, 0x6f, 0x62, 0x80, 0xbf, 0x81, 0x48, 0x8e, 0x0f,
   205  	0x86, 0xff, 0xc2, 0xa5, 0x62, 0xa3, 0x09, 0xdc, 0xe6, 0x50, 0x84, 0x76, 0x51, 0xbb, 0x70, 0x1c,
   206  	0x61, 0xe5, 0x22, 0x45, 0xd1, 0x43, 0x56, 0xd4, 0x54, 0x66, 0x25, 0x72, 0x89, 0xdd, 0x95, 0x0a,
   207  	0xdd, 0x8a, 0x3e, 0x41, 0x1f, 0xa2, 0xb7, 0x9e, 0xfb, 0x00, 0x3d, 0x14, 0xf0, 0x31, 0xc7, 0x9c,
   208  	0x84, 0x5a, 0x7d, 0x0b, 0x9f, 0x8a, 0x5d, 0x2e, 0x29, 0xca, 0x72, 0xd5, 0x28, 0x37, 0xee, 0xcc,
   209  	0xf7, 0x7d, 0x33, 0xbb, 0x33, 0x9a, 0x11, 0xfa, 0xba, 0x73, 0x28, 0x1c, 0x9f, 0xd5, 0x3a, 0xbd,
   210  	0x26, 0xf0, 0x10, 0x24, 0x88, 0x5a, 0x1f, 0xc2, 0x16, 0xe3, 0x35, 0xe3, 0xa0, 0x91, 0x1f, 0x50,
   211  	0xef, 0xd2, 0x0f, 0x81, 0x0f, 0x6a, 0x51, 0xa7, 0xad, 0x0c, 0xa2, 0x26, 0x41, 0x48, 0x1a, 0xf9,
   212  	0x6d, 0xce, 0x7a, 0x51, 0xad, 0xbf, 0x5f, 0x6b, 0x43, 0x08, 0x9c, 0x4a, 0x68, 0x39, 0x11, 0x67,
   213  	0x92, 0xe1, 0xbd, 0x98, 0xed, 0x64, 0xd9, 0x4e, 0xd4, 0x69, 0x2b, 0x83, 0x70, 0xb2, 0x6c, 0xa7,
   214  	0xbf, 0xbf, 0xf9, 0x71, 0xdb, 0x97, 0x97, 0xbd, 0xa6, 0xe3, 0xb1, 0xa0, 0xd6, 0x66, 0x6d, 0x56,
   215  	0xd3, 0x22, 0xcd, 0xde, 0xf7, 0xfa, 0xa4, 0x0f, 0xfa, 0x2b, 0x16, 0xdf, 0xfc, 0x64, 0x66, 0x6a,
   216  	0x01, 0x48, 0x7a, 0x47, 0x4a, 0x9b, 0xff, 0x7a, 0x21, 0xde, 0x0b, 0xa5, 0x1f, 0xc0, 0x14, 0xe1,
   217  	0xd9, 0x7f, 0x11, 0x84, 0x77, 0x09, 0x01, 0xbd, 0xcd, 0xdb, 0xfe, 0x75, 0x11, 0xe5, 0x8f, 0x28,
   218  	0x8f, 0xf0, 0x1b, 0x54, 0x54, 0xc9, 0xb4, 0xa8, 0xa4, 0xb6, 0xb5, 0x65, 0xed, 0xae, 0x1c, 0x3c,
   219  	0x71, 0x66, 0xbe, 0x8b, 0x42, 0x3b, 0xfd, 0x7d, 0xe7, 0x55, 0xf3, 0x07, 0xf0, 0xe4, 0x4b, 0x90,
   220  	0xd4, 0xc5, 0x57, 0xc3, 0xea, 0xc2, 0x68, 0x58, 0x45, 0x63, 0x1b, 0x49, 0x55, 0xf1, 0x37, 0x28,
   221  	0x2f, 0x22, 0xf0, 0xec, 0x45, 0xad, 0xfe, 0xcc, 0x99, 0xe7, 0xd5, 0x1d, 0x95, 0x63, 0x23, 0x02,
   222  	0xcf, 0x5d, 0x35, 0x31, 0xf2, 0xea, 0x44, 0xb4, 0x22, 0x7e, 0x83, 0x96, 0x84, 0xa4, 0xb2, 0x27,
   223  	0xec, 0x9c, 0xd6, 0x3e, 0xfc, 0x00, 0x6d, 0xcd, 0x77, 0xef, 0x19, 0xf5, 0xa5, 0xf8, 0x4c, 0x8c,
   224  	0xee, 0xf6, 0xef, 0x39, 0x54, 0x56, 0xb0, 0x23, 0x16, 0xb6, 0x7c, 0xe9, 0xb3, 0x10, 0x3f, 0x45,
   225  	0x79, 0x39, 0x88, 0x40, 0xbf, 0x55, 0xc9, 0x7d, 0x9c, 0x64, 0x75, 0x31, 0x88, 0xe0, 0x66, 0x58,
   226  	0x5d, 0x9f, 0x00, 0x2b, 0x23, 0xd1, 0x70, 0xfc, 0x69, 0x9a, 0xea, 0xe2, 0x04, 0xd1, 0x04, 0xbc,
   227  	0x19, 0x56, 0xef, 0xa7, 0xb4, 0xc9, 0x1c, 0x70, 0x1b, 0x95, 0xbb, 0x54, 0xc8, 0x3a, 0x67, 0x4d,
   228  	0xb8, 0xf0, 0x03, 0x30, 0x97, 0xfd, 0xe8, 0xfd, 0xca, 0xa4, 0x18, 0xee, 0x86, 0x89, 0x56, 0x3e,
   229  	0xcb, 0x0a, 0x91, 0x49, 0x5d, 0xdc, 0x47, 0x58, 0x19, 0x2e, 0x38, 0x0d, 0x45, 0x9c, 0xbf, 0x8a,
   230  	0x96, 0x9f, 0x3b, 0xda, 0xa6, 0x89, 0x86, 0xcf, 0xa6, 0xd4, 0xc8, 0x1d, 0x11, 0xf0, 0x0e, 0x5a,
   231  	0xe2, 0x40, 0x05, 0x0b, 0xed, 0x82, 0x7e, 0x9b, 0xb4, 0x18, 0x44, 0x5b, 0x89, 0xf1, 0xe2, 0xff,
   232  	0xa3, 0xe5, 0x00, 0x84, 0xa0, 0x6d, 0xb0, 0x97, 0x34, 0xf0, 0xbe, 0x01, 0x2e, 0xbf, 0x8c, 0xcd,
   233  	0x24, 0xf1, 0x6f, 0xff, 0x61, 0xa1, 0xa2, 0x2a, 0xc5, 0x99, 0x2f, 0x24, 0xfe, 0x6e, 0xaa, 0xc5,
   234  	0x9d, 0xf7, 0xbb, 0x8d, 0x62, 0xeb, 0x06, 0x5f, 0x33, 0x81, 0x8a, 0x89, 0x25, 0xd3, 0xde, 0xaf,
   235  	0x51, 0xc1, 0x97, 0x10, 0xa8, 0xc2, 0xe6, 0x76, 0x57, 0x0e, 0x0e, 0xe6, 0xef, 0x41, 0xb7, 0x6c,
   236  	0xe4, 0x0b, 0xa7, 0x4a, 0x88, 0xc4, 0x7a, 0xdb, 0x7f, 0x2e, 0xc7, 0x77, 0x50, 0x0d, 0x8f, 0xcf,
   237  	0x50, 0x99, 0x2b, 0x2a, 0x97, 0x75, 0xd6, 0xf5, 0xbd, 0x81, 0x6e, 0x82, 0x92, 0xbb, 0x93, 0x14,
   238  	0x96, 0x64, 0x9d, 0x37, 0xb7, 0x0d, 0x64, 0x92, 0x8c, 0xdb, 0xe8, 0x91, 0x04, 0x1e, 0xf8, 0x21,
   239  	0x55, 0x45, 0xf8, 0x92, 0x53, 0x0f, 0xea, 0xc0, 0x7d, 0xd6, 0x6a, 0x80, 0xc7, 0xc2, 0x96, 0xd0,
   240  	0x45, 0xcf, 0xb9, 0x8f, 0x47, 0xc3, 0xea, 0xa3, 0x8b, 0x59, 0x40, 0x32, 0x5b, 0x07, 0xbf, 0x42,
   241  	0x1b, 0xd4, 0x93, 0x7e, 0x1f, 0x8e, 0x81, 0xb6, 0xba, 0x7e, 0x08, 0x49, 0x80, 0x82, 0x0e, 0xf0,
   242  	0xbf, 0xd1, 0xb0, 0xba, 0xf1, 0xe2, 0x2e, 0x00, 0xb9, 0x9b, 0x87, 0x7f, 0xb6, 0xd0, 0x6a, 0xc8,
   243  	0x5a, 0xd0, 0x80, 0x2e, 0x78, 0x92, 0x71, 0x7b, 0x59, 0xbf, 0xfa, 0xc9, 0x87, 0x4d, 0x15, 0xe7,
   244  	0x3c, 0x23, 0xf5, 0x45, 0x28, 0xf9, 0xc0, 0x7d, 0x68, 0x5e, 0x74, 0x35, 0xeb, 0x22, 0x13, 0x31,
   245  	0xf1, 0x57, 0x08, 0x0b, 0xe0, 0x7d, 0xdf, 0x83, 0x17, 0x9e, 0xc7, 0x7a, 0xa1, 0x3c, 0xa7, 0x01,
   246  	0xd8, 0x45, 0x5d, 0x91, 0xb4, 0xf9, 0x1b, 0x53, 0x08, 0x72, 0x07, 0x0b, 0x9f, 0xa0, 0x7b, 0x93,
   247  	0x56, 0xbb, 0xa4, 0x75, 0xb6, 0x8c, 0x8e, 0x7d, 0x0c, 0x11, 0x07, 0x4f, 0x8d, 0xee, 0x49, 0x45,
   248  	0x72, 0x8b, 0x87, 0xf7, 0x50, 0x51, 0x65, 0xa9, 0x73, 0x41, 0x5a, 0x23, 0x6d, 0xdb, 0x73, 0x63,
   249  	0x27, 0x29, 0x02, 0x3f, 0x45, 0x2b, 0x97, 0x4c, 0xc8, 0x73, 0x90, 0x3f, 0x32, 0xde, 0xb1, 0x57,
   250  	0xb6, 0xac, 0xdd, 0xa2, 0xfb, 0xc0, 0x10, 0x56, 0x4e, 0xc6, 0x2e, 0x92, 0xc5, 0xa9, 0xdf, 0xa0,
   251  	0x3a, 0xd6, 0x4f, 0x8f, 0xed, 0x55, 0x4d, 0x49, 0x7f, 0x83, 0x27, 0xb1, 0x99, 0x24, 0xfe, 0x04,
   252  	0x7a, 0x5a, 0x3f, 0xb2, 0xcb, 0xd3, 0xd0, 0xd3, 0xfa, 0x11, 0x49, 0xfc, 0x2a, 0x75, 0xf5, 0x19,
   253  	0xaa, 0xd4, 0xd7, 0x26, 0x53, 0x3f, 0x31, 0x76, 0x92, 0x22, 0x70, 0x0d, 0x95, 0x44, 0xaf, 0xd9,
   254  	0x62, 0x01, 0xf5, 0x43, 0x7b, 0x5d, 0xc3, 0xd7, 0x0d, 0xbc, 0xd4, 0x48, 0x1c, 0x64, 0x8c, 0xc1,
   255  	0xcf, 0x51, 0x59, 0xad, 0xc1, 0x56, 0xaf, 0x0b, 0x5c, 0xc7, 0x78, 0xa0, 0x49, 0xe9, 0x54, 0x6c,
   256  	0x24, 0x4e, 0xfd, 0x46, 0x93, 0xd8, 0xcd, 0xcf, 0xd1, 0xfa, 0x54, 0x97, 0xe0, 0x35, 0x94, 0xeb,
   257  	0xc0, 0x20, 0x5e, 0x02, 0x44, 0x7d, 0xe2, 0x87, 0xa8, 0xd0, 0xa7, 0xdd, 0x1e, 0xc4, 0xf3, 0x9d,
   258  	0xc4, 0x87, 0xcf, 0x16, 0x0f, 0xad, 0xed, 0xdf, 0x72, 0x08, 0x8d, 0x57, 0x0d, 0x7e, 0x82, 0x0a,
   259  	0xd1, 0x25, 0x15, 0xc9, 0x06, 0x49, 0xfa, 0xa5, 0x50, 0x57, 0xc6, 0x9b, 0x61, 0xb5, 0xa4, 0xb0,
   260  	0xfa, 0x40, 0x62, 0x20, 0x66, 0x08, 0x79, 0xc9, 0x6e, 0x48, 0xc6, 0xcc, 0xf3, 0xf9, 0x1b, 0x3e,
   261  	0xdd, 0x2f, 0xe3, 0x7d, 0x9d, 0x9a, 0x04, 0xc9, 0x84, 0xc8, 0x0e, 0xda, 0xdc, 0xec, 0x41, 0x9b,
   262  	0x99, 0xdd, 0xf9, 0x99, 0xb3, 0x7b, 0x07, 0x2d, 0xc5, 0xc5, 0xbe, 0x3d, 0xe3, 0xe3, 0x5e, 0x20,
   263  	0xc6, 0xab, 0x70, 0x1e, 0xe5, 0xd1, 0x69, 0xdd, 0x8c, 0xf8, 0x14, 0x77, 0xa4, 0xad, 0xc4, 0x78,
   264  	0xf1, 0x6b, 0x54, 0xd2, 0x03, 0x4d, 0xaf, 0xa8, 0xe5, 0xb9, 0x57, 0x54, 0x59, 0xf7, 0x4a, 0x22,
   265  	0x40, 0xc6, 0x5a, 0x2e, 0xb9, 0xba, 0xae, 0x2c, 0xbc, 0xbd, 0xae, 0x2c, 0xbc, 0xbb, 0xae, 0x2c,
   266  	0xfc, 0x34, 0xaa, 0x58, 0x57, 0xa3, 0x8a, 0xf5, 0x76, 0x54, 0xb1, 0xde, 0x8d, 0x2a, 0xd6, 0x5f,
   267  	0xa3, 0x8a, 0xf5, 0xcb, 0xdf, 0x95, 0x85, 0x6f, 0xf7, 0xe6, 0xf9, 0xe3, 0xf9, 0x4f, 0x00, 0x00,
   268  	0x00, 0xff, 0xff, 0x1e, 0x86, 0x1f, 0x63, 0xc0, 0x0a, 0x00, 0x00,
   269  }
   270  
   271  func (m *Carp) Marshal() (dAtA []byte, err error) {
   272  	size := m.Size()
   273  	dAtA = make([]byte, size)
   274  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   275  	if err != nil {
   276  		return nil, err
   277  	}
   278  	return dAtA[:n], nil
   279  }
   280  
   281  func (m *Carp) MarshalTo(dAtA []byte) (int, error) {
   282  	size := m.Size()
   283  	return m.MarshalToSizedBuffer(dAtA[:size])
   284  }
   285  
   286  func (m *Carp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   287  	i := len(dAtA)
   288  	_ = i
   289  	var l int
   290  	_ = l
   291  	{
   292  		size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
   293  		if err != nil {
   294  			return 0, err
   295  		}
   296  		i -= size
   297  		i = encodeVarintGenerated(dAtA, i, uint64(size))
   298  	}
   299  	i--
   300  	dAtA[i] = 0x1a
   301  	{
   302  		size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
   303  		if err != nil {
   304  			return 0, err
   305  		}
   306  		i -= size
   307  		i = encodeVarintGenerated(dAtA, i, uint64(size))
   308  	}
   309  	i--
   310  	dAtA[i] = 0x12
   311  	{
   312  		size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
   313  		if err != nil {
   314  			return 0, err
   315  		}
   316  		i -= size
   317  		i = encodeVarintGenerated(dAtA, i, uint64(size))
   318  	}
   319  	i--
   320  	dAtA[i] = 0xa
   321  	return len(dAtA) - i, nil
   322  }
   323  
   324  func (m *CarpCondition) Marshal() (dAtA []byte, err error) {
   325  	size := m.Size()
   326  	dAtA = make([]byte, size)
   327  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   328  	if err != nil {
   329  		return nil, err
   330  	}
   331  	return dAtA[:n], nil
   332  }
   333  
   334  func (m *CarpCondition) MarshalTo(dAtA []byte) (int, error) {
   335  	size := m.Size()
   336  	return m.MarshalToSizedBuffer(dAtA[:size])
   337  }
   338  
   339  func (m *CarpCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   340  	i := len(dAtA)
   341  	_ = i
   342  	var l int
   343  	_ = l
   344  	i -= len(m.Message)
   345  	copy(dAtA[i:], m.Message)
   346  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
   347  	i--
   348  	dAtA[i] = 0x32
   349  	i -= len(m.Reason)
   350  	copy(dAtA[i:], m.Reason)
   351  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
   352  	i--
   353  	dAtA[i] = 0x2a
   354  	{
   355  		size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
   356  		if err != nil {
   357  			return 0, err
   358  		}
   359  		i -= size
   360  		i = encodeVarintGenerated(dAtA, i, uint64(size))
   361  	}
   362  	i--
   363  	dAtA[i] = 0x22
   364  	{
   365  		size, err := m.LastProbeTime.MarshalToSizedBuffer(dAtA[:i])
   366  		if err != nil {
   367  			return 0, err
   368  		}
   369  		i -= size
   370  		i = encodeVarintGenerated(dAtA, i, uint64(size))
   371  	}
   372  	i--
   373  	dAtA[i] = 0x1a
   374  	i -= len(m.Status)
   375  	copy(dAtA[i:], m.Status)
   376  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
   377  	i--
   378  	dAtA[i] = 0x12
   379  	i -= len(m.Type)
   380  	copy(dAtA[i:], m.Type)
   381  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
   382  	i--
   383  	dAtA[i] = 0xa
   384  	return len(dAtA) - i, nil
   385  }
   386  
   387  func (m *CarpList) Marshal() (dAtA []byte, err error) {
   388  	size := m.Size()
   389  	dAtA = make([]byte, size)
   390  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   391  	if err != nil {
   392  		return nil, err
   393  	}
   394  	return dAtA[:n], nil
   395  }
   396  
   397  func (m *CarpList) MarshalTo(dAtA []byte) (int, error) {
   398  	size := m.Size()
   399  	return m.MarshalToSizedBuffer(dAtA[:size])
   400  }
   401  
   402  func (m *CarpList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   403  	i := len(dAtA)
   404  	_ = i
   405  	var l int
   406  	_ = l
   407  	if len(m.Items) > 0 {
   408  		for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
   409  			{
   410  				size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
   411  				if err != nil {
   412  					return 0, err
   413  				}
   414  				i -= size
   415  				i = encodeVarintGenerated(dAtA, i, uint64(size))
   416  			}
   417  			i--
   418  			dAtA[i] = 0x12
   419  		}
   420  	}
   421  	{
   422  		size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
   423  		if err != nil {
   424  			return 0, err
   425  		}
   426  		i -= size
   427  		i = encodeVarintGenerated(dAtA, i, uint64(size))
   428  	}
   429  	i--
   430  	dAtA[i] = 0xa
   431  	return len(dAtA) - i, nil
   432  }
   433  
   434  func (m *CarpSpec) Marshal() (dAtA []byte, err error) {
   435  	size := m.Size()
   436  	dAtA = make([]byte, size)
   437  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   438  	if err != nil {
   439  		return nil, err
   440  	}
   441  	return dAtA[:n], nil
   442  }
   443  
   444  func (m *CarpSpec) MarshalTo(dAtA []byte) (int, error) {
   445  	size := m.Size()
   446  	return m.MarshalToSizedBuffer(dAtA[:size])
   447  }
   448  
   449  func (m *CarpSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   450  	i := len(dAtA)
   451  	_ = i
   452  	var l int
   453  	_ = l
   454  	i -= len(m.SchedulerName)
   455  	copy(dAtA[i:], m.SchedulerName)
   456  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.SchedulerName)))
   457  	i--
   458  	dAtA[i] = 0x1
   459  	i--
   460  	dAtA[i] = 0x9a
   461  	i -= len(m.Subdomain)
   462  	copy(dAtA[i:], m.Subdomain)
   463  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Subdomain)))
   464  	i--
   465  	dAtA[i] = 0x1
   466  	i--
   467  	dAtA[i] = 0x8a
   468  	i -= len(m.Hostname)
   469  	copy(dAtA[i:], m.Hostname)
   470  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Hostname)))
   471  	i--
   472  	dAtA[i] = 0x1
   473  	i--
   474  	dAtA[i] = 0x82
   475  	i--
   476  	if m.HostIPC {
   477  		dAtA[i] = 1
   478  	} else {
   479  		dAtA[i] = 0
   480  	}
   481  	i--
   482  	dAtA[i] = 0x68
   483  	i--
   484  	if m.HostPID {
   485  		dAtA[i] = 1
   486  	} else {
   487  		dAtA[i] = 0
   488  	}
   489  	i--
   490  	dAtA[i] = 0x60
   491  	i--
   492  	if m.HostNetwork {
   493  		dAtA[i] = 1
   494  	} else {
   495  		dAtA[i] = 0
   496  	}
   497  	i--
   498  	dAtA[i] = 0x58
   499  	i -= len(m.NodeName)
   500  	copy(dAtA[i:], m.NodeName)
   501  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.NodeName)))
   502  	i--
   503  	dAtA[i] = 0x52
   504  	i -= len(m.DeprecatedServiceAccount)
   505  	copy(dAtA[i:], m.DeprecatedServiceAccount)
   506  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.DeprecatedServiceAccount)))
   507  	i--
   508  	dAtA[i] = 0x4a
   509  	i -= len(m.ServiceAccountName)
   510  	copy(dAtA[i:], m.ServiceAccountName)
   511  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceAccountName)))
   512  	i--
   513  	dAtA[i] = 0x42
   514  	if len(m.NodeSelector) > 0 {
   515  		keysForNodeSelector := make([]string, 0, len(m.NodeSelector))
   516  		for k := range m.NodeSelector {
   517  			keysForNodeSelector = append(keysForNodeSelector, string(k))
   518  		}
   519  		github_com_gogo_protobuf_sortkeys.Strings(keysForNodeSelector)
   520  		for iNdEx := len(keysForNodeSelector) - 1; iNdEx >= 0; iNdEx-- {
   521  			v := m.NodeSelector[string(keysForNodeSelector[iNdEx])]
   522  			baseI := i
   523  			i -= len(v)
   524  			copy(dAtA[i:], v)
   525  			i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
   526  			i--
   527  			dAtA[i] = 0x12
   528  			i -= len(keysForNodeSelector[iNdEx])
   529  			copy(dAtA[i:], keysForNodeSelector[iNdEx])
   530  			i = encodeVarintGenerated(dAtA, i, uint64(len(keysForNodeSelector[iNdEx])))
   531  			i--
   532  			dAtA[i] = 0xa
   533  			i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
   534  			i--
   535  			dAtA[i] = 0x3a
   536  		}
   537  	}
   538  	if m.ActiveDeadlineSeconds != nil {
   539  		i = encodeVarintGenerated(dAtA, i, uint64(*m.ActiveDeadlineSeconds))
   540  		i--
   541  		dAtA[i] = 0x28
   542  	}
   543  	if m.TerminationGracePeriodSeconds != nil {
   544  		i = encodeVarintGenerated(dAtA, i, uint64(*m.TerminationGracePeriodSeconds))
   545  		i--
   546  		dAtA[i] = 0x20
   547  	}
   548  	i -= len(m.RestartPolicy)
   549  	copy(dAtA[i:], m.RestartPolicy)
   550  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.RestartPolicy)))
   551  	i--
   552  	dAtA[i] = 0x1a
   553  	return len(dAtA) - i, nil
   554  }
   555  
   556  func (m *CarpStatus) Marshal() (dAtA []byte, err error) {
   557  	size := m.Size()
   558  	dAtA = make([]byte, size)
   559  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   560  	if err != nil {
   561  		return nil, err
   562  	}
   563  	return dAtA[:n], nil
   564  }
   565  
   566  func (m *CarpStatus) MarshalTo(dAtA []byte) (int, error) {
   567  	size := m.Size()
   568  	return m.MarshalToSizedBuffer(dAtA[:size])
   569  }
   570  
   571  func (m *CarpStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   572  	i := len(dAtA)
   573  	_ = i
   574  	var l int
   575  	_ = l
   576  	if m.StartTime != nil {
   577  		{
   578  			size, err := m.StartTime.MarshalToSizedBuffer(dAtA[:i])
   579  			if err != nil {
   580  				return 0, err
   581  			}
   582  			i -= size
   583  			i = encodeVarintGenerated(dAtA, i, uint64(size))
   584  		}
   585  		i--
   586  		dAtA[i] = 0x3a
   587  	}
   588  	i -= len(m.CarpIP)
   589  	copy(dAtA[i:], m.CarpIP)
   590  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.CarpIP)))
   591  	i--
   592  	dAtA[i] = 0x32
   593  	i -= len(m.HostIP)
   594  	copy(dAtA[i:], m.HostIP)
   595  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.HostIP)))
   596  	i--
   597  	dAtA[i] = 0x2a
   598  	i -= len(m.Reason)
   599  	copy(dAtA[i:], m.Reason)
   600  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
   601  	i--
   602  	dAtA[i] = 0x22
   603  	i -= len(m.Message)
   604  	copy(dAtA[i:], m.Message)
   605  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
   606  	i--
   607  	dAtA[i] = 0x1a
   608  	if len(m.Conditions) > 0 {
   609  		for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
   610  			{
   611  				size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
   612  				if err != nil {
   613  					return 0, err
   614  				}
   615  				i -= size
   616  				i = encodeVarintGenerated(dAtA, i, uint64(size))
   617  			}
   618  			i--
   619  			dAtA[i] = 0x12
   620  		}
   621  	}
   622  	i -= len(m.Phase)
   623  	copy(dAtA[i:], m.Phase)
   624  	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase)))
   625  	i--
   626  	dAtA[i] = 0xa
   627  	return len(dAtA) - i, nil
   628  }
   629  
   630  func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
   631  	offset -= sovGenerated(v)
   632  	base := offset
   633  	for v >= 1<<7 {
   634  		dAtA[offset] = uint8(v&0x7f | 0x80)
   635  		v >>= 7
   636  		offset++
   637  	}
   638  	dAtA[offset] = uint8(v)
   639  	return base
   640  }
   641  func (m *Carp) Size() (n int) {
   642  	if m == nil {
   643  		return 0
   644  	}
   645  	var l int
   646  	_ = l
   647  	l = m.ObjectMeta.Size()
   648  	n += 1 + l + sovGenerated(uint64(l))
   649  	l = m.Spec.Size()
   650  	n += 1 + l + sovGenerated(uint64(l))
   651  	l = m.Status.Size()
   652  	n += 1 + l + sovGenerated(uint64(l))
   653  	return n
   654  }
   655  
   656  func (m *CarpCondition) Size() (n int) {
   657  	if m == nil {
   658  		return 0
   659  	}
   660  	var l int
   661  	_ = l
   662  	l = len(m.Type)
   663  	n += 1 + l + sovGenerated(uint64(l))
   664  	l = len(m.Status)
   665  	n += 1 + l + sovGenerated(uint64(l))
   666  	l = m.LastProbeTime.Size()
   667  	n += 1 + l + sovGenerated(uint64(l))
   668  	l = m.LastTransitionTime.Size()
   669  	n += 1 + l + sovGenerated(uint64(l))
   670  	l = len(m.Reason)
   671  	n += 1 + l + sovGenerated(uint64(l))
   672  	l = len(m.Message)
   673  	n += 1 + l + sovGenerated(uint64(l))
   674  	return n
   675  }
   676  
   677  func (m *CarpList) Size() (n int) {
   678  	if m == nil {
   679  		return 0
   680  	}
   681  	var l int
   682  	_ = l
   683  	l = m.ListMeta.Size()
   684  	n += 1 + l + sovGenerated(uint64(l))
   685  	if len(m.Items) > 0 {
   686  		for _, e := range m.Items {
   687  			l = e.Size()
   688  			n += 1 + l + sovGenerated(uint64(l))
   689  		}
   690  	}
   691  	return n
   692  }
   693  
   694  func (m *CarpSpec) Size() (n int) {
   695  	if m == nil {
   696  		return 0
   697  	}
   698  	var l int
   699  	_ = l
   700  	l = len(m.RestartPolicy)
   701  	n += 1 + l + sovGenerated(uint64(l))
   702  	if m.TerminationGracePeriodSeconds != nil {
   703  		n += 1 + sovGenerated(uint64(*m.TerminationGracePeriodSeconds))
   704  	}
   705  	if m.ActiveDeadlineSeconds != nil {
   706  		n += 1 + sovGenerated(uint64(*m.ActiveDeadlineSeconds))
   707  	}
   708  	if len(m.NodeSelector) > 0 {
   709  		for k, v := range m.NodeSelector {
   710  			_ = k
   711  			_ = v
   712  			mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
   713  			n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
   714  		}
   715  	}
   716  	l = len(m.ServiceAccountName)
   717  	n += 1 + l + sovGenerated(uint64(l))
   718  	l = len(m.DeprecatedServiceAccount)
   719  	n += 1 + l + sovGenerated(uint64(l))
   720  	l = len(m.NodeName)
   721  	n += 1 + l + sovGenerated(uint64(l))
   722  	n += 2
   723  	n += 2
   724  	n += 2
   725  	l = len(m.Hostname)
   726  	n += 2 + l + sovGenerated(uint64(l))
   727  	l = len(m.Subdomain)
   728  	n += 2 + l + sovGenerated(uint64(l))
   729  	l = len(m.SchedulerName)
   730  	n += 2 + l + sovGenerated(uint64(l))
   731  	return n
   732  }
   733  
   734  func (m *CarpStatus) Size() (n int) {
   735  	if m == nil {
   736  		return 0
   737  	}
   738  	var l int
   739  	_ = l
   740  	l = len(m.Phase)
   741  	n += 1 + l + sovGenerated(uint64(l))
   742  	if len(m.Conditions) > 0 {
   743  		for _, e := range m.Conditions {
   744  			l = e.Size()
   745  			n += 1 + l + sovGenerated(uint64(l))
   746  		}
   747  	}
   748  	l = len(m.Message)
   749  	n += 1 + l + sovGenerated(uint64(l))
   750  	l = len(m.Reason)
   751  	n += 1 + l + sovGenerated(uint64(l))
   752  	l = len(m.HostIP)
   753  	n += 1 + l + sovGenerated(uint64(l))
   754  	l = len(m.CarpIP)
   755  	n += 1 + l + sovGenerated(uint64(l))
   756  	if m.StartTime != nil {
   757  		l = m.StartTime.Size()
   758  		n += 1 + l + sovGenerated(uint64(l))
   759  	}
   760  	return n
   761  }
   762  
   763  func sovGenerated(x uint64) (n int) {
   764  	return (math_bits.Len64(x|1) + 6) / 7
   765  }
   766  func sozGenerated(x uint64) (n int) {
   767  	return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
   768  }
   769  func (this *Carp) String() string {
   770  	if this == nil {
   771  		return "nil"
   772  	}
   773  	s := strings.Join([]string{`&Carp{`,
   774  		`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
   775  		`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "CarpSpec", "CarpSpec", 1), `&`, ``, 1) + `,`,
   776  		`Status:` + strings.Replace(strings.Replace(this.Status.String(), "CarpStatus", "CarpStatus", 1), `&`, ``, 1) + `,`,
   777  		`}`,
   778  	}, "")
   779  	return s
   780  }
   781  func (this *CarpCondition) String() string {
   782  	if this == nil {
   783  		return "nil"
   784  	}
   785  	s := strings.Join([]string{`&CarpCondition{`,
   786  		`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
   787  		`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
   788  		`LastProbeTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastProbeTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
   789  		`LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
   790  		`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
   791  		`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
   792  		`}`,
   793  	}, "")
   794  	return s
   795  }
   796  func (this *CarpList) String() string {
   797  	if this == nil {
   798  		return "nil"
   799  	}
   800  	repeatedStringForItems := "[]Carp{"
   801  	for _, f := range this.Items {
   802  		repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "Carp", "Carp", 1), `&`, ``, 1) + ","
   803  	}
   804  	repeatedStringForItems += "}"
   805  	s := strings.Join([]string{`&CarpList{`,
   806  		`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
   807  		`Items:` + repeatedStringForItems + `,`,
   808  		`}`,
   809  	}, "")
   810  	return s
   811  }
   812  func (this *CarpSpec) String() string {
   813  	if this == nil {
   814  		return "nil"
   815  	}
   816  	keysForNodeSelector := make([]string, 0, len(this.NodeSelector))
   817  	for k := range this.NodeSelector {
   818  		keysForNodeSelector = append(keysForNodeSelector, k)
   819  	}
   820  	github_com_gogo_protobuf_sortkeys.Strings(keysForNodeSelector)
   821  	mapStringForNodeSelector := "map[string]string{"
   822  	for _, k := range keysForNodeSelector {
   823  		mapStringForNodeSelector += fmt.Sprintf("%v: %v,", k, this.NodeSelector[k])
   824  	}
   825  	mapStringForNodeSelector += "}"
   826  	s := strings.Join([]string{`&CarpSpec{`,
   827  		`RestartPolicy:` + fmt.Sprintf("%v", this.RestartPolicy) + `,`,
   828  		`TerminationGracePeriodSeconds:` + valueToStringGenerated(this.TerminationGracePeriodSeconds) + `,`,
   829  		`ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`,
   830  		`NodeSelector:` + mapStringForNodeSelector + `,`,
   831  		`ServiceAccountName:` + fmt.Sprintf("%v", this.ServiceAccountName) + `,`,
   832  		`DeprecatedServiceAccount:` + fmt.Sprintf("%v", this.DeprecatedServiceAccount) + `,`,
   833  		`NodeName:` + fmt.Sprintf("%v", this.NodeName) + `,`,
   834  		`HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
   835  		`HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
   836  		`HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
   837  		`Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
   838  		`Subdomain:` + fmt.Sprintf("%v", this.Subdomain) + `,`,
   839  		`SchedulerName:` + fmt.Sprintf("%v", this.SchedulerName) + `,`,
   840  		`}`,
   841  	}, "")
   842  	return s
   843  }
   844  func (this *CarpStatus) String() string {
   845  	if this == nil {
   846  		return "nil"
   847  	}
   848  	repeatedStringForConditions := "[]CarpCondition{"
   849  	for _, f := range this.Conditions {
   850  		repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "CarpCondition", "CarpCondition", 1), `&`, ``, 1) + ","
   851  	}
   852  	repeatedStringForConditions += "}"
   853  	s := strings.Join([]string{`&CarpStatus{`,
   854  		`Phase:` + fmt.Sprintf("%v", this.Phase) + `,`,
   855  		`Conditions:` + repeatedStringForConditions + `,`,
   856  		`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
   857  		`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
   858  		`HostIP:` + fmt.Sprintf("%v", this.HostIP) + `,`,
   859  		`CarpIP:` + fmt.Sprintf("%v", this.CarpIP) + `,`,
   860  		`StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "v1.Time", 1) + `,`,
   861  		`}`,
   862  	}, "")
   863  	return s
   864  }
   865  func valueToStringGenerated(v interface{}) string {
   866  	rv := reflect.ValueOf(v)
   867  	if rv.IsNil() {
   868  		return "nil"
   869  	}
   870  	pv := reflect.Indirect(rv).Interface()
   871  	return fmt.Sprintf("*%v", pv)
   872  }
   873  func (m *Carp) Unmarshal(dAtA []byte) error {
   874  	l := len(dAtA)
   875  	iNdEx := 0
   876  	for iNdEx < l {
   877  		preIndex := iNdEx
   878  		var wire uint64
   879  		for shift := uint(0); ; shift += 7 {
   880  			if shift >= 64 {
   881  				return ErrIntOverflowGenerated
   882  			}
   883  			if iNdEx >= l {
   884  				return io.ErrUnexpectedEOF
   885  			}
   886  			b := dAtA[iNdEx]
   887  			iNdEx++
   888  			wire |= uint64(b&0x7F) << shift
   889  			if b < 0x80 {
   890  				break
   891  			}
   892  		}
   893  		fieldNum := int32(wire >> 3)
   894  		wireType := int(wire & 0x7)
   895  		if wireType == 4 {
   896  			return fmt.Errorf("proto: Carp: wiretype end group for non-group")
   897  		}
   898  		if fieldNum <= 0 {
   899  			return fmt.Errorf("proto: Carp: illegal tag %d (wire type %d)", fieldNum, wire)
   900  		}
   901  		switch fieldNum {
   902  		case 1:
   903  			if wireType != 2 {
   904  				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
   905  			}
   906  			var msglen int
   907  			for shift := uint(0); ; shift += 7 {
   908  				if shift >= 64 {
   909  					return ErrIntOverflowGenerated
   910  				}
   911  				if iNdEx >= l {
   912  					return io.ErrUnexpectedEOF
   913  				}
   914  				b := dAtA[iNdEx]
   915  				iNdEx++
   916  				msglen |= int(b&0x7F) << shift
   917  				if b < 0x80 {
   918  					break
   919  				}
   920  			}
   921  			if msglen < 0 {
   922  				return ErrInvalidLengthGenerated
   923  			}
   924  			postIndex := iNdEx + msglen
   925  			if postIndex < 0 {
   926  				return ErrInvalidLengthGenerated
   927  			}
   928  			if postIndex > l {
   929  				return io.ErrUnexpectedEOF
   930  			}
   931  			if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
   932  				return err
   933  			}
   934  			iNdEx = postIndex
   935  		case 2:
   936  			if wireType != 2 {
   937  				return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
   938  			}
   939  			var msglen int
   940  			for shift := uint(0); ; shift += 7 {
   941  				if shift >= 64 {
   942  					return ErrIntOverflowGenerated
   943  				}
   944  				if iNdEx >= l {
   945  					return io.ErrUnexpectedEOF
   946  				}
   947  				b := dAtA[iNdEx]
   948  				iNdEx++
   949  				msglen |= int(b&0x7F) << shift
   950  				if b < 0x80 {
   951  					break
   952  				}
   953  			}
   954  			if msglen < 0 {
   955  				return ErrInvalidLengthGenerated
   956  			}
   957  			postIndex := iNdEx + msglen
   958  			if postIndex < 0 {
   959  				return ErrInvalidLengthGenerated
   960  			}
   961  			if postIndex > l {
   962  				return io.ErrUnexpectedEOF
   963  			}
   964  			if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
   965  				return err
   966  			}
   967  			iNdEx = postIndex
   968  		case 3:
   969  			if wireType != 2 {
   970  				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
   971  			}
   972  			var msglen int
   973  			for shift := uint(0); ; shift += 7 {
   974  				if shift >= 64 {
   975  					return ErrIntOverflowGenerated
   976  				}
   977  				if iNdEx >= l {
   978  					return io.ErrUnexpectedEOF
   979  				}
   980  				b := dAtA[iNdEx]
   981  				iNdEx++
   982  				msglen |= int(b&0x7F) << shift
   983  				if b < 0x80 {
   984  					break
   985  				}
   986  			}
   987  			if msglen < 0 {
   988  				return ErrInvalidLengthGenerated
   989  			}
   990  			postIndex := iNdEx + msglen
   991  			if postIndex < 0 {
   992  				return ErrInvalidLengthGenerated
   993  			}
   994  			if postIndex > l {
   995  				return io.ErrUnexpectedEOF
   996  			}
   997  			if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
   998  				return err
   999  			}
  1000  			iNdEx = postIndex
  1001  		default:
  1002  			iNdEx = preIndex
  1003  			skippy, err := skipGenerated(dAtA[iNdEx:])
  1004  			if err != nil {
  1005  				return err
  1006  			}
  1007  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1008  				return ErrInvalidLengthGenerated
  1009  			}
  1010  			if (iNdEx + skippy) > l {
  1011  				return io.ErrUnexpectedEOF
  1012  			}
  1013  			iNdEx += skippy
  1014  		}
  1015  	}
  1016  
  1017  	if iNdEx > l {
  1018  		return io.ErrUnexpectedEOF
  1019  	}
  1020  	return nil
  1021  }
  1022  func (m *CarpCondition) Unmarshal(dAtA []byte) error {
  1023  	l := len(dAtA)
  1024  	iNdEx := 0
  1025  	for iNdEx < l {
  1026  		preIndex := iNdEx
  1027  		var wire uint64
  1028  		for shift := uint(0); ; shift += 7 {
  1029  			if shift >= 64 {
  1030  				return ErrIntOverflowGenerated
  1031  			}
  1032  			if iNdEx >= l {
  1033  				return io.ErrUnexpectedEOF
  1034  			}
  1035  			b := dAtA[iNdEx]
  1036  			iNdEx++
  1037  			wire |= uint64(b&0x7F) << shift
  1038  			if b < 0x80 {
  1039  				break
  1040  			}
  1041  		}
  1042  		fieldNum := int32(wire >> 3)
  1043  		wireType := int(wire & 0x7)
  1044  		if wireType == 4 {
  1045  			return fmt.Errorf("proto: CarpCondition: wiretype end group for non-group")
  1046  		}
  1047  		if fieldNum <= 0 {
  1048  			return fmt.Errorf("proto: CarpCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  1049  		}
  1050  		switch fieldNum {
  1051  		case 1:
  1052  			if wireType != 2 {
  1053  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  1054  			}
  1055  			var stringLen uint64
  1056  			for shift := uint(0); ; shift += 7 {
  1057  				if shift >= 64 {
  1058  					return ErrIntOverflowGenerated
  1059  				}
  1060  				if iNdEx >= l {
  1061  					return io.ErrUnexpectedEOF
  1062  				}
  1063  				b := dAtA[iNdEx]
  1064  				iNdEx++
  1065  				stringLen |= uint64(b&0x7F) << shift
  1066  				if b < 0x80 {
  1067  					break
  1068  				}
  1069  			}
  1070  			intStringLen := int(stringLen)
  1071  			if intStringLen < 0 {
  1072  				return ErrInvalidLengthGenerated
  1073  			}
  1074  			postIndex := iNdEx + intStringLen
  1075  			if postIndex < 0 {
  1076  				return ErrInvalidLengthGenerated
  1077  			}
  1078  			if postIndex > l {
  1079  				return io.ErrUnexpectedEOF
  1080  			}
  1081  			m.Type = CarpConditionType(dAtA[iNdEx:postIndex])
  1082  			iNdEx = postIndex
  1083  		case 2:
  1084  			if wireType != 2 {
  1085  				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  1086  			}
  1087  			var stringLen uint64
  1088  			for shift := uint(0); ; shift += 7 {
  1089  				if shift >= 64 {
  1090  					return ErrIntOverflowGenerated
  1091  				}
  1092  				if iNdEx >= l {
  1093  					return io.ErrUnexpectedEOF
  1094  				}
  1095  				b := dAtA[iNdEx]
  1096  				iNdEx++
  1097  				stringLen |= uint64(b&0x7F) << shift
  1098  				if b < 0x80 {
  1099  					break
  1100  				}
  1101  			}
  1102  			intStringLen := int(stringLen)
  1103  			if intStringLen < 0 {
  1104  				return ErrInvalidLengthGenerated
  1105  			}
  1106  			postIndex := iNdEx + intStringLen
  1107  			if postIndex < 0 {
  1108  				return ErrInvalidLengthGenerated
  1109  			}
  1110  			if postIndex > l {
  1111  				return io.ErrUnexpectedEOF
  1112  			}
  1113  			m.Status = ConditionStatus(dAtA[iNdEx:postIndex])
  1114  			iNdEx = postIndex
  1115  		case 3:
  1116  			if wireType != 2 {
  1117  				return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType)
  1118  			}
  1119  			var msglen int
  1120  			for shift := uint(0); ; shift += 7 {
  1121  				if shift >= 64 {
  1122  					return ErrIntOverflowGenerated
  1123  				}
  1124  				if iNdEx >= l {
  1125  					return io.ErrUnexpectedEOF
  1126  				}
  1127  				b := dAtA[iNdEx]
  1128  				iNdEx++
  1129  				msglen |= int(b&0x7F) << shift
  1130  				if b < 0x80 {
  1131  					break
  1132  				}
  1133  			}
  1134  			if msglen < 0 {
  1135  				return ErrInvalidLengthGenerated
  1136  			}
  1137  			postIndex := iNdEx + msglen
  1138  			if postIndex < 0 {
  1139  				return ErrInvalidLengthGenerated
  1140  			}
  1141  			if postIndex > l {
  1142  				return io.ErrUnexpectedEOF
  1143  			}
  1144  			if err := m.LastProbeTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1145  				return err
  1146  			}
  1147  			iNdEx = postIndex
  1148  		case 4:
  1149  			if wireType != 2 {
  1150  				return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  1151  			}
  1152  			var msglen int
  1153  			for shift := uint(0); ; shift += 7 {
  1154  				if shift >= 64 {
  1155  					return ErrIntOverflowGenerated
  1156  				}
  1157  				if iNdEx >= l {
  1158  					return io.ErrUnexpectedEOF
  1159  				}
  1160  				b := dAtA[iNdEx]
  1161  				iNdEx++
  1162  				msglen |= int(b&0x7F) << shift
  1163  				if b < 0x80 {
  1164  					break
  1165  				}
  1166  			}
  1167  			if msglen < 0 {
  1168  				return ErrInvalidLengthGenerated
  1169  			}
  1170  			postIndex := iNdEx + msglen
  1171  			if postIndex < 0 {
  1172  				return ErrInvalidLengthGenerated
  1173  			}
  1174  			if postIndex > l {
  1175  				return io.ErrUnexpectedEOF
  1176  			}
  1177  			if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1178  				return err
  1179  			}
  1180  			iNdEx = postIndex
  1181  		case 5:
  1182  			if wireType != 2 {
  1183  				return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  1184  			}
  1185  			var stringLen uint64
  1186  			for shift := uint(0); ; shift += 7 {
  1187  				if shift >= 64 {
  1188  					return ErrIntOverflowGenerated
  1189  				}
  1190  				if iNdEx >= l {
  1191  					return io.ErrUnexpectedEOF
  1192  				}
  1193  				b := dAtA[iNdEx]
  1194  				iNdEx++
  1195  				stringLen |= uint64(b&0x7F) << shift
  1196  				if b < 0x80 {
  1197  					break
  1198  				}
  1199  			}
  1200  			intStringLen := int(stringLen)
  1201  			if intStringLen < 0 {
  1202  				return ErrInvalidLengthGenerated
  1203  			}
  1204  			postIndex := iNdEx + intStringLen
  1205  			if postIndex < 0 {
  1206  				return ErrInvalidLengthGenerated
  1207  			}
  1208  			if postIndex > l {
  1209  				return io.ErrUnexpectedEOF
  1210  			}
  1211  			m.Reason = string(dAtA[iNdEx:postIndex])
  1212  			iNdEx = postIndex
  1213  		case 6:
  1214  			if wireType != 2 {
  1215  				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  1216  			}
  1217  			var stringLen uint64
  1218  			for shift := uint(0); ; shift += 7 {
  1219  				if shift >= 64 {
  1220  					return ErrIntOverflowGenerated
  1221  				}
  1222  				if iNdEx >= l {
  1223  					return io.ErrUnexpectedEOF
  1224  				}
  1225  				b := dAtA[iNdEx]
  1226  				iNdEx++
  1227  				stringLen |= uint64(b&0x7F) << shift
  1228  				if b < 0x80 {
  1229  					break
  1230  				}
  1231  			}
  1232  			intStringLen := int(stringLen)
  1233  			if intStringLen < 0 {
  1234  				return ErrInvalidLengthGenerated
  1235  			}
  1236  			postIndex := iNdEx + intStringLen
  1237  			if postIndex < 0 {
  1238  				return ErrInvalidLengthGenerated
  1239  			}
  1240  			if postIndex > l {
  1241  				return io.ErrUnexpectedEOF
  1242  			}
  1243  			m.Message = string(dAtA[iNdEx:postIndex])
  1244  			iNdEx = postIndex
  1245  		default:
  1246  			iNdEx = preIndex
  1247  			skippy, err := skipGenerated(dAtA[iNdEx:])
  1248  			if err != nil {
  1249  				return err
  1250  			}
  1251  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1252  				return ErrInvalidLengthGenerated
  1253  			}
  1254  			if (iNdEx + skippy) > l {
  1255  				return io.ErrUnexpectedEOF
  1256  			}
  1257  			iNdEx += skippy
  1258  		}
  1259  	}
  1260  
  1261  	if iNdEx > l {
  1262  		return io.ErrUnexpectedEOF
  1263  	}
  1264  	return nil
  1265  }
  1266  func (m *CarpList) Unmarshal(dAtA []byte) error {
  1267  	l := len(dAtA)
  1268  	iNdEx := 0
  1269  	for iNdEx < l {
  1270  		preIndex := iNdEx
  1271  		var wire uint64
  1272  		for shift := uint(0); ; shift += 7 {
  1273  			if shift >= 64 {
  1274  				return ErrIntOverflowGenerated
  1275  			}
  1276  			if iNdEx >= l {
  1277  				return io.ErrUnexpectedEOF
  1278  			}
  1279  			b := dAtA[iNdEx]
  1280  			iNdEx++
  1281  			wire |= uint64(b&0x7F) << shift
  1282  			if b < 0x80 {
  1283  				break
  1284  			}
  1285  		}
  1286  		fieldNum := int32(wire >> 3)
  1287  		wireType := int(wire & 0x7)
  1288  		if wireType == 4 {
  1289  			return fmt.Errorf("proto: CarpList: wiretype end group for non-group")
  1290  		}
  1291  		if fieldNum <= 0 {
  1292  			return fmt.Errorf("proto: CarpList: illegal tag %d (wire type %d)", fieldNum, wire)
  1293  		}
  1294  		switch fieldNum {
  1295  		case 1:
  1296  			if wireType != 2 {
  1297  				return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  1298  			}
  1299  			var msglen int
  1300  			for shift := uint(0); ; shift += 7 {
  1301  				if shift >= 64 {
  1302  					return ErrIntOverflowGenerated
  1303  				}
  1304  				if iNdEx >= l {
  1305  					return io.ErrUnexpectedEOF
  1306  				}
  1307  				b := dAtA[iNdEx]
  1308  				iNdEx++
  1309  				msglen |= int(b&0x7F) << shift
  1310  				if b < 0x80 {
  1311  					break
  1312  				}
  1313  			}
  1314  			if msglen < 0 {
  1315  				return ErrInvalidLengthGenerated
  1316  			}
  1317  			postIndex := iNdEx + msglen
  1318  			if postIndex < 0 {
  1319  				return ErrInvalidLengthGenerated
  1320  			}
  1321  			if postIndex > l {
  1322  				return io.ErrUnexpectedEOF
  1323  			}
  1324  			if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1325  				return err
  1326  			}
  1327  			iNdEx = postIndex
  1328  		case 2:
  1329  			if wireType != 2 {
  1330  				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  1331  			}
  1332  			var msglen int
  1333  			for shift := uint(0); ; shift += 7 {
  1334  				if shift >= 64 {
  1335  					return ErrIntOverflowGenerated
  1336  				}
  1337  				if iNdEx >= l {
  1338  					return io.ErrUnexpectedEOF
  1339  				}
  1340  				b := dAtA[iNdEx]
  1341  				iNdEx++
  1342  				msglen |= int(b&0x7F) << shift
  1343  				if b < 0x80 {
  1344  					break
  1345  				}
  1346  			}
  1347  			if msglen < 0 {
  1348  				return ErrInvalidLengthGenerated
  1349  			}
  1350  			postIndex := iNdEx + msglen
  1351  			if postIndex < 0 {
  1352  				return ErrInvalidLengthGenerated
  1353  			}
  1354  			if postIndex > l {
  1355  				return io.ErrUnexpectedEOF
  1356  			}
  1357  			m.Items = append(m.Items, Carp{})
  1358  			if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1359  				return err
  1360  			}
  1361  			iNdEx = postIndex
  1362  		default:
  1363  			iNdEx = preIndex
  1364  			skippy, err := skipGenerated(dAtA[iNdEx:])
  1365  			if err != nil {
  1366  				return err
  1367  			}
  1368  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1369  				return ErrInvalidLengthGenerated
  1370  			}
  1371  			if (iNdEx + skippy) > l {
  1372  				return io.ErrUnexpectedEOF
  1373  			}
  1374  			iNdEx += skippy
  1375  		}
  1376  	}
  1377  
  1378  	if iNdEx > l {
  1379  		return io.ErrUnexpectedEOF
  1380  	}
  1381  	return nil
  1382  }
  1383  func (m *CarpSpec) Unmarshal(dAtA []byte) error {
  1384  	l := len(dAtA)
  1385  	iNdEx := 0
  1386  	for iNdEx < l {
  1387  		preIndex := iNdEx
  1388  		var wire uint64
  1389  		for shift := uint(0); ; shift += 7 {
  1390  			if shift >= 64 {
  1391  				return ErrIntOverflowGenerated
  1392  			}
  1393  			if iNdEx >= l {
  1394  				return io.ErrUnexpectedEOF
  1395  			}
  1396  			b := dAtA[iNdEx]
  1397  			iNdEx++
  1398  			wire |= uint64(b&0x7F) << shift
  1399  			if b < 0x80 {
  1400  				break
  1401  			}
  1402  		}
  1403  		fieldNum := int32(wire >> 3)
  1404  		wireType := int(wire & 0x7)
  1405  		if wireType == 4 {
  1406  			return fmt.Errorf("proto: CarpSpec: wiretype end group for non-group")
  1407  		}
  1408  		if fieldNum <= 0 {
  1409  			return fmt.Errorf("proto: CarpSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  1410  		}
  1411  		switch fieldNum {
  1412  		case 3:
  1413  			if wireType != 2 {
  1414  				return fmt.Errorf("proto: wrong wireType = %d for field RestartPolicy", wireType)
  1415  			}
  1416  			var stringLen uint64
  1417  			for shift := uint(0); ; shift += 7 {
  1418  				if shift >= 64 {
  1419  					return ErrIntOverflowGenerated
  1420  				}
  1421  				if iNdEx >= l {
  1422  					return io.ErrUnexpectedEOF
  1423  				}
  1424  				b := dAtA[iNdEx]
  1425  				iNdEx++
  1426  				stringLen |= uint64(b&0x7F) << shift
  1427  				if b < 0x80 {
  1428  					break
  1429  				}
  1430  			}
  1431  			intStringLen := int(stringLen)
  1432  			if intStringLen < 0 {
  1433  				return ErrInvalidLengthGenerated
  1434  			}
  1435  			postIndex := iNdEx + intStringLen
  1436  			if postIndex < 0 {
  1437  				return ErrInvalidLengthGenerated
  1438  			}
  1439  			if postIndex > l {
  1440  				return io.ErrUnexpectedEOF
  1441  			}
  1442  			m.RestartPolicy = RestartPolicy(dAtA[iNdEx:postIndex])
  1443  			iNdEx = postIndex
  1444  		case 4:
  1445  			if wireType != 0 {
  1446  				return fmt.Errorf("proto: wrong wireType = %d for field TerminationGracePeriodSeconds", wireType)
  1447  			}
  1448  			var v int64
  1449  			for shift := uint(0); ; shift += 7 {
  1450  				if shift >= 64 {
  1451  					return ErrIntOverflowGenerated
  1452  				}
  1453  				if iNdEx >= l {
  1454  					return io.ErrUnexpectedEOF
  1455  				}
  1456  				b := dAtA[iNdEx]
  1457  				iNdEx++
  1458  				v |= int64(b&0x7F) << shift
  1459  				if b < 0x80 {
  1460  					break
  1461  				}
  1462  			}
  1463  			m.TerminationGracePeriodSeconds = &v
  1464  		case 5:
  1465  			if wireType != 0 {
  1466  				return fmt.Errorf("proto: wrong wireType = %d for field ActiveDeadlineSeconds", wireType)
  1467  			}
  1468  			var v int64
  1469  			for shift := uint(0); ; shift += 7 {
  1470  				if shift >= 64 {
  1471  					return ErrIntOverflowGenerated
  1472  				}
  1473  				if iNdEx >= l {
  1474  					return io.ErrUnexpectedEOF
  1475  				}
  1476  				b := dAtA[iNdEx]
  1477  				iNdEx++
  1478  				v |= int64(b&0x7F) << shift
  1479  				if b < 0x80 {
  1480  					break
  1481  				}
  1482  			}
  1483  			m.ActiveDeadlineSeconds = &v
  1484  		case 7:
  1485  			if wireType != 2 {
  1486  				return fmt.Errorf("proto: wrong wireType = %d for field NodeSelector", wireType)
  1487  			}
  1488  			var msglen int
  1489  			for shift := uint(0); ; shift += 7 {
  1490  				if shift >= 64 {
  1491  					return ErrIntOverflowGenerated
  1492  				}
  1493  				if iNdEx >= l {
  1494  					return io.ErrUnexpectedEOF
  1495  				}
  1496  				b := dAtA[iNdEx]
  1497  				iNdEx++
  1498  				msglen |= int(b&0x7F) << shift
  1499  				if b < 0x80 {
  1500  					break
  1501  				}
  1502  			}
  1503  			if msglen < 0 {
  1504  				return ErrInvalidLengthGenerated
  1505  			}
  1506  			postIndex := iNdEx + msglen
  1507  			if postIndex < 0 {
  1508  				return ErrInvalidLengthGenerated
  1509  			}
  1510  			if postIndex > l {
  1511  				return io.ErrUnexpectedEOF
  1512  			}
  1513  			if m.NodeSelector == nil {
  1514  				m.NodeSelector = make(map[string]string)
  1515  			}
  1516  			var mapkey string
  1517  			var mapvalue string
  1518  			for iNdEx < postIndex {
  1519  				entryPreIndex := iNdEx
  1520  				var wire uint64
  1521  				for shift := uint(0); ; shift += 7 {
  1522  					if shift >= 64 {
  1523  						return ErrIntOverflowGenerated
  1524  					}
  1525  					if iNdEx >= l {
  1526  						return io.ErrUnexpectedEOF
  1527  					}
  1528  					b := dAtA[iNdEx]
  1529  					iNdEx++
  1530  					wire |= uint64(b&0x7F) << shift
  1531  					if b < 0x80 {
  1532  						break
  1533  					}
  1534  				}
  1535  				fieldNum := int32(wire >> 3)
  1536  				if fieldNum == 1 {
  1537  					var stringLenmapkey uint64
  1538  					for shift := uint(0); ; shift += 7 {
  1539  						if shift >= 64 {
  1540  							return ErrIntOverflowGenerated
  1541  						}
  1542  						if iNdEx >= l {
  1543  							return io.ErrUnexpectedEOF
  1544  						}
  1545  						b := dAtA[iNdEx]
  1546  						iNdEx++
  1547  						stringLenmapkey |= uint64(b&0x7F) << shift
  1548  						if b < 0x80 {
  1549  							break
  1550  						}
  1551  					}
  1552  					intStringLenmapkey := int(stringLenmapkey)
  1553  					if intStringLenmapkey < 0 {
  1554  						return ErrInvalidLengthGenerated
  1555  					}
  1556  					postStringIndexmapkey := iNdEx + intStringLenmapkey
  1557  					if postStringIndexmapkey < 0 {
  1558  						return ErrInvalidLengthGenerated
  1559  					}
  1560  					if postStringIndexmapkey > l {
  1561  						return io.ErrUnexpectedEOF
  1562  					}
  1563  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  1564  					iNdEx = postStringIndexmapkey
  1565  				} else if fieldNum == 2 {
  1566  					var stringLenmapvalue uint64
  1567  					for shift := uint(0); ; shift += 7 {
  1568  						if shift >= 64 {
  1569  							return ErrIntOverflowGenerated
  1570  						}
  1571  						if iNdEx >= l {
  1572  							return io.ErrUnexpectedEOF
  1573  						}
  1574  						b := dAtA[iNdEx]
  1575  						iNdEx++
  1576  						stringLenmapvalue |= uint64(b&0x7F) << shift
  1577  						if b < 0x80 {
  1578  							break
  1579  						}
  1580  					}
  1581  					intStringLenmapvalue := int(stringLenmapvalue)
  1582  					if intStringLenmapvalue < 0 {
  1583  						return ErrInvalidLengthGenerated
  1584  					}
  1585  					postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  1586  					if postStringIndexmapvalue < 0 {
  1587  						return ErrInvalidLengthGenerated
  1588  					}
  1589  					if postStringIndexmapvalue > l {
  1590  						return io.ErrUnexpectedEOF
  1591  					}
  1592  					mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  1593  					iNdEx = postStringIndexmapvalue
  1594  				} else {
  1595  					iNdEx = entryPreIndex
  1596  					skippy, err := skipGenerated(dAtA[iNdEx:])
  1597  					if err != nil {
  1598  						return err
  1599  					}
  1600  					if (skippy < 0) || (iNdEx+skippy) < 0 {
  1601  						return ErrInvalidLengthGenerated
  1602  					}
  1603  					if (iNdEx + skippy) > postIndex {
  1604  						return io.ErrUnexpectedEOF
  1605  					}
  1606  					iNdEx += skippy
  1607  				}
  1608  			}
  1609  			m.NodeSelector[mapkey] = mapvalue
  1610  			iNdEx = postIndex
  1611  		case 8:
  1612  			if wireType != 2 {
  1613  				return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountName", wireType)
  1614  			}
  1615  			var stringLen uint64
  1616  			for shift := uint(0); ; shift += 7 {
  1617  				if shift >= 64 {
  1618  					return ErrIntOverflowGenerated
  1619  				}
  1620  				if iNdEx >= l {
  1621  					return io.ErrUnexpectedEOF
  1622  				}
  1623  				b := dAtA[iNdEx]
  1624  				iNdEx++
  1625  				stringLen |= uint64(b&0x7F) << shift
  1626  				if b < 0x80 {
  1627  					break
  1628  				}
  1629  			}
  1630  			intStringLen := int(stringLen)
  1631  			if intStringLen < 0 {
  1632  				return ErrInvalidLengthGenerated
  1633  			}
  1634  			postIndex := iNdEx + intStringLen
  1635  			if postIndex < 0 {
  1636  				return ErrInvalidLengthGenerated
  1637  			}
  1638  			if postIndex > l {
  1639  				return io.ErrUnexpectedEOF
  1640  			}
  1641  			m.ServiceAccountName = string(dAtA[iNdEx:postIndex])
  1642  			iNdEx = postIndex
  1643  		case 9:
  1644  			if wireType != 2 {
  1645  				return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedServiceAccount", wireType)
  1646  			}
  1647  			var stringLen uint64
  1648  			for shift := uint(0); ; shift += 7 {
  1649  				if shift >= 64 {
  1650  					return ErrIntOverflowGenerated
  1651  				}
  1652  				if iNdEx >= l {
  1653  					return io.ErrUnexpectedEOF
  1654  				}
  1655  				b := dAtA[iNdEx]
  1656  				iNdEx++
  1657  				stringLen |= uint64(b&0x7F) << shift
  1658  				if b < 0x80 {
  1659  					break
  1660  				}
  1661  			}
  1662  			intStringLen := int(stringLen)
  1663  			if intStringLen < 0 {
  1664  				return ErrInvalidLengthGenerated
  1665  			}
  1666  			postIndex := iNdEx + intStringLen
  1667  			if postIndex < 0 {
  1668  				return ErrInvalidLengthGenerated
  1669  			}
  1670  			if postIndex > l {
  1671  				return io.ErrUnexpectedEOF
  1672  			}
  1673  			m.DeprecatedServiceAccount = string(dAtA[iNdEx:postIndex])
  1674  			iNdEx = postIndex
  1675  		case 10:
  1676  			if wireType != 2 {
  1677  				return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType)
  1678  			}
  1679  			var stringLen uint64
  1680  			for shift := uint(0); ; shift += 7 {
  1681  				if shift >= 64 {
  1682  					return ErrIntOverflowGenerated
  1683  				}
  1684  				if iNdEx >= l {
  1685  					return io.ErrUnexpectedEOF
  1686  				}
  1687  				b := dAtA[iNdEx]
  1688  				iNdEx++
  1689  				stringLen |= uint64(b&0x7F) << shift
  1690  				if b < 0x80 {
  1691  					break
  1692  				}
  1693  			}
  1694  			intStringLen := int(stringLen)
  1695  			if intStringLen < 0 {
  1696  				return ErrInvalidLengthGenerated
  1697  			}
  1698  			postIndex := iNdEx + intStringLen
  1699  			if postIndex < 0 {
  1700  				return ErrInvalidLengthGenerated
  1701  			}
  1702  			if postIndex > l {
  1703  				return io.ErrUnexpectedEOF
  1704  			}
  1705  			m.NodeName = string(dAtA[iNdEx:postIndex])
  1706  			iNdEx = postIndex
  1707  		case 11:
  1708  			if wireType != 0 {
  1709  				return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType)
  1710  			}
  1711  			var v int
  1712  			for shift := uint(0); ; shift += 7 {
  1713  				if shift >= 64 {
  1714  					return ErrIntOverflowGenerated
  1715  				}
  1716  				if iNdEx >= l {
  1717  					return io.ErrUnexpectedEOF
  1718  				}
  1719  				b := dAtA[iNdEx]
  1720  				iNdEx++
  1721  				v |= int(b&0x7F) << shift
  1722  				if b < 0x80 {
  1723  					break
  1724  				}
  1725  			}
  1726  			m.HostNetwork = bool(v != 0)
  1727  		case 12:
  1728  			if wireType != 0 {
  1729  				return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType)
  1730  			}
  1731  			var v int
  1732  			for shift := uint(0); ; shift += 7 {
  1733  				if shift >= 64 {
  1734  					return ErrIntOverflowGenerated
  1735  				}
  1736  				if iNdEx >= l {
  1737  					return io.ErrUnexpectedEOF
  1738  				}
  1739  				b := dAtA[iNdEx]
  1740  				iNdEx++
  1741  				v |= int(b&0x7F) << shift
  1742  				if b < 0x80 {
  1743  					break
  1744  				}
  1745  			}
  1746  			m.HostPID = bool(v != 0)
  1747  		case 13:
  1748  			if wireType != 0 {
  1749  				return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType)
  1750  			}
  1751  			var v int
  1752  			for shift := uint(0); ; shift += 7 {
  1753  				if shift >= 64 {
  1754  					return ErrIntOverflowGenerated
  1755  				}
  1756  				if iNdEx >= l {
  1757  					return io.ErrUnexpectedEOF
  1758  				}
  1759  				b := dAtA[iNdEx]
  1760  				iNdEx++
  1761  				v |= int(b&0x7F) << shift
  1762  				if b < 0x80 {
  1763  					break
  1764  				}
  1765  			}
  1766  			m.HostIPC = bool(v != 0)
  1767  		case 16:
  1768  			if wireType != 2 {
  1769  				return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
  1770  			}
  1771  			var stringLen uint64
  1772  			for shift := uint(0); ; shift += 7 {
  1773  				if shift >= 64 {
  1774  					return ErrIntOverflowGenerated
  1775  				}
  1776  				if iNdEx >= l {
  1777  					return io.ErrUnexpectedEOF
  1778  				}
  1779  				b := dAtA[iNdEx]
  1780  				iNdEx++
  1781  				stringLen |= uint64(b&0x7F) << shift
  1782  				if b < 0x80 {
  1783  					break
  1784  				}
  1785  			}
  1786  			intStringLen := int(stringLen)
  1787  			if intStringLen < 0 {
  1788  				return ErrInvalidLengthGenerated
  1789  			}
  1790  			postIndex := iNdEx + intStringLen
  1791  			if postIndex < 0 {
  1792  				return ErrInvalidLengthGenerated
  1793  			}
  1794  			if postIndex > l {
  1795  				return io.ErrUnexpectedEOF
  1796  			}
  1797  			m.Hostname = string(dAtA[iNdEx:postIndex])
  1798  			iNdEx = postIndex
  1799  		case 17:
  1800  			if wireType != 2 {
  1801  				return fmt.Errorf("proto: wrong wireType = %d for field Subdomain", wireType)
  1802  			}
  1803  			var stringLen uint64
  1804  			for shift := uint(0); ; shift += 7 {
  1805  				if shift >= 64 {
  1806  					return ErrIntOverflowGenerated
  1807  				}
  1808  				if iNdEx >= l {
  1809  					return io.ErrUnexpectedEOF
  1810  				}
  1811  				b := dAtA[iNdEx]
  1812  				iNdEx++
  1813  				stringLen |= uint64(b&0x7F) << shift
  1814  				if b < 0x80 {
  1815  					break
  1816  				}
  1817  			}
  1818  			intStringLen := int(stringLen)
  1819  			if intStringLen < 0 {
  1820  				return ErrInvalidLengthGenerated
  1821  			}
  1822  			postIndex := iNdEx + intStringLen
  1823  			if postIndex < 0 {
  1824  				return ErrInvalidLengthGenerated
  1825  			}
  1826  			if postIndex > l {
  1827  				return io.ErrUnexpectedEOF
  1828  			}
  1829  			m.Subdomain = string(dAtA[iNdEx:postIndex])
  1830  			iNdEx = postIndex
  1831  		case 19:
  1832  			if wireType != 2 {
  1833  				return fmt.Errorf("proto: wrong wireType = %d for field SchedulerName", wireType)
  1834  			}
  1835  			var stringLen uint64
  1836  			for shift := uint(0); ; shift += 7 {
  1837  				if shift >= 64 {
  1838  					return ErrIntOverflowGenerated
  1839  				}
  1840  				if iNdEx >= l {
  1841  					return io.ErrUnexpectedEOF
  1842  				}
  1843  				b := dAtA[iNdEx]
  1844  				iNdEx++
  1845  				stringLen |= uint64(b&0x7F) << shift
  1846  				if b < 0x80 {
  1847  					break
  1848  				}
  1849  			}
  1850  			intStringLen := int(stringLen)
  1851  			if intStringLen < 0 {
  1852  				return ErrInvalidLengthGenerated
  1853  			}
  1854  			postIndex := iNdEx + intStringLen
  1855  			if postIndex < 0 {
  1856  				return ErrInvalidLengthGenerated
  1857  			}
  1858  			if postIndex > l {
  1859  				return io.ErrUnexpectedEOF
  1860  			}
  1861  			m.SchedulerName = string(dAtA[iNdEx:postIndex])
  1862  			iNdEx = postIndex
  1863  		default:
  1864  			iNdEx = preIndex
  1865  			skippy, err := skipGenerated(dAtA[iNdEx:])
  1866  			if err != nil {
  1867  				return err
  1868  			}
  1869  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1870  				return ErrInvalidLengthGenerated
  1871  			}
  1872  			if (iNdEx + skippy) > l {
  1873  				return io.ErrUnexpectedEOF
  1874  			}
  1875  			iNdEx += skippy
  1876  		}
  1877  	}
  1878  
  1879  	if iNdEx > l {
  1880  		return io.ErrUnexpectedEOF
  1881  	}
  1882  	return nil
  1883  }
  1884  func (m *CarpStatus) Unmarshal(dAtA []byte) error {
  1885  	l := len(dAtA)
  1886  	iNdEx := 0
  1887  	for iNdEx < l {
  1888  		preIndex := iNdEx
  1889  		var wire uint64
  1890  		for shift := uint(0); ; shift += 7 {
  1891  			if shift >= 64 {
  1892  				return ErrIntOverflowGenerated
  1893  			}
  1894  			if iNdEx >= l {
  1895  				return io.ErrUnexpectedEOF
  1896  			}
  1897  			b := dAtA[iNdEx]
  1898  			iNdEx++
  1899  			wire |= uint64(b&0x7F) << shift
  1900  			if b < 0x80 {
  1901  				break
  1902  			}
  1903  		}
  1904  		fieldNum := int32(wire >> 3)
  1905  		wireType := int(wire & 0x7)
  1906  		if wireType == 4 {
  1907  			return fmt.Errorf("proto: CarpStatus: wiretype end group for non-group")
  1908  		}
  1909  		if fieldNum <= 0 {
  1910  			return fmt.Errorf("proto: CarpStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  1911  		}
  1912  		switch fieldNum {
  1913  		case 1:
  1914  			if wireType != 2 {
  1915  				return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType)
  1916  			}
  1917  			var stringLen uint64
  1918  			for shift := uint(0); ; shift += 7 {
  1919  				if shift >= 64 {
  1920  					return ErrIntOverflowGenerated
  1921  				}
  1922  				if iNdEx >= l {
  1923  					return io.ErrUnexpectedEOF
  1924  				}
  1925  				b := dAtA[iNdEx]
  1926  				iNdEx++
  1927  				stringLen |= uint64(b&0x7F) << shift
  1928  				if b < 0x80 {
  1929  					break
  1930  				}
  1931  			}
  1932  			intStringLen := int(stringLen)
  1933  			if intStringLen < 0 {
  1934  				return ErrInvalidLengthGenerated
  1935  			}
  1936  			postIndex := iNdEx + intStringLen
  1937  			if postIndex < 0 {
  1938  				return ErrInvalidLengthGenerated
  1939  			}
  1940  			if postIndex > l {
  1941  				return io.ErrUnexpectedEOF
  1942  			}
  1943  			m.Phase = CarpPhase(dAtA[iNdEx:postIndex])
  1944  			iNdEx = postIndex
  1945  		case 2:
  1946  			if wireType != 2 {
  1947  				return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  1948  			}
  1949  			var msglen int
  1950  			for shift := uint(0); ; shift += 7 {
  1951  				if shift >= 64 {
  1952  					return ErrIntOverflowGenerated
  1953  				}
  1954  				if iNdEx >= l {
  1955  					return io.ErrUnexpectedEOF
  1956  				}
  1957  				b := dAtA[iNdEx]
  1958  				iNdEx++
  1959  				msglen |= int(b&0x7F) << shift
  1960  				if b < 0x80 {
  1961  					break
  1962  				}
  1963  			}
  1964  			if msglen < 0 {
  1965  				return ErrInvalidLengthGenerated
  1966  			}
  1967  			postIndex := iNdEx + msglen
  1968  			if postIndex < 0 {
  1969  				return ErrInvalidLengthGenerated
  1970  			}
  1971  			if postIndex > l {
  1972  				return io.ErrUnexpectedEOF
  1973  			}
  1974  			m.Conditions = append(m.Conditions, CarpCondition{})
  1975  			if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1976  				return err
  1977  			}
  1978  			iNdEx = postIndex
  1979  		case 3:
  1980  			if wireType != 2 {
  1981  				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  1982  			}
  1983  			var stringLen uint64
  1984  			for shift := uint(0); ; shift += 7 {
  1985  				if shift >= 64 {
  1986  					return ErrIntOverflowGenerated
  1987  				}
  1988  				if iNdEx >= l {
  1989  					return io.ErrUnexpectedEOF
  1990  				}
  1991  				b := dAtA[iNdEx]
  1992  				iNdEx++
  1993  				stringLen |= uint64(b&0x7F) << shift
  1994  				if b < 0x80 {
  1995  					break
  1996  				}
  1997  			}
  1998  			intStringLen := int(stringLen)
  1999  			if intStringLen < 0 {
  2000  				return ErrInvalidLengthGenerated
  2001  			}
  2002  			postIndex := iNdEx + intStringLen
  2003  			if postIndex < 0 {
  2004  				return ErrInvalidLengthGenerated
  2005  			}
  2006  			if postIndex > l {
  2007  				return io.ErrUnexpectedEOF
  2008  			}
  2009  			m.Message = string(dAtA[iNdEx:postIndex])
  2010  			iNdEx = postIndex
  2011  		case 4:
  2012  			if wireType != 2 {
  2013  				return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  2014  			}
  2015  			var stringLen uint64
  2016  			for shift := uint(0); ; shift += 7 {
  2017  				if shift >= 64 {
  2018  					return ErrIntOverflowGenerated
  2019  				}
  2020  				if iNdEx >= l {
  2021  					return io.ErrUnexpectedEOF
  2022  				}
  2023  				b := dAtA[iNdEx]
  2024  				iNdEx++
  2025  				stringLen |= uint64(b&0x7F) << shift
  2026  				if b < 0x80 {
  2027  					break
  2028  				}
  2029  			}
  2030  			intStringLen := int(stringLen)
  2031  			if intStringLen < 0 {
  2032  				return ErrInvalidLengthGenerated
  2033  			}
  2034  			postIndex := iNdEx + intStringLen
  2035  			if postIndex < 0 {
  2036  				return ErrInvalidLengthGenerated
  2037  			}
  2038  			if postIndex > l {
  2039  				return io.ErrUnexpectedEOF
  2040  			}
  2041  			m.Reason = string(dAtA[iNdEx:postIndex])
  2042  			iNdEx = postIndex
  2043  		case 5:
  2044  			if wireType != 2 {
  2045  				return fmt.Errorf("proto: wrong wireType = %d for field HostIP", wireType)
  2046  			}
  2047  			var stringLen uint64
  2048  			for shift := uint(0); ; shift += 7 {
  2049  				if shift >= 64 {
  2050  					return ErrIntOverflowGenerated
  2051  				}
  2052  				if iNdEx >= l {
  2053  					return io.ErrUnexpectedEOF
  2054  				}
  2055  				b := dAtA[iNdEx]
  2056  				iNdEx++
  2057  				stringLen |= uint64(b&0x7F) << shift
  2058  				if b < 0x80 {
  2059  					break
  2060  				}
  2061  			}
  2062  			intStringLen := int(stringLen)
  2063  			if intStringLen < 0 {
  2064  				return ErrInvalidLengthGenerated
  2065  			}
  2066  			postIndex := iNdEx + intStringLen
  2067  			if postIndex < 0 {
  2068  				return ErrInvalidLengthGenerated
  2069  			}
  2070  			if postIndex > l {
  2071  				return io.ErrUnexpectedEOF
  2072  			}
  2073  			m.HostIP = string(dAtA[iNdEx:postIndex])
  2074  			iNdEx = postIndex
  2075  		case 6:
  2076  			if wireType != 2 {
  2077  				return fmt.Errorf("proto: wrong wireType = %d for field CarpIP", wireType)
  2078  			}
  2079  			var stringLen uint64
  2080  			for shift := uint(0); ; shift += 7 {
  2081  				if shift >= 64 {
  2082  					return ErrIntOverflowGenerated
  2083  				}
  2084  				if iNdEx >= l {
  2085  					return io.ErrUnexpectedEOF
  2086  				}
  2087  				b := dAtA[iNdEx]
  2088  				iNdEx++
  2089  				stringLen |= uint64(b&0x7F) << shift
  2090  				if b < 0x80 {
  2091  					break
  2092  				}
  2093  			}
  2094  			intStringLen := int(stringLen)
  2095  			if intStringLen < 0 {
  2096  				return ErrInvalidLengthGenerated
  2097  			}
  2098  			postIndex := iNdEx + intStringLen
  2099  			if postIndex < 0 {
  2100  				return ErrInvalidLengthGenerated
  2101  			}
  2102  			if postIndex > l {
  2103  				return io.ErrUnexpectedEOF
  2104  			}
  2105  			m.CarpIP = string(dAtA[iNdEx:postIndex])
  2106  			iNdEx = postIndex
  2107  		case 7:
  2108  			if wireType != 2 {
  2109  				return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  2110  			}
  2111  			var msglen int
  2112  			for shift := uint(0); ; shift += 7 {
  2113  				if shift >= 64 {
  2114  					return ErrIntOverflowGenerated
  2115  				}
  2116  				if iNdEx >= l {
  2117  					return io.ErrUnexpectedEOF
  2118  				}
  2119  				b := dAtA[iNdEx]
  2120  				iNdEx++
  2121  				msglen |= int(b&0x7F) << shift
  2122  				if b < 0x80 {
  2123  					break
  2124  				}
  2125  			}
  2126  			if msglen < 0 {
  2127  				return ErrInvalidLengthGenerated
  2128  			}
  2129  			postIndex := iNdEx + msglen
  2130  			if postIndex < 0 {
  2131  				return ErrInvalidLengthGenerated
  2132  			}
  2133  			if postIndex > l {
  2134  				return io.ErrUnexpectedEOF
  2135  			}
  2136  			if m.StartTime == nil {
  2137  				m.StartTime = &v1.Time{}
  2138  			}
  2139  			if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2140  				return err
  2141  			}
  2142  			iNdEx = postIndex
  2143  		default:
  2144  			iNdEx = preIndex
  2145  			skippy, err := skipGenerated(dAtA[iNdEx:])
  2146  			if err != nil {
  2147  				return err
  2148  			}
  2149  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2150  				return ErrInvalidLengthGenerated
  2151  			}
  2152  			if (iNdEx + skippy) > l {
  2153  				return io.ErrUnexpectedEOF
  2154  			}
  2155  			iNdEx += skippy
  2156  		}
  2157  	}
  2158  
  2159  	if iNdEx > l {
  2160  		return io.ErrUnexpectedEOF
  2161  	}
  2162  	return nil
  2163  }
  2164  func skipGenerated(dAtA []byte) (n int, err error) {
  2165  	l := len(dAtA)
  2166  	iNdEx := 0
  2167  	depth := 0
  2168  	for iNdEx < l {
  2169  		var wire uint64
  2170  		for shift := uint(0); ; shift += 7 {
  2171  			if shift >= 64 {
  2172  				return 0, ErrIntOverflowGenerated
  2173  			}
  2174  			if iNdEx >= l {
  2175  				return 0, io.ErrUnexpectedEOF
  2176  			}
  2177  			b := dAtA[iNdEx]
  2178  			iNdEx++
  2179  			wire |= (uint64(b) & 0x7F) << shift
  2180  			if b < 0x80 {
  2181  				break
  2182  			}
  2183  		}
  2184  		wireType := int(wire & 0x7)
  2185  		switch wireType {
  2186  		case 0:
  2187  			for shift := uint(0); ; shift += 7 {
  2188  				if shift >= 64 {
  2189  					return 0, ErrIntOverflowGenerated
  2190  				}
  2191  				if iNdEx >= l {
  2192  					return 0, io.ErrUnexpectedEOF
  2193  				}
  2194  				iNdEx++
  2195  				if dAtA[iNdEx-1] < 0x80 {
  2196  					break
  2197  				}
  2198  			}
  2199  		case 1:
  2200  			iNdEx += 8
  2201  		case 2:
  2202  			var length int
  2203  			for shift := uint(0); ; shift += 7 {
  2204  				if shift >= 64 {
  2205  					return 0, ErrIntOverflowGenerated
  2206  				}
  2207  				if iNdEx >= l {
  2208  					return 0, io.ErrUnexpectedEOF
  2209  				}
  2210  				b := dAtA[iNdEx]
  2211  				iNdEx++
  2212  				length |= (int(b) & 0x7F) << shift
  2213  				if b < 0x80 {
  2214  					break
  2215  				}
  2216  			}
  2217  			if length < 0 {
  2218  				return 0, ErrInvalidLengthGenerated
  2219  			}
  2220  			iNdEx += length
  2221  		case 3:
  2222  			depth++
  2223  		case 4:
  2224  			if depth == 0 {
  2225  				return 0, ErrUnexpectedEndOfGroupGenerated
  2226  			}
  2227  			depth--
  2228  		case 5:
  2229  			iNdEx += 4
  2230  		default:
  2231  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2232  		}
  2233  		if iNdEx < 0 {
  2234  			return 0, ErrInvalidLengthGenerated
  2235  		}
  2236  		if depth == 0 {
  2237  			return iNdEx, nil
  2238  		}
  2239  	}
  2240  	return 0, io.ErrUnexpectedEOF
  2241  }
  2242  
  2243  var (
  2244  	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
  2245  	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
  2246  	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
  2247  )