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