Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 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/api/scheduling/v1beta1/generated.proto |
| 19 | |
| 20 | /* |
| 21 | Package v1beta1 is a generated protocol buffer package. |
| 22 | |
| 23 | It is generated from these files: |
| 24 | k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1beta1/generated.proto |
| 25 | |
| 26 | It has these top-level messages: |
| 27 | PriorityClass |
| 28 | PriorityClassList |
| 29 | */ |
| 30 | package v1beta1 |
| 31 | |
| 32 | import proto "github.com/gogo/protobuf/proto" |
| 33 | import fmt "fmt" |
| 34 | import math "math" |
| 35 | |
| 36 | import k8s_io_api_core_v1 "k8s.io/api/core/v1" |
| 37 | |
| 38 | import strings "strings" |
| 39 | import reflect "reflect" |
| 40 | |
| 41 | import io "io" |
| 42 | |
| 43 | // Reference imports to suppress errors if they are not otherwise used. |
| 44 | var _ = proto.Marshal |
| 45 | var _ = fmt.Errorf |
| 46 | var _ = math.Inf |
| 47 | |
| 48 | // This is a compile-time assertion to ensure that this generated file |
| 49 | // is compatible with the proto package it is being compiled against. |
| 50 | // A compilation error at this line likely means your copy of the |
| 51 | // proto package needs to be updated. |
| 52 | const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| 53 | |
| 54 | func (m *PriorityClass) Reset() { *m = PriorityClass{} } |
| 55 | func (*PriorityClass) ProtoMessage() {} |
| 56 | func (*PriorityClass) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } |
| 57 | |
| 58 | func (m *PriorityClassList) Reset() { *m = PriorityClassList{} } |
| 59 | func (*PriorityClassList) ProtoMessage() {} |
| 60 | func (*PriorityClassList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } |
| 61 | |
| 62 | func init() { |
| 63 | proto.RegisterType((*PriorityClass)(nil), "k8s.io.api.scheduling.v1beta1.PriorityClass") |
| 64 | proto.RegisterType((*PriorityClassList)(nil), "k8s.io.api.scheduling.v1beta1.PriorityClassList") |
| 65 | } |
| 66 | func (m *PriorityClass) Marshal() (dAtA []byte, err error) { |
| 67 | size := m.Size() |
| 68 | dAtA = make([]byte, size) |
| 69 | n, err := m.MarshalTo(dAtA) |
| 70 | if err != nil { |
| 71 | return nil, err |
| 72 | } |
| 73 | return dAtA[:n], nil |
| 74 | } |
| 75 | |
| 76 | func (m *PriorityClass) MarshalTo(dAtA []byte) (int, error) { |
| 77 | var i int |
| 78 | _ = i |
| 79 | var l int |
| 80 | _ = l |
| 81 | dAtA[i] = 0xa |
| 82 | i++ |
| 83 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 84 | n1, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 85 | if err != nil { |
| 86 | return 0, err |
| 87 | } |
| 88 | i += n1 |
| 89 | dAtA[i] = 0x10 |
| 90 | i++ |
| 91 | i = encodeVarintGenerated(dAtA, i, uint64(m.Value)) |
| 92 | dAtA[i] = 0x18 |
| 93 | i++ |
| 94 | if m.GlobalDefault { |
| 95 | dAtA[i] = 1 |
| 96 | } else { |
| 97 | dAtA[i] = 0 |
| 98 | } |
| 99 | i++ |
| 100 | dAtA[i] = 0x22 |
| 101 | i++ |
| 102 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Description))) |
| 103 | i += copy(dAtA[i:], m.Description) |
| 104 | if m.PreemptionPolicy != nil { |
| 105 | dAtA[i] = 0x2a |
| 106 | i++ |
| 107 | i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PreemptionPolicy))) |
| 108 | i += copy(dAtA[i:], *m.PreemptionPolicy) |
| 109 | } |
| 110 | return i, nil |
| 111 | } |
| 112 | |
| 113 | func (m *PriorityClassList) Marshal() (dAtA []byte, err error) { |
| 114 | size := m.Size() |
| 115 | dAtA = make([]byte, size) |
| 116 | n, err := m.MarshalTo(dAtA) |
| 117 | if err != nil { |
| 118 | return nil, err |
| 119 | } |
| 120 | return dAtA[:n], nil |
| 121 | } |
| 122 | |
| 123 | func (m *PriorityClassList) MarshalTo(dAtA []byte) (int, error) { |
| 124 | var i int |
| 125 | _ = i |
| 126 | var l int |
| 127 | _ = l |
| 128 | dAtA[i] = 0xa |
| 129 | i++ |
| 130 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 131 | n2, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 132 | if err != nil { |
| 133 | return 0, err |
| 134 | } |
| 135 | i += n2 |
| 136 | if len(m.Items) > 0 { |
| 137 | for _, msg := range m.Items { |
| 138 | dAtA[i] = 0x12 |
| 139 | i++ |
| 140 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 141 | n, err := msg.MarshalTo(dAtA[i:]) |
| 142 | if err != nil { |
| 143 | return 0, err |
| 144 | } |
| 145 | i += n |
| 146 | } |
| 147 | } |
| 148 | return i, nil |
| 149 | } |
| 150 | |
| 151 | func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { |
| 152 | for v >= 1<<7 { |
| 153 | dAtA[offset] = uint8(v&0x7f | 0x80) |
| 154 | v >>= 7 |
| 155 | offset++ |
| 156 | } |
| 157 | dAtA[offset] = uint8(v) |
| 158 | return offset + 1 |
| 159 | } |
| 160 | func (m *PriorityClass) Size() (n int) { |
| 161 | var l int |
| 162 | _ = l |
| 163 | l = m.ObjectMeta.Size() |
| 164 | n += 1 + l + sovGenerated(uint64(l)) |
| 165 | n += 1 + sovGenerated(uint64(m.Value)) |
| 166 | n += 2 |
| 167 | l = len(m.Description) |
| 168 | n += 1 + l + sovGenerated(uint64(l)) |
| 169 | if m.PreemptionPolicy != nil { |
| 170 | l = len(*m.PreemptionPolicy) |
| 171 | n += 1 + l + sovGenerated(uint64(l)) |
| 172 | } |
| 173 | return n |
| 174 | } |
| 175 | |
| 176 | func (m *PriorityClassList) Size() (n int) { |
| 177 | var l int |
| 178 | _ = l |
| 179 | l = m.ListMeta.Size() |
| 180 | n += 1 + l + sovGenerated(uint64(l)) |
| 181 | if len(m.Items) > 0 { |
| 182 | for _, e := range m.Items { |
| 183 | l = e.Size() |
| 184 | n += 1 + l + sovGenerated(uint64(l)) |
| 185 | } |
| 186 | } |
| 187 | return n |
| 188 | } |
| 189 | |
| 190 | func sovGenerated(x uint64) (n int) { |
| 191 | for { |
| 192 | n++ |
| 193 | x >>= 7 |
| 194 | if x == 0 { |
| 195 | break |
| 196 | } |
| 197 | } |
| 198 | return n |
| 199 | } |
| 200 | func sozGenerated(x uint64) (n int) { |
| 201 | return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 202 | } |
| 203 | func (this *PriorityClass) String() string { |
| 204 | if this == nil { |
| 205 | return "nil" |
| 206 | } |
| 207 | s := strings.Join([]string{`&PriorityClass{`, |
| 208 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 209 | `Value:` + fmt.Sprintf("%v", this.Value) + `,`, |
| 210 | `GlobalDefault:` + fmt.Sprintf("%v", this.GlobalDefault) + `,`, |
| 211 | `Description:` + fmt.Sprintf("%v", this.Description) + `,`, |
| 212 | `PreemptionPolicy:` + valueToStringGenerated(this.PreemptionPolicy) + `,`, |
| 213 | `}`, |
| 214 | }, "") |
| 215 | return s |
| 216 | } |
| 217 | func (this *PriorityClassList) String() string { |
| 218 | if this == nil { |
| 219 | return "nil" |
| 220 | } |
| 221 | s := strings.Join([]string{`&PriorityClassList{`, |
| 222 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 223 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PriorityClass", "PriorityClass", 1), `&`, ``, 1) + `,`, |
| 224 | `}`, |
| 225 | }, "") |
| 226 | return s |
| 227 | } |
| 228 | func valueToStringGenerated(v interface{}) string { |
| 229 | rv := reflect.ValueOf(v) |
| 230 | if rv.IsNil() { |
| 231 | return "nil" |
| 232 | } |
| 233 | pv := reflect.Indirect(rv).Interface() |
| 234 | return fmt.Sprintf("*%v", pv) |
| 235 | } |
| 236 | func (m *PriorityClass) Unmarshal(dAtA []byte) error { |
| 237 | l := len(dAtA) |
| 238 | iNdEx := 0 |
| 239 | for iNdEx < l { |
| 240 | preIndex := iNdEx |
| 241 | var wire uint64 |
| 242 | for shift := uint(0); ; shift += 7 { |
| 243 | if shift >= 64 { |
| 244 | return ErrIntOverflowGenerated |
| 245 | } |
| 246 | if iNdEx >= l { |
| 247 | return io.ErrUnexpectedEOF |
| 248 | } |
| 249 | b := dAtA[iNdEx] |
| 250 | iNdEx++ |
| 251 | wire |= (uint64(b) & 0x7F) << shift |
| 252 | if b < 0x80 { |
| 253 | break |
| 254 | } |
| 255 | } |
| 256 | fieldNum := int32(wire >> 3) |
| 257 | wireType := int(wire & 0x7) |
| 258 | if wireType == 4 { |
| 259 | return fmt.Errorf("proto: PriorityClass: wiretype end group for non-group") |
| 260 | } |
| 261 | if fieldNum <= 0 { |
| 262 | return fmt.Errorf("proto: PriorityClass: illegal tag %d (wire type %d)", fieldNum, wire) |
| 263 | } |
| 264 | switch fieldNum { |
| 265 | case 1: |
| 266 | if wireType != 2 { |
| 267 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 268 | } |
| 269 | var msglen int |
| 270 | for shift := uint(0); ; shift += 7 { |
| 271 | if shift >= 64 { |
| 272 | return ErrIntOverflowGenerated |
| 273 | } |
| 274 | if iNdEx >= l { |
| 275 | return io.ErrUnexpectedEOF |
| 276 | } |
| 277 | b := dAtA[iNdEx] |
| 278 | iNdEx++ |
| 279 | msglen |= (int(b) & 0x7F) << shift |
| 280 | if b < 0x80 { |
| 281 | break |
| 282 | } |
| 283 | } |
| 284 | if msglen < 0 { |
| 285 | return ErrInvalidLengthGenerated |
| 286 | } |
| 287 | postIndex := iNdEx + msglen |
| 288 | if postIndex > l { |
| 289 | return io.ErrUnexpectedEOF |
| 290 | } |
| 291 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 292 | return err |
| 293 | } |
| 294 | iNdEx = postIndex |
| 295 | case 2: |
| 296 | if wireType != 0 { |
| 297 | return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) |
| 298 | } |
| 299 | m.Value = 0 |
| 300 | for shift := uint(0); ; shift += 7 { |
| 301 | if shift >= 64 { |
| 302 | return ErrIntOverflowGenerated |
| 303 | } |
| 304 | if iNdEx >= l { |
| 305 | return io.ErrUnexpectedEOF |
| 306 | } |
| 307 | b := dAtA[iNdEx] |
| 308 | iNdEx++ |
| 309 | m.Value |= (int32(b) & 0x7F) << shift |
| 310 | if b < 0x80 { |
| 311 | break |
| 312 | } |
| 313 | } |
| 314 | case 3: |
| 315 | if wireType != 0 { |
| 316 | return fmt.Errorf("proto: wrong wireType = %d for field GlobalDefault", wireType) |
| 317 | } |
| 318 | var v int |
| 319 | for shift := uint(0); ; shift += 7 { |
| 320 | if shift >= 64 { |
| 321 | return ErrIntOverflowGenerated |
| 322 | } |
| 323 | if iNdEx >= l { |
| 324 | return io.ErrUnexpectedEOF |
| 325 | } |
| 326 | b := dAtA[iNdEx] |
| 327 | iNdEx++ |
| 328 | v |= (int(b) & 0x7F) << shift |
| 329 | if b < 0x80 { |
| 330 | break |
| 331 | } |
| 332 | } |
| 333 | m.GlobalDefault = bool(v != 0) |
| 334 | case 4: |
| 335 | if wireType != 2 { |
| 336 | return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) |
| 337 | } |
| 338 | var stringLen uint64 |
| 339 | for shift := uint(0); ; shift += 7 { |
| 340 | if shift >= 64 { |
| 341 | return ErrIntOverflowGenerated |
| 342 | } |
| 343 | if iNdEx >= l { |
| 344 | return io.ErrUnexpectedEOF |
| 345 | } |
| 346 | b := dAtA[iNdEx] |
| 347 | iNdEx++ |
| 348 | stringLen |= (uint64(b) & 0x7F) << shift |
| 349 | if b < 0x80 { |
| 350 | break |
| 351 | } |
| 352 | } |
| 353 | intStringLen := int(stringLen) |
| 354 | if intStringLen < 0 { |
| 355 | return ErrInvalidLengthGenerated |
| 356 | } |
| 357 | postIndex := iNdEx + intStringLen |
| 358 | if postIndex > l { |
| 359 | return io.ErrUnexpectedEOF |
| 360 | } |
| 361 | m.Description = string(dAtA[iNdEx:postIndex]) |
| 362 | iNdEx = postIndex |
| 363 | case 5: |
| 364 | if wireType != 2 { |
| 365 | return fmt.Errorf("proto: wrong wireType = %d for field PreemptionPolicy", wireType) |
| 366 | } |
| 367 | var stringLen uint64 |
| 368 | for shift := uint(0); ; shift += 7 { |
| 369 | if shift >= 64 { |
| 370 | return ErrIntOverflowGenerated |
| 371 | } |
| 372 | if iNdEx >= l { |
| 373 | return io.ErrUnexpectedEOF |
| 374 | } |
| 375 | b := dAtA[iNdEx] |
| 376 | iNdEx++ |
| 377 | stringLen |= (uint64(b) & 0x7F) << shift |
| 378 | if b < 0x80 { |
| 379 | break |
| 380 | } |
| 381 | } |
| 382 | intStringLen := int(stringLen) |
| 383 | if intStringLen < 0 { |
| 384 | return ErrInvalidLengthGenerated |
| 385 | } |
| 386 | postIndex := iNdEx + intStringLen |
| 387 | if postIndex > l { |
| 388 | return io.ErrUnexpectedEOF |
| 389 | } |
| 390 | s := k8s_io_api_core_v1.PreemptionPolicy(dAtA[iNdEx:postIndex]) |
| 391 | m.PreemptionPolicy = &s |
| 392 | iNdEx = postIndex |
| 393 | default: |
| 394 | iNdEx = preIndex |
| 395 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 396 | if err != nil { |
| 397 | return err |
| 398 | } |
| 399 | if skippy < 0 { |
| 400 | return ErrInvalidLengthGenerated |
| 401 | } |
| 402 | if (iNdEx + skippy) > l { |
| 403 | return io.ErrUnexpectedEOF |
| 404 | } |
| 405 | iNdEx += skippy |
| 406 | } |
| 407 | } |
| 408 | |
| 409 | if iNdEx > l { |
| 410 | return io.ErrUnexpectedEOF |
| 411 | } |
| 412 | return nil |
| 413 | } |
| 414 | func (m *PriorityClassList) Unmarshal(dAtA []byte) error { |
| 415 | l := len(dAtA) |
| 416 | iNdEx := 0 |
| 417 | for iNdEx < l { |
| 418 | preIndex := iNdEx |
| 419 | var wire uint64 |
| 420 | for shift := uint(0); ; shift += 7 { |
| 421 | if shift >= 64 { |
| 422 | return ErrIntOverflowGenerated |
| 423 | } |
| 424 | if iNdEx >= l { |
| 425 | return io.ErrUnexpectedEOF |
| 426 | } |
| 427 | b := dAtA[iNdEx] |
| 428 | iNdEx++ |
| 429 | wire |= (uint64(b) & 0x7F) << shift |
| 430 | if b < 0x80 { |
| 431 | break |
| 432 | } |
| 433 | } |
| 434 | fieldNum := int32(wire >> 3) |
| 435 | wireType := int(wire & 0x7) |
| 436 | if wireType == 4 { |
| 437 | return fmt.Errorf("proto: PriorityClassList: wiretype end group for non-group") |
| 438 | } |
| 439 | if fieldNum <= 0 { |
| 440 | return fmt.Errorf("proto: PriorityClassList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 441 | } |
| 442 | switch fieldNum { |
| 443 | case 1: |
| 444 | if wireType != 2 { |
| 445 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 446 | } |
| 447 | var msglen int |
| 448 | for shift := uint(0); ; shift += 7 { |
| 449 | if shift >= 64 { |
| 450 | return ErrIntOverflowGenerated |
| 451 | } |
| 452 | if iNdEx >= l { |
| 453 | return io.ErrUnexpectedEOF |
| 454 | } |
| 455 | b := dAtA[iNdEx] |
| 456 | iNdEx++ |
| 457 | msglen |= (int(b) & 0x7F) << shift |
| 458 | if b < 0x80 { |
| 459 | break |
| 460 | } |
| 461 | } |
| 462 | if msglen < 0 { |
| 463 | return ErrInvalidLengthGenerated |
| 464 | } |
| 465 | postIndex := iNdEx + msglen |
| 466 | if postIndex > l { |
| 467 | return io.ErrUnexpectedEOF |
| 468 | } |
| 469 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 470 | return err |
| 471 | } |
| 472 | iNdEx = postIndex |
| 473 | case 2: |
| 474 | if wireType != 2 { |
| 475 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 476 | } |
| 477 | var msglen int |
| 478 | for shift := uint(0); ; shift += 7 { |
| 479 | if shift >= 64 { |
| 480 | return ErrIntOverflowGenerated |
| 481 | } |
| 482 | if iNdEx >= l { |
| 483 | return io.ErrUnexpectedEOF |
| 484 | } |
| 485 | b := dAtA[iNdEx] |
| 486 | iNdEx++ |
| 487 | msglen |= (int(b) & 0x7F) << shift |
| 488 | if b < 0x80 { |
| 489 | break |
| 490 | } |
| 491 | } |
| 492 | if msglen < 0 { |
| 493 | return ErrInvalidLengthGenerated |
| 494 | } |
| 495 | postIndex := iNdEx + msglen |
| 496 | if postIndex > l { |
| 497 | return io.ErrUnexpectedEOF |
| 498 | } |
| 499 | m.Items = append(m.Items, PriorityClass{}) |
| 500 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 501 | return err |
| 502 | } |
| 503 | iNdEx = postIndex |
| 504 | default: |
| 505 | iNdEx = preIndex |
| 506 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 507 | if err != nil { |
| 508 | return err |
| 509 | } |
| 510 | if skippy < 0 { |
| 511 | return ErrInvalidLengthGenerated |
| 512 | } |
| 513 | if (iNdEx + skippy) > l { |
| 514 | return io.ErrUnexpectedEOF |
| 515 | } |
| 516 | iNdEx += skippy |
| 517 | } |
| 518 | } |
| 519 | |
| 520 | if iNdEx > l { |
| 521 | return io.ErrUnexpectedEOF |
| 522 | } |
| 523 | return nil |
| 524 | } |
| 525 | func skipGenerated(dAtA []byte) (n int, err error) { |
| 526 | l := len(dAtA) |
| 527 | iNdEx := 0 |
| 528 | for iNdEx < l { |
| 529 | var wire uint64 |
| 530 | for shift := uint(0); ; shift += 7 { |
| 531 | if shift >= 64 { |
| 532 | return 0, ErrIntOverflowGenerated |
| 533 | } |
| 534 | if iNdEx >= l { |
| 535 | return 0, io.ErrUnexpectedEOF |
| 536 | } |
| 537 | b := dAtA[iNdEx] |
| 538 | iNdEx++ |
| 539 | wire |= (uint64(b) & 0x7F) << shift |
| 540 | if b < 0x80 { |
| 541 | break |
| 542 | } |
| 543 | } |
| 544 | wireType := int(wire & 0x7) |
| 545 | switch wireType { |
| 546 | case 0: |
| 547 | for shift := uint(0); ; shift += 7 { |
| 548 | if shift >= 64 { |
| 549 | return 0, ErrIntOverflowGenerated |
| 550 | } |
| 551 | if iNdEx >= l { |
| 552 | return 0, io.ErrUnexpectedEOF |
| 553 | } |
| 554 | iNdEx++ |
| 555 | if dAtA[iNdEx-1] < 0x80 { |
| 556 | break |
| 557 | } |
| 558 | } |
| 559 | return iNdEx, nil |
| 560 | case 1: |
| 561 | iNdEx += 8 |
| 562 | return iNdEx, nil |
| 563 | case 2: |
| 564 | var length int |
| 565 | for shift := uint(0); ; shift += 7 { |
| 566 | if shift >= 64 { |
| 567 | return 0, ErrIntOverflowGenerated |
| 568 | } |
| 569 | if iNdEx >= l { |
| 570 | return 0, io.ErrUnexpectedEOF |
| 571 | } |
| 572 | b := dAtA[iNdEx] |
| 573 | iNdEx++ |
| 574 | length |= (int(b) & 0x7F) << shift |
| 575 | if b < 0x80 { |
| 576 | break |
| 577 | } |
| 578 | } |
| 579 | iNdEx += length |
| 580 | if length < 0 { |
| 581 | return 0, ErrInvalidLengthGenerated |
| 582 | } |
| 583 | return iNdEx, nil |
| 584 | case 3: |
| 585 | for { |
| 586 | var innerWire uint64 |
| 587 | var start int = iNdEx |
| 588 | for shift := uint(0); ; shift += 7 { |
| 589 | if shift >= 64 { |
| 590 | return 0, ErrIntOverflowGenerated |
| 591 | } |
| 592 | if iNdEx >= l { |
| 593 | return 0, io.ErrUnexpectedEOF |
| 594 | } |
| 595 | b := dAtA[iNdEx] |
| 596 | iNdEx++ |
| 597 | innerWire |= (uint64(b) & 0x7F) << shift |
| 598 | if b < 0x80 { |
| 599 | break |
| 600 | } |
| 601 | } |
| 602 | innerWireType := int(innerWire & 0x7) |
| 603 | if innerWireType == 4 { |
| 604 | break |
| 605 | } |
| 606 | next, err := skipGenerated(dAtA[start:]) |
| 607 | if err != nil { |
| 608 | return 0, err |
| 609 | } |
| 610 | iNdEx = start + next |
| 611 | } |
| 612 | return iNdEx, nil |
| 613 | case 4: |
| 614 | return iNdEx, nil |
| 615 | case 5: |
| 616 | iNdEx += 4 |
| 617 | return iNdEx, nil |
| 618 | default: |
| 619 | return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| 620 | } |
| 621 | } |
| 622 | panic("unreachable") |
| 623 | } |
| 624 | |
| 625 | var ( |
| 626 | ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") |
| 627 | ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") |
| 628 | ) |
| 629 | |
| 630 | func init() { |
| 631 | proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1beta1/generated.proto", fileDescriptorGenerated) |
| 632 | } |
| 633 | |
| 634 | var fileDescriptorGenerated = []byte{ |
| 635 | // 494 bytes of a gzipped FileDescriptorProto |
| 636 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x3f, 0x8f, 0xd3, 0x30, |
| 637 | 0x18, 0xc6, 0xeb, 0x1e, 0x15, 0xc5, 0x55, 0xa5, 0x12, 0x84, 0x14, 0x55, 0x22, 0xad, 0x7a, 0x4b, |
| 638 | 0x07, 0xce, 0xa6, 0x27, 0x40, 0x48, 0xb7, 0x95, 0x13, 0x08, 0x09, 0x44, 0xc9, 0xc0, 0x80, 0x18, |
| 639 | 0x70, 0x92, 0xf7, 0x52, 0xd3, 0x24, 0x8e, 0x6c, 0x27, 0x52, 0x37, 0x3e, 0x02, 0x1f, 0x8a, 0xa1, |
| 640 | 0xe3, 0x8d, 0x37, 0x55, 0x34, 0x7c, 0x04, 0x36, 0x26, 0x94, 0x34, 0x5c, 0xda, 0x86, 0x7f, 0x5b, |
| 641 | 0xfc, 0x3e, 0xbf, 0xe7, 0xb1, 0xfd, 0x24, 0xc1, 0xcf, 0x16, 0x4f, 0x14, 0xe1, 0x82, 0x2e, 0x12, |
| 642 | 0x07, 0x64, 0x04, 0x1a, 0x14, 0x4d, 0x21, 0xf2, 0x84, 0xa4, 0xa5, 0xc0, 0x62, 0x4e, 0x95, 0x3b, |
| 643 | 0x07, 0x2f, 0x09, 0x78, 0xe4, 0xd3, 0x74, 0xe2, 0x80, 0x66, 0x13, 0xea, 0x43, 0x04, 0x92, 0x69, |
| 644 | 0xf0, 0x48, 0x2c, 0x85, 0x16, 0xc6, 0xbd, 0x2d, 0x4e, 0x58, 0xcc, 0x49, 0x85, 0x93, 0x12, 0xef, |
| 645 | 0x9f, 0xf8, 0x5c, 0xcf, 0x13, 0x87, 0xb8, 0x22, 0xa4, 0xbe, 0xf0, 0x05, 0x2d, 0x5c, 0x4e, 0x72, |
| 646 | 0x51, 0xac, 0x8a, 0x45, 0xf1, 0xb4, 0x4d, 0xeb, 0x8f, 0x76, 0x36, 0x77, 0x85, 0x04, 0x9a, 0xd6, |
| 647 | 0x76, 0xec, 0x3f, 0xac, 0x98, 0x90, 0xb9, 0x73, 0x1e, 0x81, 0x5c, 0xd2, 0x78, 0xe1, 0xe7, 0x03, |
| 648 | 0x45, 0x43, 0xd0, 0xec, 0x77, 0x2e, 0xfa, 0x27, 0x97, 0x4c, 0x22, 0xcd, 0x43, 0xa8, 0x19, 0x1e, |
| 649 | 0xff, 0xcb, 0x90, 0xdf, 0x36, 0x64, 0x87, 0xbe, 0xd1, 0xf7, 0x26, 0xee, 0xce, 0x24, 0x17, 0x92, |
| 650 | 0xeb, 0xe5, 0xd3, 0x80, 0x29, 0x65, 0x7c, 0xc0, 0xed, 0xfc, 0x54, 0x1e, 0xd3, 0xcc, 0x44, 0x43, |
| 651 | 0x34, 0xee, 0x9c, 0x3e, 0x20, 0x55, 0x6b, 0xd7, 0xe1, 0x24, 0x5e, 0xf8, 0xf9, 0x40, 0x91, 0x9c, |
| 652 | 0x26, 0xe9, 0x84, 0xbc, 0x76, 0x3e, 0x82, 0xab, 0x5f, 0x81, 0x66, 0x53, 0x63, 0xb5, 0x1e, 0x34, |
| 653 | 0xb2, 0xf5, 0x00, 0x57, 0x33, 0xfb, 0x3a, 0xd5, 0x38, 0xc6, 0xad, 0x94, 0x05, 0x09, 0x98, 0xcd, |
| 654 | 0x21, 0x1a, 0xb7, 0xa6, 0xdd, 0x12, 0x6e, 0xbd, 0xcd, 0x87, 0xf6, 0x56, 0x33, 0xce, 0x70, 0xd7, |
| 655 | 0x0f, 0x84, 0xc3, 0x82, 0x73, 0xb8, 0x60, 0x49, 0xa0, 0xcd, 0xa3, 0x21, 0x1a, 0xb7, 0xa7, 0x77, |
| 656 | 0x4b, 0xb8, 0xfb, 0x7c, 0x57, 0xb4, 0xf7, 0x59, 0xe3, 0x11, 0xee, 0x78, 0xa0, 0x5c, 0xc9, 0x63, |
| 657 | 0xcd, 0x45, 0x64, 0xde, 0x18, 0xa2, 0xf1, 0xad, 0xe9, 0x9d, 0xd2, 0xda, 0x39, 0xaf, 0x24, 0x7b, |
| 658 | 0x97, 0x33, 0x7c, 0xdc, 0x8b, 0x25, 0x40, 0x58, 0xac, 0x66, 0x22, 0xe0, 0xee, 0xd2, 0x6c, 0x15, |
| 659 | 0xde, 0xb3, 0x6c, 0x3d, 0xe8, 0xcd, 0x0e, 0xb4, 0x1f, 0xeb, 0xc1, 0x71, 0xfd, 0x0b, 0x20, 0x87, |
| 660 | 0x98, 0x5d, 0x0b, 0x1d, 0x7d, 0x41, 0xf8, 0xf6, 0x5e, 0xeb, 0x2f, 0xb9, 0xd2, 0xc6, 0xfb, 0x5a, |
| 661 | 0xf3, 0xe4, 0xff, 0x9a, 0xcf, 0xdd, 0x45, 0xef, 0xbd, 0xf2, 0x8a, 0xed, 0x5f, 0x93, 0x9d, 0xd6, |
| 662 | 0xdf, 0xe0, 0x16, 0xd7, 0x10, 0x2a, 0xb3, 0x39, 0x3c, 0x1a, 0x77, 0x4e, 0xef, 0x93, 0xbf, 0xfe, |
| 663 | 0x0a, 0x64, 0xef, 0x78, 0xd5, 0x3b, 0x7a, 0x91, 0x47, 0xd8, 0xdb, 0xa4, 0xe9, 0xc9, 0x6a, 0x63, |
| 664 | 0x35, 0x2e, 0x37, 0x56, 0xe3, 0x6a, 0x63, 0x35, 0x3e, 0x65, 0x16, 0x5a, 0x65, 0x16, 0xba, 0xcc, |
| 665 | 0x2c, 0x74, 0x95, 0x59, 0xe8, 0x6b, 0x66, 0xa1, 0xcf, 0xdf, 0xac, 0xc6, 0xbb, 0x9b, 0x65, 0xe4, |
| 666 | 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1a, 0xc2, 0xc0, 0x1f, 0xc5, 0x03, 0x00, 0x00, |
| 667 | } |