github.com/onosproject/onos-api/go@v0.10.32/onos/uenib/ran.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: onos/uenib/ran.proto 3 4 package uenib 5 6 import ( 7 encoding_binary "encoding/binary" 8 fmt "fmt" 9 _ "github.com/gogo/protobuf/gogoproto" 10 proto "github.com/gogo/protobuf/proto" 11 io "io" 12 math "math" 13 math_bits "math/bits" 14 ) 15 16 // Reference imports to suppress errors if they are not otherwise used. 17 var _ = proto.Marshal 18 var _ = fmt.Errorf 19 var _ = math.Inf 20 21 // This is a compile-time assertion to ensure that this generated file 22 // is compatible with the proto package it is being compiled against. 23 // A compilation error at this line likely means your copy of the 24 // proto package needs to be updated. 25 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 26 27 type UeIdType int32 28 29 const ( 30 UeIdType_UE_ID_TYPE_CU_UE_F1_AP_ID UeIdType = 0 31 UeIdType_UE_ID_TYPE_DU_UE_F1_AP_ID UeIdType = 1 32 UeIdType_UE_ID_TYPE_RAN_UE_NGAP_ID UeIdType = 2 33 UeIdType_UE_ID_TYPE_AMF_UE_NGAP_ID UeIdType = 3 34 UeIdType_UE_ID_TYPE_ENB_UE_S1_AP_ID UeIdType = 4 35 ) 36 37 var UeIdType_name = map[int32]string{ 38 0: "UE_ID_TYPE_CU_UE_F1_AP_ID", 39 1: "UE_ID_TYPE_DU_UE_F1_AP_ID", 40 2: "UE_ID_TYPE_RAN_UE_NGAP_ID", 41 3: "UE_ID_TYPE_AMF_UE_NGAP_ID", 42 4: "UE_ID_TYPE_ENB_UE_S1_AP_ID", 43 } 44 45 var UeIdType_value = map[string]int32{ 46 "UE_ID_TYPE_CU_UE_F1_AP_ID": 0, 47 "UE_ID_TYPE_DU_UE_F1_AP_ID": 1, 48 "UE_ID_TYPE_RAN_UE_NGAP_ID": 2, 49 "UE_ID_TYPE_AMF_UE_NGAP_ID": 3, 50 "UE_ID_TYPE_ENB_UE_S1_AP_ID": 4, 51 } 52 53 func (x UeIdType) String() string { 54 return proto.EnumName(UeIdType_name, int32(x)) 55 } 56 57 func (UeIdType) EnumDescriptor() ([]byte, []int) { 58 return fileDescriptor_176aa06704fa2b20, []int{0} 59 } 60 61 type RSMSchedulerType int32 62 63 const ( 64 RSMSchedulerType_SCHEDULER_TYPE_ROUND_ROBIN RSMSchedulerType = 0 65 RSMSchedulerType_SCHEDULER_TYPE_PROPORTIONALLY_FAIR RSMSchedulerType = 1 66 RSMSchedulerType_SCHEDULER_TYPE_QOS_BASED RSMSchedulerType = 2 67 ) 68 69 var RSMSchedulerType_name = map[int32]string{ 70 0: "SCHEDULER_TYPE_ROUND_ROBIN", 71 1: "SCHEDULER_TYPE_PROPORTIONALLY_FAIR", 72 2: "SCHEDULER_TYPE_QOS_BASED", 73 } 74 75 var RSMSchedulerType_value = map[string]int32{ 76 "SCHEDULER_TYPE_ROUND_ROBIN": 0, 77 "SCHEDULER_TYPE_PROPORTIONALLY_FAIR": 1, 78 "SCHEDULER_TYPE_QOS_BASED": 2, 79 } 80 81 func (x RSMSchedulerType) String() string { 82 return proto.EnumName(RSMSchedulerType_name, int32(x)) 83 } 84 85 func (RSMSchedulerType) EnumDescriptor() ([]byte, []int) { 86 return fileDescriptor_176aa06704fa2b20, []int{1} 87 } 88 89 type RSMSliceType int32 90 91 const ( 92 RSMSliceType_SLICE_TYPE_DL_SLICE RSMSliceType = 0 93 RSMSliceType_SLICE_TYPE_UL_SLICE RSMSliceType = 1 94 ) 95 96 var RSMSliceType_name = map[int32]string{ 97 0: "SLICE_TYPE_DL_SLICE", 98 1: "SLICE_TYPE_UL_SLICE", 99 } 100 101 var RSMSliceType_value = map[string]int32{ 102 "SLICE_TYPE_DL_SLICE": 0, 103 "SLICE_TYPE_UL_SLICE": 1, 104 } 105 106 func (x RSMSliceType) String() string { 107 return proto.EnumName(RSMSliceType_name, int32(x)) 108 } 109 110 func (RSMSliceType) EnumDescriptor() ([]byte, []int) { 111 return fileDescriptor_176aa06704fa2b20, []int{2} 112 } 113 114 // CellConnection represents UE cell connection. 115 type CellConnection struct { 116 ID ID `protobuf:"bytes,1,opt,name=id,proto3,casttype=ID" json:"id,omitempty"` 117 SignalStrength float64 `protobuf:"fixed64,2,opt,name=signal_strength,json=signalStrength,proto3" json:"signal_strength,omitempty"` 118 } 119 120 func (m *CellConnection) Reset() { *m = CellConnection{} } 121 func (m *CellConnection) String() string { return proto.CompactTextString(m) } 122 func (*CellConnection) ProtoMessage() {} 123 func (*CellConnection) Descriptor() ([]byte, []int) { 124 return fileDescriptor_176aa06704fa2b20, []int{0} 125 } 126 func (m *CellConnection) XXX_Unmarshal(b []byte) error { 127 return m.Unmarshal(b) 128 } 129 func (m *CellConnection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 130 if deterministic { 131 return xxx_messageInfo_CellConnection.Marshal(b, m, deterministic) 132 } else { 133 b = b[:cap(b)] 134 n, err := m.MarshalToSizedBuffer(b) 135 if err != nil { 136 return nil, err 137 } 138 return b[:n], nil 139 } 140 } 141 func (m *CellConnection) XXX_Merge(src proto.Message) { 142 xxx_messageInfo_CellConnection.Merge(m, src) 143 } 144 func (m *CellConnection) XXX_Size() int { 145 return m.Size() 146 } 147 func (m *CellConnection) XXX_DiscardUnknown() { 148 xxx_messageInfo_CellConnection.DiscardUnknown(m) 149 } 150 151 var xxx_messageInfo_CellConnection proto.InternalMessageInfo 152 153 func (m *CellConnection) GetID() ID { 154 if m != nil { 155 return m.ID 156 } 157 return "" 158 } 159 160 func (m *CellConnection) GetSignalStrength() float64 { 161 if m != nil { 162 return m.SignalStrength 163 } 164 return 0 165 } 166 167 // CellInfo provides data on serving cell and candidate cells. 168 type CellInfo struct { 169 ServingCell *CellConnection `protobuf:"bytes,1,opt,name=serving_cell,json=servingCell,proto3" json:"serving_cell,omitempty"` 170 CandidateCells []*CellConnection `protobuf:"bytes,2,rep,name=candidate_cells,json=candidateCells,proto3" json:"candidate_cells,omitempty"` 171 } 172 173 func (m *CellInfo) Reset() { *m = CellInfo{} } 174 func (m *CellInfo) String() string { return proto.CompactTextString(m) } 175 func (*CellInfo) ProtoMessage() {} 176 func (*CellInfo) Descriptor() ([]byte, []int) { 177 return fileDescriptor_176aa06704fa2b20, []int{1} 178 } 179 func (m *CellInfo) XXX_Unmarshal(b []byte) error { 180 return m.Unmarshal(b) 181 } 182 func (m *CellInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 183 if deterministic { 184 return xxx_messageInfo_CellInfo.Marshal(b, m, deterministic) 185 } else { 186 b = b[:cap(b)] 187 n, err := m.MarshalToSizedBuffer(b) 188 if err != nil { 189 return nil, err 190 } 191 return b[:n], nil 192 } 193 } 194 func (m *CellInfo) XXX_Merge(src proto.Message) { 195 xxx_messageInfo_CellInfo.Merge(m, src) 196 } 197 func (m *CellInfo) XXX_Size() int { 198 return m.Size() 199 } 200 func (m *CellInfo) XXX_DiscardUnknown() { 201 xxx_messageInfo_CellInfo.DiscardUnknown(m) 202 } 203 204 var xxx_messageInfo_CellInfo proto.InternalMessageInfo 205 206 func (m *CellInfo) GetServingCell() *CellConnection { 207 if m != nil { 208 return m.ServingCell 209 } 210 return nil 211 } 212 213 func (m *CellInfo) GetCandidateCells() []*CellConnection { 214 if m != nil { 215 return m.CandidateCells 216 } 217 return nil 218 } 219 220 type DuUeF1ApID struct { 221 Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 222 } 223 224 func (m *DuUeF1ApID) Reset() { *m = DuUeF1ApID{} } 225 func (m *DuUeF1ApID) String() string { return proto.CompactTextString(m) } 226 func (*DuUeF1ApID) ProtoMessage() {} 227 func (*DuUeF1ApID) Descriptor() ([]byte, []int) { 228 return fileDescriptor_176aa06704fa2b20, []int{2} 229 } 230 func (m *DuUeF1ApID) XXX_Unmarshal(b []byte) error { 231 return m.Unmarshal(b) 232 } 233 func (m *DuUeF1ApID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 234 if deterministic { 235 return xxx_messageInfo_DuUeF1ApID.Marshal(b, m, deterministic) 236 } else { 237 b = b[:cap(b)] 238 n, err := m.MarshalToSizedBuffer(b) 239 if err != nil { 240 return nil, err 241 } 242 return b[:n], nil 243 } 244 } 245 func (m *DuUeF1ApID) XXX_Merge(src proto.Message) { 246 xxx_messageInfo_DuUeF1ApID.Merge(m, src) 247 } 248 func (m *DuUeF1ApID) XXX_Size() int { 249 return m.Size() 250 } 251 func (m *DuUeF1ApID) XXX_DiscardUnknown() { 252 xxx_messageInfo_DuUeF1ApID.DiscardUnknown(m) 253 } 254 255 var xxx_messageInfo_DuUeF1ApID proto.InternalMessageInfo 256 257 func (m *DuUeF1ApID) GetValue() int64 { 258 if m != nil { 259 return m.Value 260 } 261 return 0 262 } 263 264 type CuUeF1ApID struct { 265 Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 266 } 267 268 func (m *CuUeF1ApID) Reset() { *m = CuUeF1ApID{} } 269 func (m *CuUeF1ApID) String() string { return proto.CompactTextString(m) } 270 func (*CuUeF1ApID) ProtoMessage() {} 271 func (*CuUeF1ApID) Descriptor() ([]byte, []int) { 272 return fileDescriptor_176aa06704fa2b20, []int{3} 273 } 274 func (m *CuUeF1ApID) XXX_Unmarshal(b []byte) error { 275 return m.Unmarshal(b) 276 } 277 func (m *CuUeF1ApID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 278 if deterministic { 279 return xxx_messageInfo_CuUeF1ApID.Marshal(b, m, deterministic) 280 } else { 281 b = b[:cap(b)] 282 n, err := m.MarshalToSizedBuffer(b) 283 if err != nil { 284 return nil, err 285 } 286 return b[:n], nil 287 } 288 } 289 func (m *CuUeF1ApID) XXX_Merge(src proto.Message) { 290 xxx_messageInfo_CuUeF1ApID.Merge(m, src) 291 } 292 func (m *CuUeF1ApID) XXX_Size() int { 293 return m.Size() 294 } 295 func (m *CuUeF1ApID) XXX_DiscardUnknown() { 296 xxx_messageInfo_CuUeF1ApID.DiscardUnknown(m) 297 } 298 299 var xxx_messageInfo_CuUeF1ApID proto.InternalMessageInfo 300 301 func (m *CuUeF1ApID) GetValue() int64 { 302 if m != nil { 303 return m.Value 304 } 305 return 0 306 } 307 308 type RanUeNgapID struct { 309 Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 310 } 311 312 func (m *RanUeNgapID) Reset() { *m = RanUeNgapID{} } 313 func (m *RanUeNgapID) String() string { return proto.CompactTextString(m) } 314 func (*RanUeNgapID) ProtoMessage() {} 315 func (*RanUeNgapID) Descriptor() ([]byte, []int) { 316 return fileDescriptor_176aa06704fa2b20, []int{4} 317 } 318 func (m *RanUeNgapID) XXX_Unmarshal(b []byte) error { 319 return m.Unmarshal(b) 320 } 321 func (m *RanUeNgapID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 322 if deterministic { 323 return xxx_messageInfo_RanUeNgapID.Marshal(b, m, deterministic) 324 } else { 325 b = b[:cap(b)] 326 n, err := m.MarshalToSizedBuffer(b) 327 if err != nil { 328 return nil, err 329 } 330 return b[:n], nil 331 } 332 } 333 func (m *RanUeNgapID) XXX_Merge(src proto.Message) { 334 xxx_messageInfo_RanUeNgapID.Merge(m, src) 335 } 336 func (m *RanUeNgapID) XXX_Size() int { 337 return m.Size() 338 } 339 func (m *RanUeNgapID) XXX_DiscardUnknown() { 340 xxx_messageInfo_RanUeNgapID.DiscardUnknown(m) 341 } 342 343 var xxx_messageInfo_RanUeNgapID proto.InternalMessageInfo 344 345 func (m *RanUeNgapID) GetValue() int64 { 346 if m != nil { 347 return m.Value 348 } 349 return 0 350 } 351 352 type EnbUeS1ApID struct { 353 Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 354 } 355 356 func (m *EnbUeS1ApID) Reset() { *m = EnbUeS1ApID{} } 357 func (m *EnbUeS1ApID) String() string { return proto.CompactTextString(m) } 358 func (*EnbUeS1ApID) ProtoMessage() {} 359 func (*EnbUeS1ApID) Descriptor() ([]byte, []int) { 360 return fileDescriptor_176aa06704fa2b20, []int{5} 361 } 362 func (m *EnbUeS1ApID) XXX_Unmarshal(b []byte) error { 363 return m.Unmarshal(b) 364 } 365 func (m *EnbUeS1ApID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 366 if deterministic { 367 return xxx_messageInfo_EnbUeS1ApID.Marshal(b, m, deterministic) 368 } else { 369 b = b[:cap(b)] 370 n, err := m.MarshalToSizedBuffer(b) 371 if err != nil { 372 return nil, err 373 } 374 return b[:n], nil 375 } 376 } 377 func (m *EnbUeS1ApID) XXX_Merge(src proto.Message) { 378 xxx_messageInfo_EnbUeS1ApID.Merge(m, src) 379 } 380 func (m *EnbUeS1ApID) XXX_Size() int { 381 return m.Size() 382 } 383 func (m *EnbUeS1ApID) XXX_DiscardUnknown() { 384 xxx_messageInfo_EnbUeS1ApID.DiscardUnknown(m) 385 } 386 387 var xxx_messageInfo_EnbUeS1ApID proto.InternalMessageInfo 388 389 func (m *EnbUeS1ApID) GetValue() int32 { 390 if m != nil { 391 return m.Value 392 } 393 return 0 394 } 395 396 type AmfUeNgapID struct { 397 Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 398 } 399 400 func (m *AmfUeNgapID) Reset() { *m = AmfUeNgapID{} } 401 func (m *AmfUeNgapID) String() string { return proto.CompactTextString(m) } 402 func (*AmfUeNgapID) ProtoMessage() {} 403 func (*AmfUeNgapID) Descriptor() ([]byte, []int) { 404 return fileDescriptor_176aa06704fa2b20, []int{6} 405 } 406 func (m *AmfUeNgapID) XXX_Unmarshal(b []byte) error { 407 return m.Unmarshal(b) 408 } 409 func (m *AmfUeNgapID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 410 if deterministic { 411 return xxx_messageInfo_AmfUeNgapID.Marshal(b, m, deterministic) 412 } else { 413 b = b[:cap(b)] 414 n, err := m.MarshalToSizedBuffer(b) 415 if err != nil { 416 return nil, err 417 } 418 return b[:n], nil 419 } 420 } 421 func (m *AmfUeNgapID) XXX_Merge(src proto.Message) { 422 xxx_messageInfo_AmfUeNgapID.Merge(m, src) 423 } 424 func (m *AmfUeNgapID) XXX_Size() int { 425 return m.Size() 426 } 427 func (m *AmfUeNgapID) XXX_DiscardUnknown() { 428 xxx_messageInfo_AmfUeNgapID.DiscardUnknown(m) 429 } 430 431 var xxx_messageInfo_AmfUeNgapID proto.InternalMessageInfo 432 433 func (m *AmfUeNgapID) GetValue() int64 { 434 if m != nil { 435 return m.Value 436 } 437 return 0 438 } 439 440 type UeIdentity struct { 441 DuUeF1apID *DuUeF1ApID `protobuf:"bytes,1,opt,name=du_ue_f1ap_id,json=duUeF1apId,proto3" json:"du_ue_f1ap_id,omitempty"` 442 CuUeF1apID *CuUeF1ApID `protobuf:"bytes,2,opt,name=cu_ue_f1ap_id,json=cuUeF1apId,proto3" json:"cu_ue_f1ap_id,omitempty"` 443 RANUeNgapID *RanUeNgapID `protobuf:"bytes,3,opt,name=ran_ue_ngap_id,json=ranUeNgapId,proto3" json:"ran_ue_ngap_id,omitempty"` 444 EnbUeS1apID *EnbUeS1ApID `protobuf:"bytes,4,opt,name=enb_ue_s1ap_id,json=enbUeS1apId,proto3" json:"enb_ue_s1ap_id,omitempty"` 445 AMFUeNgapID *AmfUeNgapID `protobuf:"bytes,5,opt,name=amf_ue_ngap_id,json=amfUeNgapId,proto3" json:"amf_ue_ngap_id,omitempty"` 446 PreferredIDType UeIdType `protobuf:"varint,6,opt,name=preferred_id_type,json=preferredIdType,proto3,enum=onos.uenib.UeIdType" json:"preferred_id_type,omitempty"` 447 } 448 449 func (m *UeIdentity) Reset() { *m = UeIdentity{} } 450 func (m *UeIdentity) String() string { return proto.CompactTextString(m) } 451 func (*UeIdentity) ProtoMessage() {} 452 func (*UeIdentity) Descriptor() ([]byte, []int) { 453 return fileDescriptor_176aa06704fa2b20, []int{7} 454 } 455 func (m *UeIdentity) XXX_Unmarshal(b []byte) error { 456 return m.Unmarshal(b) 457 } 458 func (m *UeIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 459 if deterministic { 460 return xxx_messageInfo_UeIdentity.Marshal(b, m, deterministic) 461 } else { 462 b = b[:cap(b)] 463 n, err := m.MarshalToSizedBuffer(b) 464 if err != nil { 465 return nil, err 466 } 467 return b[:n], nil 468 } 469 } 470 func (m *UeIdentity) XXX_Merge(src proto.Message) { 471 xxx_messageInfo_UeIdentity.Merge(m, src) 472 } 473 func (m *UeIdentity) XXX_Size() int { 474 return m.Size() 475 } 476 func (m *UeIdentity) XXX_DiscardUnknown() { 477 xxx_messageInfo_UeIdentity.DiscardUnknown(m) 478 } 479 480 var xxx_messageInfo_UeIdentity proto.InternalMessageInfo 481 482 func (m *UeIdentity) GetDuUeF1apID() *DuUeF1ApID { 483 if m != nil { 484 return m.DuUeF1apID 485 } 486 return nil 487 } 488 489 func (m *UeIdentity) GetCuUeF1apID() *CuUeF1ApID { 490 if m != nil { 491 return m.CuUeF1apID 492 } 493 return nil 494 } 495 496 func (m *UeIdentity) GetRANUeNgapID() *RanUeNgapID { 497 if m != nil { 498 return m.RANUeNgapID 499 } 500 return nil 501 } 502 503 func (m *UeIdentity) GetEnbUeS1apID() *EnbUeS1ApID { 504 if m != nil { 505 return m.EnbUeS1apID 506 } 507 return nil 508 } 509 510 func (m *UeIdentity) GetAMFUeNgapID() *AmfUeNgapID { 511 if m != nil { 512 return m.AMFUeNgapID 513 } 514 return nil 515 } 516 517 func (m *UeIdentity) GetPreferredIDType() UeIdType { 518 if m != nil { 519 return m.PreferredIDType 520 } 521 return UeIdType_UE_ID_TYPE_CU_UE_F1_AP_ID 522 } 523 524 type BearerId struct { 525 // Types that are valid to be assigned to BearerId: 526 // 527 // *BearerId_DrbId 528 BearerId isBearerId_BearerId `protobuf_oneof:"bearer_id"` 529 } 530 531 func (m *BearerId) Reset() { *m = BearerId{} } 532 func (m *BearerId) String() string { return proto.CompactTextString(m) } 533 func (*BearerId) ProtoMessage() {} 534 func (*BearerId) Descriptor() ([]byte, []int) { 535 return fileDescriptor_176aa06704fa2b20, []int{8} 536 } 537 func (m *BearerId) XXX_Unmarshal(b []byte) error { 538 return m.Unmarshal(b) 539 } 540 func (m *BearerId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 541 if deterministic { 542 return xxx_messageInfo_BearerId.Marshal(b, m, deterministic) 543 } else { 544 b = b[:cap(b)] 545 n, err := m.MarshalToSizedBuffer(b) 546 if err != nil { 547 return nil, err 548 } 549 return b[:n], nil 550 } 551 } 552 func (m *BearerId) XXX_Merge(src proto.Message) { 553 xxx_messageInfo_BearerId.Merge(m, src) 554 } 555 func (m *BearerId) XXX_Size() int { 556 return m.Size() 557 } 558 func (m *BearerId) XXX_DiscardUnknown() { 559 xxx_messageInfo_BearerId.DiscardUnknown(m) 560 } 561 562 var xxx_messageInfo_BearerId proto.InternalMessageInfo 563 564 type isBearerId_BearerId interface { 565 isBearerId_BearerId() 566 MarshalTo([]byte) (int, error) 567 Size() int 568 } 569 570 type BearerId_DrbId struct { 571 DrbId *DrbId `protobuf:"bytes,1,opt,name=drb_id,json=drbID,proto3,oneof" json:"drb_id,omitempty"` 572 } 573 574 func (*BearerId_DrbId) isBearerId_BearerId() {} 575 576 func (m *BearerId) GetBearerId() isBearerId_BearerId { 577 if m != nil { 578 return m.BearerId 579 } 580 return nil 581 } 582 583 func (m *BearerId) GetDrbId() *DrbId { 584 if x, ok := m.GetBearerId().(*BearerId_DrbId); ok { 585 return x.DrbId 586 } 587 return nil 588 } 589 590 // XXX_OneofWrappers is for the internal use of the proto package. 591 func (*BearerId) XXX_OneofWrappers() []interface{} { 592 return []interface{}{ 593 (*BearerId_DrbId)(nil), 594 } 595 } 596 597 type DrbId struct { 598 // Types that are valid to be assigned to DrbId: 599 // 600 // *DrbId_FourGdrbId 601 // *DrbId_FiveGdrbId 602 DrbId isDrbId_DrbId `protobuf_oneof:"drb_id"` 603 } 604 605 func (m *DrbId) Reset() { *m = DrbId{} } 606 func (m *DrbId) String() string { return proto.CompactTextString(m) } 607 func (*DrbId) ProtoMessage() {} 608 func (*DrbId) Descriptor() ([]byte, []int) { 609 return fileDescriptor_176aa06704fa2b20, []int{9} 610 } 611 func (m *DrbId) XXX_Unmarshal(b []byte) error { 612 return m.Unmarshal(b) 613 } 614 func (m *DrbId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 615 if deterministic { 616 return xxx_messageInfo_DrbId.Marshal(b, m, deterministic) 617 } else { 618 b = b[:cap(b)] 619 n, err := m.MarshalToSizedBuffer(b) 620 if err != nil { 621 return nil, err 622 } 623 return b[:n], nil 624 } 625 } 626 func (m *DrbId) XXX_Merge(src proto.Message) { 627 xxx_messageInfo_DrbId.Merge(m, src) 628 } 629 func (m *DrbId) XXX_Size() int { 630 return m.Size() 631 } 632 func (m *DrbId) XXX_DiscardUnknown() { 633 xxx_messageInfo_DrbId.DiscardUnknown(m) 634 } 635 636 var xxx_messageInfo_DrbId proto.InternalMessageInfo 637 638 type isDrbId_DrbId interface { 639 isDrbId_DrbId() 640 MarshalTo([]byte) (int, error) 641 Size() int 642 } 643 644 type DrbId_FourGdrbId struct { 645 FourGdrbId *FourGDrbId `protobuf:"bytes,1,opt,name=four_gdrb_id,json=fourGDrbID,proto3,oneof" json:"four_gdrb_id,omitempty"` 646 } 647 type DrbId_FiveGdrbId struct { 648 FiveGdrbId *FiveGDrbId `protobuf:"bytes,2,opt,name=five_gdrb_id,json=fiveGDrbID,proto3,oneof" json:"five_gdrb_id,omitempty"` 649 } 650 651 func (*DrbId_FourGdrbId) isDrbId_DrbId() {} 652 func (*DrbId_FiveGdrbId) isDrbId_DrbId() {} 653 654 func (m *DrbId) GetDrbId() isDrbId_DrbId { 655 if m != nil { 656 return m.DrbId 657 } 658 return nil 659 } 660 661 func (m *DrbId) GetFourGdrbId() *FourGDrbId { 662 if x, ok := m.GetDrbId().(*DrbId_FourGdrbId); ok { 663 return x.FourGdrbId 664 } 665 return nil 666 } 667 668 func (m *DrbId) GetFiveGdrbId() *FiveGDrbId { 669 if x, ok := m.GetDrbId().(*DrbId_FiveGdrbId); ok { 670 return x.FiveGdrbId 671 } 672 return nil 673 } 674 675 // XXX_OneofWrappers is for the internal use of the proto package. 676 func (*DrbId) XXX_OneofWrappers() []interface{} { 677 return []interface{}{ 678 (*DrbId_FourGdrbId)(nil), 679 (*DrbId_FiveGdrbId)(nil), 680 } 681 } 682 683 type FiveGDrbId struct { 684 Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 685 Qfi *Qfi `protobuf:"bytes,2,opt,name=qfi,proto3" json:"qfi,omitempty"` 686 FlowsMapToDrb []*QoSflowLevelParameters `protobuf:"bytes,3,rep,name=flows_map_to_drb,json=flowsMapToDrb,proto3" json:"flows_map_to_drb,omitempty"` 687 } 688 689 func (m *FiveGDrbId) Reset() { *m = FiveGDrbId{} } 690 func (m *FiveGDrbId) String() string { return proto.CompactTextString(m) } 691 func (*FiveGDrbId) ProtoMessage() {} 692 func (*FiveGDrbId) Descriptor() ([]byte, []int) { 693 return fileDescriptor_176aa06704fa2b20, []int{10} 694 } 695 func (m *FiveGDrbId) XXX_Unmarshal(b []byte) error { 696 return m.Unmarshal(b) 697 } 698 func (m *FiveGDrbId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 699 if deterministic { 700 return xxx_messageInfo_FiveGDrbId.Marshal(b, m, deterministic) 701 } else { 702 b = b[:cap(b)] 703 n, err := m.MarshalToSizedBuffer(b) 704 if err != nil { 705 return nil, err 706 } 707 return b[:n], nil 708 } 709 } 710 func (m *FiveGDrbId) XXX_Merge(src proto.Message) { 711 xxx_messageInfo_FiveGDrbId.Merge(m, src) 712 } 713 func (m *FiveGDrbId) XXX_Size() int { 714 return m.Size() 715 } 716 func (m *FiveGDrbId) XXX_DiscardUnknown() { 717 xxx_messageInfo_FiveGDrbId.DiscardUnknown(m) 718 } 719 720 var xxx_messageInfo_FiveGDrbId proto.InternalMessageInfo 721 722 func (m *FiveGDrbId) GetValue() int32 { 723 if m != nil { 724 return m.Value 725 } 726 return 0 727 } 728 729 func (m *FiveGDrbId) GetQfi() *Qfi { 730 if m != nil { 731 return m.Qfi 732 } 733 return nil 734 } 735 736 func (m *FiveGDrbId) GetFlowsMapToDrb() []*QoSflowLevelParameters { 737 if m != nil { 738 return m.FlowsMapToDrb 739 } 740 return nil 741 } 742 743 type Qfi struct { 744 Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 745 } 746 747 func (m *Qfi) Reset() { *m = Qfi{} } 748 func (m *Qfi) String() string { return proto.CompactTextString(m) } 749 func (*Qfi) ProtoMessage() {} 750 func (*Qfi) Descriptor() ([]byte, []int) { 751 return fileDescriptor_176aa06704fa2b20, []int{11} 752 } 753 func (m *Qfi) XXX_Unmarshal(b []byte) error { 754 return m.Unmarshal(b) 755 } 756 func (m *Qfi) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 757 if deterministic { 758 return xxx_messageInfo_Qfi.Marshal(b, m, deterministic) 759 } else { 760 b = b[:cap(b)] 761 n, err := m.MarshalToSizedBuffer(b) 762 if err != nil { 763 return nil, err 764 } 765 return b[:n], nil 766 } 767 } 768 func (m *Qfi) XXX_Merge(src proto.Message) { 769 xxx_messageInfo_Qfi.Merge(m, src) 770 } 771 func (m *Qfi) XXX_Size() int { 772 return m.Size() 773 } 774 func (m *Qfi) XXX_DiscardUnknown() { 775 xxx_messageInfo_Qfi.DiscardUnknown(m) 776 } 777 778 var xxx_messageInfo_Qfi proto.InternalMessageInfo 779 780 func (m *Qfi) GetValue() int32 { 781 if m != nil { 782 return m.Value 783 } 784 return 0 785 } 786 787 type QoSflowLevelParameters struct { 788 // Types that are valid to be assigned to QosFlowLevelParameters: 789 // 790 // *QoSflowLevelParameters_DynamicFiveQi 791 // *QoSflowLevelParameters_NonDynamicFiveQi 792 QosFlowLevelParameters isQoSflowLevelParameters_QosFlowLevelParameters `protobuf_oneof:"qos_flow_level_parameters"` 793 } 794 795 func (m *QoSflowLevelParameters) Reset() { *m = QoSflowLevelParameters{} } 796 func (m *QoSflowLevelParameters) String() string { return proto.CompactTextString(m) } 797 func (*QoSflowLevelParameters) ProtoMessage() {} 798 func (*QoSflowLevelParameters) Descriptor() ([]byte, []int) { 799 return fileDescriptor_176aa06704fa2b20, []int{12} 800 } 801 func (m *QoSflowLevelParameters) XXX_Unmarshal(b []byte) error { 802 return m.Unmarshal(b) 803 } 804 func (m *QoSflowLevelParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 805 if deterministic { 806 return xxx_messageInfo_QoSflowLevelParameters.Marshal(b, m, deterministic) 807 } else { 808 b = b[:cap(b)] 809 n, err := m.MarshalToSizedBuffer(b) 810 if err != nil { 811 return nil, err 812 } 813 return b[:n], nil 814 } 815 } 816 func (m *QoSflowLevelParameters) XXX_Merge(src proto.Message) { 817 xxx_messageInfo_QoSflowLevelParameters.Merge(m, src) 818 } 819 func (m *QoSflowLevelParameters) XXX_Size() int { 820 return m.Size() 821 } 822 func (m *QoSflowLevelParameters) XXX_DiscardUnknown() { 823 xxx_messageInfo_QoSflowLevelParameters.DiscardUnknown(m) 824 } 825 826 var xxx_messageInfo_QoSflowLevelParameters proto.InternalMessageInfo 827 828 type isQoSflowLevelParameters_QosFlowLevelParameters interface { 829 isQoSflowLevelParameters_QosFlowLevelParameters() 830 MarshalTo([]byte) (int, error) 831 Size() int 832 } 833 834 type QoSflowLevelParameters_DynamicFiveQi struct { 835 DynamicFiveQi *DynamicFiveQi `protobuf:"bytes,1,opt,name=dynamic_five_qi,json=dynamicFiveQi,proto3,oneof" json:"dynamic_five_qi,omitempty"` 836 } 837 type QoSflowLevelParameters_NonDynamicFiveQi struct { 838 NonDynamicFiveQi *NonDynamicFiveQi `protobuf:"bytes,2,opt,name=non_dynamic_five_qi,json=nonDynamicFiveQi,proto3,oneof" json:"non_dynamic_five_qi,omitempty"` 839 } 840 841 func (*QoSflowLevelParameters_DynamicFiveQi) isQoSflowLevelParameters_QosFlowLevelParameters() {} 842 func (*QoSflowLevelParameters_NonDynamicFiveQi) isQoSflowLevelParameters_QosFlowLevelParameters() {} 843 844 func (m *QoSflowLevelParameters) GetQosFlowLevelParameters() isQoSflowLevelParameters_QosFlowLevelParameters { 845 if m != nil { 846 return m.QosFlowLevelParameters 847 } 848 return nil 849 } 850 851 func (m *QoSflowLevelParameters) GetDynamicFiveQi() *DynamicFiveQi { 852 if x, ok := m.GetQosFlowLevelParameters().(*QoSflowLevelParameters_DynamicFiveQi); ok { 853 return x.DynamicFiveQi 854 } 855 return nil 856 } 857 858 func (m *QoSflowLevelParameters) GetNonDynamicFiveQi() *NonDynamicFiveQi { 859 if x, ok := m.GetQosFlowLevelParameters().(*QoSflowLevelParameters_NonDynamicFiveQi); ok { 860 return x.NonDynamicFiveQi 861 } 862 return nil 863 } 864 865 // XXX_OneofWrappers is for the internal use of the proto package. 866 func (*QoSflowLevelParameters) XXX_OneofWrappers() []interface{} { 867 return []interface{}{ 868 (*QoSflowLevelParameters_DynamicFiveQi)(nil), 869 (*QoSflowLevelParameters_NonDynamicFiveQi)(nil), 870 } 871 } 872 873 type DynamicFiveQi struct { 874 PriorityLevel int32 `protobuf:"varint,1,opt,name=priority_level,json=priorityLevel,proto3" json:"priority_level,omitempty"` 875 PacketDelayBudge int32 `protobuf:"varint,2,opt,name=packet_delay_budge,json=packetDelayBudge,proto3" json:"packet_delay_budge,omitempty"` 876 PacketErrorRate int32 `protobuf:"varint,3,opt,name=packet_error_rate,json=packetErrorRate,proto3" json:"packet_error_rate,omitempty"` 877 } 878 879 func (m *DynamicFiveQi) Reset() { *m = DynamicFiveQi{} } 880 func (m *DynamicFiveQi) String() string { return proto.CompactTextString(m) } 881 func (*DynamicFiveQi) ProtoMessage() {} 882 func (*DynamicFiveQi) Descriptor() ([]byte, []int) { 883 return fileDescriptor_176aa06704fa2b20, []int{13} 884 } 885 func (m *DynamicFiveQi) XXX_Unmarshal(b []byte) error { 886 return m.Unmarshal(b) 887 } 888 func (m *DynamicFiveQi) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 889 if deterministic { 890 return xxx_messageInfo_DynamicFiveQi.Marshal(b, m, deterministic) 891 } else { 892 b = b[:cap(b)] 893 n, err := m.MarshalToSizedBuffer(b) 894 if err != nil { 895 return nil, err 896 } 897 return b[:n], nil 898 } 899 } 900 func (m *DynamicFiveQi) XXX_Merge(src proto.Message) { 901 xxx_messageInfo_DynamicFiveQi.Merge(m, src) 902 } 903 func (m *DynamicFiveQi) XXX_Size() int { 904 return m.Size() 905 } 906 func (m *DynamicFiveQi) XXX_DiscardUnknown() { 907 xxx_messageInfo_DynamicFiveQi.DiscardUnknown(m) 908 } 909 910 var xxx_messageInfo_DynamicFiveQi proto.InternalMessageInfo 911 912 func (m *DynamicFiveQi) GetPriorityLevel() int32 { 913 if m != nil { 914 return m.PriorityLevel 915 } 916 return 0 917 } 918 919 func (m *DynamicFiveQi) GetPacketDelayBudge() int32 { 920 if m != nil { 921 return m.PacketDelayBudge 922 } 923 return 0 924 } 925 926 func (m *DynamicFiveQi) GetPacketErrorRate() int32 { 927 if m != nil { 928 return m.PacketErrorRate 929 } 930 return 0 931 } 932 933 type NonDynamicFiveQi struct { 934 FiveQi *FiveQi `protobuf:"bytes,1,opt,name=five_qi,json=fiveQi,proto3" json:"five_qi,omitempty"` 935 } 936 937 func (m *NonDynamicFiveQi) Reset() { *m = NonDynamicFiveQi{} } 938 func (m *NonDynamicFiveQi) String() string { return proto.CompactTextString(m) } 939 func (*NonDynamicFiveQi) ProtoMessage() {} 940 func (*NonDynamicFiveQi) Descriptor() ([]byte, []int) { 941 return fileDescriptor_176aa06704fa2b20, []int{14} 942 } 943 func (m *NonDynamicFiveQi) XXX_Unmarshal(b []byte) error { 944 return m.Unmarshal(b) 945 } 946 func (m *NonDynamicFiveQi) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 947 if deterministic { 948 return xxx_messageInfo_NonDynamicFiveQi.Marshal(b, m, deterministic) 949 } else { 950 b = b[:cap(b)] 951 n, err := m.MarshalToSizedBuffer(b) 952 if err != nil { 953 return nil, err 954 } 955 return b[:n], nil 956 } 957 } 958 func (m *NonDynamicFiveQi) XXX_Merge(src proto.Message) { 959 xxx_messageInfo_NonDynamicFiveQi.Merge(m, src) 960 } 961 func (m *NonDynamicFiveQi) XXX_Size() int { 962 return m.Size() 963 } 964 func (m *NonDynamicFiveQi) XXX_DiscardUnknown() { 965 xxx_messageInfo_NonDynamicFiveQi.DiscardUnknown(m) 966 } 967 968 var xxx_messageInfo_NonDynamicFiveQi proto.InternalMessageInfo 969 970 func (m *NonDynamicFiveQi) GetFiveQi() *FiveQi { 971 if m != nil { 972 return m.FiveQi 973 } 974 return nil 975 } 976 977 type FiveQi struct { 978 Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 979 } 980 981 func (m *FiveQi) Reset() { *m = FiveQi{} } 982 func (m *FiveQi) String() string { return proto.CompactTextString(m) } 983 func (*FiveQi) ProtoMessage() {} 984 func (*FiveQi) Descriptor() ([]byte, []int) { 985 return fileDescriptor_176aa06704fa2b20, []int{15} 986 } 987 func (m *FiveQi) XXX_Unmarshal(b []byte) error { 988 return m.Unmarshal(b) 989 } 990 func (m *FiveQi) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 991 if deterministic { 992 return xxx_messageInfo_FiveQi.Marshal(b, m, deterministic) 993 } else { 994 b = b[:cap(b)] 995 n, err := m.MarshalToSizedBuffer(b) 996 if err != nil { 997 return nil, err 998 } 999 return b[:n], nil 1000 } 1001 } 1002 func (m *FiveQi) XXX_Merge(src proto.Message) { 1003 xxx_messageInfo_FiveQi.Merge(m, src) 1004 } 1005 func (m *FiveQi) XXX_Size() int { 1006 return m.Size() 1007 } 1008 func (m *FiveQi) XXX_DiscardUnknown() { 1009 xxx_messageInfo_FiveQi.DiscardUnknown(m) 1010 } 1011 1012 var xxx_messageInfo_FiveQi proto.InternalMessageInfo 1013 1014 func (m *FiveQi) GetValue() int32 { 1015 if m != nil { 1016 return m.Value 1017 } 1018 return 0 1019 } 1020 1021 type FourGDrbId struct { 1022 Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 1023 Qci *Qci `protobuf:"bytes,2,opt,name=qci,proto3" json:"qci,omitempty"` 1024 } 1025 1026 func (m *FourGDrbId) Reset() { *m = FourGDrbId{} } 1027 func (m *FourGDrbId) String() string { return proto.CompactTextString(m) } 1028 func (*FourGDrbId) ProtoMessage() {} 1029 func (*FourGDrbId) Descriptor() ([]byte, []int) { 1030 return fileDescriptor_176aa06704fa2b20, []int{16} 1031 } 1032 func (m *FourGDrbId) XXX_Unmarshal(b []byte) error { 1033 return m.Unmarshal(b) 1034 } 1035 func (m *FourGDrbId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1036 if deterministic { 1037 return xxx_messageInfo_FourGDrbId.Marshal(b, m, deterministic) 1038 } else { 1039 b = b[:cap(b)] 1040 n, err := m.MarshalToSizedBuffer(b) 1041 if err != nil { 1042 return nil, err 1043 } 1044 return b[:n], nil 1045 } 1046 } 1047 func (m *FourGDrbId) XXX_Merge(src proto.Message) { 1048 xxx_messageInfo_FourGDrbId.Merge(m, src) 1049 } 1050 func (m *FourGDrbId) XXX_Size() int { 1051 return m.Size() 1052 } 1053 func (m *FourGDrbId) XXX_DiscardUnknown() { 1054 xxx_messageInfo_FourGDrbId.DiscardUnknown(m) 1055 } 1056 1057 var xxx_messageInfo_FourGDrbId proto.InternalMessageInfo 1058 1059 func (m *FourGDrbId) GetValue() int32 { 1060 if m != nil { 1061 return m.Value 1062 } 1063 return 0 1064 } 1065 1066 func (m *FourGDrbId) GetQci() *Qci { 1067 if m != nil { 1068 return m.Qci 1069 } 1070 return nil 1071 } 1072 1073 type Qci struct { 1074 Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 1075 } 1076 1077 func (m *Qci) Reset() { *m = Qci{} } 1078 func (m *Qci) String() string { return proto.CompactTextString(m) } 1079 func (*Qci) ProtoMessage() {} 1080 func (*Qci) Descriptor() ([]byte, []int) { 1081 return fileDescriptor_176aa06704fa2b20, []int{17} 1082 } 1083 func (m *Qci) XXX_Unmarshal(b []byte) error { 1084 return m.Unmarshal(b) 1085 } 1086 func (m *Qci) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1087 if deterministic { 1088 return xxx_messageInfo_Qci.Marshal(b, m, deterministic) 1089 } else { 1090 b = b[:cap(b)] 1091 n, err := m.MarshalToSizedBuffer(b) 1092 if err != nil { 1093 return nil, err 1094 } 1095 return b[:n], nil 1096 } 1097 } 1098 func (m *Qci) XXX_Merge(src proto.Message) { 1099 xxx_messageInfo_Qci.Merge(m, src) 1100 } 1101 func (m *Qci) XXX_Size() int { 1102 return m.Size() 1103 } 1104 func (m *Qci) XXX_DiscardUnknown() { 1105 xxx_messageInfo_Qci.DiscardUnknown(m) 1106 } 1107 1108 var xxx_messageInfo_Qci proto.InternalMessageInfo 1109 1110 func (m *Qci) GetValue() int32 { 1111 if m != nil { 1112 return m.Value 1113 } 1114 return 0 1115 } 1116 1117 type RsmUeInfo struct { 1118 GlobalUeID string `protobuf:"bytes,1,opt,name=global_ue_id,json=globalUeId,proto3" json:"global_ue_id,omitempty"` 1119 UeIdList *UeIdentity `protobuf:"bytes,2,opt,name=ue_id_list,json=ueIdList,proto3" json:"ue_id_list,omitempty"` 1120 BearerIdList []*BearerId `protobuf:"bytes,3,rep,name=bearer_id_list,json=bearerIdList,proto3" json:"bearer_id_list,omitempty"` 1121 CellGlobalId string `protobuf:"bytes,4,opt,name=cell_global_id,json=cellGlobalId,proto3" json:"cell_global_id,omitempty"` 1122 CuE2NodeId string `protobuf:"bytes,5,opt,name=cu_e2_node_id,json=cuE2NodeId,proto3" json:"cu_e2_node_id,omitempty"` 1123 DuE2NodeId string `protobuf:"bytes,6,opt,name=du_e2_node_id,json=duE2NodeId,proto3" json:"du_e2_node_id,omitempty"` 1124 SliceList []*SliceInfo `protobuf:"bytes,7,rep,name=slice_list,json=sliceList,proto3" json:"slice_list,omitempty"` 1125 } 1126 1127 func (m *RsmUeInfo) Reset() { *m = RsmUeInfo{} } 1128 func (m *RsmUeInfo) String() string { return proto.CompactTextString(m) } 1129 func (*RsmUeInfo) ProtoMessage() {} 1130 func (*RsmUeInfo) Descriptor() ([]byte, []int) { 1131 return fileDescriptor_176aa06704fa2b20, []int{18} 1132 } 1133 func (m *RsmUeInfo) XXX_Unmarshal(b []byte) error { 1134 return m.Unmarshal(b) 1135 } 1136 func (m *RsmUeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1137 if deterministic { 1138 return xxx_messageInfo_RsmUeInfo.Marshal(b, m, deterministic) 1139 } else { 1140 b = b[:cap(b)] 1141 n, err := m.MarshalToSizedBuffer(b) 1142 if err != nil { 1143 return nil, err 1144 } 1145 return b[:n], nil 1146 } 1147 } 1148 func (m *RsmUeInfo) XXX_Merge(src proto.Message) { 1149 xxx_messageInfo_RsmUeInfo.Merge(m, src) 1150 } 1151 func (m *RsmUeInfo) XXX_Size() int { 1152 return m.Size() 1153 } 1154 func (m *RsmUeInfo) XXX_DiscardUnknown() { 1155 xxx_messageInfo_RsmUeInfo.DiscardUnknown(m) 1156 } 1157 1158 var xxx_messageInfo_RsmUeInfo proto.InternalMessageInfo 1159 1160 func (m *RsmUeInfo) GetGlobalUeID() string { 1161 if m != nil { 1162 return m.GlobalUeID 1163 } 1164 return "" 1165 } 1166 1167 func (m *RsmUeInfo) GetUeIdList() *UeIdentity { 1168 if m != nil { 1169 return m.UeIdList 1170 } 1171 return nil 1172 } 1173 1174 func (m *RsmUeInfo) GetBearerIdList() []*BearerId { 1175 if m != nil { 1176 return m.BearerIdList 1177 } 1178 return nil 1179 } 1180 1181 func (m *RsmUeInfo) GetCellGlobalId() string { 1182 if m != nil { 1183 return m.CellGlobalId 1184 } 1185 return "" 1186 } 1187 1188 func (m *RsmUeInfo) GetCuE2NodeId() string { 1189 if m != nil { 1190 return m.CuE2NodeId 1191 } 1192 return "" 1193 } 1194 1195 func (m *RsmUeInfo) GetDuE2NodeId() string { 1196 if m != nil { 1197 return m.DuE2NodeId 1198 } 1199 return "" 1200 } 1201 1202 func (m *RsmUeInfo) GetSliceList() []*SliceInfo { 1203 if m != nil { 1204 return m.SliceList 1205 } 1206 return nil 1207 } 1208 1209 type SliceInfo struct { 1210 DuE2NodeId string `protobuf:"bytes,1,opt,name=du_e2_node_id,json=duE2NodeId,proto3" json:"du_e2_node_id,omitempty"` 1211 CuE2NodeId string `protobuf:"bytes,2,opt,name=cu_e2_node_id,json=cuE2NodeId,proto3" json:"cu_e2_node_id,omitempty"` 1212 ID string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` 1213 SliceDesc string `protobuf:"bytes,4,opt,name=slice_desc,json=sliceDesc,proto3" json:"slice_desc,omitempty"` 1214 SliceParameters *RSMSliceParameters `protobuf:"bytes,5,opt,name=slice_parameters,json=sliceParameters,proto3" json:"slice_parameters,omitempty"` 1215 SliceType RSMSliceType `protobuf:"varint,6,opt,name=slice_type,json=sliceType,proto3,enum=onos.uenib.RSMSliceType" json:"slice_type,omitempty"` 1216 DrbId *DrbId `protobuf:"bytes,7,opt,name=drb_id,json=drbId,proto3" json:"drb_id,omitempty"` 1217 } 1218 1219 func (m *SliceInfo) Reset() { *m = SliceInfo{} } 1220 func (m *SliceInfo) String() string { return proto.CompactTextString(m) } 1221 func (*SliceInfo) ProtoMessage() {} 1222 func (*SliceInfo) Descriptor() ([]byte, []int) { 1223 return fileDescriptor_176aa06704fa2b20, []int{19} 1224 } 1225 func (m *SliceInfo) XXX_Unmarshal(b []byte) error { 1226 return m.Unmarshal(b) 1227 } 1228 func (m *SliceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1229 if deterministic { 1230 return xxx_messageInfo_SliceInfo.Marshal(b, m, deterministic) 1231 } else { 1232 b = b[:cap(b)] 1233 n, err := m.MarshalToSizedBuffer(b) 1234 if err != nil { 1235 return nil, err 1236 } 1237 return b[:n], nil 1238 } 1239 } 1240 func (m *SliceInfo) XXX_Merge(src proto.Message) { 1241 xxx_messageInfo_SliceInfo.Merge(m, src) 1242 } 1243 func (m *SliceInfo) XXX_Size() int { 1244 return m.Size() 1245 } 1246 func (m *SliceInfo) XXX_DiscardUnknown() { 1247 xxx_messageInfo_SliceInfo.DiscardUnknown(m) 1248 } 1249 1250 var xxx_messageInfo_SliceInfo proto.InternalMessageInfo 1251 1252 func (m *SliceInfo) GetDuE2NodeId() string { 1253 if m != nil { 1254 return m.DuE2NodeId 1255 } 1256 return "" 1257 } 1258 1259 func (m *SliceInfo) GetCuE2NodeId() string { 1260 if m != nil { 1261 return m.CuE2NodeId 1262 } 1263 return "" 1264 } 1265 1266 func (m *SliceInfo) GetID() string { 1267 if m != nil { 1268 return m.ID 1269 } 1270 return "" 1271 } 1272 1273 func (m *SliceInfo) GetSliceDesc() string { 1274 if m != nil { 1275 return m.SliceDesc 1276 } 1277 return "" 1278 } 1279 1280 func (m *SliceInfo) GetSliceParameters() *RSMSliceParameters { 1281 if m != nil { 1282 return m.SliceParameters 1283 } 1284 return nil 1285 } 1286 1287 func (m *SliceInfo) GetSliceType() RSMSliceType { 1288 if m != nil { 1289 return m.SliceType 1290 } 1291 return RSMSliceType_SLICE_TYPE_DL_SLICE 1292 } 1293 1294 func (m *SliceInfo) GetDrbId() *DrbId { 1295 if m != nil { 1296 return m.DrbId 1297 } 1298 return nil 1299 } 1300 1301 type RSMSliceParameters struct { 1302 SchedulerType RSMSchedulerType `protobuf:"varint,1,opt,name=scheduler_type,json=schedulerType,proto3,enum=onos.uenib.RSMSchedulerType" json:"scheduler_type,omitempty"` 1303 Weight int32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` 1304 QosLevel int32 `protobuf:"varint,3,opt,name=qos_level,json=qosLevel,proto3" json:"qos_level,omitempty"` 1305 } 1306 1307 func (m *RSMSliceParameters) Reset() { *m = RSMSliceParameters{} } 1308 func (m *RSMSliceParameters) String() string { return proto.CompactTextString(m) } 1309 func (*RSMSliceParameters) ProtoMessage() {} 1310 func (*RSMSliceParameters) Descriptor() ([]byte, []int) { 1311 return fileDescriptor_176aa06704fa2b20, []int{20} 1312 } 1313 func (m *RSMSliceParameters) XXX_Unmarshal(b []byte) error { 1314 return m.Unmarshal(b) 1315 } 1316 func (m *RSMSliceParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1317 if deterministic { 1318 return xxx_messageInfo_RSMSliceParameters.Marshal(b, m, deterministic) 1319 } else { 1320 b = b[:cap(b)] 1321 n, err := m.MarshalToSizedBuffer(b) 1322 if err != nil { 1323 return nil, err 1324 } 1325 return b[:n], nil 1326 } 1327 } 1328 func (m *RSMSliceParameters) XXX_Merge(src proto.Message) { 1329 xxx_messageInfo_RSMSliceParameters.Merge(m, src) 1330 } 1331 func (m *RSMSliceParameters) XXX_Size() int { 1332 return m.Size() 1333 } 1334 func (m *RSMSliceParameters) XXX_DiscardUnknown() { 1335 xxx_messageInfo_RSMSliceParameters.DiscardUnknown(m) 1336 } 1337 1338 var xxx_messageInfo_RSMSliceParameters proto.InternalMessageInfo 1339 1340 func (m *RSMSliceParameters) GetSchedulerType() RSMSchedulerType { 1341 if m != nil { 1342 return m.SchedulerType 1343 } 1344 return RSMSchedulerType_SCHEDULER_TYPE_ROUND_ROBIN 1345 } 1346 1347 func (m *RSMSliceParameters) GetWeight() int32 { 1348 if m != nil { 1349 return m.Weight 1350 } 1351 return 0 1352 } 1353 1354 func (m *RSMSliceParameters) GetQosLevel() int32 { 1355 if m != nil { 1356 return m.QosLevel 1357 } 1358 return 0 1359 } 1360 1361 func init() { 1362 proto.RegisterEnum("onos.uenib.UeIdType", UeIdType_name, UeIdType_value) 1363 proto.RegisterEnum("onos.uenib.RSMSchedulerType", RSMSchedulerType_name, RSMSchedulerType_value) 1364 proto.RegisterEnum("onos.uenib.RSMSliceType", RSMSliceType_name, RSMSliceType_value) 1365 proto.RegisterType((*CellConnection)(nil), "onos.uenib.CellConnection") 1366 proto.RegisterType((*CellInfo)(nil), "onos.uenib.CellInfo") 1367 proto.RegisterType((*DuUeF1ApID)(nil), "onos.uenib.DuUeF1apID") 1368 proto.RegisterType((*CuUeF1ApID)(nil), "onos.uenib.CuUeF1apID") 1369 proto.RegisterType((*RanUeNgapID)(nil), "onos.uenib.RanUeNgapID") 1370 proto.RegisterType((*EnbUeS1ApID)(nil), "onos.uenib.EnbUeS1apID") 1371 proto.RegisterType((*AmfUeNgapID)(nil), "onos.uenib.AmfUeNgapID") 1372 proto.RegisterType((*UeIdentity)(nil), "onos.uenib.UeIdentity") 1373 proto.RegisterType((*BearerId)(nil), "onos.uenib.BearerId") 1374 proto.RegisterType((*DrbId)(nil), "onos.uenib.DrbId") 1375 proto.RegisterType((*FiveGDrbId)(nil), "onos.uenib.FiveGDrbId") 1376 proto.RegisterType((*Qfi)(nil), "onos.uenib.Qfi") 1377 proto.RegisterType((*QoSflowLevelParameters)(nil), "onos.uenib.QoSflowLevelParameters") 1378 proto.RegisterType((*DynamicFiveQi)(nil), "onos.uenib.DynamicFiveQi") 1379 proto.RegisterType((*NonDynamicFiveQi)(nil), "onos.uenib.NonDynamicFiveQi") 1380 proto.RegisterType((*FiveQi)(nil), "onos.uenib.FiveQi") 1381 proto.RegisterType((*FourGDrbId)(nil), "onos.uenib.FourGDrbId") 1382 proto.RegisterType((*Qci)(nil), "onos.uenib.Qci") 1383 proto.RegisterType((*RsmUeInfo)(nil), "onos.uenib.RsmUeInfo") 1384 proto.RegisterType((*SliceInfo)(nil), "onos.uenib.SliceInfo") 1385 proto.RegisterType((*RSMSliceParameters)(nil), "onos.uenib.RSMSliceParameters") 1386 } 1387 1388 func init() { proto.RegisterFile("onos/uenib/ran.proto", fileDescriptor_176aa06704fa2b20) } 1389 1390 var fileDescriptor_176aa06704fa2b20 = []byte{ 1391 // 1333 bytes of a gzipped FileDescriptorProto 1392 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x56, 0xcd, 0x6e, 0xdb, 0x46, 1393 0x17, 0x15, 0xa5, 0x58, 0xb1, 0xae, 0x64, 0x49, 0x99, 0xf8, 0x73, 0x94, 0xc4, 0x91, 0x1d, 0x7e, 1394 0xfd, 0x31, 0xdc, 0xc2, 0x69, 0xdc, 0x00, 0x05, 0x02, 0x14, 0xad, 0x24, 0x4a, 0x09, 0x51, 0x59, 1395 0xb6, 0x47, 0x16, 0x8a, 0xac, 0x06, 0x14, 0x67, 0xa4, 0x10, 0xa5, 0x49, 0x79, 0x48, 0x39, 0xf5, 1396 0x23, 0x74, 0x53, 0x04, 0x7d, 0x88, 0x3e, 0x42, 0x9f, 0xa1, 0xdd, 0xa5, 0xbb, 0xae, 0x8c, 0x42, 1397 0x01, 0xfa, 0x10, 0x5d, 0x15, 0x33, 0x24, 0x25, 0x92, 0x52, 0x92, 0x8d, 0x34, 0x73, 0xcf, 0xb9, 1398 0x67, 0xce, 0xfc, 0xdd, 0x21, 0x6c, 0xba, 0x8e, 0xeb, 0x3d, 0x9a, 0x32, 0xc7, 0x1a, 0x3e, 0xe2, 1399 0x86, 0x73, 0x30, 0xe1, 0xae, 0xef, 0x22, 0x10, 0xd1, 0x03, 0x19, 0xbd, 0xb7, 0x39, 0x76, 0xc7, 1400 0xae, 0x0c, 0x3f, 0x12, 0xad, 0x80, 0xa1, 0x7e, 0x0f, 0xe5, 0x16, 0xb3, 0xed, 0x96, 0xeb, 0x38, 1401 0xcc, 0xf4, 0x2d, 0xd7, 0x41, 0xdb, 0x90, 0xb5, 0x68, 0x4d, 0xd9, 0x55, 0xf6, 0x0a, 0xcd, 0xd2, 1402 0xec, 0x7a, 0x27, 0xab, 0x6b, 0xff, 0xca, 0x5f, 0x9c, 0xb5, 0x28, 0xfa, 0x14, 0x2a, 0x9e, 0x35, 1403 0x76, 0x0c, 0x9b, 0x78, 0x3e, 0x67, 0xce, 0xd8, 0x7f, 0x59, 0xcb, 0xee, 0x2a, 0x7b, 0x0a, 0x2e, 1404 0x07, 0xe1, 0x7e, 0x18, 0x55, 0x7f, 0x56, 0x60, 0x5d, 0x28, 0xeb, 0xce, 0xc8, 0x45, 0x5f, 0x43, 1405 0xc9, 0x63, 0xfc, 0xd2, 0x72, 0xc6, 0xc4, 0x64, 0xb6, 0x2d, 0xd5, 0x8b, 0x87, 0xf7, 0x0e, 0x16, 1406 0xf6, 0x0e, 0x92, 0x2e, 0x70, 0x31, 0xe4, 0x8b, 0x30, 0x6a, 0x41, 0xc5, 0x34, 0x1c, 0x6a, 0x51, 1407 0xc3, 0x67, 0x52, 0xc0, 0xab, 0x65, 0x77, 0x73, 0x1f, 0x50, 0x28, 0xcf, 0x53, 0x04, 0xe0, 0xa9, 1408 0x2a, 0x80, 0x36, 0x1d, 0xb0, 0xce, 0x63, 0x63, 0xa2, 0x6b, 0x68, 0x13, 0xd6, 0x2e, 0x0d, 0x7b, 1409 0xca, 0xa4, 0x95, 0x1c, 0x0e, 0x3a, 0x82, 0xd3, 0xfa, 0x10, 0xe7, 0xff, 0x50, 0xc4, 0x86, 0x33, 1410 0x60, 0xbd, 0xf1, 0xfb, 0x49, 0x6d, 0x67, 0x38, 0x60, 0xfd, 0x15, 0x4a, 0x6b, 0x31, 0x52, 0xe3, 1411 0x7c, 0xf4, 0x01, 0xa5, 0x7f, 0x72, 0x00, 0x03, 0xa6, 0x53, 0xe6, 0xf8, 0x96, 0x7f, 0x85, 0x74, 1412 0xd8, 0xa0, 0x53, 0x32, 0x65, 0x64, 0xf4, 0xd8, 0x98, 0x90, 0x70, 0xa3, 0x8a, 0x87, 0x5b, 0xf1, 1413 0x85, 0x58, 0x4c, 0xb3, 0x59, 0x9e, 0x5d, 0xef, 0xc4, 0xa6, 0x8d, 0x81, 0x46, 0x6d, 0x2a, 0xa4, 1414 0xcc, 0x84, 0x54, 0x76, 0x59, 0xaa, 0x95, 0x92, 0x6a, 0xc5, 0xa4, 0xcc, 0x85, 0xd4, 0x11, 0x94, 1415 0xb9, 0xe1, 0x08, 0x2d, 0x67, 0x1c, 0x68, 0xe5, 0xa4, 0xd6, 0x9d, 0xb8, 0x56, 0x6c, 0xd5, 0x9a, 1416 0x95, 0xd9, 0xf5, 0x4e, 0x11, 0x37, 0x7a, 0x51, 0x00, 0x17, 0xf9, 0x1c, 0x95, 0x72, 0xcc, 0x19, 1417 0x0a, 0x39, 0x2f, 0xb4, 0x76, 0x63, 0x59, 0x2e, 0xb6, 0xbe, 0x81, 0x5c, 0x2c, 0x80, 0x8b, 0x6c, 1418 0xde, 0x91, 0x72, 0xc6, 0xf9, 0x28, 0xee, 0x6e, 0x6d, 0x59, 0x2e, 0xb6, 0x13, 0x81, 0x5c, 0xe3, 1419 0xa8, 0xb3, 0x70, 0x67, 0xcc, 0x51, 0x8a, 0x06, 0x70, 0x6b, 0xc2, 0xd9, 0x88, 0x71, 0xce, 0x28, 1420 0xb1, 0x28, 0xf1, 0xaf, 0x26, 0xac, 0x96, 0xdf, 0x55, 0xf6, 0xca, 0x87, 0x9b, 0x71, 0x45, 0xb1, 1421 0x6b, 0x67, 0x57, 0x13, 0xd6, 0xbc, 0x3d, 0xbb, 0xde, 0xa9, 0x9c, 0x44, 0x29, 0xba, 0x26, 0x82, 1422 0xb8, 0x32, 0xd7, 0x08, 0x58, 0x6a, 0x0b, 0xd6, 0x9b, 0xcc, 0xe0, 0x8c, 0xeb, 0x14, 0xed, 0x43, 1423 0x9e, 0xf2, 0xe1, 0x62, 0x7b, 0x6f, 0x25, 0xb6, 0x97, 0x0f, 0x75, 0xfa, 0x3c, 0x83, 0xd7, 0x28, 1424 0x1f, 0xea, 0x5a, 0xb3, 0x08, 0x85, 0xa1, 0xcc, 0x23, 0x16, 0x55, 0x7f, 0x52, 0x60, 0x4d, 0xe2, 1425 0xe8, 0x29, 0x94, 0x46, 0xee, 0x94, 0x93, 0x71, 0x42, 0x28, 0xb1, 0xb9, 0x1d, 0x77, 0xca, 0x9f, 1426 0x45, 0x6a, 0x30, 0x8a, 0x7a, 0x9a, 0xcc, 0xb5, 0x2e, 0xd9, 0x3c, 0x77, 0xc5, 0xc1, 0xe8, 0x58, 1427 0x97, 0x2c, 0x96, 0x1b, 0xf5, 0xb4, 0xe6, 0x7a, 0x64, 0x5d, 0xfd, 0x45, 0x01, 0x58, 0xd0, 0x56, 1428 0xdf, 0x01, 0xf4, 0x10, 0x72, 0x17, 0x23, 0x2b, 0x1c, 0xa1, 0x12, 0x1f, 0xe1, 0x74, 0x64, 0x61, 1429 0x81, 0xa1, 0xef, 0xa0, 0x3a, 0xb2, 0xdd, 0x57, 0x1e, 0x39, 0x37, 0x26, 0xc4, 0x77, 0x09, 0xe5, 1430 0xc3, 0x5a, 0x4e, 0x5e, 0x7f, 0x35, 0xc1, 0x77, 0xfb, 0x82, 0xd6, 0x65, 0x97, 0xcc, 0x3e, 0x31, 1431 0xb8, 0x71, 0xce, 0x7c, 0xc6, 0x3d, 0xbc, 0x21, 0x73, 0x8f, 0x8c, 0xc9, 0x99, 0xab, 0xf1, 0xa1, 1432 0x7a, 0x1f, 0x72, 0xa7, 0x23, 0xeb, 0x1d, 0x17, 0xf2, 0x0f, 0x05, 0xb6, 0x56, 0xcb, 0x88, 0x12, 1433 0x44, 0xaf, 0x1c, 0xe3, 0xdc, 0x32, 0x89, 0x5c, 0x9a, 0x0b, 0x2b, 0x5c, 0xd1, 0xbb, 0x89, 0xad, 1434 0x09, 0x28, 0x62, 0xd6, 0xa7, 0xd6, 0xf3, 0x0c, 0xde, 0xa0, 0xf1, 0x00, 0x3a, 0x82, 0xdb, 0x8e, 1435 0xeb, 0x90, 0xb4, 0x50, 0x30, 0xf9, 0xed, 0xb8, 0x50, 0xcf, 0x75, 0xd2, 0x5a, 0x55, 0x27, 0x15, 1436 0x6b, 0xde, 0x87, 0xbb, 0x17, 0xae, 0x47, 0x84, 0x5d, 0x62, 0x0b, 0xbf, 0x64, 0x32, 0x37, 0xac, 1437 0xbe, 0x56, 0x60, 0x23, 0x41, 0x47, 0x1f, 0x43, 0x79, 0xc2, 0x2d, 0x97, 0x5b, 0xfe, 0x55, 0x40, 1438 0x0f, 0x27, 0xbf, 0x11, 0x45, 0xe5, 0x9c, 0xd1, 0xe7, 0x80, 0x26, 0x86, 0xf9, 0x03, 0xf3, 0x09, 1439 0x65, 0xb6, 0x71, 0x45, 0x86, 0x53, 0x3a, 0x66, 0xd2, 0xe3, 0x1a, 0xae, 0x06, 0x88, 0x26, 0x80, 1440 0xa6, 0x88, 0xa3, 0x7d, 0xb8, 0x15, 0xb2, 0x19, 0xe7, 0x2e, 0x27, 0xdc, 0xf0, 0x99, 0xbc, 0xfc, 1441 0x6b, 0xb8, 0x12, 0x00, 0x6d, 0x11, 0xc7, 0x86, 0xcf, 0xd4, 0x6f, 0xa0, 0x9a, 0x9e, 0x17, 0xfa, 1442 0x0c, 0x6e, 0x26, 0xd7, 0x13, 0xa5, 0x4f, 0xd9, 0xa9, 0x85, 0xf3, 0x23, 0xf9, 0xaf, 0xd6, 0x21, 1443 0x1f, 0xa6, 0xad, 0xde, 0xbf, 0x36, 0xc0, 0xe2, 0x4c, 0xbf, 0xe7, 0xc0, 0x99, 0xab, 0x0f, 0x9c, 1444 0x29, 0x0e, 0x9c, 0x69, 0xc9, 0x33, 0x62, 0xbe, 0x6b, 0x8c, 0x3f, 0xb3, 0x50, 0xc0, 0xde, 0xf9, 1445 0x80, 0xc9, 0x87, 0xed, 0x0b, 0x28, 0x8d, 0x6d, 0x77, 0x68, 0xd8, 0xa2, 0xba, 0xcc, 0x9f, 0x4d, 1446 0x59, 0x2a, 0x9f, 0xc9, 0xf8, 0x80, 0x89, 0x52, 0x39, 0x8e, 0xda, 0x14, 0x3d, 0x01, 0x90, 0x54, 1447 0x62, 0x5b, 0x9e, 0xbf, 0xea, 0x66, 0x2d, 0x8a, 0x3d, 0x5e, 0x9f, 0x32, 0x9d, 0x76, 0x2d, 0xcf, 1448 0x47, 0x4f, 0xa1, 0x3c, 0xbf, 0xe4, 0x41, 0x66, 0x70, 0x03, 0x12, 0x05, 0x27, 0x2a, 0x1f, 0xb8, 1449 0x34, 0x0c, 0x5b, 0x32, 0xf7, 0x23, 0x28, 0x8b, 0x37, 0x93, 0x84, 0x46, 0xc3, 0x6a, 0x5a, 0xc0, 1450 0x25, 0x11, 0x0d, 0x5c, 0xea, 0x14, 0x3d, 0x94, 0xaf, 0x01, 0x3b, 0x24, 0x8e, 0x4b, 0x59, 0x54, 1451 0x23, 0x0b, 0xa2, 0xca, 0xb7, 0x0f, 0x7b, 0x2e, 0x65, 0x01, 0x85, 0x26, 0x28, 0xf9, 0x80, 0x42, 1452 0x17, 0x94, 0x27, 0x00, 0x9e, 0x6d, 0x99, 0x2c, 0xf0, 0x78, 0x53, 0x7a, 0xfc, 0x5f, 0xdc, 0x63, 1453 0x5f, 0xa0, 0x62, 0xe9, 0x70, 0x41, 0x12, 0x85, 0x43, 0xf5, 0xb7, 0x2c, 0x14, 0xe6, 0xc0, 0xf2, 1454 0x30, 0xca, 0xd2, 0x30, 0x4b, 0x66, 0xb3, 0x4b, 0x66, 0xb7, 0xe4, 0x67, 0x4c, 0x4e, 0xee, 0x47, 1455 0x7e, 0xb6, 0xf8, 0x80, 0x79, 0x10, 0x39, 0xa4, 0xcc, 0x33, 0xc3, 0x95, 0x08, 0xac, 0x68, 0xcc, 1456 0x33, 0x91, 0x0e, 0xd5, 0x00, 0x5e, 0x5c, 0xa5, 0xf0, 0xb5, 0xa8, 0x27, 0xde, 0xb2, 0xfe, 0x91, 1457 0x34, 0x1c, 0x2b, 0x34, 0x15, 0x2f, 0x19, 0x40, 0x5f, 0x45, 0x23, 0xc5, 0x1e, 0x88, 0xda, 0x2a, 1458 0x11, 0xf9, 0x1e, 0x04, 0x1e, 0x44, 0x13, 0xed, 0xcd, 0xab, 0xff, 0xcd, 0x77, 0x54, 0xff, 0xa0, 1459 0xf6, 0x53, 0xf1, 0x91, 0x85, 0x96, 0xad, 0xa0, 0x16, 0x94, 0x3d, 0xf3, 0x25, 0xa3, 0x53, 0x9b, 1460 0xf1, 0x60, 0x74, 0x45, 0x8e, 0xbe, 0x9d, 0x1e, 0x3d, 0x22, 0x49, 0x07, 0x1b, 0x5e, 0xbc, 0x8b, 1461 0xb6, 0x20, 0xff, 0x8a, 0x59, 0xe3, 0x97, 0x7e, 0x78, 0xf7, 0xc3, 0x1e, 0xba, 0x0f, 0x05, 0x51, 1462 0x75, 0x82, 0x0a, 0x12, 0xdc, 0xf4, 0xf5, 0x0b, 0xd7, 0x93, 0xc5, 0x63, 0xff, 0x57, 0x05, 0xd6, 1463 0xa3, 0x77, 0x0f, 0x3d, 0x80, 0xbb, 0x83, 0x36, 0xd1, 0x35, 0x72, 0xf6, 0xe2, 0xa4, 0x4d, 0x5a, 1464 0x03, 0x32, 0x68, 0x93, 0xce, 0x63, 0xd2, 0x38, 0x21, 0xba, 0x56, 0xcd, 0xa4, 0x60, 0x2d, 0x09, 1465 0x2b, 0x29, 0x18, 0x37, 0x7a, 0x02, 0xef, 0x3d, 0x0b, 0xe0, 0x6c, 0x0a, 0x6e, 0x1c, 0x75, 0xe2, 1466 0x70, 0x0e, 0xd5, 0xe1, 0x5e, 0x0c, 0x6e, 0xf7, 0x9a, 0x02, 0xee, 0x47, 0xea, 0x37, 0xf6, 0x7f, 1467 0x84, 0x6a, 0x7a, 0x01, 0x44, 0x4e, 0xbf, 0xf5, 0xbc, 0xad, 0x0d, 0xba, 0x6d, 0x1c, 0x8e, 0x7a, 1468 0x3c, 0xe8, 0x69, 0x04, 0x1f, 0x37, 0xf5, 0x5e, 0x35, 0x83, 0x3e, 0x01, 0x35, 0x85, 0x9f, 0xe0, 1469 0xe3, 0x93, 0x63, 0x7c, 0xa6, 0x1f, 0xf7, 0x1a, 0xdd, 0xee, 0x0b, 0xd2, 0x69, 0xe8, 0xb8, 0xaa, 1470 0xa0, 0x6d, 0xa8, 0xa5, 0x78, 0xa7, 0xc7, 0x7d, 0xd2, 0x6c, 0xf4, 0xdb, 0x5a, 0x35, 0xbb, 0xff, 1471 0x2d, 0x94, 0xe2, 0x1b, 0x8f, 0xee, 0xc0, 0xed, 0x7e, 0x57, 0x6f, 0xb5, 0xc3, 0x65, 0xe8, 0x12, 1472 0xd9, 0xab, 0x66, 0x52, 0xc0, 0x20, 0x02, 0x94, 0x66, 0xed, 0xf7, 0x59, 0x5d, 0x79, 0x33, 0xab, 1473 0x2b, 0x7f, 0xcf, 0xea, 0xca, 0xeb, 0xb7, 0xf5, 0xcc, 0x9b, 0xb7, 0xf5, 0xcc, 0x5f, 0x6f, 0xeb, 1474 0x99, 0x61, 0x5e, 0x7e, 0xd4, 0x7f, 0xf9, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb7, 0xff, 0x7c, 1475 0x53, 0x0e, 0x0c, 0x00, 0x00, 1476 } 1477 1478 func (m *CellConnection) Marshal() (dAtA []byte, err error) { 1479 size := m.Size() 1480 dAtA = make([]byte, size) 1481 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1482 if err != nil { 1483 return nil, err 1484 } 1485 return dAtA[:n], nil 1486 } 1487 1488 func (m *CellConnection) MarshalTo(dAtA []byte) (int, error) { 1489 size := m.Size() 1490 return m.MarshalToSizedBuffer(dAtA[:size]) 1491 } 1492 1493 func (m *CellConnection) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1494 i := len(dAtA) 1495 _ = i 1496 var l int 1497 _ = l 1498 if m.SignalStrength != 0 { 1499 i -= 8 1500 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.SignalStrength)))) 1501 i-- 1502 dAtA[i] = 0x11 1503 } 1504 if len(m.ID) > 0 { 1505 i -= len(m.ID) 1506 copy(dAtA[i:], m.ID) 1507 i = encodeVarintRan(dAtA, i, uint64(len(m.ID))) 1508 i-- 1509 dAtA[i] = 0xa 1510 } 1511 return len(dAtA) - i, nil 1512 } 1513 1514 func (m *CellInfo) Marshal() (dAtA []byte, err error) { 1515 size := m.Size() 1516 dAtA = make([]byte, size) 1517 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1518 if err != nil { 1519 return nil, err 1520 } 1521 return dAtA[:n], nil 1522 } 1523 1524 func (m *CellInfo) MarshalTo(dAtA []byte) (int, error) { 1525 size := m.Size() 1526 return m.MarshalToSizedBuffer(dAtA[:size]) 1527 } 1528 1529 func (m *CellInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1530 i := len(dAtA) 1531 _ = i 1532 var l int 1533 _ = l 1534 if len(m.CandidateCells) > 0 { 1535 for iNdEx := len(m.CandidateCells) - 1; iNdEx >= 0; iNdEx-- { 1536 { 1537 size, err := m.CandidateCells[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 1538 if err != nil { 1539 return 0, err 1540 } 1541 i -= size 1542 i = encodeVarintRan(dAtA, i, uint64(size)) 1543 } 1544 i-- 1545 dAtA[i] = 0x12 1546 } 1547 } 1548 if m.ServingCell != nil { 1549 { 1550 size, err := m.ServingCell.MarshalToSizedBuffer(dAtA[:i]) 1551 if err != nil { 1552 return 0, err 1553 } 1554 i -= size 1555 i = encodeVarintRan(dAtA, i, uint64(size)) 1556 } 1557 i-- 1558 dAtA[i] = 0xa 1559 } 1560 return len(dAtA) - i, nil 1561 } 1562 1563 func (m *DuUeF1ApID) Marshal() (dAtA []byte, err error) { 1564 size := m.Size() 1565 dAtA = make([]byte, size) 1566 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1567 if err != nil { 1568 return nil, err 1569 } 1570 return dAtA[:n], nil 1571 } 1572 1573 func (m *DuUeF1ApID) MarshalTo(dAtA []byte) (int, error) { 1574 size := m.Size() 1575 return m.MarshalToSizedBuffer(dAtA[:size]) 1576 } 1577 1578 func (m *DuUeF1ApID) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1579 i := len(dAtA) 1580 _ = i 1581 var l int 1582 _ = l 1583 if m.Value != 0 { 1584 i = encodeVarintRan(dAtA, i, uint64(m.Value)) 1585 i-- 1586 dAtA[i] = 0x8 1587 } 1588 return len(dAtA) - i, nil 1589 } 1590 1591 func (m *CuUeF1ApID) Marshal() (dAtA []byte, err error) { 1592 size := m.Size() 1593 dAtA = make([]byte, size) 1594 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1595 if err != nil { 1596 return nil, err 1597 } 1598 return dAtA[:n], nil 1599 } 1600 1601 func (m *CuUeF1ApID) MarshalTo(dAtA []byte) (int, error) { 1602 size := m.Size() 1603 return m.MarshalToSizedBuffer(dAtA[:size]) 1604 } 1605 1606 func (m *CuUeF1ApID) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1607 i := len(dAtA) 1608 _ = i 1609 var l int 1610 _ = l 1611 if m.Value != 0 { 1612 i = encodeVarintRan(dAtA, i, uint64(m.Value)) 1613 i-- 1614 dAtA[i] = 0x8 1615 } 1616 return len(dAtA) - i, nil 1617 } 1618 1619 func (m *RanUeNgapID) Marshal() (dAtA []byte, err error) { 1620 size := m.Size() 1621 dAtA = make([]byte, size) 1622 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1623 if err != nil { 1624 return nil, err 1625 } 1626 return dAtA[:n], nil 1627 } 1628 1629 func (m *RanUeNgapID) MarshalTo(dAtA []byte) (int, error) { 1630 size := m.Size() 1631 return m.MarshalToSizedBuffer(dAtA[:size]) 1632 } 1633 1634 func (m *RanUeNgapID) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1635 i := len(dAtA) 1636 _ = i 1637 var l int 1638 _ = l 1639 if m.Value != 0 { 1640 i = encodeVarintRan(dAtA, i, uint64(m.Value)) 1641 i-- 1642 dAtA[i] = 0x8 1643 } 1644 return len(dAtA) - i, nil 1645 } 1646 1647 func (m *EnbUeS1ApID) Marshal() (dAtA []byte, err error) { 1648 size := m.Size() 1649 dAtA = make([]byte, size) 1650 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1651 if err != nil { 1652 return nil, err 1653 } 1654 return dAtA[:n], nil 1655 } 1656 1657 func (m *EnbUeS1ApID) MarshalTo(dAtA []byte) (int, error) { 1658 size := m.Size() 1659 return m.MarshalToSizedBuffer(dAtA[:size]) 1660 } 1661 1662 func (m *EnbUeS1ApID) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1663 i := len(dAtA) 1664 _ = i 1665 var l int 1666 _ = l 1667 if m.Value != 0 { 1668 i = encodeVarintRan(dAtA, i, uint64(m.Value)) 1669 i-- 1670 dAtA[i] = 0x8 1671 } 1672 return len(dAtA) - i, nil 1673 } 1674 1675 func (m *AmfUeNgapID) Marshal() (dAtA []byte, err error) { 1676 size := m.Size() 1677 dAtA = make([]byte, size) 1678 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1679 if err != nil { 1680 return nil, err 1681 } 1682 return dAtA[:n], nil 1683 } 1684 1685 func (m *AmfUeNgapID) MarshalTo(dAtA []byte) (int, error) { 1686 size := m.Size() 1687 return m.MarshalToSizedBuffer(dAtA[:size]) 1688 } 1689 1690 func (m *AmfUeNgapID) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1691 i := len(dAtA) 1692 _ = i 1693 var l int 1694 _ = l 1695 if m.Value != 0 { 1696 i = encodeVarintRan(dAtA, i, uint64(m.Value)) 1697 i-- 1698 dAtA[i] = 0x8 1699 } 1700 return len(dAtA) - i, nil 1701 } 1702 1703 func (m *UeIdentity) Marshal() (dAtA []byte, err error) { 1704 size := m.Size() 1705 dAtA = make([]byte, size) 1706 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1707 if err != nil { 1708 return nil, err 1709 } 1710 return dAtA[:n], nil 1711 } 1712 1713 func (m *UeIdentity) MarshalTo(dAtA []byte) (int, error) { 1714 size := m.Size() 1715 return m.MarshalToSizedBuffer(dAtA[:size]) 1716 } 1717 1718 func (m *UeIdentity) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1719 i := len(dAtA) 1720 _ = i 1721 var l int 1722 _ = l 1723 if m.PreferredIDType != 0 { 1724 i = encodeVarintRan(dAtA, i, uint64(m.PreferredIDType)) 1725 i-- 1726 dAtA[i] = 0x30 1727 } 1728 if m.AMFUeNgapID != nil { 1729 { 1730 size, err := m.AMFUeNgapID.MarshalToSizedBuffer(dAtA[:i]) 1731 if err != nil { 1732 return 0, err 1733 } 1734 i -= size 1735 i = encodeVarintRan(dAtA, i, uint64(size)) 1736 } 1737 i-- 1738 dAtA[i] = 0x2a 1739 } 1740 if m.EnbUeS1apID != nil { 1741 { 1742 size, err := m.EnbUeS1apID.MarshalToSizedBuffer(dAtA[:i]) 1743 if err != nil { 1744 return 0, err 1745 } 1746 i -= size 1747 i = encodeVarintRan(dAtA, i, uint64(size)) 1748 } 1749 i-- 1750 dAtA[i] = 0x22 1751 } 1752 if m.RANUeNgapID != nil { 1753 { 1754 size, err := m.RANUeNgapID.MarshalToSizedBuffer(dAtA[:i]) 1755 if err != nil { 1756 return 0, err 1757 } 1758 i -= size 1759 i = encodeVarintRan(dAtA, i, uint64(size)) 1760 } 1761 i-- 1762 dAtA[i] = 0x1a 1763 } 1764 if m.CuUeF1apID != nil { 1765 { 1766 size, err := m.CuUeF1apID.MarshalToSizedBuffer(dAtA[:i]) 1767 if err != nil { 1768 return 0, err 1769 } 1770 i -= size 1771 i = encodeVarintRan(dAtA, i, uint64(size)) 1772 } 1773 i-- 1774 dAtA[i] = 0x12 1775 } 1776 if m.DuUeF1apID != nil { 1777 { 1778 size, err := m.DuUeF1apID.MarshalToSizedBuffer(dAtA[:i]) 1779 if err != nil { 1780 return 0, err 1781 } 1782 i -= size 1783 i = encodeVarintRan(dAtA, i, uint64(size)) 1784 } 1785 i-- 1786 dAtA[i] = 0xa 1787 } 1788 return len(dAtA) - i, nil 1789 } 1790 1791 func (m *BearerId) Marshal() (dAtA []byte, err error) { 1792 size := m.Size() 1793 dAtA = make([]byte, size) 1794 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1795 if err != nil { 1796 return nil, err 1797 } 1798 return dAtA[:n], nil 1799 } 1800 1801 func (m *BearerId) MarshalTo(dAtA []byte) (int, error) { 1802 size := m.Size() 1803 return m.MarshalToSizedBuffer(dAtA[:size]) 1804 } 1805 1806 func (m *BearerId) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1807 i := len(dAtA) 1808 _ = i 1809 var l int 1810 _ = l 1811 if m.BearerId != nil { 1812 { 1813 size := m.BearerId.Size() 1814 i -= size 1815 if _, err := m.BearerId.MarshalTo(dAtA[i:]); err != nil { 1816 return 0, err 1817 } 1818 } 1819 } 1820 return len(dAtA) - i, nil 1821 } 1822 1823 func (m *BearerId_DrbId) MarshalTo(dAtA []byte) (int, error) { 1824 size := m.Size() 1825 return m.MarshalToSizedBuffer(dAtA[:size]) 1826 } 1827 1828 func (m *BearerId_DrbId) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1829 i := len(dAtA) 1830 if m.DrbId != nil { 1831 { 1832 size, err := m.DrbId.MarshalToSizedBuffer(dAtA[:i]) 1833 if err != nil { 1834 return 0, err 1835 } 1836 i -= size 1837 i = encodeVarintRan(dAtA, i, uint64(size)) 1838 } 1839 i-- 1840 dAtA[i] = 0xa 1841 } 1842 return len(dAtA) - i, nil 1843 } 1844 func (m *DrbId) Marshal() (dAtA []byte, err error) { 1845 size := m.Size() 1846 dAtA = make([]byte, size) 1847 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1848 if err != nil { 1849 return nil, err 1850 } 1851 return dAtA[:n], nil 1852 } 1853 1854 func (m *DrbId) MarshalTo(dAtA []byte) (int, error) { 1855 size := m.Size() 1856 return m.MarshalToSizedBuffer(dAtA[:size]) 1857 } 1858 1859 func (m *DrbId) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1860 i := len(dAtA) 1861 _ = i 1862 var l int 1863 _ = l 1864 if m.DrbId != nil { 1865 { 1866 size := m.DrbId.Size() 1867 i -= size 1868 if _, err := m.DrbId.MarshalTo(dAtA[i:]); err != nil { 1869 return 0, err 1870 } 1871 } 1872 } 1873 return len(dAtA) - i, nil 1874 } 1875 1876 func (m *DrbId_FourGdrbId) MarshalTo(dAtA []byte) (int, error) { 1877 size := m.Size() 1878 return m.MarshalToSizedBuffer(dAtA[:size]) 1879 } 1880 1881 func (m *DrbId_FourGdrbId) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1882 i := len(dAtA) 1883 if m.FourGdrbId != nil { 1884 { 1885 size, err := m.FourGdrbId.MarshalToSizedBuffer(dAtA[:i]) 1886 if err != nil { 1887 return 0, err 1888 } 1889 i -= size 1890 i = encodeVarintRan(dAtA, i, uint64(size)) 1891 } 1892 i-- 1893 dAtA[i] = 0xa 1894 } 1895 return len(dAtA) - i, nil 1896 } 1897 func (m *DrbId_FiveGdrbId) MarshalTo(dAtA []byte) (int, error) { 1898 size := m.Size() 1899 return m.MarshalToSizedBuffer(dAtA[:size]) 1900 } 1901 1902 func (m *DrbId_FiveGdrbId) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1903 i := len(dAtA) 1904 if m.FiveGdrbId != nil { 1905 { 1906 size, err := m.FiveGdrbId.MarshalToSizedBuffer(dAtA[:i]) 1907 if err != nil { 1908 return 0, err 1909 } 1910 i -= size 1911 i = encodeVarintRan(dAtA, i, uint64(size)) 1912 } 1913 i-- 1914 dAtA[i] = 0x12 1915 } 1916 return len(dAtA) - i, nil 1917 } 1918 func (m *FiveGDrbId) Marshal() (dAtA []byte, err error) { 1919 size := m.Size() 1920 dAtA = make([]byte, size) 1921 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1922 if err != nil { 1923 return nil, err 1924 } 1925 return dAtA[:n], nil 1926 } 1927 1928 func (m *FiveGDrbId) MarshalTo(dAtA []byte) (int, error) { 1929 size := m.Size() 1930 return m.MarshalToSizedBuffer(dAtA[:size]) 1931 } 1932 1933 func (m *FiveGDrbId) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1934 i := len(dAtA) 1935 _ = i 1936 var l int 1937 _ = l 1938 if len(m.FlowsMapToDrb) > 0 { 1939 for iNdEx := len(m.FlowsMapToDrb) - 1; iNdEx >= 0; iNdEx-- { 1940 { 1941 size, err := m.FlowsMapToDrb[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 1942 if err != nil { 1943 return 0, err 1944 } 1945 i -= size 1946 i = encodeVarintRan(dAtA, i, uint64(size)) 1947 } 1948 i-- 1949 dAtA[i] = 0x1a 1950 } 1951 } 1952 if m.Qfi != nil { 1953 { 1954 size, err := m.Qfi.MarshalToSizedBuffer(dAtA[:i]) 1955 if err != nil { 1956 return 0, err 1957 } 1958 i -= size 1959 i = encodeVarintRan(dAtA, i, uint64(size)) 1960 } 1961 i-- 1962 dAtA[i] = 0x12 1963 } 1964 if m.Value != 0 { 1965 i = encodeVarintRan(dAtA, i, uint64(m.Value)) 1966 i-- 1967 dAtA[i] = 0x8 1968 } 1969 return len(dAtA) - i, nil 1970 } 1971 1972 func (m *Qfi) Marshal() (dAtA []byte, err error) { 1973 size := m.Size() 1974 dAtA = make([]byte, size) 1975 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1976 if err != nil { 1977 return nil, err 1978 } 1979 return dAtA[:n], nil 1980 } 1981 1982 func (m *Qfi) MarshalTo(dAtA []byte) (int, error) { 1983 size := m.Size() 1984 return m.MarshalToSizedBuffer(dAtA[:size]) 1985 } 1986 1987 func (m *Qfi) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1988 i := len(dAtA) 1989 _ = i 1990 var l int 1991 _ = l 1992 if m.Value != 0 { 1993 i = encodeVarintRan(dAtA, i, uint64(m.Value)) 1994 i-- 1995 dAtA[i] = 0x8 1996 } 1997 return len(dAtA) - i, nil 1998 } 1999 2000 func (m *QoSflowLevelParameters) Marshal() (dAtA []byte, err error) { 2001 size := m.Size() 2002 dAtA = make([]byte, size) 2003 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2004 if err != nil { 2005 return nil, err 2006 } 2007 return dAtA[:n], nil 2008 } 2009 2010 func (m *QoSflowLevelParameters) MarshalTo(dAtA []byte) (int, error) { 2011 size := m.Size() 2012 return m.MarshalToSizedBuffer(dAtA[:size]) 2013 } 2014 2015 func (m *QoSflowLevelParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2016 i := len(dAtA) 2017 _ = i 2018 var l int 2019 _ = l 2020 if m.QosFlowLevelParameters != nil { 2021 { 2022 size := m.QosFlowLevelParameters.Size() 2023 i -= size 2024 if _, err := m.QosFlowLevelParameters.MarshalTo(dAtA[i:]); err != nil { 2025 return 0, err 2026 } 2027 } 2028 } 2029 return len(dAtA) - i, nil 2030 } 2031 2032 func (m *QoSflowLevelParameters_DynamicFiveQi) MarshalTo(dAtA []byte) (int, error) { 2033 size := m.Size() 2034 return m.MarshalToSizedBuffer(dAtA[:size]) 2035 } 2036 2037 func (m *QoSflowLevelParameters_DynamicFiveQi) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2038 i := len(dAtA) 2039 if m.DynamicFiveQi != nil { 2040 { 2041 size, err := m.DynamicFiveQi.MarshalToSizedBuffer(dAtA[:i]) 2042 if err != nil { 2043 return 0, err 2044 } 2045 i -= size 2046 i = encodeVarintRan(dAtA, i, uint64(size)) 2047 } 2048 i-- 2049 dAtA[i] = 0xa 2050 } 2051 return len(dAtA) - i, nil 2052 } 2053 func (m *QoSflowLevelParameters_NonDynamicFiveQi) MarshalTo(dAtA []byte) (int, error) { 2054 size := m.Size() 2055 return m.MarshalToSizedBuffer(dAtA[:size]) 2056 } 2057 2058 func (m *QoSflowLevelParameters_NonDynamicFiveQi) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2059 i := len(dAtA) 2060 if m.NonDynamicFiveQi != nil { 2061 { 2062 size, err := m.NonDynamicFiveQi.MarshalToSizedBuffer(dAtA[:i]) 2063 if err != nil { 2064 return 0, err 2065 } 2066 i -= size 2067 i = encodeVarintRan(dAtA, i, uint64(size)) 2068 } 2069 i-- 2070 dAtA[i] = 0x12 2071 } 2072 return len(dAtA) - i, nil 2073 } 2074 func (m *DynamicFiveQi) Marshal() (dAtA []byte, err error) { 2075 size := m.Size() 2076 dAtA = make([]byte, size) 2077 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2078 if err != nil { 2079 return nil, err 2080 } 2081 return dAtA[:n], nil 2082 } 2083 2084 func (m *DynamicFiveQi) MarshalTo(dAtA []byte) (int, error) { 2085 size := m.Size() 2086 return m.MarshalToSizedBuffer(dAtA[:size]) 2087 } 2088 2089 func (m *DynamicFiveQi) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2090 i := len(dAtA) 2091 _ = i 2092 var l int 2093 _ = l 2094 if m.PacketErrorRate != 0 { 2095 i = encodeVarintRan(dAtA, i, uint64(m.PacketErrorRate)) 2096 i-- 2097 dAtA[i] = 0x18 2098 } 2099 if m.PacketDelayBudge != 0 { 2100 i = encodeVarintRan(dAtA, i, uint64(m.PacketDelayBudge)) 2101 i-- 2102 dAtA[i] = 0x10 2103 } 2104 if m.PriorityLevel != 0 { 2105 i = encodeVarintRan(dAtA, i, uint64(m.PriorityLevel)) 2106 i-- 2107 dAtA[i] = 0x8 2108 } 2109 return len(dAtA) - i, nil 2110 } 2111 2112 func (m *NonDynamicFiveQi) Marshal() (dAtA []byte, err error) { 2113 size := m.Size() 2114 dAtA = make([]byte, size) 2115 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2116 if err != nil { 2117 return nil, err 2118 } 2119 return dAtA[:n], nil 2120 } 2121 2122 func (m *NonDynamicFiveQi) MarshalTo(dAtA []byte) (int, error) { 2123 size := m.Size() 2124 return m.MarshalToSizedBuffer(dAtA[:size]) 2125 } 2126 2127 func (m *NonDynamicFiveQi) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2128 i := len(dAtA) 2129 _ = i 2130 var l int 2131 _ = l 2132 if m.FiveQi != nil { 2133 { 2134 size, err := m.FiveQi.MarshalToSizedBuffer(dAtA[:i]) 2135 if err != nil { 2136 return 0, err 2137 } 2138 i -= size 2139 i = encodeVarintRan(dAtA, i, uint64(size)) 2140 } 2141 i-- 2142 dAtA[i] = 0xa 2143 } 2144 return len(dAtA) - i, nil 2145 } 2146 2147 func (m *FiveQi) Marshal() (dAtA []byte, err error) { 2148 size := m.Size() 2149 dAtA = make([]byte, size) 2150 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2151 if err != nil { 2152 return nil, err 2153 } 2154 return dAtA[:n], nil 2155 } 2156 2157 func (m *FiveQi) MarshalTo(dAtA []byte) (int, error) { 2158 size := m.Size() 2159 return m.MarshalToSizedBuffer(dAtA[:size]) 2160 } 2161 2162 func (m *FiveQi) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2163 i := len(dAtA) 2164 _ = i 2165 var l int 2166 _ = l 2167 if m.Value != 0 { 2168 i = encodeVarintRan(dAtA, i, uint64(m.Value)) 2169 i-- 2170 dAtA[i] = 0x8 2171 } 2172 return len(dAtA) - i, nil 2173 } 2174 2175 func (m *FourGDrbId) Marshal() (dAtA []byte, err error) { 2176 size := m.Size() 2177 dAtA = make([]byte, size) 2178 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2179 if err != nil { 2180 return nil, err 2181 } 2182 return dAtA[:n], nil 2183 } 2184 2185 func (m *FourGDrbId) MarshalTo(dAtA []byte) (int, error) { 2186 size := m.Size() 2187 return m.MarshalToSizedBuffer(dAtA[:size]) 2188 } 2189 2190 func (m *FourGDrbId) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2191 i := len(dAtA) 2192 _ = i 2193 var l int 2194 _ = l 2195 if m.Qci != nil { 2196 { 2197 size, err := m.Qci.MarshalToSizedBuffer(dAtA[:i]) 2198 if err != nil { 2199 return 0, err 2200 } 2201 i -= size 2202 i = encodeVarintRan(dAtA, i, uint64(size)) 2203 } 2204 i-- 2205 dAtA[i] = 0x12 2206 } 2207 if m.Value != 0 { 2208 i = encodeVarintRan(dAtA, i, uint64(m.Value)) 2209 i-- 2210 dAtA[i] = 0x8 2211 } 2212 return len(dAtA) - i, nil 2213 } 2214 2215 func (m *Qci) Marshal() (dAtA []byte, err error) { 2216 size := m.Size() 2217 dAtA = make([]byte, size) 2218 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2219 if err != nil { 2220 return nil, err 2221 } 2222 return dAtA[:n], nil 2223 } 2224 2225 func (m *Qci) MarshalTo(dAtA []byte) (int, error) { 2226 size := m.Size() 2227 return m.MarshalToSizedBuffer(dAtA[:size]) 2228 } 2229 2230 func (m *Qci) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2231 i := len(dAtA) 2232 _ = i 2233 var l int 2234 _ = l 2235 if m.Value != 0 { 2236 i = encodeVarintRan(dAtA, i, uint64(m.Value)) 2237 i-- 2238 dAtA[i] = 0x8 2239 } 2240 return len(dAtA) - i, nil 2241 } 2242 2243 func (m *RsmUeInfo) Marshal() (dAtA []byte, err error) { 2244 size := m.Size() 2245 dAtA = make([]byte, size) 2246 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2247 if err != nil { 2248 return nil, err 2249 } 2250 return dAtA[:n], nil 2251 } 2252 2253 func (m *RsmUeInfo) MarshalTo(dAtA []byte) (int, error) { 2254 size := m.Size() 2255 return m.MarshalToSizedBuffer(dAtA[:size]) 2256 } 2257 2258 func (m *RsmUeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2259 i := len(dAtA) 2260 _ = i 2261 var l int 2262 _ = l 2263 if len(m.SliceList) > 0 { 2264 for iNdEx := len(m.SliceList) - 1; iNdEx >= 0; iNdEx-- { 2265 { 2266 size, err := m.SliceList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 2267 if err != nil { 2268 return 0, err 2269 } 2270 i -= size 2271 i = encodeVarintRan(dAtA, i, uint64(size)) 2272 } 2273 i-- 2274 dAtA[i] = 0x3a 2275 } 2276 } 2277 if len(m.DuE2NodeId) > 0 { 2278 i -= len(m.DuE2NodeId) 2279 copy(dAtA[i:], m.DuE2NodeId) 2280 i = encodeVarintRan(dAtA, i, uint64(len(m.DuE2NodeId))) 2281 i-- 2282 dAtA[i] = 0x32 2283 } 2284 if len(m.CuE2NodeId) > 0 { 2285 i -= len(m.CuE2NodeId) 2286 copy(dAtA[i:], m.CuE2NodeId) 2287 i = encodeVarintRan(dAtA, i, uint64(len(m.CuE2NodeId))) 2288 i-- 2289 dAtA[i] = 0x2a 2290 } 2291 if len(m.CellGlobalId) > 0 { 2292 i -= len(m.CellGlobalId) 2293 copy(dAtA[i:], m.CellGlobalId) 2294 i = encodeVarintRan(dAtA, i, uint64(len(m.CellGlobalId))) 2295 i-- 2296 dAtA[i] = 0x22 2297 } 2298 if len(m.BearerIdList) > 0 { 2299 for iNdEx := len(m.BearerIdList) - 1; iNdEx >= 0; iNdEx-- { 2300 { 2301 size, err := m.BearerIdList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 2302 if err != nil { 2303 return 0, err 2304 } 2305 i -= size 2306 i = encodeVarintRan(dAtA, i, uint64(size)) 2307 } 2308 i-- 2309 dAtA[i] = 0x1a 2310 } 2311 } 2312 if m.UeIdList != nil { 2313 { 2314 size, err := m.UeIdList.MarshalToSizedBuffer(dAtA[:i]) 2315 if err != nil { 2316 return 0, err 2317 } 2318 i -= size 2319 i = encodeVarintRan(dAtA, i, uint64(size)) 2320 } 2321 i-- 2322 dAtA[i] = 0x12 2323 } 2324 if len(m.GlobalUeID) > 0 { 2325 i -= len(m.GlobalUeID) 2326 copy(dAtA[i:], m.GlobalUeID) 2327 i = encodeVarintRan(dAtA, i, uint64(len(m.GlobalUeID))) 2328 i-- 2329 dAtA[i] = 0xa 2330 } 2331 return len(dAtA) - i, nil 2332 } 2333 2334 func (m *SliceInfo) Marshal() (dAtA []byte, err error) { 2335 size := m.Size() 2336 dAtA = make([]byte, size) 2337 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2338 if err != nil { 2339 return nil, err 2340 } 2341 return dAtA[:n], nil 2342 } 2343 2344 func (m *SliceInfo) MarshalTo(dAtA []byte) (int, error) { 2345 size := m.Size() 2346 return m.MarshalToSizedBuffer(dAtA[:size]) 2347 } 2348 2349 func (m *SliceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2350 i := len(dAtA) 2351 _ = i 2352 var l int 2353 _ = l 2354 if m.DrbId != nil { 2355 { 2356 size, err := m.DrbId.MarshalToSizedBuffer(dAtA[:i]) 2357 if err != nil { 2358 return 0, err 2359 } 2360 i -= size 2361 i = encodeVarintRan(dAtA, i, uint64(size)) 2362 } 2363 i-- 2364 dAtA[i] = 0x3a 2365 } 2366 if m.SliceType != 0 { 2367 i = encodeVarintRan(dAtA, i, uint64(m.SliceType)) 2368 i-- 2369 dAtA[i] = 0x30 2370 } 2371 if m.SliceParameters != nil { 2372 { 2373 size, err := m.SliceParameters.MarshalToSizedBuffer(dAtA[:i]) 2374 if err != nil { 2375 return 0, err 2376 } 2377 i -= size 2378 i = encodeVarintRan(dAtA, i, uint64(size)) 2379 } 2380 i-- 2381 dAtA[i] = 0x2a 2382 } 2383 if len(m.SliceDesc) > 0 { 2384 i -= len(m.SliceDesc) 2385 copy(dAtA[i:], m.SliceDesc) 2386 i = encodeVarintRan(dAtA, i, uint64(len(m.SliceDesc))) 2387 i-- 2388 dAtA[i] = 0x22 2389 } 2390 if len(m.ID) > 0 { 2391 i -= len(m.ID) 2392 copy(dAtA[i:], m.ID) 2393 i = encodeVarintRan(dAtA, i, uint64(len(m.ID))) 2394 i-- 2395 dAtA[i] = 0x1a 2396 } 2397 if len(m.CuE2NodeId) > 0 { 2398 i -= len(m.CuE2NodeId) 2399 copy(dAtA[i:], m.CuE2NodeId) 2400 i = encodeVarintRan(dAtA, i, uint64(len(m.CuE2NodeId))) 2401 i-- 2402 dAtA[i] = 0x12 2403 } 2404 if len(m.DuE2NodeId) > 0 { 2405 i -= len(m.DuE2NodeId) 2406 copy(dAtA[i:], m.DuE2NodeId) 2407 i = encodeVarintRan(dAtA, i, uint64(len(m.DuE2NodeId))) 2408 i-- 2409 dAtA[i] = 0xa 2410 } 2411 return len(dAtA) - i, nil 2412 } 2413 2414 func (m *RSMSliceParameters) Marshal() (dAtA []byte, err error) { 2415 size := m.Size() 2416 dAtA = make([]byte, size) 2417 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2418 if err != nil { 2419 return nil, err 2420 } 2421 return dAtA[:n], nil 2422 } 2423 2424 func (m *RSMSliceParameters) MarshalTo(dAtA []byte) (int, error) { 2425 size := m.Size() 2426 return m.MarshalToSizedBuffer(dAtA[:size]) 2427 } 2428 2429 func (m *RSMSliceParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2430 i := len(dAtA) 2431 _ = i 2432 var l int 2433 _ = l 2434 if m.QosLevel != 0 { 2435 i = encodeVarintRan(dAtA, i, uint64(m.QosLevel)) 2436 i-- 2437 dAtA[i] = 0x18 2438 } 2439 if m.Weight != 0 { 2440 i = encodeVarintRan(dAtA, i, uint64(m.Weight)) 2441 i-- 2442 dAtA[i] = 0x10 2443 } 2444 if m.SchedulerType != 0 { 2445 i = encodeVarintRan(dAtA, i, uint64(m.SchedulerType)) 2446 i-- 2447 dAtA[i] = 0x8 2448 } 2449 return len(dAtA) - i, nil 2450 } 2451 2452 func encodeVarintRan(dAtA []byte, offset int, v uint64) int { 2453 offset -= sovRan(v) 2454 base := offset 2455 for v >= 1<<7 { 2456 dAtA[offset] = uint8(v&0x7f | 0x80) 2457 v >>= 7 2458 offset++ 2459 } 2460 dAtA[offset] = uint8(v) 2461 return base 2462 } 2463 func (m *CellConnection) Size() (n int) { 2464 if m == nil { 2465 return 0 2466 } 2467 var l int 2468 _ = l 2469 l = len(m.ID) 2470 if l > 0 { 2471 n += 1 + l + sovRan(uint64(l)) 2472 } 2473 if m.SignalStrength != 0 { 2474 n += 9 2475 } 2476 return n 2477 } 2478 2479 func (m *CellInfo) Size() (n int) { 2480 if m == nil { 2481 return 0 2482 } 2483 var l int 2484 _ = l 2485 if m.ServingCell != nil { 2486 l = m.ServingCell.Size() 2487 n += 1 + l + sovRan(uint64(l)) 2488 } 2489 if len(m.CandidateCells) > 0 { 2490 for _, e := range m.CandidateCells { 2491 l = e.Size() 2492 n += 1 + l + sovRan(uint64(l)) 2493 } 2494 } 2495 return n 2496 } 2497 2498 func (m *DuUeF1ApID) Size() (n int) { 2499 if m == nil { 2500 return 0 2501 } 2502 var l int 2503 _ = l 2504 if m.Value != 0 { 2505 n += 1 + sovRan(uint64(m.Value)) 2506 } 2507 return n 2508 } 2509 2510 func (m *CuUeF1ApID) Size() (n int) { 2511 if m == nil { 2512 return 0 2513 } 2514 var l int 2515 _ = l 2516 if m.Value != 0 { 2517 n += 1 + sovRan(uint64(m.Value)) 2518 } 2519 return n 2520 } 2521 2522 func (m *RanUeNgapID) Size() (n int) { 2523 if m == nil { 2524 return 0 2525 } 2526 var l int 2527 _ = l 2528 if m.Value != 0 { 2529 n += 1 + sovRan(uint64(m.Value)) 2530 } 2531 return n 2532 } 2533 2534 func (m *EnbUeS1ApID) Size() (n int) { 2535 if m == nil { 2536 return 0 2537 } 2538 var l int 2539 _ = l 2540 if m.Value != 0 { 2541 n += 1 + sovRan(uint64(m.Value)) 2542 } 2543 return n 2544 } 2545 2546 func (m *AmfUeNgapID) Size() (n int) { 2547 if m == nil { 2548 return 0 2549 } 2550 var l int 2551 _ = l 2552 if m.Value != 0 { 2553 n += 1 + sovRan(uint64(m.Value)) 2554 } 2555 return n 2556 } 2557 2558 func (m *UeIdentity) Size() (n int) { 2559 if m == nil { 2560 return 0 2561 } 2562 var l int 2563 _ = l 2564 if m.DuUeF1apID != nil { 2565 l = m.DuUeF1apID.Size() 2566 n += 1 + l + sovRan(uint64(l)) 2567 } 2568 if m.CuUeF1apID != nil { 2569 l = m.CuUeF1apID.Size() 2570 n += 1 + l + sovRan(uint64(l)) 2571 } 2572 if m.RANUeNgapID != nil { 2573 l = m.RANUeNgapID.Size() 2574 n += 1 + l + sovRan(uint64(l)) 2575 } 2576 if m.EnbUeS1apID != nil { 2577 l = m.EnbUeS1apID.Size() 2578 n += 1 + l + sovRan(uint64(l)) 2579 } 2580 if m.AMFUeNgapID != nil { 2581 l = m.AMFUeNgapID.Size() 2582 n += 1 + l + sovRan(uint64(l)) 2583 } 2584 if m.PreferredIDType != 0 { 2585 n += 1 + sovRan(uint64(m.PreferredIDType)) 2586 } 2587 return n 2588 } 2589 2590 func (m *BearerId) Size() (n int) { 2591 if m == nil { 2592 return 0 2593 } 2594 var l int 2595 _ = l 2596 if m.BearerId != nil { 2597 n += m.BearerId.Size() 2598 } 2599 return n 2600 } 2601 2602 func (m *BearerId_DrbId) Size() (n int) { 2603 if m == nil { 2604 return 0 2605 } 2606 var l int 2607 _ = l 2608 if m.DrbId != nil { 2609 l = m.DrbId.Size() 2610 n += 1 + l + sovRan(uint64(l)) 2611 } 2612 return n 2613 } 2614 func (m *DrbId) Size() (n int) { 2615 if m == nil { 2616 return 0 2617 } 2618 var l int 2619 _ = l 2620 if m.DrbId != nil { 2621 n += m.DrbId.Size() 2622 } 2623 return n 2624 } 2625 2626 func (m *DrbId_FourGdrbId) Size() (n int) { 2627 if m == nil { 2628 return 0 2629 } 2630 var l int 2631 _ = l 2632 if m.FourGdrbId != nil { 2633 l = m.FourGdrbId.Size() 2634 n += 1 + l + sovRan(uint64(l)) 2635 } 2636 return n 2637 } 2638 func (m *DrbId_FiveGdrbId) Size() (n int) { 2639 if m == nil { 2640 return 0 2641 } 2642 var l int 2643 _ = l 2644 if m.FiveGdrbId != nil { 2645 l = m.FiveGdrbId.Size() 2646 n += 1 + l + sovRan(uint64(l)) 2647 } 2648 return n 2649 } 2650 func (m *FiveGDrbId) Size() (n int) { 2651 if m == nil { 2652 return 0 2653 } 2654 var l int 2655 _ = l 2656 if m.Value != 0 { 2657 n += 1 + sovRan(uint64(m.Value)) 2658 } 2659 if m.Qfi != nil { 2660 l = m.Qfi.Size() 2661 n += 1 + l + sovRan(uint64(l)) 2662 } 2663 if len(m.FlowsMapToDrb) > 0 { 2664 for _, e := range m.FlowsMapToDrb { 2665 l = e.Size() 2666 n += 1 + l + sovRan(uint64(l)) 2667 } 2668 } 2669 return n 2670 } 2671 2672 func (m *Qfi) Size() (n int) { 2673 if m == nil { 2674 return 0 2675 } 2676 var l int 2677 _ = l 2678 if m.Value != 0 { 2679 n += 1 + sovRan(uint64(m.Value)) 2680 } 2681 return n 2682 } 2683 2684 func (m *QoSflowLevelParameters) Size() (n int) { 2685 if m == nil { 2686 return 0 2687 } 2688 var l int 2689 _ = l 2690 if m.QosFlowLevelParameters != nil { 2691 n += m.QosFlowLevelParameters.Size() 2692 } 2693 return n 2694 } 2695 2696 func (m *QoSflowLevelParameters_DynamicFiveQi) Size() (n int) { 2697 if m == nil { 2698 return 0 2699 } 2700 var l int 2701 _ = l 2702 if m.DynamicFiveQi != nil { 2703 l = m.DynamicFiveQi.Size() 2704 n += 1 + l + sovRan(uint64(l)) 2705 } 2706 return n 2707 } 2708 func (m *QoSflowLevelParameters_NonDynamicFiveQi) Size() (n int) { 2709 if m == nil { 2710 return 0 2711 } 2712 var l int 2713 _ = l 2714 if m.NonDynamicFiveQi != nil { 2715 l = m.NonDynamicFiveQi.Size() 2716 n += 1 + l + sovRan(uint64(l)) 2717 } 2718 return n 2719 } 2720 func (m *DynamicFiveQi) Size() (n int) { 2721 if m == nil { 2722 return 0 2723 } 2724 var l int 2725 _ = l 2726 if m.PriorityLevel != 0 { 2727 n += 1 + sovRan(uint64(m.PriorityLevel)) 2728 } 2729 if m.PacketDelayBudge != 0 { 2730 n += 1 + sovRan(uint64(m.PacketDelayBudge)) 2731 } 2732 if m.PacketErrorRate != 0 { 2733 n += 1 + sovRan(uint64(m.PacketErrorRate)) 2734 } 2735 return n 2736 } 2737 2738 func (m *NonDynamicFiveQi) Size() (n int) { 2739 if m == nil { 2740 return 0 2741 } 2742 var l int 2743 _ = l 2744 if m.FiveQi != nil { 2745 l = m.FiveQi.Size() 2746 n += 1 + l + sovRan(uint64(l)) 2747 } 2748 return n 2749 } 2750 2751 func (m *FiveQi) Size() (n int) { 2752 if m == nil { 2753 return 0 2754 } 2755 var l int 2756 _ = l 2757 if m.Value != 0 { 2758 n += 1 + sovRan(uint64(m.Value)) 2759 } 2760 return n 2761 } 2762 2763 func (m *FourGDrbId) Size() (n int) { 2764 if m == nil { 2765 return 0 2766 } 2767 var l int 2768 _ = l 2769 if m.Value != 0 { 2770 n += 1 + sovRan(uint64(m.Value)) 2771 } 2772 if m.Qci != nil { 2773 l = m.Qci.Size() 2774 n += 1 + l + sovRan(uint64(l)) 2775 } 2776 return n 2777 } 2778 2779 func (m *Qci) Size() (n int) { 2780 if m == nil { 2781 return 0 2782 } 2783 var l int 2784 _ = l 2785 if m.Value != 0 { 2786 n += 1 + sovRan(uint64(m.Value)) 2787 } 2788 return n 2789 } 2790 2791 func (m *RsmUeInfo) Size() (n int) { 2792 if m == nil { 2793 return 0 2794 } 2795 var l int 2796 _ = l 2797 l = len(m.GlobalUeID) 2798 if l > 0 { 2799 n += 1 + l + sovRan(uint64(l)) 2800 } 2801 if m.UeIdList != nil { 2802 l = m.UeIdList.Size() 2803 n += 1 + l + sovRan(uint64(l)) 2804 } 2805 if len(m.BearerIdList) > 0 { 2806 for _, e := range m.BearerIdList { 2807 l = e.Size() 2808 n += 1 + l + sovRan(uint64(l)) 2809 } 2810 } 2811 l = len(m.CellGlobalId) 2812 if l > 0 { 2813 n += 1 + l + sovRan(uint64(l)) 2814 } 2815 l = len(m.CuE2NodeId) 2816 if l > 0 { 2817 n += 1 + l + sovRan(uint64(l)) 2818 } 2819 l = len(m.DuE2NodeId) 2820 if l > 0 { 2821 n += 1 + l + sovRan(uint64(l)) 2822 } 2823 if len(m.SliceList) > 0 { 2824 for _, e := range m.SliceList { 2825 l = e.Size() 2826 n += 1 + l + sovRan(uint64(l)) 2827 } 2828 } 2829 return n 2830 } 2831 2832 func (m *SliceInfo) Size() (n int) { 2833 if m == nil { 2834 return 0 2835 } 2836 var l int 2837 _ = l 2838 l = len(m.DuE2NodeId) 2839 if l > 0 { 2840 n += 1 + l + sovRan(uint64(l)) 2841 } 2842 l = len(m.CuE2NodeId) 2843 if l > 0 { 2844 n += 1 + l + sovRan(uint64(l)) 2845 } 2846 l = len(m.ID) 2847 if l > 0 { 2848 n += 1 + l + sovRan(uint64(l)) 2849 } 2850 l = len(m.SliceDesc) 2851 if l > 0 { 2852 n += 1 + l + sovRan(uint64(l)) 2853 } 2854 if m.SliceParameters != nil { 2855 l = m.SliceParameters.Size() 2856 n += 1 + l + sovRan(uint64(l)) 2857 } 2858 if m.SliceType != 0 { 2859 n += 1 + sovRan(uint64(m.SliceType)) 2860 } 2861 if m.DrbId != nil { 2862 l = m.DrbId.Size() 2863 n += 1 + l + sovRan(uint64(l)) 2864 } 2865 return n 2866 } 2867 2868 func (m *RSMSliceParameters) Size() (n int) { 2869 if m == nil { 2870 return 0 2871 } 2872 var l int 2873 _ = l 2874 if m.SchedulerType != 0 { 2875 n += 1 + sovRan(uint64(m.SchedulerType)) 2876 } 2877 if m.Weight != 0 { 2878 n += 1 + sovRan(uint64(m.Weight)) 2879 } 2880 if m.QosLevel != 0 { 2881 n += 1 + sovRan(uint64(m.QosLevel)) 2882 } 2883 return n 2884 } 2885 2886 func sovRan(x uint64) (n int) { 2887 return (math_bits.Len64(x|1) + 6) / 7 2888 } 2889 func sozRan(x uint64) (n int) { 2890 return sovRan(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 2891 } 2892 func (m *CellConnection) Unmarshal(dAtA []byte) error { 2893 l := len(dAtA) 2894 iNdEx := 0 2895 for iNdEx < l { 2896 preIndex := iNdEx 2897 var wire uint64 2898 for shift := uint(0); ; shift += 7 { 2899 if shift >= 64 { 2900 return ErrIntOverflowRan 2901 } 2902 if iNdEx >= l { 2903 return io.ErrUnexpectedEOF 2904 } 2905 b := dAtA[iNdEx] 2906 iNdEx++ 2907 wire |= uint64(b&0x7F) << shift 2908 if b < 0x80 { 2909 break 2910 } 2911 } 2912 fieldNum := int32(wire >> 3) 2913 wireType := int(wire & 0x7) 2914 if wireType == 4 { 2915 return fmt.Errorf("proto: CellConnection: wiretype end group for non-group") 2916 } 2917 if fieldNum <= 0 { 2918 return fmt.Errorf("proto: CellConnection: illegal tag %d (wire type %d)", fieldNum, wire) 2919 } 2920 switch fieldNum { 2921 case 1: 2922 if wireType != 2 { 2923 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 2924 } 2925 var stringLen uint64 2926 for shift := uint(0); ; shift += 7 { 2927 if shift >= 64 { 2928 return ErrIntOverflowRan 2929 } 2930 if iNdEx >= l { 2931 return io.ErrUnexpectedEOF 2932 } 2933 b := dAtA[iNdEx] 2934 iNdEx++ 2935 stringLen |= uint64(b&0x7F) << shift 2936 if b < 0x80 { 2937 break 2938 } 2939 } 2940 intStringLen := int(stringLen) 2941 if intStringLen < 0 { 2942 return ErrInvalidLengthRan 2943 } 2944 postIndex := iNdEx + intStringLen 2945 if postIndex < 0 { 2946 return ErrInvalidLengthRan 2947 } 2948 if postIndex > l { 2949 return io.ErrUnexpectedEOF 2950 } 2951 m.ID = ID(dAtA[iNdEx:postIndex]) 2952 iNdEx = postIndex 2953 case 2: 2954 if wireType != 1 { 2955 return fmt.Errorf("proto: wrong wireType = %d for field SignalStrength", wireType) 2956 } 2957 var v uint64 2958 if (iNdEx + 8) > l { 2959 return io.ErrUnexpectedEOF 2960 } 2961 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 2962 iNdEx += 8 2963 m.SignalStrength = float64(math.Float64frombits(v)) 2964 default: 2965 iNdEx = preIndex 2966 skippy, err := skipRan(dAtA[iNdEx:]) 2967 if err != nil { 2968 return err 2969 } 2970 if (skippy < 0) || (iNdEx+skippy) < 0 { 2971 return ErrInvalidLengthRan 2972 } 2973 if (iNdEx + skippy) > l { 2974 return io.ErrUnexpectedEOF 2975 } 2976 iNdEx += skippy 2977 } 2978 } 2979 2980 if iNdEx > l { 2981 return io.ErrUnexpectedEOF 2982 } 2983 return nil 2984 } 2985 func (m *CellInfo) Unmarshal(dAtA []byte) error { 2986 l := len(dAtA) 2987 iNdEx := 0 2988 for iNdEx < l { 2989 preIndex := iNdEx 2990 var wire uint64 2991 for shift := uint(0); ; shift += 7 { 2992 if shift >= 64 { 2993 return ErrIntOverflowRan 2994 } 2995 if iNdEx >= l { 2996 return io.ErrUnexpectedEOF 2997 } 2998 b := dAtA[iNdEx] 2999 iNdEx++ 3000 wire |= uint64(b&0x7F) << shift 3001 if b < 0x80 { 3002 break 3003 } 3004 } 3005 fieldNum := int32(wire >> 3) 3006 wireType := int(wire & 0x7) 3007 if wireType == 4 { 3008 return fmt.Errorf("proto: CellInfo: wiretype end group for non-group") 3009 } 3010 if fieldNum <= 0 { 3011 return fmt.Errorf("proto: CellInfo: illegal tag %d (wire type %d)", fieldNum, wire) 3012 } 3013 switch fieldNum { 3014 case 1: 3015 if wireType != 2 { 3016 return fmt.Errorf("proto: wrong wireType = %d for field ServingCell", wireType) 3017 } 3018 var msglen int 3019 for shift := uint(0); ; shift += 7 { 3020 if shift >= 64 { 3021 return ErrIntOverflowRan 3022 } 3023 if iNdEx >= l { 3024 return io.ErrUnexpectedEOF 3025 } 3026 b := dAtA[iNdEx] 3027 iNdEx++ 3028 msglen |= int(b&0x7F) << shift 3029 if b < 0x80 { 3030 break 3031 } 3032 } 3033 if msglen < 0 { 3034 return ErrInvalidLengthRan 3035 } 3036 postIndex := iNdEx + msglen 3037 if postIndex < 0 { 3038 return ErrInvalidLengthRan 3039 } 3040 if postIndex > l { 3041 return io.ErrUnexpectedEOF 3042 } 3043 if m.ServingCell == nil { 3044 m.ServingCell = &CellConnection{} 3045 } 3046 if err := m.ServingCell.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3047 return err 3048 } 3049 iNdEx = postIndex 3050 case 2: 3051 if wireType != 2 { 3052 return fmt.Errorf("proto: wrong wireType = %d for field CandidateCells", wireType) 3053 } 3054 var msglen int 3055 for shift := uint(0); ; shift += 7 { 3056 if shift >= 64 { 3057 return ErrIntOverflowRan 3058 } 3059 if iNdEx >= l { 3060 return io.ErrUnexpectedEOF 3061 } 3062 b := dAtA[iNdEx] 3063 iNdEx++ 3064 msglen |= int(b&0x7F) << shift 3065 if b < 0x80 { 3066 break 3067 } 3068 } 3069 if msglen < 0 { 3070 return ErrInvalidLengthRan 3071 } 3072 postIndex := iNdEx + msglen 3073 if postIndex < 0 { 3074 return ErrInvalidLengthRan 3075 } 3076 if postIndex > l { 3077 return io.ErrUnexpectedEOF 3078 } 3079 m.CandidateCells = append(m.CandidateCells, &CellConnection{}) 3080 if err := m.CandidateCells[len(m.CandidateCells)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3081 return err 3082 } 3083 iNdEx = postIndex 3084 default: 3085 iNdEx = preIndex 3086 skippy, err := skipRan(dAtA[iNdEx:]) 3087 if err != nil { 3088 return err 3089 } 3090 if (skippy < 0) || (iNdEx+skippy) < 0 { 3091 return ErrInvalidLengthRan 3092 } 3093 if (iNdEx + skippy) > l { 3094 return io.ErrUnexpectedEOF 3095 } 3096 iNdEx += skippy 3097 } 3098 } 3099 3100 if iNdEx > l { 3101 return io.ErrUnexpectedEOF 3102 } 3103 return nil 3104 } 3105 func (m *DuUeF1ApID) Unmarshal(dAtA []byte) error { 3106 l := len(dAtA) 3107 iNdEx := 0 3108 for iNdEx < l { 3109 preIndex := iNdEx 3110 var wire uint64 3111 for shift := uint(0); ; shift += 7 { 3112 if shift >= 64 { 3113 return ErrIntOverflowRan 3114 } 3115 if iNdEx >= l { 3116 return io.ErrUnexpectedEOF 3117 } 3118 b := dAtA[iNdEx] 3119 iNdEx++ 3120 wire |= uint64(b&0x7F) << shift 3121 if b < 0x80 { 3122 break 3123 } 3124 } 3125 fieldNum := int32(wire >> 3) 3126 wireType := int(wire & 0x7) 3127 if wireType == 4 { 3128 return fmt.Errorf("proto: DuUeF1apID: wiretype end group for non-group") 3129 } 3130 if fieldNum <= 0 { 3131 return fmt.Errorf("proto: DuUeF1apID: illegal tag %d (wire type %d)", fieldNum, wire) 3132 } 3133 switch fieldNum { 3134 case 1: 3135 if wireType != 0 { 3136 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 3137 } 3138 m.Value = 0 3139 for shift := uint(0); ; shift += 7 { 3140 if shift >= 64 { 3141 return ErrIntOverflowRan 3142 } 3143 if iNdEx >= l { 3144 return io.ErrUnexpectedEOF 3145 } 3146 b := dAtA[iNdEx] 3147 iNdEx++ 3148 m.Value |= int64(b&0x7F) << shift 3149 if b < 0x80 { 3150 break 3151 } 3152 } 3153 default: 3154 iNdEx = preIndex 3155 skippy, err := skipRan(dAtA[iNdEx:]) 3156 if err != nil { 3157 return err 3158 } 3159 if (skippy < 0) || (iNdEx+skippy) < 0 { 3160 return ErrInvalidLengthRan 3161 } 3162 if (iNdEx + skippy) > l { 3163 return io.ErrUnexpectedEOF 3164 } 3165 iNdEx += skippy 3166 } 3167 } 3168 3169 if iNdEx > l { 3170 return io.ErrUnexpectedEOF 3171 } 3172 return nil 3173 } 3174 func (m *CuUeF1ApID) Unmarshal(dAtA []byte) error { 3175 l := len(dAtA) 3176 iNdEx := 0 3177 for iNdEx < l { 3178 preIndex := iNdEx 3179 var wire uint64 3180 for shift := uint(0); ; shift += 7 { 3181 if shift >= 64 { 3182 return ErrIntOverflowRan 3183 } 3184 if iNdEx >= l { 3185 return io.ErrUnexpectedEOF 3186 } 3187 b := dAtA[iNdEx] 3188 iNdEx++ 3189 wire |= uint64(b&0x7F) << shift 3190 if b < 0x80 { 3191 break 3192 } 3193 } 3194 fieldNum := int32(wire >> 3) 3195 wireType := int(wire & 0x7) 3196 if wireType == 4 { 3197 return fmt.Errorf("proto: CuUeF1apID: wiretype end group for non-group") 3198 } 3199 if fieldNum <= 0 { 3200 return fmt.Errorf("proto: CuUeF1apID: illegal tag %d (wire type %d)", fieldNum, wire) 3201 } 3202 switch fieldNum { 3203 case 1: 3204 if wireType != 0 { 3205 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 3206 } 3207 m.Value = 0 3208 for shift := uint(0); ; shift += 7 { 3209 if shift >= 64 { 3210 return ErrIntOverflowRan 3211 } 3212 if iNdEx >= l { 3213 return io.ErrUnexpectedEOF 3214 } 3215 b := dAtA[iNdEx] 3216 iNdEx++ 3217 m.Value |= int64(b&0x7F) << shift 3218 if b < 0x80 { 3219 break 3220 } 3221 } 3222 default: 3223 iNdEx = preIndex 3224 skippy, err := skipRan(dAtA[iNdEx:]) 3225 if err != nil { 3226 return err 3227 } 3228 if (skippy < 0) || (iNdEx+skippy) < 0 { 3229 return ErrInvalidLengthRan 3230 } 3231 if (iNdEx + skippy) > l { 3232 return io.ErrUnexpectedEOF 3233 } 3234 iNdEx += skippy 3235 } 3236 } 3237 3238 if iNdEx > l { 3239 return io.ErrUnexpectedEOF 3240 } 3241 return nil 3242 } 3243 func (m *RanUeNgapID) Unmarshal(dAtA []byte) error { 3244 l := len(dAtA) 3245 iNdEx := 0 3246 for iNdEx < l { 3247 preIndex := iNdEx 3248 var wire uint64 3249 for shift := uint(0); ; shift += 7 { 3250 if shift >= 64 { 3251 return ErrIntOverflowRan 3252 } 3253 if iNdEx >= l { 3254 return io.ErrUnexpectedEOF 3255 } 3256 b := dAtA[iNdEx] 3257 iNdEx++ 3258 wire |= uint64(b&0x7F) << shift 3259 if b < 0x80 { 3260 break 3261 } 3262 } 3263 fieldNum := int32(wire >> 3) 3264 wireType := int(wire & 0x7) 3265 if wireType == 4 { 3266 return fmt.Errorf("proto: RanUeNgapID: wiretype end group for non-group") 3267 } 3268 if fieldNum <= 0 { 3269 return fmt.Errorf("proto: RanUeNgapID: illegal tag %d (wire type %d)", fieldNum, wire) 3270 } 3271 switch fieldNum { 3272 case 1: 3273 if wireType != 0 { 3274 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 3275 } 3276 m.Value = 0 3277 for shift := uint(0); ; shift += 7 { 3278 if shift >= 64 { 3279 return ErrIntOverflowRan 3280 } 3281 if iNdEx >= l { 3282 return io.ErrUnexpectedEOF 3283 } 3284 b := dAtA[iNdEx] 3285 iNdEx++ 3286 m.Value |= int64(b&0x7F) << shift 3287 if b < 0x80 { 3288 break 3289 } 3290 } 3291 default: 3292 iNdEx = preIndex 3293 skippy, err := skipRan(dAtA[iNdEx:]) 3294 if err != nil { 3295 return err 3296 } 3297 if (skippy < 0) || (iNdEx+skippy) < 0 { 3298 return ErrInvalidLengthRan 3299 } 3300 if (iNdEx + skippy) > l { 3301 return io.ErrUnexpectedEOF 3302 } 3303 iNdEx += skippy 3304 } 3305 } 3306 3307 if iNdEx > l { 3308 return io.ErrUnexpectedEOF 3309 } 3310 return nil 3311 } 3312 func (m *EnbUeS1ApID) Unmarshal(dAtA []byte) error { 3313 l := len(dAtA) 3314 iNdEx := 0 3315 for iNdEx < l { 3316 preIndex := iNdEx 3317 var wire uint64 3318 for shift := uint(0); ; shift += 7 { 3319 if shift >= 64 { 3320 return ErrIntOverflowRan 3321 } 3322 if iNdEx >= l { 3323 return io.ErrUnexpectedEOF 3324 } 3325 b := dAtA[iNdEx] 3326 iNdEx++ 3327 wire |= uint64(b&0x7F) << shift 3328 if b < 0x80 { 3329 break 3330 } 3331 } 3332 fieldNum := int32(wire >> 3) 3333 wireType := int(wire & 0x7) 3334 if wireType == 4 { 3335 return fmt.Errorf("proto: EnbUeS1apID: wiretype end group for non-group") 3336 } 3337 if fieldNum <= 0 { 3338 return fmt.Errorf("proto: EnbUeS1apID: illegal tag %d (wire type %d)", fieldNum, wire) 3339 } 3340 switch fieldNum { 3341 case 1: 3342 if wireType != 0 { 3343 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 3344 } 3345 m.Value = 0 3346 for shift := uint(0); ; shift += 7 { 3347 if shift >= 64 { 3348 return ErrIntOverflowRan 3349 } 3350 if iNdEx >= l { 3351 return io.ErrUnexpectedEOF 3352 } 3353 b := dAtA[iNdEx] 3354 iNdEx++ 3355 m.Value |= int32(b&0x7F) << shift 3356 if b < 0x80 { 3357 break 3358 } 3359 } 3360 default: 3361 iNdEx = preIndex 3362 skippy, err := skipRan(dAtA[iNdEx:]) 3363 if err != nil { 3364 return err 3365 } 3366 if (skippy < 0) || (iNdEx+skippy) < 0 { 3367 return ErrInvalidLengthRan 3368 } 3369 if (iNdEx + skippy) > l { 3370 return io.ErrUnexpectedEOF 3371 } 3372 iNdEx += skippy 3373 } 3374 } 3375 3376 if iNdEx > l { 3377 return io.ErrUnexpectedEOF 3378 } 3379 return nil 3380 } 3381 func (m *AmfUeNgapID) Unmarshal(dAtA []byte) error { 3382 l := len(dAtA) 3383 iNdEx := 0 3384 for iNdEx < l { 3385 preIndex := iNdEx 3386 var wire uint64 3387 for shift := uint(0); ; shift += 7 { 3388 if shift >= 64 { 3389 return ErrIntOverflowRan 3390 } 3391 if iNdEx >= l { 3392 return io.ErrUnexpectedEOF 3393 } 3394 b := dAtA[iNdEx] 3395 iNdEx++ 3396 wire |= uint64(b&0x7F) << shift 3397 if b < 0x80 { 3398 break 3399 } 3400 } 3401 fieldNum := int32(wire >> 3) 3402 wireType := int(wire & 0x7) 3403 if wireType == 4 { 3404 return fmt.Errorf("proto: AmfUeNgapID: wiretype end group for non-group") 3405 } 3406 if fieldNum <= 0 { 3407 return fmt.Errorf("proto: AmfUeNgapID: illegal tag %d (wire type %d)", fieldNum, wire) 3408 } 3409 switch fieldNum { 3410 case 1: 3411 if wireType != 0 { 3412 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 3413 } 3414 m.Value = 0 3415 for shift := uint(0); ; shift += 7 { 3416 if shift >= 64 { 3417 return ErrIntOverflowRan 3418 } 3419 if iNdEx >= l { 3420 return io.ErrUnexpectedEOF 3421 } 3422 b := dAtA[iNdEx] 3423 iNdEx++ 3424 m.Value |= int64(b&0x7F) << shift 3425 if b < 0x80 { 3426 break 3427 } 3428 } 3429 default: 3430 iNdEx = preIndex 3431 skippy, err := skipRan(dAtA[iNdEx:]) 3432 if err != nil { 3433 return err 3434 } 3435 if (skippy < 0) || (iNdEx+skippy) < 0 { 3436 return ErrInvalidLengthRan 3437 } 3438 if (iNdEx + skippy) > l { 3439 return io.ErrUnexpectedEOF 3440 } 3441 iNdEx += skippy 3442 } 3443 } 3444 3445 if iNdEx > l { 3446 return io.ErrUnexpectedEOF 3447 } 3448 return nil 3449 } 3450 func (m *UeIdentity) Unmarshal(dAtA []byte) error { 3451 l := len(dAtA) 3452 iNdEx := 0 3453 for iNdEx < l { 3454 preIndex := iNdEx 3455 var wire uint64 3456 for shift := uint(0); ; shift += 7 { 3457 if shift >= 64 { 3458 return ErrIntOverflowRan 3459 } 3460 if iNdEx >= l { 3461 return io.ErrUnexpectedEOF 3462 } 3463 b := dAtA[iNdEx] 3464 iNdEx++ 3465 wire |= uint64(b&0x7F) << shift 3466 if b < 0x80 { 3467 break 3468 } 3469 } 3470 fieldNum := int32(wire >> 3) 3471 wireType := int(wire & 0x7) 3472 if wireType == 4 { 3473 return fmt.Errorf("proto: UeIdentity: wiretype end group for non-group") 3474 } 3475 if fieldNum <= 0 { 3476 return fmt.Errorf("proto: UeIdentity: illegal tag %d (wire type %d)", fieldNum, wire) 3477 } 3478 switch fieldNum { 3479 case 1: 3480 if wireType != 2 { 3481 return fmt.Errorf("proto: wrong wireType = %d for field DuUeF1apID", wireType) 3482 } 3483 var msglen int 3484 for shift := uint(0); ; shift += 7 { 3485 if shift >= 64 { 3486 return ErrIntOverflowRan 3487 } 3488 if iNdEx >= l { 3489 return io.ErrUnexpectedEOF 3490 } 3491 b := dAtA[iNdEx] 3492 iNdEx++ 3493 msglen |= int(b&0x7F) << shift 3494 if b < 0x80 { 3495 break 3496 } 3497 } 3498 if msglen < 0 { 3499 return ErrInvalidLengthRan 3500 } 3501 postIndex := iNdEx + msglen 3502 if postIndex < 0 { 3503 return ErrInvalidLengthRan 3504 } 3505 if postIndex > l { 3506 return io.ErrUnexpectedEOF 3507 } 3508 if m.DuUeF1apID == nil { 3509 m.DuUeF1apID = &DuUeF1ApID{} 3510 } 3511 if err := m.DuUeF1apID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3512 return err 3513 } 3514 iNdEx = postIndex 3515 case 2: 3516 if wireType != 2 { 3517 return fmt.Errorf("proto: wrong wireType = %d for field CuUeF1apID", wireType) 3518 } 3519 var msglen int 3520 for shift := uint(0); ; shift += 7 { 3521 if shift >= 64 { 3522 return ErrIntOverflowRan 3523 } 3524 if iNdEx >= l { 3525 return io.ErrUnexpectedEOF 3526 } 3527 b := dAtA[iNdEx] 3528 iNdEx++ 3529 msglen |= int(b&0x7F) << shift 3530 if b < 0x80 { 3531 break 3532 } 3533 } 3534 if msglen < 0 { 3535 return ErrInvalidLengthRan 3536 } 3537 postIndex := iNdEx + msglen 3538 if postIndex < 0 { 3539 return ErrInvalidLengthRan 3540 } 3541 if postIndex > l { 3542 return io.ErrUnexpectedEOF 3543 } 3544 if m.CuUeF1apID == nil { 3545 m.CuUeF1apID = &CuUeF1ApID{} 3546 } 3547 if err := m.CuUeF1apID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3548 return err 3549 } 3550 iNdEx = postIndex 3551 case 3: 3552 if wireType != 2 { 3553 return fmt.Errorf("proto: wrong wireType = %d for field RANUeNgapID", wireType) 3554 } 3555 var msglen int 3556 for shift := uint(0); ; shift += 7 { 3557 if shift >= 64 { 3558 return ErrIntOverflowRan 3559 } 3560 if iNdEx >= l { 3561 return io.ErrUnexpectedEOF 3562 } 3563 b := dAtA[iNdEx] 3564 iNdEx++ 3565 msglen |= int(b&0x7F) << shift 3566 if b < 0x80 { 3567 break 3568 } 3569 } 3570 if msglen < 0 { 3571 return ErrInvalidLengthRan 3572 } 3573 postIndex := iNdEx + msglen 3574 if postIndex < 0 { 3575 return ErrInvalidLengthRan 3576 } 3577 if postIndex > l { 3578 return io.ErrUnexpectedEOF 3579 } 3580 if m.RANUeNgapID == nil { 3581 m.RANUeNgapID = &RanUeNgapID{} 3582 } 3583 if err := m.RANUeNgapID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3584 return err 3585 } 3586 iNdEx = postIndex 3587 case 4: 3588 if wireType != 2 { 3589 return fmt.Errorf("proto: wrong wireType = %d for field EnbUeS1apID", wireType) 3590 } 3591 var msglen int 3592 for shift := uint(0); ; shift += 7 { 3593 if shift >= 64 { 3594 return ErrIntOverflowRan 3595 } 3596 if iNdEx >= l { 3597 return io.ErrUnexpectedEOF 3598 } 3599 b := dAtA[iNdEx] 3600 iNdEx++ 3601 msglen |= int(b&0x7F) << shift 3602 if b < 0x80 { 3603 break 3604 } 3605 } 3606 if msglen < 0 { 3607 return ErrInvalidLengthRan 3608 } 3609 postIndex := iNdEx + msglen 3610 if postIndex < 0 { 3611 return ErrInvalidLengthRan 3612 } 3613 if postIndex > l { 3614 return io.ErrUnexpectedEOF 3615 } 3616 if m.EnbUeS1apID == nil { 3617 m.EnbUeS1apID = &EnbUeS1ApID{} 3618 } 3619 if err := m.EnbUeS1apID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3620 return err 3621 } 3622 iNdEx = postIndex 3623 case 5: 3624 if wireType != 2 { 3625 return fmt.Errorf("proto: wrong wireType = %d for field AMFUeNgapID", wireType) 3626 } 3627 var msglen int 3628 for shift := uint(0); ; shift += 7 { 3629 if shift >= 64 { 3630 return ErrIntOverflowRan 3631 } 3632 if iNdEx >= l { 3633 return io.ErrUnexpectedEOF 3634 } 3635 b := dAtA[iNdEx] 3636 iNdEx++ 3637 msglen |= int(b&0x7F) << shift 3638 if b < 0x80 { 3639 break 3640 } 3641 } 3642 if msglen < 0 { 3643 return ErrInvalidLengthRan 3644 } 3645 postIndex := iNdEx + msglen 3646 if postIndex < 0 { 3647 return ErrInvalidLengthRan 3648 } 3649 if postIndex > l { 3650 return io.ErrUnexpectedEOF 3651 } 3652 if m.AMFUeNgapID == nil { 3653 m.AMFUeNgapID = &AmfUeNgapID{} 3654 } 3655 if err := m.AMFUeNgapID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3656 return err 3657 } 3658 iNdEx = postIndex 3659 case 6: 3660 if wireType != 0 { 3661 return fmt.Errorf("proto: wrong wireType = %d for field PreferredIDType", wireType) 3662 } 3663 m.PreferredIDType = 0 3664 for shift := uint(0); ; shift += 7 { 3665 if shift >= 64 { 3666 return ErrIntOverflowRan 3667 } 3668 if iNdEx >= l { 3669 return io.ErrUnexpectedEOF 3670 } 3671 b := dAtA[iNdEx] 3672 iNdEx++ 3673 m.PreferredIDType |= UeIdType(b&0x7F) << shift 3674 if b < 0x80 { 3675 break 3676 } 3677 } 3678 default: 3679 iNdEx = preIndex 3680 skippy, err := skipRan(dAtA[iNdEx:]) 3681 if err != nil { 3682 return err 3683 } 3684 if (skippy < 0) || (iNdEx+skippy) < 0 { 3685 return ErrInvalidLengthRan 3686 } 3687 if (iNdEx + skippy) > l { 3688 return io.ErrUnexpectedEOF 3689 } 3690 iNdEx += skippy 3691 } 3692 } 3693 3694 if iNdEx > l { 3695 return io.ErrUnexpectedEOF 3696 } 3697 return nil 3698 } 3699 func (m *BearerId) Unmarshal(dAtA []byte) error { 3700 l := len(dAtA) 3701 iNdEx := 0 3702 for iNdEx < l { 3703 preIndex := iNdEx 3704 var wire uint64 3705 for shift := uint(0); ; shift += 7 { 3706 if shift >= 64 { 3707 return ErrIntOverflowRan 3708 } 3709 if iNdEx >= l { 3710 return io.ErrUnexpectedEOF 3711 } 3712 b := dAtA[iNdEx] 3713 iNdEx++ 3714 wire |= uint64(b&0x7F) << shift 3715 if b < 0x80 { 3716 break 3717 } 3718 } 3719 fieldNum := int32(wire >> 3) 3720 wireType := int(wire & 0x7) 3721 if wireType == 4 { 3722 return fmt.Errorf("proto: BearerId: wiretype end group for non-group") 3723 } 3724 if fieldNum <= 0 { 3725 return fmt.Errorf("proto: BearerId: illegal tag %d (wire type %d)", fieldNum, wire) 3726 } 3727 switch fieldNum { 3728 case 1: 3729 if wireType != 2 { 3730 return fmt.Errorf("proto: wrong wireType = %d for field DrbId", wireType) 3731 } 3732 var msglen int 3733 for shift := uint(0); ; shift += 7 { 3734 if shift >= 64 { 3735 return ErrIntOverflowRan 3736 } 3737 if iNdEx >= l { 3738 return io.ErrUnexpectedEOF 3739 } 3740 b := dAtA[iNdEx] 3741 iNdEx++ 3742 msglen |= int(b&0x7F) << shift 3743 if b < 0x80 { 3744 break 3745 } 3746 } 3747 if msglen < 0 { 3748 return ErrInvalidLengthRan 3749 } 3750 postIndex := iNdEx + msglen 3751 if postIndex < 0 { 3752 return ErrInvalidLengthRan 3753 } 3754 if postIndex > l { 3755 return io.ErrUnexpectedEOF 3756 } 3757 v := &DrbId{} 3758 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3759 return err 3760 } 3761 m.BearerId = &BearerId_DrbId{v} 3762 iNdEx = postIndex 3763 default: 3764 iNdEx = preIndex 3765 skippy, err := skipRan(dAtA[iNdEx:]) 3766 if err != nil { 3767 return err 3768 } 3769 if (skippy < 0) || (iNdEx+skippy) < 0 { 3770 return ErrInvalidLengthRan 3771 } 3772 if (iNdEx + skippy) > l { 3773 return io.ErrUnexpectedEOF 3774 } 3775 iNdEx += skippy 3776 } 3777 } 3778 3779 if iNdEx > l { 3780 return io.ErrUnexpectedEOF 3781 } 3782 return nil 3783 } 3784 func (m *DrbId) Unmarshal(dAtA []byte) error { 3785 l := len(dAtA) 3786 iNdEx := 0 3787 for iNdEx < l { 3788 preIndex := iNdEx 3789 var wire uint64 3790 for shift := uint(0); ; shift += 7 { 3791 if shift >= 64 { 3792 return ErrIntOverflowRan 3793 } 3794 if iNdEx >= l { 3795 return io.ErrUnexpectedEOF 3796 } 3797 b := dAtA[iNdEx] 3798 iNdEx++ 3799 wire |= uint64(b&0x7F) << shift 3800 if b < 0x80 { 3801 break 3802 } 3803 } 3804 fieldNum := int32(wire >> 3) 3805 wireType := int(wire & 0x7) 3806 if wireType == 4 { 3807 return fmt.Errorf("proto: DrbId: wiretype end group for non-group") 3808 } 3809 if fieldNum <= 0 { 3810 return fmt.Errorf("proto: DrbId: illegal tag %d (wire type %d)", fieldNum, wire) 3811 } 3812 switch fieldNum { 3813 case 1: 3814 if wireType != 2 { 3815 return fmt.Errorf("proto: wrong wireType = %d for field FourGdrbId", wireType) 3816 } 3817 var msglen int 3818 for shift := uint(0); ; shift += 7 { 3819 if shift >= 64 { 3820 return ErrIntOverflowRan 3821 } 3822 if iNdEx >= l { 3823 return io.ErrUnexpectedEOF 3824 } 3825 b := dAtA[iNdEx] 3826 iNdEx++ 3827 msglen |= int(b&0x7F) << shift 3828 if b < 0x80 { 3829 break 3830 } 3831 } 3832 if msglen < 0 { 3833 return ErrInvalidLengthRan 3834 } 3835 postIndex := iNdEx + msglen 3836 if postIndex < 0 { 3837 return ErrInvalidLengthRan 3838 } 3839 if postIndex > l { 3840 return io.ErrUnexpectedEOF 3841 } 3842 v := &FourGDrbId{} 3843 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3844 return err 3845 } 3846 m.DrbId = &DrbId_FourGdrbId{v} 3847 iNdEx = postIndex 3848 case 2: 3849 if wireType != 2 { 3850 return fmt.Errorf("proto: wrong wireType = %d for field FiveGdrbId", wireType) 3851 } 3852 var msglen int 3853 for shift := uint(0); ; shift += 7 { 3854 if shift >= 64 { 3855 return ErrIntOverflowRan 3856 } 3857 if iNdEx >= l { 3858 return io.ErrUnexpectedEOF 3859 } 3860 b := dAtA[iNdEx] 3861 iNdEx++ 3862 msglen |= int(b&0x7F) << shift 3863 if b < 0x80 { 3864 break 3865 } 3866 } 3867 if msglen < 0 { 3868 return ErrInvalidLengthRan 3869 } 3870 postIndex := iNdEx + msglen 3871 if postIndex < 0 { 3872 return ErrInvalidLengthRan 3873 } 3874 if postIndex > l { 3875 return io.ErrUnexpectedEOF 3876 } 3877 v := &FiveGDrbId{} 3878 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3879 return err 3880 } 3881 m.DrbId = &DrbId_FiveGdrbId{v} 3882 iNdEx = postIndex 3883 default: 3884 iNdEx = preIndex 3885 skippy, err := skipRan(dAtA[iNdEx:]) 3886 if err != nil { 3887 return err 3888 } 3889 if (skippy < 0) || (iNdEx+skippy) < 0 { 3890 return ErrInvalidLengthRan 3891 } 3892 if (iNdEx + skippy) > l { 3893 return io.ErrUnexpectedEOF 3894 } 3895 iNdEx += skippy 3896 } 3897 } 3898 3899 if iNdEx > l { 3900 return io.ErrUnexpectedEOF 3901 } 3902 return nil 3903 } 3904 func (m *FiveGDrbId) Unmarshal(dAtA []byte) error { 3905 l := len(dAtA) 3906 iNdEx := 0 3907 for iNdEx < l { 3908 preIndex := iNdEx 3909 var wire uint64 3910 for shift := uint(0); ; shift += 7 { 3911 if shift >= 64 { 3912 return ErrIntOverflowRan 3913 } 3914 if iNdEx >= l { 3915 return io.ErrUnexpectedEOF 3916 } 3917 b := dAtA[iNdEx] 3918 iNdEx++ 3919 wire |= uint64(b&0x7F) << shift 3920 if b < 0x80 { 3921 break 3922 } 3923 } 3924 fieldNum := int32(wire >> 3) 3925 wireType := int(wire & 0x7) 3926 if wireType == 4 { 3927 return fmt.Errorf("proto: FiveGDrbId: wiretype end group for non-group") 3928 } 3929 if fieldNum <= 0 { 3930 return fmt.Errorf("proto: FiveGDrbId: illegal tag %d (wire type %d)", fieldNum, wire) 3931 } 3932 switch fieldNum { 3933 case 1: 3934 if wireType != 0 { 3935 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 3936 } 3937 m.Value = 0 3938 for shift := uint(0); ; shift += 7 { 3939 if shift >= 64 { 3940 return ErrIntOverflowRan 3941 } 3942 if iNdEx >= l { 3943 return io.ErrUnexpectedEOF 3944 } 3945 b := dAtA[iNdEx] 3946 iNdEx++ 3947 m.Value |= int32(b&0x7F) << shift 3948 if b < 0x80 { 3949 break 3950 } 3951 } 3952 case 2: 3953 if wireType != 2 { 3954 return fmt.Errorf("proto: wrong wireType = %d for field Qfi", wireType) 3955 } 3956 var msglen int 3957 for shift := uint(0); ; shift += 7 { 3958 if shift >= 64 { 3959 return ErrIntOverflowRan 3960 } 3961 if iNdEx >= l { 3962 return io.ErrUnexpectedEOF 3963 } 3964 b := dAtA[iNdEx] 3965 iNdEx++ 3966 msglen |= int(b&0x7F) << shift 3967 if b < 0x80 { 3968 break 3969 } 3970 } 3971 if msglen < 0 { 3972 return ErrInvalidLengthRan 3973 } 3974 postIndex := iNdEx + msglen 3975 if postIndex < 0 { 3976 return ErrInvalidLengthRan 3977 } 3978 if postIndex > l { 3979 return io.ErrUnexpectedEOF 3980 } 3981 if m.Qfi == nil { 3982 m.Qfi = &Qfi{} 3983 } 3984 if err := m.Qfi.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3985 return err 3986 } 3987 iNdEx = postIndex 3988 case 3: 3989 if wireType != 2 { 3990 return fmt.Errorf("proto: wrong wireType = %d for field FlowsMapToDrb", wireType) 3991 } 3992 var msglen int 3993 for shift := uint(0); ; shift += 7 { 3994 if shift >= 64 { 3995 return ErrIntOverflowRan 3996 } 3997 if iNdEx >= l { 3998 return io.ErrUnexpectedEOF 3999 } 4000 b := dAtA[iNdEx] 4001 iNdEx++ 4002 msglen |= int(b&0x7F) << shift 4003 if b < 0x80 { 4004 break 4005 } 4006 } 4007 if msglen < 0 { 4008 return ErrInvalidLengthRan 4009 } 4010 postIndex := iNdEx + msglen 4011 if postIndex < 0 { 4012 return ErrInvalidLengthRan 4013 } 4014 if postIndex > l { 4015 return io.ErrUnexpectedEOF 4016 } 4017 m.FlowsMapToDrb = append(m.FlowsMapToDrb, &QoSflowLevelParameters{}) 4018 if err := m.FlowsMapToDrb[len(m.FlowsMapToDrb)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4019 return err 4020 } 4021 iNdEx = postIndex 4022 default: 4023 iNdEx = preIndex 4024 skippy, err := skipRan(dAtA[iNdEx:]) 4025 if err != nil { 4026 return err 4027 } 4028 if (skippy < 0) || (iNdEx+skippy) < 0 { 4029 return ErrInvalidLengthRan 4030 } 4031 if (iNdEx + skippy) > l { 4032 return io.ErrUnexpectedEOF 4033 } 4034 iNdEx += skippy 4035 } 4036 } 4037 4038 if iNdEx > l { 4039 return io.ErrUnexpectedEOF 4040 } 4041 return nil 4042 } 4043 func (m *Qfi) Unmarshal(dAtA []byte) error { 4044 l := len(dAtA) 4045 iNdEx := 0 4046 for iNdEx < l { 4047 preIndex := iNdEx 4048 var wire uint64 4049 for shift := uint(0); ; shift += 7 { 4050 if shift >= 64 { 4051 return ErrIntOverflowRan 4052 } 4053 if iNdEx >= l { 4054 return io.ErrUnexpectedEOF 4055 } 4056 b := dAtA[iNdEx] 4057 iNdEx++ 4058 wire |= uint64(b&0x7F) << shift 4059 if b < 0x80 { 4060 break 4061 } 4062 } 4063 fieldNum := int32(wire >> 3) 4064 wireType := int(wire & 0x7) 4065 if wireType == 4 { 4066 return fmt.Errorf("proto: Qfi: wiretype end group for non-group") 4067 } 4068 if fieldNum <= 0 { 4069 return fmt.Errorf("proto: Qfi: illegal tag %d (wire type %d)", fieldNum, wire) 4070 } 4071 switch fieldNum { 4072 case 1: 4073 if wireType != 0 { 4074 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 4075 } 4076 m.Value = 0 4077 for shift := uint(0); ; shift += 7 { 4078 if shift >= 64 { 4079 return ErrIntOverflowRan 4080 } 4081 if iNdEx >= l { 4082 return io.ErrUnexpectedEOF 4083 } 4084 b := dAtA[iNdEx] 4085 iNdEx++ 4086 m.Value |= int32(b&0x7F) << shift 4087 if b < 0x80 { 4088 break 4089 } 4090 } 4091 default: 4092 iNdEx = preIndex 4093 skippy, err := skipRan(dAtA[iNdEx:]) 4094 if err != nil { 4095 return err 4096 } 4097 if (skippy < 0) || (iNdEx+skippy) < 0 { 4098 return ErrInvalidLengthRan 4099 } 4100 if (iNdEx + skippy) > l { 4101 return io.ErrUnexpectedEOF 4102 } 4103 iNdEx += skippy 4104 } 4105 } 4106 4107 if iNdEx > l { 4108 return io.ErrUnexpectedEOF 4109 } 4110 return nil 4111 } 4112 func (m *QoSflowLevelParameters) Unmarshal(dAtA []byte) error { 4113 l := len(dAtA) 4114 iNdEx := 0 4115 for iNdEx < l { 4116 preIndex := iNdEx 4117 var wire uint64 4118 for shift := uint(0); ; shift += 7 { 4119 if shift >= 64 { 4120 return ErrIntOverflowRan 4121 } 4122 if iNdEx >= l { 4123 return io.ErrUnexpectedEOF 4124 } 4125 b := dAtA[iNdEx] 4126 iNdEx++ 4127 wire |= uint64(b&0x7F) << shift 4128 if b < 0x80 { 4129 break 4130 } 4131 } 4132 fieldNum := int32(wire >> 3) 4133 wireType := int(wire & 0x7) 4134 if wireType == 4 { 4135 return fmt.Errorf("proto: QoSflowLevelParameters: wiretype end group for non-group") 4136 } 4137 if fieldNum <= 0 { 4138 return fmt.Errorf("proto: QoSflowLevelParameters: illegal tag %d (wire type %d)", fieldNum, wire) 4139 } 4140 switch fieldNum { 4141 case 1: 4142 if wireType != 2 { 4143 return fmt.Errorf("proto: wrong wireType = %d for field DynamicFiveQi", wireType) 4144 } 4145 var msglen int 4146 for shift := uint(0); ; shift += 7 { 4147 if shift >= 64 { 4148 return ErrIntOverflowRan 4149 } 4150 if iNdEx >= l { 4151 return io.ErrUnexpectedEOF 4152 } 4153 b := dAtA[iNdEx] 4154 iNdEx++ 4155 msglen |= int(b&0x7F) << shift 4156 if b < 0x80 { 4157 break 4158 } 4159 } 4160 if msglen < 0 { 4161 return ErrInvalidLengthRan 4162 } 4163 postIndex := iNdEx + msglen 4164 if postIndex < 0 { 4165 return ErrInvalidLengthRan 4166 } 4167 if postIndex > l { 4168 return io.ErrUnexpectedEOF 4169 } 4170 v := &DynamicFiveQi{} 4171 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4172 return err 4173 } 4174 m.QosFlowLevelParameters = &QoSflowLevelParameters_DynamicFiveQi{v} 4175 iNdEx = postIndex 4176 case 2: 4177 if wireType != 2 { 4178 return fmt.Errorf("proto: wrong wireType = %d for field NonDynamicFiveQi", wireType) 4179 } 4180 var msglen int 4181 for shift := uint(0); ; shift += 7 { 4182 if shift >= 64 { 4183 return ErrIntOverflowRan 4184 } 4185 if iNdEx >= l { 4186 return io.ErrUnexpectedEOF 4187 } 4188 b := dAtA[iNdEx] 4189 iNdEx++ 4190 msglen |= int(b&0x7F) << shift 4191 if b < 0x80 { 4192 break 4193 } 4194 } 4195 if msglen < 0 { 4196 return ErrInvalidLengthRan 4197 } 4198 postIndex := iNdEx + msglen 4199 if postIndex < 0 { 4200 return ErrInvalidLengthRan 4201 } 4202 if postIndex > l { 4203 return io.ErrUnexpectedEOF 4204 } 4205 v := &NonDynamicFiveQi{} 4206 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4207 return err 4208 } 4209 m.QosFlowLevelParameters = &QoSflowLevelParameters_NonDynamicFiveQi{v} 4210 iNdEx = postIndex 4211 default: 4212 iNdEx = preIndex 4213 skippy, err := skipRan(dAtA[iNdEx:]) 4214 if err != nil { 4215 return err 4216 } 4217 if (skippy < 0) || (iNdEx+skippy) < 0 { 4218 return ErrInvalidLengthRan 4219 } 4220 if (iNdEx + skippy) > l { 4221 return io.ErrUnexpectedEOF 4222 } 4223 iNdEx += skippy 4224 } 4225 } 4226 4227 if iNdEx > l { 4228 return io.ErrUnexpectedEOF 4229 } 4230 return nil 4231 } 4232 func (m *DynamicFiveQi) Unmarshal(dAtA []byte) error { 4233 l := len(dAtA) 4234 iNdEx := 0 4235 for iNdEx < l { 4236 preIndex := iNdEx 4237 var wire uint64 4238 for shift := uint(0); ; shift += 7 { 4239 if shift >= 64 { 4240 return ErrIntOverflowRan 4241 } 4242 if iNdEx >= l { 4243 return io.ErrUnexpectedEOF 4244 } 4245 b := dAtA[iNdEx] 4246 iNdEx++ 4247 wire |= uint64(b&0x7F) << shift 4248 if b < 0x80 { 4249 break 4250 } 4251 } 4252 fieldNum := int32(wire >> 3) 4253 wireType := int(wire & 0x7) 4254 if wireType == 4 { 4255 return fmt.Errorf("proto: DynamicFiveQi: wiretype end group for non-group") 4256 } 4257 if fieldNum <= 0 { 4258 return fmt.Errorf("proto: DynamicFiveQi: illegal tag %d (wire type %d)", fieldNum, wire) 4259 } 4260 switch fieldNum { 4261 case 1: 4262 if wireType != 0 { 4263 return fmt.Errorf("proto: wrong wireType = %d for field PriorityLevel", wireType) 4264 } 4265 m.PriorityLevel = 0 4266 for shift := uint(0); ; shift += 7 { 4267 if shift >= 64 { 4268 return ErrIntOverflowRan 4269 } 4270 if iNdEx >= l { 4271 return io.ErrUnexpectedEOF 4272 } 4273 b := dAtA[iNdEx] 4274 iNdEx++ 4275 m.PriorityLevel |= int32(b&0x7F) << shift 4276 if b < 0x80 { 4277 break 4278 } 4279 } 4280 case 2: 4281 if wireType != 0 { 4282 return fmt.Errorf("proto: wrong wireType = %d for field PacketDelayBudge", wireType) 4283 } 4284 m.PacketDelayBudge = 0 4285 for shift := uint(0); ; shift += 7 { 4286 if shift >= 64 { 4287 return ErrIntOverflowRan 4288 } 4289 if iNdEx >= l { 4290 return io.ErrUnexpectedEOF 4291 } 4292 b := dAtA[iNdEx] 4293 iNdEx++ 4294 m.PacketDelayBudge |= int32(b&0x7F) << shift 4295 if b < 0x80 { 4296 break 4297 } 4298 } 4299 case 3: 4300 if wireType != 0 { 4301 return fmt.Errorf("proto: wrong wireType = %d for field PacketErrorRate", wireType) 4302 } 4303 m.PacketErrorRate = 0 4304 for shift := uint(0); ; shift += 7 { 4305 if shift >= 64 { 4306 return ErrIntOverflowRan 4307 } 4308 if iNdEx >= l { 4309 return io.ErrUnexpectedEOF 4310 } 4311 b := dAtA[iNdEx] 4312 iNdEx++ 4313 m.PacketErrorRate |= int32(b&0x7F) << shift 4314 if b < 0x80 { 4315 break 4316 } 4317 } 4318 default: 4319 iNdEx = preIndex 4320 skippy, err := skipRan(dAtA[iNdEx:]) 4321 if err != nil { 4322 return err 4323 } 4324 if (skippy < 0) || (iNdEx+skippy) < 0 { 4325 return ErrInvalidLengthRan 4326 } 4327 if (iNdEx + skippy) > l { 4328 return io.ErrUnexpectedEOF 4329 } 4330 iNdEx += skippy 4331 } 4332 } 4333 4334 if iNdEx > l { 4335 return io.ErrUnexpectedEOF 4336 } 4337 return nil 4338 } 4339 func (m *NonDynamicFiveQi) Unmarshal(dAtA []byte) error { 4340 l := len(dAtA) 4341 iNdEx := 0 4342 for iNdEx < l { 4343 preIndex := iNdEx 4344 var wire uint64 4345 for shift := uint(0); ; shift += 7 { 4346 if shift >= 64 { 4347 return ErrIntOverflowRan 4348 } 4349 if iNdEx >= l { 4350 return io.ErrUnexpectedEOF 4351 } 4352 b := dAtA[iNdEx] 4353 iNdEx++ 4354 wire |= uint64(b&0x7F) << shift 4355 if b < 0x80 { 4356 break 4357 } 4358 } 4359 fieldNum := int32(wire >> 3) 4360 wireType := int(wire & 0x7) 4361 if wireType == 4 { 4362 return fmt.Errorf("proto: NonDynamicFiveQi: wiretype end group for non-group") 4363 } 4364 if fieldNum <= 0 { 4365 return fmt.Errorf("proto: NonDynamicFiveQi: illegal tag %d (wire type %d)", fieldNum, wire) 4366 } 4367 switch fieldNum { 4368 case 1: 4369 if wireType != 2 { 4370 return fmt.Errorf("proto: wrong wireType = %d for field FiveQi", wireType) 4371 } 4372 var msglen int 4373 for shift := uint(0); ; shift += 7 { 4374 if shift >= 64 { 4375 return ErrIntOverflowRan 4376 } 4377 if iNdEx >= l { 4378 return io.ErrUnexpectedEOF 4379 } 4380 b := dAtA[iNdEx] 4381 iNdEx++ 4382 msglen |= int(b&0x7F) << shift 4383 if b < 0x80 { 4384 break 4385 } 4386 } 4387 if msglen < 0 { 4388 return ErrInvalidLengthRan 4389 } 4390 postIndex := iNdEx + msglen 4391 if postIndex < 0 { 4392 return ErrInvalidLengthRan 4393 } 4394 if postIndex > l { 4395 return io.ErrUnexpectedEOF 4396 } 4397 if m.FiveQi == nil { 4398 m.FiveQi = &FiveQi{} 4399 } 4400 if err := m.FiveQi.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4401 return err 4402 } 4403 iNdEx = postIndex 4404 default: 4405 iNdEx = preIndex 4406 skippy, err := skipRan(dAtA[iNdEx:]) 4407 if err != nil { 4408 return err 4409 } 4410 if (skippy < 0) || (iNdEx+skippy) < 0 { 4411 return ErrInvalidLengthRan 4412 } 4413 if (iNdEx + skippy) > l { 4414 return io.ErrUnexpectedEOF 4415 } 4416 iNdEx += skippy 4417 } 4418 } 4419 4420 if iNdEx > l { 4421 return io.ErrUnexpectedEOF 4422 } 4423 return nil 4424 } 4425 func (m *FiveQi) Unmarshal(dAtA []byte) error { 4426 l := len(dAtA) 4427 iNdEx := 0 4428 for iNdEx < l { 4429 preIndex := iNdEx 4430 var wire uint64 4431 for shift := uint(0); ; shift += 7 { 4432 if shift >= 64 { 4433 return ErrIntOverflowRan 4434 } 4435 if iNdEx >= l { 4436 return io.ErrUnexpectedEOF 4437 } 4438 b := dAtA[iNdEx] 4439 iNdEx++ 4440 wire |= uint64(b&0x7F) << shift 4441 if b < 0x80 { 4442 break 4443 } 4444 } 4445 fieldNum := int32(wire >> 3) 4446 wireType := int(wire & 0x7) 4447 if wireType == 4 { 4448 return fmt.Errorf("proto: FiveQi: wiretype end group for non-group") 4449 } 4450 if fieldNum <= 0 { 4451 return fmt.Errorf("proto: FiveQi: illegal tag %d (wire type %d)", fieldNum, wire) 4452 } 4453 switch fieldNum { 4454 case 1: 4455 if wireType != 0 { 4456 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 4457 } 4458 m.Value = 0 4459 for shift := uint(0); ; shift += 7 { 4460 if shift >= 64 { 4461 return ErrIntOverflowRan 4462 } 4463 if iNdEx >= l { 4464 return io.ErrUnexpectedEOF 4465 } 4466 b := dAtA[iNdEx] 4467 iNdEx++ 4468 m.Value |= int32(b&0x7F) << shift 4469 if b < 0x80 { 4470 break 4471 } 4472 } 4473 default: 4474 iNdEx = preIndex 4475 skippy, err := skipRan(dAtA[iNdEx:]) 4476 if err != nil { 4477 return err 4478 } 4479 if (skippy < 0) || (iNdEx+skippy) < 0 { 4480 return ErrInvalidLengthRan 4481 } 4482 if (iNdEx + skippy) > l { 4483 return io.ErrUnexpectedEOF 4484 } 4485 iNdEx += skippy 4486 } 4487 } 4488 4489 if iNdEx > l { 4490 return io.ErrUnexpectedEOF 4491 } 4492 return nil 4493 } 4494 func (m *FourGDrbId) Unmarshal(dAtA []byte) error { 4495 l := len(dAtA) 4496 iNdEx := 0 4497 for iNdEx < l { 4498 preIndex := iNdEx 4499 var wire uint64 4500 for shift := uint(0); ; shift += 7 { 4501 if shift >= 64 { 4502 return ErrIntOverflowRan 4503 } 4504 if iNdEx >= l { 4505 return io.ErrUnexpectedEOF 4506 } 4507 b := dAtA[iNdEx] 4508 iNdEx++ 4509 wire |= uint64(b&0x7F) << shift 4510 if b < 0x80 { 4511 break 4512 } 4513 } 4514 fieldNum := int32(wire >> 3) 4515 wireType := int(wire & 0x7) 4516 if wireType == 4 { 4517 return fmt.Errorf("proto: FourGDrbId: wiretype end group for non-group") 4518 } 4519 if fieldNum <= 0 { 4520 return fmt.Errorf("proto: FourGDrbId: illegal tag %d (wire type %d)", fieldNum, wire) 4521 } 4522 switch fieldNum { 4523 case 1: 4524 if wireType != 0 { 4525 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 4526 } 4527 m.Value = 0 4528 for shift := uint(0); ; shift += 7 { 4529 if shift >= 64 { 4530 return ErrIntOverflowRan 4531 } 4532 if iNdEx >= l { 4533 return io.ErrUnexpectedEOF 4534 } 4535 b := dAtA[iNdEx] 4536 iNdEx++ 4537 m.Value |= int32(b&0x7F) << shift 4538 if b < 0x80 { 4539 break 4540 } 4541 } 4542 case 2: 4543 if wireType != 2 { 4544 return fmt.Errorf("proto: wrong wireType = %d for field Qci", wireType) 4545 } 4546 var msglen int 4547 for shift := uint(0); ; shift += 7 { 4548 if shift >= 64 { 4549 return ErrIntOverflowRan 4550 } 4551 if iNdEx >= l { 4552 return io.ErrUnexpectedEOF 4553 } 4554 b := dAtA[iNdEx] 4555 iNdEx++ 4556 msglen |= int(b&0x7F) << shift 4557 if b < 0x80 { 4558 break 4559 } 4560 } 4561 if msglen < 0 { 4562 return ErrInvalidLengthRan 4563 } 4564 postIndex := iNdEx + msglen 4565 if postIndex < 0 { 4566 return ErrInvalidLengthRan 4567 } 4568 if postIndex > l { 4569 return io.ErrUnexpectedEOF 4570 } 4571 if m.Qci == nil { 4572 m.Qci = &Qci{} 4573 } 4574 if err := m.Qci.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4575 return err 4576 } 4577 iNdEx = postIndex 4578 default: 4579 iNdEx = preIndex 4580 skippy, err := skipRan(dAtA[iNdEx:]) 4581 if err != nil { 4582 return err 4583 } 4584 if (skippy < 0) || (iNdEx+skippy) < 0 { 4585 return ErrInvalidLengthRan 4586 } 4587 if (iNdEx + skippy) > l { 4588 return io.ErrUnexpectedEOF 4589 } 4590 iNdEx += skippy 4591 } 4592 } 4593 4594 if iNdEx > l { 4595 return io.ErrUnexpectedEOF 4596 } 4597 return nil 4598 } 4599 func (m *Qci) Unmarshal(dAtA []byte) error { 4600 l := len(dAtA) 4601 iNdEx := 0 4602 for iNdEx < l { 4603 preIndex := iNdEx 4604 var wire uint64 4605 for shift := uint(0); ; shift += 7 { 4606 if shift >= 64 { 4607 return ErrIntOverflowRan 4608 } 4609 if iNdEx >= l { 4610 return io.ErrUnexpectedEOF 4611 } 4612 b := dAtA[iNdEx] 4613 iNdEx++ 4614 wire |= uint64(b&0x7F) << shift 4615 if b < 0x80 { 4616 break 4617 } 4618 } 4619 fieldNum := int32(wire >> 3) 4620 wireType := int(wire & 0x7) 4621 if wireType == 4 { 4622 return fmt.Errorf("proto: Qci: wiretype end group for non-group") 4623 } 4624 if fieldNum <= 0 { 4625 return fmt.Errorf("proto: Qci: illegal tag %d (wire type %d)", fieldNum, wire) 4626 } 4627 switch fieldNum { 4628 case 1: 4629 if wireType != 0 { 4630 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 4631 } 4632 m.Value = 0 4633 for shift := uint(0); ; shift += 7 { 4634 if shift >= 64 { 4635 return ErrIntOverflowRan 4636 } 4637 if iNdEx >= l { 4638 return io.ErrUnexpectedEOF 4639 } 4640 b := dAtA[iNdEx] 4641 iNdEx++ 4642 m.Value |= int32(b&0x7F) << shift 4643 if b < 0x80 { 4644 break 4645 } 4646 } 4647 default: 4648 iNdEx = preIndex 4649 skippy, err := skipRan(dAtA[iNdEx:]) 4650 if err != nil { 4651 return err 4652 } 4653 if (skippy < 0) || (iNdEx+skippy) < 0 { 4654 return ErrInvalidLengthRan 4655 } 4656 if (iNdEx + skippy) > l { 4657 return io.ErrUnexpectedEOF 4658 } 4659 iNdEx += skippy 4660 } 4661 } 4662 4663 if iNdEx > l { 4664 return io.ErrUnexpectedEOF 4665 } 4666 return nil 4667 } 4668 func (m *RsmUeInfo) Unmarshal(dAtA []byte) error { 4669 l := len(dAtA) 4670 iNdEx := 0 4671 for iNdEx < l { 4672 preIndex := iNdEx 4673 var wire uint64 4674 for shift := uint(0); ; shift += 7 { 4675 if shift >= 64 { 4676 return ErrIntOverflowRan 4677 } 4678 if iNdEx >= l { 4679 return io.ErrUnexpectedEOF 4680 } 4681 b := dAtA[iNdEx] 4682 iNdEx++ 4683 wire |= uint64(b&0x7F) << shift 4684 if b < 0x80 { 4685 break 4686 } 4687 } 4688 fieldNum := int32(wire >> 3) 4689 wireType := int(wire & 0x7) 4690 if wireType == 4 { 4691 return fmt.Errorf("proto: RsmUeInfo: wiretype end group for non-group") 4692 } 4693 if fieldNum <= 0 { 4694 return fmt.Errorf("proto: RsmUeInfo: illegal tag %d (wire type %d)", fieldNum, wire) 4695 } 4696 switch fieldNum { 4697 case 1: 4698 if wireType != 2 { 4699 return fmt.Errorf("proto: wrong wireType = %d for field GlobalUeID", wireType) 4700 } 4701 var stringLen uint64 4702 for shift := uint(0); ; shift += 7 { 4703 if shift >= 64 { 4704 return ErrIntOverflowRan 4705 } 4706 if iNdEx >= l { 4707 return io.ErrUnexpectedEOF 4708 } 4709 b := dAtA[iNdEx] 4710 iNdEx++ 4711 stringLen |= uint64(b&0x7F) << shift 4712 if b < 0x80 { 4713 break 4714 } 4715 } 4716 intStringLen := int(stringLen) 4717 if intStringLen < 0 { 4718 return ErrInvalidLengthRan 4719 } 4720 postIndex := iNdEx + intStringLen 4721 if postIndex < 0 { 4722 return ErrInvalidLengthRan 4723 } 4724 if postIndex > l { 4725 return io.ErrUnexpectedEOF 4726 } 4727 m.GlobalUeID = string(dAtA[iNdEx:postIndex]) 4728 iNdEx = postIndex 4729 case 2: 4730 if wireType != 2 { 4731 return fmt.Errorf("proto: wrong wireType = %d for field UeIdList", wireType) 4732 } 4733 var msglen int 4734 for shift := uint(0); ; shift += 7 { 4735 if shift >= 64 { 4736 return ErrIntOverflowRan 4737 } 4738 if iNdEx >= l { 4739 return io.ErrUnexpectedEOF 4740 } 4741 b := dAtA[iNdEx] 4742 iNdEx++ 4743 msglen |= int(b&0x7F) << shift 4744 if b < 0x80 { 4745 break 4746 } 4747 } 4748 if msglen < 0 { 4749 return ErrInvalidLengthRan 4750 } 4751 postIndex := iNdEx + msglen 4752 if postIndex < 0 { 4753 return ErrInvalidLengthRan 4754 } 4755 if postIndex > l { 4756 return io.ErrUnexpectedEOF 4757 } 4758 if m.UeIdList == nil { 4759 m.UeIdList = &UeIdentity{} 4760 } 4761 if err := m.UeIdList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4762 return err 4763 } 4764 iNdEx = postIndex 4765 case 3: 4766 if wireType != 2 { 4767 return fmt.Errorf("proto: wrong wireType = %d for field BearerIdList", wireType) 4768 } 4769 var msglen int 4770 for shift := uint(0); ; shift += 7 { 4771 if shift >= 64 { 4772 return ErrIntOverflowRan 4773 } 4774 if iNdEx >= l { 4775 return io.ErrUnexpectedEOF 4776 } 4777 b := dAtA[iNdEx] 4778 iNdEx++ 4779 msglen |= int(b&0x7F) << shift 4780 if b < 0x80 { 4781 break 4782 } 4783 } 4784 if msglen < 0 { 4785 return ErrInvalidLengthRan 4786 } 4787 postIndex := iNdEx + msglen 4788 if postIndex < 0 { 4789 return ErrInvalidLengthRan 4790 } 4791 if postIndex > l { 4792 return io.ErrUnexpectedEOF 4793 } 4794 m.BearerIdList = append(m.BearerIdList, &BearerId{}) 4795 if err := m.BearerIdList[len(m.BearerIdList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4796 return err 4797 } 4798 iNdEx = postIndex 4799 case 4: 4800 if wireType != 2 { 4801 return fmt.Errorf("proto: wrong wireType = %d for field CellGlobalId", wireType) 4802 } 4803 var stringLen uint64 4804 for shift := uint(0); ; shift += 7 { 4805 if shift >= 64 { 4806 return ErrIntOverflowRan 4807 } 4808 if iNdEx >= l { 4809 return io.ErrUnexpectedEOF 4810 } 4811 b := dAtA[iNdEx] 4812 iNdEx++ 4813 stringLen |= uint64(b&0x7F) << shift 4814 if b < 0x80 { 4815 break 4816 } 4817 } 4818 intStringLen := int(stringLen) 4819 if intStringLen < 0 { 4820 return ErrInvalidLengthRan 4821 } 4822 postIndex := iNdEx + intStringLen 4823 if postIndex < 0 { 4824 return ErrInvalidLengthRan 4825 } 4826 if postIndex > l { 4827 return io.ErrUnexpectedEOF 4828 } 4829 m.CellGlobalId = string(dAtA[iNdEx:postIndex]) 4830 iNdEx = postIndex 4831 case 5: 4832 if wireType != 2 { 4833 return fmt.Errorf("proto: wrong wireType = %d for field CuE2NodeId", wireType) 4834 } 4835 var stringLen uint64 4836 for shift := uint(0); ; shift += 7 { 4837 if shift >= 64 { 4838 return ErrIntOverflowRan 4839 } 4840 if iNdEx >= l { 4841 return io.ErrUnexpectedEOF 4842 } 4843 b := dAtA[iNdEx] 4844 iNdEx++ 4845 stringLen |= uint64(b&0x7F) << shift 4846 if b < 0x80 { 4847 break 4848 } 4849 } 4850 intStringLen := int(stringLen) 4851 if intStringLen < 0 { 4852 return ErrInvalidLengthRan 4853 } 4854 postIndex := iNdEx + intStringLen 4855 if postIndex < 0 { 4856 return ErrInvalidLengthRan 4857 } 4858 if postIndex > l { 4859 return io.ErrUnexpectedEOF 4860 } 4861 m.CuE2NodeId = string(dAtA[iNdEx:postIndex]) 4862 iNdEx = postIndex 4863 case 6: 4864 if wireType != 2 { 4865 return fmt.Errorf("proto: wrong wireType = %d for field DuE2NodeId", wireType) 4866 } 4867 var stringLen uint64 4868 for shift := uint(0); ; shift += 7 { 4869 if shift >= 64 { 4870 return ErrIntOverflowRan 4871 } 4872 if iNdEx >= l { 4873 return io.ErrUnexpectedEOF 4874 } 4875 b := dAtA[iNdEx] 4876 iNdEx++ 4877 stringLen |= uint64(b&0x7F) << shift 4878 if b < 0x80 { 4879 break 4880 } 4881 } 4882 intStringLen := int(stringLen) 4883 if intStringLen < 0 { 4884 return ErrInvalidLengthRan 4885 } 4886 postIndex := iNdEx + intStringLen 4887 if postIndex < 0 { 4888 return ErrInvalidLengthRan 4889 } 4890 if postIndex > l { 4891 return io.ErrUnexpectedEOF 4892 } 4893 m.DuE2NodeId = string(dAtA[iNdEx:postIndex]) 4894 iNdEx = postIndex 4895 case 7: 4896 if wireType != 2 { 4897 return fmt.Errorf("proto: wrong wireType = %d for field SliceList", wireType) 4898 } 4899 var msglen int 4900 for shift := uint(0); ; shift += 7 { 4901 if shift >= 64 { 4902 return ErrIntOverflowRan 4903 } 4904 if iNdEx >= l { 4905 return io.ErrUnexpectedEOF 4906 } 4907 b := dAtA[iNdEx] 4908 iNdEx++ 4909 msglen |= int(b&0x7F) << shift 4910 if b < 0x80 { 4911 break 4912 } 4913 } 4914 if msglen < 0 { 4915 return ErrInvalidLengthRan 4916 } 4917 postIndex := iNdEx + msglen 4918 if postIndex < 0 { 4919 return ErrInvalidLengthRan 4920 } 4921 if postIndex > l { 4922 return io.ErrUnexpectedEOF 4923 } 4924 m.SliceList = append(m.SliceList, &SliceInfo{}) 4925 if err := m.SliceList[len(m.SliceList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4926 return err 4927 } 4928 iNdEx = postIndex 4929 default: 4930 iNdEx = preIndex 4931 skippy, err := skipRan(dAtA[iNdEx:]) 4932 if err != nil { 4933 return err 4934 } 4935 if (skippy < 0) || (iNdEx+skippy) < 0 { 4936 return ErrInvalidLengthRan 4937 } 4938 if (iNdEx + skippy) > l { 4939 return io.ErrUnexpectedEOF 4940 } 4941 iNdEx += skippy 4942 } 4943 } 4944 4945 if iNdEx > l { 4946 return io.ErrUnexpectedEOF 4947 } 4948 return nil 4949 } 4950 func (m *SliceInfo) Unmarshal(dAtA []byte) error { 4951 l := len(dAtA) 4952 iNdEx := 0 4953 for iNdEx < l { 4954 preIndex := iNdEx 4955 var wire uint64 4956 for shift := uint(0); ; shift += 7 { 4957 if shift >= 64 { 4958 return ErrIntOverflowRan 4959 } 4960 if iNdEx >= l { 4961 return io.ErrUnexpectedEOF 4962 } 4963 b := dAtA[iNdEx] 4964 iNdEx++ 4965 wire |= uint64(b&0x7F) << shift 4966 if b < 0x80 { 4967 break 4968 } 4969 } 4970 fieldNum := int32(wire >> 3) 4971 wireType := int(wire & 0x7) 4972 if wireType == 4 { 4973 return fmt.Errorf("proto: SliceInfo: wiretype end group for non-group") 4974 } 4975 if fieldNum <= 0 { 4976 return fmt.Errorf("proto: SliceInfo: illegal tag %d (wire type %d)", fieldNum, wire) 4977 } 4978 switch fieldNum { 4979 case 1: 4980 if wireType != 2 { 4981 return fmt.Errorf("proto: wrong wireType = %d for field DuE2NodeId", wireType) 4982 } 4983 var stringLen uint64 4984 for shift := uint(0); ; shift += 7 { 4985 if shift >= 64 { 4986 return ErrIntOverflowRan 4987 } 4988 if iNdEx >= l { 4989 return io.ErrUnexpectedEOF 4990 } 4991 b := dAtA[iNdEx] 4992 iNdEx++ 4993 stringLen |= uint64(b&0x7F) << shift 4994 if b < 0x80 { 4995 break 4996 } 4997 } 4998 intStringLen := int(stringLen) 4999 if intStringLen < 0 { 5000 return ErrInvalidLengthRan 5001 } 5002 postIndex := iNdEx + intStringLen 5003 if postIndex < 0 { 5004 return ErrInvalidLengthRan 5005 } 5006 if postIndex > l { 5007 return io.ErrUnexpectedEOF 5008 } 5009 m.DuE2NodeId = string(dAtA[iNdEx:postIndex]) 5010 iNdEx = postIndex 5011 case 2: 5012 if wireType != 2 { 5013 return fmt.Errorf("proto: wrong wireType = %d for field CuE2NodeId", wireType) 5014 } 5015 var stringLen uint64 5016 for shift := uint(0); ; shift += 7 { 5017 if shift >= 64 { 5018 return ErrIntOverflowRan 5019 } 5020 if iNdEx >= l { 5021 return io.ErrUnexpectedEOF 5022 } 5023 b := dAtA[iNdEx] 5024 iNdEx++ 5025 stringLen |= uint64(b&0x7F) << shift 5026 if b < 0x80 { 5027 break 5028 } 5029 } 5030 intStringLen := int(stringLen) 5031 if intStringLen < 0 { 5032 return ErrInvalidLengthRan 5033 } 5034 postIndex := iNdEx + intStringLen 5035 if postIndex < 0 { 5036 return ErrInvalidLengthRan 5037 } 5038 if postIndex > l { 5039 return io.ErrUnexpectedEOF 5040 } 5041 m.CuE2NodeId = string(dAtA[iNdEx:postIndex]) 5042 iNdEx = postIndex 5043 case 3: 5044 if wireType != 2 { 5045 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 5046 } 5047 var stringLen uint64 5048 for shift := uint(0); ; shift += 7 { 5049 if shift >= 64 { 5050 return ErrIntOverflowRan 5051 } 5052 if iNdEx >= l { 5053 return io.ErrUnexpectedEOF 5054 } 5055 b := dAtA[iNdEx] 5056 iNdEx++ 5057 stringLen |= uint64(b&0x7F) << shift 5058 if b < 0x80 { 5059 break 5060 } 5061 } 5062 intStringLen := int(stringLen) 5063 if intStringLen < 0 { 5064 return ErrInvalidLengthRan 5065 } 5066 postIndex := iNdEx + intStringLen 5067 if postIndex < 0 { 5068 return ErrInvalidLengthRan 5069 } 5070 if postIndex > l { 5071 return io.ErrUnexpectedEOF 5072 } 5073 m.ID = string(dAtA[iNdEx:postIndex]) 5074 iNdEx = postIndex 5075 case 4: 5076 if wireType != 2 { 5077 return fmt.Errorf("proto: wrong wireType = %d for field SliceDesc", wireType) 5078 } 5079 var stringLen uint64 5080 for shift := uint(0); ; shift += 7 { 5081 if shift >= 64 { 5082 return ErrIntOverflowRan 5083 } 5084 if iNdEx >= l { 5085 return io.ErrUnexpectedEOF 5086 } 5087 b := dAtA[iNdEx] 5088 iNdEx++ 5089 stringLen |= uint64(b&0x7F) << shift 5090 if b < 0x80 { 5091 break 5092 } 5093 } 5094 intStringLen := int(stringLen) 5095 if intStringLen < 0 { 5096 return ErrInvalidLengthRan 5097 } 5098 postIndex := iNdEx + intStringLen 5099 if postIndex < 0 { 5100 return ErrInvalidLengthRan 5101 } 5102 if postIndex > l { 5103 return io.ErrUnexpectedEOF 5104 } 5105 m.SliceDesc = string(dAtA[iNdEx:postIndex]) 5106 iNdEx = postIndex 5107 case 5: 5108 if wireType != 2 { 5109 return fmt.Errorf("proto: wrong wireType = %d for field SliceParameters", wireType) 5110 } 5111 var msglen int 5112 for shift := uint(0); ; shift += 7 { 5113 if shift >= 64 { 5114 return ErrIntOverflowRan 5115 } 5116 if iNdEx >= l { 5117 return io.ErrUnexpectedEOF 5118 } 5119 b := dAtA[iNdEx] 5120 iNdEx++ 5121 msglen |= int(b&0x7F) << shift 5122 if b < 0x80 { 5123 break 5124 } 5125 } 5126 if msglen < 0 { 5127 return ErrInvalidLengthRan 5128 } 5129 postIndex := iNdEx + msglen 5130 if postIndex < 0 { 5131 return ErrInvalidLengthRan 5132 } 5133 if postIndex > l { 5134 return io.ErrUnexpectedEOF 5135 } 5136 if m.SliceParameters == nil { 5137 m.SliceParameters = &RSMSliceParameters{} 5138 } 5139 if err := m.SliceParameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5140 return err 5141 } 5142 iNdEx = postIndex 5143 case 6: 5144 if wireType != 0 { 5145 return fmt.Errorf("proto: wrong wireType = %d for field SliceType", wireType) 5146 } 5147 m.SliceType = 0 5148 for shift := uint(0); ; shift += 7 { 5149 if shift >= 64 { 5150 return ErrIntOverflowRan 5151 } 5152 if iNdEx >= l { 5153 return io.ErrUnexpectedEOF 5154 } 5155 b := dAtA[iNdEx] 5156 iNdEx++ 5157 m.SliceType |= RSMSliceType(b&0x7F) << shift 5158 if b < 0x80 { 5159 break 5160 } 5161 } 5162 case 7: 5163 if wireType != 2 { 5164 return fmt.Errorf("proto: wrong wireType = %d for field DrbId", wireType) 5165 } 5166 var msglen int 5167 for shift := uint(0); ; shift += 7 { 5168 if shift >= 64 { 5169 return ErrIntOverflowRan 5170 } 5171 if iNdEx >= l { 5172 return io.ErrUnexpectedEOF 5173 } 5174 b := dAtA[iNdEx] 5175 iNdEx++ 5176 msglen |= int(b&0x7F) << shift 5177 if b < 0x80 { 5178 break 5179 } 5180 } 5181 if msglen < 0 { 5182 return ErrInvalidLengthRan 5183 } 5184 postIndex := iNdEx + msglen 5185 if postIndex < 0 { 5186 return ErrInvalidLengthRan 5187 } 5188 if postIndex > l { 5189 return io.ErrUnexpectedEOF 5190 } 5191 if m.DrbId == nil { 5192 m.DrbId = &DrbId{} 5193 } 5194 if err := m.DrbId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5195 return err 5196 } 5197 iNdEx = postIndex 5198 default: 5199 iNdEx = preIndex 5200 skippy, err := skipRan(dAtA[iNdEx:]) 5201 if err != nil { 5202 return err 5203 } 5204 if (skippy < 0) || (iNdEx+skippy) < 0 { 5205 return ErrInvalidLengthRan 5206 } 5207 if (iNdEx + skippy) > l { 5208 return io.ErrUnexpectedEOF 5209 } 5210 iNdEx += skippy 5211 } 5212 } 5213 5214 if iNdEx > l { 5215 return io.ErrUnexpectedEOF 5216 } 5217 return nil 5218 } 5219 func (m *RSMSliceParameters) Unmarshal(dAtA []byte) error { 5220 l := len(dAtA) 5221 iNdEx := 0 5222 for iNdEx < l { 5223 preIndex := iNdEx 5224 var wire uint64 5225 for shift := uint(0); ; shift += 7 { 5226 if shift >= 64 { 5227 return ErrIntOverflowRan 5228 } 5229 if iNdEx >= l { 5230 return io.ErrUnexpectedEOF 5231 } 5232 b := dAtA[iNdEx] 5233 iNdEx++ 5234 wire |= uint64(b&0x7F) << shift 5235 if b < 0x80 { 5236 break 5237 } 5238 } 5239 fieldNum := int32(wire >> 3) 5240 wireType := int(wire & 0x7) 5241 if wireType == 4 { 5242 return fmt.Errorf("proto: RSMSliceParameters: wiretype end group for non-group") 5243 } 5244 if fieldNum <= 0 { 5245 return fmt.Errorf("proto: RSMSliceParameters: illegal tag %d (wire type %d)", fieldNum, wire) 5246 } 5247 switch fieldNum { 5248 case 1: 5249 if wireType != 0 { 5250 return fmt.Errorf("proto: wrong wireType = %d for field SchedulerType", wireType) 5251 } 5252 m.SchedulerType = 0 5253 for shift := uint(0); ; shift += 7 { 5254 if shift >= 64 { 5255 return ErrIntOverflowRan 5256 } 5257 if iNdEx >= l { 5258 return io.ErrUnexpectedEOF 5259 } 5260 b := dAtA[iNdEx] 5261 iNdEx++ 5262 m.SchedulerType |= RSMSchedulerType(b&0x7F) << shift 5263 if b < 0x80 { 5264 break 5265 } 5266 } 5267 case 2: 5268 if wireType != 0 { 5269 return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType) 5270 } 5271 m.Weight = 0 5272 for shift := uint(0); ; shift += 7 { 5273 if shift >= 64 { 5274 return ErrIntOverflowRan 5275 } 5276 if iNdEx >= l { 5277 return io.ErrUnexpectedEOF 5278 } 5279 b := dAtA[iNdEx] 5280 iNdEx++ 5281 m.Weight |= int32(b&0x7F) << shift 5282 if b < 0x80 { 5283 break 5284 } 5285 } 5286 case 3: 5287 if wireType != 0 { 5288 return fmt.Errorf("proto: wrong wireType = %d for field QosLevel", wireType) 5289 } 5290 m.QosLevel = 0 5291 for shift := uint(0); ; shift += 7 { 5292 if shift >= 64 { 5293 return ErrIntOverflowRan 5294 } 5295 if iNdEx >= l { 5296 return io.ErrUnexpectedEOF 5297 } 5298 b := dAtA[iNdEx] 5299 iNdEx++ 5300 m.QosLevel |= int32(b&0x7F) << shift 5301 if b < 0x80 { 5302 break 5303 } 5304 } 5305 default: 5306 iNdEx = preIndex 5307 skippy, err := skipRan(dAtA[iNdEx:]) 5308 if err != nil { 5309 return err 5310 } 5311 if (skippy < 0) || (iNdEx+skippy) < 0 { 5312 return ErrInvalidLengthRan 5313 } 5314 if (iNdEx + skippy) > l { 5315 return io.ErrUnexpectedEOF 5316 } 5317 iNdEx += skippy 5318 } 5319 } 5320 5321 if iNdEx > l { 5322 return io.ErrUnexpectedEOF 5323 } 5324 return nil 5325 } 5326 func skipRan(dAtA []byte) (n int, err error) { 5327 l := len(dAtA) 5328 iNdEx := 0 5329 depth := 0 5330 for iNdEx < l { 5331 var wire uint64 5332 for shift := uint(0); ; shift += 7 { 5333 if shift >= 64 { 5334 return 0, ErrIntOverflowRan 5335 } 5336 if iNdEx >= l { 5337 return 0, io.ErrUnexpectedEOF 5338 } 5339 b := dAtA[iNdEx] 5340 iNdEx++ 5341 wire |= (uint64(b) & 0x7F) << shift 5342 if b < 0x80 { 5343 break 5344 } 5345 } 5346 wireType := int(wire & 0x7) 5347 switch wireType { 5348 case 0: 5349 for shift := uint(0); ; shift += 7 { 5350 if shift >= 64 { 5351 return 0, ErrIntOverflowRan 5352 } 5353 if iNdEx >= l { 5354 return 0, io.ErrUnexpectedEOF 5355 } 5356 iNdEx++ 5357 if dAtA[iNdEx-1] < 0x80 { 5358 break 5359 } 5360 } 5361 case 1: 5362 iNdEx += 8 5363 case 2: 5364 var length int 5365 for shift := uint(0); ; shift += 7 { 5366 if shift >= 64 { 5367 return 0, ErrIntOverflowRan 5368 } 5369 if iNdEx >= l { 5370 return 0, io.ErrUnexpectedEOF 5371 } 5372 b := dAtA[iNdEx] 5373 iNdEx++ 5374 length |= (int(b) & 0x7F) << shift 5375 if b < 0x80 { 5376 break 5377 } 5378 } 5379 if length < 0 { 5380 return 0, ErrInvalidLengthRan 5381 } 5382 iNdEx += length 5383 case 3: 5384 depth++ 5385 case 4: 5386 if depth == 0 { 5387 return 0, ErrUnexpectedEndOfGroupRan 5388 } 5389 depth-- 5390 case 5: 5391 iNdEx += 4 5392 default: 5393 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 5394 } 5395 if iNdEx < 0 { 5396 return 0, ErrInvalidLengthRan 5397 } 5398 if depth == 0 { 5399 return iNdEx, nil 5400 } 5401 } 5402 return 0, io.ErrUnexpectedEOF 5403 } 5404 5405 var ( 5406 ErrInvalidLengthRan = fmt.Errorf("proto: negative length found during unmarshaling") 5407 ErrIntOverflowRan = fmt.Errorf("proto: integer overflow") 5408 ErrUnexpectedEndOfGroupRan = fmt.Errorf("proto: unexpected end of group") 5409 )