github.com/spotmaxtech/k8s-apimachinery-v0260@v0.0.1/pkg/apis/meta/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/meta/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 runtime "github.com/spotmaxtech/k8s-apimachinery-v0260/pkg/runtime" 30 31 math "math" 32 math_bits "math/bits" 33 reflect "reflect" 34 strings "strings" 35 time "time" 36 37 k8s_io_apimachinery_pkg_types "github.com/spotmaxtech/k8s-apimachinery-v0260/pkg/types" 38 ) 39 40 // Reference imports to suppress errors if they are not otherwise used. 41 var _ = proto.Marshal 42 var _ = fmt.Errorf 43 var _ = math.Inf 44 var _ = time.Kitchen 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. 50 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 51 52 func (m *APIGroup) Reset() { *m = APIGroup{} } 53 func (*APIGroup) ProtoMessage() {} 54 func (*APIGroup) Descriptor() ([]byte, []int) { 55 return fileDescriptor_cf52fa777ced5367, []int{0} 56 } 57 func (m *APIGroup) XXX_Unmarshal(b []byte) error { 58 return m.Unmarshal(b) 59 } 60 func (m *APIGroup) 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 } 68 func (m *APIGroup) XXX_Merge(src proto.Message) { 69 xxx_messageInfo_APIGroup.Merge(m, src) 70 } 71 func (m *APIGroup) XXX_Size() int { 72 return m.Size() 73 } 74 func (m *APIGroup) XXX_DiscardUnknown() { 75 xxx_messageInfo_APIGroup.DiscardUnknown(m) 76 } 77 78 var xxx_messageInfo_APIGroup proto.InternalMessageInfo 79 80 func (m *APIGroupList) Reset() { *m = APIGroupList{} } 81 func (*APIGroupList) ProtoMessage() {} 82 func (*APIGroupList) Descriptor() ([]byte, []int) { 83 return fileDescriptor_cf52fa777ced5367, []int{1} 84 } 85 func (m *APIGroupList) XXX_Unmarshal(b []byte) error { 86 return m.Unmarshal(b) 87 } 88 func (m *APIGroupList) 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 } 96 func (m *APIGroupList) XXX_Merge(src proto.Message) { 97 xxx_messageInfo_APIGroupList.Merge(m, src) 98 } 99 func (m *APIGroupList) XXX_Size() int { 100 return m.Size() 101 } 102 func (m *APIGroupList) XXX_DiscardUnknown() { 103 xxx_messageInfo_APIGroupList.DiscardUnknown(m) 104 } 105 106 var xxx_messageInfo_APIGroupList proto.InternalMessageInfo 107 108 func (m *APIResource) Reset() { *m = APIResource{} } 109 func (*APIResource) ProtoMessage() {} 110 func (*APIResource) Descriptor() ([]byte, []int) { 111 return fileDescriptor_cf52fa777ced5367, []int{2} 112 } 113 func (m *APIResource) XXX_Unmarshal(b []byte) error { 114 return m.Unmarshal(b) 115 } 116 func (m *APIResource) 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 } 124 func (m *APIResource) XXX_Merge(src proto.Message) { 125 xxx_messageInfo_APIResource.Merge(m, src) 126 } 127 func (m *APIResource) XXX_Size() int { 128 return m.Size() 129 } 130 func (m *APIResource) XXX_DiscardUnknown() { 131 xxx_messageInfo_APIResource.DiscardUnknown(m) 132 } 133 134 var xxx_messageInfo_APIResource proto.InternalMessageInfo 135 136 func (m *APIResourceList) Reset() { *m = APIResourceList{} } 137 func (*APIResourceList) ProtoMessage() {} 138 func (*APIResourceList) Descriptor() ([]byte, []int) { 139 return fileDescriptor_cf52fa777ced5367, []int{3} 140 } 141 func (m *APIResourceList) XXX_Unmarshal(b []byte) error { 142 return m.Unmarshal(b) 143 } 144 func (m *APIResourceList) 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 } 152 func (m *APIResourceList) XXX_Merge(src proto.Message) { 153 xxx_messageInfo_APIResourceList.Merge(m, src) 154 } 155 func (m *APIResourceList) XXX_Size() int { 156 return m.Size() 157 } 158 func (m *APIResourceList) XXX_DiscardUnknown() { 159 xxx_messageInfo_APIResourceList.DiscardUnknown(m) 160 } 161 162 var xxx_messageInfo_APIResourceList proto.InternalMessageInfo 163 164 func (m *APIVersions) Reset() { *m = APIVersions{} } 165 func (*APIVersions) ProtoMessage() {} 166 func (*APIVersions) Descriptor() ([]byte, []int) { 167 return fileDescriptor_cf52fa777ced5367, []int{4} 168 } 169 func (m *APIVersions) XXX_Unmarshal(b []byte) error { 170 return m.Unmarshal(b) 171 } 172 func (m *APIVersions) 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 } 180 func (m *APIVersions) XXX_Merge(src proto.Message) { 181 xxx_messageInfo_APIVersions.Merge(m, src) 182 } 183 func (m *APIVersions) XXX_Size() int { 184 return m.Size() 185 } 186 func (m *APIVersions) XXX_DiscardUnknown() { 187 xxx_messageInfo_APIVersions.DiscardUnknown(m) 188 } 189 190 var xxx_messageInfo_APIVersions proto.InternalMessageInfo 191 192 func (m *ApplyOptions) Reset() { *m = ApplyOptions{} } 193 func (*ApplyOptions) ProtoMessage() {} 194 func (*ApplyOptions) Descriptor() ([]byte, []int) { 195 return fileDescriptor_cf52fa777ced5367, []int{5} 196 } 197 func (m *ApplyOptions) XXX_Unmarshal(b []byte) error { 198 return m.Unmarshal(b) 199 } 200 func (m *ApplyOptions) 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 } 208 func (m *ApplyOptions) XXX_Merge(src proto.Message) { 209 xxx_messageInfo_ApplyOptions.Merge(m, src) 210 } 211 func (m *ApplyOptions) XXX_Size() int { 212 return m.Size() 213 } 214 func (m *ApplyOptions) XXX_DiscardUnknown() { 215 xxx_messageInfo_ApplyOptions.DiscardUnknown(m) 216 } 217 218 var xxx_messageInfo_ApplyOptions proto.InternalMessageInfo 219 220 func (m *Condition) Reset() { *m = Condition{} } 221 func (*Condition) ProtoMessage() {} 222 func (*Condition) Descriptor() ([]byte, []int) { 223 return fileDescriptor_cf52fa777ced5367, []int{6} 224 } 225 func (m *Condition) XXX_Unmarshal(b []byte) error { 226 return m.Unmarshal(b) 227 } 228 func (m *Condition) 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 } 236 func (m *Condition) XXX_Merge(src proto.Message) { 237 xxx_messageInfo_Condition.Merge(m, src) 238 } 239 func (m *Condition) XXX_Size() int { 240 return m.Size() 241 } 242 func (m *Condition) XXX_DiscardUnknown() { 243 xxx_messageInfo_Condition.DiscardUnknown(m) 244 } 245 246 var xxx_messageInfo_Condition proto.InternalMessageInfo 247 248 func (m *CreateOptions) Reset() { *m = CreateOptions{} } 249 func (*CreateOptions) ProtoMessage() {} 250 func (*CreateOptions) Descriptor() ([]byte, []int) { 251 return fileDescriptor_cf52fa777ced5367, []int{7} 252 } 253 func (m *CreateOptions) XXX_Unmarshal(b []byte) error { 254 return m.Unmarshal(b) 255 } 256 func (m *CreateOptions) 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 } 264 func (m *CreateOptions) XXX_Merge(src proto.Message) { 265 xxx_messageInfo_CreateOptions.Merge(m, src) 266 } 267 func (m *CreateOptions) XXX_Size() int { 268 return m.Size() 269 } 270 func (m *CreateOptions) XXX_DiscardUnknown() { 271 xxx_messageInfo_CreateOptions.DiscardUnknown(m) 272 } 273 274 var xxx_messageInfo_CreateOptions proto.InternalMessageInfo 275 276 func (m *DeleteOptions) Reset() { *m = DeleteOptions{} } 277 func (*DeleteOptions) ProtoMessage() {} 278 func (*DeleteOptions) Descriptor() ([]byte, []int) { 279 return fileDescriptor_cf52fa777ced5367, []int{8} 280 } 281 func (m *DeleteOptions) XXX_Unmarshal(b []byte) error { 282 return m.Unmarshal(b) 283 } 284 func (m *DeleteOptions) 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 } 292 func (m *DeleteOptions) XXX_Merge(src proto.Message) { 293 xxx_messageInfo_DeleteOptions.Merge(m, src) 294 } 295 func (m *DeleteOptions) XXX_Size() int { 296 return m.Size() 297 } 298 func (m *DeleteOptions) XXX_DiscardUnknown() { 299 xxx_messageInfo_DeleteOptions.DiscardUnknown(m) 300 } 301 302 var xxx_messageInfo_DeleteOptions proto.InternalMessageInfo 303 304 func (m *Duration) Reset() { *m = Duration{} } 305 func (*Duration) ProtoMessage() {} 306 func (*Duration) Descriptor() ([]byte, []int) { 307 return fileDescriptor_cf52fa777ced5367, []int{9} 308 } 309 func (m *Duration) XXX_Unmarshal(b []byte) error { 310 return m.Unmarshal(b) 311 } 312 func (m *Duration) 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 } 320 func (m *Duration) XXX_Merge(src proto.Message) { 321 xxx_messageInfo_Duration.Merge(m, src) 322 } 323 func (m *Duration) XXX_Size() int { 324 return m.Size() 325 } 326 func (m *Duration) XXX_DiscardUnknown() { 327 xxx_messageInfo_Duration.DiscardUnknown(m) 328 } 329 330 var xxx_messageInfo_Duration proto.InternalMessageInfo 331 332 func (m *FieldsV1) Reset() { *m = FieldsV1{} } 333 func (*FieldsV1) ProtoMessage() {} 334 func (*FieldsV1) Descriptor() ([]byte, []int) { 335 return fileDescriptor_cf52fa777ced5367, []int{10} 336 } 337 func (m *FieldsV1) XXX_Unmarshal(b []byte) error { 338 return m.Unmarshal(b) 339 } 340 func (m *FieldsV1) 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 } 348 func (m *FieldsV1) XXX_Merge(src proto.Message) { 349 xxx_messageInfo_FieldsV1.Merge(m, src) 350 } 351 func (m *FieldsV1) XXX_Size() int { 352 return m.Size() 353 } 354 func (m *FieldsV1) XXX_DiscardUnknown() { 355 xxx_messageInfo_FieldsV1.DiscardUnknown(m) 356 } 357 358 var xxx_messageInfo_FieldsV1 proto.InternalMessageInfo 359 360 func (m *GetOptions) Reset() { *m = GetOptions{} } 361 func (*GetOptions) ProtoMessage() {} 362 func (*GetOptions) Descriptor() ([]byte, []int) { 363 return fileDescriptor_cf52fa777ced5367, []int{11} 364 } 365 func (m *GetOptions) XXX_Unmarshal(b []byte) error { 366 return m.Unmarshal(b) 367 } 368 func (m *GetOptions) 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 } 376 func (m *GetOptions) XXX_Merge(src proto.Message) { 377 xxx_messageInfo_GetOptions.Merge(m, src) 378 } 379 func (m *GetOptions) XXX_Size() int { 380 return m.Size() 381 } 382 func (m *GetOptions) XXX_DiscardUnknown() { 383 xxx_messageInfo_GetOptions.DiscardUnknown(m) 384 } 385 386 var xxx_messageInfo_GetOptions proto.InternalMessageInfo 387 388 func (m *GroupKind) Reset() { *m = GroupKind{} } 389 func (*GroupKind) ProtoMessage() {} 390 func (*GroupKind) Descriptor() ([]byte, []int) { 391 return fileDescriptor_cf52fa777ced5367, []int{12} 392 } 393 func (m *GroupKind) XXX_Unmarshal(b []byte) error { 394 return m.Unmarshal(b) 395 } 396 func (m *GroupKind) 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 } 404 func (m *GroupKind) XXX_Merge(src proto.Message) { 405 xxx_messageInfo_GroupKind.Merge(m, src) 406 } 407 func (m *GroupKind) XXX_Size() int { 408 return m.Size() 409 } 410 func (m *GroupKind) XXX_DiscardUnknown() { 411 xxx_messageInfo_GroupKind.DiscardUnknown(m) 412 } 413 414 var xxx_messageInfo_GroupKind proto.InternalMessageInfo 415 416 func (m *GroupResource) Reset() { *m = GroupResource{} } 417 func (*GroupResource) ProtoMessage() {} 418 func (*GroupResource) Descriptor() ([]byte, []int) { 419 return fileDescriptor_cf52fa777ced5367, []int{13} 420 } 421 func (m *GroupResource) XXX_Unmarshal(b []byte) error { 422 return m.Unmarshal(b) 423 } 424 func (m *GroupResource) 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 } 432 func (m *GroupResource) XXX_Merge(src proto.Message) { 433 xxx_messageInfo_GroupResource.Merge(m, src) 434 } 435 func (m *GroupResource) XXX_Size() int { 436 return m.Size() 437 } 438 func (m *GroupResource) XXX_DiscardUnknown() { 439 xxx_messageInfo_GroupResource.DiscardUnknown(m) 440 } 441 442 var xxx_messageInfo_GroupResource proto.InternalMessageInfo 443 444 func (m *GroupVersion) Reset() { *m = GroupVersion{} } 445 func (*GroupVersion) ProtoMessage() {} 446 func (*GroupVersion) Descriptor() ([]byte, []int) { 447 return fileDescriptor_cf52fa777ced5367, []int{14} 448 } 449 func (m *GroupVersion) XXX_Unmarshal(b []byte) error { 450 return m.Unmarshal(b) 451 } 452 func (m *GroupVersion) 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 } 460 func (m *GroupVersion) XXX_Merge(src proto.Message) { 461 xxx_messageInfo_GroupVersion.Merge(m, src) 462 } 463 func (m *GroupVersion) XXX_Size() int { 464 return m.Size() 465 } 466 func (m *GroupVersion) XXX_DiscardUnknown() { 467 xxx_messageInfo_GroupVersion.DiscardUnknown(m) 468 } 469 470 var xxx_messageInfo_GroupVersion proto.InternalMessageInfo 471 472 func (m *GroupVersionForDiscovery) Reset() { *m = GroupVersionForDiscovery{} } 473 func (*GroupVersionForDiscovery) ProtoMessage() {} 474 func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int) { 475 return fileDescriptor_cf52fa777ced5367, []int{15} 476 } 477 func (m *GroupVersionForDiscovery) XXX_Unmarshal(b []byte) error { 478 return m.Unmarshal(b) 479 } 480 func (m *GroupVersionForDiscovery) 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 } 488 func (m *GroupVersionForDiscovery) XXX_Merge(src proto.Message) { 489 xxx_messageInfo_GroupVersionForDiscovery.Merge(m, src) 490 } 491 func (m *GroupVersionForDiscovery) XXX_Size() int { 492 return m.Size() 493 } 494 func (m *GroupVersionForDiscovery) XXX_DiscardUnknown() { 495 xxx_messageInfo_GroupVersionForDiscovery.DiscardUnknown(m) 496 } 497 498 var xxx_messageInfo_GroupVersionForDiscovery proto.InternalMessageInfo 499 500 func (m *GroupVersionKind) Reset() { *m = GroupVersionKind{} } 501 func (*GroupVersionKind) ProtoMessage() {} 502 func (*GroupVersionKind) Descriptor() ([]byte, []int) { 503 return fileDescriptor_cf52fa777ced5367, []int{16} 504 } 505 func (m *GroupVersionKind) XXX_Unmarshal(b []byte) error { 506 return m.Unmarshal(b) 507 } 508 func (m *GroupVersionKind) 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 } 516 func (m *GroupVersionKind) XXX_Merge(src proto.Message) { 517 xxx_messageInfo_GroupVersionKind.Merge(m, src) 518 } 519 func (m *GroupVersionKind) XXX_Size() int { 520 return m.Size() 521 } 522 func (m *GroupVersionKind) XXX_DiscardUnknown() { 523 xxx_messageInfo_GroupVersionKind.DiscardUnknown(m) 524 } 525 526 var xxx_messageInfo_GroupVersionKind proto.InternalMessageInfo 527 528 func (m *GroupVersionResource) Reset() { *m = GroupVersionResource{} } 529 func (*GroupVersionResource) ProtoMessage() {} 530 func (*GroupVersionResource) Descriptor() ([]byte, []int) { 531 return fileDescriptor_cf52fa777ced5367, []int{17} 532 } 533 func (m *GroupVersionResource) XXX_Unmarshal(b []byte) error { 534 return m.Unmarshal(b) 535 } 536 func (m *GroupVersionResource) 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 } 544 func (m *GroupVersionResource) XXX_Merge(src proto.Message) { 545 xxx_messageInfo_GroupVersionResource.Merge(m, src) 546 } 547 func (m *GroupVersionResource) XXX_Size() int { 548 return m.Size() 549 } 550 func (m *GroupVersionResource) XXX_DiscardUnknown() { 551 xxx_messageInfo_GroupVersionResource.DiscardUnknown(m) 552 } 553 554 var xxx_messageInfo_GroupVersionResource proto.InternalMessageInfo 555 556 func (m *LabelSelector) Reset() { *m = LabelSelector{} } 557 func (*LabelSelector) ProtoMessage() {} 558 func (*LabelSelector) Descriptor() ([]byte, []int) { 559 return fileDescriptor_cf52fa777ced5367, []int{18} 560 } 561 func (m *LabelSelector) XXX_Unmarshal(b []byte) error { 562 return m.Unmarshal(b) 563 } 564 func (m *LabelSelector) 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 } 572 func (m *LabelSelector) XXX_Merge(src proto.Message) { 573 xxx_messageInfo_LabelSelector.Merge(m, src) 574 } 575 func (m *LabelSelector) XXX_Size() int { 576 return m.Size() 577 } 578 func (m *LabelSelector) XXX_DiscardUnknown() { 579 xxx_messageInfo_LabelSelector.DiscardUnknown(m) 580 } 581 582 var xxx_messageInfo_LabelSelector proto.InternalMessageInfo 583 584 func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } 585 func (*LabelSelectorRequirement) ProtoMessage() {} 586 func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { 587 return fileDescriptor_cf52fa777ced5367, []int{19} 588 } 589 func (m *LabelSelectorRequirement) XXX_Unmarshal(b []byte) error { 590 return m.Unmarshal(b) 591 } 592 func (m *LabelSelectorRequirement) 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 } 600 func (m *LabelSelectorRequirement) XXX_Merge(src proto.Message) { 601 xxx_messageInfo_LabelSelectorRequirement.Merge(m, src) 602 } 603 func (m *LabelSelectorRequirement) XXX_Size() int { 604 return m.Size() 605 } 606 func (m *LabelSelectorRequirement) XXX_DiscardUnknown() { 607 xxx_messageInfo_LabelSelectorRequirement.DiscardUnknown(m) 608 } 609 610 var xxx_messageInfo_LabelSelectorRequirement proto.InternalMessageInfo 611 612 func (m *List) Reset() { *m = List{} } 613 func (*List) ProtoMessage() {} 614 func (*List) Descriptor() ([]byte, []int) { 615 return fileDescriptor_cf52fa777ced5367, []int{20} 616 } 617 func (m *List) XXX_Unmarshal(b []byte) error { 618 return m.Unmarshal(b) 619 } 620 func (m *List) 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 } 628 func (m *List) XXX_Merge(src proto.Message) { 629 xxx_messageInfo_List.Merge(m, src) 630 } 631 func (m *List) XXX_Size() int { 632 return m.Size() 633 } 634 func (m *List) XXX_DiscardUnknown() { 635 xxx_messageInfo_List.DiscardUnknown(m) 636 } 637 638 var xxx_messageInfo_List proto.InternalMessageInfo 639 640 func (m *ListMeta) Reset() { *m = ListMeta{} } 641 func (*ListMeta) ProtoMessage() {} 642 func (*ListMeta) Descriptor() ([]byte, []int) { 643 return fileDescriptor_cf52fa777ced5367, []int{21} 644 } 645 func (m *ListMeta) XXX_Unmarshal(b []byte) error { 646 return m.Unmarshal(b) 647 } 648 func (m *ListMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 649 b = b[:cap(b)] 650 n, err := m.MarshalToSizedBuffer(b) 651 if err != nil { 652 return nil, err 653 } 654 return b[:n], nil 655 } 656 func (m *ListMeta) XXX_Merge(src proto.Message) { 657 xxx_messageInfo_ListMeta.Merge(m, src) 658 } 659 func (m *ListMeta) XXX_Size() int { 660 return m.Size() 661 } 662 func (m *ListMeta) XXX_DiscardUnknown() { 663 xxx_messageInfo_ListMeta.DiscardUnknown(m) 664 } 665 666 var xxx_messageInfo_ListMeta proto.InternalMessageInfo 667 668 func (m *ListOptions) Reset() { *m = ListOptions{} } 669 func (*ListOptions) ProtoMessage() {} 670 func (*ListOptions) Descriptor() ([]byte, []int) { 671 return fileDescriptor_cf52fa777ced5367, []int{22} 672 } 673 func (m *ListOptions) XXX_Unmarshal(b []byte) error { 674 return m.Unmarshal(b) 675 } 676 func (m *ListOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 677 b = b[:cap(b)] 678 n, err := m.MarshalToSizedBuffer(b) 679 if err != nil { 680 return nil, err 681 } 682 return b[:n], nil 683 } 684 func (m *ListOptions) XXX_Merge(src proto.Message) { 685 xxx_messageInfo_ListOptions.Merge(m, src) 686 } 687 func (m *ListOptions) XXX_Size() int { 688 return m.Size() 689 } 690 func (m *ListOptions) XXX_DiscardUnknown() { 691 xxx_messageInfo_ListOptions.DiscardUnknown(m) 692 } 693 694 var xxx_messageInfo_ListOptions proto.InternalMessageInfo 695 696 func (m *ManagedFieldsEntry) Reset() { *m = ManagedFieldsEntry{} } 697 func (*ManagedFieldsEntry) ProtoMessage() {} 698 func (*ManagedFieldsEntry) Descriptor() ([]byte, []int) { 699 return fileDescriptor_cf52fa777ced5367, []int{23} 700 } 701 func (m *ManagedFieldsEntry) XXX_Unmarshal(b []byte) error { 702 return m.Unmarshal(b) 703 } 704 func (m *ManagedFieldsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 705 b = b[:cap(b)] 706 n, err := m.MarshalToSizedBuffer(b) 707 if err != nil { 708 return nil, err 709 } 710 return b[:n], nil 711 } 712 func (m *ManagedFieldsEntry) XXX_Merge(src proto.Message) { 713 xxx_messageInfo_ManagedFieldsEntry.Merge(m, src) 714 } 715 func (m *ManagedFieldsEntry) XXX_Size() int { 716 return m.Size() 717 } 718 func (m *ManagedFieldsEntry) XXX_DiscardUnknown() { 719 xxx_messageInfo_ManagedFieldsEntry.DiscardUnknown(m) 720 } 721 722 var xxx_messageInfo_ManagedFieldsEntry proto.InternalMessageInfo 723 724 func (m *MicroTime) Reset() { *m = MicroTime{} } 725 func (*MicroTime) ProtoMessage() {} 726 func (*MicroTime) Descriptor() ([]byte, []int) { 727 return fileDescriptor_cf52fa777ced5367, []int{24} 728 } 729 func (m *MicroTime) XXX_Unmarshal(b []byte) error { 730 return xxx_messageInfo_MicroTime.Unmarshal(m, b) 731 } 732 func (m *MicroTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 733 return xxx_messageInfo_MicroTime.Marshal(b, m, deterministic) 734 } 735 func (m *MicroTime) XXX_Merge(src proto.Message) { 736 xxx_messageInfo_MicroTime.Merge(m, src) 737 } 738 func (m *MicroTime) XXX_Size() int { 739 return xxx_messageInfo_MicroTime.Size(m) 740 } 741 func (m *MicroTime) XXX_DiscardUnknown() { 742 xxx_messageInfo_MicroTime.DiscardUnknown(m) 743 } 744 745 var xxx_messageInfo_MicroTime proto.InternalMessageInfo 746 747 func (m *ObjectMeta) Reset() { *m = ObjectMeta{} } 748 func (*ObjectMeta) ProtoMessage() {} 749 func (*ObjectMeta) Descriptor() ([]byte, []int) { 750 return fileDescriptor_cf52fa777ced5367, []int{25} 751 } 752 func (m *ObjectMeta) XXX_Unmarshal(b []byte) error { 753 return m.Unmarshal(b) 754 } 755 func (m *ObjectMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 756 b = b[:cap(b)] 757 n, err := m.MarshalToSizedBuffer(b) 758 if err != nil { 759 return nil, err 760 } 761 return b[:n], nil 762 } 763 func (m *ObjectMeta) XXX_Merge(src proto.Message) { 764 xxx_messageInfo_ObjectMeta.Merge(m, src) 765 } 766 func (m *ObjectMeta) XXX_Size() int { 767 return m.Size() 768 } 769 func (m *ObjectMeta) XXX_DiscardUnknown() { 770 xxx_messageInfo_ObjectMeta.DiscardUnknown(m) 771 } 772 773 var xxx_messageInfo_ObjectMeta proto.InternalMessageInfo 774 775 func (m *OwnerReference) Reset() { *m = OwnerReference{} } 776 func (*OwnerReference) ProtoMessage() {} 777 func (*OwnerReference) Descriptor() ([]byte, []int) { 778 return fileDescriptor_cf52fa777ced5367, []int{26} 779 } 780 func (m *OwnerReference) XXX_Unmarshal(b []byte) error { 781 return m.Unmarshal(b) 782 } 783 func (m *OwnerReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 784 b = b[:cap(b)] 785 n, err := m.MarshalToSizedBuffer(b) 786 if err != nil { 787 return nil, err 788 } 789 return b[:n], nil 790 } 791 func (m *OwnerReference) XXX_Merge(src proto.Message) { 792 xxx_messageInfo_OwnerReference.Merge(m, src) 793 } 794 func (m *OwnerReference) XXX_Size() int { 795 return m.Size() 796 } 797 func (m *OwnerReference) XXX_DiscardUnknown() { 798 xxx_messageInfo_OwnerReference.DiscardUnknown(m) 799 } 800 801 var xxx_messageInfo_OwnerReference proto.InternalMessageInfo 802 803 func (m *PartialObjectMetadata) Reset() { *m = PartialObjectMetadata{} } 804 func (*PartialObjectMetadata) ProtoMessage() {} 805 func (*PartialObjectMetadata) Descriptor() ([]byte, []int) { 806 return fileDescriptor_cf52fa777ced5367, []int{27} 807 } 808 func (m *PartialObjectMetadata) XXX_Unmarshal(b []byte) error { 809 return m.Unmarshal(b) 810 } 811 func (m *PartialObjectMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 812 b = b[:cap(b)] 813 n, err := m.MarshalToSizedBuffer(b) 814 if err != nil { 815 return nil, err 816 } 817 return b[:n], nil 818 } 819 func (m *PartialObjectMetadata) XXX_Merge(src proto.Message) { 820 xxx_messageInfo_PartialObjectMetadata.Merge(m, src) 821 } 822 func (m *PartialObjectMetadata) XXX_Size() int { 823 return m.Size() 824 } 825 func (m *PartialObjectMetadata) XXX_DiscardUnknown() { 826 xxx_messageInfo_PartialObjectMetadata.DiscardUnknown(m) 827 } 828 829 var xxx_messageInfo_PartialObjectMetadata proto.InternalMessageInfo 830 831 func (m *PartialObjectMetadataList) Reset() { *m = PartialObjectMetadataList{} } 832 func (*PartialObjectMetadataList) ProtoMessage() {} 833 func (*PartialObjectMetadataList) Descriptor() ([]byte, []int) { 834 return fileDescriptor_cf52fa777ced5367, []int{28} 835 } 836 func (m *PartialObjectMetadataList) XXX_Unmarshal(b []byte) error { 837 return m.Unmarshal(b) 838 } 839 func (m *PartialObjectMetadataList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 840 b = b[:cap(b)] 841 n, err := m.MarshalToSizedBuffer(b) 842 if err != nil { 843 return nil, err 844 } 845 return b[:n], nil 846 } 847 func (m *PartialObjectMetadataList) XXX_Merge(src proto.Message) { 848 xxx_messageInfo_PartialObjectMetadataList.Merge(m, src) 849 } 850 func (m *PartialObjectMetadataList) XXX_Size() int { 851 return m.Size() 852 } 853 func (m *PartialObjectMetadataList) XXX_DiscardUnknown() { 854 xxx_messageInfo_PartialObjectMetadataList.DiscardUnknown(m) 855 } 856 857 var xxx_messageInfo_PartialObjectMetadataList proto.InternalMessageInfo 858 859 func (m *Patch) Reset() { *m = Patch{} } 860 func (*Patch) ProtoMessage() {} 861 func (*Patch) Descriptor() ([]byte, []int) { 862 return fileDescriptor_cf52fa777ced5367, []int{29} 863 } 864 func (m *Patch) XXX_Unmarshal(b []byte) error { 865 return m.Unmarshal(b) 866 } 867 func (m *Patch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 868 b = b[:cap(b)] 869 n, err := m.MarshalToSizedBuffer(b) 870 if err != nil { 871 return nil, err 872 } 873 return b[:n], nil 874 } 875 func (m *Patch) XXX_Merge(src proto.Message) { 876 xxx_messageInfo_Patch.Merge(m, src) 877 } 878 func (m *Patch) XXX_Size() int { 879 return m.Size() 880 } 881 func (m *Patch) XXX_DiscardUnknown() { 882 xxx_messageInfo_Patch.DiscardUnknown(m) 883 } 884 885 var xxx_messageInfo_Patch proto.InternalMessageInfo 886 887 func (m *PatchOptions) Reset() { *m = PatchOptions{} } 888 func (*PatchOptions) ProtoMessage() {} 889 func (*PatchOptions) Descriptor() ([]byte, []int) { 890 return fileDescriptor_cf52fa777ced5367, []int{30} 891 } 892 func (m *PatchOptions) XXX_Unmarshal(b []byte) error { 893 return m.Unmarshal(b) 894 } 895 func (m *PatchOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 896 b = b[:cap(b)] 897 n, err := m.MarshalToSizedBuffer(b) 898 if err != nil { 899 return nil, err 900 } 901 return b[:n], nil 902 } 903 func (m *PatchOptions) XXX_Merge(src proto.Message) { 904 xxx_messageInfo_PatchOptions.Merge(m, src) 905 } 906 func (m *PatchOptions) XXX_Size() int { 907 return m.Size() 908 } 909 func (m *PatchOptions) XXX_DiscardUnknown() { 910 xxx_messageInfo_PatchOptions.DiscardUnknown(m) 911 } 912 913 var xxx_messageInfo_PatchOptions proto.InternalMessageInfo 914 915 func (m *Preconditions) Reset() { *m = Preconditions{} } 916 func (*Preconditions) ProtoMessage() {} 917 func (*Preconditions) Descriptor() ([]byte, []int) { 918 return fileDescriptor_cf52fa777ced5367, []int{31} 919 } 920 func (m *Preconditions) XXX_Unmarshal(b []byte) error { 921 return m.Unmarshal(b) 922 } 923 func (m *Preconditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 924 b = b[:cap(b)] 925 n, err := m.MarshalToSizedBuffer(b) 926 if err != nil { 927 return nil, err 928 } 929 return b[:n], nil 930 } 931 func (m *Preconditions) XXX_Merge(src proto.Message) { 932 xxx_messageInfo_Preconditions.Merge(m, src) 933 } 934 func (m *Preconditions) XXX_Size() int { 935 return m.Size() 936 } 937 func (m *Preconditions) XXX_DiscardUnknown() { 938 xxx_messageInfo_Preconditions.DiscardUnknown(m) 939 } 940 941 var xxx_messageInfo_Preconditions proto.InternalMessageInfo 942 943 func (m *RootPaths) Reset() { *m = RootPaths{} } 944 func (*RootPaths) ProtoMessage() {} 945 func (*RootPaths) Descriptor() ([]byte, []int) { 946 return fileDescriptor_cf52fa777ced5367, []int{32} 947 } 948 func (m *RootPaths) XXX_Unmarshal(b []byte) error { 949 return m.Unmarshal(b) 950 } 951 func (m *RootPaths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 952 b = b[:cap(b)] 953 n, err := m.MarshalToSizedBuffer(b) 954 if err != nil { 955 return nil, err 956 } 957 return b[:n], nil 958 } 959 func (m *RootPaths) XXX_Merge(src proto.Message) { 960 xxx_messageInfo_RootPaths.Merge(m, src) 961 } 962 func (m *RootPaths) XXX_Size() int { 963 return m.Size() 964 } 965 func (m *RootPaths) XXX_DiscardUnknown() { 966 xxx_messageInfo_RootPaths.DiscardUnknown(m) 967 } 968 969 var xxx_messageInfo_RootPaths proto.InternalMessageInfo 970 971 func (m *ServerAddressByClientCIDR) Reset() { *m = ServerAddressByClientCIDR{} } 972 func (*ServerAddressByClientCIDR) ProtoMessage() {} 973 func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int) { 974 return fileDescriptor_cf52fa777ced5367, []int{33} 975 } 976 func (m *ServerAddressByClientCIDR) XXX_Unmarshal(b []byte) error { 977 return m.Unmarshal(b) 978 } 979 func (m *ServerAddressByClientCIDR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 980 b = b[:cap(b)] 981 n, err := m.MarshalToSizedBuffer(b) 982 if err != nil { 983 return nil, err 984 } 985 return b[:n], nil 986 } 987 func (m *ServerAddressByClientCIDR) XXX_Merge(src proto.Message) { 988 xxx_messageInfo_ServerAddressByClientCIDR.Merge(m, src) 989 } 990 func (m *ServerAddressByClientCIDR) XXX_Size() int { 991 return m.Size() 992 } 993 func (m *ServerAddressByClientCIDR) XXX_DiscardUnknown() { 994 xxx_messageInfo_ServerAddressByClientCIDR.DiscardUnknown(m) 995 } 996 997 var xxx_messageInfo_ServerAddressByClientCIDR proto.InternalMessageInfo 998 999 func (m *Status) Reset() { *m = Status{} } 1000 func (*Status) ProtoMessage() {} 1001 func (*Status) Descriptor() ([]byte, []int) { 1002 return fileDescriptor_cf52fa777ced5367, []int{34} 1003 } 1004 func (m *Status) XXX_Unmarshal(b []byte) error { 1005 return m.Unmarshal(b) 1006 } 1007 func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1008 b = b[:cap(b)] 1009 n, err := m.MarshalToSizedBuffer(b) 1010 if err != nil { 1011 return nil, err 1012 } 1013 return b[:n], nil 1014 } 1015 func (m *Status) XXX_Merge(src proto.Message) { 1016 xxx_messageInfo_Status.Merge(m, src) 1017 } 1018 func (m *Status) XXX_Size() int { 1019 return m.Size() 1020 } 1021 func (m *Status) XXX_DiscardUnknown() { 1022 xxx_messageInfo_Status.DiscardUnknown(m) 1023 } 1024 1025 var xxx_messageInfo_Status proto.InternalMessageInfo 1026 1027 func (m *StatusCause) Reset() { *m = StatusCause{} } 1028 func (*StatusCause) ProtoMessage() {} 1029 func (*StatusCause) Descriptor() ([]byte, []int) { 1030 return fileDescriptor_cf52fa777ced5367, []int{35} 1031 } 1032 func (m *StatusCause) XXX_Unmarshal(b []byte) error { 1033 return m.Unmarshal(b) 1034 } 1035 func (m *StatusCause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1036 b = b[:cap(b)] 1037 n, err := m.MarshalToSizedBuffer(b) 1038 if err != nil { 1039 return nil, err 1040 } 1041 return b[:n], nil 1042 } 1043 func (m *StatusCause) XXX_Merge(src proto.Message) { 1044 xxx_messageInfo_StatusCause.Merge(m, src) 1045 } 1046 func (m *StatusCause) XXX_Size() int { 1047 return m.Size() 1048 } 1049 func (m *StatusCause) XXX_DiscardUnknown() { 1050 xxx_messageInfo_StatusCause.DiscardUnknown(m) 1051 } 1052 1053 var xxx_messageInfo_StatusCause proto.InternalMessageInfo 1054 1055 func (m *StatusDetails) Reset() { *m = StatusDetails{} } 1056 func (*StatusDetails) ProtoMessage() {} 1057 func (*StatusDetails) Descriptor() ([]byte, []int) { 1058 return fileDescriptor_cf52fa777ced5367, []int{36} 1059 } 1060 func (m *StatusDetails) XXX_Unmarshal(b []byte) error { 1061 return m.Unmarshal(b) 1062 } 1063 func (m *StatusDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1064 b = b[:cap(b)] 1065 n, err := m.MarshalToSizedBuffer(b) 1066 if err != nil { 1067 return nil, err 1068 } 1069 return b[:n], nil 1070 } 1071 func (m *StatusDetails) XXX_Merge(src proto.Message) { 1072 xxx_messageInfo_StatusDetails.Merge(m, src) 1073 } 1074 func (m *StatusDetails) XXX_Size() int { 1075 return m.Size() 1076 } 1077 func (m *StatusDetails) XXX_DiscardUnknown() { 1078 xxx_messageInfo_StatusDetails.DiscardUnknown(m) 1079 } 1080 1081 var xxx_messageInfo_StatusDetails proto.InternalMessageInfo 1082 1083 func (m *TableOptions) Reset() { *m = TableOptions{} } 1084 func (*TableOptions) ProtoMessage() {} 1085 func (*TableOptions) Descriptor() ([]byte, []int) { 1086 return fileDescriptor_cf52fa777ced5367, []int{37} 1087 } 1088 func (m *TableOptions) XXX_Unmarshal(b []byte) error { 1089 return m.Unmarshal(b) 1090 } 1091 func (m *TableOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1092 b = b[:cap(b)] 1093 n, err := m.MarshalToSizedBuffer(b) 1094 if err != nil { 1095 return nil, err 1096 } 1097 return b[:n], nil 1098 } 1099 func (m *TableOptions) XXX_Merge(src proto.Message) { 1100 xxx_messageInfo_TableOptions.Merge(m, src) 1101 } 1102 func (m *TableOptions) XXX_Size() int { 1103 return m.Size() 1104 } 1105 func (m *TableOptions) XXX_DiscardUnknown() { 1106 xxx_messageInfo_TableOptions.DiscardUnknown(m) 1107 } 1108 1109 var xxx_messageInfo_TableOptions proto.InternalMessageInfo 1110 1111 func (m *Time) Reset() { *m = Time{} } 1112 func (*Time) ProtoMessage() {} 1113 func (*Time) Descriptor() ([]byte, []int) { 1114 return fileDescriptor_cf52fa777ced5367, []int{38} 1115 } 1116 func (m *Time) XXX_Unmarshal(b []byte) error { 1117 return xxx_messageInfo_Time.Unmarshal(m, b) 1118 } 1119 func (m *Time) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1120 return xxx_messageInfo_Time.Marshal(b, m, deterministic) 1121 } 1122 func (m *Time) XXX_Merge(src proto.Message) { 1123 xxx_messageInfo_Time.Merge(m, src) 1124 } 1125 func (m *Time) XXX_Size() int { 1126 return xxx_messageInfo_Time.Size(m) 1127 } 1128 func (m *Time) XXX_DiscardUnknown() { 1129 xxx_messageInfo_Time.DiscardUnknown(m) 1130 } 1131 1132 var xxx_messageInfo_Time proto.InternalMessageInfo 1133 1134 func (m *Timestamp) Reset() { *m = Timestamp{} } 1135 func (*Timestamp) ProtoMessage() {} 1136 func (*Timestamp) Descriptor() ([]byte, []int) { 1137 return fileDescriptor_cf52fa777ced5367, []int{39} 1138 } 1139 func (m *Timestamp) XXX_Unmarshal(b []byte) error { 1140 return m.Unmarshal(b) 1141 } 1142 func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1143 b = b[:cap(b)] 1144 n, err := m.MarshalToSizedBuffer(b) 1145 if err != nil { 1146 return nil, err 1147 } 1148 return b[:n], nil 1149 } 1150 func (m *Timestamp) XXX_Merge(src proto.Message) { 1151 xxx_messageInfo_Timestamp.Merge(m, src) 1152 } 1153 func (m *Timestamp) XXX_Size() int { 1154 return m.Size() 1155 } 1156 func (m *Timestamp) XXX_DiscardUnknown() { 1157 xxx_messageInfo_Timestamp.DiscardUnknown(m) 1158 } 1159 1160 var xxx_messageInfo_Timestamp proto.InternalMessageInfo 1161 1162 func (m *TypeMeta) Reset() { *m = TypeMeta{} } 1163 func (*TypeMeta) ProtoMessage() {} 1164 func (*TypeMeta) Descriptor() ([]byte, []int) { 1165 return fileDescriptor_cf52fa777ced5367, []int{40} 1166 } 1167 func (m *TypeMeta) XXX_Unmarshal(b []byte) error { 1168 return m.Unmarshal(b) 1169 } 1170 func (m *TypeMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1171 b = b[:cap(b)] 1172 n, err := m.MarshalToSizedBuffer(b) 1173 if err != nil { 1174 return nil, err 1175 } 1176 return b[:n], nil 1177 } 1178 func (m *TypeMeta) XXX_Merge(src proto.Message) { 1179 xxx_messageInfo_TypeMeta.Merge(m, src) 1180 } 1181 func (m *TypeMeta) XXX_Size() int { 1182 return m.Size() 1183 } 1184 func (m *TypeMeta) XXX_DiscardUnknown() { 1185 xxx_messageInfo_TypeMeta.DiscardUnknown(m) 1186 } 1187 1188 var xxx_messageInfo_TypeMeta proto.InternalMessageInfo 1189 1190 func (m *UpdateOptions) Reset() { *m = UpdateOptions{} } 1191 func (*UpdateOptions) ProtoMessage() {} 1192 func (*UpdateOptions) Descriptor() ([]byte, []int) { 1193 return fileDescriptor_cf52fa777ced5367, []int{41} 1194 } 1195 func (m *UpdateOptions) XXX_Unmarshal(b []byte) error { 1196 return m.Unmarshal(b) 1197 } 1198 func (m *UpdateOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1199 b = b[:cap(b)] 1200 n, err := m.MarshalToSizedBuffer(b) 1201 if err != nil { 1202 return nil, err 1203 } 1204 return b[:n], nil 1205 } 1206 func (m *UpdateOptions) XXX_Merge(src proto.Message) { 1207 xxx_messageInfo_UpdateOptions.Merge(m, src) 1208 } 1209 func (m *UpdateOptions) XXX_Size() int { 1210 return m.Size() 1211 } 1212 func (m *UpdateOptions) XXX_DiscardUnknown() { 1213 xxx_messageInfo_UpdateOptions.DiscardUnknown(m) 1214 } 1215 1216 var xxx_messageInfo_UpdateOptions proto.InternalMessageInfo 1217 1218 func (m *Verbs) Reset() { *m = Verbs{} } 1219 func (*Verbs) ProtoMessage() {} 1220 func (*Verbs) Descriptor() ([]byte, []int) { 1221 return fileDescriptor_cf52fa777ced5367, []int{42} 1222 } 1223 func (m *Verbs) XXX_Unmarshal(b []byte) error { 1224 return m.Unmarshal(b) 1225 } 1226 func (m *Verbs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1227 b = b[:cap(b)] 1228 n, err := m.MarshalToSizedBuffer(b) 1229 if err != nil { 1230 return nil, err 1231 } 1232 return b[:n], nil 1233 } 1234 func (m *Verbs) XXX_Merge(src proto.Message) { 1235 xxx_messageInfo_Verbs.Merge(m, src) 1236 } 1237 func (m *Verbs) XXX_Size() int { 1238 return m.Size() 1239 } 1240 func (m *Verbs) XXX_DiscardUnknown() { 1241 xxx_messageInfo_Verbs.DiscardUnknown(m) 1242 } 1243 1244 var xxx_messageInfo_Verbs proto.InternalMessageInfo 1245 1246 func (m *WatchEvent) Reset() { *m = WatchEvent{} } 1247 func (*WatchEvent) ProtoMessage() {} 1248 func (*WatchEvent) Descriptor() ([]byte, []int) { 1249 return fileDescriptor_cf52fa777ced5367, []int{43} 1250 } 1251 func (m *WatchEvent) XXX_Unmarshal(b []byte) error { 1252 return m.Unmarshal(b) 1253 } 1254 func (m *WatchEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1255 b = b[:cap(b)] 1256 n, err := m.MarshalToSizedBuffer(b) 1257 if err != nil { 1258 return nil, err 1259 } 1260 return b[:n], nil 1261 } 1262 func (m *WatchEvent) XXX_Merge(src proto.Message) { 1263 xxx_messageInfo_WatchEvent.Merge(m, src) 1264 } 1265 func (m *WatchEvent) XXX_Size() int { 1266 return m.Size() 1267 } 1268 func (m *WatchEvent) XXX_DiscardUnknown() { 1269 xxx_messageInfo_WatchEvent.DiscardUnknown(m) 1270 } 1271 1272 var xxx_messageInfo_WatchEvent proto.InternalMessageInfo 1273 1274 func init() { 1275 proto.RegisterType((*APIGroup)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup") 1276 proto.RegisterType((*APIGroupList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList") 1277 proto.RegisterType((*APIResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIResource") 1278 proto.RegisterType((*APIResourceList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList") 1279 proto.RegisterType((*APIVersions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions") 1280 proto.RegisterType((*ApplyOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions") 1281 proto.RegisterType((*Condition)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Condition") 1282 proto.RegisterType((*CreateOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions") 1283 proto.RegisterType((*DeleteOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions") 1284 proto.RegisterType((*Duration)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Duration") 1285 proto.RegisterType((*FieldsV1)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1") 1286 proto.RegisterType((*GetOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions") 1287 proto.RegisterType((*GroupKind)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind") 1288 proto.RegisterType((*GroupResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource") 1289 proto.RegisterType((*GroupVersion)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion") 1290 proto.RegisterType((*GroupVersionForDiscovery)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery") 1291 proto.RegisterType((*GroupVersionKind)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind") 1292 proto.RegisterType((*GroupVersionResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource") 1293 proto.RegisterType((*LabelSelector)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector") 1294 proto.RegisterMapType((map[string]string)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector.MatchLabelsEntry") 1295 proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement") 1296 proto.RegisterType((*List)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.List") 1297 proto.RegisterType((*ListMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta") 1298 proto.RegisterType((*ListOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions") 1299 proto.RegisterType((*ManagedFieldsEntry)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry") 1300 proto.RegisterType((*MicroTime)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime") 1301 proto.RegisterType((*ObjectMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta") 1302 proto.RegisterMapType((map[string]string)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.AnnotationsEntry") 1303 proto.RegisterMapType((map[string]string)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.LabelsEntry") 1304 proto.RegisterType((*OwnerReference)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference") 1305 proto.RegisterType((*PartialObjectMetadata)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata") 1306 proto.RegisterType((*PartialObjectMetadataList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList") 1307 proto.RegisterType((*Patch)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Patch") 1308 proto.RegisterType((*PatchOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.PatchOptions") 1309 proto.RegisterType((*Preconditions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions") 1310 proto.RegisterType((*RootPaths)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths") 1311 proto.RegisterType((*ServerAddressByClientCIDR)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR") 1312 proto.RegisterType((*Status)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Status") 1313 proto.RegisterType((*StatusCause)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause") 1314 proto.RegisterType((*StatusDetails)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails") 1315 proto.RegisterType((*TableOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.TableOptions") 1316 proto.RegisterType((*Time)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Time") 1317 proto.RegisterType((*Timestamp)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Timestamp") 1318 proto.RegisterType((*TypeMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta") 1319 proto.RegisterType((*UpdateOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.UpdateOptions") 1320 proto.RegisterType((*Verbs)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Verbs") 1321 proto.RegisterType((*WatchEvent)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.WatchEvent") 1322 } 1323 1324 func init() { 1325 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto", fileDescriptor_cf52fa777ced5367) 1326 } 1327 1328 var fileDescriptor_cf52fa777ced5367 = []byte{ 1329 // 2842 bytes of a gzipped FileDescriptorProto 1330 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x1a, 0x4b, 0x6f, 0x24, 0x47, 1331 0xd9, 0x3d, 0x0f, 0x7b, 0xe6, 0x9b, 0x19, 0x3f, 0x6a, 0xbd, 0x30, 0x6b, 0x84, 0xc7, 0xe9, 0x44, 1332 0xd1, 0x06, 0x92, 0x71, 0x76, 0x09, 0xd1, 0x66, 0x43, 0x02, 0x1e, 0xcf, 0x7a, 0xe3, 0x64, 0x1d, 1333 0x5b, 0xe5, 0xdd, 0x05, 0x42, 0x84, 0xd2, 0x9e, 0x2e, 0x8f, 0x1b, 0xf7, 0x74, 0x4f, 0xaa, 0x7a, 1334 0xbc, 0x19, 0x38, 0x90, 0x03, 0x08, 0x90, 0x50, 0x14, 0x6e, 0x9c, 0x50, 0x22, 0xf8, 0x01, 0x88, 1335 0x0b, 0xdc, 0x41, 0x22, 0xc7, 0x20, 0x2e, 0x91, 0x40, 0xa3, 0xc4, 0x1c, 0x38, 0x22, 0xae, 0xbe, 1336 0x80, 0xea, 0xd1, 0xdd, 0xd5, 0xf3, 0x58, 0xf7, 0x64, 0x97, 0x88, 0xdb, 0xf4, 0xf7, 0xae, 0xaa, 1337 0xaf, 0xbe, 0x47, 0x7d, 0x03, 0x3b, 0xc7, 0xd7, 0x58, 0xdd, 0xf1, 0xd7, 0x8f, 0x7b, 0x07, 0x84, 1338 0x7a, 0x24, 0x20, 0x6c, 0xfd, 0x84, 0x78, 0xb6, 0x4f, 0xd7, 0x15, 0xc2, 0xea, 0x3a, 0x1d, 0xab, 1339 0x75, 0xe4, 0x78, 0x84, 0xf6, 0xd7, 0xbb, 0xc7, 0x6d, 0x0e, 0x60, 0xeb, 0x1d, 0x12, 0x58, 0xeb, 1340 0x27, 0x57, 0xd6, 0xdb, 0xc4, 0x23, 0xd4, 0x0a, 0x88, 0x5d, 0xef, 0x52, 0x3f, 0xf0, 0xd1, 0x63, 1341 0x92, 0xab, 0xae, 0x73, 0xd5, 0xbb, 0xc7, 0x6d, 0x0e, 0x60, 0x75, 0xce, 0x55, 0x3f, 0xb9, 0xb2, 1342 0xf2, 0x54, 0xdb, 0x09, 0x8e, 0x7a, 0x07, 0xf5, 0x96, 0xdf, 0x59, 0x6f, 0xfb, 0x6d, 0x7f, 0x5d, 1343 0x30, 0x1f, 0xf4, 0x0e, 0xc5, 0x97, 0xf8, 0x10, 0xbf, 0xa4, 0xd0, 0x95, 0x89, 0xa6, 0xd0, 0x9e, 1344 0x17, 0x38, 0x1d, 0x32, 0x6c, 0xc5, 0xca, 0xb3, 0xe7, 0x31, 0xb0, 0xd6, 0x11, 0xe9, 0x58, 0xc3, 1345 0x7c, 0xe6, 0x9f, 0xb3, 0x50, 0xd8, 0xd8, 0xdb, 0xbe, 0x49, 0xfd, 0x5e, 0x17, 0xad, 0x41, 0xce, 1346 0xb3, 0x3a, 0xa4, 0x6a, 0xac, 0x19, 0x97, 0x8b, 0x8d, 0xf2, 0x07, 0x83, 0xda, 0xcc, 0xe9, 0xa0, 1347 0x96, 0x7b, 0xd5, 0xea, 0x10, 0x2c, 0x30, 0xc8, 0x85, 0xc2, 0x09, 0xa1, 0xcc, 0xf1, 0x3d, 0x56, 1348 0xcd, 0xac, 0x65, 0x2f, 0x97, 0xae, 0xbe, 0x58, 0x4f, 0xb3, 0xfe, 0xba, 0x50, 0x70, 0x57, 0xb2, 1349 0x6e, 0xf9, 0xb4, 0xe9, 0xb0, 0x96, 0x7f, 0x42, 0x68, 0xbf, 0xb1, 0xa8, 0xb4, 0x14, 0x14, 0x92, 1350 0xe1, 0x48, 0x03, 0xfa, 0x91, 0x01, 0x8b, 0x5d, 0x4a, 0x0e, 0x09, 0xa5, 0xc4, 0x56, 0xf8, 0x6a, 1351 0x76, 0xcd, 0x78, 0x08, 0x6a, 0xab, 0x4a, 0xed, 0xe2, 0xde, 0x90, 0x7c, 0x3c, 0xa2, 0x11, 0xfd, 1352 0xda, 0x80, 0x15, 0x46, 0xe8, 0x09, 0xa1, 0x1b, 0xb6, 0x4d, 0x09, 0x63, 0x8d, 0xfe, 0xa6, 0xeb, 1353 0x10, 0x2f, 0xd8, 0xdc, 0x6e, 0x62, 0x56, 0xcd, 0x89, 0x7d, 0xf8, 0x7a, 0x3a, 0x83, 0xf6, 0x27, 1354 0xc9, 0x69, 0x98, 0xca, 0xa2, 0x95, 0x89, 0x24, 0x0c, 0xdf, 0xc7, 0x0c, 0xf3, 0x10, 0xca, 0xe1, 1355 0x41, 0xde, 0x72, 0x58, 0x80, 0xee, 0xc2, 0x6c, 0x9b, 0x7f, 0xb0, 0xaa, 0x21, 0x0c, 0xac, 0xa7, 1356 0x33, 0x30, 0x94, 0xd1, 0x98, 0x57, 0xf6, 0xcc, 0x8a, 0x4f, 0x86, 0x95, 0x34, 0xf3, 0x67, 0x39, 1357 0x28, 0x6d, 0xec, 0x6d, 0x63, 0xc2, 0xfc, 0x1e, 0x6d, 0x91, 0x14, 0x4e, 0x73, 0x0d, 0xca, 0xcc, 1358 0xf1, 0xda, 0x3d, 0xd7, 0xa2, 0x1c, 0x5a, 0x9d, 0x15, 0x94, 0xcb, 0x8a, 0xb2, 0xbc, 0xaf, 0xe1, 1359 0x70, 0x82, 0x12, 0x5d, 0x05, 0xe0, 0x12, 0x58, 0xd7, 0x6a, 0x11, 0xbb, 0x9a, 0x59, 0x33, 0x2e, 1360 0x17, 0x1a, 0x48, 0xf1, 0xc1, 0xab, 0x11, 0x06, 0x6b, 0x54, 0xe8, 0x51, 0xc8, 0x0b, 0x4b, 0xab, 1361 0x05, 0xa1, 0xa6, 0xa2, 0xc8, 0xf3, 0x62, 0x19, 0x58, 0xe2, 0xd0, 0x13, 0x30, 0xa7, 0xbc, 0xac, 1362 0x5a, 0x14, 0x64, 0x0b, 0x8a, 0x6c, 0x2e, 0x74, 0x83, 0x10, 0xcf, 0xd7, 0x77, 0xec, 0x78, 0xb6, 1363 0xf0, 0x3b, 0x6d, 0x7d, 0xaf, 0x38, 0x9e, 0x8d, 0x05, 0x06, 0xdd, 0x82, 0xfc, 0x09, 0xa1, 0x07, 1364 0xdc, 0x13, 0xb8, 0x6b, 0x7e, 0x39, 0xdd, 0x46, 0xdf, 0xe5, 0x2c, 0x8d, 0x22, 0x37, 0x4d, 0xfc, 1365 0xc4, 0x52, 0x08, 0xaa, 0x03, 0xb0, 0x23, 0x9f, 0x06, 0x62, 0x79, 0xd5, 0xfc, 0x5a, 0xf6, 0x72, 1366 0xb1, 0x31, 0xcf, 0xd7, 0xbb, 0x1f, 0x41, 0xb1, 0x46, 0xc1, 0xe9, 0x5b, 0x56, 0x40, 0xda, 0x3e, 1367 0x75, 0x08, 0xab, 0xce, 0xc5, 0xf4, 0x9b, 0x11, 0x14, 0x6b, 0x14, 0xe8, 0x65, 0x40, 0x2c, 0xf0, 1368 0xa9, 0xd5, 0x26, 0x6a, 0xa9, 0x2f, 0x59, 0xec, 0xa8, 0x0a, 0x62, 0x75, 0x2b, 0x6a, 0x75, 0x68, 1369 0x7f, 0x84, 0x02, 0x8f, 0xe1, 0x32, 0x7f, 0x67, 0xc0, 0x82, 0xe6, 0x0b, 0xc2, 0xef, 0xae, 0x41, 1370 0xb9, 0xad, 0xdd, 0x3a, 0xe5, 0x17, 0xd1, 0x69, 0xeb, 0x37, 0x12, 0x27, 0x28, 0x11, 0x81, 0x22, 1371 0x55, 0x92, 0xc2, 0xe8, 0x72, 0x25, 0xb5, 0xd3, 0x86, 0x36, 0xc4, 0x9a, 0x34, 0x20, 0xc3, 0xb1, 1372 0x64, 0xf3, 0x9f, 0x86, 0x70, 0xe0, 0x30, 0xde, 0xa0, 0xcb, 0x5a, 0x4c, 0x33, 0xc4, 0xf6, 0x95, 1373 0x27, 0xc4, 0xa3, 0x73, 0x02, 0x41, 0xe6, 0xff, 0x22, 0x10, 0x5c, 0x2f, 0xfc, 0xf2, 0xbd, 0xda, 1374 0xcc, 0xdb, 0x7f, 0x5f, 0x9b, 0x31, 0x7f, 0x61, 0x40, 0x79, 0xa3, 0xdb, 0x75, 0xfb, 0xbb, 0xdd, 1375 0x40, 0x2c, 0xc0, 0x84, 0x59, 0x9b, 0xf6, 0x71, 0xcf, 0x53, 0x0b, 0x05, 0x7e, 0xbf, 0x9b, 0x02, 1376 0x82, 0x15, 0x86, 0xdf, 0x9f, 0x43, 0x9f, 0xb6, 0x88, 0xba, 0x6e, 0xd1, 0xfd, 0xd9, 0xe2, 0x40, 1377 0x2c, 0x71, 0xfc, 0x90, 0x0f, 0x1d, 0xe2, 0xda, 0x3b, 0x96, 0x67, 0xb5, 0x09, 0x55, 0x97, 0x23, 1378 0xda, 0xfa, 0x2d, 0x0d, 0x87, 0x13, 0x94, 0xe6, 0x7f, 0x32, 0x50, 0xdc, 0xf4, 0x3d, 0xdb, 0x09, 1379 0xd4, 0xe5, 0x0a, 0xfa, 0xdd, 0x91, 0xe0, 0x71, 0xbb, 0xdf, 0x25, 0x58, 0x60, 0xd0, 0x73, 0x30, 1380 0xcb, 0x02, 0x2b, 0xe8, 0x31, 0x61, 0x4f, 0xb1, 0xf1, 0x48, 0x18, 0x96, 0xf6, 0x05, 0xf4, 0x6c, 1381 0x50, 0x5b, 0x88, 0xc4, 0x49, 0x10, 0x56, 0x0c, 0xdc, 0xd3, 0xfd, 0x03, 0xb1, 0x51, 0xf6, 0x4d, 1382 0x99, 0xf6, 0xc2, 0xfc, 0x91, 0x8d, 0x3d, 0x7d, 0x77, 0x84, 0x02, 0x8f, 0xe1, 0x42, 0x27, 0x80, 1383 0x5c, 0x8b, 0x05, 0xb7, 0xa9, 0xe5, 0x31, 0xa1, 0xeb, 0xb6, 0xd3, 0x21, 0xea, 0xc2, 0x7f, 0x29, 1384 0xdd, 0x89, 0x73, 0x8e, 0x58, 0xef, 0xad, 0x11, 0x69, 0x78, 0x8c, 0x06, 0xf4, 0x38, 0xcc, 0x52, 1385 0x62, 0x31, 0xdf, 0xab, 0xe6, 0xc5, 0xf2, 0xa3, 0xa8, 0x8c, 0x05, 0x14, 0x2b, 0x2c, 0x0f, 0x68, 1386 0x1d, 0xc2, 0x98, 0xd5, 0x0e, 0xc3, 0x6b, 0x14, 0xd0, 0x76, 0x24, 0x18, 0x87, 0x78, 0xf3, 0xb7, 1387 0x06, 0x54, 0x36, 0x29, 0xb1, 0x02, 0x32, 0x8d, 0x5b, 0x7c, 0xea, 0x13, 0x47, 0x1b, 0xb0, 0x20, 1388 0xbe, 0xef, 0x5a, 0xae, 0x63, 0xcb, 0x33, 0xc8, 0x09, 0xe6, 0xcf, 0x2b, 0xe6, 0x85, 0xad, 0x24, 1389 0x1a, 0x0f, 0xd3, 0x9b, 0x3f, 0xc9, 0x42, 0xa5, 0x49, 0x5c, 0x12, 0x9b, 0xbc, 0x05, 0xa8, 0x4d, 1390 0xad, 0x16, 0xd9, 0x23, 0xd4, 0xf1, 0xed, 0x7d, 0xd2, 0xf2, 0x3d, 0x9b, 0x09, 0x37, 0xca, 0x36, 1391 0x3e, 0xc7, 0xf7, 0xf7, 0xe6, 0x08, 0x16, 0x8f, 0xe1, 0x40, 0x2e, 0x54, 0xba, 0x54, 0xfc, 0x16, 1392 0x7b, 0x2e, 0xbd, 0xac, 0x74, 0xf5, 0x2b, 0xe9, 0x8e, 0x74, 0x4f, 0x67, 0x6d, 0x2c, 0x9d, 0x0e, 1393 0x6a, 0x95, 0x04, 0x08, 0x27, 0x85, 0xa3, 0x6f, 0xc0, 0xa2, 0x4f, 0xbb, 0x47, 0x96, 0xd7, 0x24, 1394 0x5d, 0xe2, 0xd9, 0xc4, 0x0b, 0x98, 0xd8, 0xc8, 0x42, 0x63, 0x99, 0xd7, 0x22, 0xbb, 0x43, 0x38, 1395 0x3c, 0x42, 0x8d, 0x5e, 0x83, 0xa5, 0x2e, 0xf5, 0xbb, 0x56, 0x5b, 0x6c, 0xcc, 0x9e, 0xef, 0x3a, 1396 0xad, 0xbe, 0xda, 0xce, 0x27, 0x4f, 0x07, 0xb5, 0xa5, 0xbd, 0x61, 0xe4, 0xd9, 0xa0, 0x76, 0x41, 1397 0x6c, 0x1d, 0x87, 0xc4, 0x48, 0x3c, 0x2a, 0x46, 0x73, 0x83, 0xfc, 0x24, 0x37, 0x30, 0xb7, 0xa1, 1398 0xd0, 0xec, 0xa9, 0x3b, 0xf1, 0x02, 0x14, 0x6c, 0xf5, 0x5b, 0xed, 0x7c, 0x78, 0x39, 0x23, 0x9a, 1399 0xb3, 0x41, 0xad, 0xc2, 0xcb, 0xcf, 0x7a, 0x08, 0xc0, 0x11, 0x8b, 0xf9, 0x38, 0x14, 0xc4, 0xc1, 1400 0xb3, 0xbb, 0x57, 0xd0, 0x22, 0x64, 0xb1, 0x75, 0x4f, 0x48, 0x29, 0x63, 0xfe, 0x53, 0x8b, 0x62, 1401 0xbb, 0x00, 0x37, 0x49, 0x10, 0x1e, 0xfc, 0x06, 0x2c, 0x84, 0xa1, 0x3c, 0x99, 0x61, 0x22, 0x6f, 1402 0xc2, 0x49, 0x34, 0x1e, 0xa6, 0x37, 0x5f, 0x87, 0xa2, 0xc8, 0x42, 0x3c, 0x85, 0xc7, 0xe5, 0x82, 1403 0x71, 0x9f, 0x72, 0x21, 0xac, 0x01, 0x32, 0x93, 0x6a, 0x00, 0xcd, 0x5c, 0x17, 0x2a, 0x92, 0x37, 1404 0x2c, 0x90, 0x52, 0x69, 0x78, 0x12, 0x0a, 0xa1, 0x99, 0x4a, 0x4b, 0x54, 0x18, 0x87, 0x82, 0x70, 1405 0x44, 0xa1, 0x69, 0x3b, 0x82, 0x44, 0x46, 0x4d, 0xa7, 0x4c, 0xab, 0x7e, 0x32, 0xf7, 0xaf, 0x7e, 1406 0x34, 0x4d, 0x3f, 0x84, 0xea, 0xa4, 0x6a, 0xfa, 0x01, 0x72, 0x7e, 0x7a, 0x53, 0xcc, 0x77, 0x0c, 1407 0x58, 0xd4, 0x25, 0xa5, 0x3f, 0xbe, 0xf4, 0x4a, 0xce, 0xaf, 0xf6, 0xb4, 0x1d, 0xf9, 0x95, 0x01, 1408 0xcb, 0x89, 0xa5, 0x4d, 0x75, 0xe2, 0x53, 0x18, 0xa5, 0x3b, 0x47, 0x76, 0x0a, 0xe7, 0xf8, 0x6b, 1409 0x06, 0x2a, 0xb7, 0xac, 0x03, 0xe2, 0xee, 0x13, 0x97, 0xb4, 0x02, 0x9f, 0xa2, 0x1f, 0x40, 0xa9, 1410 0x63, 0x05, 0xad, 0x23, 0x01, 0x0d, 0x3b, 0x83, 0x66, 0xba, 0x60, 0x97, 0x90, 0x54, 0xdf, 0x89, 1411 0xc5, 0xdc, 0xf0, 0x02, 0xda, 0x6f, 0x5c, 0x50, 0x26, 0x95, 0x34, 0x0c, 0xd6, 0xb5, 0x89, 0x76, 1412 0x4e, 0x7c, 0xdf, 0x78, 0xab, 0xcb, 0xcb, 0x96, 0xe9, 0xbb, 0xc8, 0x84, 0x09, 0x98, 0xbc, 0xd9, 1413 0x73, 0x28, 0xe9, 0x10, 0x2f, 0x88, 0xdb, 0xb9, 0x9d, 0x21, 0xf9, 0x78, 0x44, 0xe3, 0xca, 0x8b, 1414 0xb0, 0x38, 0x6c, 0x3c, 0x8f, 0x3f, 0xc7, 0xa4, 0x2f, 0xcf, 0x0b, 0xf3, 0x9f, 0x68, 0x19, 0xf2, 1415 0x27, 0x96, 0xdb, 0x53, 0xb7, 0x11, 0xcb, 0x8f, 0xeb, 0x99, 0x6b, 0x86, 0xf9, 0x1b, 0x03, 0xaa, 1416 0x93, 0x0c, 0x41, 0x5f, 0xd4, 0x04, 0x35, 0x4a, 0xca, 0xaa, 0xec, 0x2b, 0xa4, 0x2f, 0xa5, 0xde, 1417 0x80, 0x82, 0xdf, 0xe5, 0x35, 0x85, 0x4f, 0xd5, 0xa9, 0x3f, 0x11, 0x9e, 0xe4, 0xae, 0x82, 0x9f, 1418 0x0d, 0x6a, 0x17, 0x13, 0xe2, 0x43, 0x04, 0x8e, 0x58, 0x79, 0xa4, 0x16, 0xf6, 0xf0, 0xec, 0x11, 1419 0x45, 0xea, 0xbb, 0x02, 0x82, 0x15, 0xc6, 0xfc, 0x83, 0x01, 0x39, 0x51, 0x90, 0xbf, 0x0e, 0x05, 1420 0xbe, 0x7f, 0xb6, 0x15, 0x58, 0xc2, 0xae, 0xd4, 0xad, 0x20, 0xe7, 0xde, 0x21, 0x81, 0x15, 0x7b, 1421 0x5b, 0x08, 0xc1, 0x91, 0x44, 0x84, 0x21, 0xef, 0x04, 0xa4, 0x13, 0x1e, 0xe4, 0x53, 0x13, 0x45, 1422 0xab, 0x87, 0x88, 0x3a, 0xb6, 0xee, 0xdd, 0x78, 0x2b, 0x20, 0x1e, 0x3f, 0x8c, 0xf8, 0x6a, 0x6c, 1423 0x73, 0x19, 0x58, 0x8a, 0x32, 0xff, 0x6d, 0x40, 0xa4, 0x8a, 0x3b, 0x3f, 0x23, 0xee, 0xe1, 0x2d, 1424 0xc7, 0x3b, 0x56, 0xdb, 0x1a, 0x99, 0xb3, 0xaf, 0xe0, 0x38, 0xa2, 0x18, 0x97, 0x1e, 0x32, 0xd3, 1425 0xa5, 0x07, 0xae, 0xb0, 0xe5, 0x7b, 0x81, 0xe3, 0xf5, 0x46, 0x6e, 0xdb, 0xa6, 0x82, 0xe3, 0x88, 1426 0x82, 0x17, 0x22, 0x94, 0x74, 0x2c, 0xc7, 0x73, 0xbc, 0x36, 0x5f, 0xc4, 0xa6, 0xdf, 0xf3, 0x02, 1427 0x91, 0x91, 0x55, 0x21, 0x82, 0x47, 0xb0, 0x78, 0x0c, 0x87, 0xf9, 0xfb, 0x1c, 0x94, 0xf8, 0x9a, 1428 0xc3, 0x3c, 0xf7, 0x3c, 0x54, 0x5c, 0xdd, 0x0b, 0xd4, 0xda, 0x2f, 0x2a, 0x53, 0x92, 0xf7, 0x1a, 1429 0x27, 0x69, 0x39, 0xb3, 0x28, 0xa1, 0x22, 0xe6, 0x4c, 0x92, 0x79, 0x4b, 0x47, 0xe2, 0x24, 0x2d, 1430 0x8f, 0x5e, 0xf7, 0xf8, 0xfd, 0x50, 0x95, 0x49, 0x74, 0x44, 0xdf, 0xe4, 0x40, 0x2c, 0x71, 0x68, 1431 0x07, 0x2e, 0x58, 0xae, 0xeb, 0xdf, 0x13, 0xc0, 0x86, 0xef, 0x1f, 0x77, 0x2c, 0x7a, 0xcc, 0x44, 1432 0x33, 0x5d, 0x68, 0x7c, 0x41, 0xb1, 0x5c, 0xd8, 0x18, 0x25, 0xc1, 0xe3, 0xf8, 0xc6, 0x1d, 0x5b, 1433 0x6e, 0xca, 0x63, 0x3b, 0x82, 0xe5, 0x21, 0x90, 0xb8, 0xe5, 0xaa, 0xb3, 0x7d, 0x46, 0xc9, 0x59, 1434 0xc6, 0x63, 0x68, 0xce, 0x26, 0xc0, 0xf1, 0x58, 0x89, 0xe8, 0x3a, 0xcc, 0x73, 0x4f, 0xf6, 0x7b, 1435 0x41, 0x58, 0x77, 0xe6, 0xc5, 0x71, 0xa3, 0xd3, 0x41, 0x6d, 0xfe, 0x76, 0x02, 0x83, 0x87, 0x28, 1436 0xf9, 0xe6, 0xba, 0x4e, 0xc7, 0x09, 0xaa, 0x73, 0x82, 0x25, 0xda, 0xdc, 0x5b, 0x1c, 0x88, 0x25, 1437 0x2e, 0xe1, 0x81, 0x85, 0xf3, 0x3c, 0xd0, 0xfc, 0x4b, 0x16, 0x90, 0xac, 0xb5, 0x6d, 0x59, 0x4f, 1438 0xc9, 0x90, 0xc6, 0x3b, 0x02, 0x55, 0xab, 0x1b, 0x43, 0x1d, 0x81, 0x2a, 0xd3, 0x43, 0x3c, 0xda, 1439 0x81, 0xa2, 0x0c, 0x2d, 0xf1, 0x75, 0x59, 0x57, 0xc4, 0xc5, 0xdd, 0x10, 0x71, 0x36, 0xa8, 0xad, 1440 0x24, 0xd4, 0x44, 0x18, 0xd1, 0xad, 0xc5, 0x12, 0xd0, 0x55, 0x00, 0xab, 0xeb, 0xe8, 0xef, 0x75, 1441 0xc5, 0xf8, 0xd5, 0x26, 0xee, 0xbc, 0xb1, 0x46, 0x85, 0x5e, 0x82, 0x5c, 0xf0, 0xe9, 0x3a, 0xaa, 1442 0x82, 0x68, 0x18, 0x79, 0xff, 0x24, 0x24, 0x70, 0xed, 0xc2, 0x9f, 0x19, 0x37, 0x4b, 0x35, 0x43, 1443 0x91, 0xf6, 0xad, 0x08, 0x83, 0x35, 0x2a, 0xf4, 0x2d, 0x28, 0x1c, 0xaa, 0x52, 0x54, 0x1c, 0x4c, 1444 0xea, 0x10, 0x19, 0x16, 0xb0, 0xf2, 0xc9, 0x20, 0xfc, 0xc2, 0x91, 0x34, 0xf4, 0x55, 0x28, 0xb1, 1445 0xde, 0x41, 0x94, 0xbd, 0xe5, 0x69, 0x46, 0xa9, 0x72, 0x3f, 0x46, 0x61, 0x9d, 0xce, 0x7c, 0x13, 1446 0x8a, 0x3b, 0x4e, 0x8b, 0xfa, 0xa2, 0x07, 0x7c, 0x02, 0xe6, 0x58, 0xa2, 0xc1, 0x89, 0x4e, 0x32, 1447 0xf4, 0xb2, 0x10, 0xcf, 0xdd, 0xcb, 0xb3, 0x3c, 0x5f, 0xb6, 0x31, 0xf9, 0xd8, 0xbd, 0x5e, 0xe5, 1448 0x40, 0x2c, 0x71, 0xd7, 0x97, 0x79, 0x81, 0xf0, 0xd3, 0xf7, 0x6b, 0x33, 0xef, 0xbe, 0x5f, 0x9b, 1449 0x79, 0xef, 0x7d, 0x55, 0x2c, 0xfc, 0x11, 0x00, 0x76, 0x0f, 0xbe, 0x47, 0x5a, 0x32, 0xec, 0xa6, 1450 0x7a, 0xd6, 0x0b, 0x5f, 0x93, 0xc5, 0xb3, 0x5e, 0x66, 0xa8, 0xe8, 0xd3, 0x70, 0x38, 0x41, 0x89, 1451 0xd6, 0xa1, 0x18, 0x3d, 0xd8, 0x29, 0xff, 0x58, 0x0a, 0xfd, 0x2d, 0x7a, 0xd5, 0xc3, 0x31, 0x4d, 1452 0x22, 0x07, 0xe4, 0xce, 0xcd, 0x01, 0x0d, 0xc8, 0xf6, 0x1c, 0x5b, 0x35, 0xcc, 0x4f, 0x87, 0x39, 1453 0xf8, 0xce, 0x76, 0xf3, 0x6c, 0x50, 0x7b, 0x64, 0xd2, 0x3b, 0x79, 0xd0, 0xef, 0x12, 0x56, 0xbf, 1454 0xb3, 0xdd, 0xc4, 0x9c, 0x79, 0x5c, 0x40, 0x9a, 0x9d, 0x32, 0x20, 0x5d, 0x05, 0x68, 0xc7, 0xcf, 1455 0x0e, 0xf2, 0xbe, 0x47, 0x8e, 0xa8, 0x3d, 0x37, 0x68, 0x54, 0x88, 0xc1, 0x52, 0x8b, 0xb7, 0xe6, 1456 0xaa, 0xfd, 0x67, 0x81, 0xd5, 0x91, 0x0f, 0x99, 0xd3, 0xdd, 0x89, 0x4b, 0x4a, 0xcd, 0xd2, 0xe6, 1457 0xb0, 0x30, 0x3c, 0x2a, 0x1f, 0xf9, 0xb0, 0x64, 0xab, 0x0e, 0x31, 0x56, 0x5a, 0x9c, 0x5a, 0xe9, 1458 0x45, 0xae, 0xb0, 0x39, 0x2c, 0x08, 0x8f, 0xca, 0x46, 0xdf, 0x85, 0x95, 0x10, 0x38, 0xda, 0xa6, 1459 0x8b, 0x80, 0x9d, 0x6d, 0xac, 0x9e, 0x0e, 0x6a, 0x2b, 0xcd, 0x89, 0x54, 0xf8, 0x3e, 0x12, 0x90, 1460 0x0d, 0xb3, 0xae, 0x2c, 0x70, 0x4b, 0xa2, 0x28, 0xf9, 0x5a, 0xba, 0x55, 0xc4, 0xde, 0x5f, 0xd7, 1461 0x0b, 0xdb, 0xe8, 0xc9, 0x45, 0xd5, 0xb4, 0x4a, 0x36, 0x7a, 0x0b, 0x4a, 0x96, 0xe7, 0xf9, 0x81, 1462 0x25, 0x1f, 0x0e, 0xca, 0x42, 0xd5, 0xc6, 0xd4, 0xaa, 0x36, 0x62, 0x19, 0x43, 0x85, 0xb4, 0x86, 1463 0xc1, 0xba, 0x2a, 0x74, 0x0f, 0x16, 0xfc, 0x7b, 0x1e, 0xa1, 0x98, 0x1c, 0x12, 0x4a, 0xbc, 0x16, 1464 0x61, 0xd5, 0x8a, 0xd0, 0xfe, 0x4c, 0x4a, 0xed, 0x09, 0xe6, 0xd8, 0xa5, 0x93, 0x70, 0x86, 0x87, 1465 0xb5, 0xa0, 0x3a, 0x8f, 0xad, 0x9e, 0xe5, 0x3a, 0xdf, 0x27, 0x94, 0x55, 0xe7, 0xe3, 0xb7, 0xe6, 1466 0xad, 0x08, 0x8a, 0x35, 0x0a, 0xd4, 0x83, 0x4a, 0x47, 0x4f, 0x19, 0xd5, 0x25, 0x61, 0xe6, 0xb5, 1467 0x74, 0x66, 0x8e, 0x26, 0xb5, 0xb8, 0x82, 0x49, 0xe0, 0x70, 0x52, 0xcb, 0xca, 0x73, 0x50, 0xfa, 1468 0x94, 0xc5, 0x3d, 0x6f, 0x0e, 0x86, 0x0f, 0x64, 0xaa, 0xe6, 0xe0, 0x4f, 0x19, 0x98, 0x4f, 0x6e, 1469 0xe3, 0x50, 0x3a, 0xcc, 0xa7, 0x4a, 0x87, 0x61, 0x1b, 0x6a, 0x4c, 0x1c, 0x3a, 0x84, 0xf1, 0x39, 1470 0x3b, 0x31, 0x3e, 0xab, 0x30, 0x98, 0x7b, 0x90, 0x30, 0x58, 0x07, 0xe0, 0x75, 0x06, 0xf5, 0x5d, 1471 0x97, 0x50, 0x11, 0x01, 0x0b, 0x6a, 0xb8, 0x10, 0x41, 0xb1, 0x46, 0xc1, 0xab, 0xe1, 0x03, 0xd7, 1472 0x6f, 0x1d, 0x8b, 0x2d, 0x08, 0x6f, 0xaf, 0x88, 0x7d, 0x05, 0x59, 0x0d, 0x37, 0x46, 0xb0, 0x78, 1473 0x0c, 0x87, 0xd9, 0x87, 0x8b, 0x7b, 0x16, 0x0d, 0x1c, 0xcb, 0x8d, 0x6f, 0x8a, 0x68, 0x37, 0xde, 1474 0x18, 0x69, 0x66, 0x9e, 0x9e, 0xf6, 0xc6, 0xc5, 0x9b, 0x1f, 0xc3, 0xe2, 0x86, 0xc6, 0xfc, 0x9b, 1475 0x01, 0x97, 0xc6, 0xea, 0xfe, 0x0c, 0x9a, 0xa9, 0x37, 0x92, 0xcd, 0xd4, 0xf3, 0x29, 0x5f, 0x21, 1476 0xc7, 0x59, 0x3b, 0xa1, 0xb5, 0x9a, 0x83, 0xfc, 0x1e, 0x2f, 0x62, 0xcd, 0x0f, 0x0d, 0x28, 0x8b, 1477 0x5f, 0xd3, 0x3c, 0x02, 0xd7, 0x92, 0xb3, 0x81, 0xe2, 0xc3, 0x9b, 0x0b, 0x3c, 0x8c, 0x57, 0xe2, 1478 0x77, 0x0c, 0x48, 0x3e, 0xbf, 0xa2, 0x17, 0xe5, 0x15, 0x30, 0xa2, 0xf7, 0xd1, 0x29, 0xdd, 0xff, 1479 0x85, 0x49, 0xdd, 0xe4, 0x85, 0x54, 0x0f, 0x8d, 0x4f, 0x42, 0x11, 0xfb, 0x7e, 0xb0, 0x67, 0x05, 1480 0x47, 0x8c, 0xef, 0x5d, 0x97, 0xff, 0x50, 0xdb, 0x2b, 0xf6, 0x4e, 0x60, 0xb0, 0x84, 0x9b, 0x3f, 1481 0x37, 0xe0, 0xd2, 0xc4, 0x91, 0x0f, 0x8f, 0x22, 0xad, 0xe8, 0x4b, 0xad, 0x28, 0x72, 0xe4, 0x98, 1482 0x0e, 0x6b, 0x54, 0xbc, 0x0d, 0x4c, 0xcc, 0x89, 0x86, 0xdb, 0xc0, 0x84, 0x36, 0x9c, 0xa4, 0x35, 1483 0xff, 0x95, 0x01, 0x35, 0x63, 0xf9, 0x1f, 0x3b, 0xfd, 0xe3, 0x43, 0x13, 0x9e, 0xf9, 0xe4, 0x84, 1484 0x27, 0x1a, 0xe7, 0x68, 0x23, 0x8e, 0xec, 0xfd, 0x47, 0x1c, 0xe8, 0xd9, 0x68, 0x6a, 0x22, 0x7d, 1485 0x68, 0x35, 0x39, 0x35, 0x39, 0x1b, 0xd4, 0xca, 0x4a, 0x78, 0x72, 0x8a, 0xf2, 0x1a, 0xcc, 0xd9, 1486 0x24, 0xb0, 0x1c, 0x57, 0xb6, 0x74, 0xa9, 0xe7, 0x00, 0x52, 0x58, 0x53, 0xb2, 0x36, 0x4a, 0xdc, 1487 0x26, 0xf5, 0x81, 0x43, 0x81, 0x3c, 0x60, 0xb7, 0x7c, 0x5b, 0x76, 0x24, 0xf9, 0x38, 0x60, 0x6f, 1488 0xfa, 0x36, 0xc1, 0x02, 0x63, 0xbe, 0x6b, 0x40, 0x49, 0x4a, 0xda, 0xb4, 0x7a, 0x8c, 0xa0, 0x2b, 1489 0xd1, 0x2a, 0xe4, 0x71, 0x5f, 0xd2, 0xc7, 0x63, 0x67, 0x83, 0x5a, 0x51, 0x90, 0x89, 0x66, 0x66, 1490 0xcc, 0x18, 0x28, 0x73, 0xce, 0x1e, 0x3d, 0x0a, 0x79, 0x71, 0x81, 0xd4, 0x66, 0xc6, 0x73, 0x3e, 1491 0x0e, 0xc4, 0x12, 0x67, 0x7e, 0x9c, 0x81, 0x4a, 0x62, 0x71, 0x29, 0xfa, 0x82, 0xe8, 0xf5, 0x33, 1492 0x93, 0xe2, 0x45, 0x7d, 0xf2, 0x54, 0x5d, 0xa5, 0xaf, 0xd9, 0x07, 0x49, 0x5f, 0xdf, 0x86, 0xd9, 1493 0x16, 0xdf, 0xa3, 0xf0, 0x4f, 0x1a, 0x57, 0xa6, 0x39, 0x4e, 0xb1, 0xbb, 0xb1, 0x37, 0x8a, 0x4f, 1494 0x86, 0x95, 0x40, 0x74, 0x13, 0x96, 0x28, 0x09, 0x68, 0x7f, 0xe3, 0x30, 0x20, 0x54, 0x7f, 0x07, 1495 0xc8, 0xc7, 0xd5, 0x37, 0x1e, 0x26, 0xc0, 0xa3, 0x3c, 0xe6, 0x01, 0x94, 0x6f, 0x5b, 0x07, 0x6e, 1496 0x34, 0xd9, 0xc2, 0x50, 0x71, 0xbc, 0x96, 0xdb, 0xb3, 0x89, 0x0c, 0xe8, 0x61, 0xf4, 0x0a, 0x2f, 1497 0xed, 0xb6, 0x8e, 0x3c, 0x1b, 0xd4, 0x2e, 0x24, 0x00, 0x72, 0x94, 0x83, 0x93, 0x22, 0x4c, 0x17, 1498 0x72, 0x9f, 0x61, 0x27, 0xf9, 0x1d, 0x28, 0xc6, 0xb5, 0xfe, 0x43, 0x56, 0x69, 0xbe, 0x01, 0x05, 1499 0xee, 0xf1, 0x61, 0x8f, 0x7a, 0x4e, 0x95, 0x94, 0xac, 0xbd, 0x32, 0x69, 0x6a, 0x2f, 0x31, 0x1f, 1500 0xbd, 0xd3, 0xb5, 0x1f, 0x70, 0x3e, 0x9a, 0x79, 0x90, 0xcc, 0x97, 0x9d, 0x32, 0xf3, 0x5d, 0x05, 1501 0xf9, 0x1f, 0x12, 0x9e, 0x64, 0x64, 0x01, 0xa1, 0x25, 0x19, 0x3d, 0xff, 0x6b, 0xc3, 0x81, 0x1f, 1502 0x1b, 0x00, 0xe2, 0x15, 0xee, 0xc6, 0x09, 0xf1, 0x82, 0x14, 0x93, 0xf8, 0x3b, 0x30, 0xeb, 0x4b, 1503 0x8f, 0x94, 0x33, 0xd2, 0x29, 0x9f, 0x7a, 0xa3, 0x8b, 0x24, 0x7d, 0x12, 0x2b, 0x61, 0x8d, 0x97, 1504 0x3f, 0xf8, 0x64, 0x75, 0xe6, 0xc3, 0x4f, 0x56, 0x67, 0x3e, 0xfa, 0x64, 0x75, 0xe6, 0xed, 0xd3, 1505 0x55, 0xe3, 0x83, 0xd3, 0x55, 0xe3, 0xc3, 0xd3, 0x55, 0xe3, 0xa3, 0xd3, 0x55, 0xe3, 0xe3, 0xd3, 1506 0x55, 0xe3, 0xdd, 0x7f, 0xac, 0xce, 0xbc, 0xf6, 0x58, 0x9a, 0xff, 0xe6, 0xfd, 0x37, 0x00, 0x00, 1507 0xff, 0xff, 0x0b, 0x4d, 0x51, 0xc5, 0xdb, 0x27, 0x00, 0x00, 1508 } 1509 1510 func (m *APIGroup) Marshal() (dAtA []byte, err error) { 1511 size := m.Size() 1512 dAtA = make([]byte, size) 1513 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1514 if err != nil { 1515 return nil, err 1516 } 1517 return dAtA[:n], nil 1518 } 1519 1520 func (m *APIGroup) MarshalTo(dAtA []byte) (int, error) { 1521 size := m.Size() 1522 return m.MarshalToSizedBuffer(dAtA[:size]) 1523 } 1524 1525 func (m *APIGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1526 i := len(dAtA) 1527 _ = i 1528 var l int 1529 _ = l 1530 if len(m.ServerAddressByClientCIDRs) > 0 { 1531 for iNdEx := len(m.ServerAddressByClientCIDRs) - 1; iNdEx >= 0; iNdEx-- { 1532 { 1533 size, err := m.ServerAddressByClientCIDRs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 1534 if err != nil { 1535 return 0, err 1536 } 1537 i -= size 1538 i = encodeVarintGenerated(dAtA, i, uint64(size)) 1539 } 1540 i-- 1541 dAtA[i] = 0x22 1542 } 1543 } 1544 { 1545 size, err := m.PreferredVersion.MarshalToSizedBuffer(dAtA[:i]) 1546 if err != nil { 1547 return 0, err 1548 } 1549 i -= size 1550 i = encodeVarintGenerated(dAtA, i, uint64(size)) 1551 } 1552 i-- 1553 dAtA[i] = 0x1a 1554 if len(m.Versions) > 0 { 1555 for iNdEx := len(m.Versions) - 1; iNdEx >= 0; iNdEx-- { 1556 { 1557 size, err := m.Versions[iNdEx].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] = 0x12 1566 } 1567 } 1568 i -= len(m.Name) 1569 copy(dAtA[i:], m.Name) 1570 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) 1571 i-- 1572 dAtA[i] = 0xa 1573 return len(dAtA) - i, nil 1574 } 1575 1576 func (m *APIGroupList) Marshal() (dAtA []byte, err error) { 1577 size := m.Size() 1578 dAtA = make([]byte, size) 1579 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1580 if err != nil { 1581 return nil, err 1582 } 1583 return dAtA[:n], nil 1584 } 1585 1586 func (m *APIGroupList) MarshalTo(dAtA []byte) (int, error) { 1587 size := m.Size() 1588 return m.MarshalToSizedBuffer(dAtA[:size]) 1589 } 1590 1591 func (m *APIGroupList) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1592 i := len(dAtA) 1593 _ = i 1594 var l int 1595 _ = l 1596 if len(m.Groups) > 0 { 1597 for iNdEx := len(m.Groups) - 1; iNdEx >= 0; iNdEx-- { 1598 { 1599 size, err := m.Groups[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 1600 if err != nil { 1601 return 0, err 1602 } 1603 i -= size 1604 i = encodeVarintGenerated(dAtA, i, uint64(size)) 1605 } 1606 i-- 1607 dAtA[i] = 0xa 1608 } 1609 } 1610 return len(dAtA) - i, nil 1611 } 1612 1613 func (m *APIResource) Marshal() (dAtA []byte, err error) { 1614 size := m.Size() 1615 dAtA = make([]byte, size) 1616 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1617 if err != nil { 1618 return nil, err 1619 } 1620 return dAtA[:n], nil 1621 } 1622 1623 func (m *APIResource) MarshalTo(dAtA []byte) (int, error) { 1624 size := m.Size() 1625 return m.MarshalToSizedBuffer(dAtA[:size]) 1626 } 1627 1628 func (m *APIResource) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1629 i := len(dAtA) 1630 _ = i 1631 var l int 1632 _ = l 1633 i -= len(m.StorageVersionHash) 1634 copy(dAtA[i:], m.StorageVersionHash) 1635 i = encodeVarintGenerated(dAtA, i, uint64(len(m.StorageVersionHash))) 1636 i-- 1637 dAtA[i] = 0x52 1638 i -= len(m.Version) 1639 copy(dAtA[i:], m.Version) 1640 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) 1641 i-- 1642 dAtA[i] = 0x4a 1643 i -= len(m.Group) 1644 copy(dAtA[i:], m.Group) 1645 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) 1646 i-- 1647 dAtA[i] = 0x42 1648 if len(m.Categories) > 0 { 1649 for iNdEx := len(m.Categories) - 1; iNdEx >= 0; iNdEx-- { 1650 i -= len(m.Categories[iNdEx]) 1651 copy(dAtA[i:], m.Categories[iNdEx]) 1652 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Categories[iNdEx]))) 1653 i-- 1654 dAtA[i] = 0x3a 1655 } 1656 } 1657 i -= len(m.SingularName) 1658 copy(dAtA[i:], m.SingularName) 1659 i = encodeVarintGenerated(dAtA, i, uint64(len(m.SingularName))) 1660 i-- 1661 dAtA[i] = 0x32 1662 if len(m.ShortNames) > 0 { 1663 for iNdEx := len(m.ShortNames) - 1; iNdEx >= 0; iNdEx-- { 1664 i -= len(m.ShortNames[iNdEx]) 1665 copy(dAtA[i:], m.ShortNames[iNdEx]) 1666 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ShortNames[iNdEx]))) 1667 i-- 1668 dAtA[i] = 0x2a 1669 } 1670 } 1671 if m.Verbs != nil { 1672 { 1673 size, err := m.Verbs.MarshalToSizedBuffer(dAtA[:i]) 1674 if err != nil { 1675 return 0, err 1676 } 1677 i -= size 1678 i = encodeVarintGenerated(dAtA, i, uint64(size)) 1679 } 1680 i-- 1681 dAtA[i] = 0x22 1682 } 1683 i -= len(m.Kind) 1684 copy(dAtA[i:], m.Kind) 1685 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) 1686 i-- 1687 dAtA[i] = 0x1a 1688 i-- 1689 if m.Namespaced { 1690 dAtA[i] = 1 1691 } else { 1692 dAtA[i] = 0 1693 } 1694 i-- 1695 dAtA[i] = 0x10 1696 i -= len(m.Name) 1697 copy(dAtA[i:], m.Name) 1698 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) 1699 i-- 1700 dAtA[i] = 0xa 1701 return len(dAtA) - i, nil 1702 } 1703 1704 func (m *APIResourceList) Marshal() (dAtA []byte, err error) { 1705 size := m.Size() 1706 dAtA = make([]byte, size) 1707 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1708 if err != nil { 1709 return nil, err 1710 } 1711 return dAtA[:n], nil 1712 } 1713 1714 func (m *APIResourceList) MarshalTo(dAtA []byte) (int, error) { 1715 size := m.Size() 1716 return m.MarshalToSizedBuffer(dAtA[:size]) 1717 } 1718 1719 func (m *APIResourceList) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1720 i := len(dAtA) 1721 _ = i 1722 var l int 1723 _ = l 1724 if len(m.APIResources) > 0 { 1725 for iNdEx := len(m.APIResources) - 1; iNdEx >= 0; iNdEx-- { 1726 { 1727 size, err := m.APIResources[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 1728 if err != nil { 1729 return 0, err 1730 } 1731 i -= size 1732 i = encodeVarintGenerated(dAtA, i, uint64(size)) 1733 } 1734 i-- 1735 dAtA[i] = 0x12 1736 } 1737 } 1738 i -= len(m.GroupVersion) 1739 copy(dAtA[i:], m.GroupVersion) 1740 i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupVersion))) 1741 i-- 1742 dAtA[i] = 0xa 1743 return len(dAtA) - i, nil 1744 } 1745 1746 func (m *APIVersions) Marshal() (dAtA []byte, err error) { 1747 size := m.Size() 1748 dAtA = make([]byte, size) 1749 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1750 if err != nil { 1751 return nil, err 1752 } 1753 return dAtA[:n], nil 1754 } 1755 1756 func (m *APIVersions) MarshalTo(dAtA []byte) (int, error) { 1757 size := m.Size() 1758 return m.MarshalToSizedBuffer(dAtA[:size]) 1759 } 1760 1761 func (m *APIVersions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1762 i := len(dAtA) 1763 _ = i 1764 var l int 1765 _ = l 1766 if len(m.ServerAddressByClientCIDRs) > 0 { 1767 for iNdEx := len(m.ServerAddressByClientCIDRs) - 1; iNdEx >= 0; iNdEx-- { 1768 { 1769 size, err := m.ServerAddressByClientCIDRs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 1770 if err != nil { 1771 return 0, err 1772 } 1773 i -= size 1774 i = encodeVarintGenerated(dAtA, i, uint64(size)) 1775 } 1776 i-- 1777 dAtA[i] = 0x12 1778 } 1779 } 1780 if len(m.Versions) > 0 { 1781 for iNdEx := len(m.Versions) - 1; iNdEx >= 0; iNdEx-- { 1782 i -= len(m.Versions[iNdEx]) 1783 copy(dAtA[i:], m.Versions[iNdEx]) 1784 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Versions[iNdEx]))) 1785 i-- 1786 dAtA[i] = 0xa 1787 } 1788 } 1789 return len(dAtA) - i, nil 1790 } 1791 1792 func (m *ApplyOptions) Marshal() (dAtA []byte, err error) { 1793 size := m.Size() 1794 dAtA = make([]byte, size) 1795 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1796 if err != nil { 1797 return nil, err 1798 } 1799 return dAtA[:n], nil 1800 } 1801 1802 func (m *ApplyOptions) MarshalTo(dAtA []byte) (int, error) { 1803 size := m.Size() 1804 return m.MarshalToSizedBuffer(dAtA[:size]) 1805 } 1806 1807 func (m *ApplyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1808 i := len(dAtA) 1809 _ = i 1810 var l int 1811 _ = l 1812 i -= len(m.FieldManager) 1813 copy(dAtA[i:], m.FieldManager) 1814 i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldManager))) 1815 i-- 1816 dAtA[i] = 0x1a 1817 i-- 1818 if m.Force { 1819 dAtA[i] = 1 1820 } else { 1821 dAtA[i] = 0 1822 } 1823 i-- 1824 dAtA[i] = 0x10 1825 if len(m.DryRun) > 0 { 1826 for iNdEx := len(m.DryRun) - 1; iNdEx >= 0; iNdEx-- { 1827 i -= len(m.DryRun[iNdEx]) 1828 copy(dAtA[i:], m.DryRun[iNdEx]) 1829 i = encodeVarintGenerated(dAtA, i, uint64(len(m.DryRun[iNdEx]))) 1830 i-- 1831 dAtA[i] = 0xa 1832 } 1833 } 1834 return len(dAtA) - i, nil 1835 } 1836 1837 func (m *Condition) Marshal() (dAtA []byte, err error) { 1838 size := m.Size() 1839 dAtA = make([]byte, size) 1840 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1841 if err != nil { 1842 return nil, err 1843 } 1844 return dAtA[:n], nil 1845 } 1846 1847 func (m *Condition) MarshalTo(dAtA []byte) (int, error) { 1848 size := m.Size() 1849 return m.MarshalToSizedBuffer(dAtA[:size]) 1850 } 1851 1852 func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1853 i := len(dAtA) 1854 _ = i 1855 var l int 1856 _ = l 1857 i -= len(m.Message) 1858 copy(dAtA[i:], m.Message) 1859 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) 1860 i-- 1861 dAtA[i] = 0x32 1862 i -= len(m.Reason) 1863 copy(dAtA[i:], m.Reason) 1864 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) 1865 i-- 1866 dAtA[i] = 0x2a 1867 { 1868 size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i]) 1869 if err != nil { 1870 return 0, err 1871 } 1872 i -= size 1873 i = encodeVarintGenerated(dAtA, i, uint64(size)) 1874 } 1875 i-- 1876 dAtA[i] = 0x22 1877 i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration)) 1878 i-- 1879 dAtA[i] = 0x18 1880 i -= len(m.Status) 1881 copy(dAtA[i:], m.Status) 1882 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) 1883 i-- 1884 dAtA[i] = 0x12 1885 i -= len(m.Type) 1886 copy(dAtA[i:], m.Type) 1887 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) 1888 i-- 1889 dAtA[i] = 0xa 1890 return len(dAtA) - i, nil 1891 } 1892 1893 func (m *CreateOptions) Marshal() (dAtA []byte, err error) { 1894 size := m.Size() 1895 dAtA = make([]byte, size) 1896 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1897 if err != nil { 1898 return nil, err 1899 } 1900 return dAtA[:n], nil 1901 } 1902 1903 func (m *CreateOptions) MarshalTo(dAtA []byte) (int, error) { 1904 size := m.Size() 1905 return m.MarshalToSizedBuffer(dAtA[:size]) 1906 } 1907 1908 func (m *CreateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1909 i := len(dAtA) 1910 _ = i 1911 var l int 1912 _ = l 1913 i -= len(m.FieldValidation) 1914 copy(dAtA[i:], m.FieldValidation) 1915 i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldValidation))) 1916 i-- 1917 dAtA[i] = 0x22 1918 i -= len(m.FieldManager) 1919 copy(dAtA[i:], m.FieldManager) 1920 i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldManager))) 1921 i-- 1922 dAtA[i] = 0x1a 1923 if len(m.DryRun) > 0 { 1924 for iNdEx := len(m.DryRun) - 1; iNdEx >= 0; iNdEx-- { 1925 i -= len(m.DryRun[iNdEx]) 1926 copy(dAtA[i:], m.DryRun[iNdEx]) 1927 i = encodeVarintGenerated(dAtA, i, uint64(len(m.DryRun[iNdEx]))) 1928 i-- 1929 dAtA[i] = 0xa 1930 } 1931 } 1932 return len(dAtA) - i, nil 1933 } 1934 1935 func (m *DeleteOptions) Marshal() (dAtA []byte, err error) { 1936 size := m.Size() 1937 dAtA = make([]byte, size) 1938 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1939 if err != nil { 1940 return nil, err 1941 } 1942 return dAtA[:n], nil 1943 } 1944 1945 func (m *DeleteOptions) MarshalTo(dAtA []byte) (int, error) { 1946 size := m.Size() 1947 return m.MarshalToSizedBuffer(dAtA[:size]) 1948 } 1949 1950 func (m *DeleteOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1951 i := len(dAtA) 1952 _ = i 1953 var l int 1954 _ = l 1955 if len(m.DryRun) > 0 { 1956 for iNdEx := len(m.DryRun) - 1; iNdEx >= 0; iNdEx-- { 1957 i -= len(m.DryRun[iNdEx]) 1958 copy(dAtA[i:], m.DryRun[iNdEx]) 1959 i = encodeVarintGenerated(dAtA, i, uint64(len(m.DryRun[iNdEx]))) 1960 i-- 1961 dAtA[i] = 0x2a 1962 } 1963 } 1964 if m.PropagationPolicy != nil { 1965 i -= len(*m.PropagationPolicy) 1966 copy(dAtA[i:], *m.PropagationPolicy) 1967 i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PropagationPolicy))) 1968 i-- 1969 dAtA[i] = 0x22 1970 } 1971 if m.OrphanDependents != nil { 1972 i-- 1973 if *m.OrphanDependents { 1974 dAtA[i] = 1 1975 } else { 1976 dAtA[i] = 0 1977 } 1978 i-- 1979 dAtA[i] = 0x18 1980 } 1981 if m.Preconditions != nil { 1982 { 1983 size, err := m.Preconditions.MarshalToSizedBuffer(dAtA[:i]) 1984 if err != nil { 1985 return 0, err 1986 } 1987 i -= size 1988 i = encodeVarintGenerated(dAtA, i, uint64(size)) 1989 } 1990 i-- 1991 dAtA[i] = 0x12 1992 } 1993 if m.GracePeriodSeconds != nil { 1994 i = encodeVarintGenerated(dAtA, i, uint64(*m.GracePeriodSeconds)) 1995 i-- 1996 dAtA[i] = 0x8 1997 } 1998 return len(dAtA) - i, nil 1999 } 2000 2001 func (m *Duration) Marshal() (dAtA []byte, err error) { 2002 size := m.Size() 2003 dAtA = make([]byte, size) 2004 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2005 if err != nil { 2006 return nil, err 2007 } 2008 return dAtA[:n], nil 2009 } 2010 2011 func (m *Duration) MarshalTo(dAtA []byte) (int, error) { 2012 size := m.Size() 2013 return m.MarshalToSizedBuffer(dAtA[:size]) 2014 } 2015 2016 func (m *Duration) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2017 i := len(dAtA) 2018 _ = i 2019 var l int 2020 _ = l 2021 i = encodeVarintGenerated(dAtA, i, uint64(m.Duration)) 2022 i-- 2023 dAtA[i] = 0x8 2024 return len(dAtA) - i, nil 2025 } 2026 2027 func (m *FieldsV1) Marshal() (dAtA []byte, err error) { 2028 size := m.Size() 2029 dAtA = make([]byte, size) 2030 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2031 if err != nil { 2032 return nil, err 2033 } 2034 return dAtA[:n], nil 2035 } 2036 2037 func (m *FieldsV1) MarshalTo(dAtA []byte) (int, error) { 2038 size := m.Size() 2039 return m.MarshalToSizedBuffer(dAtA[:size]) 2040 } 2041 2042 func (m *FieldsV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2043 i := len(dAtA) 2044 _ = i 2045 var l int 2046 _ = l 2047 if m.Raw != nil { 2048 i -= len(m.Raw) 2049 copy(dAtA[i:], m.Raw) 2050 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Raw))) 2051 i-- 2052 dAtA[i] = 0xa 2053 } 2054 return len(dAtA) - i, nil 2055 } 2056 2057 func (m *GetOptions) Marshal() (dAtA []byte, err error) { 2058 size := m.Size() 2059 dAtA = make([]byte, size) 2060 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2061 if err != nil { 2062 return nil, err 2063 } 2064 return dAtA[:n], nil 2065 } 2066 2067 func (m *GetOptions) MarshalTo(dAtA []byte) (int, error) { 2068 size := m.Size() 2069 return m.MarshalToSizedBuffer(dAtA[:size]) 2070 } 2071 2072 func (m *GetOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2073 i := len(dAtA) 2074 _ = i 2075 var l int 2076 _ = l 2077 i -= len(m.ResourceVersion) 2078 copy(dAtA[i:], m.ResourceVersion) 2079 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion))) 2080 i-- 2081 dAtA[i] = 0xa 2082 return len(dAtA) - i, nil 2083 } 2084 2085 func (m *GroupKind) Marshal() (dAtA []byte, err error) { 2086 size := m.Size() 2087 dAtA = make([]byte, size) 2088 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2089 if err != nil { 2090 return nil, err 2091 } 2092 return dAtA[:n], nil 2093 } 2094 2095 func (m *GroupKind) MarshalTo(dAtA []byte) (int, error) { 2096 size := m.Size() 2097 return m.MarshalToSizedBuffer(dAtA[:size]) 2098 } 2099 2100 func (m *GroupKind) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2101 i := len(dAtA) 2102 _ = i 2103 var l int 2104 _ = l 2105 i -= len(m.Kind) 2106 copy(dAtA[i:], m.Kind) 2107 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) 2108 i-- 2109 dAtA[i] = 0x12 2110 i -= len(m.Group) 2111 copy(dAtA[i:], m.Group) 2112 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) 2113 i-- 2114 dAtA[i] = 0xa 2115 return len(dAtA) - i, nil 2116 } 2117 2118 func (m *GroupResource) Marshal() (dAtA []byte, err error) { 2119 size := m.Size() 2120 dAtA = make([]byte, size) 2121 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2122 if err != nil { 2123 return nil, err 2124 } 2125 return dAtA[:n], nil 2126 } 2127 2128 func (m *GroupResource) MarshalTo(dAtA []byte) (int, error) { 2129 size := m.Size() 2130 return m.MarshalToSizedBuffer(dAtA[:size]) 2131 } 2132 2133 func (m *GroupResource) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2134 i := len(dAtA) 2135 _ = i 2136 var l int 2137 _ = l 2138 i -= len(m.Resource) 2139 copy(dAtA[i:], m.Resource) 2140 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource))) 2141 i-- 2142 dAtA[i] = 0x12 2143 i -= len(m.Group) 2144 copy(dAtA[i:], m.Group) 2145 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) 2146 i-- 2147 dAtA[i] = 0xa 2148 return len(dAtA) - i, nil 2149 } 2150 2151 func (m *GroupVersion) Marshal() (dAtA []byte, err error) { 2152 size := m.Size() 2153 dAtA = make([]byte, size) 2154 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2155 if err != nil { 2156 return nil, err 2157 } 2158 return dAtA[:n], nil 2159 } 2160 2161 func (m *GroupVersion) MarshalTo(dAtA []byte) (int, error) { 2162 size := m.Size() 2163 return m.MarshalToSizedBuffer(dAtA[:size]) 2164 } 2165 2166 func (m *GroupVersion) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2167 i := len(dAtA) 2168 _ = i 2169 var l int 2170 _ = l 2171 i -= len(m.Version) 2172 copy(dAtA[i:], m.Version) 2173 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) 2174 i-- 2175 dAtA[i] = 0x12 2176 i -= len(m.Group) 2177 copy(dAtA[i:], m.Group) 2178 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) 2179 i-- 2180 dAtA[i] = 0xa 2181 return len(dAtA) - i, nil 2182 } 2183 2184 func (m *GroupVersionForDiscovery) Marshal() (dAtA []byte, err error) { 2185 size := m.Size() 2186 dAtA = make([]byte, size) 2187 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2188 if err != nil { 2189 return nil, err 2190 } 2191 return dAtA[:n], nil 2192 } 2193 2194 func (m *GroupVersionForDiscovery) MarshalTo(dAtA []byte) (int, error) { 2195 size := m.Size() 2196 return m.MarshalToSizedBuffer(dAtA[:size]) 2197 } 2198 2199 func (m *GroupVersionForDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2200 i := len(dAtA) 2201 _ = i 2202 var l int 2203 _ = l 2204 i -= len(m.Version) 2205 copy(dAtA[i:], m.Version) 2206 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) 2207 i-- 2208 dAtA[i] = 0x12 2209 i -= len(m.GroupVersion) 2210 copy(dAtA[i:], m.GroupVersion) 2211 i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupVersion))) 2212 i-- 2213 dAtA[i] = 0xa 2214 return len(dAtA) - i, nil 2215 } 2216 2217 func (m *GroupVersionKind) Marshal() (dAtA []byte, err error) { 2218 size := m.Size() 2219 dAtA = make([]byte, size) 2220 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2221 if err != nil { 2222 return nil, err 2223 } 2224 return dAtA[:n], nil 2225 } 2226 2227 func (m *GroupVersionKind) MarshalTo(dAtA []byte) (int, error) { 2228 size := m.Size() 2229 return m.MarshalToSizedBuffer(dAtA[:size]) 2230 } 2231 2232 func (m *GroupVersionKind) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2233 i := len(dAtA) 2234 _ = i 2235 var l int 2236 _ = l 2237 i -= len(m.Kind) 2238 copy(dAtA[i:], m.Kind) 2239 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) 2240 i-- 2241 dAtA[i] = 0x1a 2242 i -= len(m.Version) 2243 copy(dAtA[i:], m.Version) 2244 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) 2245 i-- 2246 dAtA[i] = 0x12 2247 i -= len(m.Group) 2248 copy(dAtA[i:], m.Group) 2249 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) 2250 i-- 2251 dAtA[i] = 0xa 2252 return len(dAtA) - i, nil 2253 } 2254 2255 func (m *GroupVersionResource) Marshal() (dAtA []byte, err error) { 2256 size := m.Size() 2257 dAtA = make([]byte, size) 2258 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2259 if err != nil { 2260 return nil, err 2261 } 2262 return dAtA[:n], nil 2263 } 2264 2265 func (m *GroupVersionResource) MarshalTo(dAtA []byte) (int, error) { 2266 size := m.Size() 2267 return m.MarshalToSizedBuffer(dAtA[:size]) 2268 } 2269 2270 func (m *GroupVersionResource) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2271 i := len(dAtA) 2272 _ = i 2273 var l int 2274 _ = l 2275 i -= len(m.Resource) 2276 copy(dAtA[i:], m.Resource) 2277 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource))) 2278 i-- 2279 dAtA[i] = 0x1a 2280 i -= len(m.Version) 2281 copy(dAtA[i:], m.Version) 2282 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) 2283 i-- 2284 dAtA[i] = 0x12 2285 i -= len(m.Group) 2286 copy(dAtA[i:], m.Group) 2287 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) 2288 i-- 2289 dAtA[i] = 0xa 2290 return len(dAtA) - i, nil 2291 } 2292 2293 func (m *LabelSelector) Marshal() (dAtA []byte, err error) { 2294 size := m.Size() 2295 dAtA = make([]byte, size) 2296 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2297 if err != nil { 2298 return nil, err 2299 } 2300 return dAtA[:n], nil 2301 } 2302 2303 func (m *LabelSelector) MarshalTo(dAtA []byte) (int, error) { 2304 size := m.Size() 2305 return m.MarshalToSizedBuffer(dAtA[:size]) 2306 } 2307 2308 func (m *LabelSelector) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2309 i := len(dAtA) 2310 _ = i 2311 var l int 2312 _ = l 2313 if len(m.MatchExpressions) > 0 { 2314 for iNdEx := len(m.MatchExpressions) - 1; iNdEx >= 0; iNdEx-- { 2315 { 2316 size, err := m.MatchExpressions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 2317 if err != nil { 2318 return 0, err 2319 } 2320 i -= size 2321 i = encodeVarintGenerated(dAtA, i, uint64(size)) 2322 } 2323 i-- 2324 dAtA[i] = 0x12 2325 } 2326 } 2327 if len(m.MatchLabels) > 0 { 2328 keysForMatchLabels := make([]string, 0, len(m.MatchLabels)) 2329 for k := range m.MatchLabels { 2330 keysForMatchLabels = append(keysForMatchLabels, string(k)) 2331 } 2332 github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels) 2333 for iNdEx := len(keysForMatchLabels) - 1; iNdEx >= 0; iNdEx-- { 2334 v := m.MatchLabels[string(keysForMatchLabels[iNdEx])] 2335 baseI := i 2336 i -= len(v) 2337 copy(dAtA[i:], v) 2338 i = encodeVarintGenerated(dAtA, i, uint64(len(v))) 2339 i-- 2340 dAtA[i] = 0x12 2341 i -= len(keysForMatchLabels[iNdEx]) 2342 copy(dAtA[i:], keysForMatchLabels[iNdEx]) 2343 i = encodeVarintGenerated(dAtA, i, uint64(len(keysForMatchLabels[iNdEx]))) 2344 i-- 2345 dAtA[i] = 0xa 2346 i = encodeVarintGenerated(dAtA, i, uint64(baseI-i)) 2347 i-- 2348 dAtA[i] = 0xa 2349 } 2350 } 2351 return len(dAtA) - i, nil 2352 } 2353 2354 func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error) { 2355 size := m.Size() 2356 dAtA = make([]byte, size) 2357 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2358 if err != nil { 2359 return nil, err 2360 } 2361 return dAtA[:n], nil 2362 } 2363 2364 func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error) { 2365 size := m.Size() 2366 return m.MarshalToSizedBuffer(dAtA[:size]) 2367 } 2368 2369 func (m *LabelSelectorRequirement) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2370 i := len(dAtA) 2371 _ = i 2372 var l int 2373 _ = l 2374 if len(m.Values) > 0 { 2375 for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- { 2376 i -= len(m.Values[iNdEx]) 2377 copy(dAtA[i:], m.Values[iNdEx]) 2378 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Values[iNdEx]))) 2379 i-- 2380 dAtA[i] = 0x1a 2381 } 2382 } 2383 i -= len(m.Operator) 2384 copy(dAtA[i:], m.Operator) 2385 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator))) 2386 i-- 2387 dAtA[i] = 0x12 2388 i -= len(m.Key) 2389 copy(dAtA[i:], m.Key) 2390 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key))) 2391 i-- 2392 dAtA[i] = 0xa 2393 return len(dAtA) - i, nil 2394 } 2395 2396 func (m *List) Marshal() (dAtA []byte, err error) { 2397 size := m.Size() 2398 dAtA = make([]byte, size) 2399 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2400 if err != nil { 2401 return nil, err 2402 } 2403 return dAtA[:n], nil 2404 } 2405 2406 func (m *List) MarshalTo(dAtA []byte) (int, error) { 2407 size := m.Size() 2408 return m.MarshalToSizedBuffer(dAtA[:size]) 2409 } 2410 2411 func (m *List) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2412 i := len(dAtA) 2413 _ = i 2414 var l int 2415 _ = l 2416 if len(m.Items) > 0 { 2417 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 2418 { 2419 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 2420 if err != nil { 2421 return 0, err 2422 } 2423 i -= size 2424 i = encodeVarintGenerated(dAtA, i, uint64(size)) 2425 } 2426 i-- 2427 dAtA[i] = 0x12 2428 } 2429 } 2430 { 2431 size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i]) 2432 if err != nil { 2433 return 0, err 2434 } 2435 i -= size 2436 i = encodeVarintGenerated(dAtA, i, uint64(size)) 2437 } 2438 i-- 2439 dAtA[i] = 0xa 2440 return len(dAtA) - i, nil 2441 } 2442 2443 func (m *ListMeta) Marshal() (dAtA []byte, err error) { 2444 size := m.Size() 2445 dAtA = make([]byte, size) 2446 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2447 if err != nil { 2448 return nil, err 2449 } 2450 return dAtA[:n], nil 2451 } 2452 2453 func (m *ListMeta) MarshalTo(dAtA []byte) (int, error) { 2454 size := m.Size() 2455 return m.MarshalToSizedBuffer(dAtA[:size]) 2456 } 2457 2458 func (m *ListMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2459 i := len(dAtA) 2460 _ = i 2461 var l int 2462 _ = l 2463 if m.RemainingItemCount != nil { 2464 i = encodeVarintGenerated(dAtA, i, uint64(*m.RemainingItemCount)) 2465 i-- 2466 dAtA[i] = 0x20 2467 } 2468 i -= len(m.Continue) 2469 copy(dAtA[i:], m.Continue) 2470 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Continue))) 2471 i-- 2472 dAtA[i] = 0x1a 2473 i -= len(m.ResourceVersion) 2474 copy(dAtA[i:], m.ResourceVersion) 2475 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion))) 2476 i-- 2477 dAtA[i] = 0x12 2478 i -= len(m.SelfLink) 2479 copy(dAtA[i:], m.SelfLink) 2480 i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink))) 2481 i-- 2482 dAtA[i] = 0xa 2483 return len(dAtA) - i, nil 2484 } 2485 2486 func (m *ListOptions) Marshal() (dAtA []byte, err error) { 2487 size := m.Size() 2488 dAtA = make([]byte, size) 2489 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2490 if err != nil { 2491 return nil, err 2492 } 2493 return dAtA[:n], nil 2494 } 2495 2496 func (m *ListOptions) MarshalTo(dAtA []byte) (int, error) { 2497 size := m.Size() 2498 return m.MarshalToSizedBuffer(dAtA[:size]) 2499 } 2500 2501 func (m *ListOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2502 i := len(dAtA) 2503 _ = i 2504 var l int 2505 _ = l 2506 i -= len(m.ResourceVersionMatch) 2507 copy(dAtA[i:], m.ResourceVersionMatch) 2508 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersionMatch))) 2509 i-- 2510 dAtA[i] = 0x52 2511 i-- 2512 if m.AllowWatchBookmarks { 2513 dAtA[i] = 1 2514 } else { 2515 dAtA[i] = 0 2516 } 2517 i-- 2518 dAtA[i] = 0x48 2519 i -= len(m.Continue) 2520 copy(dAtA[i:], m.Continue) 2521 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Continue))) 2522 i-- 2523 dAtA[i] = 0x42 2524 i = encodeVarintGenerated(dAtA, i, uint64(m.Limit)) 2525 i-- 2526 dAtA[i] = 0x38 2527 if m.TimeoutSeconds != nil { 2528 i = encodeVarintGenerated(dAtA, i, uint64(*m.TimeoutSeconds)) 2529 i-- 2530 dAtA[i] = 0x28 2531 } 2532 i -= len(m.ResourceVersion) 2533 copy(dAtA[i:], m.ResourceVersion) 2534 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion))) 2535 i-- 2536 dAtA[i] = 0x22 2537 i-- 2538 if m.Watch { 2539 dAtA[i] = 1 2540 } else { 2541 dAtA[i] = 0 2542 } 2543 i-- 2544 dAtA[i] = 0x18 2545 i -= len(m.FieldSelector) 2546 copy(dAtA[i:], m.FieldSelector) 2547 i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldSelector))) 2548 i-- 2549 dAtA[i] = 0x12 2550 i -= len(m.LabelSelector) 2551 copy(dAtA[i:], m.LabelSelector) 2552 i = encodeVarintGenerated(dAtA, i, uint64(len(m.LabelSelector))) 2553 i-- 2554 dAtA[i] = 0xa 2555 return len(dAtA) - i, nil 2556 } 2557 2558 func (m *ManagedFieldsEntry) Marshal() (dAtA []byte, err error) { 2559 size := m.Size() 2560 dAtA = make([]byte, size) 2561 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2562 if err != nil { 2563 return nil, err 2564 } 2565 return dAtA[:n], nil 2566 } 2567 2568 func (m *ManagedFieldsEntry) MarshalTo(dAtA []byte) (int, error) { 2569 size := m.Size() 2570 return m.MarshalToSizedBuffer(dAtA[:size]) 2571 } 2572 2573 func (m *ManagedFieldsEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2574 i := len(dAtA) 2575 _ = i 2576 var l int 2577 _ = l 2578 i -= len(m.Subresource) 2579 copy(dAtA[i:], m.Subresource) 2580 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Subresource))) 2581 i-- 2582 dAtA[i] = 0x42 2583 if m.FieldsV1 != nil { 2584 { 2585 size, err := m.FieldsV1.MarshalToSizedBuffer(dAtA[:i]) 2586 if err != nil { 2587 return 0, err 2588 } 2589 i -= size 2590 i = encodeVarintGenerated(dAtA, i, uint64(size)) 2591 } 2592 i-- 2593 dAtA[i] = 0x3a 2594 } 2595 i -= len(m.FieldsType) 2596 copy(dAtA[i:], m.FieldsType) 2597 i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldsType))) 2598 i-- 2599 dAtA[i] = 0x32 2600 if m.Time != nil { 2601 { 2602 size, err := m.Time.MarshalToSizedBuffer(dAtA[:i]) 2603 if err != nil { 2604 return 0, err 2605 } 2606 i -= size 2607 i = encodeVarintGenerated(dAtA, i, uint64(size)) 2608 } 2609 i-- 2610 dAtA[i] = 0x22 2611 } 2612 i -= len(m.APIVersion) 2613 copy(dAtA[i:], m.APIVersion) 2614 i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion))) 2615 i-- 2616 dAtA[i] = 0x1a 2617 i -= len(m.Operation) 2618 copy(dAtA[i:], m.Operation) 2619 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operation))) 2620 i-- 2621 dAtA[i] = 0x12 2622 i -= len(m.Manager) 2623 copy(dAtA[i:], m.Manager) 2624 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Manager))) 2625 i-- 2626 dAtA[i] = 0xa 2627 return len(dAtA) - i, nil 2628 } 2629 2630 func (m *ObjectMeta) Marshal() (dAtA []byte, err error) { 2631 size := m.Size() 2632 dAtA = make([]byte, size) 2633 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2634 if err != nil { 2635 return nil, err 2636 } 2637 return dAtA[:n], nil 2638 } 2639 2640 func (m *ObjectMeta) MarshalTo(dAtA []byte) (int, error) { 2641 size := m.Size() 2642 return m.MarshalToSizedBuffer(dAtA[:size]) 2643 } 2644 2645 func (m *ObjectMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2646 i := len(dAtA) 2647 _ = i 2648 var l int 2649 _ = l 2650 if len(m.ManagedFields) > 0 { 2651 for iNdEx := len(m.ManagedFields) - 1; iNdEx >= 0; iNdEx-- { 2652 { 2653 size, err := m.ManagedFields[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 2654 if err != nil { 2655 return 0, err 2656 } 2657 i -= size 2658 i = encodeVarintGenerated(dAtA, i, uint64(size)) 2659 } 2660 i-- 2661 dAtA[i] = 0x1 2662 i-- 2663 dAtA[i] = 0x8a 2664 } 2665 } 2666 if len(m.Finalizers) > 0 { 2667 for iNdEx := len(m.Finalizers) - 1; iNdEx >= 0; iNdEx-- { 2668 i -= len(m.Finalizers[iNdEx]) 2669 copy(dAtA[i:], m.Finalizers[iNdEx]) 2670 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Finalizers[iNdEx]))) 2671 i-- 2672 dAtA[i] = 0x72 2673 } 2674 } 2675 if len(m.OwnerReferences) > 0 { 2676 for iNdEx := len(m.OwnerReferences) - 1; iNdEx >= 0; iNdEx-- { 2677 { 2678 size, err := m.OwnerReferences[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 2679 if err != nil { 2680 return 0, err 2681 } 2682 i -= size 2683 i = encodeVarintGenerated(dAtA, i, uint64(size)) 2684 } 2685 i-- 2686 dAtA[i] = 0x6a 2687 } 2688 } 2689 if len(m.Annotations) > 0 { 2690 keysForAnnotations := make([]string, 0, len(m.Annotations)) 2691 for k := range m.Annotations { 2692 keysForAnnotations = append(keysForAnnotations, string(k)) 2693 } 2694 github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations) 2695 for iNdEx := len(keysForAnnotations) - 1; iNdEx >= 0; iNdEx-- { 2696 v := m.Annotations[string(keysForAnnotations[iNdEx])] 2697 baseI := i 2698 i -= len(v) 2699 copy(dAtA[i:], v) 2700 i = encodeVarintGenerated(dAtA, i, uint64(len(v))) 2701 i-- 2702 dAtA[i] = 0x12 2703 i -= len(keysForAnnotations[iNdEx]) 2704 copy(dAtA[i:], keysForAnnotations[iNdEx]) 2705 i = encodeVarintGenerated(dAtA, i, uint64(len(keysForAnnotations[iNdEx]))) 2706 i-- 2707 dAtA[i] = 0xa 2708 i = encodeVarintGenerated(dAtA, i, uint64(baseI-i)) 2709 i-- 2710 dAtA[i] = 0x62 2711 } 2712 } 2713 if len(m.Labels) > 0 { 2714 keysForLabels := make([]string, 0, len(m.Labels)) 2715 for k := range m.Labels { 2716 keysForLabels = append(keysForLabels, string(k)) 2717 } 2718 github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) 2719 for iNdEx := len(keysForLabels) - 1; iNdEx >= 0; iNdEx-- { 2720 v := m.Labels[string(keysForLabels[iNdEx])] 2721 baseI := i 2722 i -= len(v) 2723 copy(dAtA[i:], v) 2724 i = encodeVarintGenerated(dAtA, i, uint64(len(v))) 2725 i-- 2726 dAtA[i] = 0x12 2727 i -= len(keysForLabels[iNdEx]) 2728 copy(dAtA[i:], keysForLabels[iNdEx]) 2729 i = encodeVarintGenerated(dAtA, i, uint64(len(keysForLabels[iNdEx]))) 2730 i-- 2731 dAtA[i] = 0xa 2732 i = encodeVarintGenerated(dAtA, i, uint64(baseI-i)) 2733 i-- 2734 dAtA[i] = 0x5a 2735 } 2736 } 2737 if m.DeletionGracePeriodSeconds != nil { 2738 i = encodeVarintGenerated(dAtA, i, uint64(*m.DeletionGracePeriodSeconds)) 2739 i-- 2740 dAtA[i] = 0x50 2741 } 2742 if m.DeletionTimestamp != nil { 2743 { 2744 size, err := m.DeletionTimestamp.MarshalToSizedBuffer(dAtA[:i]) 2745 if err != nil { 2746 return 0, err 2747 } 2748 i -= size 2749 i = encodeVarintGenerated(dAtA, i, uint64(size)) 2750 } 2751 i-- 2752 dAtA[i] = 0x4a 2753 } 2754 { 2755 size, err := m.CreationTimestamp.MarshalToSizedBuffer(dAtA[:i]) 2756 if err != nil { 2757 return 0, err 2758 } 2759 i -= size 2760 i = encodeVarintGenerated(dAtA, i, uint64(size)) 2761 } 2762 i-- 2763 dAtA[i] = 0x42 2764 i = encodeVarintGenerated(dAtA, i, uint64(m.Generation)) 2765 i-- 2766 dAtA[i] = 0x38 2767 i -= len(m.ResourceVersion) 2768 copy(dAtA[i:], m.ResourceVersion) 2769 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion))) 2770 i-- 2771 dAtA[i] = 0x32 2772 i -= len(m.UID) 2773 copy(dAtA[i:], m.UID) 2774 i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID))) 2775 i-- 2776 dAtA[i] = 0x2a 2777 i -= len(m.SelfLink) 2778 copy(dAtA[i:], m.SelfLink) 2779 i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink))) 2780 i-- 2781 dAtA[i] = 0x22 2782 i -= len(m.Namespace) 2783 copy(dAtA[i:], m.Namespace) 2784 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace))) 2785 i-- 2786 dAtA[i] = 0x1a 2787 i -= len(m.GenerateName) 2788 copy(dAtA[i:], m.GenerateName) 2789 i = encodeVarintGenerated(dAtA, i, uint64(len(m.GenerateName))) 2790 i-- 2791 dAtA[i] = 0x12 2792 i -= len(m.Name) 2793 copy(dAtA[i:], m.Name) 2794 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) 2795 i-- 2796 dAtA[i] = 0xa 2797 return len(dAtA) - i, nil 2798 } 2799 2800 func (m *OwnerReference) Marshal() (dAtA []byte, err error) { 2801 size := m.Size() 2802 dAtA = make([]byte, size) 2803 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2804 if err != nil { 2805 return nil, err 2806 } 2807 return dAtA[:n], nil 2808 } 2809 2810 func (m *OwnerReference) MarshalTo(dAtA []byte) (int, error) { 2811 size := m.Size() 2812 return m.MarshalToSizedBuffer(dAtA[:size]) 2813 } 2814 2815 func (m *OwnerReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2816 i := len(dAtA) 2817 _ = i 2818 var l int 2819 _ = l 2820 if m.BlockOwnerDeletion != nil { 2821 i-- 2822 if *m.BlockOwnerDeletion { 2823 dAtA[i] = 1 2824 } else { 2825 dAtA[i] = 0 2826 } 2827 i-- 2828 dAtA[i] = 0x38 2829 } 2830 if m.Controller != nil { 2831 i-- 2832 if *m.Controller { 2833 dAtA[i] = 1 2834 } else { 2835 dAtA[i] = 0 2836 } 2837 i-- 2838 dAtA[i] = 0x30 2839 } 2840 i -= len(m.APIVersion) 2841 copy(dAtA[i:], m.APIVersion) 2842 i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion))) 2843 i-- 2844 dAtA[i] = 0x2a 2845 i -= len(m.UID) 2846 copy(dAtA[i:], m.UID) 2847 i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID))) 2848 i-- 2849 dAtA[i] = 0x22 2850 i -= len(m.Name) 2851 copy(dAtA[i:], m.Name) 2852 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) 2853 i-- 2854 dAtA[i] = 0x1a 2855 i -= len(m.Kind) 2856 copy(dAtA[i:], m.Kind) 2857 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) 2858 i-- 2859 dAtA[i] = 0xa 2860 return len(dAtA) - i, nil 2861 } 2862 2863 func (m *PartialObjectMetadata) Marshal() (dAtA []byte, err error) { 2864 size := m.Size() 2865 dAtA = make([]byte, size) 2866 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2867 if err != nil { 2868 return nil, err 2869 } 2870 return dAtA[:n], nil 2871 } 2872 2873 func (m *PartialObjectMetadata) MarshalTo(dAtA []byte) (int, error) { 2874 size := m.Size() 2875 return m.MarshalToSizedBuffer(dAtA[:size]) 2876 } 2877 2878 func (m *PartialObjectMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2879 i := len(dAtA) 2880 _ = i 2881 var l int 2882 _ = l 2883 { 2884 size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i]) 2885 if err != nil { 2886 return 0, err 2887 } 2888 i -= size 2889 i = encodeVarintGenerated(dAtA, i, uint64(size)) 2890 } 2891 i-- 2892 dAtA[i] = 0xa 2893 return len(dAtA) - i, nil 2894 } 2895 2896 func (m *PartialObjectMetadataList) Marshal() (dAtA []byte, err error) { 2897 size := m.Size() 2898 dAtA = make([]byte, size) 2899 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2900 if err != nil { 2901 return nil, err 2902 } 2903 return dAtA[:n], nil 2904 } 2905 2906 func (m *PartialObjectMetadataList) MarshalTo(dAtA []byte) (int, error) { 2907 size := m.Size() 2908 return m.MarshalToSizedBuffer(dAtA[:size]) 2909 } 2910 2911 func (m *PartialObjectMetadataList) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2912 i := len(dAtA) 2913 _ = i 2914 var l int 2915 _ = l 2916 if len(m.Items) > 0 { 2917 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 2918 { 2919 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 2920 if err != nil { 2921 return 0, err 2922 } 2923 i -= size 2924 i = encodeVarintGenerated(dAtA, i, uint64(size)) 2925 } 2926 i-- 2927 dAtA[i] = 0x12 2928 } 2929 } 2930 { 2931 size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i]) 2932 if err != nil { 2933 return 0, err 2934 } 2935 i -= size 2936 i = encodeVarintGenerated(dAtA, i, uint64(size)) 2937 } 2938 i-- 2939 dAtA[i] = 0xa 2940 return len(dAtA) - i, nil 2941 } 2942 2943 func (m *Patch) Marshal() (dAtA []byte, err error) { 2944 size := m.Size() 2945 dAtA = make([]byte, size) 2946 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2947 if err != nil { 2948 return nil, err 2949 } 2950 return dAtA[:n], nil 2951 } 2952 2953 func (m *Patch) MarshalTo(dAtA []byte) (int, error) { 2954 size := m.Size() 2955 return m.MarshalToSizedBuffer(dAtA[:size]) 2956 } 2957 2958 func (m *Patch) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2959 i := len(dAtA) 2960 _ = i 2961 var l int 2962 _ = l 2963 return len(dAtA) - i, nil 2964 } 2965 2966 func (m *PatchOptions) Marshal() (dAtA []byte, err error) { 2967 size := m.Size() 2968 dAtA = make([]byte, size) 2969 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2970 if err != nil { 2971 return nil, err 2972 } 2973 return dAtA[:n], nil 2974 } 2975 2976 func (m *PatchOptions) MarshalTo(dAtA []byte) (int, error) { 2977 size := m.Size() 2978 return m.MarshalToSizedBuffer(dAtA[:size]) 2979 } 2980 2981 func (m *PatchOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2982 i := len(dAtA) 2983 _ = i 2984 var l int 2985 _ = l 2986 i -= len(m.FieldValidation) 2987 copy(dAtA[i:], m.FieldValidation) 2988 i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldValidation))) 2989 i-- 2990 dAtA[i] = 0x22 2991 i -= len(m.FieldManager) 2992 copy(dAtA[i:], m.FieldManager) 2993 i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldManager))) 2994 i-- 2995 dAtA[i] = 0x1a 2996 if m.Force != nil { 2997 i-- 2998 if *m.Force { 2999 dAtA[i] = 1 3000 } else { 3001 dAtA[i] = 0 3002 } 3003 i-- 3004 dAtA[i] = 0x10 3005 } 3006 if len(m.DryRun) > 0 { 3007 for iNdEx := len(m.DryRun) - 1; iNdEx >= 0; iNdEx-- { 3008 i -= len(m.DryRun[iNdEx]) 3009 copy(dAtA[i:], m.DryRun[iNdEx]) 3010 i = encodeVarintGenerated(dAtA, i, uint64(len(m.DryRun[iNdEx]))) 3011 i-- 3012 dAtA[i] = 0xa 3013 } 3014 } 3015 return len(dAtA) - i, nil 3016 } 3017 3018 func (m *Preconditions) Marshal() (dAtA []byte, err error) { 3019 size := m.Size() 3020 dAtA = make([]byte, size) 3021 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3022 if err != nil { 3023 return nil, err 3024 } 3025 return dAtA[:n], nil 3026 } 3027 3028 func (m *Preconditions) MarshalTo(dAtA []byte) (int, error) { 3029 size := m.Size() 3030 return m.MarshalToSizedBuffer(dAtA[:size]) 3031 } 3032 3033 func (m *Preconditions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3034 i := len(dAtA) 3035 _ = i 3036 var l int 3037 _ = l 3038 if m.ResourceVersion != nil { 3039 i -= len(*m.ResourceVersion) 3040 copy(dAtA[i:], *m.ResourceVersion) 3041 i = encodeVarintGenerated(dAtA, i, uint64(len(*m.ResourceVersion))) 3042 i-- 3043 dAtA[i] = 0x12 3044 } 3045 if m.UID != nil { 3046 i -= len(*m.UID) 3047 copy(dAtA[i:], *m.UID) 3048 i = encodeVarintGenerated(dAtA, i, uint64(len(*m.UID))) 3049 i-- 3050 dAtA[i] = 0xa 3051 } 3052 return len(dAtA) - i, nil 3053 } 3054 3055 func (m *RootPaths) Marshal() (dAtA []byte, err error) { 3056 size := m.Size() 3057 dAtA = make([]byte, size) 3058 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3059 if err != nil { 3060 return nil, err 3061 } 3062 return dAtA[:n], nil 3063 } 3064 3065 func (m *RootPaths) MarshalTo(dAtA []byte) (int, error) { 3066 size := m.Size() 3067 return m.MarshalToSizedBuffer(dAtA[:size]) 3068 } 3069 3070 func (m *RootPaths) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3071 i := len(dAtA) 3072 _ = i 3073 var l int 3074 _ = l 3075 if len(m.Paths) > 0 { 3076 for iNdEx := len(m.Paths) - 1; iNdEx >= 0; iNdEx-- { 3077 i -= len(m.Paths[iNdEx]) 3078 copy(dAtA[i:], m.Paths[iNdEx]) 3079 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Paths[iNdEx]))) 3080 i-- 3081 dAtA[i] = 0xa 3082 } 3083 } 3084 return len(dAtA) - i, nil 3085 } 3086 3087 func (m *ServerAddressByClientCIDR) Marshal() (dAtA []byte, err error) { 3088 size := m.Size() 3089 dAtA = make([]byte, size) 3090 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3091 if err != nil { 3092 return nil, err 3093 } 3094 return dAtA[:n], nil 3095 } 3096 3097 func (m *ServerAddressByClientCIDR) MarshalTo(dAtA []byte) (int, error) { 3098 size := m.Size() 3099 return m.MarshalToSizedBuffer(dAtA[:size]) 3100 } 3101 3102 func (m *ServerAddressByClientCIDR) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3103 i := len(dAtA) 3104 _ = i 3105 var l int 3106 _ = l 3107 i -= len(m.ServerAddress) 3108 copy(dAtA[i:], m.ServerAddress) 3109 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServerAddress))) 3110 i-- 3111 dAtA[i] = 0x12 3112 i -= len(m.ClientCIDR) 3113 copy(dAtA[i:], m.ClientCIDR) 3114 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClientCIDR))) 3115 i-- 3116 dAtA[i] = 0xa 3117 return len(dAtA) - i, nil 3118 } 3119 3120 func (m *Status) Marshal() (dAtA []byte, err error) { 3121 size := m.Size() 3122 dAtA = make([]byte, size) 3123 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3124 if err != nil { 3125 return nil, err 3126 } 3127 return dAtA[:n], nil 3128 } 3129 3130 func (m *Status) MarshalTo(dAtA []byte) (int, error) { 3131 size := m.Size() 3132 return m.MarshalToSizedBuffer(dAtA[:size]) 3133 } 3134 3135 func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3136 i := len(dAtA) 3137 _ = i 3138 var l int 3139 _ = l 3140 i = encodeVarintGenerated(dAtA, i, uint64(m.Code)) 3141 i-- 3142 dAtA[i] = 0x30 3143 if m.Details != nil { 3144 { 3145 size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) 3146 if err != nil { 3147 return 0, err 3148 } 3149 i -= size 3150 i = encodeVarintGenerated(dAtA, i, uint64(size)) 3151 } 3152 i-- 3153 dAtA[i] = 0x2a 3154 } 3155 i -= len(m.Reason) 3156 copy(dAtA[i:], m.Reason) 3157 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) 3158 i-- 3159 dAtA[i] = 0x22 3160 i -= len(m.Message) 3161 copy(dAtA[i:], m.Message) 3162 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) 3163 i-- 3164 dAtA[i] = 0x1a 3165 i -= len(m.Status) 3166 copy(dAtA[i:], m.Status) 3167 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) 3168 i-- 3169 dAtA[i] = 0x12 3170 { 3171 size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i]) 3172 if err != nil { 3173 return 0, err 3174 } 3175 i -= size 3176 i = encodeVarintGenerated(dAtA, i, uint64(size)) 3177 } 3178 i-- 3179 dAtA[i] = 0xa 3180 return len(dAtA) - i, nil 3181 } 3182 3183 func (m *StatusCause) Marshal() (dAtA []byte, err error) { 3184 size := m.Size() 3185 dAtA = make([]byte, size) 3186 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3187 if err != nil { 3188 return nil, err 3189 } 3190 return dAtA[:n], nil 3191 } 3192 3193 func (m *StatusCause) MarshalTo(dAtA []byte) (int, error) { 3194 size := m.Size() 3195 return m.MarshalToSizedBuffer(dAtA[:size]) 3196 } 3197 3198 func (m *StatusCause) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3199 i := len(dAtA) 3200 _ = i 3201 var l int 3202 _ = l 3203 i -= len(m.Field) 3204 copy(dAtA[i:], m.Field) 3205 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Field))) 3206 i-- 3207 dAtA[i] = 0x1a 3208 i -= len(m.Message) 3209 copy(dAtA[i:], m.Message) 3210 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) 3211 i-- 3212 dAtA[i] = 0x12 3213 i -= len(m.Type) 3214 copy(dAtA[i:], m.Type) 3215 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) 3216 i-- 3217 dAtA[i] = 0xa 3218 return len(dAtA) - i, nil 3219 } 3220 3221 func (m *StatusDetails) Marshal() (dAtA []byte, err error) { 3222 size := m.Size() 3223 dAtA = make([]byte, size) 3224 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3225 if err != nil { 3226 return nil, err 3227 } 3228 return dAtA[:n], nil 3229 } 3230 3231 func (m *StatusDetails) MarshalTo(dAtA []byte) (int, error) { 3232 size := m.Size() 3233 return m.MarshalToSizedBuffer(dAtA[:size]) 3234 } 3235 3236 func (m *StatusDetails) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3237 i := len(dAtA) 3238 _ = i 3239 var l int 3240 _ = l 3241 i -= len(m.UID) 3242 copy(dAtA[i:], m.UID) 3243 i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID))) 3244 i-- 3245 dAtA[i] = 0x32 3246 i = encodeVarintGenerated(dAtA, i, uint64(m.RetryAfterSeconds)) 3247 i-- 3248 dAtA[i] = 0x28 3249 if len(m.Causes) > 0 { 3250 for iNdEx := len(m.Causes) - 1; iNdEx >= 0; iNdEx-- { 3251 { 3252 size, err := m.Causes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 3253 if err != nil { 3254 return 0, err 3255 } 3256 i -= size 3257 i = encodeVarintGenerated(dAtA, i, uint64(size)) 3258 } 3259 i-- 3260 dAtA[i] = 0x22 3261 } 3262 } 3263 i -= len(m.Kind) 3264 copy(dAtA[i:], m.Kind) 3265 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) 3266 i-- 3267 dAtA[i] = 0x1a 3268 i -= len(m.Group) 3269 copy(dAtA[i:], m.Group) 3270 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) 3271 i-- 3272 dAtA[i] = 0x12 3273 i -= len(m.Name) 3274 copy(dAtA[i:], m.Name) 3275 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) 3276 i-- 3277 dAtA[i] = 0xa 3278 return len(dAtA) - i, nil 3279 } 3280 3281 func (m *TableOptions) Marshal() (dAtA []byte, err error) { 3282 size := m.Size() 3283 dAtA = make([]byte, size) 3284 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3285 if err != nil { 3286 return nil, err 3287 } 3288 return dAtA[:n], nil 3289 } 3290 3291 func (m *TableOptions) MarshalTo(dAtA []byte) (int, error) { 3292 size := m.Size() 3293 return m.MarshalToSizedBuffer(dAtA[:size]) 3294 } 3295 3296 func (m *TableOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3297 i := len(dAtA) 3298 _ = i 3299 var l int 3300 _ = l 3301 i -= len(m.IncludeObject) 3302 copy(dAtA[i:], m.IncludeObject) 3303 i = encodeVarintGenerated(dAtA, i, uint64(len(m.IncludeObject))) 3304 i-- 3305 dAtA[i] = 0xa 3306 return len(dAtA) - i, nil 3307 } 3308 3309 func (m *Timestamp) Marshal() (dAtA []byte, err error) { 3310 size := m.Size() 3311 dAtA = make([]byte, size) 3312 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3313 if err != nil { 3314 return nil, err 3315 } 3316 return dAtA[:n], nil 3317 } 3318 3319 func (m *Timestamp) MarshalTo(dAtA []byte) (int, error) { 3320 size := m.Size() 3321 return m.MarshalToSizedBuffer(dAtA[:size]) 3322 } 3323 3324 func (m *Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3325 i := len(dAtA) 3326 _ = i 3327 var l int 3328 _ = l 3329 i = encodeVarintGenerated(dAtA, i, uint64(m.Nanos)) 3330 i-- 3331 dAtA[i] = 0x10 3332 i = encodeVarintGenerated(dAtA, i, uint64(m.Seconds)) 3333 i-- 3334 dAtA[i] = 0x8 3335 return len(dAtA) - i, nil 3336 } 3337 3338 func (m *TypeMeta) Marshal() (dAtA []byte, err error) { 3339 size := m.Size() 3340 dAtA = make([]byte, size) 3341 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3342 if err != nil { 3343 return nil, err 3344 } 3345 return dAtA[:n], nil 3346 } 3347 3348 func (m *TypeMeta) MarshalTo(dAtA []byte) (int, error) { 3349 size := m.Size() 3350 return m.MarshalToSizedBuffer(dAtA[:size]) 3351 } 3352 3353 func (m *TypeMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3354 i := len(dAtA) 3355 _ = i 3356 var l int 3357 _ = l 3358 i -= len(m.APIVersion) 3359 copy(dAtA[i:], m.APIVersion) 3360 i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion))) 3361 i-- 3362 dAtA[i] = 0x12 3363 i -= len(m.Kind) 3364 copy(dAtA[i:], m.Kind) 3365 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) 3366 i-- 3367 dAtA[i] = 0xa 3368 return len(dAtA) - i, nil 3369 } 3370 3371 func (m *UpdateOptions) Marshal() (dAtA []byte, err error) { 3372 size := m.Size() 3373 dAtA = make([]byte, size) 3374 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3375 if err != nil { 3376 return nil, err 3377 } 3378 return dAtA[:n], nil 3379 } 3380 3381 func (m *UpdateOptions) MarshalTo(dAtA []byte) (int, error) { 3382 size := m.Size() 3383 return m.MarshalToSizedBuffer(dAtA[:size]) 3384 } 3385 3386 func (m *UpdateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3387 i := len(dAtA) 3388 _ = i 3389 var l int 3390 _ = l 3391 i -= len(m.FieldValidation) 3392 copy(dAtA[i:], m.FieldValidation) 3393 i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldValidation))) 3394 i-- 3395 dAtA[i] = 0x1a 3396 i -= len(m.FieldManager) 3397 copy(dAtA[i:], m.FieldManager) 3398 i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldManager))) 3399 i-- 3400 dAtA[i] = 0x12 3401 if len(m.DryRun) > 0 { 3402 for iNdEx := len(m.DryRun) - 1; iNdEx >= 0; iNdEx-- { 3403 i -= len(m.DryRun[iNdEx]) 3404 copy(dAtA[i:], m.DryRun[iNdEx]) 3405 i = encodeVarintGenerated(dAtA, i, uint64(len(m.DryRun[iNdEx]))) 3406 i-- 3407 dAtA[i] = 0xa 3408 } 3409 } 3410 return len(dAtA) - i, nil 3411 } 3412 3413 func (m Verbs) Marshal() (dAtA []byte, err error) { 3414 size := m.Size() 3415 dAtA = make([]byte, size) 3416 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3417 if err != nil { 3418 return nil, err 3419 } 3420 return dAtA[:n], nil 3421 } 3422 3423 func (m Verbs) MarshalTo(dAtA []byte) (int, error) { 3424 size := m.Size() 3425 return m.MarshalToSizedBuffer(dAtA[:size]) 3426 } 3427 3428 func (m Verbs) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3429 i := len(dAtA) 3430 _ = i 3431 var l int 3432 _ = l 3433 if len(m) > 0 { 3434 for iNdEx := len(m) - 1; iNdEx >= 0; iNdEx-- { 3435 i -= len(m[iNdEx]) 3436 copy(dAtA[i:], m[iNdEx]) 3437 i = encodeVarintGenerated(dAtA, i, uint64(len(m[iNdEx]))) 3438 i-- 3439 dAtA[i] = 0xa 3440 } 3441 } 3442 return len(dAtA) - i, nil 3443 } 3444 3445 func (m *WatchEvent) Marshal() (dAtA []byte, err error) { 3446 size := m.Size() 3447 dAtA = make([]byte, size) 3448 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3449 if err != nil { 3450 return nil, err 3451 } 3452 return dAtA[:n], nil 3453 } 3454 3455 func (m *WatchEvent) MarshalTo(dAtA []byte) (int, error) { 3456 size := m.Size() 3457 return m.MarshalToSizedBuffer(dAtA[:size]) 3458 } 3459 3460 func (m *WatchEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3461 i := len(dAtA) 3462 _ = i 3463 var l int 3464 _ = l 3465 { 3466 size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) 3467 if err != nil { 3468 return 0, err 3469 } 3470 i -= size 3471 i = encodeVarintGenerated(dAtA, i, uint64(size)) 3472 } 3473 i-- 3474 dAtA[i] = 0x12 3475 i -= len(m.Type) 3476 copy(dAtA[i:], m.Type) 3477 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) 3478 i-- 3479 dAtA[i] = 0xa 3480 return len(dAtA) - i, nil 3481 } 3482 3483 func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { 3484 offset -= sovGenerated(v) 3485 base := offset 3486 for v >= 1<<7 { 3487 dAtA[offset] = uint8(v&0x7f | 0x80) 3488 v >>= 7 3489 offset++ 3490 } 3491 dAtA[offset] = uint8(v) 3492 return base 3493 } 3494 func (m *APIGroup) Size() (n int) { 3495 if m == nil { 3496 return 0 3497 } 3498 var l int 3499 _ = l 3500 l = len(m.Name) 3501 n += 1 + l + sovGenerated(uint64(l)) 3502 if len(m.Versions) > 0 { 3503 for _, e := range m.Versions { 3504 l = e.Size() 3505 n += 1 + l + sovGenerated(uint64(l)) 3506 } 3507 } 3508 l = m.PreferredVersion.Size() 3509 n += 1 + l + sovGenerated(uint64(l)) 3510 if len(m.ServerAddressByClientCIDRs) > 0 { 3511 for _, e := range m.ServerAddressByClientCIDRs { 3512 l = e.Size() 3513 n += 1 + l + sovGenerated(uint64(l)) 3514 } 3515 } 3516 return n 3517 } 3518 3519 func (m *APIGroupList) Size() (n int) { 3520 if m == nil { 3521 return 0 3522 } 3523 var l int 3524 _ = l 3525 if len(m.Groups) > 0 { 3526 for _, e := range m.Groups { 3527 l = e.Size() 3528 n += 1 + l + sovGenerated(uint64(l)) 3529 } 3530 } 3531 return n 3532 } 3533 3534 func (m *APIResource) Size() (n int) { 3535 if m == nil { 3536 return 0 3537 } 3538 var l int 3539 _ = l 3540 l = len(m.Name) 3541 n += 1 + l + sovGenerated(uint64(l)) 3542 n += 2 3543 l = len(m.Kind) 3544 n += 1 + l + sovGenerated(uint64(l)) 3545 if m.Verbs != nil { 3546 l = m.Verbs.Size() 3547 n += 1 + l + sovGenerated(uint64(l)) 3548 } 3549 if len(m.ShortNames) > 0 { 3550 for _, s := range m.ShortNames { 3551 l = len(s) 3552 n += 1 + l + sovGenerated(uint64(l)) 3553 } 3554 } 3555 l = len(m.SingularName) 3556 n += 1 + l + sovGenerated(uint64(l)) 3557 if len(m.Categories) > 0 { 3558 for _, s := range m.Categories { 3559 l = len(s) 3560 n += 1 + l + sovGenerated(uint64(l)) 3561 } 3562 } 3563 l = len(m.Group) 3564 n += 1 + l + sovGenerated(uint64(l)) 3565 l = len(m.Version) 3566 n += 1 + l + sovGenerated(uint64(l)) 3567 l = len(m.StorageVersionHash) 3568 n += 1 + l + sovGenerated(uint64(l)) 3569 return n 3570 } 3571 3572 func (m *APIResourceList) Size() (n int) { 3573 if m == nil { 3574 return 0 3575 } 3576 var l int 3577 _ = l 3578 l = len(m.GroupVersion) 3579 n += 1 + l + sovGenerated(uint64(l)) 3580 if len(m.APIResources) > 0 { 3581 for _, e := range m.APIResources { 3582 l = e.Size() 3583 n += 1 + l + sovGenerated(uint64(l)) 3584 } 3585 } 3586 return n 3587 } 3588 3589 func (m *APIVersions) Size() (n int) { 3590 if m == nil { 3591 return 0 3592 } 3593 var l int 3594 _ = l 3595 if len(m.Versions) > 0 { 3596 for _, s := range m.Versions { 3597 l = len(s) 3598 n += 1 + l + sovGenerated(uint64(l)) 3599 } 3600 } 3601 if len(m.ServerAddressByClientCIDRs) > 0 { 3602 for _, e := range m.ServerAddressByClientCIDRs { 3603 l = e.Size() 3604 n += 1 + l + sovGenerated(uint64(l)) 3605 } 3606 } 3607 return n 3608 } 3609 3610 func (m *ApplyOptions) Size() (n int) { 3611 if m == nil { 3612 return 0 3613 } 3614 var l int 3615 _ = l 3616 if len(m.DryRun) > 0 { 3617 for _, s := range m.DryRun { 3618 l = len(s) 3619 n += 1 + l + sovGenerated(uint64(l)) 3620 } 3621 } 3622 n += 2 3623 l = len(m.FieldManager) 3624 n += 1 + l + sovGenerated(uint64(l)) 3625 return n 3626 } 3627 3628 func (m *Condition) Size() (n int) { 3629 if m == nil { 3630 return 0 3631 } 3632 var l int 3633 _ = l 3634 l = len(m.Type) 3635 n += 1 + l + sovGenerated(uint64(l)) 3636 l = len(m.Status) 3637 n += 1 + l + sovGenerated(uint64(l)) 3638 n += 1 + sovGenerated(uint64(m.ObservedGeneration)) 3639 l = m.LastTransitionTime.Size() 3640 n += 1 + l + sovGenerated(uint64(l)) 3641 l = len(m.Reason) 3642 n += 1 + l + sovGenerated(uint64(l)) 3643 l = len(m.Message) 3644 n += 1 + l + sovGenerated(uint64(l)) 3645 return n 3646 } 3647 3648 func (m *CreateOptions) Size() (n int) { 3649 if m == nil { 3650 return 0 3651 } 3652 var l int 3653 _ = l 3654 if len(m.DryRun) > 0 { 3655 for _, s := range m.DryRun { 3656 l = len(s) 3657 n += 1 + l + sovGenerated(uint64(l)) 3658 } 3659 } 3660 l = len(m.FieldManager) 3661 n += 1 + l + sovGenerated(uint64(l)) 3662 l = len(m.FieldValidation) 3663 n += 1 + l + sovGenerated(uint64(l)) 3664 return n 3665 } 3666 3667 func (m *DeleteOptions) Size() (n int) { 3668 if m == nil { 3669 return 0 3670 } 3671 var l int 3672 _ = l 3673 if m.GracePeriodSeconds != nil { 3674 n += 1 + sovGenerated(uint64(*m.GracePeriodSeconds)) 3675 } 3676 if m.Preconditions != nil { 3677 l = m.Preconditions.Size() 3678 n += 1 + l + sovGenerated(uint64(l)) 3679 } 3680 if m.OrphanDependents != nil { 3681 n += 2 3682 } 3683 if m.PropagationPolicy != nil { 3684 l = len(*m.PropagationPolicy) 3685 n += 1 + l + sovGenerated(uint64(l)) 3686 } 3687 if len(m.DryRun) > 0 { 3688 for _, s := range m.DryRun { 3689 l = len(s) 3690 n += 1 + l + sovGenerated(uint64(l)) 3691 } 3692 } 3693 return n 3694 } 3695 3696 func (m *Duration) Size() (n int) { 3697 if m == nil { 3698 return 0 3699 } 3700 var l int 3701 _ = l 3702 n += 1 + sovGenerated(uint64(m.Duration)) 3703 return n 3704 } 3705 3706 func (m *FieldsV1) Size() (n int) { 3707 if m == nil { 3708 return 0 3709 } 3710 var l int 3711 _ = l 3712 if m.Raw != nil { 3713 l = len(m.Raw) 3714 n += 1 + l + sovGenerated(uint64(l)) 3715 } 3716 return n 3717 } 3718 3719 func (m *GetOptions) Size() (n int) { 3720 if m == nil { 3721 return 0 3722 } 3723 var l int 3724 _ = l 3725 l = len(m.ResourceVersion) 3726 n += 1 + l + sovGenerated(uint64(l)) 3727 return n 3728 } 3729 3730 func (m *GroupKind) Size() (n int) { 3731 if m == nil { 3732 return 0 3733 } 3734 var l int 3735 _ = l 3736 l = len(m.Group) 3737 n += 1 + l + sovGenerated(uint64(l)) 3738 l = len(m.Kind) 3739 n += 1 + l + sovGenerated(uint64(l)) 3740 return n 3741 } 3742 3743 func (m *GroupResource) Size() (n int) { 3744 if m == nil { 3745 return 0 3746 } 3747 var l int 3748 _ = l 3749 l = len(m.Group) 3750 n += 1 + l + sovGenerated(uint64(l)) 3751 l = len(m.Resource) 3752 n += 1 + l + sovGenerated(uint64(l)) 3753 return n 3754 } 3755 3756 func (m *GroupVersion) Size() (n int) { 3757 if m == nil { 3758 return 0 3759 } 3760 var l int 3761 _ = l 3762 l = len(m.Group) 3763 n += 1 + l + sovGenerated(uint64(l)) 3764 l = len(m.Version) 3765 n += 1 + l + sovGenerated(uint64(l)) 3766 return n 3767 } 3768 3769 func (m *GroupVersionForDiscovery) Size() (n int) { 3770 if m == nil { 3771 return 0 3772 } 3773 var l int 3774 _ = l 3775 l = len(m.GroupVersion) 3776 n += 1 + l + sovGenerated(uint64(l)) 3777 l = len(m.Version) 3778 n += 1 + l + sovGenerated(uint64(l)) 3779 return n 3780 } 3781 3782 func (m *GroupVersionKind) Size() (n int) { 3783 if m == nil { 3784 return 0 3785 } 3786 var l int 3787 _ = l 3788 l = len(m.Group) 3789 n += 1 + l + sovGenerated(uint64(l)) 3790 l = len(m.Version) 3791 n += 1 + l + sovGenerated(uint64(l)) 3792 l = len(m.Kind) 3793 n += 1 + l + sovGenerated(uint64(l)) 3794 return n 3795 } 3796 3797 func (m *GroupVersionResource) Size() (n int) { 3798 if m == nil { 3799 return 0 3800 } 3801 var l int 3802 _ = l 3803 l = len(m.Group) 3804 n += 1 + l + sovGenerated(uint64(l)) 3805 l = len(m.Version) 3806 n += 1 + l + sovGenerated(uint64(l)) 3807 l = len(m.Resource) 3808 n += 1 + l + sovGenerated(uint64(l)) 3809 return n 3810 } 3811 3812 func (m *LabelSelector) Size() (n int) { 3813 if m == nil { 3814 return 0 3815 } 3816 var l int 3817 _ = l 3818 if len(m.MatchLabels) > 0 { 3819 for k, v := range m.MatchLabels { 3820 _ = k 3821 _ = v 3822 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) 3823 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) 3824 } 3825 } 3826 if len(m.MatchExpressions) > 0 { 3827 for _, e := range m.MatchExpressions { 3828 l = e.Size() 3829 n += 1 + l + sovGenerated(uint64(l)) 3830 } 3831 } 3832 return n 3833 } 3834 3835 func (m *LabelSelectorRequirement) Size() (n int) { 3836 if m == nil { 3837 return 0 3838 } 3839 var l int 3840 _ = l 3841 l = len(m.Key) 3842 n += 1 + l + sovGenerated(uint64(l)) 3843 l = len(m.Operator) 3844 n += 1 + l + sovGenerated(uint64(l)) 3845 if len(m.Values) > 0 { 3846 for _, s := range m.Values { 3847 l = len(s) 3848 n += 1 + l + sovGenerated(uint64(l)) 3849 } 3850 } 3851 return n 3852 } 3853 3854 func (m *List) Size() (n int) { 3855 if m == nil { 3856 return 0 3857 } 3858 var l int 3859 _ = l 3860 l = m.ListMeta.Size() 3861 n += 1 + l + sovGenerated(uint64(l)) 3862 if len(m.Items) > 0 { 3863 for _, e := range m.Items { 3864 l = e.Size() 3865 n += 1 + l + sovGenerated(uint64(l)) 3866 } 3867 } 3868 return n 3869 } 3870 3871 func (m *ListMeta) Size() (n int) { 3872 if m == nil { 3873 return 0 3874 } 3875 var l int 3876 _ = l 3877 l = len(m.SelfLink) 3878 n += 1 + l + sovGenerated(uint64(l)) 3879 l = len(m.ResourceVersion) 3880 n += 1 + l + sovGenerated(uint64(l)) 3881 l = len(m.Continue) 3882 n += 1 + l + sovGenerated(uint64(l)) 3883 if m.RemainingItemCount != nil { 3884 n += 1 + sovGenerated(uint64(*m.RemainingItemCount)) 3885 } 3886 return n 3887 } 3888 3889 func (m *ListOptions) Size() (n int) { 3890 if m == nil { 3891 return 0 3892 } 3893 var l int 3894 _ = l 3895 l = len(m.LabelSelector) 3896 n += 1 + l + sovGenerated(uint64(l)) 3897 l = len(m.FieldSelector) 3898 n += 1 + l + sovGenerated(uint64(l)) 3899 n += 2 3900 l = len(m.ResourceVersion) 3901 n += 1 + l + sovGenerated(uint64(l)) 3902 if m.TimeoutSeconds != nil { 3903 n += 1 + sovGenerated(uint64(*m.TimeoutSeconds)) 3904 } 3905 n += 1 + sovGenerated(uint64(m.Limit)) 3906 l = len(m.Continue) 3907 n += 1 + l + sovGenerated(uint64(l)) 3908 n += 2 3909 l = len(m.ResourceVersionMatch) 3910 n += 1 + l + sovGenerated(uint64(l)) 3911 return n 3912 } 3913 3914 func (m *ManagedFieldsEntry) Size() (n int) { 3915 if m == nil { 3916 return 0 3917 } 3918 var l int 3919 _ = l 3920 l = len(m.Manager) 3921 n += 1 + l + sovGenerated(uint64(l)) 3922 l = len(m.Operation) 3923 n += 1 + l + sovGenerated(uint64(l)) 3924 l = len(m.APIVersion) 3925 n += 1 + l + sovGenerated(uint64(l)) 3926 if m.Time != nil { 3927 l = m.Time.Size() 3928 n += 1 + l + sovGenerated(uint64(l)) 3929 } 3930 l = len(m.FieldsType) 3931 n += 1 + l + sovGenerated(uint64(l)) 3932 if m.FieldsV1 != nil { 3933 l = m.FieldsV1.Size() 3934 n += 1 + l + sovGenerated(uint64(l)) 3935 } 3936 l = len(m.Subresource) 3937 n += 1 + l + sovGenerated(uint64(l)) 3938 return n 3939 } 3940 3941 func (m *ObjectMeta) Size() (n int) { 3942 if m == nil { 3943 return 0 3944 } 3945 var l int 3946 _ = l 3947 l = len(m.Name) 3948 n += 1 + l + sovGenerated(uint64(l)) 3949 l = len(m.GenerateName) 3950 n += 1 + l + sovGenerated(uint64(l)) 3951 l = len(m.Namespace) 3952 n += 1 + l + sovGenerated(uint64(l)) 3953 l = len(m.SelfLink) 3954 n += 1 + l + sovGenerated(uint64(l)) 3955 l = len(m.UID) 3956 n += 1 + l + sovGenerated(uint64(l)) 3957 l = len(m.ResourceVersion) 3958 n += 1 + l + sovGenerated(uint64(l)) 3959 n += 1 + sovGenerated(uint64(m.Generation)) 3960 l = m.CreationTimestamp.Size() 3961 n += 1 + l + sovGenerated(uint64(l)) 3962 if m.DeletionTimestamp != nil { 3963 l = m.DeletionTimestamp.Size() 3964 n += 1 + l + sovGenerated(uint64(l)) 3965 } 3966 if m.DeletionGracePeriodSeconds != nil { 3967 n += 1 + sovGenerated(uint64(*m.DeletionGracePeriodSeconds)) 3968 } 3969 if len(m.Labels) > 0 { 3970 for k, v := range m.Labels { 3971 _ = k 3972 _ = v 3973 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) 3974 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) 3975 } 3976 } 3977 if len(m.Annotations) > 0 { 3978 for k, v := range m.Annotations { 3979 _ = k 3980 _ = v 3981 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) 3982 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) 3983 } 3984 } 3985 if len(m.OwnerReferences) > 0 { 3986 for _, e := range m.OwnerReferences { 3987 l = e.Size() 3988 n += 1 + l + sovGenerated(uint64(l)) 3989 } 3990 } 3991 if len(m.Finalizers) > 0 { 3992 for _, s := range m.Finalizers { 3993 l = len(s) 3994 n += 1 + l + sovGenerated(uint64(l)) 3995 } 3996 } 3997 if len(m.ManagedFields) > 0 { 3998 for _, e := range m.ManagedFields { 3999 l = e.Size() 4000 n += 2 + l + sovGenerated(uint64(l)) 4001 } 4002 } 4003 return n 4004 } 4005 4006 func (m *OwnerReference) Size() (n int) { 4007 if m == nil { 4008 return 0 4009 } 4010 var l int 4011 _ = l 4012 l = len(m.Kind) 4013 n += 1 + l + sovGenerated(uint64(l)) 4014 l = len(m.Name) 4015 n += 1 + l + sovGenerated(uint64(l)) 4016 l = len(m.UID) 4017 n += 1 + l + sovGenerated(uint64(l)) 4018 l = len(m.APIVersion) 4019 n += 1 + l + sovGenerated(uint64(l)) 4020 if m.Controller != nil { 4021 n += 2 4022 } 4023 if m.BlockOwnerDeletion != nil { 4024 n += 2 4025 } 4026 return n 4027 } 4028 4029 func (m *PartialObjectMetadata) Size() (n int) { 4030 if m == nil { 4031 return 0 4032 } 4033 var l int 4034 _ = l 4035 l = m.ObjectMeta.Size() 4036 n += 1 + l + sovGenerated(uint64(l)) 4037 return n 4038 } 4039 4040 func (m *PartialObjectMetadataList) Size() (n int) { 4041 if m == nil { 4042 return 0 4043 } 4044 var l int 4045 _ = l 4046 l = m.ListMeta.Size() 4047 n += 1 + l + sovGenerated(uint64(l)) 4048 if len(m.Items) > 0 { 4049 for _, e := range m.Items { 4050 l = e.Size() 4051 n += 1 + l + sovGenerated(uint64(l)) 4052 } 4053 } 4054 return n 4055 } 4056 4057 func (m *Patch) Size() (n int) { 4058 if m == nil { 4059 return 0 4060 } 4061 var l int 4062 _ = l 4063 return n 4064 } 4065 4066 func (m *PatchOptions) Size() (n int) { 4067 if m == nil { 4068 return 0 4069 } 4070 var l int 4071 _ = l 4072 if len(m.DryRun) > 0 { 4073 for _, s := range m.DryRun { 4074 l = len(s) 4075 n += 1 + l + sovGenerated(uint64(l)) 4076 } 4077 } 4078 if m.Force != nil { 4079 n += 2 4080 } 4081 l = len(m.FieldManager) 4082 n += 1 + l + sovGenerated(uint64(l)) 4083 l = len(m.FieldValidation) 4084 n += 1 + l + sovGenerated(uint64(l)) 4085 return n 4086 } 4087 4088 func (m *Preconditions) Size() (n int) { 4089 if m == nil { 4090 return 0 4091 } 4092 var l int 4093 _ = l 4094 if m.UID != nil { 4095 l = len(*m.UID) 4096 n += 1 + l + sovGenerated(uint64(l)) 4097 } 4098 if m.ResourceVersion != nil { 4099 l = len(*m.ResourceVersion) 4100 n += 1 + l + sovGenerated(uint64(l)) 4101 } 4102 return n 4103 } 4104 4105 func (m *RootPaths) Size() (n int) { 4106 if m == nil { 4107 return 0 4108 } 4109 var l int 4110 _ = l 4111 if len(m.Paths) > 0 { 4112 for _, s := range m.Paths { 4113 l = len(s) 4114 n += 1 + l + sovGenerated(uint64(l)) 4115 } 4116 } 4117 return n 4118 } 4119 4120 func (m *ServerAddressByClientCIDR) Size() (n int) { 4121 if m == nil { 4122 return 0 4123 } 4124 var l int 4125 _ = l 4126 l = len(m.ClientCIDR) 4127 n += 1 + l + sovGenerated(uint64(l)) 4128 l = len(m.ServerAddress) 4129 n += 1 + l + sovGenerated(uint64(l)) 4130 return n 4131 } 4132 4133 func (m *Status) Size() (n int) { 4134 if m == nil { 4135 return 0 4136 } 4137 var l int 4138 _ = l 4139 l = m.ListMeta.Size() 4140 n += 1 + l + sovGenerated(uint64(l)) 4141 l = len(m.Status) 4142 n += 1 + l + sovGenerated(uint64(l)) 4143 l = len(m.Message) 4144 n += 1 + l + sovGenerated(uint64(l)) 4145 l = len(m.Reason) 4146 n += 1 + l + sovGenerated(uint64(l)) 4147 if m.Details != nil { 4148 l = m.Details.Size() 4149 n += 1 + l + sovGenerated(uint64(l)) 4150 } 4151 n += 1 + sovGenerated(uint64(m.Code)) 4152 return n 4153 } 4154 4155 func (m *StatusCause) Size() (n int) { 4156 if m == nil { 4157 return 0 4158 } 4159 var l int 4160 _ = l 4161 l = len(m.Type) 4162 n += 1 + l + sovGenerated(uint64(l)) 4163 l = len(m.Message) 4164 n += 1 + l + sovGenerated(uint64(l)) 4165 l = len(m.Field) 4166 n += 1 + l + sovGenerated(uint64(l)) 4167 return n 4168 } 4169 4170 func (m *StatusDetails) Size() (n int) { 4171 if m == nil { 4172 return 0 4173 } 4174 var l int 4175 _ = l 4176 l = len(m.Name) 4177 n += 1 + l + sovGenerated(uint64(l)) 4178 l = len(m.Group) 4179 n += 1 + l + sovGenerated(uint64(l)) 4180 l = len(m.Kind) 4181 n += 1 + l + sovGenerated(uint64(l)) 4182 if len(m.Causes) > 0 { 4183 for _, e := range m.Causes { 4184 l = e.Size() 4185 n += 1 + l + sovGenerated(uint64(l)) 4186 } 4187 } 4188 n += 1 + sovGenerated(uint64(m.RetryAfterSeconds)) 4189 l = len(m.UID) 4190 n += 1 + l + sovGenerated(uint64(l)) 4191 return n 4192 } 4193 4194 func (m *TableOptions) Size() (n int) { 4195 if m == nil { 4196 return 0 4197 } 4198 var l int 4199 _ = l 4200 l = len(m.IncludeObject) 4201 n += 1 + l + sovGenerated(uint64(l)) 4202 return n 4203 } 4204 4205 func (m *Timestamp) Size() (n int) { 4206 if m == nil { 4207 return 0 4208 } 4209 var l int 4210 _ = l 4211 n += 1 + sovGenerated(uint64(m.Seconds)) 4212 n += 1 + sovGenerated(uint64(m.Nanos)) 4213 return n 4214 } 4215 4216 func (m *TypeMeta) Size() (n int) { 4217 if m == nil { 4218 return 0 4219 } 4220 var l int 4221 _ = l 4222 l = len(m.Kind) 4223 n += 1 + l + sovGenerated(uint64(l)) 4224 l = len(m.APIVersion) 4225 n += 1 + l + sovGenerated(uint64(l)) 4226 return n 4227 } 4228 4229 func (m *UpdateOptions) Size() (n int) { 4230 if m == nil { 4231 return 0 4232 } 4233 var l int 4234 _ = l 4235 if len(m.DryRun) > 0 { 4236 for _, s := range m.DryRun { 4237 l = len(s) 4238 n += 1 + l + sovGenerated(uint64(l)) 4239 } 4240 } 4241 l = len(m.FieldManager) 4242 n += 1 + l + sovGenerated(uint64(l)) 4243 l = len(m.FieldValidation) 4244 n += 1 + l + sovGenerated(uint64(l)) 4245 return n 4246 } 4247 4248 func (m Verbs) Size() (n int) { 4249 if m == nil { 4250 return 0 4251 } 4252 var l int 4253 _ = l 4254 if len(m) > 0 { 4255 for _, s := range m { 4256 l = len(s) 4257 n += 1 + l + sovGenerated(uint64(l)) 4258 } 4259 } 4260 return n 4261 } 4262 4263 func (m *WatchEvent) Size() (n int) { 4264 if m == nil { 4265 return 0 4266 } 4267 var l int 4268 _ = l 4269 l = len(m.Type) 4270 n += 1 + l + sovGenerated(uint64(l)) 4271 l = m.Object.Size() 4272 n += 1 + l + sovGenerated(uint64(l)) 4273 return n 4274 } 4275 4276 func sovGenerated(x uint64) (n int) { 4277 return (math_bits.Len64(x|1) + 6) / 7 4278 } 4279 func sozGenerated(x uint64) (n int) { 4280 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 4281 } 4282 func (this *APIGroup) String() string { 4283 if this == nil { 4284 return "nil" 4285 } 4286 repeatedStringForVersions := "[]GroupVersionForDiscovery{" 4287 for _, f := range this.Versions { 4288 repeatedStringForVersions += strings.Replace(strings.Replace(f.String(), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + "," 4289 } 4290 repeatedStringForVersions += "}" 4291 repeatedStringForServerAddressByClientCIDRs := "[]ServerAddressByClientCIDR{" 4292 for _, f := range this.ServerAddressByClientCIDRs { 4293 repeatedStringForServerAddressByClientCIDRs += strings.Replace(strings.Replace(f.String(), "ServerAddressByClientCIDR", "ServerAddressByClientCIDR", 1), `&`, ``, 1) + "," 4294 } 4295 repeatedStringForServerAddressByClientCIDRs += "}" 4296 s := strings.Join([]string{`&APIGroup{`, 4297 `Name:` + fmt.Sprintf("%v", this.Name) + `,`, 4298 `Versions:` + repeatedStringForVersions + `,`, 4299 `PreferredVersion:` + strings.Replace(strings.Replace(this.PreferredVersion.String(), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + `,`, 4300 `ServerAddressByClientCIDRs:` + repeatedStringForServerAddressByClientCIDRs + `,`, 4301 `}`, 4302 }, "") 4303 return s 4304 } 4305 func (this *APIGroupList) String() string { 4306 if this == nil { 4307 return "nil" 4308 } 4309 repeatedStringForGroups := "[]APIGroup{" 4310 for _, f := range this.Groups { 4311 repeatedStringForGroups += strings.Replace(strings.Replace(f.String(), "APIGroup", "APIGroup", 1), `&`, ``, 1) + "," 4312 } 4313 repeatedStringForGroups += "}" 4314 s := strings.Join([]string{`&APIGroupList{`, 4315 `Groups:` + repeatedStringForGroups + `,`, 4316 `}`, 4317 }, "") 4318 return s 4319 } 4320 func (this *APIResource) String() string { 4321 if this == nil { 4322 return "nil" 4323 } 4324 s := strings.Join([]string{`&APIResource{`, 4325 `Name:` + fmt.Sprintf("%v", this.Name) + `,`, 4326 `Namespaced:` + fmt.Sprintf("%v", this.Namespaced) + `,`, 4327 `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, 4328 `Verbs:` + strings.Replace(fmt.Sprintf("%v", this.Verbs), "Verbs", "Verbs", 1) + `,`, 4329 `ShortNames:` + fmt.Sprintf("%v", this.ShortNames) + `,`, 4330 `SingularName:` + fmt.Sprintf("%v", this.SingularName) + `,`, 4331 `Categories:` + fmt.Sprintf("%v", this.Categories) + `,`, 4332 `Group:` + fmt.Sprintf("%v", this.Group) + `,`, 4333 `Version:` + fmt.Sprintf("%v", this.Version) + `,`, 4334 `StorageVersionHash:` + fmt.Sprintf("%v", this.StorageVersionHash) + `,`, 4335 `}`, 4336 }, "") 4337 return s 4338 } 4339 func (this *APIResourceList) String() string { 4340 if this == nil { 4341 return "nil" 4342 } 4343 repeatedStringForAPIResources := "[]APIResource{" 4344 for _, f := range this.APIResources { 4345 repeatedStringForAPIResources += strings.Replace(strings.Replace(f.String(), "APIResource", "APIResource", 1), `&`, ``, 1) + "," 4346 } 4347 repeatedStringForAPIResources += "}" 4348 s := strings.Join([]string{`&APIResourceList{`, 4349 `GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`, 4350 `APIResources:` + repeatedStringForAPIResources + `,`, 4351 `}`, 4352 }, "") 4353 return s 4354 } 4355 func (this *ApplyOptions) String() string { 4356 if this == nil { 4357 return "nil" 4358 } 4359 s := strings.Join([]string{`&ApplyOptions{`, 4360 `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, 4361 `Force:` + fmt.Sprintf("%v", this.Force) + `,`, 4362 `FieldManager:` + fmt.Sprintf("%v", this.FieldManager) + `,`, 4363 `}`, 4364 }, "") 4365 return s 4366 } 4367 func (this *Condition) String() string { 4368 if this == nil { 4369 return "nil" 4370 } 4371 s := strings.Join([]string{`&Condition{`, 4372 `Type:` + fmt.Sprintf("%v", this.Type) + `,`, 4373 `Status:` + fmt.Sprintf("%v", this.Status) + `,`, 4374 `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`, 4375 `LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "Time", 1), `&`, ``, 1) + `,`, 4376 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, 4377 `Message:` + fmt.Sprintf("%v", this.Message) + `,`, 4378 `}`, 4379 }, "") 4380 return s 4381 } 4382 func (this *CreateOptions) String() string { 4383 if this == nil { 4384 return "nil" 4385 } 4386 s := strings.Join([]string{`&CreateOptions{`, 4387 `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, 4388 `FieldManager:` + fmt.Sprintf("%v", this.FieldManager) + `,`, 4389 `FieldValidation:` + fmt.Sprintf("%v", this.FieldValidation) + `,`, 4390 `}`, 4391 }, "") 4392 return s 4393 } 4394 func (this *DeleteOptions) String() string { 4395 if this == nil { 4396 return "nil" 4397 } 4398 s := strings.Join([]string{`&DeleteOptions{`, 4399 `GracePeriodSeconds:` + valueToStringGenerated(this.GracePeriodSeconds) + `,`, 4400 `Preconditions:` + strings.Replace(this.Preconditions.String(), "Preconditions", "Preconditions", 1) + `,`, 4401 `OrphanDependents:` + valueToStringGenerated(this.OrphanDependents) + `,`, 4402 `PropagationPolicy:` + valueToStringGenerated(this.PropagationPolicy) + `,`, 4403 `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, 4404 `}`, 4405 }, "") 4406 return s 4407 } 4408 func (this *Duration) String() string { 4409 if this == nil { 4410 return "nil" 4411 } 4412 s := strings.Join([]string{`&Duration{`, 4413 `Duration:` + fmt.Sprintf("%v", this.Duration) + `,`, 4414 `}`, 4415 }, "") 4416 return s 4417 } 4418 func (this *GetOptions) String() string { 4419 if this == nil { 4420 return "nil" 4421 } 4422 s := strings.Join([]string{`&GetOptions{`, 4423 `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, 4424 `}`, 4425 }, "") 4426 return s 4427 } 4428 func (this *GroupVersionForDiscovery) String() string { 4429 if this == nil { 4430 return "nil" 4431 } 4432 s := strings.Join([]string{`&GroupVersionForDiscovery{`, 4433 `GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`, 4434 `Version:` + fmt.Sprintf("%v", this.Version) + `,`, 4435 `}`, 4436 }, "") 4437 return s 4438 } 4439 func (this *LabelSelector) String() string { 4440 if this == nil { 4441 return "nil" 4442 } 4443 repeatedStringForMatchExpressions := "[]LabelSelectorRequirement{" 4444 for _, f := range this.MatchExpressions { 4445 repeatedStringForMatchExpressions += strings.Replace(strings.Replace(f.String(), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + "," 4446 } 4447 repeatedStringForMatchExpressions += "}" 4448 keysForMatchLabels := make([]string, 0, len(this.MatchLabels)) 4449 for k := range this.MatchLabels { 4450 keysForMatchLabels = append(keysForMatchLabels, k) 4451 } 4452 github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels) 4453 mapStringForMatchLabels := "map[string]string{" 4454 for _, k := range keysForMatchLabels { 4455 mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k]) 4456 } 4457 mapStringForMatchLabels += "}" 4458 s := strings.Join([]string{`&LabelSelector{`, 4459 `MatchLabels:` + mapStringForMatchLabels + `,`, 4460 `MatchExpressions:` + repeatedStringForMatchExpressions + `,`, 4461 `}`, 4462 }, "") 4463 return s 4464 } 4465 func (this *LabelSelectorRequirement) String() string { 4466 if this == nil { 4467 return "nil" 4468 } 4469 s := strings.Join([]string{`&LabelSelectorRequirement{`, 4470 `Key:` + fmt.Sprintf("%v", this.Key) + `,`, 4471 `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`, 4472 `Values:` + fmt.Sprintf("%v", this.Values) + `,`, 4473 `}`, 4474 }, "") 4475 return s 4476 } 4477 func (this *List) String() string { 4478 if this == nil { 4479 return "nil" 4480 } 4481 repeatedStringForItems := "[]RawExtension{" 4482 for _, f := range this.Items { 4483 repeatedStringForItems += fmt.Sprintf("%v", f) + "," 4484 } 4485 repeatedStringForItems += "}" 4486 s := strings.Join([]string{`&List{`, 4487 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`, 4488 `Items:` + repeatedStringForItems + `,`, 4489 `}`, 4490 }, "") 4491 return s 4492 } 4493 func (this *ListMeta) String() string { 4494 if this == nil { 4495 return "nil" 4496 } 4497 s := strings.Join([]string{`&ListMeta{`, 4498 `SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`, 4499 `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, 4500 `Continue:` + fmt.Sprintf("%v", this.Continue) + `,`, 4501 `RemainingItemCount:` + valueToStringGenerated(this.RemainingItemCount) + `,`, 4502 `}`, 4503 }, "") 4504 return s 4505 } 4506 func (this *ListOptions) String() string { 4507 if this == nil { 4508 return "nil" 4509 } 4510 s := strings.Join([]string{`&ListOptions{`, 4511 `LabelSelector:` + fmt.Sprintf("%v", this.LabelSelector) + `,`, 4512 `FieldSelector:` + fmt.Sprintf("%v", this.FieldSelector) + `,`, 4513 `Watch:` + fmt.Sprintf("%v", this.Watch) + `,`, 4514 `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, 4515 `TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`, 4516 `Limit:` + fmt.Sprintf("%v", this.Limit) + `,`, 4517 `Continue:` + fmt.Sprintf("%v", this.Continue) + `,`, 4518 `AllowWatchBookmarks:` + fmt.Sprintf("%v", this.AllowWatchBookmarks) + `,`, 4519 `ResourceVersionMatch:` + fmt.Sprintf("%v", this.ResourceVersionMatch) + `,`, 4520 `}`, 4521 }, "") 4522 return s 4523 } 4524 func (this *ManagedFieldsEntry) String() string { 4525 if this == nil { 4526 return "nil" 4527 } 4528 s := strings.Join([]string{`&ManagedFieldsEntry{`, 4529 `Manager:` + fmt.Sprintf("%v", this.Manager) + `,`, 4530 `Operation:` + fmt.Sprintf("%v", this.Operation) + `,`, 4531 `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`, 4532 `Time:` + strings.Replace(fmt.Sprintf("%v", this.Time), "Time", "Time", 1) + `,`, 4533 `FieldsType:` + fmt.Sprintf("%v", this.FieldsType) + `,`, 4534 `FieldsV1:` + strings.Replace(fmt.Sprintf("%v", this.FieldsV1), "FieldsV1", "FieldsV1", 1) + `,`, 4535 `Subresource:` + fmt.Sprintf("%v", this.Subresource) + `,`, 4536 `}`, 4537 }, "") 4538 return s 4539 } 4540 func (this *ObjectMeta) String() string { 4541 if this == nil { 4542 return "nil" 4543 } 4544 repeatedStringForOwnerReferences := "[]OwnerReference{" 4545 for _, f := range this.OwnerReferences { 4546 repeatedStringForOwnerReferences += strings.Replace(strings.Replace(f.String(), "OwnerReference", "OwnerReference", 1), `&`, ``, 1) + "," 4547 } 4548 repeatedStringForOwnerReferences += "}" 4549 repeatedStringForManagedFields := "[]ManagedFieldsEntry{" 4550 for _, f := range this.ManagedFields { 4551 repeatedStringForManagedFields += strings.Replace(strings.Replace(f.String(), "ManagedFieldsEntry", "ManagedFieldsEntry", 1), `&`, ``, 1) + "," 4552 } 4553 repeatedStringForManagedFields += "}" 4554 keysForLabels := make([]string, 0, len(this.Labels)) 4555 for k := range this.Labels { 4556 keysForLabels = append(keysForLabels, k) 4557 } 4558 github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) 4559 mapStringForLabels := "map[string]string{" 4560 for _, k := range keysForLabels { 4561 mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) 4562 } 4563 mapStringForLabels += "}" 4564 keysForAnnotations := make([]string, 0, len(this.Annotations)) 4565 for k := range this.Annotations { 4566 keysForAnnotations = append(keysForAnnotations, k) 4567 } 4568 github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations) 4569 mapStringForAnnotations := "map[string]string{" 4570 for _, k := range keysForAnnotations { 4571 mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k]) 4572 } 4573 mapStringForAnnotations += "}" 4574 s := strings.Join([]string{`&ObjectMeta{`, 4575 `Name:` + fmt.Sprintf("%v", this.Name) + `,`, 4576 `GenerateName:` + fmt.Sprintf("%v", this.GenerateName) + `,`, 4577 `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, 4578 `SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`, 4579 `UID:` + fmt.Sprintf("%v", this.UID) + `,`, 4580 `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, 4581 `Generation:` + fmt.Sprintf("%v", this.Generation) + `,`, 4582 `CreationTimestamp:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.CreationTimestamp), "Time", "Time", 1), `&`, ``, 1) + `,`, 4583 `DeletionTimestamp:` + strings.Replace(fmt.Sprintf("%v", this.DeletionTimestamp), "Time", "Time", 1) + `,`, 4584 `DeletionGracePeriodSeconds:` + valueToStringGenerated(this.DeletionGracePeriodSeconds) + `,`, 4585 `Labels:` + mapStringForLabels + `,`, 4586 `Annotations:` + mapStringForAnnotations + `,`, 4587 `OwnerReferences:` + repeatedStringForOwnerReferences + `,`, 4588 `Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`, 4589 `ManagedFields:` + repeatedStringForManagedFields + `,`, 4590 `}`, 4591 }, "") 4592 return s 4593 } 4594 func (this *OwnerReference) String() string { 4595 if this == nil { 4596 return "nil" 4597 } 4598 s := strings.Join([]string{`&OwnerReference{`, 4599 `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, 4600 `Name:` + fmt.Sprintf("%v", this.Name) + `,`, 4601 `UID:` + fmt.Sprintf("%v", this.UID) + `,`, 4602 `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`, 4603 `Controller:` + valueToStringGenerated(this.Controller) + `,`, 4604 `BlockOwnerDeletion:` + valueToStringGenerated(this.BlockOwnerDeletion) + `,`, 4605 `}`, 4606 }, "") 4607 return s 4608 } 4609 func (this *PartialObjectMetadata) String() string { 4610 if this == nil { 4611 return "nil" 4612 } 4613 s := strings.Join([]string{`&PartialObjectMetadata{`, 4614 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, 4615 `}`, 4616 }, "") 4617 return s 4618 } 4619 func (this *PartialObjectMetadataList) String() string { 4620 if this == nil { 4621 return "nil" 4622 } 4623 repeatedStringForItems := "[]PartialObjectMetadata{" 4624 for _, f := range this.Items { 4625 repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "PartialObjectMetadata", "PartialObjectMetadata", 1), `&`, ``, 1) + "," 4626 } 4627 repeatedStringForItems += "}" 4628 s := strings.Join([]string{`&PartialObjectMetadataList{`, 4629 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`, 4630 `Items:` + repeatedStringForItems + `,`, 4631 `}`, 4632 }, "") 4633 return s 4634 } 4635 func (this *Patch) String() string { 4636 if this == nil { 4637 return "nil" 4638 } 4639 s := strings.Join([]string{`&Patch{`, 4640 `}`, 4641 }, "") 4642 return s 4643 } 4644 func (this *PatchOptions) String() string { 4645 if this == nil { 4646 return "nil" 4647 } 4648 s := strings.Join([]string{`&PatchOptions{`, 4649 `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, 4650 `Force:` + valueToStringGenerated(this.Force) + `,`, 4651 `FieldManager:` + fmt.Sprintf("%v", this.FieldManager) + `,`, 4652 `FieldValidation:` + fmt.Sprintf("%v", this.FieldValidation) + `,`, 4653 `}`, 4654 }, "") 4655 return s 4656 } 4657 func (this *Preconditions) String() string { 4658 if this == nil { 4659 return "nil" 4660 } 4661 s := strings.Join([]string{`&Preconditions{`, 4662 `UID:` + valueToStringGenerated(this.UID) + `,`, 4663 `ResourceVersion:` + valueToStringGenerated(this.ResourceVersion) + `,`, 4664 `}`, 4665 }, "") 4666 return s 4667 } 4668 func (this *RootPaths) String() string { 4669 if this == nil { 4670 return "nil" 4671 } 4672 s := strings.Join([]string{`&RootPaths{`, 4673 `Paths:` + fmt.Sprintf("%v", this.Paths) + `,`, 4674 `}`, 4675 }, "") 4676 return s 4677 } 4678 func (this *ServerAddressByClientCIDR) String() string { 4679 if this == nil { 4680 return "nil" 4681 } 4682 s := strings.Join([]string{`&ServerAddressByClientCIDR{`, 4683 `ClientCIDR:` + fmt.Sprintf("%v", this.ClientCIDR) + `,`, 4684 `ServerAddress:` + fmt.Sprintf("%v", this.ServerAddress) + `,`, 4685 `}`, 4686 }, "") 4687 return s 4688 } 4689 func (this *Status) String() string { 4690 if this == nil { 4691 return "nil" 4692 } 4693 s := strings.Join([]string{`&Status{`, 4694 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`, 4695 `Status:` + fmt.Sprintf("%v", this.Status) + `,`, 4696 `Message:` + fmt.Sprintf("%v", this.Message) + `,`, 4697 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, 4698 `Details:` + strings.Replace(this.Details.String(), "StatusDetails", "StatusDetails", 1) + `,`, 4699 `Code:` + fmt.Sprintf("%v", this.Code) + `,`, 4700 `}`, 4701 }, "") 4702 return s 4703 } 4704 func (this *StatusCause) String() string { 4705 if this == nil { 4706 return "nil" 4707 } 4708 s := strings.Join([]string{`&StatusCause{`, 4709 `Type:` + fmt.Sprintf("%v", this.Type) + `,`, 4710 `Message:` + fmt.Sprintf("%v", this.Message) + `,`, 4711 `Field:` + fmt.Sprintf("%v", this.Field) + `,`, 4712 `}`, 4713 }, "") 4714 return s 4715 } 4716 func (this *StatusDetails) String() string { 4717 if this == nil { 4718 return "nil" 4719 } 4720 repeatedStringForCauses := "[]StatusCause{" 4721 for _, f := range this.Causes { 4722 repeatedStringForCauses += strings.Replace(strings.Replace(f.String(), "StatusCause", "StatusCause", 1), `&`, ``, 1) + "," 4723 } 4724 repeatedStringForCauses += "}" 4725 s := strings.Join([]string{`&StatusDetails{`, 4726 `Name:` + fmt.Sprintf("%v", this.Name) + `,`, 4727 `Group:` + fmt.Sprintf("%v", this.Group) + `,`, 4728 `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, 4729 `Causes:` + repeatedStringForCauses + `,`, 4730 `RetryAfterSeconds:` + fmt.Sprintf("%v", this.RetryAfterSeconds) + `,`, 4731 `UID:` + fmt.Sprintf("%v", this.UID) + `,`, 4732 `}`, 4733 }, "") 4734 return s 4735 } 4736 func (this *TableOptions) String() string { 4737 if this == nil { 4738 return "nil" 4739 } 4740 s := strings.Join([]string{`&TableOptions{`, 4741 `IncludeObject:` + fmt.Sprintf("%v", this.IncludeObject) + `,`, 4742 `}`, 4743 }, "") 4744 return s 4745 } 4746 func (this *Timestamp) String() string { 4747 if this == nil { 4748 return "nil" 4749 } 4750 s := strings.Join([]string{`&Timestamp{`, 4751 `Seconds:` + fmt.Sprintf("%v", this.Seconds) + `,`, 4752 `Nanos:` + fmt.Sprintf("%v", this.Nanos) + `,`, 4753 `}`, 4754 }, "") 4755 return s 4756 } 4757 func (this *TypeMeta) String() string { 4758 if this == nil { 4759 return "nil" 4760 } 4761 s := strings.Join([]string{`&TypeMeta{`, 4762 `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, 4763 `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`, 4764 `}`, 4765 }, "") 4766 return s 4767 } 4768 func (this *UpdateOptions) String() string { 4769 if this == nil { 4770 return "nil" 4771 } 4772 s := strings.Join([]string{`&UpdateOptions{`, 4773 `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, 4774 `FieldManager:` + fmt.Sprintf("%v", this.FieldManager) + `,`, 4775 `FieldValidation:` + fmt.Sprintf("%v", this.FieldValidation) + `,`, 4776 `}`, 4777 }, "") 4778 return s 4779 } 4780 func (this *WatchEvent) String() string { 4781 if this == nil { 4782 return "nil" 4783 } 4784 s := strings.Join([]string{`&WatchEvent{`, 4785 `Type:` + fmt.Sprintf("%v", this.Type) + `,`, 4786 `Object:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Object), "RawExtension", "runtime.RawExtension", 1), `&`, ``, 1) + `,`, 4787 `}`, 4788 }, "") 4789 return s 4790 } 4791 func valueToStringGenerated(v interface{}) string { 4792 rv := reflect.ValueOf(v) 4793 if rv.IsNil() { 4794 return "nil" 4795 } 4796 pv := reflect.Indirect(rv).Interface() 4797 return fmt.Sprintf("*%v", pv) 4798 } 4799 func (m *APIGroup) Unmarshal(dAtA []byte) error { 4800 l := len(dAtA) 4801 iNdEx := 0 4802 for iNdEx < l { 4803 preIndex := iNdEx 4804 var wire uint64 4805 for shift := uint(0); ; shift += 7 { 4806 if shift >= 64 { 4807 return ErrIntOverflowGenerated 4808 } 4809 if iNdEx >= l { 4810 return io.ErrUnexpectedEOF 4811 } 4812 b := dAtA[iNdEx] 4813 iNdEx++ 4814 wire |= uint64(b&0x7F) << shift 4815 if b < 0x80 { 4816 break 4817 } 4818 } 4819 fieldNum := int32(wire >> 3) 4820 wireType := int(wire & 0x7) 4821 if wireType == 4 { 4822 return fmt.Errorf("proto: APIGroup: wiretype end group for non-group") 4823 } 4824 if fieldNum <= 0 { 4825 return fmt.Errorf("proto: APIGroup: illegal tag %d (wire type %d)", fieldNum, wire) 4826 } 4827 switch fieldNum { 4828 case 1: 4829 if wireType != 2 { 4830 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 4831 } 4832 var stringLen uint64 4833 for shift := uint(0); ; shift += 7 { 4834 if shift >= 64 { 4835 return ErrIntOverflowGenerated 4836 } 4837 if iNdEx >= l { 4838 return io.ErrUnexpectedEOF 4839 } 4840 b := dAtA[iNdEx] 4841 iNdEx++ 4842 stringLen |= uint64(b&0x7F) << shift 4843 if b < 0x80 { 4844 break 4845 } 4846 } 4847 intStringLen := int(stringLen) 4848 if intStringLen < 0 { 4849 return ErrInvalidLengthGenerated 4850 } 4851 postIndex := iNdEx + intStringLen 4852 if postIndex < 0 { 4853 return ErrInvalidLengthGenerated 4854 } 4855 if postIndex > l { 4856 return io.ErrUnexpectedEOF 4857 } 4858 m.Name = string(dAtA[iNdEx:postIndex]) 4859 iNdEx = postIndex 4860 case 2: 4861 if wireType != 2 { 4862 return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType) 4863 } 4864 var msglen int 4865 for shift := uint(0); ; shift += 7 { 4866 if shift >= 64 { 4867 return ErrIntOverflowGenerated 4868 } 4869 if iNdEx >= l { 4870 return io.ErrUnexpectedEOF 4871 } 4872 b := dAtA[iNdEx] 4873 iNdEx++ 4874 msglen |= int(b&0x7F) << shift 4875 if b < 0x80 { 4876 break 4877 } 4878 } 4879 if msglen < 0 { 4880 return ErrInvalidLengthGenerated 4881 } 4882 postIndex := iNdEx + msglen 4883 if postIndex < 0 { 4884 return ErrInvalidLengthGenerated 4885 } 4886 if postIndex > l { 4887 return io.ErrUnexpectedEOF 4888 } 4889 m.Versions = append(m.Versions, GroupVersionForDiscovery{}) 4890 if err := m.Versions[len(m.Versions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4891 return err 4892 } 4893 iNdEx = postIndex 4894 case 3: 4895 if wireType != 2 { 4896 return fmt.Errorf("proto: wrong wireType = %d for field PreferredVersion", wireType) 4897 } 4898 var msglen int 4899 for shift := uint(0); ; shift += 7 { 4900 if shift >= 64 { 4901 return ErrIntOverflowGenerated 4902 } 4903 if iNdEx >= l { 4904 return io.ErrUnexpectedEOF 4905 } 4906 b := dAtA[iNdEx] 4907 iNdEx++ 4908 msglen |= int(b&0x7F) << shift 4909 if b < 0x80 { 4910 break 4911 } 4912 } 4913 if msglen < 0 { 4914 return ErrInvalidLengthGenerated 4915 } 4916 postIndex := iNdEx + msglen 4917 if postIndex < 0 { 4918 return ErrInvalidLengthGenerated 4919 } 4920 if postIndex > l { 4921 return io.ErrUnexpectedEOF 4922 } 4923 if err := m.PreferredVersion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4924 return err 4925 } 4926 iNdEx = postIndex 4927 case 4: 4928 if wireType != 2 { 4929 return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType) 4930 } 4931 var msglen int 4932 for shift := uint(0); ; shift += 7 { 4933 if shift >= 64 { 4934 return ErrIntOverflowGenerated 4935 } 4936 if iNdEx >= l { 4937 return io.ErrUnexpectedEOF 4938 } 4939 b := dAtA[iNdEx] 4940 iNdEx++ 4941 msglen |= int(b&0x7F) << shift 4942 if b < 0x80 { 4943 break 4944 } 4945 } 4946 if msglen < 0 { 4947 return ErrInvalidLengthGenerated 4948 } 4949 postIndex := iNdEx + msglen 4950 if postIndex < 0 { 4951 return ErrInvalidLengthGenerated 4952 } 4953 if postIndex > l { 4954 return io.ErrUnexpectedEOF 4955 } 4956 m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{}) 4957 if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4958 return err 4959 } 4960 iNdEx = postIndex 4961 default: 4962 iNdEx = preIndex 4963 skippy, err := skipGenerated(dAtA[iNdEx:]) 4964 if err != nil { 4965 return err 4966 } 4967 if (skippy < 0) || (iNdEx+skippy) < 0 { 4968 return ErrInvalidLengthGenerated 4969 } 4970 if (iNdEx + skippy) > l { 4971 return io.ErrUnexpectedEOF 4972 } 4973 iNdEx += skippy 4974 } 4975 } 4976 4977 if iNdEx > l { 4978 return io.ErrUnexpectedEOF 4979 } 4980 return nil 4981 } 4982 func (m *APIGroupList) Unmarshal(dAtA []byte) error { 4983 l := len(dAtA) 4984 iNdEx := 0 4985 for iNdEx < l { 4986 preIndex := iNdEx 4987 var wire uint64 4988 for shift := uint(0); ; shift += 7 { 4989 if shift >= 64 { 4990 return ErrIntOverflowGenerated 4991 } 4992 if iNdEx >= l { 4993 return io.ErrUnexpectedEOF 4994 } 4995 b := dAtA[iNdEx] 4996 iNdEx++ 4997 wire |= uint64(b&0x7F) << shift 4998 if b < 0x80 { 4999 break 5000 } 5001 } 5002 fieldNum := int32(wire >> 3) 5003 wireType := int(wire & 0x7) 5004 if wireType == 4 { 5005 return fmt.Errorf("proto: APIGroupList: wiretype end group for non-group") 5006 } 5007 if fieldNum <= 0 { 5008 return fmt.Errorf("proto: APIGroupList: illegal tag %d (wire type %d)", fieldNum, wire) 5009 } 5010 switch fieldNum { 5011 case 1: 5012 if wireType != 2 { 5013 return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType) 5014 } 5015 var msglen int 5016 for shift := uint(0); ; shift += 7 { 5017 if shift >= 64 { 5018 return ErrIntOverflowGenerated 5019 } 5020 if iNdEx >= l { 5021 return io.ErrUnexpectedEOF 5022 } 5023 b := dAtA[iNdEx] 5024 iNdEx++ 5025 msglen |= int(b&0x7F) << shift 5026 if b < 0x80 { 5027 break 5028 } 5029 } 5030 if msglen < 0 { 5031 return ErrInvalidLengthGenerated 5032 } 5033 postIndex := iNdEx + msglen 5034 if postIndex < 0 { 5035 return ErrInvalidLengthGenerated 5036 } 5037 if postIndex > l { 5038 return io.ErrUnexpectedEOF 5039 } 5040 m.Groups = append(m.Groups, APIGroup{}) 5041 if err := m.Groups[len(m.Groups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5042 return err 5043 } 5044 iNdEx = postIndex 5045 default: 5046 iNdEx = preIndex 5047 skippy, err := skipGenerated(dAtA[iNdEx:]) 5048 if err != nil { 5049 return err 5050 } 5051 if (skippy < 0) || (iNdEx+skippy) < 0 { 5052 return ErrInvalidLengthGenerated 5053 } 5054 if (iNdEx + skippy) > l { 5055 return io.ErrUnexpectedEOF 5056 } 5057 iNdEx += skippy 5058 } 5059 } 5060 5061 if iNdEx > l { 5062 return io.ErrUnexpectedEOF 5063 } 5064 return nil 5065 } 5066 func (m *APIResource) Unmarshal(dAtA []byte) error { 5067 l := len(dAtA) 5068 iNdEx := 0 5069 for iNdEx < l { 5070 preIndex := iNdEx 5071 var wire uint64 5072 for shift := uint(0); ; shift += 7 { 5073 if shift >= 64 { 5074 return ErrIntOverflowGenerated 5075 } 5076 if iNdEx >= l { 5077 return io.ErrUnexpectedEOF 5078 } 5079 b := dAtA[iNdEx] 5080 iNdEx++ 5081 wire |= uint64(b&0x7F) << shift 5082 if b < 0x80 { 5083 break 5084 } 5085 } 5086 fieldNum := int32(wire >> 3) 5087 wireType := int(wire & 0x7) 5088 if wireType == 4 { 5089 return fmt.Errorf("proto: APIResource: wiretype end group for non-group") 5090 } 5091 if fieldNum <= 0 { 5092 return fmt.Errorf("proto: APIResource: illegal tag %d (wire type %d)", fieldNum, wire) 5093 } 5094 switch fieldNum { 5095 case 1: 5096 if wireType != 2 { 5097 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 5098 } 5099 var stringLen uint64 5100 for shift := uint(0); ; shift += 7 { 5101 if shift >= 64 { 5102 return ErrIntOverflowGenerated 5103 } 5104 if iNdEx >= l { 5105 return io.ErrUnexpectedEOF 5106 } 5107 b := dAtA[iNdEx] 5108 iNdEx++ 5109 stringLen |= uint64(b&0x7F) << shift 5110 if b < 0x80 { 5111 break 5112 } 5113 } 5114 intStringLen := int(stringLen) 5115 if intStringLen < 0 { 5116 return ErrInvalidLengthGenerated 5117 } 5118 postIndex := iNdEx + intStringLen 5119 if postIndex < 0 { 5120 return ErrInvalidLengthGenerated 5121 } 5122 if postIndex > l { 5123 return io.ErrUnexpectedEOF 5124 } 5125 m.Name = string(dAtA[iNdEx:postIndex]) 5126 iNdEx = postIndex 5127 case 2: 5128 if wireType != 0 { 5129 return fmt.Errorf("proto: wrong wireType = %d for field Namespaced", wireType) 5130 } 5131 var v int 5132 for shift := uint(0); ; shift += 7 { 5133 if shift >= 64 { 5134 return ErrIntOverflowGenerated 5135 } 5136 if iNdEx >= l { 5137 return io.ErrUnexpectedEOF 5138 } 5139 b := dAtA[iNdEx] 5140 iNdEx++ 5141 v |= int(b&0x7F) << shift 5142 if b < 0x80 { 5143 break 5144 } 5145 } 5146 m.Namespaced = bool(v != 0) 5147 case 3: 5148 if wireType != 2 { 5149 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 5150 } 5151 var stringLen uint64 5152 for shift := uint(0); ; shift += 7 { 5153 if shift >= 64 { 5154 return ErrIntOverflowGenerated 5155 } 5156 if iNdEx >= l { 5157 return io.ErrUnexpectedEOF 5158 } 5159 b := dAtA[iNdEx] 5160 iNdEx++ 5161 stringLen |= uint64(b&0x7F) << shift 5162 if b < 0x80 { 5163 break 5164 } 5165 } 5166 intStringLen := int(stringLen) 5167 if intStringLen < 0 { 5168 return ErrInvalidLengthGenerated 5169 } 5170 postIndex := iNdEx + intStringLen 5171 if postIndex < 0 { 5172 return ErrInvalidLengthGenerated 5173 } 5174 if postIndex > l { 5175 return io.ErrUnexpectedEOF 5176 } 5177 m.Kind = string(dAtA[iNdEx:postIndex]) 5178 iNdEx = postIndex 5179 case 4: 5180 if wireType != 2 { 5181 return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType) 5182 } 5183 var msglen int 5184 for shift := uint(0); ; shift += 7 { 5185 if shift >= 64 { 5186 return ErrIntOverflowGenerated 5187 } 5188 if iNdEx >= l { 5189 return io.ErrUnexpectedEOF 5190 } 5191 b := dAtA[iNdEx] 5192 iNdEx++ 5193 msglen |= int(b&0x7F) << shift 5194 if b < 0x80 { 5195 break 5196 } 5197 } 5198 if msglen < 0 { 5199 return ErrInvalidLengthGenerated 5200 } 5201 postIndex := iNdEx + msglen 5202 if postIndex < 0 { 5203 return ErrInvalidLengthGenerated 5204 } 5205 if postIndex > l { 5206 return io.ErrUnexpectedEOF 5207 } 5208 if m.Verbs == nil { 5209 m.Verbs = Verbs{} 5210 } 5211 if err := m.Verbs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5212 return err 5213 } 5214 iNdEx = postIndex 5215 case 5: 5216 if wireType != 2 { 5217 return fmt.Errorf("proto: wrong wireType = %d for field ShortNames", wireType) 5218 } 5219 var stringLen uint64 5220 for shift := uint(0); ; shift += 7 { 5221 if shift >= 64 { 5222 return ErrIntOverflowGenerated 5223 } 5224 if iNdEx >= l { 5225 return io.ErrUnexpectedEOF 5226 } 5227 b := dAtA[iNdEx] 5228 iNdEx++ 5229 stringLen |= uint64(b&0x7F) << shift 5230 if b < 0x80 { 5231 break 5232 } 5233 } 5234 intStringLen := int(stringLen) 5235 if intStringLen < 0 { 5236 return ErrInvalidLengthGenerated 5237 } 5238 postIndex := iNdEx + intStringLen 5239 if postIndex < 0 { 5240 return ErrInvalidLengthGenerated 5241 } 5242 if postIndex > l { 5243 return io.ErrUnexpectedEOF 5244 } 5245 m.ShortNames = append(m.ShortNames, string(dAtA[iNdEx:postIndex])) 5246 iNdEx = postIndex 5247 case 6: 5248 if wireType != 2 { 5249 return fmt.Errorf("proto: wrong wireType = %d for field SingularName", wireType) 5250 } 5251 var stringLen uint64 5252 for shift := uint(0); ; shift += 7 { 5253 if shift >= 64 { 5254 return ErrIntOverflowGenerated 5255 } 5256 if iNdEx >= l { 5257 return io.ErrUnexpectedEOF 5258 } 5259 b := dAtA[iNdEx] 5260 iNdEx++ 5261 stringLen |= uint64(b&0x7F) << shift 5262 if b < 0x80 { 5263 break 5264 } 5265 } 5266 intStringLen := int(stringLen) 5267 if intStringLen < 0 { 5268 return ErrInvalidLengthGenerated 5269 } 5270 postIndex := iNdEx + intStringLen 5271 if postIndex < 0 { 5272 return ErrInvalidLengthGenerated 5273 } 5274 if postIndex > l { 5275 return io.ErrUnexpectedEOF 5276 } 5277 m.SingularName = string(dAtA[iNdEx:postIndex]) 5278 iNdEx = postIndex 5279 case 7: 5280 if wireType != 2 { 5281 return fmt.Errorf("proto: wrong wireType = %d for field Categories", wireType) 5282 } 5283 var stringLen uint64 5284 for shift := uint(0); ; shift += 7 { 5285 if shift >= 64 { 5286 return ErrIntOverflowGenerated 5287 } 5288 if iNdEx >= l { 5289 return io.ErrUnexpectedEOF 5290 } 5291 b := dAtA[iNdEx] 5292 iNdEx++ 5293 stringLen |= uint64(b&0x7F) << shift 5294 if b < 0x80 { 5295 break 5296 } 5297 } 5298 intStringLen := int(stringLen) 5299 if intStringLen < 0 { 5300 return ErrInvalidLengthGenerated 5301 } 5302 postIndex := iNdEx + intStringLen 5303 if postIndex < 0 { 5304 return ErrInvalidLengthGenerated 5305 } 5306 if postIndex > l { 5307 return io.ErrUnexpectedEOF 5308 } 5309 m.Categories = append(m.Categories, string(dAtA[iNdEx:postIndex])) 5310 iNdEx = postIndex 5311 case 8: 5312 if wireType != 2 { 5313 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 5314 } 5315 var stringLen uint64 5316 for shift := uint(0); ; shift += 7 { 5317 if shift >= 64 { 5318 return ErrIntOverflowGenerated 5319 } 5320 if iNdEx >= l { 5321 return io.ErrUnexpectedEOF 5322 } 5323 b := dAtA[iNdEx] 5324 iNdEx++ 5325 stringLen |= uint64(b&0x7F) << shift 5326 if b < 0x80 { 5327 break 5328 } 5329 } 5330 intStringLen := int(stringLen) 5331 if intStringLen < 0 { 5332 return ErrInvalidLengthGenerated 5333 } 5334 postIndex := iNdEx + intStringLen 5335 if postIndex < 0 { 5336 return ErrInvalidLengthGenerated 5337 } 5338 if postIndex > l { 5339 return io.ErrUnexpectedEOF 5340 } 5341 m.Group = string(dAtA[iNdEx:postIndex]) 5342 iNdEx = postIndex 5343 case 9: 5344 if wireType != 2 { 5345 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 5346 } 5347 var stringLen uint64 5348 for shift := uint(0); ; shift += 7 { 5349 if shift >= 64 { 5350 return ErrIntOverflowGenerated 5351 } 5352 if iNdEx >= l { 5353 return io.ErrUnexpectedEOF 5354 } 5355 b := dAtA[iNdEx] 5356 iNdEx++ 5357 stringLen |= uint64(b&0x7F) << shift 5358 if b < 0x80 { 5359 break 5360 } 5361 } 5362 intStringLen := int(stringLen) 5363 if intStringLen < 0 { 5364 return ErrInvalidLengthGenerated 5365 } 5366 postIndex := iNdEx + intStringLen 5367 if postIndex < 0 { 5368 return ErrInvalidLengthGenerated 5369 } 5370 if postIndex > l { 5371 return io.ErrUnexpectedEOF 5372 } 5373 m.Version = string(dAtA[iNdEx:postIndex]) 5374 iNdEx = postIndex 5375 case 10: 5376 if wireType != 2 { 5377 return fmt.Errorf("proto: wrong wireType = %d for field StorageVersionHash", wireType) 5378 } 5379 var stringLen uint64 5380 for shift := uint(0); ; shift += 7 { 5381 if shift >= 64 { 5382 return ErrIntOverflowGenerated 5383 } 5384 if iNdEx >= l { 5385 return io.ErrUnexpectedEOF 5386 } 5387 b := dAtA[iNdEx] 5388 iNdEx++ 5389 stringLen |= uint64(b&0x7F) << shift 5390 if b < 0x80 { 5391 break 5392 } 5393 } 5394 intStringLen := int(stringLen) 5395 if intStringLen < 0 { 5396 return ErrInvalidLengthGenerated 5397 } 5398 postIndex := iNdEx + intStringLen 5399 if postIndex < 0 { 5400 return ErrInvalidLengthGenerated 5401 } 5402 if postIndex > l { 5403 return io.ErrUnexpectedEOF 5404 } 5405 m.StorageVersionHash = string(dAtA[iNdEx:postIndex]) 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 } 5428 func (m *APIResourceList) 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: APIResourceList: wiretype end group for non-group") 5452 } 5453 if fieldNum <= 0 { 5454 return fmt.Errorf("proto: APIResourceList: illegal tag %d (wire type %d)", fieldNum, wire) 5455 } 5456 switch fieldNum { 5457 case 1: 5458 if wireType != 2 { 5459 return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType) 5460 } 5461 var stringLen uint64 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 stringLen |= uint64(b&0x7F) << shift 5472 if b < 0x80 { 5473 break 5474 } 5475 } 5476 intStringLen := int(stringLen) 5477 if intStringLen < 0 { 5478 return ErrInvalidLengthGenerated 5479 } 5480 postIndex := iNdEx + intStringLen 5481 if postIndex < 0 { 5482 return ErrInvalidLengthGenerated 5483 } 5484 if postIndex > l { 5485 return io.ErrUnexpectedEOF 5486 } 5487 m.GroupVersion = string(dAtA[iNdEx:postIndex]) 5488 iNdEx = postIndex 5489 case 2: 5490 if wireType != 2 { 5491 return fmt.Errorf("proto: wrong wireType = %d for field APIResources", wireType) 5492 } 5493 var msglen int 5494 for shift := uint(0); ; shift += 7 { 5495 if shift >= 64 { 5496 return ErrIntOverflowGenerated 5497 } 5498 if iNdEx >= l { 5499 return io.ErrUnexpectedEOF 5500 } 5501 b := dAtA[iNdEx] 5502 iNdEx++ 5503 msglen |= int(b&0x7F) << shift 5504 if b < 0x80 { 5505 break 5506 } 5507 } 5508 if msglen < 0 { 5509 return ErrInvalidLengthGenerated 5510 } 5511 postIndex := iNdEx + msglen 5512 if postIndex < 0 { 5513 return ErrInvalidLengthGenerated 5514 } 5515 if postIndex > l { 5516 return io.ErrUnexpectedEOF 5517 } 5518 m.APIResources = append(m.APIResources, APIResource{}) 5519 if err := m.APIResources[len(m.APIResources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5520 return err 5521 } 5522 iNdEx = postIndex 5523 default: 5524 iNdEx = preIndex 5525 skippy, err := skipGenerated(dAtA[iNdEx:]) 5526 if err != nil { 5527 return err 5528 } 5529 if (skippy < 0) || (iNdEx+skippy) < 0 { 5530 return ErrInvalidLengthGenerated 5531 } 5532 if (iNdEx + skippy) > l { 5533 return io.ErrUnexpectedEOF 5534 } 5535 iNdEx += skippy 5536 } 5537 } 5538 5539 if iNdEx > l { 5540 return io.ErrUnexpectedEOF 5541 } 5542 return nil 5543 } 5544 func (m *APIVersions) Unmarshal(dAtA []byte) error { 5545 l := len(dAtA) 5546 iNdEx := 0 5547 for iNdEx < l { 5548 preIndex := iNdEx 5549 var wire uint64 5550 for shift := uint(0); ; shift += 7 { 5551 if shift >= 64 { 5552 return ErrIntOverflowGenerated 5553 } 5554 if iNdEx >= l { 5555 return io.ErrUnexpectedEOF 5556 } 5557 b := dAtA[iNdEx] 5558 iNdEx++ 5559 wire |= uint64(b&0x7F) << shift 5560 if b < 0x80 { 5561 break 5562 } 5563 } 5564 fieldNum := int32(wire >> 3) 5565 wireType := int(wire & 0x7) 5566 if wireType == 4 { 5567 return fmt.Errorf("proto: APIVersions: wiretype end group for non-group") 5568 } 5569 if fieldNum <= 0 { 5570 return fmt.Errorf("proto: APIVersions: illegal tag %d (wire type %d)", fieldNum, wire) 5571 } 5572 switch fieldNum { 5573 case 1: 5574 if wireType != 2 { 5575 return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType) 5576 } 5577 var stringLen uint64 5578 for shift := uint(0); ; shift += 7 { 5579 if shift >= 64 { 5580 return ErrIntOverflowGenerated 5581 } 5582 if iNdEx >= l { 5583 return io.ErrUnexpectedEOF 5584 } 5585 b := dAtA[iNdEx] 5586 iNdEx++ 5587 stringLen |= uint64(b&0x7F) << shift 5588 if b < 0x80 { 5589 break 5590 } 5591 } 5592 intStringLen := int(stringLen) 5593 if intStringLen < 0 { 5594 return ErrInvalidLengthGenerated 5595 } 5596 postIndex := iNdEx + intStringLen 5597 if postIndex < 0 { 5598 return ErrInvalidLengthGenerated 5599 } 5600 if postIndex > l { 5601 return io.ErrUnexpectedEOF 5602 } 5603 m.Versions = append(m.Versions, string(dAtA[iNdEx:postIndex])) 5604 iNdEx = postIndex 5605 case 2: 5606 if wireType != 2 { 5607 return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType) 5608 } 5609 var msglen int 5610 for shift := uint(0); ; shift += 7 { 5611 if shift >= 64 { 5612 return ErrIntOverflowGenerated 5613 } 5614 if iNdEx >= l { 5615 return io.ErrUnexpectedEOF 5616 } 5617 b := dAtA[iNdEx] 5618 iNdEx++ 5619 msglen |= int(b&0x7F) << shift 5620 if b < 0x80 { 5621 break 5622 } 5623 } 5624 if msglen < 0 { 5625 return ErrInvalidLengthGenerated 5626 } 5627 postIndex := iNdEx + msglen 5628 if postIndex < 0 { 5629 return ErrInvalidLengthGenerated 5630 } 5631 if postIndex > l { 5632 return io.ErrUnexpectedEOF 5633 } 5634 m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{}) 5635 if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5636 return err 5637 } 5638 iNdEx = postIndex 5639 default: 5640 iNdEx = preIndex 5641 skippy, err := skipGenerated(dAtA[iNdEx:]) 5642 if err != nil { 5643 return err 5644 } 5645 if (skippy < 0) || (iNdEx+skippy) < 0 { 5646 return ErrInvalidLengthGenerated 5647 } 5648 if (iNdEx + skippy) > l { 5649 return io.ErrUnexpectedEOF 5650 } 5651 iNdEx += skippy 5652 } 5653 } 5654 5655 if iNdEx > l { 5656 return io.ErrUnexpectedEOF 5657 } 5658 return nil 5659 } 5660 func (m *ApplyOptions) Unmarshal(dAtA []byte) error { 5661 l := len(dAtA) 5662 iNdEx := 0 5663 for iNdEx < l { 5664 preIndex := iNdEx 5665 var wire uint64 5666 for shift := uint(0); ; shift += 7 { 5667 if shift >= 64 { 5668 return ErrIntOverflowGenerated 5669 } 5670 if iNdEx >= l { 5671 return io.ErrUnexpectedEOF 5672 } 5673 b := dAtA[iNdEx] 5674 iNdEx++ 5675 wire |= uint64(b&0x7F) << shift 5676 if b < 0x80 { 5677 break 5678 } 5679 } 5680 fieldNum := int32(wire >> 3) 5681 wireType := int(wire & 0x7) 5682 if wireType == 4 { 5683 return fmt.Errorf("proto: ApplyOptions: wiretype end group for non-group") 5684 } 5685 if fieldNum <= 0 { 5686 return fmt.Errorf("proto: ApplyOptions: illegal tag %d (wire type %d)", fieldNum, wire) 5687 } 5688 switch fieldNum { 5689 case 1: 5690 if wireType != 2 { 5691 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) 5692 } 5693 var stringLen uint64 5694 for shift := uint(0); ; shift += 7 { 5695 if shift >= 64 { 5696 return ErrIntOverflowGenerated 5697 } 5698 if iNdEx >= l { 5699 return io.ErrUnexpectedEOF 5700 } 5701 b := dAtA[iNdEx] 5702 iNdEx++ 5703 stringLen |= uint64(b&0x7F) << shift 5704 if b < 0x80 { 5705 break 5706 } 5707 } 5708 intStringLen := int(stringLen) 5709 if intStringLen < 0 { 5710 return ErrInvalidLengthGenerated 5711 } 5712 postIndex := iNdEx + intStringLen 5713 if postIndex < 0 { 5714 return ErrInvalidLengthGenerated 5715 } 5716 if postIndex > l { 5717 return io.ErrUnexpectedEOF 5718 } 5719 m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) 5720 iNdEx = postIndex 5721 case 2: 5722 if wireType != 0 { 5723 return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) 5724 } 5725 var v int 5726 for shift := uint(0); ; shift += 7 { 5727 if shift >= 64 { 5728 return ErrIntOverflowGenerated 5729 } 5730 if iNdEx >= l { 5731 return io.ErrUnexpectedEOF 5732 } 5733 b := dAtA[iNdEx] 5734 iNdEx++ 5735 v |= int(b&0x7F) << shift 5736 if b < 0x80 { 5737 break 5738 } 5739 } 5740 m.Force = bool(v != 0) 5741 case 3: 5742 if wireType != 2 { 5743 return fmt.Errorf("proto: wrong wireType = %d for field FieldManager", wireType) 5744 } 5745 var stringLen uint64 5746 for shift := uint(0); ; shift += 7 { 5747 if shift >= 64 { 5748 return ErrIntOverflowGenerated 5749 } 5750 if iNdEx >= l { 5751 return io.ErrUnexpectedEOF 5752 } 5753 b := dAtA[iNdEx] 5754 iNdEx++ 5755 stringLen |= uint64(b&0x7F) << shift 5756 if b < 0x80 { 5757 break 5758 } 5759 } 5760 intStringLen := int(stringLen) 5761 if intStringLen < 0 { 5762 return ErrInvalidLengthGenerated 5763 } 5764 postIndex := iNdEx + intStringLen 5765 if postIndex < 0 { 5766 return ErrInvalidLengthGenerated 5767 } 5768 if postIndex > l { 5769 return io.ErrUnexpectedEOF 5770 } 5771 m.FieldManager = string(dAtA[iNdEx:postIndex]) 5772 iNdEx = postIndex 5773 default: 5774 iNdEx = preIndex 5775 skippy, err := skipGenerated(dAtA[iNdEx:]) 5776 if err != nil { 5777 return err 5778 } 5779 if (skippy < 0) || (iNdEx+skippy) < 0 { 5780 return ErrInvalidLengthGenerated 5781 } 5782 if (iNdEx + skippy) > l { 5783 return io.ErrUnexpectedEOF 5784 } 5785 iNdEx += skippy 5786 } 5787 } 5788 5789 if iNdEx > l { 5790 return io.ErrUnexpectedEOF 5791 } 5792 return nil 5793 } 5794 func (m *Condition) Unmarshal(dAtA []byte) error { 5795 l := len(dAtA) 5796 iNdEx := 0 5797 for iNdEx < l { 5798 preIndex := iNdEx 5799 var wire uint64 5800 for shift := uint(0); ; shift += 7 { 5801 if shift >= 64 { 5802 return ErrIntOverflowGenerated 5803 } 5804 if iNdEx >= l { 5805 return io.ErrUnexpectedEOF 5806 } 5807 b := dAtA[iNdEx] 5808 iNdEx++ 5809 wire |= uint64(b&0x7F) << shift 5810 if b < 0x80 { 5811 break 5812 } 5813 } 5814 fieldNum := int32(wire >> 3) 5815 wireType := int(wire & 0x7) 5816 if wireType == 4 { 5817 return fmt.Errorf("proto: Condition: wiretype end group for non-group") 5818 } 5819 if fieldNum <= 0 { 5820 return fmt.Errorf("proto: Condition: illegal tag %d (wire type %d)", fieldNum, wire) 5821 } 5822 switch fieldNum { 5823 case 1: 5824 if wireType != 2 { 5825 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 5826 } 5827 var stringLen uint64 5828 for shift := uint(0); ; shift += 7 { 5829 if shift >= 64 { 5830 return ErrIntOverflowGenerated 5831 } 5832 if iNdEx >= l { 5833 return io.ErrUnexpectedEOF 5834 } 5835 b := dAtA[iNdEx] 5836 iNdEx++ 5837 stringLen |= uint64(b&0x7F) << shift 5838 if b < 0x80 { 5839 break 5840 } 5841 } 5842 intStringLen := int(stringLen) 5843 if intStringLen < 0 { 5844 return ErrInvalidLengthGenerated 5845 } 5846 postIndex := iNdEx + intStringLen 5847 if postIndex < 0 { 5848 return ErrInvalidLengthGenerated 5849 } 5850 if postIndex > l { 5851 return io.ErrUnexpectedEOF 5852 } 5853 m.Type = string(dAtA[iNdEx:postIndex]) 5854 iNdEx = postIndex 5855 case 2: 5856 if wireType != 2 { 5857 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) 5858 } 5859 var stringLen uint64 5860 for shift := uint(0); ; shift += 7 { 5861 if shift >= 64 { 5862 return ErrIntOverflowGenerated 5863 } 5864 if iNdEx >= l { 5865 return io.ErrUnexpectedEOF 5866 } 5867 b := dAtA[iNdEx] 5868 iNdEx++ 5869 stringLen |= uint64(b&0x7F) << shift 5870 if b < 0x80 { 5871 break 5872 } 5873 } 5874 intStringLen := int(stringLen) 5875 if intStringLen < 0 { 5876 return ErrInvalidLengthGenerated 5877 } 5878 postIndex := iNdEx + intStringLen 5879 if postIndex < 0 { 5880 return ErrInvalidLengthGenerated 5881 } 5882 if postIndex > l { 5883 return io.ErrUnexpectedEOF 5884 } 5885 m.Status = ConditionStatus(dAtA[iNdEx:postIndex]) 5886 iNdEx = postIndex 5887 case 3: 5888 if wireType != 0 { 5889 return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType) 5890 } 5891 m.ObservedGeneration = 0 5892 for shift := uint(0); ; shift += 7 { 5893 if shift >= 64 { 5894 return ErrIntOverflowGenerated 5895 } 5896 if iNdEx >= l { 5897 return io.ErrUnexpectedEOF 5898 } 5899 b := dAtA[iNdEx] 5900 iNdEx++ 5901 m.ObservedGeneration |= int64(b&0x7F) << shift 5902 if b < 0x80 { 5903 break 5904 } 5905 } 5906 case 4: 5907 if wireType != 2 { 5908 return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) 5909 } 5910 var msglen int 5911 for shift := uint(0); ; shift += 7 { 5912 if shift >= 64 { 5913 return ErrIntOverflowGenerated 5914 } 5915 if iNdEx >= l { 5916 return io.ErrUnexpectedEOF 5917 } 5918 b := dAtA[iNdEx] 5919 iNdEx++ 5920 msglen |= int(b&0x7F) << shift 5921 if b < 0x80 { 5922 break 5923 } 5924 } 5925 if msglen < 0 { 5926 return ErrInvalidLengthGenerated 5927 } 5928 postIndex := iNdEx + msglen 5929 if postIndex < 0 { 5930 return ErrInvalidLengthGenerated 5931 } 5932 if postIndex > l { 5933 return io.ErrUnexpectedEOF 5934 } 5935 if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5936 return err 5937 } 5938 iNdEx = postIndex 5939 case 5: 5940 if wireType != 2 { 5941 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) 5942 } 5943 var stringLen uint64 5944 for shift := uint(0); ; shift += 7 { 5945 if shift >= 64 { 5946 return ErrIntOverflowGenerated 5947 } 5948 if iNdEx >= l { 5949 return io.ErrUnexpectedEOF 5950 } 5951 b := dAtA[iNdEx] 5952 iNdEx++ 5953 stringLen |= uint64(b&0x7F) << shift 5954 if b < 0x80 { 5955 break 5956 } 5957 } 5958 intStringLen := int(stringLen) 5959 if intStringLen < 0 { 5960 return ErrInvalidLengthGenerated 5961 } 5962 postIndex := iNdEx + intStringLen 5963 if postIndex < 0 { 5964 return ErrInvalidLengthGenerated 5965 } 5966 if postIndex > l { 5967 return io.ErrUnexpectedEOF 5968 } 5969 m.Reason = string(dAtA[iNdEx:postIndex]) 5970 iNdEx = postIndex 5971 case 6: 5972 if wireType != 2 { 5973 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) 5974 } 5975 var stringLen uint64 5976 for shift := uint(0); ; shift += 7 { 5977 if shift >= 64 { 5978 return ErrIntOverflowGenerated 5979 } 5980 if iNdEx >= l { 5981 return io.ErrUnexpectedEOF 5982 } 5983 b := dAtA[iNdEx] 5984 iNdEx++ 5985 stringLen |= uint64(b&0x7F) << shift 5986 if b < 0x80 { 5987 break 5988 } 5989 } 5990 intStringLen := int(stringLen) 5991 if intStringLen < 0 { 5992 return ErrInvalidLengthGenerated 5993 } 5994 postIndex := iNdEx + intStringLen 5995 if postIndex < 0 { 5996 return ErrInvalidLengthGenerated 5997 } 5998 if postIndex > l { 5999 return io.ErrUnexpectedEOF 6000 } 6001 m.Message = string(dAtA[iNdEx:postIndex]) 6002 iNdEx = postIndex 6003 default: 6004 iNdEx = preIndex 6005 skippy, err := skipGenerated(dAtA[iNdEx:]) 6006 if err != nil { 6007 return err 6008 } 6009 if (skippy < 0) || (iNdEx+skippy) < 0 { 6010 return ErrInvalidLengthGenerated 6011 } 6012 if (iNdEx + skippy) > l { 6013 return io.ErrUnexpectedEOF 6014 } 6015 iNdEx += skippy 6016 } 6017 } 6018 6019 if iNdEx > l { 6020 return io.ErrUnexpectedEOF 6021 } 6022 return nil 6023 } 6024 func (m *CreateOptions) Unmarshal(dAtA []byte) error { 6025 l := len(dAtA) 6026 iNdEx := 0 6027 for iNdEx < l { 6028 preIndex := iNdEx 6029 var wire uint64 6030 for shift := uint(0); ; shift += 7 { 6031 if shift >= 64 { 6032 return ErrIntOverflowGenerated 6033 } 6034 if iNdEx >= l { 6035 return io.ErrUnexpectedEOF 6036 } 6037 b := dAtA[iNdEx] 6038 iNdEx++ 6039 wire |= uint64(b&0x7F) << shift 6040 if b < 0x80 { 6041 break 6042 } 6043 } 6044 fieldNum := int32(wire >> 3) 6045 wireType := int(wire & 0x7) 6046 if wireType == 4 { 6047 return fmt.Errorf("proto: CreateOptions: wiretype end group for non-group") 6048 } 6049 if fieldNum <= 0 { 6050 return fmt.Errorf("proto: CreateOptions: illegal tag %d (wire type %d)", fieldNum, wire) 6051 } 6052 switch fieldNum { 6053 case 1: 6054 if wireType != 2 { 6055 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) 6056 } 6057 var stringLen uint64 6058 for shift := uint(0); ; shift += 7 { 6059 if shift >= 64 { 6060 return ErrIntOverflowGenerated 6061 } 6062 if iNdEx >= l { 6063 return io.ErrUnexpectedEOF 6064 } 6065 b := dAtA[iNdEx] 6066 iNdEx++ 6067 stringLen |= uint64(b&0x7F) << shift 6068 if b < 0x80 { 6069 break 6070 } 6071 } 6072 intStringLen := int(stringLen) 6073 if intStringLen < 0 { 6074 return ErrInvalidLengthGenerated 6075 } 6076 postIndex := iNdEx + intStringLen 6077 if postIndex < 0 { 6078 return ErrInvalidLengthGenerated 6079 } 6080 if postIndex > l { 6081 return io.ErrUnexpectedEOF 6082 } 6083 m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) 6084 iNdEx = postIndex 6085 case 3: 6086 if wireType != 2 { 6087 return fmt.Errorf("proto: wrong wireType = %d for field FieldManager", wireType) 6088 } 6089 var stringLen uint64 6090 for shift := uint(0); ; shift += 7 { 6091 if shift >= 64 { 6092 return ErrIntOverflowGenerated 6093 } 6094 if iNdEx >= l { 6095 return io.ErrUnexpectedEOF 6096 } 6097 b := dAtA[iNdEx] 6098 iNdEx++ 6099 stringLen |= uint64(b&0x7F) << shift 6100 if b < 0x80 { 6101 break 6102 } 6103 } 6104 intStringLen := int(stringLen) 6105 if intStringLen < 0 { 6106 return ErrInvalidLengthGenerated 6107 } 6108 postIndex := iNdEx + intStringLen 6109 if postIndex < 0 { 6110 return ErrInvalidLengthGenerated 6111 } 6112 if postIndex > l { 6113 return io.ErrUnexpectedEOF 6114 } 6115 m.FieldManager = string(dAtA[iNdEx:postIndex]) 6116 iNdEx = postIndex 6117 case 4: 6118 if wireType != 2 { 6119 return fmt.Errorf("proto: wrong wireType = %d for field FieldValidation", wireType) 6120 } 6121 var stringLen uint64 6122 for shift := uint(0); ; shift += 7 { 6123 if shift >= 64 { 6124 return ErrIntOverflowGenerated 6125 } 6126 if iNdEx >= l { 6127 return io.ErrUnexpectedEOF 6128 } 6129 b := dAtA[iNdEx] 6130 iNdEx++ 6131 stringLen |= uint64(b&0x7F) << shift 6132 if b < 0x80 { 6133 break 6134 } 6135 } 6136 intStringLen := int(stringLen) 6137 if intStringLen < 0 { 6138 return ErrInvalidLengthGenerated 6139 } 6140 postIndex := iNdEx + intStringLen 6141 if postIndex < 0 { 6142 return ErrInvalidLengthGenerated 6143 } 6144 if postIndex > l { 6145 return io.ErrUnexpectedEOF 6146 } 6147 m.FieldValidation = string(dAtA[iNdEx:postIndex]) 6148 iNdEx = postIndex 6149 default: 6150 iNdEx = preIndex 6151 skippy, err := skipGenerated(dAtA[iNdEx:]) 6152 if err != nil { 6153 return err 6154 } 6155 if (skippy < 0) || (iNdEx+skippy) < 0 { 6156 return ErrInvalidLengthGenerated 6157 } 6158 if (iNdEx + skippy) > l { 6159 return io.ErrUnexpectedEOF 6160 } 6161 iNdEx += skippy 6162 } 6163 } 6164 6165 if iNdEx > l { 6166 return io.ErrUnexpectedEOF 6167 } 6168 return nil 6169 } 6170 func (m *DeleteOptions) Unmarshal(dAtA []byte) error { 6171 l := len(dAtA) 6172 iNdEx := 0 6173 for iNdEx < l { 6174 preIndex := iNdEx 6175 var wire uint64 6176 for shift := uint(0); ; shift += 7 { 6177 if shift >= 64 { 6178 return ErrIntOverflowGenerated 6179 } 6180 if iNdEx >= l { 6181 return io.ErrUnexpectedEOF 6182 } 6183 b := dAtA[iNdEx] 6184 iNdEx++ 6185 wire |= uint64(b&0x7F) << shift 6186 if b < 0x80 { 6187 break 6188 } 6189 } 6190 fieldNum := int32(wire >> 3) 6191 wireType := int(wire & 0x7) 6192 if wireType == 4 { 6193 return fmt.Errorf("proto: DeleteOptions: wiretype end group for non-group") 6194 } 6195 if fieldNum <= 0 { 6196 return fmt.Errorf("proto: DeleteOptions: illegal tag %d (wire type %d)", fieldNum, wire) 6197 } 6198 switch fieldNum { 6199 case 1: 6200 if wireType != 0 { 6201 return fmt.Errorf("proto: wrong wireType = %d for field GracePeriodSeconds", wireType) 6202 } 6203 var v int64 6204 for shift := uint(0); ; shift += 7 { 6205 if shift >= 64 { 6206 return ErrIntOverflowGenerated 6207 } 6208 if iNdEx >= l { 6209 return io.ErrUnexpectedEOF 6210 } 6211 b := dAtA[iNdEx] 6212 iNdEx++ 6213 v |= int64(b&0x7F) << shift 6214 if b < 0x80 { 6215 break 6216 } 6217 } 6218 m.GracePeriodSeconds = &v 6219 case 2: 6220 if wireType != 2 { 6221 return fmt.Errorf("proto: wrong wireType = %d for field Preconditions", wireType) 6222 } 6223 var msglen int 6224 for shift := uint(0); ; shift += 7 { 6225 if shift >= 64 { 6226 return ErrIntOverflowGenerated 6227 } 6228 if iNdEx >= l { 6229 return io.ErrUnexpectedEOF 6230 } 6231 b := dAtA[iNdEx] 6232 iNdEx++ 6233 msglen |= int(b&0x7F) << shift 6234 if b < 0x80 { 6235 break 6236 } 6237 } 6238 if msglen < 0 { 6239 return ErrInvalidLengthGenerated 6240 } 6241 postIndex := iNdEx + msglen 6242 if postIndex < 0 { 6243 return ErrInvalidLengthGenerated 6244 } 6245 if postIndex > l { 6246 return io.ErrUnexpectedEOF 6247 } 6248 if m.Preconditions == nil { 6249 m.Preconditions = &Preconditions{} 6250 } 6251 if err := m.Preconditions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6252 return err 6253 } 6254 iNdEx = postIndex 6255 case 3: 6256 if wireType != 0 { 6257 return fmt.Errorf("proto: wrong wireType = %d for field OrphanDependents", wireType) 6258 } 6259 var v int 6260 for shift := uint(0); ; shift += 7 { 6261 if shift >= 64 { 6262 return ErrIntOverflowGenerated 6263 } 6264 if iNdEx >= l { 6265 return io.ErrUnexpectedEOF 6266 } 6267 b := dAtA[iNdEx] 6268 iNdEx++ 6269 v |= int(b&0x7F) << shift 6270 if b < 0x80 { 6271 break 6272 } 6273 } 6274 b := bool(v != 0) 6275 m.OrphanDependents = &b 6276 case 4: 6277 if wireType != 2 { 6278 return fmt.Errorf("proto: wrong wireType = %d for field PropagationPolicy", wireType) 6279 } 6280 var stringLen uint64 6281 for shift := uint(0); ; shift += 7 { 6282 if shift >= 64 { 6283 return ErrIntOverflowGenerated 6284 } 6285 if iNdEx >= l { 6286 return io.ErrUnexpectedEOF 6287 } 6288 b := dAtA[iNdEx] 6289 iNdEx++ 6290 stringLen |= uint64(b&0x7F) << shift 6291 if b < 0x80 { 6292 break 6293 } 6294 } 6295 intStringLen := int(stringLen) 6296 if intStringLen < 0 { 6297 return ErrInvalidLengthGenerated 6298 } 6299 postIndex := iNdEx + intStringLen 6300 if postIndex < 0 { 6301 return ErrInvalidLengthGenerated 6302 } 6303 if postIndex > l { 6304 return io.ErrUnexpectedEOF 6305 } 6306 s := DeletionPropagation(dAtA[iNdEx:postIndex]) 6307 m.PropagationPolicy = &s 6308 iNdEx = postIndex 6309 case 5: 6310 if wireType != 2 { 6311 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) 6312 } 6313 var stringLen uint64 6314 for shift := uint(0); ; shift += 7 { 6315 if shift >= 64 { 6316 return ErrIntOverflowGenerated 6317 } 6318 if iNdEx >= l { 6319 return io.ErrUnexpectedEOF 6320 } 6321 b := dAtA[iNdEx] 6322 iNdEx++ 6323 stringLen |= uint64(b&0x7F) << shift 6324 if b < 0x80 { 6325 break 6326 } 6327 } 6328 intStringLen := int(stringLen) 6329 if intStringLen < 0 { 6330 return ErrInvalidLengthGenerated 6331 } 6332 postIndex := iNdEx + intStringLen 6333 if postIndex < 0 { 6334 return ErrInvalidLengthGenerated 6335 } 6336 if postIndex > l { 6337 return io.ErrUnexpectedEOF 6338 } 6339 m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) 6340 iNdEx = postIndex 6341 default: 6342 iNdEx = preIndex 6343 skippy, err := skipGenerated(dAtA[iNdEx:]) 6344 if err != nil { 6345 return err 6346 } 6347 if (skippy < 0) || (iNdEx+skippy) < 0 { 6348 return ErrInvalidLengthGenerated 6349 } 6350 if (iNdEx + skippy) > l { 6351 return io.ErrUnexpectedEOF 6352 } 6353 iNdEx += skippy 6354 } 6355 } 6356 6357 if iNdEx > l { 6358 return io.ErrUnexpectedEOF 6359 } 6360 return nil 6361 } 6362 func (m *Duration) Unmarshal(dAtA []byte) error { 6363 l := len(dAtA) 6364 iNdEx := 0 6365 for iNdEx < l { 6366 preIndex := iNdEx 6367 var wire uint64 6368 for shift := uint(0); ; shift += 7 { 6369 if shift >= 64 { 6370 return ErrIntOverflowGenerated 6371 } 6372 if iNdEx >= l { 6373 return io.ErrUnexpectedEOF 6374 } 6375 b := dAtA[iNdEx] 6376 iNdEx++ 6377 wire |= uint64(b&0x7F) << shift 6378 if b < 0x80 { 6379 break 6380 } 6381 } 6382 fieldNum := int32(wire >> 3) 6383 wireType := int(wire & 0x7) 6384 if wireType == 4 { 6385 return fmt.Errorf("proto: Duration: wiretype end group for non-group") 6386 } 6387 if fieldNum <= 0 { 6388 return fmt.Errorf("proto: Duration: illegal tag %d (wire type %d)", fieldNum, wire) 6389 } 6390 switch fieldNum { 6391 case 1: 6392 if wireType != 0 { 6393 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 6394 } 6395 m.Duration = 0 6396 for shift := uint(0); ; shift += 7 { 6397 if shift >= 64 { 6398 return ErrIntOverflowGenerated 6399 } 6400 if iNdEx >= l { 6401 return io.ErrUnexpectedEOF 6402 } 6403 b := dAtA[iNdEx] 6404 iNdEx++ 6405 m.Duration |= time.Duration(b&0x7F) << shift 6406 if b < 0x80 { 6407 break 6408 } 6409 } 6410 default: 6411 iNdEx = preIndex 6412 skippy, err := skipGenerated(dAtA[iNdEx:]) 6413 if err != nil { 6414 return err 6415 } 6416 if (skippy < 0) || (iNdEx+skippy) < 0 { 6417 return ErrInvalidLengthGenerated 6418 } 6419 if (iNdEx + skippy) > l { 6420 return io.ErrUnexpectedEOF 6421 } 6422 iNdEx += skippy 6423 } 6424 } 6425 6426 if iNdEx > l { 6427 return io.ErrUnexpectedEOF 6428 } 6429 return nil 6430 } 6431 func (m *FieldsV1) Unmarshal(dAtA []byte) error { 6432 l := len(dAtA) 6433 iNdEx := 0 6434 for iNdEx < l { 6435 preIndex := iNdEx 6436 var wire uint64 6437 for shift := uint(0); ; shift += 7 { 6438 if shift >= 64 { 6439 return ErrIntOverflowGenerated 6440 } 6441 if iNdEx >= l { 6442 return io.ErrUnexpectedEOF 6443 } 6444 b := dAtA[iNdEx] 6445 iNdEx++ 6446 wire |= uint64(b&0x7F) << shift 6447 if b < 0x80 { 6448 break 6449 } 6450 } 6451 fieldNum := int32(wire >> 3) 6452 wireType := int(wire & 0x7) 6453 if wireType == 4 { 6454 return fmt.Errorf("proto: FieldsV1: wiretype end group for non-group") 6455 } 6456 if fieldNum <= 0 { 6457 return fmt.Errorf("proto: FieldsV1: illegal tag %d (wire type %d)", fieldNum, wire) 6458 } 6459 switch fieldNum { 6460 case 1: 6461 if wireType != 2 { 6462 return fmt.Errorf("proto: wrong wireType = %d for field Raw", wireType) 6463 } 6464 var byteLen int 6465 for shift := uint(0); ; shift += 7 { 6466 if shift >= 64 { 6467 return ErrIntOverflowGenerated 6468 } 6469 if iNdEx >= l { 6470 return io.ErrUnexpectedEOF 6471 } 6472 b := dAtA[iNdEx] 6473 iNdEx++ 6474 byteLen |= int(b&0x7F) << shift 6475 if b < 0x80 { 6476 break 6477 } 6478 } 6479 if byteLen < 0 { 6480 return ErrInvalidLengthGenerated 6481 } 6482 postIndex := iNdEx + byteLen 6483 if postIndex < 0 { 6484 return ErrInvalidLengthGenerated 6485 } 6486 if postIndex > l { 6487 return io.ErrUnexpectedEOF 6488 } 6489 m.Raw = append(m.Raw[:0], dAtA[iNdEx:postIndex]...) 6490 if m.Raw == nil { 6491 m.Raw = []byte{} 6492 } 6493 iNdEx = postIndex 6494 default: 6495 iNdEx = preIndex 6496 skippy, err := skipGenerated(dAtA[iNdEx:]) 6497 if err != nil { 6498 return err 6499 } 6500 if (skippy < 0) || (iNdEx+skippy) < 0 { 6501 return ErrInvalidLengthGenerated 6502 } 6503 if (iNdEx + skippy) > l { 6504 return io.ErrUnexpectedEOF 6505 } 6506 iNdEx += skippy 6507 } 6508 } 6509 6510 if iNdEx > l { 6511 return io.ErrUnexpectedEOF 6512 } 6513 return nil 6514 } 6515 func (m *GetOptions) Unmarshal(dAtA []byte) error { 6516 l := len(dAtA) 6517 iNdEx := 0 6518 for iNdEx < l { 6519 preIndex := iNdEx 6520 var wire uint64 6521 for shift := uint(0); ; shift += 7 { 6522 if shift >= 64 { 6523 return ErrIntOverflowGenerated 6524 } 6525 if iNdEx >= l { 6526 return io.ErrUnexpectedEOF 6527 } 6528 b := dAtA[iNdEx] 6529 iNdEx++ 6530 wire |= uint64(b&0x7F) << shift 6531 if b < 0x80 { 6532 break 6533 } 6534 } 6535 fieldNum := int32(wire >> 3) 6536 wireType := int(wire & 0x7) 6537 if wireType == 4 { 6538 return fmt.Errorf("proto: GetOptions: wiretype end group for non-group") 6539 } 6540 if fieldNum <= 0 { 6541 return fmt.Errorf("proto: GetOptions: illegal tag %d (wire type %d)", fieldNum, wire) 6542 } 6543 switch fieldNum { 6544 case 1: 6545 if wireType != 2 { 6546 return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) 6547 } 6548 var stringLen uint64 6549 for shift := uint(0); ; shift += 7 { 6550 if shift >= 64 { 6551 return ErrIntOverflowGenerated 6552 } 6553 if iNdEx >= l { 6554 return io.ErrUnexpectedEOF 6555 } 6556 b := dAtA[iNdEx] 6557 iNdEx++ 6558 stringLen |= uint64(b&0x7F) << shift 6559 if b < 0x80 { 6560 break 6561 } 6562 } 6563 intStringLen := int(stringLen) 6564 if intStringLen < 0 { 6565 return ErrInvalidLengthGenerated 6566 } 6567 postIndex := iNdEx + intStringLen 6568 if postIndex < 0 { 6569 return ErrInvalidLengthGenerated 6570 } 6571 if postIndex > l { 6572 return io.ErrUnexpectedEOF 6573 } 6574 m.ResourceVersion = string(dAtA[iNdEx:postIndex]) 6575 iNdEx = postIndex 6576 default: 6577 iNdEx = preIndex 6578 skippy, err := skipGenerated(dAtA[iNdEx:]) 6579 if err != nil { 6580 return err 6581 } 6582 if (skippy < 0) || (iNdEx+skippy) < 0 { 6583 return ErrInvalidLengthGenerated 6584 } 6585 if (iNdEx + skippy) > l { 6586 return io.ErrUnexpectedEOF 6587 } 6588 iNdEx += skippy 6589 } 6590 } 6591 6592 if iNdEx > l { 6593 return io.ErrUnexpectedEOF 6594 } 6595 return nil 6596 } 6597 func (m *GroupKind) Unmarshal(dAtA []byte) error { 6598 l := len(dAtA) 6599 iNdEx := 0 6600 for iNdEx < l { 6601 preIndex := iNdEx 6602 var wire uint64 6603 for shift := uint(0); ; shift += 7 { 6604 if shift >= 64 { 6605 return ErrIntOverflowGenerated 6606 } 6607 if iNdEx >= l { 6608 return io.ErrUnexpectedEOF 6609 } 6610 b := dAtA[iNdEx] 6611 iNdEx++ 6612 wire |= uint64(b&0x7F) << shift 6613 if b < 0x80 { 6614 break 6615 } 6616 } 6617 fieldNum := int32(wire >> 3) 6618 wireType := int(wire & 0x7) 6619 if wireType == 4 { 6620 return fmt.Errorf("proto: GroupKind: wiretype end group for non-group") 6621 } 6622 if fieldNum <= 0 { 6623 return fmt.Errorf("proto: GroupKind: illegal tag %d (wire type %d)", fieldNum, wire) 6624 } 6625 switch fieldNum { 6626 case 1: 6627 if wireType != 2 { 6628 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 6629 } 6630 var stringLen uint64 6631 for shift := uint(0); ; shift += 7 { 6632 if shift >= 64 { 6633 return ErrIntOverflowGenerated 6634 } 6635 if iNdEx >= l { 6636 return io.ErrUnexpectedEOF 6637 } 6638 b := dAtA[iNdEx] 6639 iNdEx++ 6640 stringLen |= uint64(b&0x7F) << shift 6641 if b < 0x80 { 6642 break 6643 } 6644 } 6645 intStringLen := int(stringLen) 6646 if intStringLen < 0 { 6647 return ErrInvalidLengthGenerated 6648 } 6649 postIndex := iNdEx + intStringLen 6650 if postIndex < 0 { 6651 return ErrInvalidLengthGenerated 6652 } 6653 if postIndex > l { 6654 return io.ErrUnexpectedEOF 6655 } 6656 m.Group = string(dAtA[iNdEx:postIndex]) 6657 iNdEx = postIndex 6658 case 2: 6659 if wireType != 2 { 6660 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 6661 } 6662 var stringLen uint64 6663 for shift := uint(0); ; shift += 7 { 6664 if shift >= 64 { 6665 return ErrIntOverflowGenerated 6666 } 6667 if iNdEx >= l { 6668 return io.ErrUnexpectedEOF 6669 } 6670 b := dAtA[iNdEx] 6671 iNdEx++ 6672 stringLen |= uint64(b&0x7F) << shift 6673 if b < 0x80 { 6674 break 6675 } 6676 } 6677 intStringLen := int(stringLen) 6678 if intStringLen < 0 { 6679 return ErrInvalidLengthGenerated 6680 } 6681 postIndex := iNdEx + intStringLen 6682 if postIndex < 0 { 6683 return ErrInvalidLengthGenerated 6684 } 6685 if postIndex > l { 6686 return io.ErrUnexpectedEOF 6687 } 6688 m.Kind = string(dAtA[iNdEx:postIndex]) 6689 iNdEx = postIndex 6690 default: 6691 iNdEx = preIndex 6692 skippy, err := skipGenerated(dAtA[iNdEx:]) 6693 if err != nil { 6694 return err 6695 } 6696 if (skippy < 0) || (iNdEx+skippy) < 0 { 6697 return ErrInvalidLengthGenerated 6698 } 6699 if (iNdEx + skippy) > l { 6700 return io.ErrUnexpectedEOF 6701 } 6702 iNdEx += skippy 6703 } 6704 } 6705 6706 if iNdEx > l { 6707 return io.ErrUnexpectedEOF 6708 } 6709 return nil 6710 } 6711 func (m *GroupResource) Unmarshal(dAtA []byte) error { 6712 l := len(dAtA) 6713 iNdEx := 0 6714 for iNdEx < l { 6715 preIndex := iNdEx 6716 var wire uint64 6717 for shift := uint(0); ; shift += 7 { 6718 if shift >= 64 { 6719 return ErrIntOverflowGenerated 6720 } 6721 if iNdEx >= l { 6722 return io.ErrUnexpectedEOF 6723 } 6724 b := dAtA[iNdEx] 6725 iNdEx++ 6726 wire |= uint64(b&0x7F) << shift 6727 if b < 0x80 { 6728 break 6729 } 6730 } 6731 fieldNum := int32(wire >> 3) 6732 wireType := int(wire & 0x7) 6733 if wireType == 4 { 6734 return fmt.Errorf("proto: GroupResource: wiretype end group for non-group") 6735 } 6736 if fieldNum <= 0 { 6737 return fmt.Errorf("proto: GroupResource: illegal tag %d (wire type %d)", fieldNum, wire) 6738 } 6739 switch fieldNum { 6740 case 1: 6741 if wireType != 2 { 6742 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 6743 } 6744 var stringLen uint64 6745 for shift := uint(0); ; shift += 7 { 6746 if shift >= 64 { 6747 return ErrIntOverflowGenerated 6748 } 6749 if iNdEx >= l { 6750 return io.ErrUnexpectedEOF 6751 } 6752 b := dAtA[iNdEx] 6753 iNdEx++ 6754 stringLen |= uint64(b&0x7F) << shift 6755 if b < 0x80 { 6756 break 6757 } 6758 } 6759 intStringLen := int(stringLen) 6760 if intStringLen < 0 { 6761 return ErrInvalidLengthGenerated 6762 } 6763 postIndex := iNdEx + intStringLen 6764 if postIndex < 0 { 6765 return ErrInvalidLengthGenerated 6766 } 6767 if postIndex > l { 6768 return io.ErrUnexpectedEOF 6769 } 6770 m.Group = string(dAtA[iNdEx:postIndex]) 6771 iNdEx = postIndex 6772 case 2: 6773 if wireType != 2 { 6774 return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType) 6775 } 6776 var stringLen uint64 6777 for shift := uint(0); ; shift += 7 { 6778 if shift >= 64 { 6779 return ErrIntOverflowGenerated 6780 } 6781 if iNdEx >= l { 6782 return io.ErrUnexpectedEOF 6783 } 6784 b := dAtA[iNdEx] 6785 iNdEx++ 6786 stringLen |= uint64(b&0x7F) << shift 6787 if b < 0x80 { 6788 break 6789 } 6790 } 6791 intStringLen := int(stringLen) 6792 if intStringLen < 0 { 6793 return ErrInvalidLengthGenerated 6794 } 6795 postIndex := iNdEx + intStringLen 6796 if postIndex < 0 { 6797 return ErrInvalidLengthGenerated 6798 } 6799 if postIndex > l { 6800 return io.ErrUnexpectedEOF 6801 } 6802 m.Resource = string(dAtA[iNdEx:postIndex]) 6803 iNdEx = postIndex 6804 default: 6805 iNdEx = preIndex 6806 skippy, err := skipGenerated(dAtA[iNdEx:]) 6807 if err != nil { 6808 return err 6809 } 6810 if (skippy < 0) || (iNdEx+skippy) < 0 { 6811 return ErrInvalidLengthGenerated 6812 } 6813 if (iNdEx + skippy) > l { 6814 return io.ErrUnexpectedEOF 6815 } 6816 iNdEx += skippy 6817 } 6818 } 6819 6820 if iNdEx > l { 6821 return io.ErrUnexpectedEOF 6822 } 6823 return nil 6824 } 6825 func (m *GroupVersion) Unmarshal(dAtA []byte) error { 6826 l := len(dAtA) 6827 iNdEx := 0 6828 for iNdEx < l { 6829 preIndex := iNdEx 6830 var wire uint64 6831 for shift := uint(0); ; shift += 7 { 6832 if shift >= 64 { 6833 return ErrIntOverflowGenerated 6834 } 6835 if iNdEx >= l { 6836 return io.ErrUnexpectedEOF 6837 } 6838 b := dAtA[iNdEx] 6839 iNdEx++ 6840 wire |= uint64(b&0x7F) << shift 6841 if b < 0x80 { 6842 break 6843 } 6844 } 6845 fieldNum := int32(wire >> 3) 6846 wireType := int(wire & 0x7) 6847 if wireType == 4 { 6848 return fmt.Errorf("proto: GroupVersion: wiretype end group for non-group") 6849 } 6850 if fieldNum <= 0 { 6851 return fmt.Errorf("proto: GroupVersion: illegal tag %d (wire type %d)", fieldNum, wire) 6852 } 6853 switch fieldNum { 6854 case 1: 6855 if wireType != 2 { 6856 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 6857 } 6858 var stringLen uint64 6859 for shift := uint(0); ; shift += 7 { 6860 if shift >= 64 { 6861 return ErrIntOverflowGenerated 6862 } 6863 if iNdEx >= l { 6864 return io.ErrUnexpectedEOF 6865 } 6866 b := dAtA[iNdEx] 6867 iNdEx++ 6868 stringLen |= uint64(b&0x7F) << shift 6869 if b < 0x80 { 6870 break 6871 } 6872 } 6873 intStringLen := int(stringLen) 6874 if intStringLen < 0 { 6875 return ErrInvalidLengthGenerated 6876 } 6877 postIndex := iNdEx + intStringLen 6878 if postIndex < 0 { 6879 return ErrInvalidLengthGenerated 6880 } 6881 if postIndex > l { 6882 return io.ErrUnexpectedEOF 6883 } 6884 m.Group = string(dAtA[iNdEx:postIndex]) 6885 iNdEx = postIndex 6886 case 2: 6887 if wireType != 2 { 6888 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 6889 } 6890 var stringLen uint64 6891 for shift := uint(0); ; shift += 7 { 6892 if shift >= 64 { 6893 return ErrIntOverflowGenerated 6894 } 6895 if iNdEx >= l { 6896 return io.ErrUnexpectedEOF 6897 } 6898 b := dAtA[iNdEx] 6899 iNdEx++ 6900 stringLen |= uint64(b&0x7F) << shift 6901 if b < 0x80 { 6902 break 6903 } 6904 } 6905 intStringLen := int(stringLen) 6906 if intStringLen < 0 { 6907 return ErrInvalidLengthGenerated 6908 } 6909 postIndex := iNdEx + intStringLen 6910 if postIndex < 0 { 6911 return ErrInvalidLengthGenerated 6912 } 6913 if postIndex > l { 6914 return io.ErrUnexpectedEOF 6915 } 6916 m.Version = string(dAtA[iNdEx:postIndex]) 6917 iNdEx = postIndex 6918 default: 6919 iNdEx = preIndex 6920 skippy, err := skipGenerated(dAtA[iNdEx:]) 6921 if err != nil { 6922 return err 6923 } 6924 if (skippy < 0) || (iNdEx+skippy) < 0 { 6925 return ErrInvalidLengthGenerated 6926 } 6927 if (iNdEx + skippy) > l { 6928 return io.ErrUnexpectedEOF 6929 } 6930 iNdEx += skippy 6931 } 6932 } 6933 6934 if iNdEx > l { 6935 return io.ErrUnexpectedEOF 6936 } 6937 return nil 6938 } 6939 func (m *GroupVersionForDiscovery) Unmarshal(dAtA []byte) error { 6940 l := len(dAtA) 6941 iNdEx := 0 6942 for iNdEx < l { 6943 preIndex := iNdEx 6944 var wire uint64 6945 for shift := uint(0); ; shift += 7 { 6946 if shift >= 64 { 6947 return ErrIntOverflowGenerated 6948 } 6949 if iNdEx >= l { 6950 return io.ErrUnexpectedEOF 6951 } 6952 b := dAtA[iNdEx] 6953 iNdEx++ 6954 wire |= uint64(b&0x7F) << shift 6955 if b < 0x80 { 6956 break 6957 } 6958 } 6959 fieldNum := int32(wire >> 3) 6960 wireType := int(wire & 0x7) 6961 if wireType == 4 { 6962 return fmt.Errorf("proto: GroupVersionForDiscovery: wiretype end group for non-group") 6963 } 6964 if fieldNum <= 0 { 6965 return fmt.Errorf("proto: GroupVersionForDiscovery: illegal tag %d (wire type %d)", fieldNum, wire) 6966 } 6967 switch fieldNum { 6968 case 1: 6969 if wireType != 2 { 6970 return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType) 6971 } 6972 var stringLen uint64 6973 for shift := uint(0); ; shift += 7 { 6974 if shift >= 64 { 6975 return ErrIntOverflowGenerated 6976 } 6977 if iNdEx >= l { 6978 return io.ErrUnexpectedEOF 6979 } 6980 b := dAtA[iNdEx] 6981 iNdEx++ 6982 stringLen |= uint64(b&0x7F) << shift 6983 if b < 0x80 { 6984 break 6985 } 6986 } 6987 intStringLen := int(stringLen) 6988 if intStringLen < 0 { 6989 return ErrInvalidLengthGenerated 6990 } 6991 postIndex := iNdEx + intStringLen 6992 if postIndex < 0 { 6993 return ErrInvalidLengthGenerated 6994 } 6995 if postIndex > l { 6996 return io.ErrUnexpectedEOF 6997 } 6998 m.GroupVersion = string(dAtA[iNdEx:postIndex]) 6999 iNdEx = postIndex 7000 case 2: 7001 if wireType != 2 { 7002 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 7003 } 7004 var stringLen uint64 7005 for shift := uint(0); ; shift += 7 { 7006 if shift >= 64 { 7007 return ErrIntOverflowGenerated 7008 } 7009 if iNdEx >= l { 7010 return io.ErrUnexpectedEOF 7011 } 7012 b := dAtA[iNdEx] 7013 iNdEx++ 7014 stringLen |= uint64(b&0x7F) << shift 7015 if b < 0x80 { 7016 break 7017 } 7018 } 7019 intStringLen := int(stringLen) 7020 if intStringLen < 0 { 7021 return ErrInvalidLengthGenerated 7022 } 7023 postIndex := iNdEx + intStringLen 7024 if postIndex < 0 { 7025 return ErrInvalidLengthGenerated 7026 } 7027 if postIndex > l { 7028 return io.ErrUnexpectedEOF 7029 } 7030 m.Version = string(dAtA[iNdEx:postIndex]) 7031 iNdEx = postIndex 7032 default: 7033 iNdEx = preIndex 7034 skippy, err := skipGenerated(dAtA[iNdEx:]) 7035 if err != nil { 7036 return err 7037 } 7038 if (skippy < 0) || (iNdEx+skippy) < 0 { 7039 return ErrInvalidLengthGenerated 7040 } 7041 if (iNdEx + skippy) > l { 7042 return io.ErrUnexpectedEOF 7043 } 7044 iNdEx += skippy 7045 } 7046 } 7047 7048 if iNdEx > l { 7049 return io.ErrUnexpectedEOF 7050 } 7051 return nil 7052 } 7053 func (m *GroupVersionKind) Unmarshal(dAtA []byte) error { 7054 l := len(dAtA) 7055 iNdEx := 0 7056 for iNdEx < l { 7057 preIndex := iNdEx 7058 var wire uint64 7059 for shift := uint(0); ; shift += 7 { 7060 if shift >= 64 { 7061 return ErrIntOverflowGenerated 7062 } 7063 if iNdEx >= l { 7064 return io.ErrUnexpectedEOF 7065 } 7066 b := dAtA[iNdEx] 7067 iNdEx++ 7068 wire |= uint64(b&0x7F) << shift 7069 if b < 0x80 { 7070 break 7071 } 7072 } 7073 fieldNum := int32(wire >> 3) 7074 wireType := int(wire & 0x7) 7075 if wireType == 4 { 7076 return fmt.Errorf("proto: GroupVersionKind: wiretype end group for non-group") 7077 } 7078 if fieldNum <= 0 { 7079 return fmt.Errorf("proto: GroupVersionKind: illegal tag %d (wire type %d)", fieldNum, wire) 7080 } 7081 switch fieldNum { 7082 case 1: 7083 if wireType != 2 { 7084 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 7085 } 7086 var stringLen uint64 7087 for shift := uint(0); ; shift += 7 { 7088 if shift >= 64 { 7089 return ErrIntOverflowGenerated 7090 } 7091 if iNdEx >= l { 7092 return io.ErrUnexpectedEOF 7093 } 7094 b := dAtA[iNdEx] 7095 iNdEx++ 7096 stringLen |= uint64(b&0x7F) << shift 7097 if b < 0x80 { 7098 break 7099 } 7100 } 7101 intStringLen := int(stringLen) 7102 if intStringLen < 0 { 7103 return ErrInvalidLengthGenerated 7104 } 7105 postIndex := iNdEx + intStringLen 7106 if postIndex < 0 { 7107 return ErrInvalidLengthGenerated 7108 } 7109 if postIndex > l { 7110 return io.ErrUnexpectedEOF 7111 } 7112 m.Group = string(dAtA[iNdEx:postIndex]) 7113 iNdEx = postIndex 7114 case 2: 7115 if wireType != 2 { 7116 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 7117 } 7118 var stringLen uint64 7119 for shift := uint(0); ; shift += 7 { 7120 if shift >= 64 { 7121 return ErrIntOverflowGenerated 7122 } 7123 if iNdEx >= l { 7124 return io.ErrUnexpectedEOF 7125 } 7126 b := dAtA[iNdEx] 7127 iNdEx++ 7128 stringLen |= uint64(b&0x7F) << shift 7129 if b < 0x80 { 7130 break 7131 } 7132 } 7133 intStringLen := int(stringLen) 7134 if intStringLen < 0 { 7135 return ErrInvalidLengthGenerated 7136 } 7137 postIndex := iNdEx + intStringLen 7138 if postIndex < 0 { 7139 return ErrInvalidLengthGenerated 7140 } 7141 if postIndex > l { 7142 return io.ErrUnexpectedEOF 7143 } 7144 m.Version = string(dAtA[iNdEx:postIndex]) 7145 iNdEx = postIndex 7146 case 3: 7147 if wireType != 2 { 7148 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 7149 } 7150 var stringLen uint64 7151 for shift := uint(0); ; shift += 7 { 7152 if shift >= 64 { 7153 return ErrIntOverflowGenerated 7154 } 7155 if iNdEx >= l { 7156 return io.ErrUnexpectedEOF 7157 } 7158 b := dAtA[iNdEx] 7159 iNdEx++ 7160 stringLen |= uint64(b&0x7F) << shift 7161 if b < 0x80 { 7162 break 7163 } 7164 } 7165 intStringLen := int(stringLen) 7166 if intStringLen < 0 { 7167 return ErrInvalidLengthGenerated 7168 } 7169 postIndex := iNdEx + intStringLen 7170 if postIndex < 0 { 7171 return ErrInvalidLengthGenerated 7172 } 7173 if postIndex > l { 7174 return io.ErrUnexpectedEOF 7175 } 7176 m.Kind = string(dAtA[iNdEx:postIndex]) 7177 iNdEx = postIndex 7178 default: 7179 iNdEx = preIndex 7180 skippy, err := skipGenerated(dAtA[iNdEx:]) 7181 if err != nil { 7182 return err 7183 } 7184 if (skippy < 0) || (iNdEx+skippy) < 0 { 7185 return ErrInvalidLengthGenerated 7186 } 7187 if (iNdEx + skippy) > l { 7188 return io.ErrUnexpectedEOF 7189 } 7190 iNdEx += skippy 7191 } 7192 } 7193 7194 if iNdEx > l { 7195 return io.ErrUnexpectedEOF 7196 } 7197 return nil 7198 } 7199 func (m *GroupVersionResource) Unmarshal(dAtA []byte) error { 7200 l := len(dAtA) 7201 iNdEx := 0 7202 for iNdEx < l { 7203 preIndex := iNdEx 7204 var wire uint64 7205 for shift := uint(0); ; shift += 7 { 7206 if shift >= 64 { 7207 return ErrIntOverflowGenerated 7208 } 7209 if iNdEx >= l { 7210 return io.ErrUnexpectedEOF 7211 } 7212 b := dAtA[iNdEx] 7213 iNdEx++ 7214 wire |= uint64(b&0x7F) << shift 7215 if b < 0x80 { 7216 break 7217 } 7218 } 7219 fieldNum := int32(wire >> 3) 7220 wireType := int(wire & 0x7) 7221 if wireType == 4 { 7222 return fmt.Errorf("proto: GroupVersionResource: wiretype end group for non-group") 7223 } 7224 if fieldNum <= 0 { 7225 return fmt.Errorf("proto: GroupVersionResource: illegal tag %d (wire type %d)", fieldNum, wire) 7226 } 7227 switch fieldNum { 7228 case 1: 7229 if wireType != 2 { 7230 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 7231 } 7232 var stringLen uint64 7233 for shift := uint(0); ; shift += 7 { 7234 if shift >= 64 { 7235 return ErrIntOverflowGenerated 7236 } 7237 if iNdEx >= l { 7238 return io.ErrUnexpectedEOF 7239 } 7240 b := dAtA[iNdEx] 7241 iNdEx++ 7242 stringLen |= uint64(b&0x7F) << shift 7243 if b < 0x80 { 7244 break 7245 } 7246 } 7247 intStringLen := int(stringLen) 7248 if intStringLen < 0 { 7249 return ErrInvalidLengthGenerated 7250 } 7251 postIndex := iNdEx + intStringLen 7252 if postIndex < 0 { 7253 return ErrInvalidLengthGenerated 7254 } 7255 if postIndex > l { 7256 return io.ErrUnexpectedEOF 7257 } 7258 m.Group = string(dAtA[iNdEx:postIndex]) 7259 iNdEx = postIndex 7260 case 2: 7261 if wireType != 2 { 7262 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 7263 } 7264 var stringLen uint64 7265 for shift := uint(0); ; shift += 7 { 7266 if shift >= 64 { 7267 return ErrIntOverflowGenerated 7268 } 7269 if iNdEx >= l { 7270 return io.ErrUnexpectedEOF 7271 } 7272 b := dAtA[iNdEx] 7273 iNdEx++ 7274 stringLen |= uint64(b&0x7F) << shift 7275 if b < 0x80 { 7276 break 7277 } 7278 } 7279 intStringLen := int(stringLen) 7280 if intStringLen < 0 { 7281 return ErrInvalidLengthGenerated 7282 } 7283 postIndex := iNdEx + intStringLen 7284 if postIndex < 0 { 7285 return ErrInvalidLengthGenerated 7286 } 7287 if postIndex > l { 7288 return io.ErrUnexpectedEOF 7289 } 7290 m.Version = string(dAtA[iNdEx:postIndex]) 7291 iNdEx = postIndex 7292 case 3: 7293 if wireType != 2 { 7294 return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType) 7295 } 7296 var stringLen uint64 7297 for shift := uint(0); ; shift += 7 { 7298 if shift >= 64 { 7299 return ErrIntOverflowGenerated 7300 } 7301 if iNdEx >= l { 7302 return io.ErrUnexpectedEOF 7303 } 7304 b := dAtA[iNdEx] 7305 iNdEx++ 7306 stringLen |= uint64(b&0x7F) << shift 7307 if b < 0x80 { 7308 break 7309 } 7310 } 7311 intStringLen := int(stringLen) 7312 if intStringLen < 0 { 7313 return ErrInvalidLengthGenerated 7314 } 7315 postIndex := iNdEx + intStringLen 7316 if postIndex < 0 { 7317 return ErrInvalidLengthGenerated 7318 } 7319 if postIndex > l { 7320 return io.ErrUnexpectedEOF 7321 } 7322 m.Resource = string(dAtA[iNdEx:postIndex]) 7323 iNdEx = postIndex 7324 default: 7325 iNdEx = preIndex 7326 skippy, err := skipGenerated(dAtA[iNdEx:]) 7327 if err != nil { 7328 return err 7329 } 7330 if (skippy < 0) || (iNdEx+skippy) < 0 { 7331 return ErrInvalidLengthGenerated 7332 } 7333 if (iNdEx + skippy) > l { 7334 return io.ErrUnexpectedEOF 7335 } 7336 iNdEx += skippy 7337 } 7338 } 7339 7340 if iNdEx > l { 7341 return io.ErrUnexpectedEOF 7342 } 7343 return nil 7344 } 7345 func (m *LabelSelector) Unmarshal(dAtA []byte) error { 7346 l := len(dAtA) 7347 iNdEx := 0 7348 for iNdEx < l { 7349 preIndex := iNdEx 7350 var wire uint64 7351 for shift := uint(0); ; shift += 7 { 7352 if shift >= 64 { 7353 return ErrIntOverflowGenerated 7354 } 7355 if iNdEx >= l { 7356 return io.ErrUnexpectedEOF 7357 } 7358 b := dAtA[iNdEx] 7359 iNdEx++ 7360 wire |= uint64(b&0x7F) << shift 7361 if b < 0x80 { 7362 break 7363 } 7364 } 7365 fieldNum := int32(wire >> 3) 7366 wireType := int(wire & 0x7) 7367 if wireType == 4 { 7368 return fmt.Errorf("proto: LabelSelector: wiretype end group for non-group") 7369 } 7370 if fieldNum <= 0 { 7371 return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire) 7372 } 7373 switch fieldNum { 7374 case 1: 7375 if wireType != 2 { 7376 return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", wireType) 7377 } 7378 var msglen int 7379 for shift := uint(0); ; shift += 7 { 7380 if shift >= 64 { 7381 return ErrIntOverflowGenerated 7382 } 7383 if iNdEx >= l { 7384 return io.ErrUnexpectedEOF 7385 } 7386 b := dAtA[iNdEx] 7387 iNdEx++ 7388 msglen |= int(b&0x7F) << shift 7389 if b < 0x80 { 7390 break 7391 } 7392 } 7393 if msglen < 0 { 7394 return ErrInvalidLengthGenerated 7395 } 7396 postIndex := iNdEx + msglen 7397 if postIndex < 0 { 7398 return ErrInvalidLengthGenerated 7399 } 7400 if postIndex > l { 7401 return io.ErrUnexpectedEOF 7402 } 7403 if m.MatchLabels == nil { 7404 m.MatchLabels = make(map[string]string) 7405 } 7406 var mapkey string 7407 var mapvalue string 7408 for iNdEx < postIndex { 7409 entryPreIndex := iNdEx 7410 var wire uint64 7411 for shift := uint(0); ; shift += 7 { 7412 if shift >= 64 { 7413 return ErrIntOverflowGenerated 7414 } 7415 if iNdEx >= l { 7416 return io.ErrUnexpectedEOF 7417 } 7418 b := dAtA[iNdEx] 7419 iNdEx++ 7420 wire |= uint64(b&0x7F) << shift 7421 if b < 0x80 { 7422 break 7423 } 7424 } 7425 fieldNum := int32(wire >> 3) 7426 if fieldNum == 1 { 7427 var stringLenmapkey uint64 7428 for shift := uint(0); ; shift += 7 { 7429 if shift >= 64 { 7430 return ErrIntOverflowGenerated 7431 } 7432 if iNdEx >= l { 7433 return io.ErrUnexpectedEOF 7434 } 7435 b := dAtA[iNdEx] 7436 iNdEx++ 7437 stringLenmapkey |= uint64(b&0x7F) << shift 7438 if b < 0x80 { 7439 break 7440 } 7441 } 7442 intStringLenmapkey := int(stringLenmapkey) 7443 if intStringLenmapkey < 0 { 7444 return ErrInvalidLengthGenerated 7445 } 7446 postStringIndexmapkey := iNdEx + intStringLenmapkey 7447 if postStringIndexmapkey < 0 { 7448 return ErrInvalidLengthGenerated 7449 } 7450 if postStringIndexmapkey > l { 7451 return io.ErrUnexpectedEOF 7452 } 7453 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 7454 iNdEx = postStringIndexmapkey 7455 } else if fieldNum == 2 { 7456 var stringLenmapvalue uint64 7457 for shift := uint(0); ; shift += 7 { 7458 if shift >= 64 { 7459 return ErrIntOverflowGenerated 7460 } 7461 if iNdEx >= l { 7462 return io.ErrUnexpectedEOF 7463 } 7464 b := dAtA[iNdEx] 7465 iNdEx++ 7466 stringLenmapvalue |= uint64(b&0x7F) << shift 7467 if b < 0x80 { 7468 break 7469 } 7470 } 7471 intStringLenmapvalue := int(stringLenmapvalue) 7472 if intStringLenmapvalue < 0 { 7473 return ErrInvalidLengthGenerated 7474 } 7475 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 7476 if postStringIndexmapvalue < 0 { 7477 return ErrInvalidLengthGenerated 7478 } 7479 if postStringIndexmapvalue > l { 7480 return io.ErrUnexpectedEOF 7481 } 7482 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 7483 iNdEx = postStringIndexmapvalue 7484 } else { 7485 iNdEx = entryPreIndex 7486 skippy, err := skipGenerated(dAtA[iNdEx:]) 7487 if err != nil { 7488 return err 7489 } 7490 if (skippy < 0) || (iNdEx+skippy) < 0 { 7491 return ErrInvalidLengthGenerated 7492 } 7493 if (iNdEx + skippy) > postIndex { 7494 return io.ErrUnexpectedEOF 7495 } 7496 iNdEx += skippy 7497 } 7498 } 7499 m.MatchLabels[mapkey] = mapvalue 7500 iNdEx = postIndex 7501 case 2: 7502 if wireType != 2 { 7503 return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType) 7504 } 7505 var msglen int 7506 for shift := uint(0); ; shift += 7 { 7507 if shift >= 64 { 7508 return ErrIntOverflowGenerated 7509 } 7510 if iNdEx >= l { 7511 return io.ErrUnexpectedEOF 7512 } 7513 b := dAtA[iNdEx] 7514 iNdEx++ 7515 msglen |= int(b&0x7F) << shift 7516 if b < 0x80 { 7517 break 7518 } 7519 } 7520 if msglen < 0 { 7521 return ErrInvalidLengthGenerated 7522 } 7523 postIndex := iNdEx + msglen 7524 if postIndex < 0 { 7525 return ErrInvalidLengthGenerated 7526 } 7527 if postIndex > l { 7528 return io.ErrUnexpectedEOF 7529 } 7530 m.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{}) 7531 if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7532 return err 7533 } 7534 iNdEx = postIndex 7535 default: 7536 iNdEx = preIndex 7537 skippy, err := skipGenerated(dAtA[iNdEx:]) 7538 if err != nil { 7539 return err 7540 } 7541 if (skippy < 0) || (iNdEx+skippy) < 0 { 7542 return ErrInvalidLengthGenerated 7543 } 7544 if (iNdEx + skippy) > l { 7545 return io.ErrUnexpectedEOF 7546 } 7547 iNdEx += skippy 7548 } 7549 } 7550 7551 if iNdEx > l { 7552 return io.ErrUnexpectedEOF 7553 } 7554 return nil 7555 } 7556 func (m *LabelSelectorRequirement) Unmarshal(dAtA []byte) error { 7557 l := len(dAtA) 7558 iNdEx := 0 7559 for iNdEx < l { 7560 preIndex := iNdEx 7561 var wire uint64 7562 for shift := uint(0); ; shift += 7 { 7563 if shift >= 64 { 7564 return ErrIntOverflowGenerated 7565 } 7566 if iNdEx >= l { 7567 return io.ErrUnexpectedEOF 7568 } 7569 b := dAtA[iNdEx] 7570 iNdEx++ 7571 wire |= uint64(b&0x7F) << shift 7572 if b < 0x80 { 7573 break 7574 } 7575 } 7576 fieldNum := int32(wire >> 3) 7577 wireType := int(wire & 0x7) 7578 if wireType == 4 { 7579 return fmt.Errorf("proto: LabelSelectorRequirement: wiretype end group for non-group") 7580 } 7581 if fieldNum <= 0 { 7582 return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire) 7583 } 7584 switch fieldNum { 7585 case 1: 7586 if wireType != 2 { 7587 return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) 7588 } 7589 var stringLen uint64 7590 for shift := uint(0); ; shift += 7 { 7591 if shift >= 64 { 7592 return ErrIntOverflowGenerated 7593 } 7594 if iNdEx >= l { 7595 return io.ErrUnexpectedEOF 7596 } 7597 b := dAtA[iNdEx] 7598 iNdEx++ 7599 stringLen |= uint64(b&0x7F) << shift 7600 if b < 0x80 { 7601 break 7602 } 7603 } 7604 intStringLen := int(stringLen) 7605 if intStringLen < 0 { 7606 return ErrInvalidLengthGenerated 7607 } 7608 postIndex := iNdEx + intStringLen 7609 if postIndex < 0 { 7610 return ErrInvalidLengthGenerated 7611 } 7612 if postIndex > l { 7613 return io.ErrUnexpectedEOF 7614 } 7615 m.Key = string(dAtA[iNdEx:postIndex]) 7616 iNdEx = postIndex 7617 case 2: 7618 if wireType != 2 { 7619 return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) 7620 } 7621 var stringLen uint64 7622 for shift := uint(0); ; shift += 7 { 7623 if shift >= 64 { 7624 return ErrIntOverflowGenerated 7625 } 7626 if iNdEx >= l { 7627 return io.ErrUnexpectedEOF 7628 } 7629 b := dAtA[iNdEx] 7630 iNdEx++ 7631 stringLen |= uint64(b&0x7F) << shift 7632 if b < 0x80 { 7633 break 7634 } 7635 } 7636 intStringLen := int(stringLen) 7637 if intStringLen < 0 { 7638 return ErrInvalidLengthGenerated 7639 } 7640 postIndex := iNdEx + intStringLen 7641 if postIndex < 0 { 7642 return ErrInvalidLengthGenerated 7643 } 7644 if postIndex > l { 7645 return io.ErrUnexpectedEOF 7646 } 7647 m.Operator = LabelSelectorOperator(dAtA[iNdEx:postIndex]) 7648 iNdEx = postIndex 7649 case 3: 7650 if wireType != 2 { 7651 return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) 7652 } 7653 var stringLen uint64 7654 for shift := uint(0); ; shift += 7 { 7655 if shift >= 64 { 7656 return ErrIntOverflowGenerated 7657 } 7658 if iNdEx >= l { 7659 return io.ErrUnexpectedEOF 7660 } 7661 b := dAtA[iNdEx] 7662 iNdEx++ 7663 stringLen |= uint64(b&0x7F) << shift 7664 if b < 0x80 { 7665 break 7666 } 7667 } 7668 intStringLen := int(stringLen) 7669 if intStringLen < 0 { 7670 return ErrInvalidLengthGenerated 7671 } 7672 postIndex := iNdEx + intStringLen 7673 if postIndex < 0 { 7674 return ErrInvalidLengthGenerated 7675 } 7676 if postIndex > l { 7677 return io.ErrUnexpectedEOF 7678 } 7679 m.Values = append(m.Values, string(dAtA[iNdEx:postIndex])) 7680 iNdEx = postIndex 7681 default: 7682 iNdEx = preIndex 7683 skippy, err := skipGenerated(dAtA[iNdEx:]) 7684 if err != nil { 7685 return err 7686 } 7687 if (skippy < 0) || (iNdEx+skippy) < 0 { 7688 return ErrInvalidLengthGenerated 7689 } 7690 if (iNdEx + skippy) > l { 7691 return io.ErrUnexpectedEOF 7692 } 7693 iNdEx += skippy 7694 } 7695 } 7696 7697 if iNdEx > l { 7698 return io.ErrUnexpectedEOF 7699 } 7700 return nil 7701 } 7702 func (m *List) Unmarshal(dAtA []byte) error { 7703 l := len(dAtA) 7704 iNdEx := 0 7705 for iNdEx < l { 7706 preIndex := iNdEx 7707 var wire uint64 7708 for shift := uint(0); ; shift += 7 { 7709 if shift >= 64 { 7710 return ErrIntOverflowGenerated 7711 } 7712 if iNdEx >= l { 7713 return io.ErrUnexpectedEOF 7714 } 7715 b := dAtA[iNdEx] 7716 iNdEx++ 7717 wire |= uint64(b&0x7F) << shift 7718 if b < 0x80 { 7719 break 7720 } 7721 } 7722 fieldNum := int32(wire >> 3) 7723 wireType := int(wire & 0x7) 7724 if wireType == 4 { 7725 return fmt.Errorf("proto: List: wiretype end group for non-group") 7726 } 7727 if fieldNum <= 0 { 7728 return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire) 7729 } 7730 switch fieldNum { 7731 case 1: 7732 if wireType != 2 { 7733 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) 7734 } 7735 var msglen int 7736 for shift := uint(0); ; shift += 7 { 7737 if shift >= 64 { 7738 return ErrIntOverflowGenerated 7739 } 7740 if iNdEx >= l { 7741 return io.ErrUnexpectedEOF 7742 } 7743 b := dAtA[iNdEx] 7744 iNdEx++ 7745 msglen |= int(b&0x7F) << shift 7746 if b < 0x80 { 7747 break 7748 } 7749 } 7750 if msglen < 0 { 7751 return ErrInvalidLengthGenerated 7752 } 7753 postIndex := iNdEx + msglen 7754 if postIndex < 0 { 7755 return ErrInvalidLengthGenerated 7756 } 7757 if postIndex > l { 7758 return io.ErrUnexpectedEOF 7759 } 7760 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7761 return err 7762 } 7763 iNdEx = postIndex 7764 case 2: 7765 if wireType != 2 { 7766 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 7767 } 7768 var msglen int 7769 for shift := uint(0); ; shift += 7 { 7770 if shift >= 64 { 7771 return ErrIntOverflowGenerated 7772 } 7773 if iNdEx >= l { 7774 return io.ErrUnexpectedEOF 7775 } 7776 b := dAtA[iNdEx] 7777 iNdEx++ 7778 msglen |= int(b&0x7F) << shift 7779 if b < 0x80 { 7780 break 7781 } 7782 } 7783 if msglen < 0 { 7784 return ErrInvalidLengthGenerated 7785 } 7786 postIndex := iNdEx + msglen 7787 if postIndex < 0 { 7788 return ErrInvalidLengthGenerated 7789 } 7790 if postIndex > l { 7791 return io.ErrUnexpectedEOF 7792 } 7793 m.Items = append(m.Items, runtime.RawExtension{}) 7794 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7795 return err 7796 } 7797 iNdEx = postIndex 7798 default: 7799 iNdEx = preIndex 7800 skippy, err := skipGenerated(dAtA[iNdEx:]) 7801 if err != nil { 7802 return err 7803 } 7804 if (skippy < 0) || (iNdEx+skippy) < 0 { 7805 return ErrInvalidLengthGenerated 7806 } 7807 if (iNdEx + skippy) > l { 7808 return io.ErrUnexpectedEOF 7809 } 7810 iNdEx += skippy 7811 } 7812 } 7813 7814 if iNdEx > l { 7815 return io.ErrUnexpectedEOF 7816 } 7817 return nil 7818 } 7819 func (m *ListMeta) Unmarshal(dAtA []byte) error { 7820 l := len(dAtA) 7821 iNdEx := 0 7822 for iNdEx < l { 7823 preIndex := iNdEx 7824 var wire uint64 7825 for shift := uint(0); ; shift += 7 { 7826 if shift >= 64 { 7827 return ErrIntOverflowGenerated 7828 } 7829 if iNdEx >= l { 7830 return io.ErrUnexpectedEOF 7831 } 7832 b := dAtA[iNdEx] 7833 iNdEx++ 7834 wire |= uint64(b&0x7F) << shift 7835 if b < 0x80 { 7836 break 7837 } 7838 } 7839 fieldNum := int32(wire >> 3) 7840 wireType := int(wire & 0x7) 7841 if wireType == 4 { 7842 return fmt.Errorf("proto: ListMeta: wiretype end group for non-group") 7843 } 7844 if fieldNum <= 0 { 7845 return fmt.Errorf("proto: ListMeta: illegal tag %d (wire type %d)", fieldNum, wire) 7846 } 7847 switch fieldNum { 7848 case 1: 7849 if wireType != 2 { 7850 return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType) 7851 } 7852 var stringLen uint64 7853 for shift := uint(0); ; shift += 7 { 7854 if shift >= 64 { 7855 return ErrIntOverflowGenerated 7856 } 7857 if iNdEx >= l { 7858 return io.ErrUnexpectedEOF 7859 } 7860 b := dAtA[iNdEx] 7861 iNdEx++ 7862 stringLen |= uint64(b&0x7F) << shift 7863 if b < 0x80 { 7864 break 7865 } 7866 } 7867 intStringLen := int(stringLen) 7868 if intStringLen < 0 { 7869 return ErrInvalidLengthGenerated 7870 } 7871 postIndex := iNdEx + intStringLen 7872 if postIndex < 0 { 7873 return ErrInvalidLengthGenerated 7874 } 7875 if postIndex > l { 7876 return io.ErrUnexpectedEOF 7877 } 7878 m.SelfLink = string(dAtA[iNdEx:postIndex]) 7879 iNdEx = postIndex 7880 case 2: 7881 if wireType != 2 { 7882 return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) 7883 } 7884 var stringLen uint64 7885 for shift := uint(0); ; shift += 7 { 7886 if shift >= 64 { 7887 return ErrIntOverflowGenerated 7888 } 7889 if iNdEx >= l { 7890 return io.ErrUnexpectedEOF 7891 } 7892 b := dAtA[iNdEx] 7893 iNdEx++ 7894 stringLen |= uint64(b&0x7F) << shift 7895 if b < 0x80 { 7896 break 7897 } 7898 } 7899 intStringLen := int(stringLen) 7900 if intStringLen < 0 { 7901 return ErrInvalidLengthGenerated 7902 } 7903 postIndex := iNdEx + intStringLen 7904 if postIndex < 0 { 7905 return ErrInvalidLengthGenerated 7906 } 7907 if postIndex > l { 7908 return io.ErrUnexpectedEOF 7909 } 7910 m.ResourceVersion = string(dAtA[iNdEx:postIndex]) 7911 iNdEx = postIndex 7912 case 3: 7913 if wireType != 2 { 7914 return fmt.Errorf("proto: wrong wireType = %d for field Continue", wireType) 7915 } 7916 var stringLen uint64 7917 for shift := uint(0); ; shift += 7 { 7918 if shift >= 64 { 7919 return ErrIntOverflowGenerated 7920 } 7921 if iNdEx >= l { 7922 return io.ErrUnexpectedEOF 7923 } 7924 b := dAtA[iNdEx] 7925 iNdEx++ 7926 stringLen |= uint64(b&0x7F) << shift 7927 if b < 0x80 { 7928 break 7929 } 7930 } 7931 intStringLen := int(stringLen) 7932 if intStringLen < 0 { 7933 return ErrInvalidLengthGenerated 7934 } 7935 postIndex := iNdEx + intStringLen 7936 if postIndex < 0 { 7937 return ErrInvalidLengthGenerated 7938 } 7939 if postIndex > l { 7940 return io.ErrUnexpectedEOF 7941 } 7942 m.Continue = string(dAtA[iNdEx:postIndex]) 7943 iNdEx = postIndex 7944 case 4: 7945 if wireType != 0 { 7946 return fmt.Errorf("proto: wrong wireType = %d for field RemainingItemCount", wireType) 7947 } 7948 var v int64 7949 for shift := uint(0); ; shift += 7 { 7950 if shift >= 64 { 7951 return ErrIntOverflowGenerated 7952 } 7953 if iNdEx >= l { 7954 return io.ErrUnexpectedEOF 7955 } 7956 b := dAtA[iNdEx] 7957 iNdEx++ 7958 v |= int64(b&0x7F) << shift 7959 if b < 0x80 { 7960 break 7961 } 7962 } 7963 m.RemainingItemCount = &v 7964 default: 7965 iNdEx = preIndex 7966 skippy, err := skipGenerated(dAtA[iNdEx:]) 7967 if err != nil { 7968 return err 7969 } 7970 if (skippy < 0) || (iNdEx+skippy) < 0 { 7971 return ErrInvalidLengthGenerated 7972 } 7973 if (iNdEx + skippy) > l { 7974 return io.ErrUnexpectedEOF 7975 } 7976 iNdEx += skippy 7977 } 7978 } 7979 7980 if iNdEx > l { 7981 return io.ErrUnexpectedEOF 7982 } 7983 return nil 7984 } 7985 func (m *ListOptions) Unmarshal(dAtA []byte) error { 7986 l := len(dAtA) 7987 iNdEx := 0 7988 for iNdEx < l { 7989 preIndex := iNdEx 7990 var wire uint64 7991 for shift := uint(0); ; shift += 7 { 7992 if shift >= 64 { 7993 return ErrIntOverflowGenerated 7994 } 7995 if iNdEx >= l { 7996 return io.ErrUnexpectedEOF 7997 } 7998 b := dAtA[iNdEx] 7999 iNdEx++ 8000 wire |= uint64(b&0x7F) << shift 8001 if b < 0x80 { 8002 break 8003 } 8004 } 8005 fieldNum := int32(wire >> 3) 8006 wireType := int(wire & 0x7) 8007 if wireType == 4 { 8008 return fmt.Errorf("proto: ListOptions: wiretype end group for non-group") 8009 } 8010 if fieldNum <= 0 { 8011 return fmt.Errorf("proto: ListOptions: illegal tag %d (wire type %d)", fieldNum, wire) 8012 } 8013 switch fieldNum { 8014 case 1: 8015 if wireType != 2 { 8016 return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType) 8017 } 8018 var stringLen uint64 8019 for shift := uint(0); ; shift += 7 { 8020 if shift >= 64 { 8021 return ErrIntOverflowGenerated 8022 } 8023 if iNdEx >= l { 8024 return io.ErrUnexpectedEOF 8025 } 8026 b := dAtA[iNdEx] 8027 iNdEx++ 8028 stringLen |= uint64(b&0x7F) << shift 8029 if b < 0x80 { 8030 break 8031 } 8032 } 8033 intStringLen := int(stringLen) 8034 if intStringLen < 0 { 8035 return ErrInvalidLengthGenerated 8036 } 8037 postIndex := iNdEx + intStringLen 8038 if postIndex < 0 { 8039 return ErrInvalidLengthGenerated 8040 } 8041 if postIndex > l { 8042 return io.ErrUnexpectedEOF 8043 } 8044 m.LabelSelector = string(dAtA[iNdEx:postIndex]) 8045 iNdEx = postIndex 8046 case 2: 8047 if wireType != 2 { 8048 return fmt.Errorf("proto: wrong wireType = %d for field FieldSelector", wireType) 8049 } 8050 var stringLen uint64 8051 for shift := uint(0); ; shift += 7 { 8052 if shift >= 64 { 8053 return ErrIntOverflowGenerated 8054 } 8055 if iNdEx >= l { 8056 return io.ErrUnexpectedEOF 8057 } 8058 b := dAtA[iNdEx] 8059 iNdEx++ 8060 stringLen |= uint64(b&0x7F) << shift 8061 if b < 0x80 { 8062 break 8063 } 8064 } 8065 intStringLen := int(stringLen) 8066 if intStringLen < 0 { 8067 return ErrInvalidLengthGenerated 8068 } 8069 postIndex := iNdEx + intStringLen 8070 if postIndex < 0 { 8071 return ErrInvalidLengthGenerated 8072 } 8073 if postIndex > l { 8074 return io.ErrUnexpectedEOF 8075 } 8076 m.FieldSelector = string(dAtA[iNdEx:postIndex]) 8077 iNdEx = postIndex 8078 case 3: 8079 if wireType != 0 { 8080 return fmt.Errorf("proto: wrong wireType = %d for field Watch", wireType) 8081 } 8082 var v int 8083 for shift := uint(0); ; shift += 7 { 8084 if shift >= 64 { 8085 return ErrIntOverflowGenerated 8086 } 8087 if iNdEx >= l { 8088 return io.ErrUnexpectedEOF 8089 } 8090 b := dAtA[iNdEx] 8091 iNdEx++ 8092 v |= int(b&0x7F) << shift 8093 if b < 0x80 { 8094 break 8095 } 8096 } 8097 m.Watch = bool(v != 0) 8098 case 4: 8099 if wireType != 2 { 8100 return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) 8101 } 8102 var stringLen uint64 8103 for shift := uint(0); ; shift += 7 { 8104 if shift >= 64 { 8105 return ErrIntOverflowGenerated 8106 } 8107 if iNdEx >= l { 8108 return io.ErrUnexpectedEOF 8109 } 8110 b := dAtA[iNdEx] 8111 iNdEx++ 8112 stringLen |= uint64(b&0x7F) << shift 8113 if b < 0x80 { 8114 break 8115 } 8116 } 8117 intStringLen := int(stringLen) 8118 if intStringLen < 0 { 8119 return ErrInvalidLengthGenerated 8120 } 8121 postIndex := iNdEx + intStringLen 8122 if postIndex < 0 { 8123 return ErrInvalidLengthGenerated 8124 } 8125 if postIndex > l { 8126 return io.ErrUnexpectedEOF 8127 } 8128 m.ResourceVersion = string(dAtA[iNdEx:postIndex]) 8129 iNdEx = postIndex 8130 case 5: 8131 if wireType != 0 { 8132 return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType) 8133 } 8134 var v int64 8135 for shift := uint(0); ; shift += 7 { 8136 if shift >= 64 { 8137 return ErrIntOverflowGenerated 8138 } 8139 if iNdEx >= l { 8140 return io.ErrUnexpectedEOF 8141 } 8142 b := dAtA[iNdEx] 8143 iNdEx++ 8144 v |= int64(b&0x7F) << shift 8145 if b < 0x80 { 8146 break 8147 } 8148 } 8149 m.TimeoutSeconds = &v 8150 case 7: 8151 if wireType != 0 { 8152 return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) 8153 } 8154 m.Limit = 0 8155 for shift := uint(0); ; shift += 7 { 8156 if shift >= 64 { 8157 return ErrIntOverflowGenerated 8158 } 8159 if iNdEx >= l { 8160 return io.ErrUnexpectedEOF 8161 } 8162 b := dAtA[iNdEx] 8163 iNdEx++ 8164 m.Limit |= int64(b&0x7F) << shift 8165 if b < 0x80 { 8166 break 8167 } 8168 } 8169 case 8: 8170 if wireType != 2 { 8171 return fmt.Errorf("proto: wrong wireType = %d for field Continue", wireType) 8172 } 8173 var stringLen uint64 8174 for shift := uint(0); ; shift += 7 { 8175 if shift >= 64 { 8176 return ErrIntOverflowGenerated 8177 } 8178 if iNdEx >= l { 8179 return io.ErrUnexpectedEOF 8180 } 8181 b := dAtA[iNdEx] 8182 iNdEx++ 8183 stringLen |= uint64(b&0x7F) << shift 8184 if b < 0x80 { 8185 break 8186 } 8187 } 8188 intStringLen := int(stringLen) 8189 if intStringLen < 0 { 8190 return ErrInvalidLengthGenerated 8191 } 8192 postIndex := iNdEx + intStringLen 8193 if postIndex < 0 { 8194 return ErrInvalidLengthGenerated 8195 } 8196 if postIndex > l { 8197 return io.ErrUnexpectedEOF 8198 } 8199 m.Continue = string(dAtA[iNdEx:postIndex]) 8200 iNdEx = postIndex 8201 case 9: 8202 if wireType != 0 { 8203 return fmt.Errorf("proto: wrong wireType = %d for field AllowWatchBookmarks", wireType) 8204 } 8205 var v int 8206 for shift := uint(0); ; shift += 7 { 8207 if shift >= 64 { 8208 return ErrIntOverflowGenerated 8209 } 8210 if iNdEx >= l { 8211 return io.ErrUnexpectedEOF 8212 } 8213 b := dAtA[iNdEx] 8214 iNdEx++ 8215 v |= int(b&0x7F) << shift 8216 if b < 0x80 { 8217 break 8218 } 8219 } 8220 m.AllowWatchBookmarks = bool(v != 0) 8221 case 10: 8222 if wireType != 2 { 8223 return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersionMatch", wireType) 8224 } 8225 var stringLen uint64 8226 for shift := uint(0); ; shift += 7 { 8227 if shift >= 64 { 8228 return ErrIntOverflowGenerated 8229 } 8230 if iNdEx >= l { 8231 return io.ErrUnexpectedEOF 8232 } 8233 b := dAtA[iNdEx] 8234 iNdEx++ 8235 stringLen |= uint64(b&0x7F) << shift 8236 if b < 0x80 { 8237 break 8238 } 8239 } 8240 intStringLen := int(stringLen) 8241 if intStringLen < 0 { 8242 return ErrInvalidLengthGenerated 8243 } 8244 postIndex := iNdEx + intStringLen 8245 if postIndex < 0 { 8246 return ErrInvalidLengthGenerated 8247 } 8248 if postIndex > l { 8249 return io.ErrUnexpectedEOF 8250 } 8251 m.ResourceVersionMatch = ResourceVersionMatch(dAtA[iNdEx:postIndex]) 8252 iNdEx = postIndex 8253 default: 8254 iNdEx = preIndex 8255 skippy, err := skipGenerated(dAtA[iNdEx:]) 8256 if err != nil { 8257 return err 8258 } 8259 if (skippy < 0) || (iNdEx+skippy) < 0 { 8260 return ErrInvalidLengthGenerated 8261 } 8262 if (iNdEx + skippy) > l { 8263 return io.ErrUnexpectedEOF 8264 } 8265 iNdEx += skippy 8266 } 8267 } 8268 8269 if iNdEx > l { 8270 return io.ErrUnexpectedEOF 8271 } 8272 return nil 8273 } 8274 func (m *ManagedFieldsEntry) Unmarshal(dAtA []byte) error { 8275 l := len(dAtA) 8276 iNdEx := 0 8277 for iNdEx < l { 8278 preIndex := iNdEx 8279 var wire uint64 8280 for shift := uint(0); ; shift += 7 { 8281 if shift >= 64 { 8282 return ErrIntOverflowGenerated 8283 } 8284 if iNdEx >= l { 8285 return io.ErrUnexpectedEOF 8286 } 8287 b := dAtA[iNdEx] 8288 iNdEx++ 8289 wire |= uint64(b&0x7F) << shift 8290 if b < 0x80 { 8291 break 8292 } 8293 } 8294 fieldNum := int32(wire >> 3) 8295 wireType := int(wire & 0x7) 8296 if wireType == 4 { 8297 return fmt.Errorf("proto: ManagedFieldsEntry: wiretype end group for non-group") 8298 } 8299 if fieldNum <= 0 { 8300 return fmt.Errorf("proto: ManagedFieldsEntry: illegal tag %d (wire type %d)", fieldNum, wire) 8301 } 8302 switch fieldNum { 8303 case 1: 8304 if wireType != 2 { 8305 return fmt.Errorf("proto: wrong wireType = %d for field Manager", wireType) 8306 } 8307 var stringLen uint64 8308 for shift := uint(0); ; shift += 7 { 8309 if shift >= 64 { 8310 return ErrIntOverflowGenerated 8311 } 8312 if iNdEx >= l { 8313 return io.ErrUnexpectedEOF 8314 } 8315 b := dAtA[iNdEx] 8316 iNdEx++ 8317 stringLen |= uint64(b&0x7F) << shift 8318 if b < 0x80 { 8319 break 8320 } 8321 } 8322 intStringLen := int(stringLen) 8323 if intStringLen < 0 { 8324 return ErrInvalidLengthGenerated 8325 } 8326 postIndex := iNdEx + intStringLen 8327 if postIndex < 0 { 8328 return ErrInvalidLengthGenerated 8329 } 8330 if postIndex > l { 8331 return io.ErrUnexpectedEOF 8332 } 8333 m.Manager = string(dAtA[iNdEx:postIndex]) 8334 iNdEx = postIndex 8335 case 2: 8336 if wireType != 2 { 8337 return fmt.Errorf("proto: wrong wireType = %d for field Operation", wireType) 8338 } 8339 var stringLen uint64 8340 for shift := uint(0); ; shift += 7 { 8341 if shift >= 64 { 8342 return ErrIntOverflowGenerated 8343 } 8344 if iNdEx >= l { 8345 return io.ErrUnexpectedEOF 8346 } 8347 b := dAtA[iNdEx] 8348 iNdEx++ 8349 stringLen |= uint64(b&0x7F) << shift 8350 if b < 0x80 { 8351 break 8352 } 8353 } 8354 intStringLen := int(stringLen) 8355 if intStringLen < 0 { 8356 return ErrInvalidLengthGenerated 8357 } 8358 postIndex := iNdEx + intStringLen 8359 if postIndex < 0 { 8360 return ErrInvalidLengthGenerated 8361 } 8362 if postIndex > l { 8363 return io.ErrUnexpectedEOF 8364 } 8365 m.Operation = ManagedFieldsOperationType(dAtA[iNdEx:postIndex]) 8366 iNdEx = postIndex 8367 case 3: 8368 if wireType != 2 { 8369 return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType) 8370 } 8371 var stringLen uint64 8372 for shift := uint(0); ; shift += 7 { 8373 if shift >= 64 { 8374 return ErrIntOverflowGenerated 8375 } 8376 if iNdEx >= l { 8377 return io.ErrUnexpectedEOF 8378 } 8379 b := dAtA[iNdEx] 8380 iNdEx++ 8381 stringLen |= uint64(b&0x7F) << shift 8382 if b < 0x80 { 8383 break 8384 } 8385 } 8386 intStringLen := int(stringLen) 8387 if intStringLen < 0 { 8388 return ErrInvalidLengthGenerated 8389 } 8390 postIndex := iNdEx + intStringLen 8391 if postIndex < 0 { 8392 return ErrInvalidLengthGenerated 8393 } 8394 if postIndex > l { 8395 return io.ErrUnexpectedEOF 8396 } 8397 m.APIVersion = string(dAtA[iNdEx:postIndex]) 8398 iNdEx = postIndex 8399 case 4: 8400 if wireType != 2 { 8401 return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType) 8402 } 8403 var msglen int 8404 for shift := uint(0); ; shift += 7 { 8405 if shift >= 64 { 8406 return ErrIntOverflowGenerated 8407 } 8408 if iNdEx >= l { 8409 return io.ErrUnexpectedEOF 8410 } 8411 b := dAtA[iNdEx] 8412 iNdEx++ 8413 msglen |= int(b&0x7F) << shift 8414 if b < 0x80 { 8415 break 8416 } 8417 } 8418 if msglen < 0 { 8419 return ErrInvalidLengthGenerated 8420 } 8421 postIndex := iNdEx + msglen 8422 if postIndex < 0 { 8423 return ErrInvalidLengthGenerated 8424 } 8425 if postIndex > l { 8426 return io.ErrUnexpectedEOF 8427 } 8428 if m.Time == nil { 8429 m.Time = &Time{} 8430 } 8431 if err := m.Time.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8432 return err 8433 } 8434 iNdEx = postIndex 8435 case 6: 8436 if wireType != 2 { 8437 return fmt.Errorf("proto: wrong wireType = %d for field FieldsType", wireType) 8438 } 8439 var stringLen uint64 8440 for shift := uint(0); ; shift += 7 { 8441 if shift >= 64 { 8442 return ErrIntOverflowGenerated 8443 } 8444 if iNdEx >= l { 8445 return io.ErrUnexpectedEOF 8446 } 8447 b := dAtA[iNdEx] 8448 iNdEx++ 8449 stringLen |= uint64(b&0x7F) << shift 8450 if b < 0x80 { 8451 break 8452 } 8453 } 8454 intStringLen := int(stringLen) 8455 if intStringLen < 0 { 8456 return ErrInvalidLengthGenerated 8457 } 8458 postIndex := iNdEx + intStringLen 8459 if postIndex < 0 { 8460 return ErrInvalidLengthGenerated 8461 } 8462 if postIndex > l { 8463 return io.ErrUnexpectedEOF 8464 } 8465 m.FieldsType = string(dAtA[iNdEx:postIndex]) 8466 iNdEx = postIndex 8467 case 7: 8468 if wireType != 2 { 8469 return fmt.Errorf("proto: wrong wireType = %d for field FieldsV1", wireType) 8470 } 8471 var msglen int 8472 for shift := uint(0); ; shift += 7 { 8473 if shift >= 64 { 8474 return ErrIntOverflowGenerated 8475 } 8476 if iNdEx >= l { 8477 return io.ErrUnexpectedEOF 8478 } 8479 b := dAtA[iNdEx] 8480 iNdEx++ 8481 msglen |= int(b&0x7F) << shift 8482 if b < 0x80 { 8483 break 8484 } 8485 } 8486 if msglen < 0 { 8487 return ErrInvalidLengthGenerated 8488 } 8489 postIndex := iNdEx + msglen 8490 if postIndex < 0 { 8491 return ErrInvalidLengthGenerated 8492 } 8493 if postIndex > l { 8494 return io.ErrUnexpectedEOF 8495 } 8496 if m.FieldsV1 == nil { 8497 m.FieldsV1 = &FieldsV1{} 8498 } 8499 if err := m.FieldsV1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8500 return err 8501 } 8502 iNdEx = postIndex 8503 case 8: 8504 if wireType != 2 { 8505 return fmt.Errorf("proto: wrong wireType = %d for field Subresource", wireType) 8506 } 8507 var stringLen uint64 8508 for shift := uint(0); ; shift += 7 { 8509 if shift >= 64 { 8510 return ErrIntOverflowGenerated 8511 } 8512 if iNdEx >= l { 8513 return io.ErrUnexpectedEOF 8514 } 8515 b := dAtA[iNdEx] 8516 iNdEx++ 8517 stringLen |= uint64(b&0x7F) << shift 8518 if b < 0x80 { 8519 break 8520 } 8521 } 8522 intStringLen := int(stringLen) 8523 if intStringLen < 0 { 8524 return ErrInvalidLengthGenerated 8525 } 8526 postIndex := iNdEx + intStringLen 8527 if postIndex < 0 { 8528 return ErrInvalidLengthGenerated 8529 } 8530 if postIndex > l { 8531 return io.ErrUnexpectedEOF 8532 } 8533 m.Subresource = string(dAtA[iNdEx:postIndex]) 8534 iNdEx = postIndex 8535 default: 8536 iNdEx = preIndex 8537 skippy, err := skipGenerated(dAtA[iNdEx:]) 8538 if err != nil { 8539 return err 8540 } 8541 if (skippy < 0) || (iNdEx+skippy) < 0 { 8542 return ErrInvalidLengthGenerated 8543 } 8544 if (iNdEx + skippy) > l { 8545 return io.ErrUnexpectedEOF 8546 } 8547 iNdEx += skippy 8548 } 8549 } 8550 8551 if iNdEx > l { 8552 return io.ErrUnexpectedEOF 8553 } 8554 return nil 8555 } 8556 func (m *ObjectMeta) Unmarshal(dAtA []byte) error { 8557 l := len(dAtA) 8558 iNdEx := 0 8559 for iNdEx < l { 8560 preIndex := iNdEx 8561 var wire uint64 8562 for shift := uint(0); ; shift += 7 { 8563 if shift >= 64 { 8564 return ErrIntOverflowGenerated 8565 } 8566 if iNdEx >= l { 8567 return io.ErrUnexpectedEOF 8568 } 8569 b := dAtA[iNdEx] 8570 iNdEx++ 8571 wire |= uint64(b&0x7F) << shift 8572 if b < 0x80 { 8573 break 8574 } 8575 } 8576 fieldNum := int32(wire >> 3) 8577 wireType := int(wire & 0x7) 8578 if wireType == 4 { 8579 return fmt.Errorf("proto: ObjectMeta: wiretype end group for non-group") 8580 } 8581 if fieldNum <= 0 { 8582 return fmt.Errorf("proto: ObjectMeta: illegal tag %d (wire type %d)", fieldNum, wire) 8583 } 8584 switch fieldNum { 8585 case 1: 8586 if wireType != 2 { 8587 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 8588 } 8589 var stringLen uint64 8590 for shift := uint(0); ; shift += 7 { 8591 if shift >= 64 { 8592 return ErrIntOverflowGenerated 8593 } 8594 if iNdEx >= l { 8595 return io.ErrUnexpectedEOF 8596 } 8597 b := dAtA[iNdEx] 8598 iNdEx++ 8599 stringLen |= uint64(b&0x7F) << shift 8600 if b < 0x80 { 8601 break 8602 } 8603 } 8604 intStringLen := int(stringLen) 8605 if intStringLen < 0 { 8606 return ErrInvalidLengthGenerated 8607 } 8608 postIndex := iNdEx + intStringLen 8609 if postIndex < 0 { 8610 return ErrInvalidLengthGenerated 8611 } 8612 if postIndex > l { 8613 return io.ErrUnexpectedEOF 8614 } 8615 m.Name = string(dAtA[iNdEx:postIndex]) 8616 iNdEx = postIndex 8617 case 2: 8618 if wireType != 2 { 8619 return fmt.Errorf("proto: wrong wireType = %d for field GenerateName", wireType) 8620 } 8621 var stringLen uint64 8622 for shift := uint(0); ; shift += 7 { 8623 if shift >= 64 { 8624 return ErrIntOverflowGenerated 8625 } 8626 if iNdEx >= l { 8627 return io.ErrUnexpectedEOF 8628 } 8629 b := dAtA[iNdEx] 8630 iNdEx++ 8631 stringLen |= uint64(b&0x7F) << shift 8632 if b < 0x80 { 8633 break 8634 } 8635 } 8636 intStringLen := int(stringLen) 8637 if intStringLen < 0 { 8638 return ErrInvalidLengthGenerated 8639 } 8640 postIndex := iNdEx + intStringLen 8641 if postIndex < 0 { 8642 return ErrInvalidLengthGenerated 8643 } 8644 if postIndex > l { 8645 return io.ErrUnexpectedEOF 8646 } 8647 m.GenerateName = string(dAtA[iNdEx:postIndex]) 8648 iNdEx = postIndex 8649 case 3: 8650 if wireType != 2 { 8651 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 8652 } 8653 var stringLen uint64 8654 for shift := uint(0); ; shift += 7 { 8655 if shift >= 64 { 8656 return ErrIntOverflowGenerated 8657 } 8658 if iNdEx >= l { 8659 return io.ErrUnexpectedEOF 8660 } 8661 b := dAtA[iNdEx] 8662 iNdEx++ 8663 stringLen |= uint64(b&0x7F) << shift 8664 if b < 0x80 { 8665 break 8666 } 8667 } 8668 intStringLen := int(stringLen) 8669 if intStringLen < 0 { 8670 return ErrInvalidLengthGenerated 8671 } 8672 postIndex := iNdEx + intStringLen 8673 if postIndex < 0 { 8674 return ErrInvalidLengthGenerated 8675 } 8676 if postIndex > l { 8677 return io.ErrUnexpectedEOF 8678 } 8679 m.Namespace = string(dAtA[iNdEx:postIndex]) 8680 iNdEx = postIndex 8681 case 4: 8682 if wireType != 2 { 8683 return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType) 8684 } 8685 var stringLen uint64 8686 for shift := uint(0); ; shift += 7 { 8687 if shift >= 64 { 8688 return ErrIntOverflowGenerated 8689 } 8690 if iNdEx >= l { 8691 return io.ErrUnexpectedEOF 8692 } 8693 b := dAtA[iNdEx] 8694 iNdEx++ 8695 stringLen |= uint64(b&0x7F) << shift 8696 if b < 0x80 { 8697 break 8698 } 8699 } 8700 intStringLen := int(stringLen) 8701 if intStringLen < 0 { 8702 return ErrInvalidLengthGenerated 8703 } 8704 postIndex := iNdEx + intStringLen 8705 if postIndex < 0 { 8706 return ErrInvalidLengthGenerated 8707 } 8708 if postIndex > l { 8709 return io.ErrUnexpectedEOF 8710 } 8711 m.SelfLink = string(dAtA[iNdEx:postIndex]) 8712 iNdEx = postIndex 8713 case 5: 8714 if wireType != 2 { 8715 return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) 8716 } 8717 var stringLen uint64 8718 for shift := uint(0); ; shift += 7 { 8719 if shift >= 64 { 8720 return ErrIntOverflowGenerated 8721 } 8722 if iNdEx >= l { 8723 return io.ErrUnexpectedEOF 8724 } 8725 b := dAtA[iNdEx] 8726 iNdEx++ 8727 stringLen |= uint64(b&0x7F) << shift 8728 if b < 0x80 { 8729 break 8730 } 8731 } 8732 intStringLen := int(stringLen) 8733 if intStringLen < 0 { 8734 return ErrInvalidLengthGenerated 8735 } 8736 postIndex := iNdEx + intStringLen 8737 if postIndex < 0 { 8738 return ErrInvalidLengthGenerated 8739 } 8740 if postIndex > l { 8741 return io.ErrUnexpectedEOF 8742 } 8743 m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex]) 8744 iNdEx = postIndex 8745 case 6: 8746 if wireType != 2 { 8747 return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) 8748 } 8749 var stringLen uint64 8750 for shift := uint(0); ; shift += 7 { 8751 if shift >= 64 { 8752 return ErrIntOverflowGenerated 8753 } 8754 if iNdEx >= l { 8755 return io.ErrUnexpectedEOF 8756 } 8757 b := dAtA[iNdEx] 8758 iNdEx++ 8759 stringLen |= uint64(b&0x7F) << shift 8760 if b < 0x80 { 8761 break 8762 } 8763 } 8764 intStringLen := int(stringLen) 8765 if intStringLen < 0 { 8766 return ErrInvalidLengthGenerated 8767 } 8768 postIndex := iNdEx + intStringLen 8769 if postIndex < 0 { 8770 return ErrInvalidLengthGenerated 8771 } 8772 if postIndex > l { 8773 return io.ErrUnexpectedEOF 8774 } 8775 m.ResourceVersion = string(dAtA[iNdEx:postIndex]) 8776 iNdEx = postIndex 8777 case 7: 8778 if wireType != 0 { 8779 return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType) 8780 } 8781 m.Generation = 0 8782 for shift := uint(0); ; shift += 7 { 8783 if shift >= 64 { 8784 return ErrIntOverflowGenerated 8785 } 8786 if iNdEx >= l { 8787 return io.ErrUnexpectedEOF 8788 } 8789 b := dAtA[iNdEx] 8790 iNdEx++ 8791 m.Generation |= int64(b&0x7F) << shift 8792 if b < 0x80 { 8793 break 8794 } 8795 } 8796 case 8: 8797 if wireType != 2 { 8798 return fmt.Errorf("proto: wrong wireType = %d for field CreationTimestamp", wireType) 8799 } 8800 var msglen int 8801 for shift := uint(0); ; shift += 7 { 8802 if shift >= 64 { 8803 return ErrIntOverflowGenerated 8804 } 8805 if iNdEx >= l { 8806 return io.ErrUnexpectedEOF 8807 } 8808 b := dAtA[iNdEx] 8809 iNdEx++ 8810 msglen |= int(b&0x7F) << shift 8811 if b < 0x80 { 8812 break 8813 } 8814 } 8815 if msglen < 0 { 8816 return ErrInvalidLengthGenerated 8817 } 8818 postIndex := iNdEx + msglen 8819 if postIndex < 0 { 8820 return ErrInvalidLengthGenerated 8821 } 8822 if postIndex > l { 8823 return io.ErrUnexpectedEOF 8824 } 8825 if err := m.CreationTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8826 return err 8827 } 8828 iNdEx = postIndex 8829 case 9: 8830 if wireType != 2 { 8831 return fmt.Errorf("proto: wrong wireType = %d for field DeletionTimestamp", wireType) 8832 } 8833 var msglen int 8834 for shift := uint(0); ; shift += 7 { 8835 if shift >= 64 { 8836 return ErrIntOverflowGenerated 8837 } 8838 if iNdEx >= l { 8839 return io.ErrUnexpectedEOF 8840 } 8841 b := dAtA[iNdEx] 8842 iNdEx++ 8843 msglen |= int(b&0x7F) << shift 8844 if b < 0x80 { 8845 break 8846 } 8847 } 8848 if msglen < 0 { 8849 return ErrInvalidLengthGenerated 8850 } 8851 postIndex := iNdEx + msglen 8852 if postIndex < 0 { 8853 return ErrInvalidLengthGenerated 8854 } 8855 if postIndex > l { 8856 return io.ErrUnexpectedEOF 8857 } 8858 if m.DeletionTimestamp == nil { 8859 m.DeletionTimestamp = &Time{} 8860 } 8861 if err := m.DeletionTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8862 return err 8863 } 8864 iNdEx = postIndex 8865 case 10: 8866 if wireType != 0 { 8867 return fmt.Errorf("proto: wrong wireType = %d for field DeletionGracePeriodSeconds", wireType) 8868 } 8869 var v int64 8870 for shift := uint(0); ; shift += 7 { 8871 if shift >= 64 { 8872 return ErrIntOverflowGenerated 8873 } 8874 if iNdEx >= l { 8875 return io.ErrUnexpectedEOF 8876 } 8877 b := dAtA[iNdEx] 8878 iNdEx++ 8879 v |= int64(b&0x7F) << shift 8880 if b < 0x80 { 8881 break 8882 } 8883 } 8884 m.DeletionGracePeriodSeconds = &v 8885 case 11: 8886 if wireType != 2 { 8887 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) 8888 } 8889 var msglen int 8890 for shift := uint(0); ; shift += 7 { 8891 if shift >= 64 { 8892 return ErrIntOverflowGenerated 8893 } 8894 if iNdEx >= l { 8895 return io.ErrUnexpectedEOF 8896 } 8897 b := dAtA[iNdEx] 8898 iNdEx++ 8899 msglen |= int(b&0x7F) << shift 8900 if b < 0x80 { 8901 break 8902 } 8903 } 8904 if msglen < 0 { 8905 return ErrInvalidLengthGenerated 8906 } 8907 postIndex := iNdEx + msglen 8908 if postIndex < 0 { 8909 return ErrInvalidLengthGenerated 8910 } 8911 if postIndex > l { 8912 return io.ErrUnexpectedEOF 8913 } 8914 if m.Labels == nil { 8915 m.Labels = make(map[string]string) 8916 } 8917 var mapkey string 8918 var mapvalue string 8919 for iNdEx < postIndex { 8920 entryPreIndex := iNdEx 8921 var wire uint64 8922 for shift := uint(0); ; shift += 7 { 8923 if shift >= 64 { 8924 return ErrIntOverflowGenerated 8925 } 8926 if iNdEx >= l { 8927 return io.ErrUnexpectedEOF 8928 } 8929 b := dAtA[iNdEx] 8930 iNdEx++ 8931 wire |= uint64(b&0x7F) << shift 8932 if b < 0x80 { 8933 break 8934 } 8935 } 8936 fieldNum := int32(wire >> 3) 8937 if fieldNum == 1 { 8938 var stringLenmapkey uint64 8939 for shift := uint(0); ; shift += 7 { 8940 if shift >= 64 { 8941 return ErrIntOverflowGenerated 8942 } 8943 if iNdEx >= l { 8944 return io.ErrUnexpectedEOF 8945 } 8946 b := dAtA[iNdEx] 8947 iNdEx++ 8948 stringLenmapkey |= uint64(b&0x7F) << shift 8949 if b < 0x80 { 8950 break 8951 } 8952 } 8953 intStringLenmapkey := int(stringLenmapkey) 8954 if intStringLenmapkey < 0 { 8955 return ErrInvalidLengthGenerated 8956 } 8957 postStringIndexmapkey := iNdEx + intStringLenmapkey 8958 if postStringIndexmapkey < 0 { 8959 return ErrInvalidLengthGenerated 8960 } 8961 if postStringIndexmapkey > l { 8962 return io.ErrUnexpectedEOF 8963 } 8964 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 8965 iNdEx = postStringIndexmapkey 8966 } else if fieldNum == 2 { 8967 var stringLenmapvalue uint64 8968 for shift := uint(0); ; shift += 7 { 8969 if shift >= 64 { 8970 return ErrIntOverflowGenerated 8971 } 8972 if iNdEx >= l { 8973 return io.ErrUnexpectedEOF 8974 } 8975 b := dAtA[iNdEx] 8976 iNdEx++ 8977 stringLenmapvalue |= uint64(b&0x7F) << shift 8978 if b < 0x80 { 8979 break 8980 } 8981 } 8982 intStringLenmapvalue := int(stringLenmapvalue) 8983 if intStringLenmapvalue < 0 { 8984 return ErrInvalidLengthGenerated 8985 } 8986 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 8987 if postStringIndexmapvalue < 0 { 8988 return ErrInvalidLengthGenerated 8989 } 8990 if postStringIndexmapvalue > l { 8991 return io.ErrUnexpectedEOF 8992 } 8993 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 8994 iNdEx = postStringIndexmapvalue 8995 } else { 8996 iNdEx = entryPreIndex 8997 skippy, err := skipGenerated(dAtA[iNdEx:]) 8998 if err != nil { 8999 return err 9000 } 9001 if (skippy < 0) || (iNdEx+skippy) < 0 { 9002 return ErrInvalidLengthGenerated 9003 } 9004 if (iNdEx + skippy) > postIndex { 9005 return io.ErrUnexpectedEOF 9006 } 9007 iNdEx += skippy 9008 } 9009 } 9010 m.Labels[mapkey] = mapvalue 9011 iNdEx = postIndex 9012 case 12: 9013 if wireType != 2 { 9014 return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType) 9015 } 9016 var msglen int 9017 for shift := uint(0); ; shift += 7 { 9018 if shift >= 64 { 9019 return ErrIntOverflowGenerated 9020 } 9021 if iNdEx >= l { 9022 return io.ErrUnexpectedEOF 9023 } 9024 b := dAtA[iNdEx] 9025 iNdEx++ 9026 msglen |= int(b&0x7F) << shift 9027 if b < 0x80 { 9028 break 9029 } 9030 } 9031 if msglen < 0 { 9032 return ErrInvalidLengthGenerated 9033 } 9034 postIndex := iNdEx + msglen 9035 if postIndex < 0 { 9036 return ErrInvalidLengthGenerated 9037 } 9038 if postIndex > l { 9039 return io.ErrUnexpectedEOF 9040 } 9041 if m.Annotations == nil { 9042 m.Annotations = make(map[string]string) 9043 } 9044 var mapkey string 9045 var mapvalue string 9046 for iNdEx < postIndex { 9047 entryPreIndex := iNdEx 9048 var wire uint64 9049 for shift := uint(0); ; shift += 7 { 9050 if shift >= 64 { 9051 return ErrIntOverflowGenerated 9052 } 9053 if iNdEx >= l { 9054 return io.ErrUnexpectedEOF 9055 } 9056 b := dAtA[iNdEx] 9057 iNdEx++ 9058 wire |= uint64(b&0x7F) << shift 9059 if b < 0x80 { 9060 break 9061 } 9062 } 9063 fieldNum := int32(wire >> 3) 9064 if fieldNum == 1 { 9065 var stringLenmapkey uint64 9066 for shift := uint(0); ; shift += 7 { 9067 if shift >= 64 { 9068 return ErrIntOverflowGenerated 9069 } 9070 if iNdEx >= l { 9071 return io.ErrUnexpectedEOF 9072 } 9073 b := dAtA[iNdEx] 9074 iNdEx++ 9075 stringLenmapkey |= uint64(b&0x7F) << shift 9076 if b < 0x80 { 9077 break 9078 } 9079 } 9080 intStringLenmapkey := int(stringLenmapkey) 9081 if intStringLenmapkey < 0 { 9082 return ErrInvalidLengthGenerated 9083 } 9084 postStringIndexmapkey := iNdEx + intStringLenmapkey 9085 if postStringIndexmapkey < 0 { 9086 return ErrInvalidLengthGenerated 9087 } 9088 if postStringIndexmapkey > l { 9089 return io.ErrUnexpectedEOF 9090 } 9091 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 9092 iNdEx = postStringIndexmapkey 9093 } else if fieldNum == 2 { 9094 var stringLenmapvalue uint64 9095 for shift := uint(0); ; shift += 7 { 9096 if shift >= 64 { 9097 return ErrIntOverflowGenerated 9098 } 9099 if iNdEx >= l { 9100 return io.ErrUnexpectedEOF 9101 } 9102 b := dAtA[iNdEx] 9103 iNdEx++ 9104 stringLenmapvalue |= uint64(b&0x7F) << shift 9105 if b < 0x80 { 9106 break 9107 } 9108 } 9109 intStringLenmapvalue := int(stringLenmapvalue) 9110 if intStringLenmapvalue < 0 { 9111 return ErrInvalidLengthGenerated 9112 } 9113 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 9114 if postStringIndexmapvalue < 0 { 9115 return ErrInvalidLengthGenerated 9116 } 9117 if postStringIndexmapvalue > l { 9118 return io.ErrUnexpectedEOF 9119 } 9120 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 9121 iNdEx = postStringIndexmapvalue 9122 } else { 9123 iNdEx = entryPreIndex 9124 skippy, err := skipGenerated(dAtA[iNdEx:]) 9125 if err != nil { 9126 return err 9127 } 9128 if (skippy < 0) || (iNdEx+skippy) < 0 { 9129 return ErrInvalidLengthGenerated 9130 } 9131 if (iNdEx + skippy) > postIndex { 9132 return io.ErrUnexpectedEOF 9133 } 9134 iNdEx += skippy 9135 } 9136 } 9137 m.Annotations[mapkey] = mapvalue 9138 iNdEx = postIndex 9139 case 13: 9140 if wireType != 2 { 9141 return fmt.Errorf("proto: wrong wireType = %d for field OwnerReferences", wireType) 9142 } 9143 var msglen int 9144 for shift := uint(0); ; shift += 7 { 9145 if shift >= 64 { 9146 return ErrIntOverflowGenerated 9147 } 9148 if iNdEx >= l { 9149 return io.ErrUnexpectedEOF 9150 } 9151 b := dAtA[iNdEx] 9152 iNdEx++ 9153 msglen |= int(b&0x7F) << shift 9154 if b < 0x80 { 9155 break 9156 } 9157 } 9158 if msglen < 0 { 9159 return ErrInvalidLengthGenerated 9160 } 9161 postIndex := iNdEx + msglen 9162 if postIndex < 0 { 9163 return ErrInvalidLengthGenerated 9164 } 9165 if postIndex > l { 9166 return io.ErrUnexpectedEOF 9167 } 9168 m.OwnerReferences = append(m.OwnerReferences, OwnerReference{}) 9169 if err := m.OwnerReferences[len(m.OwnerReferences)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9170 return err 9171 } 9172 iNdEx = postIndex 9173 case 14: 9174 if wireType != 2 { 9175 return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType) 9176 } 9177 var stringLen uint64 9178 for shift := uint(0); ; shift += 7 { 9179 if shift >= 64 { 9180 return ErrIntOverflowGenerated 9181 } 9182 if iNdEx >= l { 9183 return io.ErrUnexpectedEOF 9184 } 9185 b := dAtA[iNdEx] 9186 iNdEx++ 9187 stringLen |= uint64(b&0x7F) << shift 9188 if b < 0x80 { 9189 break 9190 } 9191 } 9192 intStringLen := int(stringLen) 9193 if intStringLen < 0 { 9194 return ErrInvalidLengthGenerated 9195 } 9196 postIndex := iNdEx + intStringLen 9197 if postIndex < 0 { 9198 return ErrInvalidLengthGenerated 9199 } 9200 if postIndex > l { 9201 return io.ErrUnexpectedEOF 9202 } 9203 m.Finalizers = append(m.Finalizers, string(dAtA[iNdEx:postIndex])) 9204 iNdEx = postIndex 9205 case 17: 9206 if wireType != 2 { 9207 return fmt.Errorf("proto: wrong wireType = %d for field ManagedFields", wireType) 9208 } 9209 var msglen int 9210 for shift := uint(0); ; shift += 7 { 9211 if shift >= 64 { 9212 return ErrIntOverflowGenerated 9213 } 9214 if iNdEx >= l { 9215 return io.ErrUnexpectedEOF 9216 } 9217 b := dAtA[iNdEx] 9218 iNdEx++ 9219 msglen |= int(b&0x7F) << shift 9220 if b < 0x80 { 9221 break 9222 } 9223 } 9224 if msglen < 0 { 9225 return ErrInvalidLengthGenerated 9226 } 9227 postIndex := iNdEx + msglen 9228 if postIndex < 0 { 9229 return ErrInvalidLengthGenerated 9230 } 9231 if postIndex > l { 9232 return io.ErrUnexpectedEOF 9233 } 9234 m.ManagedFields = append(m.ManagedFields, ManagedFieldsEntry{}) 9235 if err := m.ManagedFields[len(m.ManagedFields)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9236 return err 9237 } 9238 iNdEx = postIndex 9239 default: 9240 iNdEx = preIndex 9241 skippy, err := skipGenerated(dAtA[iNdEx:]) 9242 if err != nil { 9243 return err 9244 } 9245 if (skippy < 0) || (iNdEx+skippy) < 0 { 9246 return ErrInvalidLengthGenerated 9247 } 9248 if (iNdEx + skippy) > l { 9249 return io.ErrUnexpectedEOF 9250 } 9251 iNdEx += skippy 9252 } 9253 } 9254 9255 if iNdEx > l { 9256 return io.ErrUnexpectedEOF 9257 } 9258 return nil 9259 } 9260 func (m *OwnerReference) Unmarshal(dAtA []byte) error { 9261 l := len(dAtA) 9262 iNdEx := 0 9263 for iNdEx < l { 9264 preIndex := iNdEx 9265 var wire uint64 9266 for shift := uint(0); ; shift += 7 { 9267 if shift >= 64 { 9268 return ErrIntOverflowGenerated 9269 } 9270 if iNdEx >= l { 9271 return io.ErrUnexpectedEOF 9272 } 9273 b := dAtA[iNdEx] 9274 iNdEx++ 9275 wire |= uint64(b&0x7F) << shift 9276 if b < 0x80 { 9277 break 9278 } 9279 } 9280 fieldNum := int32(wire >> 3) 9281 wireType := int(wire & 0x7) 9282 if wireType == 4 { 9283 return fmt.Errorf("proto: OwnerReference: wiretype end group for non-group") 9284 } 9285 if fieldNum <= 0 { 9286 return fmt.Errorf("proto: OwnerReference: illegal tag %d (wire type %d)", fieldNum, wire) 9287 } 9288 switch fieldNum { 9289 case 1: 9290 if wireType != 2 { 9291 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 9292 } 9293 var stringLen uint64 9294 for shift := uint(0); ; shift += 7 { 9295 if shift >= 64 { 9296 return ErrIntOverflowGenerated 9297 } 9298 if iNdEx >= l { 9299 return io.ErrUnexpectedEOF 9300 } 9301 b := dAtA[iNdEx] 9302 iNdEx++ 9303 stringLen |= uint64(b&0x7F) << shift 9304 if b < 0x80 { 9305 break 9306 } 9307 } 9308 intStringLen := int(stringLen) 9309 if intStringLen < 0 { 9310 return ErrInvalidLengthGenerated 9311 } 9312 postIndex := iNdEx + intStringLen 9313 if postIndex < 0 { 9314 return ErrInvalidLengthGenerated 9315 } 9316 if postIndex > l { 9317 return io.ErrUnexpectedEOF 9318 } 9319 m.Kind = string(dAtA[iNdEx:postIndex]) 9320 iNdEx = postIndex 9321 case 3: 9322 if wireType != 2 { 9323 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 9324 } 9325 var stringLen uint64 9326 for shift := uint(0); ; shift += 7 { 9327 if shift >= 64 { 9328 return ErrIntOverflowGenerated 9329 } 9330 if iNdEx >= l { 9331 return io.ErrUnexpectedEOF 9332 } 9333 b := dAtA[iNdEx] 9334 iNdEx++ 9335 stringLen |= uint64(b&0x7F) << shift 9336 if b < 0x80 { 9337 break 9338 } 9339 } 9340 intStringLen := int(stringLen) 9341 if intStringLen < 0 { 9342 return ErrInvalidLengthGenerated 9343 } 9344 postIndex := iNdEx + intStringLen 9345 if postIndex < 0 { 9346 return ErrInvalidLengthGenerated 9347 } 9348 if postIndex > l { 9349 return io.ErrUnexpectedEOF 9350 } 9351 m.Name = string(dAtA[iNdEx:postIndex]) 9352 iNdEx = postIndex 9353 case 4: 9354 if wireType != 2 { 9355 return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) 9356 } 9357 var stringLen uint64 9358 for shift := uint(0); ; shift += 7 { 9359 if shift >= 64 { 9360 return ErrIntOverflowGenerated 9361 } 9362 if iNdEx >= l { 9363 return io.ErrUnexpectedEOF 9364 } 9365 b := dAtA[iNdEx] 9366 iNdEx++ 9367 stringLen |= uint64(b&0x7F) << shift 9368 if b < 0x80 { 9369 break 9370 } 9371 } 9372 intStringLen := int(stringLen) 9373 if intStringLen < 0 { 9374 return ErrInvalidLengthGenerated 9375 } 9376 postIndex := iNdEx + intStringLen 9377 if postIndex < 0 { 9378 return ErrInvalidLengthGenerated 9379 } 9380 if postIndex > l { 9381 return io.ErrUnexpectedEOF 9382 } 9383 m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex]) 9384 iNdEx = postIndex 9385 case 5: 9386 if wireType != 2 { 9387 return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType) 9388 } 9389 var stringLen uint64 9390 for shift := uint(0); ; shift += 7 { 9391 if shift >= 64 { 9392 return ErrIntOverflowGenerated 9393 } 9394 if iNdEx >= l { 9395 return io.ErrUnexpectedEOF 9396 } 9397 b := dAtA[iNdEx] 9398 iNdEx++ 9399 stringLen |= uint64(b&0x7F) << shift 9400 if b < 0x80 { 9401 break 9402 } 9403 } 9404 intStringLen := int(stringLen) 9405 if intStringLen < 0 { 9406 return ErrInvalidLengthGenerated 9407 } 9408 postIndex := iNdEx + intStringLen 9409 if postIndex < 0 { 9410 return ErrInvalidLengthGenerated 9411 } 9412 if postIndex > l { 9413 return io.ErrUnexpectedEOF 9414 } 9415 m.APIVersion = string(dAtA[iNdEx:postIndex]) 9416 iNdEx = postIndex 9417 case 6: 9418 if wireType != 0 { 9419 return fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType) 9420 } 9421 var v int 9422 for shift := uint(0); ; shift += 7 { 9423 if shift >= 64 { 9424 return ErrIntOverflowGenerated 9425 } 9426 if iNdEx >= l { 9427 return io.ErrUnexpectedEOF 9428 } 9429 b := dAtA[iNdEx] 9430 iNdEx++ 9431 v |= int(b&0x7F) << shift 9432 if b < 0x80 { 9433 break 9434 } 9435 } 9436 b := bool(v != 0) 9437 m.Controller = &b 9438 case 7: 9439 if wireType != 0 { 9440 return fmt.Errorf("proto: wrong wireType = %d for field BlockOwnerDeletion", wireType) 9441 } 9442 var v int 9443 for shift := uint(0); ; shift += 7 { 9444 if shift >= 64 { 9445 return ErrIntOverflowGenerated 9446 } 9447 if iNdEx >= l { 9448 return io.ErrUnexpectedEOF 9449 } 9450 b := dAtA[iNdEx] 9451 iNdEx++ 9452 v |= int(b&0x7F) << shift 9453 if b < 0x80 { 9454 break 9455 } 9456 } 9457 b := bool(v != 0) 9458 m.BlockOwnerDeletion = &b 9459 default: 9460 iNdEx = preIndex 9461 skippy, err := skipGenerated(dAtA[iNdEx:]) 9462 if err != nil { 9463 return err 9464 } 9465 if (skippy < 0) || (iNdEx+skippy) < 0 { 9466 return ErrInvalidLengthGenerated 9467 } 9468 if (iNdEx + skippy) > l { 9469 return io.ErrUnexpectedEOF 9470 } 9471 iNdEx += skippy 9472 } 9473 } 9474 9475 if iNdEx > l { 9476 return io.ErrUnexpectedEOF 9477 } 9478 return nil 9479 } 9480 func (m *PartialObjectMetadata) Unmarshal(dAtA []byte) error { 9481 l := len(dAtA) 9482 iNdEx := 0 9483 for iNdEx < l { 9484 preIndex := iNdEx 9485 var wire uint64 9486 for shift := uint(0); ; shift += 7 { 9487 if shift >= 64 { 9488 return ErrIntOverflowGenerated 9489 } 9490 if iNdEx >= l { 9491 return io.ErrUnexpectedEOF 9492 } 9493 b := dAtA[iNdEx] 9494 iNdEx++ 9495 wire |= uint64(b&0x7F) << shift 9496 if b < 0x80 { 9497 break 9498 } 9499 } 9500 fieldNum := int32(wire >> 3) 9501 wireType := int(wire & 0x7) 9502 if wireType == 4 { 9503 return fmt.Errorf("proto: PartialObjectMetadata: wiretype end group for non-group") 9504 } 9505 if fieldNum <= 0 { 9506 return fmt.Errorf("proto: PartialObjectMetadata: illegal tag %d (wire type %d)", fieldNum, wire) 9507 } 9508 switch fieldNum { 9509 case 1: 9510 if wireType != 2 { 9511 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) 9512 } 9513 var msglen int 9514 for shift := uint(0); ; shift += 7 { 9515 if shift >= 64 { 9516 return ErrIntOverflowGenerated 9517 } 9518 if iNdEx >= l { 9519 return io.ErrUnexpectedEOF 9520 } 9521 b := dAtA[iNdEx] 9522 iNdEx++ 9523 msglen |= int(b&0x7F) << shift 9524 if b < 0x80 { 9525 break 9526 } 9527 } 9528 if msglen < 0 { 9529 return ErrInvalidLengthGenerated 9530 } 9531 postIndex := iNdEx + msglen 9532 if postIndex < 0 { 9533 return ErrInvalidLengthGenerated 9534 } 9535 if postIndex > l { 9536 return io.ErrUnexpectedEOF 9537 } 9538 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9539 return err 9540 } 9541 iNdEx = postIndex 9542 default: 9543 iNdEx = preIndex 9544 skippy, err := skipGenerated(dAtA[iNdEx:]) 9545 if err != nil { 9546 return err 9547 } 9548 if (skippy < 0) || (iNdEx+skippy) < 0 { 9549 return ErrInvalidLengthGenerated 9550 } 9551 if (iNdEx + skippy) > l { 9552 return io.ErrUnexpectedEOF 9553 } 9554 iNdEx += skippy 9555 } 9556 } 9557 9558 if iNdEx > l { 9559 return io.ErrUnexpectedEOF 9560 } 9561 return nil 9562 } 9563 func (m *PartialObjectMetadataList) Unmarshal(dAtA []byte) error { 9564 l := len(dAtA) 9565 iNdEx := 0 9566 for iNdEx < l { 9567 preIndex := iNdEx 9568 var wire uint64 9569 for shift := uint(0); ; shift += 7 { 9570 if shift >= 64 { 9571 return ErrIntOverflowGenerated 9572 } 9573 if iNdEx >= l { 9574 return io.ErrUnexpectedEOF 9575 } 9576 b := dAtA[iNdEx] 9577 iNdEx++ 9578 wire |= uint64(b&0x7F) << shift 9579 if b < 0x80 { 9580 break 9581 } 9582 } 9583 fieldNum := int32(wire >> 3) 9584 wireType := int(wire & 0x7) 9585 if wireType == 4 { 9586 return fmt.Errorf("proto: PartialObjectMetadataList: wiretype end group for non-group") 9587 } 9588 if fieldNum <= 0 { 9589 return fmt.Errorf("proto: PartialObjectMetadataList: illegal tag %d (wire type %d)", fieldNum, wire) 9590 } 9591 switch fieldNum { 9592 case 1: 9593 if wireType != 2 { 9594 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) 9595 } 9596 var msglen int 9597 for shift := uint(0); ; shift += 7 { 9598 if shift >= 64 { 9599 return ErrIntOverflowGenerated 9600 } 9601 if iNdEx >= l { 9602 return io.ErrUnexpectedEOF 9603 } 9604 b := dAtA[iNdEx] 9605 iNdEx++ 9606 msglen |= int(b&0x7F) << shift 9607 if b < 0x80 { 9608 break 9609 } 9610 } 9611 if msglen < 0 { 9612 return ErrInvalidLengthGenerated 9613 } 9614 postIndex := iNdEx + msglen 9615 if postIndex < 0 { 9616 return ErrInvalidLengthGenerated 9617 } 9618 if postIndex > l { 9619 return io.ErrUnexpectedEOF 9620 } 9621 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9622 return err 9623 } 9624 iNdEx = postIndex 9625 case 2: 9626 if wireType != 2 { 9627 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 9628 } 9629 var msglen int 9630 for shift := uint(0); ; shift += 7 { 9631 if shift >= 64 { 9632 return ErrIntOverflowGenerated 9633 } 9634 if iNdEx >= l { 9635 return io.ErrUnexpectedEOF 9636 } 9637 b := dAtA[iNdEx] 9638 iNdEx++ 9639 msglen |= int(b&0x7F) << shift 9640 if b < 0x80 { 9641 break 9642 } 9643 } 9644 if msglen < 0 { 9645 return ErrInvalidLengthGenerated 9646 } 9647 postIndex := iNdEx + msglen 9648 if postIndex < 0 { 9649 return ErrInvalidLengthGenerated 9650 } 9651 if postIndex > l { 9652 return io.ErrUnexpectedEOF 9653 } 9654 m.Items = append(m.Items, PartialObjectMetadata{}) 9655 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9656 return err 9657 } 9658 iNdEx = postIndex 9659 default: 9660 iNdEx = preIndex 9661 skippy, err := skipGenerated(dAtA[iNdEx:]) 9662 if err != nil { 9663 return err 9664 } 9665 if (skippy < 0) || (iNdEx+skippy) < 0 { 9666 return ErrInvalidLengthGenerated 9667 } 9668 if (iNdEx + skippy) > l { 9669 return io.ErrUnexpectedEOF 9670 } 9671 iNdEx += skippy 9672 } 9673 } 9674 9675 if iNdEx > l { 9676 return io.ErrUnexpectedEOF 9677 } 9678 return nil 9679 } 9680 func (m *Patch) Unmarshal(dAtA []byte) error { 9681 l := len(dAtA) 9682 iNdEx := 0 9683 for iNdEx < l { 9684 preIndex := iNdEx 9685 var wire uint64 9686 for shift := uint(0); ; shift += 7 { 9687 if shift >= 64 { 9688 return ErrIntOverflowGenerated 9689 } 9690 if iNdEx >= l { 9691 return io.ErrUnexpectedEOF 9692 } 9693 b := dAtA[iNdEx] 9694 iNdEx++ 9695 wire |= uint64(b&0x7F) << shift 9696 if b < 0x80 { 9697 break 9698 } 9699 } 9700 fieldNum := int32(wire >> 3) 9701 wireType := int(wire & 0x7) 9702 if wireType == 4 { 9703 return fmt.Errorf("proto: Patch: wiretype end group for non-group") 9704 } 9705 if fieldNum <= 0 { 9706 return fmt.Errorf("proto: Patch: illegal tag %d (wire type %d)", fieldNum, wire) 9707 } 9708 switch fieldNum { 9709 default: 9710 iNdEx = preIndex 9711 skippy, err := skipGenerated(dAtA[iNdEx:]) 9712 if err != nil { 9713 return err 9714 } 9715 if (skippy < 0) || (iNdEx+skippy) < 0 { 9716 return ErrInvalidLengthGenerated 9717 } 9718 if (iNdEx + skippy) > l { 9719 return io.ErrUnexpectedEOF 9720 } 9721 iNdEx += skippy 9722 } 9723 } 9724 9725 if iNdEx > l { 9726 return io.ErrUnexpectedEOF 9727 } 9728 return nil 9729 } 9730 func (m *PatchOptions) Unmarshal(dAtA []byte) error { 9731 l := len(dAtA) 9732 iNdEx := 0 9733 for iNdEx < l { 9734 preIndex := iNdEx 9735 var wire uint64 9736 for shift := uint(0); ; shift += 7 { 9737 if shift >= 64 { 9738 return ErrIntOverflowGenerated 9739 } 9740 if iNdEx >= l { 9741 return io.ErrUnexpectedEOF 9742 } 9743 b := dAtA[iNdEx] 9744 iNdEx++ 9745 wire |= uint64(b&0x7F) << shift 9746 if b < 0x80 { 9747 break 9748 } 9749 } 9750 fieldNum := int32(wire >> 3) 9751 wireType := int(wire & 0x7) 9752 if wireType == 4 { 9753 return fmt.Errorf("proto: PatchOptions: wiretype end group for non-group") 9754 } 9755 if fieldNum <= 0 { 9756 return fmt.Errorf("proto: PatchOptions: illegal tag %d (wire type %d)", fieldNum, wire) 9757 } 9758 switch fieldNum { 9759 case 1: 9760 if wireType != 2 { 9761 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) 9762 } 9763 var stringLen uint64 9764 for shift := uint(0); ; shift += 7 { 9765 if shift >= 64 { 9766 return ErrIntOverflowGenerated 9767 } 9768 if iNdEx >= l { 9769 return io.ErrUnexpectedEOF 9770 } 9771 b := dAtA[iNdEx] 9772 iNdEx++ 9773 stringLen |= uint64(b&0x7F) << shift 9774 if b < 0x80 { 9775 break 9776 } 9777 } 9778 intStringLen := int(stringLen) 9779 if intStringLen < 0 { 9780 return ErrInvalidLengthGenerated 9781 } 9782 postIndex := iNdEx + intStringLen 9783 if postIndex < 0 { 9784 return ErrInvalidLengthGenerated 9785 } 9786 if postIndex > l { 9787 return io.ErrUnexpectedEOF 9788 } 9789 m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) 9790 iNdEx = postIndex 9791 case 2: 9792 if wireType != 0 { 9793 return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) 9794 } 9795 var v int 9796 for shift := uint(0); ; shift += 7 { 9797 if shift >= 64 { 9798 return ErrIntOverflowGenerated 9799 } 9800 if iNdEx >= l { 9801 return io.ErrUnexpectedEOF 9802 } 9803 b := dAtA[iNdEx] 9804 iNdEx++ 9805 v |= int(b&0x7F) << shift 9806 if b < 0x80 { 9807 break 9808 } 9809 } 9810 b := bool(v != 0) 9811 m.Force = &b 9812 case 3: 9813 if wireType != 2 { 9814 return fmt.Errorf("proto: wrong wireType = %d for field FieldManager", wireType) 9815 } 9816 var stringLen uint64 9817 for shift := uint(0); ; shift += 7 { 9818 if shift >= 64 { 9819 return ErrIntOverflowGenerated 9820 } 9821 if iNdEx >= l { 9822 return io.ErrUnexpectedEOF 9823 } 9824 b := dAtA[iNdEx] 9825 iNdEx++ 9826 stringLen |= uint64(b&0x7F) << shift 9827 if b < 0x80 { 9828 break 9829 } 9830 } 9831 intStringLen := int(stringLen) 9832 if intStringLen < 0 { 9833 return ErrInvalidLengthGenerated 9834 } 9835 postIndex := iNdEx + intStringLen 9836 if postIndex < 0 { 9837 return ErrInvalidLengthGenerated 9838 } 9839 if postIndex > l { 9840 return io.ErrUnexpectedEOF 9841 } 9842 m.FieldManager = string(dAtA[iNdEx:postIndex]) 9843 iNdEx = postIndex 9844 case 4: 9845 if wireType != 2 { 9846 return fmt.Errorf("proto: wrong wireType = %d for field FieldValidation", wireType) 9847 } 9848 var stringLen uint64 9849 for shift := uint(0); ; shift += 7 { 9850 if shift >= 64 { 9851 return ErrIntOverflowGenerated 9852 } 9853 if iNdEx >= l { 9854 return io.ErrUnexpectedEOF 9855 } 9856 b := dAtA[iNdEx] 9857 iNdEx++ 9858 stringLen |= uint64(b&0x7F) << shift 9859 if b < 0x80 { 9860 break 9861 } 9862 } 9863 intStringLen := int(stringLen) 9864 if intStringLen < 0 { 9865 return ErrInvalidLengthGenerated 9866 } 9867 postIndex := iNdEx + intStringLen 9868 if postIndex < 0 { 9869 return ErrInvalidLengthGenerated 9870 } 9871 if postIndex > l { 9872 return io.ErrUnexpectedEOF 9873 } 9874 m.FieldValidation = string(dAtA[iNdEx:postIndex]) 9875 iNdEx = postIndex 9876 default: 9877 iNdEx = preIndex 9878 skippy, err := skipGenerated(dAtA[iNdEx:]) 9879 if err != nil { 9880 return err 9881 } 9882 if (skippy < 0) || (iNdEx+skippy) < 0 { 9883 return ErrInvalidLengthGenerated 9884 } 9885 if (iNdEx + skippy) > l { 9886 return io.ErrUnexpectedEOF 9887 } 9888 iNdEx += skippy 9889 } 9890 } 9891 9892 if iNdEx > l { 9893 return io.ErrUnexpectedEOF 9894 } 9895 return nil 9896 } 9897 func (m *Preconditions) Unmarshal(dAtA []byte) error { 9898 l := len(dAtA) 9899 iNdEx := 0 9900 for iNdEx < l { 9901 preIndex := iNdEx 9902 var wire uint64 9903 for shift := uint(0); ; shift += 7 { 9904 if shift >= 64 { 9905 return ErrIntOverflowGenerated 9906 } 9907 if iNdEx >= l { 9908 return io.ErrUnexpectedEOF 9909 } 9910 b := dAtA[iNdEx] 9911 iNdEx++ 9912 wire |= uint64(b&0x7F) << shift 9913 if b < 0x80 { 9914 break 9915 } 9916 } 9917 fieldNum := int32(wire >> 3) 9918 wireType := int(wire & 0x7) 9919 if wireType == 4 { 9920 return fmt.Errorf("proto: Preconditions: wiretype end group for non-group") 9921 } 9922 if fieldNum <= 0 { 9923 return fmt.Errorf("proto: Preconditions: illegal tag %d (wire type %d)", fieldNum, wire) 9924 } 9925 switch fieldNum { 9926 case 1: 9927 if wireType != 2 { 9928 return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) 9929 } 9930 var stringLen uint64 9931 for shift := uint(0); ; shift += 7 { 9932 if shift >= 64 { 9933 return ErrIntOverflowGenerated 9934 } 9935 if iNdEx >= l { 9936 return io.ErrUnexpectedEOF 9937 } 9938 b := dAtA[iNdEx] 9939 iNdEx++ 9940 stringLen |= uint64(b&0x7F) << shift 9941 if b < 0x80 { 9942 break 9943 } 9944 } 9945 intStringLen := int(stringLen) 9946 if intStringLen < 0 { 9947 return ErrInvalidLengthGenerated 9948 } 9949 postIndex := iNdEx + intStringLen 9950 if postIndex < 0 { 9951 return ErrInvalidLengthGenerated 9952 } 9953 if postIndex > l { 9954 return io.ErrUnexpectedEOF 9955 } 9956 s := k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex]) 9957 m.UID = &s 9958 iNdEx = postIndex 9959 case 2: 9960 if wireType != 2 { 9961 return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) 9962 } 9963 var stringLen uint64 9964 for shift := uint(0); ; shift += 7 { 9965 if shift >= 64 { 9966 return ErrIntOverflowGenerated 9967 } 9968 if iNdEx >= l { 9969 return io.ErrUnexpectedEOF 9970 } 9971 b := dAtA[iNdEx] 9972 iNdEx++ 9973 stringLen |= uint64(b&0x7F) << shift 9974 if b < 0x80 { 9975 break 9976 } 9977 } 9978 intStringLen := int(stringLen) 9979 if intStringLen < 0 { 9980 return ErrInvalidLengthGenerated 9981 } 9982 postIndex := iNdEx + intStringLen 9983 if postIndex < 0 { 9984 return ErrInvalidLengthGenerated 9985 } 9986 if postIndex > l { 9987 return io.ErrUnexpectedEOF 9988 } 9989 s := string(dAtA[iNdEx:postIndex]) 9990 m.ResourceVersion = &s 9991 iNdEx = postIndex 9992 default: 9993 iNdEx = preIndex 9994 skippy, err := skipGenerated(dAtA[iNdEx:]) 9995 if err != nil { 9996 return err 9997 } 9998 if (skippy < 0) || (iNdEx+skippy) < 0 { 9999 return ErrInvalidLengthGenerated 10000 } 10001 if (iNdEx + skippy) > l { 10002 return io.ErrUnexpectedEOF 10003 } 10004 iNdEx += skippy 10005 } 10006 } 10007 10008 if iNdEx > l { 10009 return io.ErrUnexpectedEOF 10010 } 10011 return nil 10012 } 10013 func (m *RootPaths) Unmarshal(dAtA []byte) error { 10014 l := len(dAtA) 10015 iNdEx := 0 10016 for iNdEx < l { 10017 preIndex := iNdEx 10018 var wire uint64 10019 for shift := uint(0); ; shift += 7 { 10020 if shift >= 64 { 10021 return ErrIntOverflowGenerated 10022 } 10023 if iNdEx >= l { 10024 return io.ErrUnexpectedEOF 10025 } 10026 b := dAtA[iNdEx] 10027 iNdEx++ 10028 wire |= uint64(b&0x7F) << shift 10029 if b < 0x80 { 10030 break 10031 } 10032 } 10033 fieldNum := int32(wire >> 3) 10034 wireType := int(wire & 0x7) 10035 if wireType == 4 { 10036 return fmt.Errorf("proto: RootPaths: wiretype end group for non-group") 10037 } 10038 if fieldNum <= 0 { 10039 return fmt.Errorf("proto: RootPaths: illegal tag %d (wire type %d)", fieldNum, wire) 10040 } 10041 switch fieldNum { 10042 case 1: 10043 if wireType != 2 { 10044 return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType) 10045 } 10046 var stringLen uint64 10047 for shift := uint(0); ; shift += 7 { 10048 if shift >= 64 { 10049 return ErrIntOverflowGenerated 10050 } 10051 if iNdEx >= l { 10052 return io.ErrUnexpectedEOF 10053 } 10054 b := dAtA[iNdEx] 10055 iNdEx++ 10056 stringLen |= uint64(b&0x7F) << shift 10057 if b < 0x80 { 10058 break 10059 } 10060 } 10061 intStringLen := int(stringLen) 10062 if intStringLen < 0 { 10063 return ErrInvalidLengthGenerated 10064 } 10065 postIndex := iNdEx + intStringLen 10066 if postIndex < 0 { 10067 return ErrInvalidLengthGenerated 10068 } 10069 if postIndex > l { 10070 return io.ErrUnexpectedEOF 10071 } 10072 m.Paths = append(m.Paths, string(dAtA[iNdEx:postIndex])) 10073 iNdEx = postIndex 10074 default: 10075 iNdEx = preIndex 10076 skippy, err := skipGenerated(dAtA[iNdEx:]) 10077 if err != nil { 10078 return err 10079 } 10080 if (skippy < 0) || (iNdEx+skippy) < 0 { 10081 return ErrInvalidLengthGenerated 10082 } 10083 if (iNdEx + skippy) > l { 10084 return io.ErrUnexpectedEOF 10085 } 10086 iNdEx += skippy 10087 } 10088 } 10089 10090 if iNdEx > l { 10091 return io.ErrUnexpectedEOF 10092 } 10093 return nil 10094 } 10095 func (m *ServerAddressByClientCIDR) Unmarshal(dAtA []byte) error { 10096 l := len(dAtA) 10097 iNdEx := 0 10098 for iNdEx < l { 10099 preIndex := iNdEx 10100 var wire uint64 10101 for shift := uint(0); ; shift += 7 { 10102 if shift >= 64 { 10103 return ErrIntOverflowGenerated 10104 } 10105 if iNdEx >= l { 10106 return io.ErrUnexpectedEOF 10107 } 10108 b := dAtA[iNdEx] 10109 iNdEx++ 10110 wire |= uint64(b&0x7F) << shift 10111 if b < 0x80 { 10112 break 10113 } 10114 } 10115 fieldNum := int32(wire >> 3) 10116 wireType := int(wire & 0x7) 10117 if wireType == 4 { 10118 return fmt.Errorf("proto: ServerAddressByClientCIDR: wiretype end group for non-group") 10119 } 10120 if fieldNum <= 0 { 10121 return fmt.Errorf("proto: ServerAddressByClientCIDR: illegal tag %d (wire type %d)", fieldNum, wire) 10122 } 10123 switch fieldNum { 10124 case 1: 10125 if wireType != 2 { 10126 return fmt.Errorf("proto: wrong wireType = %d for field ClientCIDR", wireType) 10127 } 10128 var stringLen uint64 10129 for shift := uint(0); ; shift += 7 { 10130 if shift >= 64 { 10131 return ErrIntOverflowGenerated 10132 } 10133 if iNdEx >= l { 10134 return io.ErrUnexpectedEOF 10135 } 10136 b := dAtA[iNdEx] 10137 iNdEx++ 10138 stringLen |= uint64(b&0x7F) << shift 10139 if b < 0x80 { 10140 break 10141 } 10142 } 10143 intStringLen := int(stringLen) 10144 if intStringLen < 0 { 10145 return ErrInvalidLengthGenerated 10146 } 10147 postIndex := iNdEx + intStringLen 10148 if postIndex < 0 { 10149 return ErrInvalidLengthGenerated 10150 } 10151 if postIndex > l { 10152 return io.ErrUnexpectedEOF 10153 } 10154 m.ClientCIDR = string(dAtA[iNdEx:postIndex]) 10155 iNdEx = postIndex 10156 case 2: 10157 if wireType != 2 { 10158 return fmt.Errorf("proto: wrong wireType = %d for field ServerAddress", wireType) 10159 } 10160 var stringLen uint64 10161 for shift := uint(0); ; shift += 7 { 10162 if shift >= 64 { 10163 return ErrIntOverflowGenerated 10164 } 10165 if iNdEx >= l { 10166 return io.ErrUnexpectedEOF 10167 } 10168 b := dAtA[iNdEx] 10169 iNdEx++ 10170 stringLen |= uint64(b&0x7F) << shift 10171 if b < 0x80 { 10172 break 10173 } 10174 } 10175 intStringLen := int(stringLen) 10176 if intStringLen < 0 { 10177 return ErrInvalidLengthGenerated 10178 } 10179 postIndex := iNdEx + intStringLen 10180 if postIndex < 0 { 10181 return ErrInvalidLengthGenerated 10182 } 10183 if postIndex > l { 10184 return io.ErrUnexpectedEOF 10185 } 10186 m.ServerAddress = string(dAtA[iNdEx:postIndex]) 10187 iNdEx = postIndex 10188 default: 10189 iNdEx = preIndex 10190 skippy, err := skipGenerated(dAtA[iNdEx:]) 10191 if err != nil { 10192 return err 10193 } 10194 if (skippy < 0) || (iNdEx+skippy) < 0 { 10195 return ErrInvalidLengthGenerated 10196 } 10197 if (iNdEx + skippy) > l { 10198 return io.ErrUnexpectedEOF 10199 } 10200 iNdEx += skippy 10201 } 10202 } 10203 10204 if iNdEx > l { 10205 return io.ErrUnexpectedEOF 10206 } 10207 return nil 10208 } 10209 func (m *Status) Unmarshal(dAtA []byte) error { 10210 l := len(dAtA) 10211 iNdEx := 0 10212 for iNdEx < l { 10213 preIndex := iNdEx 10214 var wire uint64 10215 for shift := uint(0); ; shift += 7 { 10216 if shift >= 64 { 10217 return ErrIntOverflowGenerated 10218 } 10219 if iNdEx >= l { 10220 return io.ErrUnexpectedEOF 10221 } 10222 b := dAtA[iNdEx] 10223 iNdEx++ 10224 wire |= uint64(b&0x7F) << shift 10225 if b < 0x80 { 10226 break 10227 } 10228 } 10229 fieldNum := int32(wire >> 3) 10230 wireType := int(wire & 0x7) 10231 if wireType == 4 { 10232 return fmt.Errorf("proto: Status: wiretype end group for non-group") 10233 } 10234 if fieldNum <= 0 { 10235 return fmt.Errorf("proto: Status: illegal tag %d (wire type %d)", fieldNum, wire) 10236 } 10237 switch fieldNum { 10238 case 1: 10239 if wireType != 2 { 10240 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) 10241 } 10242 var msglen int 10243 for shift := uint(0); ; shift += 7 { 10244 if shift >= 64 { 10245 return ErrIntOverflowGenerated 10246 } 10247 if iNdEx >= l { 10248 return io.ErrUnexpectedEOF 10249 } 10250 b := dAtA[iNdEx] 10251 iNdEx++ 10252 msglen |= int(b&0x7F) << shift 10253 if b < 0x80 { 10254 break 10255 } 10256 } 10257 if msglen < 0 { 10258 return ErrInvalidLengthGenerated 10259 } 10260 postIndex := iNdEx + msglen 10261 if postIndex < 0 { 10262 return ErrInvalidLengthGenerated 10263 } 10264 if postIndex > l { 10265 return io.ErrUnexpectedEOF 10266 } 10267 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10268 return err 10269 } 10270 iNdEx = postIndex 10271 case 2: 10272 if wireType != 2 { 10273 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) 10274 } 10275 var stringLen uint64 10276 for shift := uint(0); ; shift += 7 { 10277 if shift >= 64 { 10278 return ErrIntOverflowGenerated 10279 } 10280 if iNdEx >= l { 10281 return io.ErrUnexpectedEOF 10282 } 10283 b := dAtA[iNdEx] 10284 iNdEx++ 10285 stringLen |= uint64(b&0x7F) << shift 10286 if b < 0x80 { 10287 break 10288 } 10289 } 10290 intStringLen := int(stringLen) 10291 if intStringLen < 0 { 10292 return ErrInvalidLengthGenerated 10293 } 10294 postIndex := iNdEx + intStringLen 10295 if postIndex < 0 { 10296 return ErrInvalidLengthGenerated 10297 } 10298 if postIndex > l { 10299 return io.ErrUnexpectedEOF 10300 } 10301 m.Status = string(dAtA[iNdEx:postIndex]) 10302 iNdEx = postIndex 10303 case 3: 10304 if wireType != 2 { 10305 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) 10306 } 10307 var stringLen uint64 10308 for shift := uint(0); ; shift += 7 { 10309 if shift >= 64 { 10310 return ErrIntOverflowGenerated 10311 } 10312 if iNdEx >= l { 10313 return io.ErrUnexpectedEOF 10314 } 10315 b := dAtA[iNdEx] 10316 iNdEx++ 10317 stringLen |= uint64(b&0x7F) << shift 10318 if b < 0x80 { 10319 break 10320 } 10321 } 10322 intStringLen := int(stringLen) 10323 if intStringLen < 0 { 10324 return ErrInvalidLengthGenerated 10325 } 10326 postIndex := iNdEx + intStringLen 10327 if postIndex < 0 { 10328 return ErrInvalidLengthGenerated 10329 } 10330 if postIndex > l { 10331 return io.ErrUnexpectedEOF 10332 } 10333 m.Message = string(dAtA[iNdEx:postIndex]) 10334 iNdEx = postIndex 10335 case 4: 10336 if wireType != 2 { 10337 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) 10338 } 10339 var stringLen uint64 10340 for shift := uint(0); ; shift += 7 { 10341 if shift >= 64 { 10342 return ErrIntOverflowGenerated 10343 } 10344 if iNdEx >= l { 10345 return io.ErrUnexpectedEOF 10346 } 10347 b := dAtA[iNdEx] 10348 iNdEx++ 10349 stringLen |= uint64(b&0x7F) << shift 10350 if b < 0x80 { 10351 break 10352 } 10353 } 10354 intStringLen := int(stringLen) 10355 if intStringLen < 0 { 10356 return ErrInvalidLengthGenerated 10357 } 10358 postIndex := iNdEx + intStringLen 10359 if postIndex < 0 { 10360 return ErrInvalidLengthGenerated 10361 } 10362 if postIndex > l { 10363 return io.ErrUnexpectedEOF 10364 } 10365 m.Reason = StatusReason(dAtA[iNdEx:postIndex]) 10366 iNdEx = postIndex 10367 case 5: 10368 if wireType != 2 { 10369 return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) 10370 } 10371 var msglen int 10372 for shift := uint(0); ; shift += 7 { 10373 if shift >= 64 { 10374 return ErrIntOverflowGenerated 10375 } 10376 if iNdEx >= l { 10377 return io.ErrUnexpectedEOF 10378 } 10379 b := dAtA[iNdEx] 10380 iNdEx++ 10381 msglen |= int(b&0x7F) << shift 10382 if b < 0x80 { 10383 break 10384 } 10385 } 10386 if msglen < 0 { 10387 return ErrInvalidLengthGenerated 10388 } 10389 postIndex := iNdEx + msglen 10390 if postIndex < 0 { 10391 return ErrInvalidLengthGenerated 10392 } 10393 if postIndex > l { 10394 return io.ErrUnexpectedEOF 10395 } 10396 if m.Details == nil { 10397 m.Details = &StatusDetails{} 10398 } 10399 if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10400 return err 10401 } 10402 iNdEx = postIndex 10403 case 6: 10404 if wireType != 0 { 10405 return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) 10406 } 10407 m.Code = 0 10408 for shift := uint(0); ; shift += 7 { 10409 if shift >= 64 { 10410 return ErrIntOverflowGenerated 10411 } 10412 if iNdEx >= l { 10413 return io.ErrUnexpectedEOF 10414 } 10415 b := dAtA[iNdEx] 10416 iNdEx++ 10417 m.Code |= int32(b&0x7F) << shift 10418 if b < 0x80 { 10419 break 10420 } 10421 } 10422 default: 10423 iNdEx = preIndex 10424 skippy, err := skipGenerated(dAtA[iNdEx:]) 10425 if err != nil { 10426 return err 10427 } 10428 if (skippy < 0) || (iNdEx+skippy) < 0 { 10429 return ErrInvalidLengthGenerated 10430 } 10431 if (iNdEx + skippy) > l { 10432 return io.ErrUnexpectedEOF 10433 } 10434 iNdEx += skippy 10435 } 10436 } 10437 10438 if iNdEx > l { 10439 return io.ErrUnexpectedEOF 10440 } 10441 return nil 10442 } 10443 func (m *StatusCause) Unmarshal(dAtA []byte) error { 10444 l := len(dAtA) 10445 iNdEx := 0 10446 for iNdEx < l { 10447 preIndex := iNdEx 10448 var wire uint64 10449 for shift := uint(0); ; shift += 7 { 10450 if shift >= 64 { 10451 return ErrIntOverflowGenerated 10452 } 10453 if iNdEx >= l { 10454 return io.ErrUnexpectedEOF 10455 } 10456 b := dAtA[iNdEx] 10457 iNdEx++ 10458 wire |= uint64(b&0x7F) << shift 10459 if b < 0x80 { 10460 break 10461 } 10462 } 10463 fieldNum := int32(wire >> 3) 10464 wireType := int(wire & 0x7) 10465 if wireType == 4 { 10466 return fmt.Errorf("proto: StatusCause: wiretype end group for non-group") 10467 } 10468 if fieldNum <= 0 { 10469 return fmt.Errorf("proto: StatusCause: illegal tag %d (wire type %d)", fieldNum, wire) 10470 } 10471 switch fieldNum { 10472 case 1: 10473 if wireType != 2 { 10474 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 10475 } 10476 var stringLen uint64 10477 for shift := uint(0); ; shift += 7 { 10478 if shift >= 64 { 10479 return ErrIntOverflowGenerated 10480 } 10481 if iNdEx >= l { 10482 return io.ErrUnexpectedEOF 10483 } 10484 b := dAtA[iNdEx] 10485 iNdEx++ 10486 stringLen |= uint64(b&0x7F) << shift 10487 if b < 0x80 { 10488 break 10489 } 10490 } 10491 intStringLen := int(stringLen) 10492 if intStringLen < 0 { 10493 return ErrInvalidLengthGenerated 10494 } 10495 postIndex := iNdEx + intStringLen 10496 if postIndex < 0 { 10497 return ErrInvalidLengthGenerated 10498 } 10499 if postIndex > l { 10500 return io.ErrUnexpectedEOF 10501 } 10502 m.Type = CauseType(dAtA[iNdEx:postIndex]) 10503 iNdEx = postIndex 10504 case 2: 10505 if wireType != 2 { 10506 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) 10507 } 10508 var stringLen uint64 10509 for shift := uint(0); ; shift += 7 { 10510 if shift >= 64 { 10511 return ErrIntOverflowGenerated 10512 } 10513 if iNdEx >= l { 10514 return io.ErrUnexpectedEOF 10515 } 10516 b := dAtA[iNdEx] 10517 iNdEx++ 10518 stringLen |= uint64(b&0x7F) << shift 10519 if b < 0x80 { 10520 break 10521 } 10522 } 10523 intStringLen := int(stringLen) 10524 if intStringLen < 0 { 10525 return ErrInvalidLengthGenerated 10526 } 10527 postIndex := iNdEx + intStringLen 10528 if postIndex < 0 { 10529 return ErrInvalidLengthGenerated 10530 } 10531 if postIndex > l { 10532 return io.ErrUnexpectedEOF 10533 } 10534 m.Message = string(dAtA[iNdEx:postIndex]) 10535 iNdEx = postIndex 10536 case 3: 10537 if wireType != 2 { 10538 return fmt.Errorf("proto: wrong wireType = %d for field Field", wireType) 10539 } 10540 var stringLen uint64 10541 for shift := uint(0); ; shift += 7 { 10542 if shift >= 64 { 10543 return ErrIntOverflowGenerated 10544 } 10545 if iNdEx >= l { 10546 return io.ErrUnexpectedEOF 10547 } 10548 b := dAtA[iNdEx] 10549 iNdEx++ 10550 stringLen |= uint64(b&0x7F) << shift 10551 if b < 0x80 { 10552 break 10553 } 10554 } 10555 intStringLen := int(stringLen) 10556 if intStringLen < 0 { 10557 return ErrInvalidLengthGenerated 10558 } 10559 postIndex := iNdEx + intStringLen 10560 if postIndex < 0 { 10561 return ErrInvalidLengthGenerated 10562 } 10563 if postIndex > l { 10564 return io.ErrUnexpectedEOF 10565 } 10566 m.Field = string(dAtA[iNdEx:postIndex]) 10567 iNdEx = postIndex 10568 default: 10569 iNdEx = preIndex 10570 skippy, err := skipGenerated(dAtA[iNdEx:]) 10571 if err != nil { 10572 return err 10573 } 10574 if (skippy < 0) || (iNdEx+skippy) < 0 { 10575 return ErrInvalidLengthGenerated 10576 } 10577 if (iNdEx + skippy) > l { 10578 return io.ErrUnexpectedEOF 10579 } 10580 iNdEx += skippy 10581 } 10582 } 10583 10584 if iNdEx > l { 10585 return io.ErrUnexpectedEOF 10586 } 10587 return nil 10588 } 10589 func (m *StatusDetails) Unmarshal(dAtA []byte) error { 10590 l := len(dAtA) 10591 iNdEx := 0 10592 for iNdEx < l { 10593 preIndex := iNdEx 10594 var wire uint64 10595 for shift := uint(0); ; shift += 7 { 10596 if shift >= 64 { 10597 return ErrIntOverflowGenerated 10598 } 10599 if iNdEx >= l { 10600 return io.ErrUnexpectedEOF 10601 } 10602 b := dAtA[iNdEx] 10603 iNdEx++ 10604 wire |= uint64(b&0x7F) << shift 10605 if b < 0x80 { 10606 break 10607 } 10608 } 10609 fieldNum := int32(wire >> 3) 10610 wireType := int(wire & 0x7) 10611 if wireType == 4 { 10612 return fmt.Errorf("proto: StatusDetails: wiretype end group for non-group") 10613 } 10614 if fieldNum <= 0 { 10615 return fmt.Errorf("proto: StatusDetails: illegal tag %d (wire type %d)", fieldNum, wire) 10616 } 10617 switch fieldNum { 10618 case 1: 10619 if wireType != 2 { 10620 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 10621 } 10622 var stringLen uint64 10623 for shift := uint(0); ; shift += 7 { 10624 if shift >= 64 { 10625 return ErrIntOverflowGenerated 10626 } 10627 if iNdEx >= l { 10628 return io.ErrUnexpectedEOF 10629 } 10630 b := dAtA[iNdEx] 10631 iNdEx++ 10632 stringLen |= uint64(b&0x7F) << shift 10633 if b < 0x80 { 10634 break 10635 } 10636 } 10637 intStringLen := int(stringLen) 10638 if intStringLen < 0 { 10639 return ErrInvalidLengthGenerated 10640 } 10641 postIndex := iNdEx + intStringLen 10642 if postIndex < 0 { 10643 return ErrInvalidLengthGenerated 10644 } 10645 if postIndex > l { 10646 return io.ErrUnexpectedEOF 10647 } 10648 m.Name = string(dAtA[iNdEx:postIndex]) 10649 iNdEx = postIndex 10650 case 2: 10651 if wireType != 2 { 10652 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 10653 } 10654 var stringLen uint64 10655 for shift := uint(0); ; shift += 7 { 10656 if shift >= 64 { 10657 return ErrIntOverflowGenerated 10658 } 10659 if iNdEx >= l { 10660 return io.ErrUnexpectedEOF 10661 } 10662 b := dAtA[iNdEx] 10663 iNdEx++ 10664 stringLen |= uint64(b&0x7F) << shift 10665 if b < 0x80 { 10666 break 10667 } 10668 } 10669 intStringLen := int(stringLen) 10670 if intStringLen < 0 { 10671 return ErrInvalidLengthGenerated 10672 } 10673 postIndex := iNdEx + intStringLen 10674 if postIndex < 0 { 10675 return ErrInvalidLengthGenerated 10676 } 10677 if postIndex > l { 10678 return io.ErrUnexpectedEOF 10679 } 10680 m.Group = string(dAtA[iNdEx:postIndex]) 10681 iNdEx = postIndex 10682 case 3: 10683 if wireType != 2 { 10684 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 10685 } 10686 var stringLen uint64 10687 for shift := uint(0); ; shift += 7 { 10688 if shift >= 64 { 10689 return ErrIntOverflowGenerated 10690 } 10691 if iNdEx >= l { 10692 return io.ErrUnexpectedEOF 10693 } 10694 b := dAtA[iNdEx] 10695 iNdEx++ 10696 stringLen |= uint64(b&0x7F) << shift 10697 if b < 0x80 { 10698 break 10699 } 10700 } 10701 intStringLen := int(stringLen) 10702 if intStringLen < 0 { 10703 return ErrInvalidLengthGenerated 10704 } 10705 postIndex := iNdEx + intStringLen 10706 if postIndex < 0 { 10707 return ErrInvalidLengthGenerated 10708 } 10709 if postIndex > l { 10710 return io.ErrUnexpectedEOF 10711 } 10712 m.Kind = string(dAtA[iNdEx:postIndex]) 10713 iNdEx = postIndex 10714 case 4: 10715 if wireType != 2 { 10716 return fmt.Errorf("proto: wrong wireType = %d for field Causes", wireType) 10717 } 10718 var msglen int 10719 for shift := uint(0); ; shift += 7 { 10720 if shift >= 64 { 10721 return ErrIntOverflowGenerated 10722 } 10723 if iNdEx >= l { 10724 return io.ErrUnexpectedEOF 10725 } 10726 b := dAtA[iNdEx] 10727 iNdEx++ 10728 msglen |= int(b&0x7F) << shift 10729 if b < 0x80 { 10730 break 10731 } 10732 } 10733 if msglen < 0 { 10734 return ErrInvalidLengthGenerated 10735 } 10736 postIndex := iNdEx + msglen 10737 if postIndex < 0 { 10738 return ErrInvalidLengthGenerated 10739 } 10740 if postIndex > l { 10741 return io.ErrUnexpectedEOF 10742 } 10743 m.Causes = append(m.Causes, StatusCause{}) 10744 if err := m.Causes[len(m.Causes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10745 return err 10746 } 10747 iNdEx = postIndex 10748 case 5: 10749 if wireType != 0 { 10750 return fmt.Errorf("proto: wrong wireType = %d for field RetryAfterSeconds", wireType) 10751 } 10752 m.RetryAfterSeconds = 0 10753 for shift := uint(0); ; shift += 7 { 10754 if shift >= 64 { 10755 return ErrIntOverflowGenerated 10756 } 10757 if iNdEx >= l { 10758 return io.ErrUnexpectedEOF 10759 } 10760 b := dAtA[iNdEx] 10761 iNdEx++ 10762 m.RetryAfterSeconds |= int32(b&0x7F) << shift 10763 if b < 0x80 { 10764 break 10765 } 10766 } 10767 case 6: 10768 if wireType != 2 { 10769 return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) 10770 } 10771 var stringLen uint64 10772 for shift := uint(0); ; shift += 7 { 10773 if shift >= 64 { 10774 return ErrIntOverflowGenerated 10775 } 10776 if iNdEx >= l { 10777 return io.ErrUnexpectedEOF 10778 } 10779 b := dAtA[iNdEx] 10780 iNdEx++ 10781 stringLen |= uint64(b&0x7F) << shift 10782 if b < 0x80 { 10783 break 10784 } 10785 } 10786 intStringLen := int(stringLen) 10787 if intStringLen < 0 { 10788 return ErrInvalidLengthGenerated 10789 } 10790 postIndex := iNdEx + intStringLen 10791 if postIndex < 0 { 10792 return ErrInvalidLengthGenerated 10793 } 10794 if postIndex > l { 10795 return io.ErrUnexpectedEOF 10796 } 10797 m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex]) 10798 iNdEx = postIndex 10799 default: 10800 iNdEx = preIndex 10801 skippy, err := skipGenerated(dAtA[iNdEx:]) 10802 if err != nil { 10803 return err 10804 } 10805 if (skippy < 0) || (iNdEx+skippy) < 0 { 10806 return ErrInvalidLengthGenerated 10807 } 10808 if (iNdEx + skippy) > l { 10809 return io.ErrUnexpectedEOF 10810 } 10811 iNdEx += skippy 10812 } 10813 } 10814 10815 if iNdEx > l { 10816 return io.ErrUnexpectedEOF 10817 } 10818 return nil 10819 } 10820 func (m *TableOptions) Unmarshal(dAtA []byte) error { 10821 l := len(dAtA) 10822 iNdEx := 0 10823 for iNdEx < l { 10824 preIndex := iNdEx 10825 var wire uint64 10826 for shift := uint(0); ; shift += 7 { 10827 if shift >= 64 { 10828 return ErrIntOverflowGenerated 10829 } 10830 if iNdEx >= l { 10831 return io.ErrUnexpectedEOF 10832 } 10833 b := dAtA[iNdEx] 10834 iNdEx++ 10835 wire |= uint64(b&0x7F) << shift 10836 if b < 0x80 { 10837 break 10838 } 10839 } 10840 fieldNum := int32(wire >> 3) 10841 wireType := int(wire & 0x7) 10842 if wireType == 4 { 10843 return fmt.Errorf("proto: TableOptions: wiretype end group for non-group") 10844 } 10845 if fieldNum <= 0 { 10846 return fmt.Errorf("proto: TableOptions: illegal tag %d (wire type %d)", fieldNum, wire) 10847 } 10848 switch fieldNum { 10849 case 1: 10850 if wireType != 2 { 10851 return fmt.Errorf("proto: wrong wireType = %d for field IncludeObject", wireType) 10852 } 10853 var stringLen uint64 10854 for shift := uint(0); ; shift += 7 { 10855 if shift >= 64 { 10856 return ErrIntOverflowGenerated 10857 } 10858 if iNdEx >= l { 10859 return io.ErrUnexpectedEOF 10860 } 10861 b := dAtA[iNdEx] 10862 iNdEx++ 10863 stringLen |= uint64(b&0x7F) << shift 10864 if b < 0x80 { 10865 break 10866 } 10867 } 10868 intStringLen := int(stringLen) 10869 if intStringLen < 0 { 10870 return ErrInvalidLengthGenerated 10871 } 10872 postIndex := iNdEx + intStringLen 10873 if postIndex < 0 { 10874 return ErrInvalidLengthGenerated 10875 } 10876 if postIndex > l { 10877 return io.ErrUnexpectedEOF 10878 } 10879 m.IncludeObject = IncludeObjectPolicy(dAtA[iNdEx:postIndex]) 10880 iNdEx = postIndex 10881 default: 10882 iNdEx = preIndex 10883 skippy, err := skipGenerated(dAtA[iNdEx:]) 10884 if err != nil { 10885 return err 10886 } 10887 if (skippy < 0) || (iNdEx+skippy) < 0 { 10888 return ErrInvalidLengthGenerated 10889 } 10890 if (iNdEx + skippy) > l { 10891 return io.ErrUnexpectedEOF 10892 } 10893 iNdEx += skippy 10894 } 10895 } 10896 10897 if iNdEx > l { 10898 return io.ErrUnexpectedEOF 10899 } 10900 return nil 10901 } 10902 func (m *Timestamp) Unmarshal(dAtA []byte) error { 10903 l := len(dAtA) 10904 iNdEx := 0 10905 for iNdEx < l { 10906 preIndex := iNdEx 10907 var wire uint64 10908 for shift := uint(0); ; shift += 7 { 10909 if shift >= 64 { 10910 return ErrIntOverflowGenerated 10911 } 10912 if iNdEx >= l { 10913 return io.ErrUnexpectedEOF 10914 } 10915 b := dAtA[iNdEx] 10916 iNdEx++ 10917 wire |= uint64(b&0x7F) << shift 10918 if b < 0x80 { 10919 break 10920 } 10921 } 10922 fieldNum := int32(wire >> 3) 10923 wireType := int(wire & 0x7) 10924 if wireType == 4 { 10925 return fmt.Errorf("proto: Timestamp: wiretype end group for non-group") 10926 } 10927 if fieldNum <= 0 { 10928 return fmt.Errorf("proto: Timestamp: illegal tag %d (wire type %d)", fieldNum, wire) 10929 } 10930 switch fieldNum { 10931 case 1: 10932 if wireType != 0 { 10933 return fmt.Errorf("proto: wrong wireType = %d for field Seconds", wireType) 10934 } 10935 m.Seconds = 0 10936 for shift := uint(0); ; shift += 7 { 10937 if shift >= 64 { 10938 return ErrIntOverflowGenerated 10939 } 10940 if iNdEx >= l { 10941 return io.ErrUnexpectedEOF 10942 } 10943 b := dAtA[iNdEx] 10944 iNdEx++ 10945 m.Seconds |= int64(b&0x7F) << shift 10946 if b < 0x80 { 10947 break 10948 } 10949 } 10950 case 2: 10951 if wireType != 0 { 10952 return fmt.Errorf("proto: wrong wireType = %d for field Nanos", wireType) 10953 } 10954 m.Nanos = 0 10955 for shift := uint(0); ; shift += 7 { 10956 if shift >= 64 { 10957 return ErrIntOverflowGenerated 10958 } 10959 if iNdEx >= l { 10960 return io.ErrUnexpectedEOF 10961 } 10962 b := dAtA[iNdEx] 10963 iNdEx++ 10964 m.Nanos |= int32(b&0x7F) << shift 10965 if b < 0x80 { 10966 break 10967 } 10968 } 10969 default: 10970 iNdEx = preIndex 10971 skippy, err := skipGenerated(dAtA[iNdEx:]) 10972 if err != nil { 10973 return err 10974 } 10975 if (skippy < 0) || (iNdEx+skippy) < 0 { 10976 return ErrInvalidLengthGenerated 10977 } 10978 if (iNdEx + skippy) > l { 10979 return io.ErrUnexpectedEOF 10980 } 10981 iNdEx += skippy 10982 } 10983 } 10984 10985 if iNdEx > l { 10986 return io.ErrUnexpectedEOF 10987 } 10988 return nil 10989 } 10990 func (m *TypeMeta) Unmarshal(dAtA []byte) error { 10991 l := len(dAtA) 10992 iNdEx := 0 10993 for iNdEx < l { 10994 preIndex := iNdEx 10995 var wire uint64 10996 for shift := uint(0); ; shift += 7 { 10997 if shift >= 64 { 10998 return ErrIntOverflowGenerated 10999 } 11000 if iNdEx >= l { 11001 return io.ErrUnexpectedEOF 11002 } 11003 b := dAtA[iNdEx] 11004 iNdEx++ 11005 wire |= uint64(b&0x7F) << shift 11006 if b < 0x80 { 11007 break 11008 } 11009 } 11010 fieldNum := int32(wire >> 3) 11011 wireType := int(wire & 0x7) 11012 if wireType == 4 { 11013 return fmt.Errorf("proto: TypeMeta: wiretype end group for non-group") 11014 } 11015 if fieldNum <= 0 { 11016 return fmt.Errorf("proto: TypeMeta: illegal tag %d (wire type %d)", fieldNum, wire) 11017 } 11018 switch fieldNum { 11019 case 1: 11020 if wireType != 2 { 11021 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 11022 } 11023 var stringLen uint64 11024 for shift := uint(0); ; shift += 7 { 11025 if shift >= 64 { 11026 return ErrIntOverflowGenerated 11027 } 11028 if iNdEx >= l { 11029 return io.ErrUnexpectedEOF 11030 } 11031 b := dAtA[iNdEx] 11032 iNdEx++ 11033 stringLen |= uint64(b&0x7F) << shift 11034 if b < 0x80 { 11035 break 11036 } 11037 } 11038 intStringLen := int(stringLen) 11039 if intStringLen < 0 { 11040 return ErrInvalidLengthGenerated 11041 } 11042 postIndex := iNdEx + intStringLen 11043 if postIndex < 0 { 11044 return ErrInvalidLengthGenerated 11045 } 11046 if postIndex > l { 11047 return io.ErrUnexpectedEOF 11048 } 11049 m.Kind = string(dAtA[iNdEx:postIndex]) 11050 iNdEx = postIndex 11051 case 2: 11052 if wireType != 2 { 11053 return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType) 11054 } 11055 var stringLen uint64 11056 for shift := uint(0); ; shift += 7 { 11057 if shift >= 64 { 11058 return ErrIntOverflowGenerated 11059 } 11060 if iNdEx >= l { 11061 return io.ErrUnexpectedEOF 11062 } 11063 b := dAtA[iNdEx] 11064 iNdEx++ 11065 stringLen |= uint64(b&0x7F) << shift 11066 if b < 0x80 { 11067 break 11068 } 11069 } 11070 intStringLen := int(stringLen) 11071 if intStringLen < 0 { 11072 return ErrInvalidLengthGenerated 11073 } 11074 postIndex := iNdEx + intStringLen 11075 if postIndex < 0 { 11076 return ErrInvalidLengthGenerated 11077 } 11078 if postIndex > l { 11079 return io.ErrUnexpectedEOF 11080 } 11081 m.APIVersion = string(dAtA[iNdEx:postIndex]) 11082 iNdEx = postIndex 11083 default: 11084 iNdEx = preIndex 11085 skippy, err := skipGenerated(dAtA[iNdEx:]) 11086 if err != nil { 11087 return err 11088 } 11089 if (skippy < 0) || (iNdEx+skippy) < 0 { 11090 return ErrInvalidLengthGenerated 11091 } 11092 if (iNdEx + skippy) > l { 11093 return io.ErrUnexpectedEOF 11094 } 11095 iNdEx += skippy 11096 } 11097 } 11098 11099 if iNdEx > l { 11100 return io.ErrUnexpectedEOF 11101 } 11102 return nil 11103 } 11104 func (m *UpdateOptions) Unmarshal(dAtA []byte) error { 11105 l := len(dAtA) 11106 iNdEx := 0 11107 for iNdEx < l { 11108 preIndex := iNdEx 11109 var wire uint64 11110 for shift := uint(0); ; shift += 7 { 11111 if shift >= 64 { 11112 return ErrIntOverflowGenerated 11113 } 11114 if iNdEx >= l { 11115 return io.ErrUnexpectedEOF 11116 } 11117 b := dAtA[iNdEx] 11118 iNdEx++ 11119 wire |= uint64(b&0x7F) << shift 11120 if b < 0x80 { 11121 break 11122 } 11123 } 11124 fieldNum := int32(wire >> 3) 11125 wireType := int(wire & 0x7) 11126 if wireType == 4 { 11127 return fmt.Errorf("proto: UpdateOptions: wiretype end group for non-group") 11128 } 11129 if fieldNum <= 0 { 11130 return fmt.Errorf("proto: UpdateOptions: illegal tag %d (wire type %d)", fieldNum, wire) 11131 } 11132 switch fieldNum { 11133 case 1: 11134 if wireType != 2 { 11135 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) 11136 } 11137 var stringLen uint64 11138 for shift := uint(0); ; shift += 7 { 11139 if shift >= 64 { 11140 return ErrIntOverflowGenerated 11141 } 11142 if iNdEx >= l { 11143 return io.ErrUnexpectedEOF 11144 } 11145 b := dAtA[iNdEx] 11146 iNdEx++ 11147 stringLen |= uint64(b&0x7F) << shift 11148 if b < 0x80 { 11149 break 11150 } 11151 } 11152 intStringLen := int(stringLen) 11153 if intStringLen < 0 { 11154 return ErrInvalidLengthGenerated 11155 } 11156 postIndex := iNdEx + intStringLen 11157 if postIndex < 0 { 11158 return ErrInvalidLengthGenerated 11159 } 11160 if postIndex > l { 11161 return io.ErrUnexpectedEOF 11162 } 11163 m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) 11164 iNdEx = postIndex 11165 case 2: 11166 if wireType != 2 { 11167 return fmt.Errorf("proto: wrong wireType = %d for field FieldManager", wireType) 11168 } 11169 var stringLen uint64 11170 for shift := uint(0); ; shift += 7 { 11171 if shift >= 64 { 11172 return ErrIntOverflowGenerated 11173 } 11174 if iNdEx >= l { 11175 return io.ErrUnexpectedEOF 11176 } 11177 b := dAtA[iNdEx] 11178 iNdEx++ 11179 stringLen |= uint64(b&0x7F) << shift 11180 if b < 0x80 { 11181 break 11182 } 11183 } 11184 intStringLen := int(stringLen) 11185 if intStringLen < 0 { 11186 return ErrInvalidLengthGenerated 11187 } 11188 postIndex := iNdEx + intStringLen 11189 if postIndex < 0 { 11190 return ErrInvalidLengthGenerated 11191 } 11192 if postIndex > l { 11193 return io.ErrUnexpectedEOF 11194 } 11195 m.FieldManager = string(dAtA[iNdEx:postIndex]) 11196 iNdEx = postIndex 11197 case 3: 11198 if wireType != 2 { 11199 return fmt.Errorf("proto: wrong wireType = %d for field FieldValidation", wireType) 11200 } 11201 var stringLen uint64 11202 for shift := uint(0); ; shift += 7 { 11203 if shift >= 64 { 11204 return ErrIntOverflowGenerated 11205 } 11206 if iNdEx >= l { 11207 return io.ErrUnexpectedEOF 11208 } 11209 b := dAtA[iNdEx] 11210 iNdEx++ 11211 stringLen |= uint64(b&0x7F) << shift 11212 if b < 0x80 { 11213 break 11214 } 11215 } 11216 intStringLen := int(stringLen) 11217 if intStringLen < 0 { 11218 return ErrInvalidLengthGenerated 11219 } 11220 postIndex := iNdEx + intStringLen 11221 if postIndex < 0 { 11222 return ErrInvalidLengthGenerated 11223 } 11224 if postIndex > l { 11225 return io.ErrUnexpectedEOF 11226 } 11227 m.FieldValidation = string(dAtA[iNdEx:postIndex]) 11228 iNdEx = postIndex 11229 default: 11230 iNdEx = preIndex 11231 skippy, err := skipGenerated(dAtA[iNdEx:]) 11232 if err != nil { 11233 return err 11234 } 11235 if (skippy < 0) || (iNdEx+skippy) < 0 { 11236 return ErrInvalidLengthGenerated 11237 } 11238 if (iNdEx + skippy) > l { 11239 return io.ErrUnexpectedEOF 11240 } 11241 iNdEx += skippy 11242 } 11243 } 11244 11245 if iNdEx > l { 11246 return io.ErrUnexpectedEOF 11247 } 11248 return nil 11249 } 11250 func (m *Verbs) Unmarshal(dAtA []byte) error { 11251 l := len(dAtA) 11252 iNdEx := 0 11253 for iNdEx < l { 11254 preIndex := iNdEx 11255 var wire uint64 11256 for shift := uint(0); ; shift += 7 { 11257 if shift >= 64 { 11258 return ErrIntOverflowGenerated 11259 } 11260 if iNdEx >= l { 11261 return io.ErrUnexpectedEOF 11262 } 11263 b := dAtA[iNdEx] 11264 iNdEx++ 11265 wire |= uint64(b&0x7F) << shift 11266 if b < 0x80 { 11267 break 11268 } 11269 } 11270 fieldNum := int32(wire >> 3) 11271 wireType := int(wire & 0x7) 11272 if wireType == 4 { 11273 return fmt.Errorf("proto: Verbs: wiretype end group for non-group") 11274 } 11275 if fieldNum <= 0 { 11276 return fmt.Errorf("proto: Verbs: illegal tag %d (wire type %d)", fieldNum, wire) 11277 } 11278 switch fieldNum { 11279 case 1: 11280 if wireType != 2 { 11281 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 11282 } 11283 var stringLen uint64 11284 for shift := uint(0); ; shift += 7 { 11285 if shift >= 64 { 11286 return ErrIntOverflowGenerated 11287 } 11288 if iNdEx >= l { 11289 return io.ErrUnexpectedEOF 11290 } 11291 b := dAtA[iNdEx] 11292 iNdEx++ 11293 stringLen |= uint64(b&0x7F) << shift 11294 if b < 0x80 { 11295 break 11296 } 11297 } 11298 intStringLen := int(stringLen) 11299 if intStringLen < 0 { 11300 return ErrInvalidLengthGenerated 11301 } 11302 postIndex := iNdEx + intStringLen 11303 if postIndex < 0 { 11304 return ErrInvalidLengthGenerated 11305 } 11306 if postIndex > l { 11307 return io.ErrUnexpectedEOF 11308 } 11309 *m = append(*m, string(dAtA[iNdEx:postIndex])) 11310 iNdEx = postIndex 11311 default: 11312 iNdEx = preIndex 11313 skippy, err := skipGenerated(dAtA[iNdEx:]) 11314 if err != nil { 11315 return err 11316 } 11317 if (skippy < 0) || (iNdEx+skippy) < 0 { 11318 return ErrInvalidLengthGenerated 11319 } 11320 if (iNdEx + skippy) > l { 11321 return io.ErrUnexpectedEOF 11322 } 11323 iNdEx += skippy 11324 } 11325 } 11326 11327 if iNdEx > l { 11328 return io.ErrUnexpectedEOF 11329 } 11330 return nil 11331 } 11332 func (m *WatchEvent) Unmarshal(dAtA []byte) error { 11333 l := len(dAtA) 11334 iNdEx := 0 11335 for iNdEx < l { 11336 preIndex := iNdEx 11337 var wire uint64 11338 for shift := uint(0); ; shift += 7 { 11339 if shift >= 64 { 11340 return ErrIntOverflowGenerated 11341 } 11342 if iNdEx >= l { 11343 return io.ErrUnexpectedEOF 11344 } 11345 b := dAtA[iNdEx] 11346 iNdEx++ 11347 wire |= uint64(b&0x7F) << shift 11348 if b < 0x80 { 11349 break 11350 } 11351 } 11352 fieldNum := int32(wire >> 3) 11353 wireType := int(wire & 0x7) 11354 if wireType == 4 { 11355 return fmt.Errorf("proto: WatchEvent: wiretype end group for non-group") 11356 } 11357 if fieldNum <= 0 { 11358 return fmt.Errorf("proto: WatchEvent: illegal tag %d (wire type %d)", fieldNum, wire) 11359 } 11360 switch fieldNum { 11361 case 1: 11362 if wireType != 2 { 11363 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 11364 } 11365 var stringLen uint64 11366 for shift := uint(0); ; shift += 7 { 11367 if shift >= 64 { 11368 return ErrIntOverflowGenerated 11369 } 11370 if iNdEx >= l { 11371 return io.ErrUnexpectedEOF 11372 } 11373 b := dAtA[iNdEx] 11374 iNdEx++ 11375 stringLen |= uint64(b&0x7F) << shift 11376 if b < 0x80 { 11377 break 11378 } 11379 } 11380 intStringLen := int(stringLen) 11381 if intStringLen < 0 { 11382 return ErrInvalidLengthGenerated 11383 } 11384 postIndex := iNdEx + intStringLen 11385 if postIndex < 0 { 11386 return ErrInvalidLengthGenerated 11387 } 11388 if postIndex > l { 11389 return io.ErrUnexpectedEOF 11390 } 11391 m.Type = string(dAtA[iNdEx:postIndex]) 11392 iNdEx = postIndex 11393 case 2: 11394 if wireType != 2 { 11395 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) 11396 } 11397 var msglen int 11398 for shift := uint(0); ; shift += 7 { 11399 if shift >= 64 { 11400 return ErrIntOverflowGenerated 11401 } 11402 if iNdEx >= l { 11403 return io.ErrUnexpectedEOF 11404 } 11405 b := dAtA[iNdEx] 11406 iNdEx++ 11407 msglen |= int(b&0x7F) << shift 11408 if b < 0x80 { 11409 break 11410 } 11411 } 11412 if msglen < 0 { 11413 return ErrInvalidLengthGenerated 11414 } 11415 postIndex := iNdEx + msglen 11416 if postIndex < 0 { 11417 return ErrInvalidLengthGenerated 11418 } 11419 if postIndex > l { 11420 return io.ErrUnexpectedEOF 11421 } 11422 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11423 return err 11424 } 11425 iNdEx = postIndex 11426 default: 11427 iNdEx = preIndex 11428 skippy, err := skipGenerated(dAtA[iNdEx:]) 11429 if err != nil { 11430 return err 11431 } 11432 if (skippy < 0) || (iNdEx+skippy) < 0 { 11433 return ErrInvalidLengthGenerated 11434 } 11435 if (iNdEx + skippy) > l { 11436 return io.ErrUnexpectedEOF 11437 } 11438 iNdEx += skippy 11439 } 11440 } 11441 11442 if iNdEx > l { 11443 return io.ErrUnexpectedEOF 11444 } 11445 return nil 11446 } 11447 func skipGenerated(dAtA []byte) (n int, err error) { 11448 l := len(dAtA) 11449 iNdEx := 0 11450 depth := 0 11451 for iNdEx < l { 11452 var wire uint64 11453 for shift := uint(0); ; shift += 7 { 11454 if shift >= 64 { 11455 return 0, ErrIntOverflowGenerated 11456 } 11457 if iNdEx >= l { 11458 return 0, io.ErrUnexpectedEOF 11459 } 11460 b := dAtA[iNdEx] 11461 iNdEx++ 11462 wire |= (uint64(b) & 0x7F) << shift 11463 if b < 0x80 { 11464 break 11465 } 11466 } 11467 wireType := int(wire & 0x7) 11468 switch wireType { 11469 case 0: 11470 for shift := uint(0); ; shift += 7 { 11471 if shift >= 64 { 11472 return 0, ErrIntOverflowGenerated 11473 } 11474 if iNdEx >= l { 11475 return 0, io.ErrUnexpectedEOF 11476 } 11477 iNdEx++ 11478 if dAtA[iNdEx-1] < 0x80 { 11479 break 11480 } 11481 } 11482 case 1: 11483 iNdEx += 8 11484 case 2: 11485 var length int 11486 for shift := uint(0); ; shift += 7 { 11487 if shift >= 64 { 11488 return 0, ErrIntOverflowGenerated 11489 } 11490 if iNdEx >= l { 11491 return 0, io.ErrUnexpectedEOF 11492 } 11493 b := dAtA[iNdEx] 11494 iNdEx++ 11495 length |= (int(b) & 0x7F) << shift 11496 if b < 0x80 { 11497 break 11498 } 11499 } 11500 if length < 0 { 11501 return 0, ErrInvalidLengthGenerated 11502 } 11503 iNdEx += length 11504 case 3: 11505 depth++ 11506 case 4: 11507 if depth == 0 { 11508 return 0, ErrUnexpectedEndOfGroupGenerated 11509 } 11510 depth-- 11511 case 5: 11512 iNdEx += 4 11513 default: 11514 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 11515 } 11516 if iNdEx < 0 { 11517 return 0, ErrInvalidLengthGenerated 11518 } 11519 if depth == 0 { 11520 return iNdEx, nil 11521 } 11522 } 11523 return 0, io.ErrUnexpectedEOF 11524 } 11525 11526 var ( 11527 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") 11528 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") 11529 ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") 11530 )