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/storage/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/storage/v1beta1/generated.proto |
| 25 | |
| 26 | It has these top-level messages: |
| 27 | CSIDriver |
| 28 | CSIDriverList |
| 29 | CSIDriverSpec |
| 30 | CSINode |
| 31 | CSINodeDriver |
| 32 | CSINodeList |
| 33 | CSINodeSpec |
| 34 | StorageClass |
| 35 | StorageClassList |
| 36 | VolumeAttachment |
| 37 | VolumeAttachmentList |
| 38 | VolumeAttachmentSource |
| 39 | VolumeAttachmentSpec |
| 40 | VolumeAttachmentStatus |
| 41 | VolumeError |
| 42 | */ |
| 43 | package v1beta1 |
| 44 | |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 45 | import ( |
| 46 | fmt "fmt" |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 47 | |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 48 | proto "github.com/gogo/protobuf/proto" |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 49 | |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 50 | math "math" |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 51 | |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 52 | k8s_io_api_core_v1 "k8s.io/api/core/v1" |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 53 | |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 54 | github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" |
| 55 | |
| 56 | strings "strings" |
| 57 | |
| 58 | reflect "reflect" |
| 59 | |
| 60 | io "io" |
| 61 | ) |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 62 | |
| 63 | // Reference imports to suppress errors if they are not otherwise used. |
| 64 | var _ = proto.Marshal |
| 65 | var _ = fmt.Errorf |
| 66 | var _ = math.Inf |
| 67 | |
| 68 | // This is a compile-time assertion to ensure that this generated file |
| 69 | // is compatible with the proto package it is being compiled against. |
| 70 | // A compilation error at this line likely means your copy of the |
| 71 | // proto package needs to be updated. |
| 72 | const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| 73 | |
| 74 | func (m *CSIDriver) Reset() { *m = CSIDriver{} } |
| 75 | func (*CSIDriver) ProtoMessage() {} |
| 76 | func (*CSIDriver) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } |
| 77 | |
| 78 | func (m *CSIDriverList) Reset() { *m = CSIDriverList{} } |
| 79 | func (*CSIDriverList) ProtoMessage() {} |
| 80 | func (*CSIDriverList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } |
| 81 | |
| 82 | func (m *CSIDriverSpec) Reset() { *m = CSIDriverSpec{} } |
| 83 | func (*CSIDriverSpec) ProtoMessage() {} |
| 84 | func (*CSIDriverSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } |
| 85 | |
| 86 | func (m *CSINode) Reset() { *m = CSINode{} } |
| 87 | func (*CSINode) ProtoMessage() {} |
| 88 | func (*CSINode) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } |
| 89 | |
| 90 | func (m *CSINodeDriver) Reset() { *m = CSINodeDriver{} } |
| 91 | func (*CSINodeDriver) ProtoMessage() {} |
| 92 | func (*CSINodeDriver) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } |
| 93 | |
| 94 | func (m *CSINodeList) Reset() { *m = CSINodeList{} } |
| 95 | func (*CSINodeList) ProtoMessage() {} |
| 96 | func (*CSINodeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } |
| 97 | |
| 98 | func (m *CSINodeSpec) Reset() { *m = CSINodeSpec{} } |
| 99 | func (*CSINodeSpec) ProtoMessage() {} |
| 100 | func (*CSINodeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } |
| 101 | |
| 102 | func (m *StorageClass) Reset() { *m = StorageClass{} } |
| 103 | func (*StorageClass) ProtoMessage() {} |
| 104 | func (*StorageClass) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } |
| 105 | |
| 106 | func (m *StorageClassList) Reset() { *m = StorageClassList{} } |
| 107 | func (*StorageClassList) ProtoMessage() {} |
| 108 | func (*StorageClassList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } |
| 109 | |
| 110 | func (m *VolumeAttachment) Reset() { *m = VolumeAttachment{} } |
| 111 | func (*VolumeAttachment) ProtoMessage() {} |
| 112 | func (*VolumeAttachment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } |
| 113 | |
| 114 | func (m *VolumeAttachmentList) Reset() { *m = VolumeAttachmentList{} } |
| 115 | func (*VolumeAttachmentList) ProtoMessage() {} |
| 116 | func (*VolumeAttachmentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } |
| 117 | |
| 118 | func (m *VolumeAttachmentSource) Reset() { *m = VolumeAttachmentSource{} } |
| 119 | func (*VolumeAttachmentSource) ProtoMessage() {} |
| 120 | func (*VolumeAttachmentSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } |
| 121 | |
| 122 | func (m *VolumeAttachmentSpec) Reset() { *m = VolumeAttachmentSpec{} } |
| 123 | func (*VolumeAttachmentSpec) ProtoMessage() {} |
| 124 | func (*VolumeAttachmentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } |
| 125 | |
| 126 | func (m *VolumeAttachmentStatus) Reset() { *m = VolumeAttachmentStatus{} } |
| 127 | func (*VolumeAttachmentStatus) ProtoMessage() {} |
| 128 | func (*VolumeAttachmentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } |
| 129 | |
| 130 | func (m *VolumeError) Reset() { *m = VolumeError{} } |
| 131 | func (*VolumeError) ProtoMessage() {} |
| 132 | func (*VolumeError) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } |
| 133 | |
| 134 | func init() { |
| 135 | proto.RegisterType((*CSIDriver)(nil), "k8s.io.api.storage.v1beta1.CSIDriver") |
| 136 | proto.RegisterType((*CSIDriverList)(nil), "k8s.io.api.storage.v1beta1.CSIDriverList") |
| 137 | proto.RegisterType((*CSIDriverSpec)(nil), "k8s.io.api.storage.v1beta1.CSIDriverSpec") |
| 138 | proto.RegisterType((*CSINode)(nil), "k8s.io.api.storage.v1beta1.CSINode") |
| 139 | proto.RegisterType((*CSINodeDriver)(nil), "k8s.io.api.storage.v1beta1.CSINodeDriver") |
| 140 | proto.RegisterType((*CSINodeList)(nil), "k8s.io.api.storage.v1beta1.CSINodeList") |
| 141 | proto.RegisterType((*CSINodeSpec)(nil), "k8s.io.api.storage.v1beta1.CSINodeSpec") |
| 142 | proto.RegisterType((*StorageClass)(nil), "k8s.io.api.storage.v1beta1.StorageClass") |
| 143 | proto.RegisterType((*StorageClassList)(nil), "k8s.io.api.storage.v1beta1.StorageClassList") |
| 144 | proto.RegisterType((*VolumeAttachment)(nil), "k8s.io.api.storage.v1beta1.VolumeAttachment") |
| 145 | proto.RegisterType((*VolumeAttachmentList)(nil), "k8s.io.api.storage.v1beta1.VolumeAttachmentList") |
| 146 | proto.RegisterType((*VolumeAttachmentSource)(nil), "k8s.io.api.storage.v1beta1.VolumeAttachmentSource") |
| 147 | proto.RegisterType((*VolumeAttachmentSpec)(nil), "k8s.io.api.storage.v1beta1.VolumeAttachmentSpec") |
| 148 | proto.RegisterType((*VolumeAttachmentStatus)(nil), "k8s.io.api.storage.v1beta1.VolumeAttachmentStatus") |
| 149 | proto.RegisterType((*VolumeError)(nil), "k8s.io.api.storage.v1beta1.VolumeError") |
| 150 | } |
| 151 | func (m *CSIDriver) Marshal() (dAtA []byte, err error) { |
| 152 | size := m.Size() |
| 153 | dAtA = make([]byte, size) |
| 154 | n, err := m.MarshalTo(dAtA) |
| 155 | if err != nil { |
| 156 | return nil, err |
| 157 | } |
| 158 | return dAtA[:n], nil |
| 159 | } |
| 160 | |
| 161 | func (m *CSIDriver) MarshalTo(dAtA []byte) (int, error) { |
| 162 | var i int |
| 163 | _ = i |
| 164 | var l int |
| 165 | _ = l |
| 166 | dAtA[i] = 0xa |
| 167 | i++ |
| 168 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 169 | n1, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 170 | if err != nil { |
| 171 | return 0, err |
| 172 | } |
| 173 | i += n1 |
| 174 | dAtA[i] = 0x12 |
| 175 | i++ |
| 176 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 177 | n2, err := m.Spec.MarshalTo(dAtA[i:]) |
| 178 | if err != nil { |
| 179 | return 0, err |
| 180 | } |
| 181 | i += n2 |
| 182 | return i, nil |
| 183 | } |
| 184 | |
| 185 | func (m *CSIDriverList) Marshal() (dAtA []byte, err error) { |
| 186 | size := m.Size() |
| 187 | dAtA = make([]byte, size) |
| 188 | n, err := m.MarshalTo(dAtA) |
| 189 | if err != nil { |
| 190 | return nil, err |
| 191 | } |
| 192 | return dAtA[:n], nil |
| 193 | } |
| 194 | |
| 195 | func (m *CSIDriverList) MarshalTo(dAtA []byte) (int, error) { |
| 196 | var i int |
| 197 | _ = i |
| 198 | var l int |
| 199 | _ = l |
| 200 | dAtA[i] = 0xa |
| 201 | i++ |
| 202 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 203 | n3, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 204 | if err != nil { |
| 205 | return 0, err |
| 206 | } |
| 207 | i += n3 |
| 208 | if len(m.Items) > 0 { |
| 209 | for _, msg := range m.Items { |
| 210 | dAtA[i] = 0x12 |
| 211 | i++ |
| 212 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 213 | n, err := msg.MarshalTo(dAtA[i:]) |
| 214 | if err != nil { |
| 215 | return 0, err |
| 216 | } |
| 217 | i += n |
| 218 | } |
| 219 | } |
| 220 | return i, nil |
| 221 | } |
| 222 | |
| 223 | func (m *CSIDriverSpec) Marshal() (dAtA []byte, err error) { |
| 224 | size := m.Size() |
| 225 | dAtA = make([]byte, size) |
| 226 | n, err := m.MarshalTo(dAtA) |
| 227 | if err != nil { |
| 228 | return nil, err |
| 229 | } |
| 230 | return dAtA[:n], nil |
| 231 | } |
| 232 | |
| 233 | func (m *CSIDriverSpec) MarshalTo(dAtA []byte) (int, error) { |
| 234 | var i int |
| 235 | _ = i |
| 236 | var l int |
| 237 | _ = l |
| 238 | if m.AttachRequired != nil { |
| 239 | dAtA[i] = 0x8 |
| 240 | i++ |
| 241 | if *m.AttachRequired { |
| 242 | dAtA[i] = 1 |
| 243 | } else { |
| 244 | dAtA[i] = 0 |
| 245 | } |
| 246 | i++ |
| 247 | } |
| 248 | if m.PodInfoOnMount != nil { |
| 249 | dAtA[i] = 0x10 |
| 250 | i++ |
| 251 | if *m.PodInfoOnMount { |
| 252 | dAtA[i] = 1 |
| 253 | } else { |
| 254 | dAtA[i] = 0 |
| 255 | } |
| 256 | i++ |
| 257 | } |
| 258 | return i, nil |
| 259 | } |
| 260 | |
| 261 | func (m *CSINode) Marshal() (dAtA []byte, err error) { |
| 262 | size := m.Size() |
| 263 | dAtA = make([]byte, size) |
| 264 | n, err := m.MarshalTo(dAtA) |
| 265 | if err != nil { |
| 266 | return nil, err |
| 267 | } |
| 268 | return dAtA[:n], nil |
| 269 | } |
| 270 | |
| 271 | func (m *CSINode) MarshalTo(dAtA []byte) (int, error) { |
| 272 | var i int |
| 273 | _ = i |
| 274 | var l int |
| 275 | _ = l |
| 276 | dAtA[i] = 0xa |
| 277 | i++ |
| 278 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 279 | n4, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 280 | if err != nil { |
| 281 | return 0, err |
| 282 | } |
| 283 | i += n4 |
| 284 | dAtA[i] = 0x12 |
| 285 | i++ |
| 286 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 287 | n5, err := m.Spec.MarshalTo(dAtA[i:]) |
| 288 | if err != nil { |
| 289 | return 0, err |
| 290 | } |
| 291 | i += n5 |
| 292 | return i, nil |
| 293 | } |
| 294 | |
| 295 | func (m *CSINodeDriver) Marshal() (dAtA []byte, err error) { |
| 296 | size := m.Size() |
| 297 | dAtA = make([]byte, size) |
| 298 | n, err := m.MarshalTo(dAtA) |
| 299 | if err != nil { |
| 300 | return nil, err |
| 301 | } |
| 302 | return dAtA[:n], nil |
| 303 | } |
| 304 | |
| 305 | func (m *CSINodeDriver) MarshalTo(dAtA []byte) (int, error) { |
| 306 | var i int |
| 307 | _ = i |
| 308 | var l int |
| 309 | _ = l |
| 310 | dAtA[i] = 0xa |
| 311 | i++ |
| 312 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 313 | i += copy(dAtA[i:], m.Name) |
| 314 | dAtA[i] = 0x12 |
| 315 | i++ |
| 316 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.NodeID))) |
| 317 | i += copy(dAtA[i:], m.NodeID) |
| 318 | if len(m.TopologyKeys) > 0 { |
| 319 | for _, s := range m.TopologyKeys { |
| 320 | dAtA[i] = 0x1a |
| 321 | i++ |
| 322 | l = len(s) |
| 323 | for l >= 1<<7 { |
| 324 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 325 | l >>= 7 |
| 326 | i++ |
| 327 | } |
| 328 | dAtA[i] = uint8(l) |
| 329 | i++ |
| 330 | i += copy(dAtA[i:], s) |
| 331 | } |
| 332 | } |
| 333 | return i, nil |
| 334 | } |
| 335 | |
| 336 | func (m *CSINodeList) Marshal() (dAtA []byte, err error) { |
| 337 | size := m.Size() |
| 338 | dAtA = make([]byte, size) |
| 339 | n, err := m.MarshalTo(dAtA) |
| 340 | if err != nil { |
| 341 | return nil, err |
| 342 | } |
| 343 | return dAtA[:n], nil |
| 344 | } |
| 345 | |
| 346 | func (m *CSINodeList) MarshalTo(dAtA []byte) (int, error) { |
| 347 | var i int |
| 348 | _ = i |
| 349 | var l int |
| 350 | _ = l |
| 351 | dAtA[i] = 0xa |
| 352 | i++ |
| 353 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 354 | n6, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 355 | if err != nil { |
| 356 | return 0, err |
| 357 | } |
| 358 | i += n6 |
| 359 | if len(m.Items) > 0 { |
| 360 | for _, msg := range m.Items { |
| 361 | dAtA[i] = 0x12 |
| 362 | i++ |
| 363 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 364 | n, err := msg.MarshalTo(dAtA[i:]) |
| 365 | if err != nil { |
| 366 | return 0, err |
| 367 | } |
| 368 | i += n |
| 369 | } |
| 370 | } |
| 371 | return i, nil |
| 372 | } |
| 373 | |
| 374 | func (m *CSINodeSpec) Marshal() (dAtA []byte, err error) { |
| 375 | size := m.Size() |
| 376 | dAtA = make([]byte, size) |
| 377 | n, err := m.MarshalTo(dAtA) |
| 378 | if err != nil { |
| 379 | return nil, err |
| 380 | } |
| 381 | return dAtA[:n], nil |
| 382 | } |
| 383 | |
| 384 | func (m *CSINodeSpec) MarshalTo(dAtA []byte) (int, error) { |
| 385 | var i int |
| 386 | _ = i |
| 387 | var l int |
| 388 | _ = l |
| 389 | if len(m.Drivers) > 0 { |
| 390 | for _, msg := range m.Drivers { |
| 391 | dAtA[i] = 0xa |
| 392 | i++ |
| 393 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 394 | n, err := msg.MarshalTo(dAtA[i:]) |
| 395 | if err != nil { |
| 396 | return 0, err |
| 397 | } |
| 398 | i += n |
| 399 | } |
| 400 | } |
| 401 | return i, nil |
| 402 | } |
| 403 | |
| 404 | func (m *StorageClass) Marshal() (dAtA []byte, err error) { |
| 405 | size := m.Size() |
| 406 | dAtA = make([]byte, size) |
| 407 | n, err := m.MarshalTo(dAtA) |
| 408 | if err != nil { |
| 409 | return nil, err |
| 410 | } |
| 411 | return dAtA[:n], nil |
| 412 | } |
| 413 | |
| 414 | func (m *StorageClass) MarshalTo(dAtA []byte) (int, error) { |
| 415 | var i int |
| 416 | _ = i |
| 417 | var l int |
| 418 | _ = l |
| 419 | dAtA[i] = 0xa |
| 420 | i++ |
| 421 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 422 | n7, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 423 | if err != nil { |
| 424 | return 0, err |
| 425 | } |
| 426 | i += n7 |
| 427 | dAtA[i] = 0x12 |
| 428 | i++ |
| 429 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Provisioner))) |
| 430 | i += copy(dAtA[i:], m.Provisioner) |
| 431 | if len(m.Parameters) > 0 { |
| 432 | keysForParameters := make([]string, 0, len(m.Parameters)) |
| 433 | for k := range m.Parameters { |
| 434 | keysForParameters = append(keysForParameters, string(k)) |
| 435 | } |
| 436 | github_com_gogo_protobuf_sortkeys.Strings(keysForParameters) |
| 437 | for _, k := range keysForParameters { |
| 438 | dAtA[i] = 0x1a |
| 439 | i++ |
| 440 | v := m.Parameters[string(k)] |
| 441 | mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 442 | i = encodeVarintGenerated(dAtA, i, uint64(mapSize)) |
| 443 | dAtA[i] = 0xa |
| 444 | i++ |
| 445 | i = encodeVarintGenerated(dAtA, i, uint64(len(k))) |
| 446 | i += copy(dAtA[i:], k) |
| 447 | dAtA[i] = 0x12 |
| 448 | i++ |
| 449 | i = encodeVarintGenerated(dAtA, i, uint64(len(v))) |
| 450 | i += copy(dAtA[i:], v) |
| 451 | } |
| 452 | } |
| 453 | if m.ReclaimPolicy != nil { |
| 454 | dAtA[i] = 0x22 |
| 455 | i++ |
| 456 | i = encodeVarintGenerated(dAtA, i, uint64(len(*m.ReclaimPolicy))) |
| 457 | i += copy(dAtA[i:], *m.ReclaimPolicy) |
| 458 | } |
| 459 | if len(m.MountOptions) > 0 { |
| 460 | for _, s := range m.MountOptions { |
| 461 | dAtA[i] = 0x2a |
| 462 | i++ |
| 463 | l = len(s) |
| 464 | for l >= 1<<7 { |
| 465 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 466 | l >>= 7 |
| 467 | i++ |
| 468 | } |
| 469 | dAtA[i] = uint8(l) |
| 470 | i++ |
| 471 | i += copy(dAtA[i:], s) |
| 472 | } |
| 473 | } |
| 474 | if m.AllowVolumeExpansion != nil { |
| 475 | dAtA[i] = 0x30 |
| 476 | i++ |
| 477 | if *m.AllowVolumeExpansion { |
| 478 | dAtA[i] = 1 |
| 479 | } else { |
| 480 | dAtA[i] = 0 |
| 481 | } |
| 482 | i++ |
| 483 | } |
| 484 | if m.VolumeBindingMode != nil { |
| 485 | dAtA[i] = 0x3a |
| 486 | i++ |
| 487 | i = encodeVarintGenerated(dAtA, i, uint64(len(*m.VolumeBindingMode))) |
| 488 | i += copy(dAtA[i:], *m.VolumeBindingMode) |
| 489 | } |
| 490 | if len(m.AllowedTopologies) > 0 { |
| 491 | for _, msg := range m.AllowedTopologies { |
| 492 | dAtA[i] = 0x42 |
| 493 | i++ |
| 494 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 495 | n, err := msg.MarshalTo(dAtA[i:]) |
| 496 | if err != nil { |
| 497 | return 0, err |
| 498 | } |
| 499 | i += n |
| 500 | } |
| 501 | } |
| 502 | return i, nil |
| 503 | } |
| 504 | |
| 505 | func (m *StorageClassList) Marshal() (dAtA []byte, err error) { |
| 506 | size := m.Size() |
| 507 | dAtA = make([]byte, size) |
| 508 | n, err := m.MarshalTo(dAtA) |
| 509 | if err != nil { |
| 510 | return nil, err |
| 511 | } |
| 512 | return dAtA[:n], nil |
| 513 | } |
| 514 | |
| 515 | func (m *StorageClassList) MarshalTo(dAtA []byte) (int, error) { |
| 516 | var i int |
| 517 | _ = i |
| 518 | var l int |
| 519 | _ = l |
| 520 | dAtA[i] = 0xa |
| 521 | i++ |
| 522 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 523 | n8, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 524 | if err != nil { |
| 525 | return 0, err |
| 526 | } |
| 527 | i += n8 |
| 528 | if len(m.Items) > 0 { |
| 529 | for _, msg := range m.Items { |
| 530 | dAtA[i] = 0x12 |
| 531 | i++ |
| 532 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 533 | n, err := msg.MarshalTo(dAtA[i:]) |
| 534 | if err != nil { |
| 535 | return 0, err |
| 536 | } |
| 537 | i += n |
| 538 | } |
| 539 | } |
| 540 | return i, nil |
| 541 | } |
| 542 | |
| 543 | func (m *VolumeAttachment) Marshal() (dAtA []byte, err error) { |
| 544 | size := m.Size() |
| 545 | dAtA = make([]byte, size) |
| 546 | n, err := m.MarshalTo(dAtA) |
| 547 | if err != nil { |
| 548 | return nil, err |
| 549 | } |
| 550 | return dAtA[:n], nil |
| 551 | } |
| 552 | |
| 553 | func (m *VolumeAttachment) MarshalTo(dAtA []byte) (int, error) { |
| 554 | var i int |
| 555 | _ = i |
| 556 | var l int |
| 557 | _ = l |
| 558 | dAtA[i] = 0xa |
| 559 | i++ |
| 560 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 561 | n9, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 562 | if err != nil { |
| 563 | return 0, err |
| 564 | } |
| 565 | i += n9 |
| 566 | dAtA[i] = 0x12 |
| 567 | i++ |
| 568 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 569 | n10, err := m.Spec.MarshalTo(dAtA[i:]) |
| 570 | if err != nil { |
| 571 | return 0, err |
| 572 | } |
| 573 | i += n10 |
| 574 | dAtA[i] = 0x1a |
| 575 | i++ |
| 576 | i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 577 | n11, err := m.Status.MarshalTo(dAtA[i:]) |
| 578 | if err != nil { |
| 579 | return 0, err |
| 580 | } |
| 581 | i += n11 |
| 582 | return i, nil |
| 583 | } |
| 584 | |
| 585 | func (m *VolumeAttachmentList) Marshal() (dAtA []byte, err error) { |
| 586 | size := m.Size() |
| 587 | dAtA = make([]byte, size) |
| 588 | n, err := m.MarshalTo(dAtA) |
| 589 | if err != nil { |
| 590 | return nil, err |
| 591 | } |
| 592 | return dAtA[:n], nil |
| 593 | } |
| 594 | |
| 595 | func (m *VolumeAttachmentList) MarshalTo(dAtA []byte) (int, error) { |
| 596 | var i int |
| 597 | _ = i |
| 598 | var l int |
| 599 | _ = l |
| 600 | dAtA[i] = 0xa |
| 601 | i++ |
| 602 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 603 | n12, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 604 | if err != nil { |
| 605 | return 0, err |
| 606 | } |
| 607 | i += n12 |
| 608 | if len(m.Items) > 0 { |
| 609 | for _, msg := range m.Items { |
| 610 | dAtA[i] = 0x12 |
| 611 | i++ |
| 612 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 613 | n, err := msg.MarshalTo(dAtA[i:]) |
| 614 | if err != nil { |
| 615 | return 0, err |
| 616 | } |
| 617 | i += n |
| 618 | } |
| 619 | } |
| 620 | return i, nil |
| 621 | } |
| 622 | |
| 623 | func (m *VolumeAttachmentSource) Marshal() (dAtA []byte, err error) { |
| 624 | size := m.Size() |
| 625 | dAtA = make([]byte, size) |
| 626 | n, err := m.MarshalTo(dAtA) |
| 627 | if err != nil { |
| 628 | return nil, err |
| 629 | } |
| 630 | return dAtA[:n], nil |
| 631 | } |
| 632 | |
| 633 | func (m *VolumeAttachmentSource) MarshalTo(dAtA []byte) (int, error) { |
| 634 | var i int |
| 635 | _ = i |
| 636 | var l int |
| 637 | _ = l |
| 638 | if m.PersistentVolumeName != nil { |
| 639 | dAtA[i] = 0xa |
| 640 | i++ |
| 641 | i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PersistentVolumeName))) |
| 642 | i += copy(dAtA[i:], *m.PersistentVolumeName) |
| 643 | } |
| 644 | if m.InlineVolumeSpec != nil { |
| 645 | dAtA[i] = 0x12 |
| 646 | i++ |
| 647 | i = encodeVarintGenerated(dAtA, i, uint64(m.InlineVolumeSpec.Size())) |
| 648 | n13, err := m.InlineVolumeSpec.MarshalTo(dAtA[i:]) |
| 649 | if err != nil { |
| 650 | return 0, err |
| 651 | } |
| 652 | i += n13 |
| 653 | } |
| 654 | return i, nil |
| 655 | } |
| 656 | |
| 657 | func (m *VolumeAttachmentSpec) Marshal() (dAtA []byte, err error) { |
| 658 | size := m.Size() |
| 659 | dAtA = make([]byte, size) |
| 660 | n, err := m.MarshalTo(dAtA) |
| 661 | if err != nil { |
| 662 | return nil, err |
| 663 | } |
| 664 | return dAtA[:n], nil |
| 665 | } |
| 666 | |
| 667 | func (m *VolumeAttachmentSpec) MarshalTo(dAtA []byte) (int, error) { |
| 668 | var i int |
| 669 | _ = i |
| 670 | var l int |
| 671 | _ = l |
| 672 | dAtA[i] = 0xa |
| 673 | i++ |
| 674 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Attacher))) |
| 675 | i += copy(dAtA[i:], m.Attacher) |
| 676 | dAtA[i] = 0x12 |
| 677 | i++ |
| 678 | i = encodeVarintGenerated(dAtA, i, uint64(m.Source.Size())) |
| 679 | n14, err := m.Source.MarshalTo(dAtA[i:]) |
| 680 | if err != nil { |
| 681 | return 0, err |
| 682 | } |
| 683 | i += n14 |
| 684 | dAtA[i] = 0x1a |
| 685 | i++ |
| 686 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.NodeName))) |
| 687 | i += copy(dAtA[i:], m.NodeName) |
| 688 | return i, nil |
| 689 | } |
| 690 | |
| 691 | func (m *VolumeAttachmentStatus) Marshal() (dAtA []byte, err error) { |
| 692 | size := m.Size() |
| 693 | dAtA = make([]byte, size) |
| 694 | n, err := m.MarshalTo(dAtA) |
| 695 | if err != nil { |
| 696 | return nil, err |
| 697 | } |
| 698 | return dAtA[:n], nil |
| 699 | } |
| 700 | |
| 701 | func (m *VolumeAttachmentStatus) MarshalTo(dAtA []byte) (int, error) { |
| 702 | var i int |
| 703 | _ = i |
| 704 | var l int |
| 705 | _ = l |
| 706 | dAtA[i] = 0x8 |
| 707 | i++ |
| 708 | if m.Attached { |
| 709 | dAtA[i] = 1 |
| 710 | } else { |
| 711 | dAtA[i] = 0 |
| 712 | } |
| 713 | i++ |
| 714 | if len(m.AttachmentMetadata) > 0 { |
| 715 | keysForAttachmentMetadata := make([]string, 0, len(m.AttachmentMetadata)) |
| 716 | for k := range m.AttachmentMetadata { |
| 717 | keysForAttachmentMetadata = append(keysForAttachmentMetadata, string(k)) |
| 718 | } |
| 719 | github_com_gogo_protobuf_sortkeys.Strings(keysForAttachmentMetadata) |
| 720 | for _, k := range keysForAttachmentMetadata { |
| 721 | dAtA[i] = 0x12 |
| 722 | i++ |
| 723 | v := m.AttachmentMetadata[string(k)] |
| 724 | mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 725 | i = encodeVarintGenerated(dAtA, i, uint64(mapSize)) |
| 726 | dAtA[i] = 0xa |
| 727 | i++ |
| 728 | i = encodeVarintGenerated(dAtA, i, uint64(len(k))) |
| 729 | i += copy(dAtA[i:], k) |
| 730 | dAtA[i] = 0x12 |
| 731 | i++ |
| 732 | i = encodeVarintGenerated(dAtA, i, uint64(len(v))) |
| 733 | i += copy(dAtA[i:], v) |
| 734 | } |
| 735 | } |
| 736 | if m.AttachError != nil { |
| 737 | dAtA[i] = 0x1a |
| 738 | i++ |
| 739 | i = encodeVarintGenerated(dAtA, i, uint64(m.AttachError.Size())) |
| 740 | n15, err := m.AttachError.MarshalTo(dAtA[i:]) |
| 741 | if err != nil { |
| 742 | return 0, err |
| 743 | } |
| 744 | i += n15 |
| 745 | } |
| 746 | if m.DetachError != nil { |
| 747 | dAtA[i] = 0x22 |
| 748 | i++ |
| 749 | i = encodeVarintGenerated(dAtA, i, uint64(m.DetachError.Size())) |
| 750 | n16, err := m.DetachError.MarshalTo(dAtA[i:]) |
| 751 | if err != nil { |
| 752 | return 0, err |
| 753 | } |
| 754 | i += n16 |
| 755 | } |
| 756 | return i, nil |
| 757 | } |
| 758 | |
| 759 | func (m *VolumeError) Marshal() (dAtA []byte, err error) { |
| 760 | size := m.Size() |
| 761 | dAtA = make([]byte, size) |
| 762 | n, err := m.MarshalTo(dAtA) |
| 763 | if err != nil { |
| 764 | return nil, err |
| 765 | } |
| 766 | return dAtA[:n], nil |
| 767 | } |
| 768 | |
| 769 | func (m *VolumeError) MarshalTo(dAtA []byte) (int, error) { |
| 770 | var i int |
| 771 | _ = i |
| 772 | var l int |
| 773 | _ = l |
| 774 | dAtA[i] = 0xa |
| 775 | i++ |
| 776 | i = encodeVarintGenerated(dAtA, i, uint64(m.Time.Size())) |
| 777 | n17, err := m.Time.MarshalTo(dAtA[i:]) |
| 778 | if err != nil { |
| 779 | return 0, err |
| 780 | } |
| 781 | i += n17 |
| 782 | dAtA[i] = 0x12 |
| 783 | i++ |
| 784 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 785 | i += copy(dAtA[i:], m.Message) |
| 786 | return i, nil |
| 787 | } |
| 788 | |
| 789 | func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { |
| 790 | for v >= 1<<7 { |
| 791 | dAtA[offset] = uint8(v&0x7f | 0x80) |
| 792 | v >>= 7 |
| 793 | offset++ |
| 794 | } |
| 795 | dAtA[offset] = uint8(v) |
| 796 | return offset + 1 |
| 797 | } |
| 798 | func (m *CSIDriver) Size() (n int) { |
| 799 | var l int |
| 800 | _ = l |
| 801 | l = m.ObjectMeta.Size() |
| 802 | n += 1 + l + sovGenerated(uint64(l)) |
| 803 | l = m.Spec.Size() |
| 804 | n += 1 + l + sovGenerated(uint64(l)) |
| 805 | return n |
| 806 | } |
| 807 | |
| 808 | func (m *CSIDriverList) Size() (n int) { |
| 809 | var l int |
| 810 | _ = l |
| 811 | l = m.ListMeta.Size() |
| 812 | n += 1 + l + sovGenerated(uint64(l)) |
| 813 | if len(m.Items) > 0 { |
| 814 | for _, e := range m.Items { |
| 815 | l = e.Size() |
| 816 | n += 1 + l + sovGenerated(uint64(l)) |
| 817 | } |
| 818 | } |
| 819 | return n |
| 820 | } |
| 821 | |
| 822 | func (m *CSIDriverSpec) Size() (n int) { |
| 823 | var l int |
| 824 | _ = l |
| 825 | if m.AttachRequired != nil { |
| 826 | n += 2 |
| 827 | } |
| 828 | if m.PodInfoOnMount != nil { |
| 829 | n += 2 |
| 830 | } |
| 831 | return n |
| 832 | } |
| 833 | |
| 834 | func (m *CSINode) Size() (n int) { |
| 835 | var l int |
| 836 | _ = l |
| 837 | l = m.ObjectMeta.Size() |
| 838 | n += 1 + l + sovGenerated(uint64(l)) |
| 839 | l = m.Spec.Size() |
| 840 | n += 1 + l + sovGenerated(uint64(l)) |
| 841 | return n |
| 842 | } |
| 843 | |
| 844 | func (m *CSINodeDriver) Size() (n int) { |
| 845 | var l int |
| 846 | _ = l |
| 847 | l = len(m.Name) |
| 848 | n += 1 + l + sovGenerated(uint64(l)) |
| 849 | l = len(m.NodeID) |
| 850 | n += 1 + l + sovGenerated(uint64(l)) |
| 851 | if len(m.TopologyKeys) > 0 { |
| 852 | for _, s := range m.TopologyKeys { |
| 853 | l = len(s) |
| 854 | n += 1 + l + sovGenerated(uint64(l)) |
| 855 | } |
| 856 | } |
| 857 | return n |
| 858 | } |
| 859 | |
| 860 | func (m *CSINodeList) Size() (n int) { |
| 861 | var l int |
| 862 | _ = l |
| 863 | l = m.ListMeta.Size() |
| 864 | n += 1 + l + sovGenerated(uint64(l)) |
| 865 | if len(m.Items) > 0 { |
| 866 | for _, e := range m.Items { |
| 867 | l = e.Size() |
| 868 | n += 1 + l + sovGenerated(uint64(l)) |
| 869 | } |
| 870 | } |
| 871 | return n |
| 872 | } |
| 873 | |
| 874 | func (m *CSINodeSpec) Size() (n int) { |
| 875 | var l int |
| 876 | _ = l |
| 877 | if len(m.Drivers) > 0 { |
| 878 | for _, e := range m.Drivers { |
| 879 | l = e.Size() |
| 880 | n += 1 + l + sovGenerated(uint64(l)) |
| 881 | } |
| 882 | } |
| 883 | return n |
| 884 | } |
| 885 | |
| 886 | func (m *StorageClass) Size() (n int) { |
| 887 | var l int |
| 888 | _ = l |
| 889 | l = m.ObjectMeta.Size() |
| 890 | n += 1 + l + sovGenerated(uint64(l)) |
| 891 | l = len(m.Provisioner) |
| 892 | n += 1 + l + sovGenerated(uint64(l)) |
| 893 | if len(m.Parameters) > 0 { |
| 894 | for k, v := range m.Parameters { |
| 895 | _ = k |
| 896 | _ = v |
| 897 | mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 898 | n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 899 | } |
| 900 | } |
| 901 | if m.ReclaimPolicy != nil { |
| 902 | l = len(*m.ReclaimPolicy) |
| 903 | n += 1 + l + sovGenerated(uint64(l)) |
| 904 | } |
| 905 | if len(m.MountOptions) > 0 { |
| 906 | for _, s := range m.MountOptions { |
| 907 | l = len(s) |
| 908 | n += 1 + l + sovGenerated(uint64(l)) |
| 909 | } |
| 910 | } |
| 911 | if m.AllowVolumeExpansion != nil { |
| 912 | n += 2 |
| 913 | } |
| 914 | if m.VolumeBindingMode != nil { |
| 915 | l = len(*m.VolumeBindingMode) |
| 916 | n += 1 + l + sovGenerated(uint64(l)) |
| 917 | } |
| 918 | if len(m.AllowedTopologies) > 0 { |
| 919 | for _, e := range m.AllowedTopologies { |
| 920 | l = e.Size() |
| 921 | n += 1 + l + sovGenerated(uint64(l)) |
| 922 | } |
| 923 | } |
| 924 | return n |
| 925 | } |
| 926 | |
| 927 | func (m *StorageClassList) Size() (n int) { |
| 928 | var l int |
| 929 | _ = l |
| 930 | l = m.ListMeta.Size() |
| 931 | n += 1 + l + sovGenerated(uint64(l)) |
| 932 | if len(m.Items) > 0 { |
| 933 | for _, e := range m.Items { |
| 934 | l = e.Size() |
| 935 | n += 1 + l + sovGenerated(uint64(l)) |
| 936 | } |
| 937 | } |
| 938 | return n |
| 939 | } |
| 940 | |
| 941 | func (m *VolumeAttachment) Size() (n int) { |
| 942 | var l int |
| 943 | _ = l |
| 944 | l = m.ObjectMeta.Size() |
| 945 | n += 1 + l + sovGenerated(uint64(l)) |
| 946 | l = m.Spec.Size() |
| 947 | n += 1 + l + sovGenerated(uint64(l)) |
| 948 | l = m.Status.Size() |
| 949 | n += 1 + l + sovGenerated(uint64(l)) |
| 950 | return n |
| 951 | } |
| 952 | |
| 953 | func (m *VolumeAttachmentList) Size() (n int) { |
| 954 | var l int |
| 955 | _ = l |
| 956 | l = m.ListMeta.Size() |
| 957 | n += 1 + l + sovGenerated(uint64(l)) |
| 958 | if len(m.Items) > 0 { |
| 959 | for _, e := range m.Items { |
| 960 | l = e.Size() |
| 961 | n += 1 + l + sovGenerated(uint64(l)) |
| 962 | } |
| 963 | } |
| 964 | return n |
| 965 | } |
| 966 | |
| 967 | func (m *VolumeAttachmentSource) Size() (n int) { |
| 968 | var l int |
| 969 | _ = l |
| 970 | if m.PersistentVolumeName != nil { |
| 971 | l = len(*m.PersistentVolumeName) |
| 972 | n += 1 + l + sovGenerated(uint64(l)) |
| 973 | } |
| 974 | if m.InlineVolumeSpec != nil { |
| 975 | l = m.InlineVolumeSpec.Size() |
| 976 | n += 1 + l + sovGenerated(uint64(l)) |
| 977 | } |
| 978 | return n |
| 979 | } |
| 980 | |
| 981 | func (m *VolumeAttachmentSpec) Size() (n int) { |
| 982 | var l int |
| 983 | _ = l |
| 984 | l = len(m.Attacher) |
| 985 | n += 1 + l + sovGenerated(uint64(l)) |
| 986 | l = m.Source.Size() |
| 987 | n += 1 + l + sovGenerated(uint64(l)) |
| 988 | l = len(m.NodeName) |
| 989 | n += 1 + l + sovGenerated(uint64(l)) |
| 990 | return n |
| 991 | } |
| 992 | |
| 993 | func (m *VolumeAttachmentStatus) Size() (n int) { |
| 994 | var l int |
| 995 | _ = l |
| 996 | n += 2 |
| 997 | if len(m.AttachmentMetadata) > 0 { |
| 998 | for k, v := range m.AttachmentMetadata { |
| 999 | _ = k |
| 1000 | _ = v |
| 1001 | mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 1002 | n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 1003 | } |
| 1004 | } |
| 1005 | if m.AttachError != nil { |
| 1006 | l = m.AttachError.Size() |
| 1007 | n += 1 + l + sovGenerated(uint64(l)) |
| 1008 | } |
| 1009 | if m.DetachError != nil { |
| 1010 | l = m.DetachError.Size() |
| 1011 | n += 1 + l + sovGenerated(uint64(l)) |
| 1012 | } |
| 1013 | return n |
| 1014 | } |
| 1015 | |
| 1016 | func (m *VolumeError) Size() (n int) { |
| 1017 | var l int |
| 1018 | _ = l |
| 1019 | l = m.Time.Size() |
| 1020 | n += 1 + l + sovGenerated(uint64(l)) |
| 1021 | l = len(m.Message) |
| 1022 | n += 1 + l + sovGenerated(uint64(l)) |
| 1023 | return n |
| 1024 | } |
| 1025 | |
| 1026 | func sovGenerated(x uint64) (n int) { |
| 1027 | for { |
| 1028 | n++ |
| 1029 | x >>= 7 |
| 1030 | if x == 0 { |
| 1031 | break |
| 1032 | } |
| 1033 | } |
| 1034 | return n |
| 1035 | } |
| 1036 | func sozGenerated(x uint64) (n int) { |
| 1037 | return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 1038 | } |
| 1039 | func (this *CSIDriver) String() string { |
| 1040 | if this == nil { |
| 1041 | return "nil" |
| 1042 | } |
| 1043 | s := strings.Join([]string{`&CSIDriver{`, |
| 1044 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 1045 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "CSIDriverSpec", "CSIDriverSpec", 1), `&`, ``, 1) + `,`, |
| 1046 | `}`, |
| 1047 | }, "") |
| 1048 | return s |
| 1049 | } |
| 1050 | func (this *CSIDriverList) String() string { |
| 1051 | if this == nil { |
| 1052 | return "nil" |
| 1053 | } |
| 1054 | s := strings.Join([]string{`&CSIDriverList{`, |
| 1055 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 1056 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "CSIDriver", "CSIDriver", 1), `&`, ``, 1) + `,`, |
| 1057 | `}`, |
| 1058 | }, "") |
| 1059 | return s |
| 1060 | } |
| 1061 | func (this *CSIDriverSpec) String() string { |
| 1062 | if this == nil { |
| 1063 | return "nil" |
| 1064 | } |
| 1065 | s := strings.Join([]string{`&CSIDriverSpec{`, |
| 1066 | `AttachRequired:` + valueToStringGenerated(this.AttachRequired) + `,`, |
| 1067 | `PodInfoOnMount:` + valueToStringGenerated(this.PodInfoOnMount) + `,`, |
| 1068 | `}`, |
| 1069 | }, "") |
| 1070 | return s |
| 1071 | } |
| 1072 | func (this *CSINode) String() string { |
| 1073 | if this == nil { |
| 1074 | return "nil" |
| 1075 | } |
| 1076 | s := strings.Join([]string{`&CSINode{`, |
| 1077 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 1078 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "CSINodeSpec", "CSINodeSpec", 1), `&`, ``, 1) + `,`, |
| 1079 | `}`, |
| 1080 | }, "") |
| 1081 | return s |
| 1082 | } |
| 1083 | func (this *CSINodeDriver) String() string { |
| 1084 | if this == nil { |
| 1085 | return "nil" |
| 1086 | } |
| 1087 | s := strings.Join([]string{`&CSINodeDriver{`, |
| 1088 | `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 1089 | `NodeID:` + fmt.Sprintf("%v", this.NodeID) + `,`, |
| 1090 | `TopologyKeys:` + fmt.Sprintf("%v", this.TopologyKeys) + `,`, |
| 1091 | `}`, |
| 1092 | }, "") |
| 1093 | return s |
| 1094 | } |
| 1095 | func (this *CSINodeList) String() string { |
| 1096 | if this == nil { |
| 1097 | return "nil" |
| 1098 | } |
| 1099 | s := strings.Join([]string{`&CSINodeList{`, |
| 1100 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 1101 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "CSINode", "CSINode", 1), `&`, ``, 1) + `,`, |
| 1102 | `}`, |
| 1103 | }, "") |
| 1104 | return s |
| 1105 | } |
| 1106 | func (this *CSINodeSpec) String() string { |
| 1107 | if this == nil { |
| 1108 | return "nil" |
| 1109 | } |
| 1110 | s := strings.Join([]string{`&CSINodeSpec{`, |
| 1111 | `Drivers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Drivers), "CSINodeDriver", "CSINodeDriver", 1), `&`, ``, 1) + `,`, |
| 1112 | `}`, |
| 1113 | }, "") |
| 1114 | return s |
| 1115 | } |
| 1116 | func (this *StorageClass) String() string { |
| 1117 | if this == nil { |
| 1118 | return "nil" |
| 1119 | } |
| 1120 | keysForParameters := make([]string, 0, len(this.Parameters)) |
| 1121 | for k := range this.Parameters { |
| 1122 | keysForParameters = append(keysForParameters, k) |
| 1123 | } |
| 1124 | github_com_gogo_protobuf_sortkeys.Strings(keysForParameters) |
| 1125 | mapStringForParameters := "map[string]string{" |
| 1126 | for _, k := range keysForParameters { |
| 1127 | mapStringForParameters += fmt.Sprintf("%v: %v,", k, this.Parameters[k]) |
| 1128 | } |
| 1129 | mapStringForParameters += "}" |
| 1130 | s := strings.Join([]string{`&StorageClass{`, |
| 1131 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 1132 | `Provisioner:` + fmt.Sprintf("%v", this.Provisioner) + `,`, |
| 1133 | `Parameters:` + mapStringForParameters + `,`, |
| 1134 | `ReclaimPolicy:` + valueToStringGenerated(this.ReclaimPolicy) + `,`, |
| 1135 | `MountOptions:` + fmt.Sprintf("%v", this.MountOptions) + `,`, |
| 1136 | `AllowVolumeExpansion:` + valueToStringGenerated(this.AllowVolumeExpansion) + `,`, |
| 1137 | `VolumeBindingMode:` + valueToStringGenerated(this.VolumeBindingMode) + `,`, |
| 1138 | `AllowedTopologies:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedTopologies), "TopologySelectorTerm", "k8s_io_api_core_v1.TopologySelectorTerm", 1), `&`, ``, 1) + `,`, |
| 1139 | `}`, |
| 1140 | }, "") |
| 1141 | return s |
| 1142 | } |
| 1143 | func (this *StorageClassList) String() string { |
| 1144 | if this == nil { |
| 1145 | return "nil" |
| 1146 | } |
| 1147 | s := strings.Join([]string{`&StorageClassList{`, |
| 1148 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 1149 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "StorageClass", "StorageClass", 1), `&`, ``, 1) + `,`, |
| 1150 | `}`, |
| 1151 | }, "") |
| 1152 | return s |
| 1153 | } |
| 1154 | func (this *VolumeAttachment) String() string { |
| 1155 | if this == nil { |
| 1156 | return "nil" |
| 1157 | } |
| 1158 | s := strings.Join([]string{`&VolumeAttachment{`, |
| 1159 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 1160 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "VolumeAttachmentSpec", "VolumeAttachmentSpec", 1), `&`, ``, 1) + `,`, |
| 1161 | `Status:` + strings.Replace(strings.Replace(this.Status.String(), "VolumeAttachmentStatus", "VolumeAttachmentStatus", 1), `&`, ``, 1) + `,`, |
| 1162 | `}`, |
| 1163 | }, "") |
| 1164 | return s |
| 1165 | } |
| 1166 | func (this *VolumeAttachmentList) String() string { |
| 1167 | if this == nil { |
| 1168 | return "nil" |
| 1169 | } |
| 1170 | s := strings.Join([]string{`&VolumeAttachmentList{`, |
| 1171 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 1172 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "VolumeAttachment", "VolumeAttachment", 1), `&`, ``, 1) + `,`, |
| 1173 | `}`, |
| 1174 | }, "") |
| 1175 | return s |
| 1176 | } |
| 1177 | func (this *VolumeAttachmentSource) String() string { |
| 1178 | if this == nil { |
| 1179 | return "nil" |
| 1180 | } |
| 1181 | s := strings.Join([]string{`&VolumeAttachmentSource{`, |
| 1182 | `PersistentVolumeName:` + valueToStringGenerated(this.PersistentVolumeName) + `,`, |
| 1183 | `InlineVolumeSpec:` + strings.Replace(fmt.Sprintf("%v", this.InlineVolumeSpec), "PersistentVolumeSpec", "k8s_io_api_core_v1.PersistentVolumeSpec", 1) + `,`, |
| 1184 | `}`, |
| 1185 | }, "") |
| 1186 | return s |
| 1187 | } |
| 1188 | func (this *VolumeAttachmentSpec) String() string { |
| 1189 | if this == nil { |
| 1190 | return "nil" |
| 1191 | } |
| 1192 | s := strings.Join([]string{`&VolumeAttachmentSpec{`, |
| 1193 | `Attacher:` + fmt.Sprintf("%v", this.Attacher) + `,`, |
| 1194 | `Source:` + strings.Replace(strings.Replace(this.Source.String(), "VolumeAttachmentSource", "VolumeAttachmentSource", 1), `&`, ``, 1) + `,`, |
| 1195 | `NodeName:` + fmt.Sprintf("%v", this.NodeName) + `,`, |
| 1196 | `}`, |
| 1197 | }, "") |
| 1198 | return s |
| 1199 | } |
| 1200 | func (this *VolumeAttachmentStatus) String() string { |
| 1201 | if this == nil { |
| 1202 | return "nil" |
| 1203 | } |
| 1204 | keysForAttachmentMetadata := make([]string, 0, len(this.AttachmentMetadata)) |
| 1205 | for k := range this.AttachmentMetadata { |
| 1206 | keysForAttachmentMetadata = append(keysForAttachmentMetadata, k) |
| 1207 | } |
| 1208 | github_com_gogo_protobuf_sortkeys.Strings(keysForAttachmentMetadata) |
| 1209 | mapStringForAttachmentMetadata := "map[string]string{" |
| 1210 | for _, k := range keysForAttachmentMetadata { |
| 1211 | mapStringForAttachmentMetadata += fmt.Sprintf("%v: %v,", k, this.AttachmentMetadata[k]) |
| 1212 | } |
| 1213 | mapStringForAttachmentMetadata += "}" |
| 1214 | s := strings.Join([]string{`&VolumeAttachmentStatus{`, |
| 1215 | `Attached:` + fmt.Sprintf("%v", this.Attached) + `,`, |
| 1216 | `AttachmentMetadata:` + mapStringForAttachmentMetadata + `,`, |
| 1217 | `AttachError:` + strings.Replace(fmt.Sprintf("%v", this.AttachError), "VolumeError", "VolumeError", 1) + `,`, |
| 1218 | `DetachError:` + strings.Replace(fmt.Sprintf("%v", this.DetachError), "VolumeError", "VolumeError", 1) + `,`, |
| 1219 | `}`, |
| 1220 | }, "") |
| 1221 | return s |
| 1222 | } |
| 1223 | func (this *VolumeError) String() string { |
| 1224 | if this == nil { |
| 1225 | return "nil" |
| 1226 | } |
| 1227 | s := strings.Join([]string{`&VolumeError{`, |
| 1228 | `Time:` + strings.Replace(strings.Replace(this.Time.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 1229 | `Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 1230 | `}`, |
| 1231 | }, "") |
| 1232 | return s |
| 1233 | } |
| 1234 | func valueToStringGenerated(v interface{}) string { |
| 1235 | rv := reflect.ValueOf(v) |
| 1236 | if rv.IsNil() { |
| 1237 | return "nil" |
| 1238 | } |
| 1239 | pv := reflect.Indirect(rv).Interface() |
| 1240 | return fmt.Sprintf("*%v", pv) |
| 1241 | } |
| 1242 | func (m *CSIDriver) Unmarshal(dAtA []byte) error { |
| 1243 | l := len(dAtA) |
| 1244 | iNdEx := 0 |
| 1245 | for iNdEx < l { |
| 1246 | preIndex := iNdEx |
| 1247 | var wire uint64 |
| 1248 | for shift := uint(0); ; shift += 7 { |
| 1249 | if shift >= 64 { |
| 1250 | return ErrIntOverflowGenerated |
| 1251 | } |
| 1252 | if iNdEx >= l { |
| 1253 | return io.ErrUnexpectedEOF |
| 1254 | } |
| 1255 | b := dAtA[iNdEx] |
| 1256 | iNdEx++ |
| 1257 | wire |= (uint64(b) & 0x7F) << shift |
| 1258 | if b < 0x80 { |
| 1259 | break |
| 1260 | } |
| 1261 | } |
| 1262 | fieldNum := int32(wire >> 3) |
| 1263 | wireType := int(wire & 0x7) |
| 1264 | if wireType == 4 { |
| 1265 | return fmt.Errorf("proto: CSIDriver: wiretype end group for non-group") |
| 1266 | } |
| 1267 | if fieldNum <= 0 { |
| 1268 | return fmt.Errorf("proto: CSIDriver: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1269 | } |
| 1270 | switch fieldNum { |
| 1271 | case 1: |
| 1272 | if wireType != 2 { |
| 1273 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 1274 | } |
| 1275 | var msglen int |
| 1276 | for shift := uint(0); ; shift += 7 { |
| 1277 | if shift >= 64 { |
| 1278 | return ErrIntOverflowGenerated |
| 1279 | } |
| 1280 | if iNdEx >= l { |
| 1281 | return io.ErrUnexpectedEOF |
| 1282 | } |
| 1283 | b := dAtA[iNdEx] |
| 1284 | iNdEx++ |
| 1285 | msglen |= (int(b) & 0x7F) << shift |
| 1286 | if b < 0x80 { |
| 1287 | break |
| 1288 | } |
| 1289 | } |
| 1290 | if msglen < 0 { |
| 1291 | return ErrInvalidLengthGenerated |
| 1292 | } |
| 1293 | postIndex := iNdEx + msglen |
| 1294 | if postIndex > l { |
| 1295 | return io.ErrUnexpectedEOF |
| 1296 | } |
| 1297 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1298 | return err |
| 1299 | } |
| 1300 | iNdEx = postIndex |
| 1301 | case 2: |
| 1302 | if wireType != 2 { |
| 1303 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 1304 | } |
| 1305 | var msglen int |
| 1306 | for shift := uint(0); ; shift += 7 { |
| 1307 | if shift >= 64 { |
| 1308 | return ErrIntOverflowGenerated |
| 1309 | } |
| 1310 | if iNdEx >= l { |
| 1311 | return io.ErrUnexpectedEOF |
| 1312 | } |
| 1313 | b := dAtA[iNdEx] |
| 1314 | iNdEx++ |
| 1315 | msglen |= (int(b) & 0x7F) << shift |
| 1316 | if b < 0x80 { |
| 1317 | break |
| 1318 | } |
| 1319 | } |
| 1320 | if msglen < 0 { |
| 1321 | return ErrInvalidLengthGenerated |
| 1322 | } |
| 1323 | postIndex := iNdEx + msglen |
| 1324 | if postIndex > l { |
| 1325 | return io.ErrUnexpectedEOF |
| 1326 | } |
| 1327 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1328 | return err |
| 1329 | } |
| 1330 | iNdEx = postIndex |
| 1331 | default: |
| 1332 | iNdEx = preIndex |
| 1333 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1334 | if err != nil { |
| 1335 | return err |
| 1336 | } |
| 1337 | if skippy < 0 { |
| 1338 | return ErrInvalidLengthGenerated |
| 1339 | } |
| 1340 | if (iNdEx + skippy) > l { |
| 1341 | return io.ErrUnexpectedEOF |
| 1342 | } |
| 1343 | iNdEx += skippy |
| 1344 | } |
| 1345 | } |
| 1346 | |
| 1347 | if iNdEx > l { |
| 1348 | return io.ErrUnexpectedEOF |
| 1349 | } |
| 1350 | return nil |
| 1351 | } |
| 1352 | func (m *CSIDriverList) Unmarshal(dAtA []byte) error { |
| 1353 | l := len(dAtA) |
| 1354 | iNdEx := 0 |
| 1355 | for iNdEx < l { |
| 1356 | preIndex := iNdEx |
| 1357 | var wire uint64 |
| 1358 | for shift := uint(0); ; shift += 7 { |
| 1359 | if shift >= 64 { |
| 1360 | return ErrIntOverflowGenerated |
| 1361 | } |
| 1362 | if iNdEx >= l { |
| 1363 | return io.ErrUnexpectedEOF |
| 1364 | } |
| 1365 | b := dAtA[iNdEx] |
| 1366 | iNdEx++ |
| 1367 | wire |= (uint64(b) & 0x7F) << shift |
| 1368 | if b < 0x80 { |
| 1369 | break |
| 1370 | } |
| 1371 | } |
| 1372 | fieldNum := int32(wire >> 3) |
| 1373 | wireType := int(wire & 0x7) |
| 1374 | if wireType == 4 { |
| 1375 | return fmt.Errorf("proto: CSIDriverList: wiretype end group for non-group") |
| 1376 | } |
| 1377 | if fieldNum <= 0 { |
| 1378 | return fmt.Errorf("proto: CSIDriverList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1379 | } |
| 1380 | switch fieldNum { |
| 1381 | case 1: |
| 1382 | if wireType != 2 { |
| 1383 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 1384 | } |
| 1385 | var msglen int |
| 1386 | for shift := uint(0); ; shift += 7 { |
| 1387 | if shift >= 64 { |
| 1388 | return ErrIntOverflowGenerated |
| 1389 | } |
| 1390 | if iNdEx >= l { |
| 1391 | return io.ErrUnexpectedEOF |
| 1392 | } |
| 1393 | b := dAtA[iNdEx] |
| 1394 | iNdEx++ |
| 1395 | msglen |= (int(b) & 0x7F) << shift |
| 1396 | if b < 0x80 { |
| 1397 | break |
| 1398 | } |
| 1399 | } |
| 1400 | if msglen < 0 { |
| 1401 | return ErrInvalidLengthGenerated |
| 1402 | } |
| 1403 | postIndex := iNdEx + msglen |
| 1404 | if postIndex > l { |
| 1405 | return io.ErrUnexpectedEOF |
| 1406 | } |
| 1407 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1408 | return err |
| 1409 | } |
| 1410 | iNdEx = postIndex |
| 1411 | case 2: |
| 1412 | if wireType != 2 { |
| 1413 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 1414 | } |
| 1415 | var msglen int |
| 1416 | for shift := uint(0); ; shift += 7 { |
| 1417 | if shift >= 64 { |
| 1418 | return ErrIntOverflowGenerated |
| 1419 | } |
| 1420 | if iNdEx >= l { |
| 1421 | return io.ErrUnexpectedEOF |
| 1422 | } |
| 1423 | b := dAtA[iNdEx] |
| 1424 | iNdEx++ |
| 1425 | msglen |= (int(b) & 0x7F) << shift |
| 1426 | if b < 0x80 { |
| 1427 | break |
| 1428 | } |
| 1429 | } |
| 1430 | if msglen < 0 { |
| 1431 | return ErrInvalidLengthGenerated |
| 1432 | } |
| 1433 | postIndex := iNdEx + msglen |
| 1434 | if postIndex > l { |
| 1435 | return io.ErrUnexpectedEOF |
| 1436 | } |
| 1437 | m.Items = append(m.Items, CSIDriver{}) |
| 1438 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1439 | return err |
| 1440 | } |
| 1441 | iNdEx = postIndex |
| 1442 | default: |
| 1443 | iNdEx = preIndex |
| 1444 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1445 | if err != nil { |
| 1446 | return err |
| 1447 | } |
| 1448 | if skippy < 0 { |
| 1449 | return ErrInvalidLengthGenerated |
| 1450 | } |
| 1451 | if (iNdEx + skippy) > l { |
| 1452 | return io.ErrUnexpectedEOF |
| 1453 | } |
| 1454 | iNdEx += skippy |
| 1455 | } |
| 1456 | } |
| 1457 | |
| 1458 | if iNdEx > l { |
| 1459 | return io.ErrUnexpectedEOF |
| 1460 | } |
| 1461 | return nil |
| 1462 | } |
| 1463 | func (m *CSIDriverSpec) Unmarshal(dAtA []byte) error { |
| 1464 | l := len(dAtA) |
| 1465 | iNdEx := 0 |
| 1466 | for iNdEx < l { |
| 1467 | preIndex := iNdEx |
| 1468 | var wire uint64 |
| 1469 | for shift := uint(0); ; shift += 7 { |
| 1470 | if shift >= 64 { |
| 1471 | return ErrIntOverflowGenerated |
| 1472 | } |
| 1473 | if iNdEx >= l { |
| 1474 | return io.ErrUnexpectedEOF |
| 1475 | } |
| 1476 | b := dAtA[iNdEx] |
| 1477 | iNdEx++ |
| 1478 | wire |= (uint64(b) & 0x7F) << shift |
| 1479 | if b < 0x80 { |
| 1480 | break |
| 1481 | } |
| 1482 | } |
| 1483 | fieldNum := int32(wire >> 3) |
| 1484 | wireType := int(wire & 0x7) |
| 1485 | if wireType == 4 { |
| 1486 | return fmt.Errorf("proto: CSIDriverSpec: wiretype end group for non-group") |
| 1487 | } |
| 1488 | if fieldNum <= 0 { |
| 1489 | return fmt.Errorf("proto: CSIDriverSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1490 | } |
| 1491 | switch fieldNum { |
| 1492 | case 1: |
| 1493 | if wireType != 0 { |
| 1494 | return fmt.Errorf("proto: wrong wireType = %d for field AttachRequired", wireType) |
| 1495 | } |
| 1496 | var v int |
| 1497 | for shift := uint(0); ; shift += 7 { |
| 1498 | if shift >= 64 { |
| 1499 | return ErrIntOverflowGenerated |
| 1500 | } |
| 1501 | if iNdEx >= l { |
| 1502 | return io.ErrUnexpectedEOF |
| 1503 | } |
| 1504 | b := dAtA[iNdEx] |
| 1505 | iNdEx++ |
| 1506 | v |= (int(b) & 0x7F) << shift |
| 1507 | if b < 0x80 { |
| 1508 | break |
| 1509 | } |
| 1510 | } |
| 1511 | b := bool(v != 0) |
| 1512 | m.AttachRequired = &b |
| 1513 | case 2: |
| 1514 | if wireType != 0 { |
| 1515 | return fmt.Errorf("proto: wrong wireType = %d for field PodInfoOnMount", wireType) |
| 1516 | } |
| 1517 | var v int |
| 1518 | for shift := uint(0); ; shift += 7 { |
| 1519 | if shift >= 64 { |
| 1520 | return ErrIntOverflowGenerated |
| 1521 | } |
| 1522 | if iNdEx >= l { |
| 1523 | return io.ErrUnexpectedEOF |
| 1524 | } |
| 1525 | b := dAtA[iNdEx] |
| 1526 | iNdEx++ |
| 1527 | v |= (int(b) & 0x7F) << shift |
| 1528 | if b < 0x80 { |
| 1529 | break |
| 1530 | } |
| 1531 | } |
| 1532 | b := bool(v != 0) |
| 1533 | m.PodInfoOnMount = &b |
| 1534 | default: |
| 1535 | iNdEx = preIndex |
| 1536 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1537 | if err != nil { |
| 1538 | return err |
| 1539 | } |
| 1540 | if skippy < 0 { |
| 1541 | return ErrInvalidLengthGenerated |
| 1542 | } |
| 1543 | if (iNdEx + skippy) > l { |
| 1544 | return io.ErrUnexpectedEOF |
| 1545 | } |
| 1546 | iNdEx += skippy |
| 1547 | } |
| 1548 | } |
| 1549 | |
| 1550 | if iNdEx > l { |
| 1551 | return io.ErrUnexpectedEOF |
| 1552 | } |
| 1553 | return nil |
| 1554 | } |
| 1555 | func (m *CSINode) Unmarshal(dAtA []byte) error { |
| 1556 | l := len(dAtA) |
| 1557 | iNdEx := 0 |
| 1558 | for iNdEx < l { |
| 1559 | preIndex := iNdEx |
| 1560 | var wire uint64 |
| 1561 | for shift := uint(0); ; shift += 7 { |
| 1562 | if shift >= 64 { |
| 1563 | return ErrIntOverflowGenerated |
| 1564 | } |
| 1565 | if iNdEx >= l { |
| 1566 | return io.ErrUnexpectedEOF |
| 1567 | } |
| 1568 | b := dAtA[iNdEx] |
| 1569 | iNdEx++ |
| 1570 | wire |= (uint64(b) & 0x7F) << shift |
| 1571 | if b < 0x80 { |
| 1572 | break |
| 1573 | } |
| 1574 | } |
| 1575 | fieldNum := int32(wire >> 3) |
| 1576 | wireType := int(wire & 0x7) |
| 1577 | if wireType == 4 { |
| 1578 | return fmt.Errorf("proto: CSINode: wiretype end group for non-group") |
| 1579 | } |
| 1580 | if fieldNum <= 0 { |
| 1581 | return fmt.Errorf("proto: CSINode: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1582 | } |
| 1583 | switch fieldNum { |
| 1584 | case 1: |
| 1585 | if wireType != 2 { |
| 1586 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 1587 | } |
| 1588 | var msglen int |
| 1589 | for shift := uint(0); ; shift += 7 { |
| 1590 | if shift >= 64 { |
| 1591 | return ErrIntOverflowGenerated |
| 1592 | } |
| 1593 | if iNdEx >= l { |
| 1594 | return io.ErrUnexpectedEOF |
| 1595 | } |
| 1596 | b := dAtA[iNdEx] |
| 1597 | iNdEx++ |
| 1598 | msglen |= (int(b) & 0x7F) << shift |
| 1599 | if b < 0x80 { |
| 1600 | break |
| 1601 | } |
| 1602 | } |
| 1603 | if msglen < 0 { |
| 1604 | return ErrInvalidLengthGenerated |
| 1605 | } |
| 1606 | postIndex := iNdEx + msglen |
| 1607 | if postIndex > l { |
| 1608 | return io.ErrUnexpectedEOF |
| 1609 | } |
| 1610 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1611 | return err |
| 1612 | } |
| 1613 | iNdEx = postIndex |
| 1614 | case 2: |
| 1615 | if wireType != 2 { |
| 1616 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 1617 | } |
| 1618 | var msglen int |
| 1619 | for shift := uint(0); ; shift += 7 { |
| 1620 | if shift >= 64 { |
| 1621 | return ErrIntOverflowGenerated |
| 1622 | } |
| 1623 | if iNdEx >= l { |
| 1624 | return io.ErrUnexpectedEOF |
| 1625 | } |
| 1626 | b := dAtA[iNdEx] |
| 1627 | iNdEx++ |
| 1628 | msglen |= (int(b) & 0x7F) << shift |
| 1629 | if b < 0x80 { |
| 1630 | break |
| 1631 | } |
| 1632 | } |
| 1633 | if msglen < 0 { |
| 1634 | return ErrInvalidLengthGenerated |
| 1635 | } |
| 1636 | postIndex := iNdEx + msglen |
| 1637 | if postIndex > l { |
| 1638 | return io.ErrUnexpectedEOF |
| 1639 | } |
| 1640 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1641 | return err |
| 1642 | } |
| 1643 | iNdEx = postIndex |
| 1644 | default: |
| 1645 | iNdEx = preIndex |
| 1646 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1647 | if err != nil { |
| 1648 | return err |
| 1649 | } |
| 1650 | if skippy < 0 { |
| 1651 | return ErrInvalidLengthGenerated |
| 1652 | } |
| 1653 | if (iNdEx + skippy) > l { |
| 1654 | return io.ErrUnexpectedEOF |
| 1655 | } |
| 1656 | iNdEx += skippy |
| 1657 | } |
| 1658 | } |
| 1659 | |
| 1660 | if iNdEx > l { |
| 1661 | return io.ErrUnexpectedEOF |
| 1662 | } |
| 1663 | return nil |
| 1664 | } |
| 1665 | func (m *CSINodeDriver) Unmarshal(dAtA []byte) error { |
| 1666 | l := len(dAtA) |
| 1667 | iNdEx := 0 |
| 1668 | for iNdEx < l { |
| 1669 | preIndex := iNdEx |
| 1670 | var wire uint64 |
| 1671 | for shift := uint(0); ; shift += 7 { |
| 1672 | if shift >= 64 { |
| 1673 | return ErrIntOverflowGenerated |
| 1674 | } |
| 1675 | if iNdEx >= l { |
| 1676 | return io.ErrUnexpectedEOF |
| 1677 | } |
| 1678 | b := dAtA[iNdEx] |
| 1679 | iNdEx++ |
| 1680 | wire |= (uint64(b) & 0x7F) << shift |
| 1681 | if b < 0x80 { |
| 1682 | break |
| 1683 | } |
| 1684 | } |
| 1685 | fieldNum := int32(wire >> 3) |
| 1686 | wireType := int(wire & 0x7) |
| 1687 | if wireType == 4 { |
| 1688 | return fmt.Errorf("proto: CSINodeDriver: wiretype end group for non-group") |
| 1689 | } |
| 1690 | if fieldNum <= 0 { |
| 1691 | return fmt.Errorf("proto: CSINodeDriver: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1692 | } |
| 1693 | switch fieldNum { |
| 1694 | case 1: |
| 1695 | if wireType != 2 { |
| 1696 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 1697 | } |
| 1698 | var stringLen uint64 |
| 1699 | for shift := uint(0); ; shift += 7 { |
| 1700 | if shift >= 64 { |
| 1701 | return ErrIntOverflowGenerated |
| 1702 | } |
| 1703 | if iNdEx >= l { |
| 1704 | return io.ErrUnexpectedEOF |
| 1705 | } |
| 1706 | b := dAtA[iNdEx] |
| 1707 | iNdEx++ |
| 1708 | stringLen |= (uint64(b) & 0x7F) << shift |
| 1709 | if b < 0x80 { |
| 1710 | break |
| 1711 | } |
| 1712 | } |
| 1713 | intStringLen := int(stringLen) |
| 1714 | if intStringLen < 0 { |
| 1715 | return ErrInvalidLengthGenerated |
| 1716 | } |
| 1717 | postIndex := iNdEx + intStringLen |
| 1718 | if postIndex > l { |
| 1719 | return io.ErrUnexpectedEOF |
| 1720 | } |
| 1721 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 1722 | iNdEx = postIndex |
| 1723 | case 2: |
| 1724 | if wireType != 2 { |
| 1725 | return fmt.Errorf("proto: wrong wireType = %d for field NodeID", wireType) |
| 1726 | } |
| 1727 | var stringLen uint64 |
| 1728 | for shift := uint(0); ; shift += 7 { |
| 1729 | if shift >= 64 { |
| 1730 | return ErrIntOverflowGenerated |
| 1731 | } |
| 1732 | if iNdEx >= l { |
| 1733 | return io.ErrUnexpectedEOF |
| 1734 | } |
| 1735 | b := dAtA[iNdEx] |
| 1736 | iNdEx++ |
| 1737 | stringLen |= (uint64(b) & 0x7F) << shift |
| 1738 | if b < 0x80 { |
| 1739 | break |
| 1740 | } |
| 1741 | } |
| 1742 | intStringLen := int(stringLen) |
| 1743 | if intStringLen < 0 { |
| 1744 | return ErrInvalidLengthGenerated |
| 1745 | } |
| 1746 | postIndex := iNdEx + intStringLen |
| 1747 | if postIndex > l { |
| 1748 | return io.ErrUnexpectedEOF |
| 1749 | } |
| 1750 | m.NodeID = string(dAtA[iNdEx:postIndex]) |
| 1751 | iNdEx = postIndex |
| 1752 | case 3: |
| 1753 | if wireType != 2 { |
| 1754 | return fmt.Errorf("proto: wrong wireType = %d for field TopologyKeys", wireType) |
| 1755 | } |
| 1756 | var stringLen uint64 |
| 1757 | for shift := uint(0); ; shift += 7 { |
| 1758 | if shift >= 64 { |
| 1759 | return ErrIntOverflowGenerated |
| 1760 | } |
| 1761 | if iNdEx >= l { |
| 1762 | return io.ErrUnexpectedEOF |
| 1763 | } |
| 1764 | b := dAtA[iNdEx] |
| 1765 | iNdEx++ |
| 1766 | stringLen |= (uint64(b) & 0x7F) << shift |
| 1767 | if b < 0x80 { |
| 1768 | break |
| 1769 | } |
| 1770 | } |
| 1771 | intStringLen := int(stringLen) |
| 1772 | if intStringLen < 0 { |
| 1773 | return ErrInvalidLengthGenerated |
| 1774 | } |
| 1775 | postIndex := iNdEx + intStringLen |
| 1776 | if postIndex > l { |
| 1777 | return io.ErrUnexpectedEOF |
| 1778 | } |
| 1779 | m.TopologyKeys = append(m.TopologyKeys, string(dAtA[iNdEx:postIndex])) |
| 1780 | iNdEx = postIndex |
| 1781 | default: |
| 1782 | iNdEx = preIndex |
| 1783 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1784 | if err != nil { |
| 1785 | return err |
| 1786 | } |
| 1787 | if skippy < 0 { |
| 1788 | return ErrInvalidLengthGenerated |
| 1789 | } |
| 1790 | if (iNdEx + skippy) > l { |
| 1791 | return io.ErrUnexpectedEOF |
| 1792 | } |
| 1793 | iNdEx += skippy |
| 1794 | } |
| 1795 | } |
| 1796 | |
| 1797 | if iNdEx > l { |
| 1798 | return io.ErrUnexpectedEOF |
| 1799 | } |
| 1800 | return nil |
| 1801 | } |
| 1802 | func (m *CSINodeList) Unmarshal(dAtA []byte) error { |
| 1803 | l := len(dAtA) |
| 1804 | iNdEx := 0 |
| 1805 | for iNdEx < l { |
| 1806 | preIndex := iNdEx |
| 1807 | var wire uint64 |
| 1808 | for shift := uint(0); ; shift += 7 { |
| 1809 | if shift >= 64 { |
| 1810 | return ErrIntOverflowGenerated |
| 1811 | } |
| 1812 | if iNdEx >= l { |
| 1813 | return io.ErrUnexpectedEOF |
| 1814 | } |
| 1815 | b := dAtA[iNdEx] |
| 1816 | iNdEx++ |
| 1817 | wire |= (uint64(b) & 0x7F) << shift |
| 1818 | if b < 0x80 { |
| 1819 | break |
| 1820 | } |
| 1821 | } |
| 1822 | fieldNum := int32(wire >> 3) |
| 1823 | wireType := int(wire & 0x7) |
| 1824 | if wireType == 4 { |
| 1825 | return fmt.Errorf("proto: CSINodeList: wiretype end group for non-group") |
| 1826 | } |
| 1827 | if fieldNum <= 0 { |
| 1828 | return fmt.Errorf("proto: CSINodeList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1829 | } |
| 1830 | switch fieldNum { |
| 1831 | case 1: |
| 1832 | if wireType != 2 { |
| 1833 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 1834 | } |
| 1835 | var msglen int |
| 1836 | for shift := uint(0); ; shift += 7 { |
| 1837 | if shift >= 64 { |
| 1838 | return ErrIntOverflowGenerated |
| 1839 | } |
| 1840 | if iNdEx >= l { |
| 1841 | return io.ErrUnexpectedEOF |
| 1842 | } |
| 1843 | b := dAtA[iNdEx] |
| 1844 | iNdEx++ |
| 1845 | msglen |= (int(b) & 0x7F) << shift |
| 1846 | if b < 0x80 { |
| 1847 | break |
| 1848 | } |
| 1849 | } |
| 1850 | if msglen < 0 { |
| 1851 | return ErrInvalidLengthGenerated |
| 1852 | } |
| 1853 | postIndex := iNdEx + msglen |
| 1854 | if postIndex > l { |
| 1855 | return io.ErrUnexpectedEOF |
| 1856 | } |
| 1857 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1858 | return err |
| 1859 | } |
| 1860 | iNdEx = postIndex |
| 1861 | case 2: |
| 1862 | if wireType != 2 { |
| 1863 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 1864 | } |
| 1865 | var msglen int |
| 1866 | for shift := uint(0); ; shift += 7 { |
| 1867 | if shift >= 64 { |
| 1868 | return ErrIntOverflowGenerated |
| 1869 | } |
| 1870 | if iNdEx >= l { |
| 1871 | return io.ErrUnexpectedEOF |
| 1872 | } |
| 1873 | b := dAtA[iNdEx] |
| 1874 | iNdEx++ |
| 1875 | msglen |= (int(b) & 0x7F) << shift |
| 1876 | if b < 0x80 { |
| 1877 | break |
| 1878 | } |
| 1879 | } |
| 1880 | if msglen < 0 { |
| 1881 | return ErrInvalidLengthGenerated |
| 1882 | } |
| 1883 | postIndex := iNdEx + msglen |
| 1884 | if postIndex > l { |
| 1885 | return io.ErrUnexpectedEOF |
| 1886 | } |
| 1887 | m.Items = append(m.Items, CSINode{}) |
| 1888 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1889 | return err |
| 1890 | } |
| 1891 | iNdEx = postIndex |
| 1892 | default: |
| 1893 | iNdEx = preIndex |
| 1894 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1895 | if err != nil { |
| 1896 | return err |
| 1897 | } |
| 1898 | if skippy < 0 { |
| 1899 | return ErrInvalidLengthGenerated |
| 1900 | } |
| 1901 | if (iNdEx + skippy) > l { |
| 1902 | return io.ErrUnexpectedEOF |
| 1903 | } |
| 1904 | iNdEx += skippy |
| 1905 | } |
| 1906 | } |
| 1907 | |
| 1908 | if iNdEx > l { |
| 1909 | return io.ErrUnexpectedEOF |
| 1910 | } |
| 1911 | return nil |
| 1912 | } |
| 1913 | func (m *CSINodeSpec) Unmarshal(dAtA []byte) error { |
| 1914 | l := len(dAtA) |
| 1915 | iNdEx := 0 |
| 1916 | for iNdEx < l { |
| 1917 | preIndex := iNdEx |
| 1918 | var wire uint64 |
| 1919 | for shift := uint(0); ; shift += 7 { |
| 1920 | if shift >= 64 { |
| 1921 | return ErrIntOverflowGenerated |
| 1922 | } |
| 1923 | if iNdEx >= l { |
| 1924 | return io.ErrUnexpectedEOF |
| 1925 | } |
| 1926 | b := dAtA[iNdEx] |
| 1927 | iNdEx++ |
| 1928 | wire |= (uint64(b) & 0x7F) << shift |
| 1929 | if b < 0x80 { |
| 1930 | break |
| 1931 | } |
| 1932 | } |
| 1933 | fieldNum := int32(wire >> 3) |
| 1934 | wireType := int(wire & 0x7) |
| 1935 | if wireType == 4 { |
| 1936 | return fmt.Errorf("proto: CSINodeSpec: wiretype end group for non-group") |
| 1937 | } |
| 1938 | if fieldNum <= 0 { |
| 1939 | return fmt.Errorf("proto: CSINodeSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1940 | } |
| 1941 | switch fieldNum { |
| 1942 | case 1: |
| 1943 | if wireType != 2 { |
| 1944 | return fmt.Errorf("proto: wrong wireType = %d for field Drivers", wireType) |
| 1945 | } |
| 1946 | var msglen int |
| 1947 | for shift := uint(0); ; shift += 7 { |
| 1948 | if shift >= 64 { |
| 1949 | return ErrIntOverflowGenerated |
| 1950 | } |
| 1951 | if iNdEx >= l { |
| 1952 | return io.ErrUnexpectedEOF |
| 1953 | } |
| 1954 | b := dAtA[iNdEx] |
| 1955 | iNdEx++ |
| 1956 | msglen |= (int(b) & 0x7F) << shift |
| 1957 | if b < 0x80 { |
| 1958 | break |
| 1959 | } |
| 1960 | } |
| 1961 | if msglen < 0 { |
| 1962 | return ErrInvalidLengthGenerated |
| 1963 | } |
| 1964 | postIndex := iNdEx + msglen |
| 1965 | if postIndex > l { |
| 1966 | return io.ErrUnexpectedEOF |
| 1967 | } |
| 1968 | m.Drivers = append(m.Drivers, CSINodeDriver{}) |
| 1969 | if err := m.Drivers[len(m.Drivers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1970 | return err |
| 1971 | } |
| 1972 | iNdEx = postIndex |
| 1973 | default: |
| 1974 | iNdEx = preIndex |
| 1975 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1976 | if err != nil { |
| 1977 | return err |
| 1978 | } |
| 1979 | if skippy < 0 { |
| 1980 | return ErrInvalidLengthGenerated |
| 1981 | } |
| 1982 | if (iNdEx + skippy) > l { |
| 1983 | return io.ErrUnexpectedEOF |
| 1984 | } |
| 1985 | iNdEx += skippy |
| 1986 | } |
| 1987 | } |
| 1988 | |
| 1989 | if iNdEx > l { |
| 1990 | return io.ErrUnexpectedEOF |
| 1991 | } |
| 1992 | return nil |
| 1993 | } |
| 1994 | func (m *StorageClass) Unmarshal(dAtA []byte) error { |
| 1995 | l := len(dAtA) |
| 1996 | iNdEx := 0 |
| 1997 | for iNdEx < l { |
| 1998 | preIndex := iNdEx |
| 1999 | var wire uint64 |
| 2000 | for shift := uint(0); ; shift += 7 { |
| 2001 | if shift >= 64 { |
| 2002 | return ErrIntOverflowGenerated |
| 2003 | } |
| 2004 | if iNdEx >= l { |
| 2005 | return io.ErrUnexpectedEOF |
| 2006 | } |
| 2007 | b := dAtA[iNdEx] |
| 2008 | iNdEx++ |
| 2009 | wire |= (uint64(b) & 0x7F) << shift |
| 2010 | if b < 0x80 { |
| 2011 | break |
| 2012 | } |
| 2013 | } |
| 2014 | fieldNum := int32(wire >> 3) |
| 2015 | wireType := int(wire & 0x7) |
| 2016 | if wireType == 4 { |
| 2017 | return fmt.Errorf("proto: StorageClass: wiretype end group for non-group") |
| 2018 | } |
| 2019 | if fieldNum <= 0 { |
| 2020 | return fmt.Errorf("proto: StorageClass: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2021 | } |
| 2022 | switch fieldNum { |
| 2023 | case 1: |
| 2024 | if wireType != 2 { |
| 2025 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 2026 | } |
| 2027 | var msglen int |
| 2028 | for shift := uint(0); ; shift += 7 { |
| 2029 | if shift >= 64 { |
| 2030 | return ErrIntOverflowGenerated |
| 2031 | } |
| 2032 | if iNdEx >= l { |
| 2033 | return io.ErrUnexpectedEOF |
| 2034 | } |
| 2035 | b := dAtA[iNdEx] |
| 2036 | iNdEx++ |
| 2037 | msglen |= (int(b) & 0x7F) << shift |
| 2038 | if b < 0x80 { |
| 2039 | break |
| 2040 | } |
| 2041 | } |
| 2042 | if msglen < 0 { |
| 2043 | return ErrInvalidLengthGenerated |
| 2044 | } |
| 2045 | postIndex := iNdEx + msglen |
| 2046 | if postIndex > l { |
| 2047 | return io.ErrUnexpectedEOF |
| 2048 | } |
| 2049 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2050 | return err |
| 2051 | } |
| 2052 | iNdEx = postIndex |
| 2053 | case 2: |
| 2054 | if wireType != 2 { |
| 2055 | return fmt.Errorf("proto: wrong wireType = %d for field Provisioner", wireType) |
| 2056 | } |
| 2057 | var stringLen uint64 |
| 2058 | for shift := uint(0); ; shift += 7 { |
| 2059 | if shift >= 64 { |
| 2060 | return ErrIntOverflowGenerated |
| 2061 | } |
| 2062 | if iNdEx >= l { |
| 2063 | return io.ErrUnexpectedEOF |
| 2064 | } |
| 2065 | b := dAtA[iNdEx] |
| 2066 | iNdEx++ |
| 2067 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2068 | if b < 0x80 { |
| 2069 | break |
| 2070 | } |
| 2071 | } |
| 2072 | intStringLen := int(stringLen) |
| 2073 | if intStringLen < 0 { |
| 2074 | return ErrInvalidLengthGenerated |
| 2075 | } |
| 2076 | postIndex := iNdEx + intStringLen |
| 2077 | if postIndex > l { |
| 2078 | return io.ErrUnexpectedEOF |
| 2079 | } |
| 2080 | m.Provisioner = string(dAtA[iNdEx:postIndex]) |
| 2081 | iNdEx = postIndex |
| 2082 | case 3: |
| 2083 | if wireType != 2 { |
| 2084 | return fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType) |
| 2085 | } |
| 2086 | var msglen int |
| 2087 | for shift := uint(0); ; shift += 7 { |
| 2088 | if shift >= 64 { |
| 2089 | return ErrIntOverflowGenerated |
| 2090 | } |
| 2091 | if iNdEx >= l { |
| 2092 | return io.ErrUnexpectedEOF |
| 2093 | } |
| 2094 | b := dAtA[iNdEx] |
| 2095 | iNdEx++ |
| 2096 | msglen |= (int(b) & 0x7F) << shift |
| 2097 | if b < 0x80 { |
| 2098 | break |
| 2099 | } |
| 2100 | } |
| 2101 | if msglen < 0 { |
| 2102 | return ErrInvalidLengthGenerated |
| 2103 | } |
| 2104 | postIndex := iNdEx + msglen |
| 2105 | if postIndex > l { |
| 2106 | return io.ErrUnexpectedEOF |
| 2107 | } |
| 2108 | if m.Parameters == nil { |
| 2109 | m.Parameters = make(map[string]string) |
| 2110 | } |
| 2111 | var mapkey string |
| 2112 | var mapvalue string |
| 2113 | for iNdEx < postIndex { |
| 2114 | entryPreIndex := iNdEx |
| 2115 | var wire uint64 |
| 2116 | for shift := uint(0); ; shift += 7 { |
| 2117 | if shift >= 64 { |
| 2118 | return ErrIntOverflowGenerated |
| 2119 | } |
| 2120 | if iNdEx >= l { |
| 2121 | return io.ErrUnexpectedEOF |
| 2122 | } |
| 2123 | b := dAtA[iNdEx] |
| 2124 | iNdEx++ |
| 2125 | wire |= (uint64(b) & 0x7F) << shift |
| 2126 | if b < 0x80 { |
| 2127 | break |
| 2128 | } |
| 2129 | } |
| 2130 | fieldNum := int32(wire >> 3) |
| 2131 | if fieldNum == 1 { |
| 2132 | var stringLenmapkey uint64 |
| 2133 | for shift := uint(0); ; shift += 7 { |
| 2134 | if shift >= 64 { |
| 2135 | return ErrIntOverflowGenerated |
| 2136 | } |
| 2137 | if iNdEx >= l { |
| 2138 | return io.ErrUnexpectedEOF |
| 2139 | } |
| 2140 | b := dAtA[iNdEx] |
| 2141 | iNdEx++ |
| 2142 | stringLenmapkey |= (uint64(b) & 0x7F) << shift |
| 2143 | if b < 0x80 { |
| 2144 | break |
| 2145 | } |
| 2146 | } |
| 2147 | intStringLenmapkey := int(stringLenmapkey) |
| 2148 | if intStringLenmapkey < 0 { |
| 2149 | return ErrInvalidLengthGenerated |
| 2150 | } |
| 2151 | postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 2152 | if postStringIndexmapkey > l { |
| 2153 | return io.ErrUnexpectedEOF |
| 2154 | } |
| 2155 | mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) |
| 2156 | iNdEx = postStringIndexmapkey |
| 2157 | } else if fieldNum == 2 { |
| 2158 | var stringLenmapvalue uint64 |
| 2159 | for shift := uint(0); ; shift += 7 { |
| 2160 | if shift >= 64 { |
| 2161 | return ErrIntOverflowGenerated |
| 2162 | } |
| 2163 | if iNdEx >= l { |
| 2164 | return io.ErrUnexpectedEOF |
| 2165 | } |
| 2166 | b := dAtA[iNdEx] |
| 2167 | iNdEx++ |
| 2168 | stringLenmapvalue |= (uint64(b) & 0x7F) << shift |
| 2169 | if b < 0x80 { |
| 2170 | break |
| 2171 | } |
| 2172 | } |
| 2173 | intStringLenmapvalue := int(stringLenmapvalue) |
| 2174 | if intStringLenmapvalue < 0 { |
| 2175 | return ErrInvalidLengthGenerated |
| 2176 | } |
| 2177 | postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
| 2178 | if postStringIndexmapvalue > l { |
| 2179 | return io.ErrUnexpectedEOF |
| 2180 | } |
| 2181 | mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) |
| 2182 | iNdEx = postStringIndexmapvalue |
| 2183 | } else { |
| 2184 | iNdEx = entryPreIndex |
| 2185 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2186 | if err != nil { |
| 2187 | return err |
| 2188 | } |
| 2189 | if skippy < 0 { |
| 2190 | return ErrInvalidLengthGenerated |
| 2191 | } |
| 2192 | if (iNdEx + skippy) > postIndex { |
| 2193 | return io.ErrUnexpectedEOF |
| 2194 | } |
| 2195 | iNdEx += skippy |
| 2196 | } |
| 2197 | } |
| 2198 | m.Parameters[mapkey] = mapvalue |
| 2199 | iNdEx = postIndex |
| 2200 | case 4: |
| 2201 | if wireType != 2 { |
| 2202 | return fmt.Errorf("proto: wrong wireType = %d for field ReclaimPolicy", wireType) |
| 2203 | } |
| 2204 | var stringLen uint64 |
| 2205 | for shift := uint(0); ; shift += 7 { |
| 2206 | if shift >= 64 { |
| 2207 | return ErrIntOverflowGenerated |
| 2208 | } |
| 2209 | if iNdEx >= l { |
| 2210 | return io.ErrUnexpectedEOF |
| 2211 | } |
| 2212 | b := dAtA[iNdEx] |
| 2213 | iNdEx++ |
| 2214 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2215 | if b < 0x80 { |
| 2216 | break |
| 2217 | } |
| 2218 | } |
| 2219 | intStringLen := int(stringLen) |
| 2220 | if intStringLen < 0 { |
| 2221 | return ErrInvalidLengthGenerated |
| 2222 | } |
| 2223 | postIndex := iNdEx + intStringLen |
| 2224 | if postIndex > l { |
| 2225 | return io.ErrUnexpectedEOF |
| 2226 | } |
| 2227 | s := k8s_io_api_core_v1.PersistentVolumeReclaimPolicy(dAtA[iNdEx:postIndex]) |
| 2228 | m.ReclaimPolicy = &s |
| 2229 | iNdEx = postIndex |
| 2230 | case 5: |
| 2231 | if wireType != 2 { |
| 2232 | return fmt.Errorf("proto: wrong wireType = %d for field MountOptions", wireType) |
| 2233 | } |
| 2234 | var stringLen uint64 |
| 2235 | for shift := uint(0); ; shift += 7 { |
| 2236 | if shift >= 64 { |
| 2237 | return ErrIntOverflowGenerated |
| 2238 | } |
| 2239 | if iNdEx >= l { |
| 2240 | return io.ErrUnexpectedEOF |
| 2241 | } |
| 2242 | b := dAtA[iNdEx] |
| 2243 | iNdEx++ |
| 2244 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2245 | if b < 0x80 { |
| 2246 | break |
| 2247 | } |
| 2248 | } |
| 2249 | intStringLen := int(stringLen) |
| 2250 | if intStringLen < 0 { |
| 2251 | return ErrInvalidLengthGenerated |
| 2252 | } |
| 2253 | postIndex := iNdEx + intStringLen |
| 2254 | if postIndex > l { |
| 2255 | return io.ErrUnexpectedEOF |
| 2256 | } |
| 2257 | m.MountOptions = append(m.MountOptions, string(dAtA[iNdEx:postIndex])) |
| 2258 | iNdEx = postIndex |
| 2259 | case 6: |
| 2260 | if wireType != 0 { |
| 2261 | return fmt.Errorf("proto: wrong wireType = %d for field AllowVolumeExpansion", wireType) |
| 2262 | } |
| 2263 | var v int |
| 2264 | for shift := uint(0); ; shift += 7 { |
| 2265 | if shift >= 64 { |
| 2266 | return ErrIntOverflowGenerated |
| 2267 | } |
| 2268 | if iNdEx >= l { |
| 2269 | return io.ErrUnexpectedEOF |
| 2270 | } |
| 2271 | b := dAtA[iNdEx] |
| 2272 | iNdEx++ |
| 2273 | v |= (int(b) & 0x7F) << shift |
| 2274 | if b < 0x80 { |
| 2275 | break |
| 2276 | } |
| 2277 | } |
| 2278 | b := bool(v != 0) |
| 2279 | m.AllowVolumeExpansion = &b |
| 2280 | case 7: |
| 2281 | if wireType != 2 { |
| 2282 | return fmt.Errorf("proto: wrong wireType = %d for field VolumeBindingMode", wireType) |
| 2283 | } |
| 2284 | var stringLen uint64 |
| 2285 | for shift := uint(0); ; shift += 7 { |
| 2286 | if shift >= 64 { |
| 2287 | return ErrIntOverflowGenerated |
| 2288 | } |
| 2289 | if iNdEx >= l { |
| 2290 | return io.ErrUnexpectedEOF |
| 2291 | } |
| 2292 | b := dAtA[iNdEx] |
| 2293 | iNdEx++ |
| 2294 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2295 | if b < 0x80 { |
| 2296 | break |
| 2297 | } |
| 2298 | } |
| 2299 | intStringLen := int(stringLen) |
| 2300 | if intStringLen < 0 { |
| 2301 | return ErrInvalidLengthGenerated |
| 2302 | } |
| 2303 | postIndex := iNdEx + intStringLen |
| 2304 | if postIndex > l { |
| 2305 | return io.ErrUnexpectedEOF |
| 2306 | } |
| 2307 | s := VolumeBindingMode(dAtA[iNdEx:postIndex]) |
| 2308 | m.VolumeBindingMode = &s |
| 2309 | iNdEx = postIndex |
| 2310 | case 8: |
| 2311 | if wireType != 2 { |
| 2312 | return fmt.Errorf("proto: wrong wireType = %d for field AllowedTopologies", wireType) |
| 2313 | } |
| 2314 | var msglen int |
| 2315 | for shift := uint(0); ; shift += 7 { |
| 2316 | if shift >= 64 { |
| 2317 | return ErrIntOverflowGenerated |
| 2318 | } |
| 2319 | if iNdEx >= l { |
| 2320 | return io.ErrUnexpectedEOF |
| 2321 | } |
| 2322 | b := dAtA[iNdEx] |
| 2323 | iNdEx++ |
| 2324 | msglen |= (int(b) & 0x7F) << shift |
| 2325 | if b < 0x80 { |
| 2326 | break |
| 2327 | } |
| 2328 | } |
| 2329 | if msglen < 0 { |
| 2330 | return ErrInvalidLengthGenerated |
| 2331 | } |
| 2332 | postIndex := iNdEx + msglen |
| 2333 | if postIndex > l { |
| 2334 | return io.ErrUnexpectedEOF |
| 2335 | } |
| 2336 | m.AllowedTopologies = append(m.AllowedTopologies, k8s_io_api_core_v1.TopologySelectorTerm{}) |
| 2337 | if err := m.AllowedTopologies[len(m.AllowedTopologies)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2338 | return err |
| 2339 | } |
| 2340 | iNdEx = postIndex |
| 2341 | default: |
| 2342 | iNdEx = preIndex |
| 2343 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2344 | if err != nil { |
| 2345 | return err |
| 2346 | } |
| 2347 | if skippy < 0 { |
| 2348 | return ErrInvalidLengthGenerated |
| 2349 | } |
| 2350 | if (iNdEx + skippy) > l { |
| 2351 | return io.ErrUnexpectedEOF |
| 2352 | } |
| 2353 | iNdEx += skippy |
| 2354 | } |
| 2355 | } |
| 2356 | |
| 2357 | if iNdEx > l { |
| 2358 | return io.ErrUnexpectedEOF |
| 2359 | } |
| 2360 | return nil |
| 2361 | } |
| 2362 | func (m *StorageClassList) Unmarshal(dAtA []byte) error { |
| 2363 | l := len(dAtA) |
| 2364 | iNdEx := 0 |
| 2365 | for iNdEx < l { |
| 2366 | preIndex := iNdEx |
| 2367 | var wire uint64 |
| 2368 | for shift := uint(0); ; shift += 7 { |
| 2369 | if shift >= 64 { |
| 2370 | return ErrIntOverflowGenerated |
| 2371 | } |
| 2372 | if iNdEx >= l { |
| 2373 | return io.ErrUnexpectedEOF |
| 2374 | } |
| 2375 | b := dAtA[iNdEx] |
| 2376 | iNdEx++ |
| 2377 | wire |= (uint64(b) & 0x7F) << shift |
| 2378 | if b < 0x80 { |
| 2379 | break |
| 2380 | } |
| 2381 | } |
| 2382 | fieldNum := int32(wire >> 3) |
| 2383 | wireType := int(wire & 0x7) |
| 2384 | if wireType == 4 { |
| 2385 | return fmt.Errorf("proto: StorageClassList: wiretype end group for non-group") |
| 2386 | } |
| 2387 | if fieldNum <= 0 { |
| 2388 | return fmt.Errorf("proto: StorageClassList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2389 | } |
| 2390 | switch fieldNum { |
| 2391 | case 1: |
| 2392 | if wireType != 2 { |
| 2393 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 2394 | } |
| 2395 | var msglen int |
| 2396 | for shift := uint(0); ; shift += 7 { |
| 2397 | if shift >= 64 { |
| 2398 | return ErrIntOverflowGenerated |
| 2399 | } |
| 2400 | if iNdEx >= l { |
| 2401 | return io.ErrUnexpectedEOF |
| 2402 | } |
| 2403 | b := dAtA[iNdEx] |
| 2404 | iNdEx++ |
| 2405 | msglen |= (int(b) & 0x7F) << shift |
| 2406 | if b < 0x80 { |
| 2407 | break |
| 2408 | } |
| 2409 | } |
| 2410 | if msglen < 0 { |
| 2411 | return ErrInvalidLengthGenerated |
| 2412 | } |
| 2413 | postIndex := iNdEx + msglen |
| 2414 | if postIndex > l { |
| 2415 | return io.ErrUnexpectedEOF |
| 2416 | } |
| 2417 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2418 | return err |
| 2419 | } |
| 2420 | iNdEx = postIndex |
| 2421 | case 2: |
| 2422 | if wireType != 2 { |
| 2423 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 2424 | } |
| 2425 | var msglen int |
| 2426 | for shift := uint(0); ; shift += 7 { |
| 2427 | if shift >= 64 { |
| 2428 | return ErrIntOverflowGenerated |
| 2429 | } |
| 2430 | if iNdEx >= l { |
| 2431 | return io.ErrUnexpectedEOF |
| 2432 | } |
| 2433 | b := dAtA[iNdEx] |
| 2434 | iNdEx++ |
| 2435 | msglen |= (int(b) & 0x7F) << shift |
| 2436 | if b < 0x80 { |
| 2437 | break |
| 2438 | } |
| 2439 | } |
| 2440 | if msglen < 0 { |
| 2441 | return ErrInvalidLengthGenerated |
| 2442 | } |
| 2443 | postIndex := iNdEx + msglen |
| 2444 | if postIndex > l { |
| 2445 | return io.ErrUnexpectedEOF |
| 2446 | } |
| 2447 | m.Items = append(m.Items, StorageClass{}) |
| 2448 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2449 | return err |
| 2450 | } |
| 2451 | iNdEx = postIndex |
| 2452 | default: |
| 2453 | iNdEx = preIndex |
| 2454 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2455 | if err != nil { |
| 2456 | return err |
| 2457 | } |
| 2458 | if skippy < 0 { |
| 2459 | return ErrInvalidLengthGenerated |
| 2460 | } |
| 2461 | if (iNdEx + skippy) > l { |
| 2462 | return io.ErrUnexpectedEOF |
| 2463 | } |
| 2464 | iNdEx += skippy |
| 2465 | } |
| 2466 | } |
| 2467 | |
| 2468 | if iNdEx > l { |
| 2469 | return io.ErrUnexpectedEOF |
| 2470 | } |
| 2471 | return nil |
| 2472 | } |
| 2473 | func (m *VolumeAttachment) Unmarshal(dAtA []byte) error { |
| 2474 | l := len(dAtA) |
| 2475 | iNdEx := 0 |
| 2476 | for iNdEx < l { |
| 2477 | preIndex := iNdEx |
| 2478 | var wire uint64 |
| 2479 | for shift := uint(0); ; shift += 7 { |
| 2480 | if shift >= 64 { |
| 2481 | return ErrIntOverflowGenerated |
| 2482 | } |
| 2483 | if iNdEx >= l { |
| 2484 | return io.ErrUnexpectedEOF |
| 2485 | } |
| 2486 | b := dAtA[iNdEx] |
| 2487 | iNdEx++ |
| 2488 | wire |= (uint64(b) & 0x7F) << shift |
| 2489 | if b < 0x80 { |
| 2490 | break |
| 2491 | } |
| 2492 | } |
| 2493 | fieldNum := int32(wire >> 3) |
| 2494 | wireType := int(wire & 0x7) |
| 2495 | if wireType == 4 { |
| 2496 | return fmt.Errorf("proto: VolumeAttachment: wiretype end group for non-group") |
| 2497 | } |
| 2498 | if fieldNum <= 0 { |
| 2499 | return fmt.Errorf("proto: VolumeAttachment: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2500 | } |
| 2501 | switch fieldNum { |
| 2502 | case 1: |
| 2503 | if wireType != 2 { |
| 2504 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 2505 | } |
| 2506 | var msglen int |
| 2507 | for shift := uint(0); ; shift += 7 { |
| 2508 | if shift >= 64 { |
| 2509 | return ErrIntOverflowGenerated |
| 2510 | } |
| 2511 | if iNdEx >= l { |
| 2512 | return io.ErrUnexpectedEOF |
| 2513 | } |
| 2514 | b := dAtA[iNdEx] |
| 2515 | iNdEx++ |
| 2516 | msglen |= (int(b) & 0x7F) << shift |
| 2517 | if b < 0x80 { |
| 2518 | break |
| 2519 | } |
| 2520 | } |
| 2521 | if msglen < 0 { |
| 2522 | return ErrInvalidLengthGenerated |
| 2523 | } |
| 2524 | postIndex := iNdEx + msglen |
| 2525 | if postIndex > l { |
| 2526 | return io.ErrUnexpectedEOF |
| 2527 | } |
| 2528 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2529 | return err |
| 2530 | } |
| 2531 | iNdEx = postIndex |
| 2532 | case 2: |
| 2533 | if wireType != 2 { |
| 2534 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 2535 | } |
| 2536 | var msglen int |
| 2537 | for shift := uint(0); ; shift += 7 { |
| 2538 | if shift >= 64 { |
| 2539 | return ErrIntOverflowGenerated |
| 2540 | } |
| 2541 | if iNdEx >= l { |
| 2542 | return io.ErrUnexpectedEOF |
| 2543 | } |
| 2544 | b := dAtA[iNdEx] |
| 2545 | iNdEx++ |
| 2546 | msglen |= (int(b) & 0x7F) << shift |
| 2547 | if b < 0x80 { |
| 2548 | break |
| 2549 | } |
| 2550 | } |
| 2551 | if msglen < 0 { |
| 2552 | return ErrInvalidLengthGenerated |
| 2553 | } |
| 2554 | postIndex := iNdEx + msglen |
| 2555 | if postIndex > l { |
| 2556 | return io.ErrUnexpectedEOF |
| 2557 | } |
| 2558 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2559 | return err |
| 2560 | } |
| 2561 | iNdEx = postIndex |
| 2562 | case 3: |
| 2563 | if wireType != 2 { |
| 2564 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 2565 | } |
| 2566 | var msglen int |
| 2567 | for shift := uint(0); ; shift += 7 { |
| 2568 | if shift >= 64 { |
| 2569 | return ErrIntOverflowGenerated |
| 2570 | } |
| 2571 | if iNdEx >= l { |
| 2572 | return io.ErrUnexpectedEOF |
| 2573 | } |
| 2574 | b := dAtA[iNdEx] |
| 2575 | iNdEx++ |
| 2576 | msglen |= (int(b) & 0x7F) << shift |
| 2577 | if b < 0x80 { |
| 2578 | break |
| 2579 | } |
| 2580 | } |
| 2581 | if msglen < 0 { |
| 2582 | return ErrInvalidLengthGenerated |
| 2583 | } |
| 2584 | postIndex := iNdEx + msglen |
| 2585 | if postIndex > l { |
| 2586 | return io.ErrUnexpectedEOF |
| 2587 | } |
| 2588 | if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2589 | return err |
| 2590 | } |
| 2591 | iNdEx = postIndex |
| 2592 | default: |
| 2593 | iNdEx = preIndex |
| 2594 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2595 | if err != nil { |
| 2596 | return err |
| 2597 | } |
| 2598 | if skippy < 0 { |
| 2599 | return ErrInvalidLengthGenerated |
| 2600 | } |
| 2601 | if (iNdEx + skippy) > l { |
| 2602 | return io.ErrUnexpectedEOF |
| 2603 | } |
| 2604 | iNdEx += skippy |
| 2605 | } |
| 2606 | } |
| 2607 | |
| 2608 | if iNdEx > l { |
| 2609 | return io.ErrUnexpectedEOF |
| 2610 | } |
| 2611 | return nil |
| 2612 | } |
| 2613 | func (m *VolumeAttachmentList) Unmarshal(dAtA []byte) error { |
| 2614 | l := len(dAtA) |
| 2615 | iNdEx := 0 |
| 2616 | for iNdEx < l { |
| 2617 | preIndex := iNdEx |
| 2618 | var wire uint64 |
| 2619 | for shift := uint(0); ; shift += 7 { |
| 2620 | if shift >= 64 { |
| 2621 | return ErrIntOverflowGenerated |
| 2622 | } |
| 2623 | if iNdEx >= l { |
| 2624 | return io.ErrUnexpectedEOF |
| 2625 | } |
| 2626 | b := dAtA[iNdEx] |
| 2627 | iNdEx++ |
| 2628 | wire |= (uint64(b) & 0x7F) << shift |
| 2629 | if b < 0x80 { |
| 2630 | break |
| 2631 | } |
| 2632 | } |
| 2633 | fieldNum := int32(wire >> 3) |
| 2634 | wireType := int(wire & 0x7) |
| 2635 | if wireType == 4 { |
| 2636 | return fmt.Errorf("proto: VolumeAttachmentList: wiretype end group for non-group") |
| 2637 | } |
| 2638 | if fieldNum <= 0 { |
| 2639 | return fmt.Errorf("proto: VolumeAttachmentList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2640 | } |
| 2641 | switch fieldNum { |
| 2642 | case 1: |
| 2643 | if wireType != 2 { |
| 2644 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 2645 | } |
| 2646 | var msglen int |
| 2647 | for shift := uint(0); ; shift += 7 { |
| 2648 | if shift >= 64 { |
| 2649 | return ErrIntOverflowGenerated |
| 2650 | } |
| 2651 | if iNdEx >= l { |
| 2652 | return io.ErrUnexpectedEOF |
| 2653 | } |
| 2654 | b := dAtA[iNdEx] |
| 2655 | iNdEx++ |
| 2656 | msglen |= (int(b) & 0x7F) << shift |
| 2657 | if b < 0x80 { |
| 2658 | break |
| 2659 | } |
| 2660 | } |
| 2661 | if msglen < 0 { |
| 2662 | return ErrInvalidLengthGenerated |
| 2663 | } |
| 2664 | postIndex := iNdEx + msglen |
| 2665 | if postIndex > l { |
| 2666 | return io.ErrUnexpectedEOF |
| 2667 | } |
| 2668 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2669 | return err |
| 2670 | } |
| 2671 | iNdEx = postIndex |
| 2672 | case 2: |
| 2673 | if wireType != 2 { |
| 2674 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 2675 | } |
| 2676 | var msglen int |
| 2677 | for shift := uint(0); ; shift += 7 { |
| 2678 | if shift >= 64 { |
| 2679 | return ErrIntOverflowGenerated |
| 2680 | } |
| 2681 | if iNdEx >= l { |
| 2682 | return io.ErrUnexpectedEOF |
| 2683 | } |
| 2684 | b := dAtA[iNdEx] |
| 2685 | iNdEx++ |
| 2686 | msglen |= (int(b) & 0x7F) << shift |
| 2687 | if b < 0x80 { |
| 2688 | break |
| 2689 | } |
| 2690 | } |
| 2691 | if msglen < 0 { |
| 2692 | return ErrInvalidLengthGenerated |
| 2693 | } |
| 2694 | postIndex := iNdEx + msglen |
| 2695 | if postIndex > l { |
| 2696 | return io.ErrUnexpectedEOF |
| 2697 | } |
| 2698 | m.Items = append(m.Items, VolumeAttachment{}) |
| 2699 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2700 | return err |
| 2701 | } |
| 2702 | iNdEx = postIndex |
| 2703 | default: |
| 2704 | iNdEx = preIndex |
| 2705 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2706 | if err != nil { |
| 2707 | return err |
| 2708 | } |
| 2709 | if skippy < 0 { |
| 2710 | return ErrInvalidLengthGenerated |
| 2711 | } |
| 2712 | if (iNdEx + skippy) > l { |
| 2713 | return io.ErrUnexpectedEOF |
| 2714 | } |
| 2715 | iNdEx += skippy |
| 2716 | } |
| 2717 | } |
| 2718 | |
| 2719 | if iNdEx > l { |
| 2720 | return io.ErrUnexpectedEOF |
| 2721 | } |
| 2722 | return nil |
| 2723 | } |
| 2724 | func (m *VolumeAttachmentSource) Unmarshal(dAtA []byte) error { |
| 2725 | l := len(dAtA) |
| 2726 | iNdEx := 0 |
| 2727 | for iNdEx < l { |
| 2728 | preIndex := iNdEx |
| 2729 | var wire uint64 |
| 2730 | for shift := uint(0); ; shift += 7 { |
| 2731 | if shift >= 64 { |
| 2732 | return ErrIntOverflowGenerated |
| 2733 | } |
| 2734 | if iNdEx >= l { |
| 2735 | return io.ErrUnexpectedEOF |
| 2736 | } |
| 2737 | b := dAtA[iNdEx] |
| 2738 | iNdEx++ |
| 2739 | wire |= (uint64(b) & 0x7F) << shift |
| 2740 | if b < 0x80 { |
| 2741 | break |
| 2742 | } |
| 2743 | } |
| 2744 | fieldNum := int32(wire >> 3) |
| 2745 | wireType := int(wire & 0x7) |
| 2746 | if wireType == 4 { |
| 2747 | return fmt.Errorf("proto: VolumeAttachmentSource: wiretype end group for non-group") |
| 2748 | } |
| 2749 | if fieldNum <= 0 { |
| 2750 | return fmt.Errorf("proto: VolumeAttachmentSource: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2751 | } |
| 2752 | switch fieldNum { |
| 2753 | case 1: |
| 2754 | if wireType != 2 { |
| 2755 | return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeName", wireType) |
| 2756 | } |
| 2757 | var stringLen uint64 |
| 2758 | for shift := uint(0); ; shift += 7 { |
| 2759 | if shift >= 64 { |
| 2760 | return ErrIntOverflowGenerated |
| 2761 | } |
| 2762 | if iNdEx >= l { |
| 2763 | return io.ErrUnexpectedEOF |
| 2764 | } |
| 2765 | b := dAtA[iNdEx] |
| 2766 | iNdEx++ |
| 2767 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2768 | if b < 0x80 { |
| 2769 | break |
| 2770 | } |
| 2771 | } |
| 2772 | intStringLen := int(stringLen) |
| 2773 | if intStringLen < 0 { |
| 2774 | return ErrInvalidLengthGenerated |
| 2775 | } |
| 2776 | postIndex := iNdEx + intStringLen |
| 2777 | if postIndex > l { |
| 2778 | return io.ErrUnexpectedEOF |
| 2779 | } |
| 2780 | s := string(dAtA[iNdEx:postIndex]) |
| 2781 | m.PersistentVolumeName = &s |
| 2782 | iNdEx = postIndex |
| 2783 | case 2: |
| 2784 | if wireType != 2 { |
| 2785 | return fmt.Errorf("proto: wrong wireType = %d for field InlineVolumeSpec", wireType) |
| 2786 | } |
| 2787 | var msglen int |
| 2788 | for shift := uint(0); ; shift += 7 { |
| 2789 | if shift >= 64 { |
| 2790 | return ErrIntOverflowGenerated |
| 2791 | } |
| 2792 | if iNdEx >= l { |
| 2793 | return io.ErrUnexpectedEOF |
| 2794 | } |
| 2795 | b := dAtA[iNdEx] |
| 2796 | iNdEx++ |
| 2797 | msglen |= (int(b) & 0x7F) << shift |
| 2798 | if b < 0x80 { |
| 2799 | break |
| 2800 | } |
| 2801 | } |
| 2802 | if msglen < 0 { |
| 2803 | return ErrInvalidLengthGenerated |
| 2804 | } |
| 2805 | postIndex := iNdEx + msglen |
| 2806 | if postIndex > l { |
| 2807 | return io.ErrUnexpectedEOF |
| 2808 | } |
| 2809 | if m.InlineVolumeSpec == nil { |
| 2810 | m.InlineVolumeSpec = &k8s_io_api_core_v1.PersistentVolumeSpec{} |
| 2811 | } |
| 2812 | if err := m.InlineVolumeSpec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2813 | return err |
| 2814 | } |
| 2815 | iNdEx = postIndex |
| 2816 | default: |
| 2817 | iNdEx = preIndex |
| 2818 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2819 | if err != nil { |
| 2820 | return err |
| 2821 | } |
| 2822 | if skippy < 0 { |
| 2823 | return ErrInvalidLengthGenerated |
| 2824 | } |
| 2825 | if (iNdEx + skippy) > l { |
| 2826 | return io.ErrUnexpectedEOF |
| 2827 | } |
| 2828 | iNdEx += skippy |
| 2829 | } |
| 2830 | } |
| 2831 | |
| 2832 | if iNdEx > l { |
| 2833 | return io.ErrUnexpectedEOF |
| 2834 | } |
| 2835 | return nil |
| 2836 | } |
| 2837 | func (m *VolumeAttachmentSpec) Unmarshal(dAtA []byte) error { |
| 2838 | l := len(dAtA) |
| 2839 | iNdEx := 0 |
| 2840 | for iNdEx < l { |
| 2841 | preIndex := iNdEx |
| 2842 | var wire uint64 |
| 2843 | for shift := uint(0); ; shift += 7 { |
| 2844 | if shift >= 64 { |
| 2845 | return ErrIntOverflowGenerated |
| 2846 | } |
| 2847 | if iNdEx >= l { |
| 2848 | return io.ErrUnexpectedEOF |
| 2849 | } |
| 2850 | b := dAtA[iNdEx] |
| 2851 | iNdEx++ |
| 2852 | wire |= (uint64(b) & 0x7F) << shift |
| 2853 | if b < 0x80 { |
| 2854 | break |
| 2855 | } |
| 2856 | } |
| 2857 | fieldNum := int32(wire >> 3) |
| 2858 | wireType := int(wire & 0x7) |
| 2859 | if wireType == 4 { |
| 2860 | return fmt.Errorf("proto: VolumeAttachmentSpec: wiretype end group for non-group") |
| 2861 | } |
| 2862 | if fieldNum <= 0 { |
| 2863 | return fmt.Errorf("proto: VolumeAttachmentSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2864 | } |
| 2865 | switch fieldNum { |
| 2866 | case 1: |
| 2867 | if wireType != 2 { |
| 2868 | return fmt.Errorf("proto: wrong wireType = %d for field Attacher", wireType) |
| 2869 | } |
| 2870 | var stringLen uint64 |
| 2871 | for shift := uint(0); ; shift += 7 { |
| 2872 | if shift >= 64 { |
| 2873 | return ErrIntOverflowGenerated |
| 2874 | } |
| 2875 | if iNdEx >= l { |
| 2876 | return io.ErrUnexpectedEOF |
| 2877 | } |
| 2878 | b := dAtA[iNdEx] |
| 2879 | iNdEx++ |
| 2880 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2881 | if b < 0x80 { |
| 2882 | break |
| 2883 | } |
| 2884 | } |
| 2885 | intStringLen := int(stringLen) |
| 2886 | if intStringLen < 0 { |
| 2887 | return ErrInvalidLengthGenerated |
| 2888 | } |
| 2889 | postIndex := iNdEx + intStringLen |
| 2890 | if postIndex > l { |
| 2891 | return io.ErrUnexpectedEOF |
| 2892 | } |
| 2893 | m.Attacher = string(dAtA[iNdEx:postIndex]) |
| 2894 | iNdEx = postIndex |
| 2895 | case 2: |
| 2896 | if wireType != 2 { |
| 2897 | return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) |
| 2898 | } |
| 2899 | var msglen int |
| 2900 | for shift := uint(0); ; shift += 7 { |
| 2901 | if shift >= 64 { |
| 2902 | return ErrIntOverflowGenerated |
| 2903 | } |
| 2904 | if iNdEx >= l { |
| 2905 | return io.ErrUnexpectedEOF |
| 2906 | } |
| 2907 | b := dAtA[iNdEx] |
| 2908 | iNdEx++ |
| 2909 | msglen |= (int(b) & 0x7F) << shift |
| 2910 | if b < 0x80 { |
| 2911 | break |
| 2912 | } |
| 2913 | } |
| 2914 | if msglen < 0 { |
| 2915 | return ErrInvalidLengthGenerated |
| 2916 | } |
| 2917 | postIndex := iNdEx + msglen |
| 2918 | if postIndex > l { |
| 2919 | return io.ErrUnexpectedEOF |
| 2920 | } |
| 2921 | if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2922 | return err |
| 2923 | } |
| 2924 | iNdEx = postIndex |
| 2925 | case 3: |
| 2926 | if wireType != 2 { |
| 2927 | return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType) |
| 2928 | } |
| 2929 | var stringLen uint64 |
| 2930 | for shift := uint(0); ; shift += 7 { |
| 2931 | if shift >= 64 { |
| 2932 | return ErrIntOverflowGenerated |
| 2933 | } |
| 2934 | if iNdEx >= l { |
| 2935 | return io.ErrUnexpectedEOF |
| 2936 | } |
| 2937 | b := dAtA[iNdEx] |
| 2938 | iNdEx++ |
| 2939 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2940 | if b < 0x80 { |
| 2941 | break |
| 2942 | } |
| 2943 | } |
| 2944 | intStringLen := int(stringLen) |
| 2945 | if intStringLen < 0 { |
| 2946 | return ErrInvalidLengthGenerated |
| 2947 | } |
| 2948 | postIndex := iNdEx + intStringLen |
| 2949 | if postIndex > l { |
| 2950 | return io.ErrUnexpectedEOF |
| 2951 | } |
| 2952 | m.NodeName = string(dAtA[iNdEx:postIndex]) |
| 2953 | iNdEx = postIndex |
| 2954 | default: |
| 2955 | iNdEx = preIndex |
| 2956 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2957 | if err != nil { |
| 2958 | return err |
| 2959 | } |
| 2960 | if skippy < 0 { |
| 2961 | return ErrInvalidLengthGenerated |
| 2962 | } |
| 2963 | if (iNdEx + skippy) > l { |
| 2964 | return io.ErrUnexpectedEOF |
| 2965 | } |
| 2966 | iNdEx += skippy |
| 2967 | } |
| 2968 | } |
| 2969 | |
| 2970 | if iNdEx > l { |
| 2971 | return io.ErrUnexpectedEOF |
| 2972 | } |
| 2973 | return nil |
| 2974 | } |
| 2975 | func (m *VolumeAttachmentStatus) Unmarshal(dAtA []byte) error { |
| 2976 | l := len(dAtA) |
| 2977 | iNdEx := 0 |
| 2978 | for iNdEx < l { |
| 2979 | preIndex := iNdEx |
| 2980 | var wire uint64 |
| 2981 | for shift := uint(0); ; shift += 7 { |
| 2982 | if shift >= 64 { |
| 2983 | return ErrIntOverflowGenerated |
| 2984 | } |
| 2985 | if iNdEx >= l { |
| 2986 | return io.ErrUnexpectedEOF |
| 2987 | } |
| 2988 | b := dAtA[iNdEx] |
| 2989 | iNdEx++ |
| 2990 | wire |= (uint64(b) & 0x7F) << shift |
| 2991 | if b < 0x80 { |
| 2992 | break |
| 2993 | } |
| 2994 | } |
| 2995 | fieldNum := int32(wire >> 3) |
| 2996 | wireType := int(wire & 0x7) |
| 2997 | if wireType == 4 { |
| 2998 | return fmt.Errorf("proto: VolumeAttachmentStatus: wiretype end group for non-group") |
| 2999 | } |
| 3000 | if fieldNum <= 0 { |
| 3001 | return fmt.Errorf("proto: VolumeAttachmentStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3002 | } |
| 3003 | switch fieldNum { |
| 3004 | case 1: |
| 3005 | if wireType != 0 { |
| 3006 | return fmt.Errorf("proto: wrong wireType = %d for field Attached", wireType) |
| 3007 | } |
| 3008 | var v int |
| 3009 | for shift := uint(0); ; shift += 7 { |
| 3010 | if shift >= 64 { |
| 3011 | return ErrIntOverflowGenerated |
| 3012 | } |
| 3013 | if iNdEx >= l { |
| 3014 | return io.ErrUnexpectedEOF |
| 3015 | } |
| 3016 | b := dAtA[iNdEx] |
| 3017 | iNdEx++ |
| 3018 | v |= (int(b) & 0x7F) << shift |
| 3019 | if b < 0x80 { |
| 3020 | break |
| 3021 | } |
| 3022 | } |
| 3023 | m.Attached = bool(v != 0) |
| 3024 | case 2: |
| 3025 | if wireType != 2 { |
| 3026 | return fmt.Errorf("proto: wrong wireType = %d for field AttachmentMetadata", wireType) |
| 3027 | } |
| 3028 | var msglen int |
| 3029 | for shift := uint(0); ; shift += 7 { |
| 3030 | if shift >= 64 { |
| 3031 | return ErrIntOverflowGenerated |
| 3032 | } |
| 3033 | if iNdEx >= l { |
| 3034 | return io.ErrUnexpectedEOF |
| 3035 | } |
| 3036 | b := dAtA[iNdEx] |
| 3037 | iNdEx++ |
| 3038 | msglen |= (int(b) & 0x7F) << shift |
| 3039 | if b < 0x80 { |
| 3040 | break |
| 3041 | } |
| 3042 | } |
| 3043 | if msglen < 0 { |
| 3044 | return ErrInvalidLengthGenerated |
| 3045 | } |
| 3046 | postIndex := iNdEx + msglen |
| 3047 | if postIndex > l { |
| 3048 | return io.ErrUnexpectedEOF |
| 3049 | } |
| 3050 | if m.AttachmentMetadata == nil { |
| 3051 | m.AttachmentMetadata = make(map[string]string) |
| 3052 | } |
| 3053 | var mapkey string |
| 3054 | var mapvalue string |
| 3055 | for iNdEx < postIndex { |
| 3056 | entryPreIndex := iNdEx |
| 3057 | var wire uint64 |
| 3058 | for shift := uint(0); ; shift += 7 { |
| 3059 | if shift >= 64 { |
| 3060 | return ErrIntOverflowGenerated |
| 3061 | } |
| 3062 | if iNdEx >= l { |
| 3063 | return io.ErrUnexpectedEOF |
| 3064 | } |
| 3065 | b := dAtA[iNdEx] |
| 3066 | iNdEx++ |
| 3067 | wire |= (uint64(b) & 0x7F) << shift |
| 3068 | if b < 0x80 { |
| 3069 | break |
| 3070 | } |
| 3071 | } |
| 3072 | fieldNum := int32(wire >> 3) |
| 3073 | if fieldNum == 1 { |
| 3074 | var stringLenmapkey uint64 |
| 3075 | for shift := uint(0); ; shift += 7 { |
| 3076 | if shift >= 64 { |
| 3077 | return ErrIntOverflowGenerated |
| 3078 | } |
| 3079 | if iNdEx >= l { |
| 3080 | return io.ErrUnexpectedEOF |
| 3081 | } |
| 3082 | b := dAtA[iNdEx] |
| 3083 | iNdEx++ |
| 3084 | stringLenmapkey |= (uint64(b) & 0x7F) << shift |
| 3085 | if b < 0x80 { |
| 3086 | break |
| 3087 | } |
| 3088 | } |
| 3089 | intStringLenmapkey := int(stringLenmapkey) |
| 3090 | if intStringLenmapkey < 0 { |
| 3091 | return ErrInvalidLengthGenerated |
| 3092 | } |
| 3093 | postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 3094 | if postStringIndexmapkey > l { |
| 3095 | return io.ErrUnexpectedEOF |
| 3096 | } |
| 3097 | mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) |
| 3098 | iNdEx = postStringIndexmapkey |
| 3099 | } else if fieldNum == 2 { |
| 3100 | var stringLenmapvalue uint64 |
| 3101 | for shift := uint(0); ; shift += 7 { |
| 3102 | if shift >= 64 { |
| 3103 | return ErrIntOverflowGenerated |
| 3104 | } |
| 3105 | if iNdEx >= l { |
| 3106 | return io.ErrUnexpectedEOF |
| 3107 | } |
| 3108 | b := dAtA[iNdEx] |
| 3109 | iNdEx++ |
| 3110 | stringLenmapvalue |= (uint64(b) & 0x7F) << shift |
| 3111 | if b < 0x80 { |
| 3112 | break |
| 3113 | } |
| 3114 | } |
| 3115 | intStringLenmapvalue := int(stringLenmapvalue) |
| 3116 | if intStringLenmapvalue < 0 { |
| 3117 | return ErrInvalidLengthGenerated |
| 3118 | } |
| 3119 | postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
| 3120 | if postStringIndexmapvalue > l { |
| 3121 | return io.ErrUnexpectedEOF |
| 3122 | } |
| 3123 | mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) |
| 3124 | iNdEx = postStringIndexmapvalue |
| 3125 | } else { |
| 3126 | iNdEx = entryPreIndex |
| 3127 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3128 | if err != nil { |
| 3129 | return err |
| 3130 | } |
| 3131 | if skippy < 0 { |
| 3132 | return ErrInvalidLengthGenerated |
| 3133 | } |
| 3134 | if (iNdEx + skippy) > postIndex { |
| 3135 | return io.ErrUnexpectedEOF |
| 3136 | } |
| 3137 | iNdEx += skippy |
| 3138 | } |
| 3139 | } |
| 3140 | m.AttachmentMetadata[mapkey] = mapvalue |
| 3141 | iNdEx = postIndex |
| 3142 | case 3: |
| 3143 | if wireType != 2 { |
| 3144 | return fmt.Errorf("proto: wrong wireType = %d for field AttachError", wireType) |
| 3145 | } |
| 3146 | var msglen int |
| 3147 | for shift := uint(0); ; shift += 7 { |
| 3148 | if shift >= 64 { |
| 3149 | return ErrIntOverflowGenerated |
| 3150 | } |
| 3151 | if iNdEx >= l { |
| 3152 | return io.ErrUnexpectedEOF |
| 3153 | } |
| 3154 | b := dAtA[iNdEx] |
| 3155 | iNdEx++ |
| 3156 | msglen |= (int(b) & 0x7F) << shift |
| 3157 | if b < 0x80 { |
| 3158 | break |
| 3159 | } |
| 3160 | } |
| 3161 | if msglen < 0 { |
| 3162 | return ErrInvalidLengthGenerated |
| 3163 | } |
| 3164 | postIndex := iNdEx + msglen |
| 3165 | if postIndex > l { |
| 3166 | return io.ErrUnexpectedEOF |
| 3167 | } |
| 3168 | if m.AttachError == nil { |
| 3169 | m.AttachError = &VolumeError{} |
| 3170 | } |
| 3171 | if err := m.AttachError.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3172 | return err |
| 3173 | } |
| 3174 | iNdEx = postIndex |
| 3175 | case 4: |
| 3176 | if wireType != 2 { |
| 3177 | return fmt.Errorf("proto: wrong wireType = %d for field DetachError", wireType) |
| 3178 | } |
| 3179 | var msglen int |
| 3180 | for shift := uint(0); ; shift += 7 { |
| 3181 | if shift >= 64 { |
| 3182 | return ErrIntOverflowGenerated |
| 3183 | } |
| 3184 | if iNdEx >= l { |
| 3185 | return io.ErrUnexpectedEOF |
| 3186 | } |
| 3187 | b := dAtA[iNdEx] |
| 3188 | iNdEx++ |
| 3189 | msglen |= (int(b) & 0x7F) << shift |
| 3190 | if b < 0x80 { |
| 3191 | break |
| 3192 | } |
| 3193 | } |
| 3194 | if msglen < 0 { |
| 3195 | return ErrInvalidLengthGenerated |
| 3196 | } |
| 3197 | postIndex := iNdEx + msglen |
| 3198 | if postIndex > l { |
| 3199 | return io.ErrUnexpectedEOF |
| 3200 | } |
| 3201 | if m.DetachError == nil { |
| 3202 | m.DetachError = &VolumeError{} |
| 3203 | } |
| 3204 | if err := m.DetachError.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3205 | return err |
| 3206 | } |
| 3207 | iNdEx = postIndex |
| 3208 | default: |
| 3209 | iNdEx = preIndex |
| 3210 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3211 | if err != nil { |
| 3212 | return err |
| 3213 | } |
| 3214 | if skippy < 0 { |
| 3215 | return ErrInvalidLengthGenerated |
| 3216 | } |
| 3217 | if (iNdEx + skippy) > l { |
| 3218 | return io.ErrUnexpectedEOF |
| 3219 | } |
| 3220 | iNdEx += skippy |
| 3221 | } |
| 3222 | } |
| 3223 | |
| 3224 | if iNdEx > l { |
| 3225 | return io.ErrUnexpectedEOF |
| 3226 | } |
| 3227 | return nil |
| 3228 | } |
| 3229 | func (m *VolumeError) Unmarshal(dAtA []byte) error { |
| 3230 | l := len(dAtA) |
| 3231 | iNdEx := 0 |
| 3232 | for iNdEx < l { |
| 3233 | preIndex := iNdEx |
| 3234 | var wire uint64 |
| 3235 | for shift := uint(0); ; shift += 7 { |
| 3236 | if shift >= 64 { |
| 3237 | return ErrIntOverflowGenerated |
| 3238 | } |
| 3239 | if iNdEx >= l { |
| 3240 | return io.ErrUnexpectedEOF |
| 3241 | } |
| 3242 | b := dAtA[iNdEx] |
| 3243 | iNdEx++ |
| 3244 | wire |= (uint64(b) & 0x7F) << shift |
| 3245 | if b < 0x80 { |
| 3246 | break |
| 3247 | } |
| 3248 | } |
| 3249 | fieldNum := int32(wire >> 3) |
| 3250 | wireType := int(wire & 0x7) |
| 3251 | if wireType == 4 { |
| 3252 | return fmt.Errorf("proto: VolumeError: wiretype end group for non-group") |
| 3253 | } |
| 3254 | if fieldNum <= 0 { |
| 3255 | return fmt.Errorf("proto: VolumeError: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3256 | } |
| 3257 | switch fieldNum { |
| 3258 | case 1: |
| 3259 | if wireType != 2 { |
| 3260 | return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType) |
| 3261 | } |
| 3262 | var msglen int |
| 3263 | for shift := uint(0); ; shift += 7 { |
| 3264 | if shift >= 64 { |
| 3265 | return ErrIntOverflowGenerated |
| 3266 | } |
| 3267 | if iNdEx >= l { |
| 3268 | return io.ErrUnexpectedEOF |
| 3269 | } |
| 3270 | b := dAtA[iNdEx] |
| 3271 | iNdEx++ |
| 3272 | msglen |= (int(b) & 0x7F) << shift |
| 3273 | if b < 0x80 { |
| 3274 | break |
| 3275 | } |
| 3276 | } |
| 3277 | if msglen < 0 { |
| 3278 | return ErrInvalidLengthGenerated |
| 3279 | } |
| 3280 | postIndex := iNdEx + msglen |
| 3281 | if postIndex > l { |
| 3282 | return io.ErrUnexpectedEOF |
| 3283 | } |
| 3284 | if err := m.Time.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3285 | return err |
| 3286 | } |
| 3287 | iNdEx = postIndex |
| 3288 | case 2: |
| 3289 | if wireType != 2 { |
| 3290 | return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 3291 | } |
| 3292 | var stringLen uint64 |
| 3293 | for shift := uint(0); ; shift += 7 { |
| 3294 | if shift >= 64 { |
| 3295 | return ErrIntOverflowGenerated |
| 3296 | } |
| 3297 | if iNdEx >= l { |
| 3298 | return io.ErrUnexpectedEOF |
| 3299 | } |
| 3300 | b := dAtA[iNdEx] |
| 3301 | iNdEx++ |
| 3302 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3303 | if b < 0x80 { |
| 3304 | break |
| 3305 | } |
| 3306 | } |
| 3307 | intStringLen := int(stringLen) |
| 3308 | if intStringLen < 0 { |
| 3309 | return ErrInvalidLengthGenerated |
| 3310 | } |
| 3311 | postIndex := iNdEx + intStringLen |
| 3312 | if postIndex > l { |
| 3313 | return io.ErrUnexpectedEOF |
| 3314 | } |
| 3315 | m.Message = string(dAtA[iNdEx:postIndex]) |
| 3316 | iNdEx = postIndex |
| 3317 | default: |
| 3318 | iNdEx = preIndex |
| 3319 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3320 | if err != nil { |
| 3321 | return err |
| 3322 | } |
| 3323 | if skippy < 0 { |
| 3324 | return ErrInvalidLengthGenerated |
| 3325 | } |
| 3326 | if (iNdEx + skippy) > l { |
| 3327 | return io.ErrUnexpectedEOF |
| 3328 | } |
| 3329 | iNdEx += skippy |
| 3330 | } |
| 3331 | } |
| 3332 | |
| 3333 | if iNdEx > l { |
| 3334 | return io.ErrUnexpectedEOF |
| 3335 | } |
| 3336 | return nil |
| 3337 | } |
| 3338 | func skipGenerated(dAtA []byte) (n int, err error) { |
| 3339 | l := len(dAtA) |
| 3340 | iNdEx := 0 |
| 3341 | for iNdEx < l { |
| 3342 | var wire uint64 |
| 3343 | for shift := uint(0); ; shift += 7 { |
| 3344 | if shift >= 64 { |
| 3345 | return 0, ErrIntOverflowGenerated |
| 3346 | } |
| 3347 | if iNdEx >= l { |
| 3348 | return 0, io.ErrUnexpectedEOF |
| 3349 | } |
| 3350 | b := dAtA[iNdEx] |
| 3351 | iNdEx++ |
| 3352 | wire |= (uint64(b) & 0x7F) << shift |
| 3353 | if b < 0x80 { |
| 3354 | break |
| 3355 | } |
| 3356 | } |
| 3357 | wireType := int(wire & 0x7) |
| 3358 | switch wireType { |
| 3359 | case 0: |
| 3360 | for shift := uint(0); ; shift += 7 { |
| 3361 | if shift >= 64 { |
| 3362 | return 0, ErrIntOverflowGenerated |
| 3363 | } |
| 3364 | if iNdEx >= l { |
| 3365 | return 0, io.ErrUnexpectedEOF |
| 3366 | } |
| 3367 | iNdEx++ |
| 3368 | if dAtA[iNdEx-1] < 0x80 { |
| 3369 | break |
| 3370 | } |
| 3371 | } |
| 3372 | return iNdEx, nil |
| 3373 | case 1: |
| 3374 | iNdEx += 8 |
| 3375 | return iNdEx, nil |
| 3376 | case 2: |
| 3377 | var length int |
| 3378 | for shift := uint(0); ; shift += 7 { |
| 3379 | if shift >= 64 { |
| 3380 | return 0, ErrIntOverflowGenerated |
| 3381 | } |
| 3382 | if iNdEx >= l { |
| 3383 | return 0, io.ErrUnexpectedEOF |
| 3384 | } |
| 3385 | b := dAtA[iNdEx] |
| 3386 | iNdEx++ |
| 3387 | length |= (int(b) & 0x7F) << shift |
| 3388 | if b < 0x80 { |
| 3389 | break |
| 3390 | } |
| 3391 | } |
| 3392 | iNdEx += length |
| 3393 | if length < 0 { |
| 3394 | return 0, ErrInvalidLengthGenerated |
| 3395 | } |
| 3396 | return iNdEx, nil |
| 3397 | case 3: |
| 3398 | for { |
| 3399 | var innerWire uint64 |
| 3400 | var start int = iNdEx |
| 3401 | for shift := uint(0); ; shift += 7 { |
| 3402 | if shift >= 64 { |
| 3403 | return 0, ErrIntOverflowGenerated |
| 3404 | } |
| 3405 | if iNdEx >= l { |
| 3406 | return 0, io.ErrUnexpectedEOF |
| 3407 | } |
| 3408 | b := dAtA[iNdEx] |
| 3409 | iNdEx++ |
| 3410 | innerWire |= (uint64(b) & 0x7F) << shift |
| 3411 | if b < 0x80 { |
| 3412 | break |
| 3413 | } |
| 3414 | } |
| 3415 | innerWireType := int(innerWire & 0x7) |
| 3416 | if innerWireType == 4 { |
| 3417 | break |
| 3418 | } |
| 3419 | next, err := skipGenerated(dAtA[start:]) |
| 3420 | if err != nil { |
| 3421 | return 0, err |
| 3422 | } |
| 3423 | iNdEx = start + next |
| 3424 | } |
| 3425 | return iNdEx, nil |
| 3426 | case 4: |
| 3427 | return iNdEx, nil |
| 3428 | case 5: |
| 3429 | iNdEx += 4 |
| 3430 | return iNdEx, nil |
| 3431 | default: |
| 3432 | return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| 3433 | } |
| 3434 | } |
| 3435 | panic("unreachable") |
| 3436 | } |
| 3437 | |
| 3438 | var ( |
| 3439 | ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") |
| 3440 | ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") |
| 3441 | ) |
| 3442 | |
| 3443 | func init() { |
| 3444 | proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/storage/v1beta1/generated.proto", fileDescriptorGenerated) |
| 3445 | } |
| 3446 | |
| 3447 | var fileDescriptorGenerated = []byte{ |
| 3448 | // 1247 bytes of a gzipped FileDescriptorProto |
| 3449 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x4d, 0x6f, 0x1b, 0x45, |
| 3450 | 0x18, 0xce, 0xc6, 0xf9, 0x1c, 0x27, 0xad, 0x33, 0x44, 0x60, 0x7c, 0xb0, 0x23, 0x23, 0x68, 0x5a, |
| 3451 | 0xb5, 0xeb, 0xb6, 0x2a, 0xa8, 0xaa, 0xc4, 0x21, 0x4e, 0x23, 0xe1, 0xb6, 0x4e, 0xc3, 0x24, 0xaa, |
| 3452 | 0x50, 0xc5, 0x81, 0xc9, 0xee, 0x5b, 0x67, 0x1b, 0xef, 0xce, 0x76, 0x76, 0x6c, 0xf0, 0x8d, 0x13, |
| 3453 | 0x1c, 0x41, 0x1c, 0xf8, 0x05, 0xfc, 0x05, 0x90, 0xe0, 0xc2, 0x91, 0x9e, 0x50, 0xc5, 0xa9, 0x27, |
| 3454 | 0x8b, 0x2e, 0xff, 0xa2, 0xe2, 0x80, 0x66, 0x76, 0xec, 0xfd, 0xb0, 0xdd, 0x38, 0x1c, 0x7c, 0xf3, |
| 3455 | 0xbc, 0x1f, 0xcf, 0xfb, 0xf5, 0xcc, 0x3b, 0x6b, 0xb4, 0x7b, 0x7a, 0x3b, 0x30, 0x1d, 0x56, 0x3b, |
| 3456 | 0xed, 0x1c, 0x03, 0xf7, 0x40, 0x40, 0x50, 0xeb, 0x82, 0x67, 0x33, 0x5e, 0xd3, 0x0a, 0xea, 0x3b, |
| 3457 | 0xb5, 0x40, 0x30, 0x4e, 0x5b, 0x50, 0xeb, 0xde, 0x38, 0x06, 0x41, 0x6f, 0xd4, 0x5a, 0xe0, 0x01, |
| 3458 | 0xa7, 0x02, 0x6c, 0xd3, 0xe7, 0x4c, 0x30, 0x5c, 0x8a, 0x6c, 0x4d, 0xea, 0x3b, 0xa6, 0xb6, 0x35, |
| 3459 | 0xb5, 0x6d, 0xe9, 0x5a, 0xcb, 0x11, 0x27, 0x9d, 0x63, 0xd3, 0x62, 0x6e, 0xad, 0xc5, 0x5a, 0xac, |
| 3460 | 0xa6, 0x5c, 0x8e, 0x3b, 0x4f, 0xd4, 0x49, 0x1d, 0xd4, 0xaf, 0x08, 0xaa, 0x54, 0x4d, 0x84, 0xb5, |
| 3461 | 0x18, 0x97, 0x31, 0xb3, 0xe1, 0x4a, 0xb7, 0x62, 0x1b, 0x97, 0x5a, 0x27, 0x8e, 0x07, 0xbc, 0x57, |
| 3462 | 0xf3, 0x4f, 0x5b, 0x52, 0x10, 0xd4, 0x5c, 0x10, 0x74, 0x9c, 0x57, 0x6d, 0x92, 0x17, 0xef, 0x78, |
| 3463 | 0xc2, 0x71, 0x61, 0xc4, 0xe1, 0xa3, 0xb3, 0x1c, 0x02, 0xeb, 0x04, 0x5c, 0x9a, 0xf5, 0xab, 0xfe, |
| 3464 | 0x66, 0xa0, 0xd5, 0xdd, 0xc3, 0xc6, 0x5d, 0xee, 0x74, 0x81, 0xe3, 0x2f, 0xd0, 0x8a, 0xcc, 0xc8, |
| 3465 | 0xa6, 0x82, 0x16, 0x8d, 0x2d, 0x63, 0x3b, 0x7f, 0xf3, 0xba, 0x19, 0xb7, 0x6b, 0x08, 0x6c, 0xfa, |
| 3466 | 0xa7, 0x2d, 0x29, 0x08, 0x4c, 0x69, 0x6d, 0x76, 0x6f, 0x98, 0x0f, 0x8f, 0x9f, 0x82, 0x25, 0x9a, |
| 3467 | 0x20, 0x68, 0x1d, 0x3f, 0xef, 0x57, 0xe6, 0xc2, 0x7e, 0x05, 0xc5, 0x32, 0x32, 0x44, 0xc5, 0xf7, |
| 3468 | 0xd1, 0x42, 0xe0, 0x83, 0x55, 0x9c, 0x57, 0xe8, 0x97, 0xcd, 0xc9, 0xc3, 0x30, 0x87, 0x69, 0x1d, |
| 3469 | 0xfa, 0x60, 0xd5, 0xd7, 0x34, 0xec, 0x82, 0x3c, 0x11, 0x05, 0x52, 0xfd, 0xd5, 0x40, 0xeb, 0x43, |
| 3470 | 0xab, 0x07, 0x4e, 0x20, 0xf0, 0xe7, 0x23, 0x05, 0x98, 0xd3, 0x15, 0x20, 0xbd, 0x55, 0xfa, 0x05, |
| 3471 | 0x1d, 0x67, 0x65, 0x20, 0x49, 0x24, 0x7f, 0x0f, 0x2d, 0x3a, 0x02, 0xdc, 0xa0, 0x38, 0xbf, 0x95, |
| 3472 | 0xdb, 0xce, 0xdf, 0x7c, 0x7f, 0xaa, 0xec, 0xeb, 0xeb, 0x1a, 0x71, 0xb1, 0x21, 0x7d, 0x49, 0x04, |
| 3473 | 0x51, 0xfd, 0x36, 0x99, 0xbb, 0xac, 0x09, 0xdf, 0x41, 0x17, 0xa8, 0x10, 0xd4, 0x3a, 0x21, 0xf0, |
| 3474 | 0xac, 0xe3, 0x70, 0xb0, 0x55, 0x05, 0x2b, 0x75, 0x1c, 0xf6, 0x2b, 0x17, 0x76, 0x52, 0x1a, 0x92, |
| 3475 | 0xb1, 0x94, 0xbe, 0x3e, 0xb3, 0x1b, 0xde, 0x13, 0xf6, 0xd0, 0x6b, 0xb2, 0x8e, 0x27, 0x54, 0x83, |
| 3476 | 0xb5, 0xef, 0x41, 0x4a, 0x43, 0x32, 0x96, 0xd5, 0x5f, 0x0c, 0xb4, 0xbc, 0x7b, 0xd8, 0xd8, 0x67, |
| 3477 | 0x36, 0xcc, 0x80, 0x00, 0x8d, 0x14, 0x01, 0x2e, 0x9d, 0xd1, 0x42, 0x99, 0xd4, 0xc4, 0xf1, 0x7f, |
| 3478 | 0x17, 0xb5, 0x50, 0xda, 0x68, 0xfe, 0x6e, 0xa1, 0x05, 0x8f, 0xba, 0xa0, 0x52, 0x5f, 0x8d, 0x7d, |
| 3479 | 0xf6, 0xa9, 0x0b, 0x44, 0x69, 0xf0, 0x07, 0x68, 0xc9, 0x63, 0x36, 0x34, 0xee, 0xaa, 0x04, 0x56, |
| 3480 | 0xeb, 0x17, 0xb4, 0xcd, 0xd2, 0xbe, 0x92, 0x12, 0xad, 0xc5, 0xb7, 0xd0, 0x9a, 0x60, 0x3e, 0x6b, |
| 3481 | 0xb3, 0x56, 0xef, 0x3e, 0xf4, 0x82, 0x62, 0x6e, 0x2b, 0xb7, 0xbd, 0x5a, 0x2f, 0x84, 0xfd, 0xca, |
| 3482 | 0xda, 0x51, 0x42, 0x4e, 0x52, 0x56, 0xd5, 0x9f, 0x0d, 0x94, 0xd7, 0x19, 0xcd, 0x80, 0x8e, 0x9f, |
| 3483 | 0xa4, 0xe9, 0xf8, 0xde, 0x14, 0xbd, 0x9c, 0x40, 0x46, 0x6b, 0x98, 0xb6, 0x62, 0xe2, 0x11, 0x5a, |
| 3484 | 0xb6, 0x55, 0x43, 0x83, 0xa2, 0xa1, 0xa0, 0x2f, 0x4f, 0x01, 0xad, 0xd9, 0x7e, 0x51, 0x07, 0x58, |
| 3485 | 0x8e, 0xce, 0x01, 0x19, 0x40, 0x55, 0x7f, 0x58, 0x42, 0x6b, 0x87, 0x91, 0xef, 0x6e, 0x9b, 0x06, |
| 3486 | 0xc1, 0x0c, 0xc8, 0xf6, 0x21, 0xca, 0xfb, 0x9c, 0x75, 0x9d, 0xc0, 0x61, 0x1e, 0x70, 0x3d, 0xf2, |
| 3487 | 0xb7, 0xb4, 0x4b, 0xfe, 0x20, 0x56, 0x91, 0xa4, 0x1d, 0x6e, 0x23, 0xe4, 0x53, 0x4e, 0x5d, 0x10, |
| 3488 | 0xb2, 0x05, 0x39, 0xd5, 0x82, 0xdb, 0x6f, 0x6a, 0x41, 0xb2, 0x2c, 0xf3, 0x60, 0xe8, 0xba, 0xe7, |
| 3489 | 0x09, 0xde, 0x8b, 0x53, 0x8c, 0x15, 0x24, 0x81, 0x8f, 0x4f, 0xd1, 0x3a, 0x07, 0xab, 0x4d, 0x1d, |
| 3490 | 0xf7, 0x80, 0xb5, 0x1d, 0xab, 0x57, 0x5c, 0x50, 0x69, 0xee, 0x85, 0xfd, 0xca, 0x3a, 0x49, 0x2a, |
| 3491 | 0x5e, 0xf7, 0x2b, 0xd7, 0x47, 0x5f, 0x1c, 0xf3, 0x00, 0x78, 0xe0, 0x04, 0x02, 0x3c, 0xf1, 0x88, |
| 3492 | 0xb5, 0x3b, 0x2e, 0xa4, 0x7c, 0x48, 0x1a, 0x5b, 0xf2, 0xda, 0x95, 0xb7, 0xfe, 0xa1, 0x2f, 0x1c, |
| 3493 | 0xe6, 0x05, 0xc5, 0xc5, 0x98, 0xd7, 0xcd, 0x84, 0x9c, 0xa4, 0xac, 0xf0, 0x03, 0xb4, 0x49, 0xdb, |
| 3494 | 0x6d, 0xf6, 0x65, 0x14, 0x60, 0xef, 0x2b, 0x9f, 0x7a, 0xb2, 0x55, 0xc5, 0x25, 0xb5, 0x64, 0x8a, |
| 3495 | 0x61, 0xbf, 0xb2, 0xb9, 0x33, 0x46, 0x4f, 0xc6, 0x7a, 0xe1, 0xcf, 0xd0, 0x46, 0x57, 0x89, 0xea, |
| 3496 | 0x8e, 0x67, 0x3b, 0x5e, 0xab, 0xc9, 0x6c, 0x28, 0x2e, 0xab, 0xa2, 0xaf, 0x84, 0xfd, 0xca, 0xc6, |
| 3497 | 0xa3, 0xac, 0xf2, 0xf5, 0x38, 0x21, 0x19, 0x05, 0xc1, 0xcf, 0xd0, 0x86, 0x8a, 0x08, 0xb6, 0xbe, |
| 3498 | 0xa4, 0x0e, 0x04, 0xc5, 0x15, 0x35, 0xbf, 0xed, 0xe4, 0xfc, 0x64, 0xeb, 0x24, 0x91, 0x06, 0x57, |
| 3499 | 0xf9, 0x10, 0xda, 0x60, 0x09, 0xc6, 0x8f, 0x80, 0xbb, 0xf5, 0x77, 0xf5, 0xbc, 0x36, 0x76, 0xb2, |
| 3500 | 0x50, 0x64, 0x14, 0xbd, 0xf4, 0x31, 0xba, 0x98, 0x19, 0x38, 0x2e, 0xa0, 0xdc, 0x29, 0xf4, 0xa2, |
| 3501 | 0x25, 0x44, 0xe4, 0x4f, 0xbc, 0x89, 0x16, 0xbb, 0xb4, 0xdd, 0x81, 0x88, 0x81, 0x24, 0x3a, 0xdc, |
| 3502 | 0x99, 0xbf, 0x6d, 0x54, 0x7f, 0x37, 0x50, 0x21, 0xc9, 0x9e, 0x19, 0xac, 0x8d, 0x66, 0x7a, 0x6d, |
| 3503 | 0x6c, 0x4f, 0x4b, 0xec, 0x09, 0xbb, 0xe3, 0xa7, 0x79, 0x54, 0x88, 0x86, 0x13, 0xbd, 0x51, 0x2e, |
| 3504 | 0x78, 0x62, 0x06, 0x57, 0x9b, 0xa4, 0xde, 0x91, 0xeb, 0x6f, 0x2a, 0x22, 0x9b, 0xdd, 0xa4, 0x07, |
| 3505 | 0x05, 0x3f, 0x46, 0x4b, 0x81, 0xa0, 0xa2, 0x23, 0xef, 0xbc, 0x44, 0xbd, 0x79, 0x2e, 0x54, 0xe5, |
| 3506 | 0x19, 0x3f, 0x28, 0xd1, 0x99, 0x68, 0xc4, 0xea, 0x1f, 0x06, 0xda, 0xcc, 0xba, 0xcc, 0x60, 0xd8, |
| 3507 | 0x9f, 0xa6, 0x87, 0x7d, 0xf5, 0x3c, 0x15, 0x4d, 0x18, 0xf8, 0x5f, 0x06, 0x7a, 0x7b, 0xa4, 0x78, |
| 3508 | 0xd6, 0xe1, 0x16, 0xc8, 0x3d, 0xe1, 0x67, 0xb6, 0xd1, 0x7e, 0xfc, 0x1e, 0xab, 0x3d, 0x71, 0x30, |
| 3509 | 0x46, 0x4f, 0xc6, 0x7a, 0xe1, 0xa7, 0xa8, 0xe0, 0x78, 0x6d, 0xc7, 0x83, 0x48, 0x76, 0x18, 0x8f, |
| 3510 | 0x7b, 0xec, 0x65, 0xce, 0x22, 0xab, 0x31, 0x6f, 0x86, 0xfd, 0x4a, 0xa1, 0x91, 0x41, 0x21, 0x23, |
| 3511 | 0xb8, 0xd5, 0x3f, 0xc7, 0x8c, 0x47, 0xbd, 0x85, 0x57, 0xd1, 0x4a, 0xf4, 0xad, 0x05, 0x5c, 0x97, |
| 3512 | 0x31, 0x6c, 0xf7, 0x8e, 0x96, 0x93, 0xa1, 0x85, 0x62, 0x90, 0x6a, 0x85, 0x4e, 0xf4, 0x7c, 0x0c, |
| 3513 | 0x52, 0x9e, 0x09, 0x06, 0xa9, 0x33, 0xd1, 0x88, 0x32, 0x13, 0xf9, 0x71, 0xa2, 0x1a, 0x9a, 0x4b, |
| 3514 | 0x67, 0xb2, 0xaf, 0xe5, 0x64, 0x68, 0x51, 0xfd, 0x37, 0x37, 0x66, 0x4a, 0x8a, 0x8a, 0x89, 0x92, |
| 3515 | 0x06, 0x9f, 0x98, 0xd9, 0x92, 0xec, 0x61, 0x49, 0x36, 0xfe, 0xd1, 0x40, 0x98, 0x0e, 0x21, 0x9a, |
| 3516 | 0x03, 0xaa, 0x46, 0x7c, 0xba, 0x77, 0xfe, 0x1b, 0x62, 0xee, 0x8c, 0x80, 0x45, 0xef, 0x64, 0x49, |
| 3517 | 0x27, 0x81, 0x47, 0x0d, 0xc8, 0x98, 0x0c, 0xb0, 0x83, 0xf2, 0x91, 0x74, 0x8f, 0x73, 0xc6, 0xf5, |
| 3518 | 0x95, 0xbd, 0x74, 0x76, 0x42, 0xca, 0xbc, 0x5e, 0x96, 0x5f, 0x00, 0x3b, 0xb1, 0xff, 0xeb, 0x7e, |
| 3519 | 0x25, 0x9f, 0xd0, 0x93, 0x24, 0xb6, 0x0c, 0x65, 0x43, 0x1c, 0x6a, 0xe1, 0x7f, 0x84, 0xba, 0x0b, |
| 3520 | 0x93, 0x43, 0x25, 0xb0, 0x4b, 0x7b, 0xe8, 0x9d, 0x09, 0x0d, 0x3a, 0xd7, 0xbb, 0xf2, 0x8d, 0x81, |
| 3521 | 0x92, 0x31, 0xf0, 0x03, 0xb4, 0x20, 0xff, 0x06, 0xea, 0x0d, 0x73, 0x65, 0xba, 0x0d, 0x73, 0xe4, |
| 3522 | 0xb8, 0x10, 0x2f, 0x4a, 0x79, 0x22, 0x0a, 0x05, 0x5f, 0x46, 0xcb, 0x2e, 0x04, 0x01, 0x6d, 0xe9, |
| 3523 | 0xc8, 0xf1, 0x57, 0x5f, 0x33, 0x12, 0x93, 0x81, 0xbe, 0x7e, 0xed, 0xf9, 0xab, 0xf2, 0xdc, 0x8b, |
| 3524 | 0x57, 0xe5, 0xb9, 0x97, 0xaf, 0xca, 0x73, 0x5f, 0x87, 0x65, 0xe3, 0x79, 0x58, 0x36, 0x5e, 0x84, |
| 3525 | 0x65, 0xe3, 0x65, 0x58, 0x36, 0xfe, 0x0e, 0xcb, 0xc6, 0xf7, 0xff, 0x94, 0xe7, 0x1e, 0x2f, 0xeb, |
| 3526 | 0xbe, 0xfd, 0x17, 0x00, 0x00, 0xff, 0xff, 0xf9, 0xfc, 0xf7, 0xf5, 0xe3, 0x0f, 0x00, 0x00, |
| 3527 | } |