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