github.com/osrg/gobgp/v3@v3.30.0/api/capability.pb.go (about) 1 // Copyright (C) 2018 Nippon Telegraph and Telephone Corporation. 2 // 3 // Permission is hereby granted, free of charge, to any person 4 // obtaining a copy of this software and associated documentation files 5 // (the "Software"), to deal in the Software without restriction, 6 // including without limitation the rights to use, copy, modify, merge, 7 // publish, distribute, sublicense, and/or sell copies of the Software, 8 // and to permit persons to whom the Software is furnished to do so, 9 // subject to the following conditions: 10 // 11 // The above copyright notice and this permission notice shall be 12 // included in all copies or substantial portions of the Software. 13 14 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 22 // Code generated by protoc-gen-go. DO NOT EDIT. 23 // versions: 24 // protoc-gen-go v1.28.1 25 // protoc v3.21.12 26 // source: capability.proto 27 28 package apipb 29 30 import ( 31 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 32 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 33 reflect "reflect" 34 sync "sync" 35 ) 36 37 const ( 38 // Verify that this generated code is sufficiently up-to-date. 39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 40 // Verify that runtime/protoimpl is sufficiently up-to-date. 41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 42 ) 43 44 type AddPathCapabilityTuple_Mode int32 45 46 const ( 47 AddPathCapabilityTuple_NONE AddPathCapabilityTuple_Mode = 0 48 AddPathCapabilityTuple_RECEIVE AddPathCapabilityTuple_Mode = 1 49 AddPathCapabilityTuple_SEND AddPathCapabilityTuple_Mode = 2 50 AddPathCapabilityTuple_BOTH AddPathCapabilityTuple_Mode = 3 51 ) 52 53 // Enum value maps for AddPathCapabilityTuple_Mode. 54 var ( 55 AddPathCapabilityTuple_Mode_name = map[int32]string{ 56 0: "NONE", 57 1: "RECEIVE", 58 2: "SEND", 59 3: "BOTH", 60 } 61 AddPathCapabilityTuple_Mode_value = map[string]int32{ 62 "NONE": 0, 63 "RECEIVE": 1, 64 "SEND": 2, 65 "BOTH": 3, 66 } 67 ) 68 69 func (x AddPathCapabilityTuple_Mode) Enum() *AddPathCapabilityTuple_Mode { 70 p := new(AddPathCapabilityTuple_Mode) 71 *p = x 72 return p 73 } 74 75 func (x AddPathCapabilityTuple_Mode) String() string { 76 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 77 } 78 79 func (AddPathCapabilityTuple_Mode) Descriptor() protoreflect.EnumDescriptor { 80 return file_capability_proto_enumTypes[0].Descriptor() 81 } 82 83 func (AddPathCapabilityTuple_Mode) Type() protoreflect.EnumType { 84 return &file_capability_proto_enumTypes[0] 85 } 86 87 func (x AddPathCapabilityTuple_Mode) Number() protoreflect.EnumNumber { 88 return protoreflect.EnumNumber(x) 89 } 90 91 // Deprecated: Use AddPathCapabilityTuple_Mode.Descriptor instead. 92 func (AddPathCapabilityTuple_Mode) EnumDescriptor() ([]byte, []int) { 93 return file_capability_proto_rawDescGZIP(), []int{8, 0} 94 } 95 96 type MultiProtocolCapability struct { 97 state protoimpl.MessageState 98 sizeCache protoimpl.SizeCache 99 unknownFields protoimpl.UnknownFields 100 101 Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` 102 } 103 104 func (x *MultiProtocolCapability) Reset() { 105 *x = MultiProtocolCapability{} 106 if protoimpl.UnsafeEnabled { 107 mi := &file_capability_proto_msgTypes[0] 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 109 ms.StoreMessageInfo(mi) 110 } 111 } 112 113 func (x *MultiProtocolCapability) String() string { 114 return protoimpl.X.MessageStringOf(x) 115 } 116 117 func (*MultiProtocolCapability) ProtoMessage() {} 118 119 func (x *MultiProtocolCapability) ProtoReflect() protoreflect.Message { 120 mi := &file_capability_proto_msgTypes[0] 121 if protoimpl.UnsafeEnabled && x != nil { 122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 123 if ms.LoadMessageInfo() == nil { 124 ms.StoreMessageInfo(mi) 125 } 126 return ms 127 } 128 return mi.MessageOf(x) 129 } 130 131 // Deprecated: Use MultiProtocolCapability.ProtoReflect.Descriptor instead. 132 func (*MultiProtocolCapability) Descriptor() ([]byte, []int) { 133 return file_capability_proto_rawDescGZIP(), []int{0} 134 } 135 136 func (x *MultiProtocolCapability) GetFamily() *Family { 137 if x != nil { 138 return x.Family 139 } 140 return nil 141 } 142 143 type RouteRefreshCapability struct { 144 state protoimpl.MessageState 145 sizeCache protoimpl.SizeCache 146 unknownFields protoimpl.UnknownFields 147 } 148 149 func (x *RouteRefreshCapability) Reset() { 150 *x = RouteRefreshCapability{} 151 if protoimpl.UnsafeEnabled { 152 mi := &file_capability_proto_msgTypes[1] 153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 154 ms.StoreMessageInfo(mi) 155 } 156 } 157 158 func (x *RouteRefreshCapability) String() string { 159 return protoimpl.X.MessageStringOf(x) 160 } 161 162 func (*RouteRefreshCapability) ProtoMessage() {} 163 164 func (x *RouteRefreshCapability) ProtoReflect() protoreflect.Message { 165 mi := &file_capability_proto_msgTypes[1] 166 if protoimpl.UnsafeEnabled && x != nil { 167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 168 if ms.LoadMessageInfo() == nil { 169 ms.StoreMessageInfo(mi) 170 } 171 return ms 172 } 173 return mi.MessageOf(x) 174 } 175 176 // Deprecated: Use RouteRefreshCapability.ProtoReflect.Descriptor instead. 177 func (*RouteRefreshCapability) Descriptor() ([]byte, []int) { 178 return file_capability_proto_rawDescGZIP(), []int{1} 179 } 180 181 type CarryingLabelInfoCapability struct { 182 state protoimpl.MessageState 183 sizeCache protoimpl.SizeCache 184 unknownFields protoimpl.UnknownFields 185 } 186 187 func (x *CarryingLabelInfoCapability) Reset() { 188 *x = CarryingLabelInfoCapability{} 189 if protoimpl.UnsafeEnabled { 190 mi := &file_capability_proto_msgTypes[2] 191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 192 ms.StoreMessageInfo(mi) 193 } 194 } 195 196 func (x *CarryingLabelInfoCapability) String() string { 197 return protoimpl.X.MessageStringOf(x) 198 } 199 200 func (*CarryingLabelInfoCapability) ProtoMessage() {} 201 202 func (x *CarryingLabelInfoCapability) ProtoReflect() protoreflect.Message { 203 mi := &file_capability_proto_msgTypes[2] 204 if protoimpl.UnsafeEnabled && x != nil { 205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 206 if ms.LoadMessageInfo() == nil { 207 ms.StoreMessageInfo(mi) 208 } 209 return ms 210 } 211 return mi.MessageOf(x) 212 } 213 214 // Deprecated: Use CarryingLabelInfoCapability.ProtoReflect.Descriptor instead. 215 func (*CarryingLabelInfoCapability) Descriptor() ([]byte, []int) { 216 return file_capability_proto_rawDescGZIP(), []int{2} 217 } 218 219 type ExtendedNexthopCapabilityTuple struct { 220 state protoimpl.MessageState 221 sizeCache protoimpl.SizeCache 222 unknownFields protoimpl.UnknownFields 223 224 NlriFamily *Family `protobuf:"bytes,1,opt,name=nlri_family,json=nlriFamily,proto3" json:"nlri_family,omitempty"` 225 // Nexthop AFI must be either 226 // gobgp.IPv4 or 227 // gobgp.IPv6. 228 NexthopFamily *Family `protobuf:"bytes,2,opt,name=nexthop_family,json=nexthopFamily,proto3" json:"nexthop_family,omitempty"` 229 } 230 231 func (x *ExtendedNexthopCapabilityTuple) Reset() { 232 *x = ExtendedNexthopCapabilityTuple{} 233 if protoimpl.UnsafeEnabled { 234 mi := &file_capability_proto_msgTypes[3] 235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 236 ms.StoreMessageInfo(mi) 237 } 238 } 239 240 func (x *ExtendedNexthopCapabilityTuple) String() string { 241 return protoimpl.X.MessageStringOf(x) 242 } 243 244 func (*ExtendedNexthopCapabilityTuple) ProtoMessage() {} 245 246 func (x *ExtendedNexthopCapabilityTuple) ProtoReflect() protoreflect.Message { 247 mi := &file_capability_proto_msgTypes[3] 248 if protoimpl.UnsafeEnabled && x != nil { 249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 250 if ms.LoadMessageInfo() == nil { 251 ms.StoreMessageInfo(mi) 252 } 253 return ms 254 } 255 return mi.MessageOf(x) 256 } 257 258 // Deprecated: Use ExtendedNexthopCapabilityTuple.ProtoReflect.Descriptor instead. 259 func (*ExtendedNexthopCapabilityTuple) Descriptor() ([]byte, []int) { 260 return file_capability_proto_rawDescGZIP(), []int{3} 261 } 262 263 func (x *ExtendedNexthopCapabilityTuple) GetNlriFamily() *Family { 264 if x != nil { 265 return x.NlriFamily 266 } 267 return nil 268 } 269 270 func (x *ExtendedNexthopCapabilityTuple) GetNexthopFamily() *Family { 271 if x != nil { 272 return x.NexthopFamily 273 } 274 return nil 275 } 276 277 type ExtendedNexthopCapability struct { 278 state protoimpl.MessageState 279 sizeCache protoimpl.SizeCache 280 unknownFields protoimpl.UnknownFields 281 282 Tuples []*ExtendedNexthopCapabilityTuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` 283 } 284 285 func (x *ExtendedNexthopCapability) Reset() { 286 *x = ExtendedNexthopCapability{} 287 if protoimpl.UnsafeEnabled { 288 mi := &file_capability_proto_msgTypes[4] 289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 290 ms.StoreMessageInfo(mi) 291 } 292 } 293 294 func (x *ExtendedNexthopCapability) String() string { 295 return protoimpl.X.MessageStringOf(x) 296 } 297 298 func (*ExtendedNexthopCapability) ProtoMessage() {} 299 300 func (x *ExtendedNexthopCapability) ProtoReflect() protoreflect.Message { 301 mi := &file_capability_proto_msgTypes[4] 302 if protoimpl.UnsafeEnabled && x != nil { 303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 304 if ms.LoadMessageInfo() == nil { 305 ms.StoreMessageInfo(mi) 306 } 307 return ms 308 } 309 return mi.MessageOf(x) 310 } 311 312 // Deprecated: Use ExtendedNexthopCapability.ProtoReflect.Descriptor instead. 313 func (*ExtendedNexthopCapability) Descriptor() ([]byte, []int) { 314 return file_capability_proto_rawDescGZIP(), []int{4} 315 } 316 317 func (x *ExtendedNexthopCapability) GetTuples() []*ExtendedNexthopCapabilityTuple { 318 if x != nil { 319 return x.Tuples 320 } 321 return nil 322 } 323 324 type GracefulRestartCapabilityTuple struct { 325 state protoimpl.MessageState 326 sizeCache protoimpl.SizeCache 327 unknownFields protoimpl.UnknownFields 328 329 Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` 330 Flags uint32 `protobuf:"varint,2,opt,name=flags,proto3" json:"flags,omitempty"` 331 } 332 333 func (x *GracefulRestartCapabilityTuple) Reset() { 334 *x = GracefulRestartCapabilityTuple{} 335 if protoimpl.UnsafeEnabled { 336 mi := &file_capability_proto_msgTypes[5] 337 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 338 ms.StoreMessageInfo(mi) 339 } 340 } 341 342 func (x *GracefulRestartCapabilityTuple) String() string { 343 return protoimpl.X.MessageStringOf(x) 344 } 345 346 func (*GracefulRestartCapabilityTuple) ProtoMessage() {} 347 348 func (x *GracefulRestartCapabilityTuple) ProtoReflect() protoreflect.Message { 349 mi := &file_capability_proto_msgTypes[5] 350 if protoimpl.UnsafeEnabled && x != nil { 351 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 352 if ms.LoadMessageInfo() == nil { 353 ms.StoreMessageInfo(mi) 354 } 355 return ms 356 } 357 return mi.MessageOf(x) 358 } 359 360 // Deprecated: Use GracefulRestartCapabilityTuple.ProtoReflect.Descriptor instead. 361 func (*GracefulRestartCapabilityTuple) Descriptor() ([]byte, []int) { 362 return file_capability_proto_rawDescGZIP(), []int{5} 363 } 364 365 func (x *GracefulRestartCapabilityTuple) GetFamily() *Family { 366 if x != nil { 367 return x.Family 368 } 369 return nil 370 } 371 372 func (x *GracefulRestartCapabilityTuple) GetFlags() uint32 { 373 if x != nil { 374 return x.Flags 375 } 376 return 0 377 } 378 379 type GracefulRestartCapability struct { 380 state protoimpl.MessageState 381 sizeCache protoimpl.SizeCache 382 unknownFields protoimpl.UnknownFields 383 384 Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` 385 Time uint32 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"` 386 Tuples []*GracefulRestartCapabilityTuple `protobuf:"bytes,3,rep,name=tuples,proto3" json:"tuples,omitempty"` 387 } 388 389 func (x *GracefulRestartCapability) Reset() { 390 *x = GracefulRestartCapability{} 391 if protoimpl.UnsafeEnabled { 392 mi := &file_capability_proto_msgTypes[6] 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 394 ms.StoreMessageInfo(mi) 395 } 396 } 397 398 func (x *GracefulRestartCapability) String() string { 399 return protoimpl.X.MessageStringOf(x) 400 } 401 402 func (*GracefulRestartCapability) ProtoMessage() {} 403 404 func (x *GracefulRestartCapability) ProtoReflect() protoreflect.Message { 405 mi := &file_capability_proto_msgTypes[6] 406 if protoimpl.UnsafeEnabled && x != nil { 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 408 if ms.LoadMessageInfo() == nil { 409 ms.StoreMessageInfo(mi) 410 } 411 return ms 412 } 413 return mi.MessageOf(x) 414 } 415 416 // Deprecated: Use GracefulRestartCapability.ProtoReflect.Descriptor instead. 417 func (*GracefulRestartCapability) Descriptor() ([]byte, []int) { 418 return file_capability_proto_rawDescGZIP(), []int{6} 419 } 420 421 func (x *GracefulRestartCapability) GetFlags() uint32 { 422 if x != nil { 423 return x.Flags 424 } 425 return 0 426 } 427 428 func (x *GracefulRestartCapability) GetTime() uint32 { 429 if x != nil { 430 return x.Time 431 } 432 return 0 433 } 434 435 func (x *GracefulRestartCapability) GetTuples() []*GracefulRestartCapabilityTuple { 436 if x != nil { 437 return x.Tuples 438 } 439 return nil 440 } 441 442 type FourOctetASNCapability struct { 443 state protoimpl.MessageState 444 sizeCache protoimpl.SizeCache 445 unknownFields protoimpl.UnknownFields 446 447 Asn uint32 `protobuf:"varint,1,opt,name=asn,proto3" json:"asn,omitempty"` 448 } 449 450 func (x *FourOctetASNCapability) Reset() { 451 *x = FourOctetASNCapability{} 452 if protoimpl.UnsafeEnabled { 453 mi := &file_capability_proto_msgTypes[7] 454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 455 ms.StoreMessageInfo(mi) 456 } 457 } 458 459 func (x *FourOctetASNCapability) String() string { 460 return protoimpl.X.MessageStringOf(x) 461 } 462 463 func (*FourOctetASNCapability) ProtoMessage() {} 464 465 func (x *FourOctetASNCapability) ProtoReflect() protoreflect.Message { 466 mi := &file_capability_proto_msgTypes[7] 467 if protoimpl.UnsafeEnabled && x != nil { 468 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 469 if ms.LoadMessageInfo() == nil { 470 ms.StoreMessageInfo(mi) 471 } 472 return ms 473 } 474 return mi.MessageOf(x) 475 } 476 477 // Deprecated: Use FourOctetASNCapability.ProtoReflect.Descriptor instead. 478 func (*FourOctetASNCapability) Descriptor() ([]byte, []int) { 479 return file_capability_proto_rawDescGZIP(), []int{7} 480 } 481 482 func (x *FourOctetASNCapability) GetAsn() uint32 { 483 if x != nil { 484 return x.Asn 485 } 486 return 0 487 } 488 489 type AddPathCapabilityTuple struct { 490 state protoimpl.MessageState 491 sizeCache protoimpl.SizeCache 492 unknownFields protoimpl.UnknownFields 493 494 Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` 495 Mode AddPathCapabilityTuple_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=apipb.AddPathCapabilityTuple_Mode" json:"mode,omitempty"` 496 } 497 498 func (x *AddPathCapabilityTuple) Reset() { 499 *x = AddPathCapabilityTuple{} 500 if protoimpl.UnsafeEnabled { 501 mi := &file_capability_proto_msgTypes[8] 502 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 503 ms.StoreMessageInfo(mi) 504 } 505 } 506 507 func (x *AddPathCapabilityTuple) String() string { 508 return protoimpl.X.MessageStringOf(x) 509 } 510 511 func (*AddPathCapabilityTuple) ProtoMessage() {} 512 513 func (x *AddPathCapabilityTuple) ProtoReflect() protoreflect.Message { 514 mi := &file_capability_proto_msgTypes[8] 515 if protoimpl.UnsafeEnabled && x != nil { 516 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 517 if ms.LoadMessageInfo() == nil { 518 ms.StoreMessageInfo(mi) 519 } 520 return ms 521 } 522 return mi.MessageOf(x) 523 } 524 525 // Deprecated: Use AddPathCapabilityTuple.ProtoReflect.Descriptor instead. 526 func (*AddPathCapabilityTuple) Descriptor() ([]byte, []int) { 527 return file_capability_proto_rawDescGZIP(), []int{8} 528 } 529 530 func (x *AddPathCapabilityTuple) GetFamily() *Family { 531 if x != nil { 532 return x.Family 533 } 534 return nil 535 } 536 537 func (x *AddPathCapabilityTuple) GetMode() AddPathCapabilityTuple_Mode { 538 if x != nil { 539 return x.Mode 540 } 541 return AddPathCapabilityTuple_NONE 542 } 543 544 type AddPathCapability struct { 545 state protoimpl.MessageState 546 sizeCache protoimpl.SizeCache 547 unknownFields protoimpl.UnknownFields 548 549 Tuples []*AddPathCapabilityTuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` 550 } 551 552 func (x *AddPathCapability) Reset() { 553 *x = AddPathCapability{} 554 if protoimpl.UnsafeEnabled { 555 mi := &file_capability_proto_msgTypes[9] 556 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 557 ms.StoreMessageInfo(mi) 558 } 559 } 560 561 func (x *AddPathCapability) String() string { 562 return protoimpl.X.MessageStringOf(x) 563 } 564 565 func (*AddPathCapability) ProtoMessage() {} 566 567 func (x *AddPathCapability) ProtoReflect() protoreflect.Message { 568 mi := &file_capability_proto_msgTypes[9] 569 if protoimpl.UnsafeEnabled && x != nil { 570 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 571 if ms.LoadMessageInfo() == nil { 572 ms.StoreMessageInfo(mi) 573 } 574 return ms 575 } 576 return mi.MessageOf(x) 577 } 578 579 // Deprecated: Use AddPathCapability.ProtoReflect.Descriptor instead. 580 func (*AddPathCapability) Descriptor() ([]byte, []int) { 581 return file_capability_proto_rawDescGZIP(), []int{9} 582 } 583 584 func (x *AddPathCapability) GetTuples() []*AddPathCapabilityTuple { 585 if x != nil { 586 return x.Tuples 587 } 588 return nil 589 } 590 591 type EnhancedRouteRefreshCapability struct { 592 state protoimpl.MessageState 593 sizeCache protoimpl.SizeCache 594 unknownFields protoimpl.UnknownFields 595 } 596 597 func (x *EnhancedRouteRefreshCapability) Reset() { 598 *x = EnhancedRouteRefreshCapability{} 599 if protoimpl.UnsafeEnabled { 600 mi := &file_capability_proto_msgTypes[10] 601 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 602 ms.StoreMessageInfo(mi) 603 } 604 } 605 606 func (x *EnhancedRouteRefreshCapability) String() string { 607 return protoimpl.X.MessageStringOf(x) 608 } 609 610 func (*EnhancedRouteRefreshCapability) ProtoMessage() {} 611 612 func (x *EnhancedRouteRefreshCapability) ProtoReflect() protoreflect.Message { 613 mi := &file_capability_proto_msgTypes[10] 614 if protoimpl.UnsafeEnabled && x != nil { 615 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 616 if ms.LoadMessageInfo() == nil { 617 ms.StoreMessageInfo(mi) 618 } 619 return ms 620 } 621 return mi.MessageOf(x) 622 } 623 624 // Deprecated: Use EnhancedRouteRefreshCapability.ProtoReflect.Descriptor instead. 625 func (*EnhancedRouteRefreshCapability) Descriptor() ([]byte, []int) { 626 return file_capability_proto_rawDescGZIP(), []int{10} 627 } 628 629 type LongLivedGracefulRestartCapabilityTuple struct { 630 state protoimpl.MessageState 631 sizeCache protoimpl.SizeCache 632 unknownFields protoimpl.UnknownFields 633 634 Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` 635 Flags uint32 `protobuf:"varint,2,opt,name=flags,proto3" json:"flags,omitempty"` 636 Time uint32 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` 637 } 638 639 func (x *LongLivedGracefulRestartCapabilityTuple) Reset() { 640 *x = LongLivedGracefulRestartCapabilityTuple{} 641 if protoimpl.UnsafeEnabled { 642 mi := &file_capability_proto_msgTypes[11] 643 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 644 ms.StoreMessageInfo(mi) 645 } 646 } 647 648 func (x *LongLivedGracefulRestartCapabilityTuple) String() string { 649 return protoimpl.X.MessageStringOf(x) 650 } 651 652 func (*LongLivedGracefulRestartCapabilityTuple) ProtoMessage() {} 653 654 func (x *LongLivedGracefulRestartCapabilityTuple) ProtoReflect() protoreflect.Message { 655 mi := &file_capability_proto_msgTypes[11] 656 if protoimpl.UnsafeEnabled && x != nil { 657 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 658 if ms.LoadMessageInfo() == nil { 659 ms.StoreMessageInfo(mi) 660 } 661 return ms 662 } 663 return mi.MessageOf(x) 664 } 665 666 // Deprecated: Use LongLivedGracefulRestartCapabilityTuple.ProtoReflect.Descriptor instead. 667 func (*LongLivedGracefulRestartCapabilityTuple) Descriptor() ([]byte, []int) { 668 return file_capability_proto_rawDescGZIP(), []int{11} 669 } 670 671 func (x *LongLivedGracefulRestartCapabilityTuple) GetFamily() *Family { 672 if x != nil { 673 return x.Family 674 } 675 return nil 676 } 677 678 func (x *LongLivedGracefulRestartCapabilityTuple) GetFlags() uint32 { 679 if x != nil { 680 return x.Flags 681 } 682 return 0 683 } 684 685 func (x *LongLivedGracefulRestartCapabilityTuple) GetTime() uint32 { 686 if x != nil { 687 return x.Time 688 } 689 return 0 690 } 691 692 type LongLivedGracefulRestartCapability struct { 693 state protoimpl.MessageState 694 sizeCache protoimpl.SizeCache 695 unknownFields protoimpl.UnknownFields 696 697 Tuples []*LongLivedGracefulRestartCapabilityTuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` 698 } 699 700 func (x *LongLivedGracefulRestartCapability) Reset() { 701 *x = LongLivedGracefulRestartCapability{} 702 if protoimpl.UnsafeEnabled { 703 mi := &file_capability_proto_msgTypes[12] 704 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 705 ms.StoreMessageInfo(mi) 706 } 707 } 708 709 func (x *LongLivedGracefulRestartCapability) String() string { 710 return protoimpl.X.MessageStringOf(x) 711 } 712 713 func (*LongLivedGracefulRestartCapability) ProtoMessage() {} 714 715 func (x *LongLivedGracefulRestartCapability) ProtoReflect() protoreflect.Message { 716 mi := &file_capability_proto_msgTypes[12] 717 if protoimpl.UnsafeEnabled && x != nil { 718 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 719 if ms.LoadMessageInfo() == nil { 720 ms.StoreMessageInfo(mi) 721 } 722 return ms 723 } 724 return mi.MessageOf(x) 725 } 726 727 // Deprecated: Use LongLivedGracefulRestartCapability.ProtoReflect.Descriptor instead. 728 func (*LongLivedGracefulRestartCapability) Descriptor() ([]byte, []int) { 729 return file_capability_proto_rawDescGZIP(), []int{12} 730 } 731 732 func (x *LongLivedGracefulRestartCapability) GetTuples() []*LongLivedGracefulRestartCapabilityTuple { 733 if x != nil { 734 return x.Tuples 735 } 736 return nil 737 } 738 739 type RouteRefreshCiscoCapability struct { 740 state protoimpl.MessageState 741 sizeCache protoimpl.SizeCache 742 unknownFields protoimpl.UnknownFields 743 } 744 745 func (x *RouteRefreshCiscoCapability) Reset() { 746 *x = RouteRefreshCiscoCapability{} 747 if protoimpl.UnsafeEnabled { 748 mi := &file_capability_proto_msgTypes[13] 749 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 750 ms.StoreMessageInfo(mi) 751 } 752 } 753 754 func (x *RouteRefreshCiscoCapability) String() string { 755 return protoimpl.X.MessageStringOf(x) 756 } 757 758 func (*RouteRefreshCiscoCapability) ProtoMessage() {} 759 760 func (x *RouteRefreshCiscoCapability) ProtoReflect() protoreflect.Message { 761 mi := &file_capability_proto_msgTypes[13] 762 if protoimpl.UnsafeEnabled && x != nil { 763 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 764 if ms.LoadMessageInfo() == nil { 765 ms.StoreMessageInfo(mi) 766 } 767 return ms 768 } 769 return mi.MessageOf(x) 770 } 771 772 // Deprecated: Use RouteRefreshCiscoCapability.ProtoReflect.Descriptor instead. 773 func (*RouteRefreshCiscoCapability) Descriptor() ([]byte, []int) { 774 return file_capability_proto_rawDescGZIP(), []int{13} 775 } 776 777 type FqdnCapability struct { 778 state protoimpl.MessageState 779 sizeCache protoimpl.SizeCache 780 unknownFields protoimpl.UnknownFields 781 782 HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` 783 DomainName string `protobuf:"bytes,2,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` 784 } 785 786 func (x *FqdnCapability) Reset() { 787 *x = FqdnCapability{} 788 if protoimpl.UnsafeEnabled { 789 mi := &file_capability_proto_msgTypes[14] 790 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 791 ms.StoreMessageInfo(mi) 792 } 793 } 794 795 func (x *FqdnCapability) String() string { 796 return protoimpl.X.MessageStringOf(x) 797 } 798 799 func (*FqdnCapability) ProtoMessage() {} 800 801 func (x *FqdnCapability) ProtoReflect() protoreflect.Message { 802 mi := &file_capability_proto_msgTypes[14] 803 if protoimpl.UnsafeEnabled && x != nil { 804 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 805 if ms.LoadMessageInfo() == nil { 806 ms.StoreMessageInfo(mi) 807 } 808 return ms 809 } 810 return mi.MessageOf(x) 811 } 812 813 // Deprecated: Use FqdnCapability.ProtoReflect.Descriptor instead. 814 func (*FqdnCapability) Descriptor() ([]byte, []int) { 815 return file_capability_proto_rawDescGZIP(), []int{14} 816 } 817 818 func (x *FqdnCapability) GetHostName() string { 819 if x != nil { 820 return x.HostName 821 } 822 return "" 823 } 824 825 func (x *FqdnCapability) GetDomainName() string { 826 if x != nil { 827 return x.DomainName 828 } 829 return "" 830 } 831 832 type SoftwareVersionCapability struct { 833 state protoimpl.MessageState 834 sizeCache protoimpl.SizeCache 835 unknownFields protoimpl.UnknownFields 836 837 SoftwareVersion string `protobuf:"bytes,1,opt,name=software_version,json=softwareVersion,proto3" json:"software_version,omitempty"` 838 } 839 840 func (x *SoftwareVersionCapability) Reset() { 841 *x = SoftwareVersionCapability{} 842 if protoimpl.UnsafeEnabled { 843 mi := &file_capability_proto_msgTypes[15] 844 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 845 ms.StoreMessageInfo(mi) 846 } 847 } 848 849 func (x *SoftwareVersionCapability) String() string { 850 return protoimpl.X.MessageStringOf(x) 851 } 852 853 func (*SoftwareVersionCapability) ProtoMessage() {} 854 855 func (x *SoftwareVersionCapability) ProtoReflect() protoreflect.Message { 856 mi := &file_capability_proto_msgTypes[15] 857 if protoimpl.UnsafeEnabled && x != nil { 858 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 859 if ms.LoadMessageInfo() == nil { 860 ms.StoreMessageInfo(mi) 861 } 862 return ms 863 } 864 return mi.MessageOf(x) 865 } 866 867 // Deprecated: Use SoftwareVersionCapability.ProtoReflect.Descriptor instead. 868 func (*SoftwareVersionCapability) Descriptor() ([]byte, []int) { 869 return file_capability_proto_rawDescGZIP(), []int{15} 870 } 871 872 func (x *SoftwareVersionCapability) GetSoftwareVersion() string { 873 if x != nil { 874 return x.SoftwareVersion 875 } 876 return "" 877 } 878 879 type UnknownCapability struct { 880 state protoimpl.MessageState 881 sizeCache protoimpl.SizeCache 882 unknownFields protoimpl.UnknownFields 883 884 Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` 885 Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 886 } 887 888 func (x *UnknownCapability) Reset() { 889 *x = UnknownCapability{} 890 if protoimpl.UnsafeEnabled { 891 mi := &file_capability_proto_msgTypes[16] 892 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 893 ms.StoreMessageInfo(mi) 894 } 895 } 896 897 func (x *UnknownCapability) String() string { 898 return protoimpl.X.MessageStringOf(x) 899 } 900 901 func (*UnknownCapability) ProtoMessage() {} 902 903 func (x *UnknownCapability) ProtoReflect() protoreflect.Message { 904 mi := &file_capability_proto_msgTypes[16] 905 if protoimpl.UnsafeEnabled && x != nil { 906 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 907 if ms.LoadMessageInfo() == nil { 908 ms.StoreMessageInfo(mi) 909 } 910 return ms 911 } 912 return mi.MessageOf(x) 913 } 914 915 // Deprecated: Use UnknownCapability.ProtoReflect.Descriptor instead. 916 func (*UnknownCapability) Descriptor() ([]byte, []int) { 917 return file_capability_proto_rawDescGZIP(), []int{16} 918 } 919 920 func (x *UnknownCapability) GetCode() uint32 { 921 if x != nil { 922 return x.Code 923 } 924 return 0 925 } 926 927 func (x *UnknownCapability) GetValue() []byte { 928 if x != nil { 929 return x.Value 930 } 931 return nil 932 } 933 934 var File_capability_proto protoreflect.FileDescriptor 935 936 var file_capability_proto_rawDesc = []byte{ 937 0x0a, 0x10, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 938 0x74, 0x6f, 0x12, 0x05, 0x61, 0x70, 0x69, 0x70, 0x62, 0x1a, 0x0b, 0x67, 0x6f, 0x62, 0x67, 0x70, 939 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x17, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x50, 940 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 941 0x79, 0x12, 0x25, 0x0a, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 942 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x70, 0x62, 0x2e, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 943 0x52, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x6f, 0x75, 0x74, 944 0x65, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 945 0x74, 0x79, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x61, 0x72, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x4c, 0x61, 946 0x62, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 947 0x79, 0x22, 0x86, 0x01, 0x0a, 0x1e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x4e, 0x65, 948 0x78, 0x74, 0x68, 0x6f, 0x70, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 949 0x75, 0x70, 0x6c, 0x65, 0x12, 0x2e, 0x0a, 0x0b, 0x6e, 0x6c, 0x72, 0x69, 0x5f, 0x66, 0x61, 0x6d, 950 0x69, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x70, 951 0x62, 0x2e, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x0a, 0x6e, 0x6c, 0x72, 0x69, 0x46, 0x61, 952 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x34, 0x0a, 0x0e, 0x6e, 0x65, 0x78, 0x74, 0x68, 0x6f, 0x70, 0x5f, 953 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 954 0x70, 0x69, 0x70, 0x62, 0x2e, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x0d, 0x6e, 0x65, 0x78, 955 0x74, 0x68, 0x6f, 0x70, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x22, 0x5a, 0x0a, 0x19, 0x45, 0x78, 956 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x4e, 0x65, 0x78, 0x74, 0x68, 0x6f, 0x70, 0x43, 0x61, 0x70, 957 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x3d, 0x0a, 0x06, 0x74, 0x75, 0x70, 0x6c, 0x65, 958 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x70, 0x62, 0x2e, 959 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x4e, 0x65, 0x78, 0x74, 0x68, 0x6f, 0x70, 0x43, 960 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x52, 0x06, 961 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x22, 0x5d, 0x0a, 0x1e, 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 962 0x75, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 963 0x69, 0x74, 0x79, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x66, 0x61, 0x6d, 0x69, 964 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x70, 0x62, 965 0x2e, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 966 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 967 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x19, 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 968 0x75, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 969 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 970 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 971 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 972 0x06, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 973 0x61, 0x70, 0x69, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x52, 0x65, 974 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 975 0x75, 0x70, 0x6c, 0x65, 0x52, 0x06, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x22, 0x2a, 0x0a, 0x16, 976 0x46, 0x6f, 0x75, 0x72, 0x4f, 0x63, 0x74, 0x65, 0x74, 0x41, 0x53, 0x4e, 0x43, 0x61, 0x70, 0x61, 977 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6e, 0x18, 0x01, 0x20, 978 0x01, 0x28, 0x0d, 0x52, 0x03, 0x61, 0x73, 0x6e, 0x22, 0xaa, 0x01, 0x0a, 0x16, 0x41, 0x64, 0x64, 979 0x50, 0x61, 0x74, 0x68, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x75, 980 0x70, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x01, 0x20, 981 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x70, 0x62, 0x2e, 0x46, 0x61, 0x6d, 0x69, 982 0x6c, 0x79, 0x52, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x36, 0x0a, 0x04, 0x6d, 0x6f, 983 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x70, 0x62, 984 0x2e, 0x41, 0x64, 0x64, 0x50, 0x61, 0x74, 0x68, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 985 0x74, 0x79, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 986 0x64, 0x65, 0x22, 0x31, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 987 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x10, 988 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x45, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x42, 989 0x4f, 0x54, 0x48, 0x10, 0x03, 0x22, 0x4a, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x50, 0x61, 0x74, 0x68, 990 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x35, 0x0a, 0x06, 0x74, 0x75, 991 0x70, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 992 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x61, 0x74, 0x68, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 993 0x6c, 0x69, 0x74, 0x79, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x52, 0x06, 0x74, 0x75, 0x70, 0x6c, 0x65, 994 0x73, 0x22, 0x20, 0x0a, 0x1e, 0x45, 0x6e, 0x68, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x52, 0x6f, 0x75, 995 0x74, 0x65, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 996 0x69, 0x74, 0x79, 0x22, 0x7a, 0x0a, 0x27, 0x4c, 0x6f, 0x6e, 0x67, 0x4c, 0x69, 0x76, 0x65, 0x64, 997 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 998 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x12, 0x25, 999 0x0a, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 1000 0x2e, 0x61, 0x70, 0x69, 0x70, 0x62, 0x2e, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x06, 0x66, 1001 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x02, 1002 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 1003 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 1004 0x6c, 0x0a, 0x22, 0x4c, 0x6f, 0x6e, 0x67, 0x4c, 0x69, 0x76, 0x65, 0x64, 0x47, 0x72, 0x61, 0x63, 1005 0x65, 0x66, 0x75, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 1006 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x46, 0x0a, 0x06, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x18, 1007 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 1008 0x6e, 0x67, 0x4c, 0x69, 0x76, 0x65, 0x64, 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x52, 1009 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 1010 0x54, 0x75, 0x70, 0x6c, 0x65, 0x52, 0x06, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x22, 0x1d, 0x0a, 1011 0x1b, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x69, 0x73, 1012 0x63, 0x6f, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4e, 0x0a, 0x0e, 1013 0x46, 0x71, 0x64, 0x6e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1b, 1014 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 1015 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 1016 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 1017 0x52, 0x0a, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x46, 0x0a, 0x19, 1018 0x53, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 1019 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x6f, 0x66, 1020 0x74, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 1021 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x56, 0x65, 0x72, 1022 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3d, 0x0a, 0x11, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x43, 1023 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 1024 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 1025 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 1026 0x6c, 0x75, 0x65, 0x42, 0x24, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 1027 0x6d, 0x2f, 0x6f, 0x73, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x62, 0x67, 0x70, 0x2f, 0x76, 0x33, 0x2f, 1028 0x61, 0x70, 0x69, 0x3b, 0x61, 0x70, 0x69, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1029 0x33, 1030 } 1031 1032 var ( 1033 file_capability_proto_rawDescOnce sync.Once 1034 file_capability_proto_rawDescData = file_capability_proto_rawDesc 1035 ) 1036 1037 func file_capability_proto_rawDescGZIP() []byte { 1038 file_capability_proto_rawDescOnce.Do(func() { 1039 file_capability_proto_rawDescData = protoimpl.X.CompressGZIP(file_capability_proto_rawDescData) 1040 }) 1041 return file_capability_proto_rawDescData 1042 } 1043 1044 var file_capability_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1045 var file_capability_proto_msgTypes = make([]protoimpl.MessageInfo, 17) 1046 var file_capability_proto_goTypes = []interface{}{ 1047 (AddPathCapabilityTuple_Mode)(0), // 0: apipb.AddPathCapabilityTuple.Mode 1048 (*MultiProtocolCapability)(nil), // 1: apipb.MultiProtocolCapability 1049 (*RouteRefreshCapability)(nil), // 2: apipb.RouteRefreshCapability 1050 (*CarryingLabelInfoCapability)(nil), // 3: apipb.CarryingLabelInfoCapability 1051 (*ExtendedNexthopCapabilityTuple)(nil), // 4: apipb.ExtendedNexthopCapabilityTuple 1052 (*ExtendedNexthopCapability)(nil), // 5: apipb.ExtendedNexthopCapability 1053 (*GracefulRestartCapabilityTuple)(nil), // 6: apipb.GracefulRestartCapabilityTuple 1054 (*GracefulRestartCapability)(nil), // 7: apipb.GracefulRestartCapability 1055 (*FourOctetASNCapability)(nil), // 8: apipb.FourOctetASNCapability 1056 (*AddPathCapabilityTuple)(nil), // 9: apipb.AddPathCapabilityTuple 1057 (*AddPathCapability)(nil), // 10: apipb.AddPathCapability 1058 (*EnhancedRouteRefreshCapability)(nil), // 11: apipb.EnhancedRouteRefreshCapability 1059 (*LongLivedGracefulRestartCapabilityTuple)(nil), // 12: apipb.LongLivedGracefulRestartCapabilityTuple 1060 (*LongLivedGracefulRestartCapability)(nil), // 13: apipb.LongLivedGracefulRestartCapability 1061 (*RouteRefreshCiscoCapability)(nil), // 14: apipb.RouteRefreshCiscoCapability 1062 (*FqdnCapability)(nil), // 15: apipb.FqdnCapability 1063 (*SoftwareVersionCapability)(nil), // 16: apipb.SoftwareVersionCapability 1064 (*UnknownCapability)(nil), // 17: apipb.UnknownCapability 1065 (*Family)(nil), // 18: apipb.Family 1066 } 1067 var file_capability_proto_depIdxs = []int32{ 1068 18, // 0: apipb.MultiProtocolCapability.family:type_name -> apipb.Family 1069 18, // 1: apipb.ExtendedNexthopCapabilityTuple.nlri_family:type_name -> apipb.Family 1070 18, // 2: apipb.ExtendedNexthopCapabilityTuple.nexthop_family:type_name -> apipb.Family 1071 4, // 3: apipb.ExtendedNexthopCapability.tuples:type_name -> apipb.ExtendedNexthopCapabilityTuple 1072 18, // 4: apipb.GracefulRestartCapabilityTuple.family:type_name -> apipb.Family 1073 6, // 5: apipb.GracefulRestartCapability.tuples:type_name -> apipb.GracefulRestartCapabilityTuple 1074 18, // 6: apipb.AddPathCapabilityTuple.family:type_name -> apipb.Family 1075 0, // 7: apipb.AddPathCapabilityTuple.mode:type_name -> apipb.AddPathCapabilityTuple.Mode 1076 9, // 8: apipb.AddPathCapability.tuples:type_name -> apipb.AddPathCapabilityTuple 1077 18, // 9: apipb.LongLivedGracefulRestartCapabilityTuple.family:type_name -> apipb.Family 1078 12, // 10: apipb.LongLivedGracefulRestartCapability.tuples:type_name -> apipb.LongLivedGracefulRestartCapabilityTuple 1079 11, // [11:11] is the sub-list for method output_type 1080 11, // [11:11] is the sub-list for method input_type 1081 11, // [11:11] is the sub-list for extension type_name 1082 11, // [11:11] is the sub-list for extension extendee 1083 0, // [0:11] is the sub-list for field type_name 1084 } 1085 1086 func init() { file_capability_proto_init() } 1087 func file_capability_proto_init() { 1088 if File_capability_proto != nil { 1089 return 1090 } 1091 file_gobgp_proto_init() 1092 if !protoimpl.UnsafeEnabled { 1093 file_capability_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1094 switch v := v.(*MultiProtocolCapability); i { 1095 case 0: 1096 return &v.state 1097 case 1: 1098 return &v.sizeCache 1099 case 2: 1100 return &v.unknownFields 1101 default: 1102 return nil 1103 } 1104 } 1105 file_capability_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1106 switch v := v.(*RouteRefreshCapability); i { 1107 case 0: 1108 return &v.state 1109 case 1: 1110 return &v.sizeCache 1111 case 2: 1112 return &v.unknownFields 1113 default: 1114 return nil 1115 } 1116 } 1117 file_capability_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1118 switch v := v.(*CarryingLabelInfoCapability); i { 1119 case 0: 1120 return &v.state 1121 case 1: 1122 return &v.sizeCache 1123 case 2: 1124 return &v.unknownFields 1125 default: 1126 return nil 1127 } 1128 } 1129 file_capability_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1130 switch v := v.(*ExtendedNexthopCapabilityTuple); i { 1131 case 0: 1132 return &v.state 1133 case 1: 1134 return &v.sizeCache 1135 case 2: 1136 return &v.unknownFields 1137 default: 1138 return nil 1139 } 1140 } 1141 file_capability_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1142 switch v := v.(*ExtendedNexthopCapability); i { 1143 case 0: 1144 return &v.state 1145 case 1: 1146 return &v.sizeCache 1147 case 2: 1148 return &v.unknownFields 1149 default: 1150 return nil 1151 } 1152 } 1153 file_capability_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1154 switch v := v.(*GracefulRestartCapabilityTuple); i { 1155 case 0: 1156 return &v.state 1157 case 1: 1158 return &v.sizeCache 1159 case 2: 1160 return &v.unknownFields 1161 default: 1162 return nil 1163 } 1164 } 1165 file_capability_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1166 switch v := v.(*GracefulRestartCapability); i { 1167 case 0: 1168 return &v.state 1169 case 1: 1170 return &v.sizeCache 1171 case 2: 1172 return &v.unknownFields 1173 default: 1174 return nil 1175 } 1176 } 1177 file_capability_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1178 switch v := v.(*FourOctetASNCapability); i { 1179 case 0: 1180 return &v.state 1181 case 1: 1182 return &v.sizeCache 1183 case 2: 1184 return &v.unknownFields 1185 default: 1186 return nil 1187 } 1188 } 1189 file_capability_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1190 switch v := v.(*AddPathCapabilityTuple); i { 1191 case 0: 1192 return &v.state 1193 case 1: 1194 return &v.sizeCache 1195 case 2: 1196 return &v.unknownFields 1197 default: 1198 return nil 1199 } 1200 } 1201 file_capability_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1202 switch v := v.(*AddPathCapability); i { 1203 case 0: 1204 return &v.state 1205 case 1: 1206 return &v.sizeCache 1207 case 2: 1208 return &v.unknownFields 1209 default: 1210 return nil 1211 } 1212 } 1213 file_capability_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1214 switch v := v.(*EnhancedRouteRefreshCapability); i { 1215 case 0: 1216 return &v.state 1217 case 1: 1218 return &v.sizeCache 1219 case 2: 1220 return &v.unknownFields 1221 default: 1222 return nil 1223 } 1224 } 1225 file_capability_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1226 switch v := v.(*LongLivedGracefulRestartCapabilityTuple); i { 1227 case 0: 1228 return &v.state 1229 case 1: 1230 return &v.sizeCache 1231 case 2: 1232 return &v.unknownFields 1233 default: 1234 return nil 1235 } 1236 } 1237 file_capability_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1238 switch v := v.(*LongLivedGracefulRestartCapability); i { 1239 case 0: 1240 return &v.state 1241 case 1: 1242 return &v.sizeCache 1243 case 2: 1244 return &v.unknownFields 1245 default: 1246 return nil 1247 } 1248 } 1249 file_capability_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1250 switch v := v.(*RouteRefreshCiscoCapability); i { 1251 case 0: 1252 return &v.state 1253 case 1: 1254 return &v.sizeCache 1255 case 2: 1256 return &v.unknownFields 1257 default: 1258 return nil 1259 } 1260 } 1261 file_capability_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1262 switch v := v.(*FqdnCapability); i { 1263 case 0: 1264 return &v.state 1265 case 1: 1266 return &v.sizeCache 1267 case 2: 1268 return &v.unknownFields 1269 default: 1270 return nil 1271 } 1272 } 1273 file_capability_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1274 switch v := v.(*SoftwareVersionCapability); i { 1275 case 0: 1276 return &v.state 1277 case 1: 1278 return &v.sizeCache 1279 case 2: 1280 return &v.unknownFields 1281 default: 1282 return nil 1283 } 1284 } 1285 file_capability_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 1286 switch v := v.(*UnknownCapability); i { 1287 case 0: 1288 return &v.state 1289 case 1: 1290 return &v.sizeCache 1291 case 2: 1292 return &v.unknownFields 1293 default: 1294 return nil 1295 } 1296 } 1297 } 1298 type x struct{} 1299 out := protoimpl.TypeBuilder{ 1300 File: protoimpl.DescBuilder{ 1301 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1302 RawDescriptor: file_capability_proto_rawDesc, 1303 NumEnums: 1, 1304 NumMessages: 17, 1305 NumExtensions: 0, 1306 NumServices: 0, 1307 }, 1308 GoTypes: file_capability_proto_goTypes, 1309 DependencyIndexes: file_capability_proto_depIdxs, 1310 EnumInfos: file_capability_proto_enumTypes, 1311 MessageInfos: file_capability_proto_msgTypes, 1312 }.Build() 1313 File_capability_proto = out.File 1314 file_capability_proto_rawDesc = nil 1315 file_capability_proto_goTypes = nil 1316 file_capability_proto_depIdxs = nil 1317 }