github.com/aristanetworks/goarista@v0.0.0-20240514173732-cca2755bbd44/lanz/proto/lanz.pb.go (about) 1 // Copyright (c) 2011 Arista Networks, Inc. All rights reserved. 2 // Use of this source code is governed by the Apache License 2.0 3 // that can be found in the COPYING file. 4 // 5 // This Google Protocol Buffer schema contains the message 6 // that are used for Lanz streaming. 7 // 8 9 // Code generated by protoc-gen-go. DO NOT EDIT. 10 // versions: 11 // protoc-gen-go v1.28.1 12 // protoc v3.21.5 13 // source: lanz.proto 14 15 package proto 16 17 import ( 18 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 19 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 20 reflect "reflect" 21 sync "sync" 22 ) 23 24 const ( 25 // Verify that this generated code is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 27 // Verify that runtime/protoimpl is sufficiently up-to-date. 28 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 29 ) 30 31 type GlobalBufferUsageRecord_EntryType int32 32 33 const ( 34 GlobalBufferUsageRecord_LOW GlobalBufferUsageRecord_EntryType = 1 35 GlobalBufferUsageRecord_UPDATE GlobalBufferUsageRecord_EntryType = 2 36 GlobalBufferUsageRecord_HIGH GlobalBufferUsageRecord_EntryType = 3 37 ) 38 39 // Enum value maps for GlobalBufferUsageRecord_EntryType. 40 var ( 41 GlobalBufferUsageRecord_EntryType_name = map[int32]string{ 42 1: "LOW", 43 2: "UPDATE", 44 3: "HIGH", 45 } 46 GlobalBufferUsageRecord_EntryType_value = map[string]int32{ 47 "LOW": 1, 48 "UPDATE": 2, 49 "HIGH": 3, 50 } 51 ) 52 53 func (x GlobalBufferUsageRecord_EntryType) Enum() *GlobalBufferUsageRecord_EntryType { 54 p := new(GlobalBufferUsageRecord_EntryType) 55 *p = x 56 return p 57 } 58 59 func (x GlobalBufferUsageRecord_EntryType) String() string { 60 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 61 } 62 63 func (GlobalBufferUsageRecord_EntryType) Descriptor() protoreflect.EnumDescriptor { 64 return file_lanz_proto_enumTypes[0].Descriptor() 65 } 66 67 func (GlobalBufferUsageRecord_EntryType) Type() protoreflect.EnumType { 68 return &file_lanz_proto_enumTypes[0] 69 } 70 71 func (x GlobalBufferUsageRecord_EntryType) Number() protoreflect.EnumNumber { 72 return protoreflect.EnumNumber(x) 73 } 74 75 // Deprecated: Do not use. 76 func (x *GlobalBufferUsageRecord_EntryType) UnmarshalJSON(b []byte) error { 77 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 78 if err != nil { 79 return err 80 } 81 *x = GlobalBufferUsageRecord_EntryType(num) 82 return nil 83 } 84 85 // Deprecated: Use GlobalBufferUsageRecord_EntryType.Descriptor instead. 86 func (GlobalBufferUsageRecord_EntryType) EnumDescriptor() ([]byte, []int) { 87 return file_lanz_proto_rawDescGZIP(), []int{1, 0} 88 } 89 90 type CongestionRecord_EntryType int32 91 92 const ( 93 CongestionRecord_START CongestionRecord_EntryType = 1 94 CongestionRecord_UPDATE CongestionRecord_EntryType = 2 95 CongestionRecord_END CongestionRecord_EntryType = 3 96 CongestionRecord_POLLING CongestionRecord_EntryType = 4 97 ) 98 99 // Enum value maps for CongestionRecord_EntryType. 100 var ( 101 CongestionRecord_EntryType_name = map[int32]string{ 102 1: "START", 103 2: "UPDATE", 104 3: "END", 105 4: "POLLING", 106 } 107 CongestionRecord_EntryType_value = map[string]int32{ 108 "START": 1, 109 "UPDATE": 2, 110 "END": 3, 111 "POLLING": 4, 112 } 113 ) 114 115 func (x CongestionRecord_EntryType) Enum() *CongestionRecord_EntryType { 116 p := new(CongestionRecord_EntryType) 117 *p = x 118 return p 119 } 120 121 func (x CongestionRecord_EntryType) String() string { 122 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 123 } 124 125 func (CongestionRecord_EntryType) Descriptor() protoreflect.EnumDescriptor { 126 return file_lanz_proto_enumTypes[1].Descriptor() 127 } 128 129 func (CongestionRecord_EntryType) Type() protoreflect.EnumType { 130 return &file_lanz_proto_enumTypes[1] 131 } 132 133 func (x CongestionRecord_EntryType) Number() protoreflect.EnumNumber { 134 return protoreflect.EnumNumber(x) 135 } 136 137 // Deprecated: Do not use. 138 func (x *CongestionRecord_EntryType) UnmarshalJSON(b []byte) error { 139 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 140 if err != nil { 141 return err 142 } 143 *x = CongestionRecord_EntryType(num) 144 return nil 145 } 146 147 // Deprecated: Use CongestionRecord_EntryType.Descriptor instead. 148 func (CongestionRecord_EntryType) EnumDescriptor() ([]byte, []int) { 149 return file_lanz_proto_rawDescGZIP(), []int{2, 0} 150 } 151 152 type ConfigRecord struct { 153 state protoimpl.MessageState 154 sizeCache protoimpl.SizeCache 155 unknownFields protoimpl.UnknownFields 156 157 Timestamp *uint64 `protobuf:"varint,1,req,name=timestamp" json:"timestamp,omitempty"` // Time of change in configuration in micro-seconds (UTC) 158 LanzVersion *uint32 `protobuf:"varint,2,req,name=lanzVersion" json:"lanzVersion,omitempty"` // LANZ feature version 159 NumOfPorts *uint32 `protobuf:"varint,3,req,name=numOfPorts" json:"numOfPorts,omitempty"` // Num of ports in the switch 160 SegmentSize *uint32 `protobuf:"varint,4,req,name=segmentSize" json:"segmentSize,omitempty"` // Segement size 161 MaxQueueSize *uint32 `protobuf:"varint,5,req,name=maxQueueSize" json:"maxQueueSize,omitempty"` // Maximum queue size in segments 162 QLenInterval *uint32 `protobuf:"varint,10,opt,name=qLenInterval" json:"qLenInterval,omitempty"` // Frequency of update 163 PortConfigRecord []*ConfigRecord_PortConfigRecord `protobuf:"bytes,6,rep,name=portConfigRecord" json:"portConfigRecord,omitempty"` // Lanz config details of each port 164 GlobalUsageHighThreshold *uint32 `protobuf:"varint,7,opt,name=globalUsageHighThreshold" json:"globalUsageHighThreshold,omitempty"` // High threshold for global usage monitoring 165 GlobalUsageLowThreshold *uint32 `protobuf:"varint,8,opt,name=globalUsageLowThreshold" json:"globalUsageLowThreshold,omitempty"` // Low threshold for global usage monitoring 166 GlobalUsageReportingEnabled *bool `protobuf:"varint,9,opt,name=globalUsageReportingEnabled" json:"globalUsageReportingEnabled,omitempty"` // Global buffer reporting enabled 167 } 168 169 func (x *ConfigRecord) Reset() { 170 *x = ConfigRecord{} 171 if protoimpl.UnsafeEnabled { 172 mi := &file_lanz_proto_msgTypes[0] 173 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 174 ms.StoreMessageInfo(mi) 175 } 176 } 177 178 func (x *ConfigRecord) String() string { 179 return protoimpl.X.MessageStringOf(x) 180 } 181 182 func (*ConfigRecord) ProtoMessage() {} 183 184 func (x *ConfigRecord) ProtoReflect() protoreflect.Message { 185 mi := &file_lanz_proto_msgTypes[0] 186 if protoimpl.UnsafeEnabled && x != nil { 187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 188 if ms.LoadMessageInfo() == nil { 189 ms.StoreMessageInfo(mi) 190 } 191 return ms 192 } 193 return mi.MessageOf(x) 194 } 195 196 // Deprecated: Use ConfigRecord.ProtoReflect.Descriptor instead. 197 func (*ConfigRecord) Descriptor() ([]byte, []int) { 198 return file_lanz_proto_rawDescGZIP(), []int{0} 199 } 200 201 func (x *ConfigRecord) GetTimestamp() uint64 { 202 if x != nil && x.Timestamp != nil { 203 return *x.Timestamp 204 } 205 return 0 206 } 207 208 func (x *ConfigRecord) GetLanzVersion() uint32 { 209 if x != nil && x.LanzVersion != nil { 210 return *x.LanzVersion 211 } 212 return 0 213 } 214 215 func (x *ConfigRecord) GetNumOfPorts() uint32 { 216 if x != nil && x.NumOfPorts != nil { 217 return *x.NumOfPorts 218 } 219 return 0 220 } 221 222 func (x *ConfigRecord) GetSegmentSize() uint32 { 223 if x != nil && x.SegmentSize != nil { 224 return *x.SegmentSize 225 } 226 return 0 227 } 228 229 func (x *ConfigRecord) GetMaxQueueSize() uint32 { 230 if x != nil && x.MaxQueueSize != nil { 231 return *x.MaxQueueSize 232 } 233 return 0 234 } 235 236 func (x *ConfigRecord) GetQLenInterval() uint32 { 237 if x != nil && x.QLenInterval != nil { 238 return *x.QLenInterval 239 } 240 return 0 241 } 242 243 func (x *ConfigRecord) GetPortConfigRecord() []*ConfigRecord_PortConfigRecord { 244 if x != nil { 245 return x.PortConfigRecord 246 } 247 return nil 248 } 249 250 func (x *ConfigRecord) GetGlobalUsageHighThreshold() uint32 { 251 if x != nil && x.GlobalUsageHighThreshold != nil { 252 return *x.GlobalUsageHighThreshold 253 } 254 return 0 255 } 256 257 func (x *ConfigRecord) GetGlobalUsageLowThreshold() uint32 { 258 if x != nil && x.GlobalUsageLowThreshold != nil { 259 return *x.GlobalUsageLowThreshold 260 } 261 return 0 262 } 263 264 func (x *ConfigRecord) GetGlobalUsageReportingEnabled() bool { 265 if x != nil && x.GlobalUsageReportingEnabled != nil { 266 return *x.GlobalUsageReportingEnabled 267 } 268 return false 269 } 270 271 type GlobalBufferUsageRecord struct { 272 state protoimpl.MessageState 273 sizeCache protoimpl.SizeCache 274 unknownFields protoimpl.UnknownFields 275 276 EntryType *GlobalBufferUsageRecord_EntryType `protobuf:"varint,1,opt,name=entryType,enum=LanzProtobuf.GlobalBufferUsageRecord_EntryType" json:"entryType,omitempty"` 277 Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` // Time of entry in micro-seconds (UTC) 278 BufferSize *uint32 `protobuf:"varint,3,opt,name=bufferSize" json:"bufferSize,omitempty"` // Size of global buffer 279 Duration *uint32 `protobuf:"varint,4,opt,name=duration" json:"duration,omitempty"` // duration of buffer usage between high and low 280 } 281 282 func (x *GlobalBufferUsageRecord) Reset() { 283 *x = GlobalBufferUsageRecord{} 284 if protoimpl.UnsafeEnabled { 285 mi := &file_lanz_proto_msgTypes[1] 286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 287 ms.StoreMessageInfo(mi) 288 } 289 } 290 291 func (x *GlobalBufferUsageRecord) String() string { 292 return protoimpl.X.MessageStringOf(x) 293 } 294 295 func (*GlobalBufferUsageRecord) ProtoMessage() {} 296 297 func (x *GlobalBufferUsageRecord) ProtoReflect() protoreflect.Message { 298 mi := &file_lanz_proto_msgTypes[1] 299 if protoimpl.UnsafeEnabled && x != nil { 300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 301 if ms.LoadMessageInfo() == nil { 302 ms.StoreMessageInfo(mi) 303 } 304 return ms 305 } 306 return mi.MessageOf(x) 307 } 308 309 // Deprecated: Use GlobalBufferUsageRecord.ProtoReflect.Descriptor instead. 310 func (*GlobalBufferUsageRecord) Descriptor() ([]byte, []int) { 311 return file_lanz_proto_rawDescGZIP(), []int{1} 312 } 313 314 func (x *GlobalBufferUsageRecord) GetEntryType() GlobalBufferUsageRecord_EntryType { 315 if x != nil && x.EntryType != nil { 316 return *x.EntryType 317 } 318 return GlobalBufferUsageRecord_LOW 319 } 320 321 func (x *GlobalBufferUsageRecord) GetTimestamp() uint64 { 322 if x != nil && x.Timestamp != nil { 323 return *x.Timestamp 324 } 325 return 0 326 } 327 328 func (x *GlobalBufferUsageRecord) GetBufferSize() uint32 { 329 if x != nil && x.BufferSize != nil { 330 return *x.BufferSize 331 } 332 return 0 333 } 334 335 func (x *GlobalBufferUsageRecord) GetDuration() uint32 { 336 if x != nil && x.Duration != nil { 337 return *x.Duration 338 } 339 return 0 340 } 341 342 type CongestionRecord struct { 343 state protoimpl.MessageState 344 sizeCache protoimpl.SizeCache 345 unknownFields protoimpl.UnknownFields 346 347 Timestamp *uint64 `protobuf:"varint,1,req,name=timestamp" json:"timestamp,omitempty"` // Time of congestion in micro-seconds (UTC) 348 IntfName *string `protobuf:"bytes,2,req,name=intfName" json:"intfName,omitempty"` // Name of the port 349 SwitchId *uint32 `protobuf:"varint,3,req,name=switchId" json:"switchId,omitempty"` // Id of the chip on a multi-chip system 350 PortId *uint32 `protobuf:"varint,4,req,name=portId" json:"portId,omitempty"` // Id of the port 351 QueueSize *uint32 `protobuf:"varint,5,req,name=queueSize" json:"queueSize,omitempty"` // Queue size in segments at time of congestion 352 EntryType *CongestionRecord_EntryType `protobuf:"varint,6,opt,name=entryType,enum=LanzProtobuf.CongestionRecord_EntryType" json:"entryType,omitempty"` // Type of entry 353 TrafficClass *uint32 `protobuf:"varint,7,opt,name=trafficClass" json:"trafficClass,omitempty"` // Traffic Class 354 TimeOfMaxQLen *uint64 `protobuf:"varint,8,opt,name=timeOfMaxQLen" json:"timeOfMaxQLen,omitempty"` // Time of max q len since congestion start 355 TxLatency *uint32 `protobuf:"varint,9,opt,name=txLatency" json:"txLatency,omitempty"` // Transmit latency 356 QDropCount *uint32 `protobuf:"varint,10,opt,name=qDropCount" json:"qDropCount,omitempty"` // Queue drop count 357 FabricPeerIntfName *string `protobuf:"bytes,11,opt,name=fabricPeerIntfName" json:"fabricPeerIntfName,omitempty"` // Name of the fabric port's peer 358 } 359 360 func (x *CongestionRecord) Reset() { 361 *x = CongestionRecord{} 362 if protoimpl.UnsafeEnabled { 363 mi := &file_lanz_proto_msgTypes[2] 364 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 365 ms.StoreMessageInfo(mi) 366 } 367 } 368 369 func (x *CongestionRecord) String() string { 370 return protoimpl.X.MessageStringOf(x) 371 } 372 373 func (*CongestionRecord) ProtoMessage() {} 374 375 func (x *CongestionRecord) ProtoReflect() protoreflect.Message { 376 mi := &file_lanz_proto_msgTypes[2] 377 if protoimpl.UnsafeEnabled && x != nil { 378 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 379 if ms.LoadMessageInfo() == nil { 380 ms.StoreMessageInfo(mi) 381 } 382 return ms 383 } 384 return mi.MessageOf(x) 385 } 386 387 // Deprecated: Use CongestionRecord.ProtoReflect.Descriptor instead. 388 func (*CongestionRecord) Descriptor() ([]byte, []int) { 389 return file_lanz_proto_rawDescGZIP(), []int{2} 390 } 391 392 func (x *CongestionRecord) GetTimestamp() uint64 { 393 if x != nil && x.Timestamp != nil { 394 return *x.Timestamp 395 } 396 return 0 397 } 398 399 func (x *CongestionRecord) GetIntfName() string { 400 if x != nil && x.IntfName != nil { 401 return *x.IntfName 402 } 403 return "" 404 } 405 406 func (x *CongestionRecord) GetSwitchId() uint32 { 407 if x != nil && x.SwitchId != nil { 408 return *x.SwitchId 409 } 410 return 0 411 } 412 413 func (x *CongestionRecord) GetPortId() uint32 { 414 if x != nil && x.PortId != nil { 415 return *x.PortId 416 } 417 return 0 418 } 419 420 func (x *CongestionRecord) GetQueueSize() uint32 { 421 if x != nil && x.QueueSize != nil { 422 return *x.QueueSize 423 } 424 return 0 425 } 426 427 func (x *CongestionRecord) GetEntryType() CongestionRecord_EntryType { 428 if x != nil && x.EntryType != nil { 429 return *x.EntryType 430 } 431 return CongestionRecord_START 432 } 433 434 func (x *CongestionRecord) GetTrafficClass() uint32 { 435 if x != nil && x.TrafficClass != nil { 436 return *x.TrafficClass 437 } 438 return 0 439 } 440 441 func (x *CongestionRecord) GetTimeOfMaxQLen() uint64 { 442 if x != nil && x.TimeOfMaxQLen != nil { 443 return *x.TimeOfMaxQLen 444 } 445 return 0 446 } 447 448 func (x *CongestionRecord) GetTxLatency() uint32 { 449 if x != nil && x.TxLatency != nil { 450 return *x.TxLatency 451 } 452 return 0 453 } 454 455 func (x *CongestionRecord) GetQDropCount() uint32 { 456 if x != nil && x.QDropCount != nil { 457 return *x.QDropCount 458 } 459 return 0 460 } 461 462 func (x *CongestionRecord) GetFabricPeerIntfName() string { 463 if x != nil && x.FabricPeerIntfName != nil { 464 return *x.FabricPeerIntfName 465 } 466 return "" 467 } 468 469 type ErrorRecord struct { 470 state protoimpl.MessageState 471 sizeCache protoimpl.SizeCache 472 unknownFields protoimpl.UnknownFields 473 474 Timestamp *uint64 `protobuf:"varint,1,req,name=timestamp" json:"timestamp,omitempty"` // Time of event in micro-seconds (UTC) 475 ErrorMessage *string `protobuf:"bytes,2,req,name=errorMessage" json:"errorMessage,omitempty"` // Text message 476 } 477 478 func (x *ErrorRecord) Reset() { 479 *x = ErrorRecord{} 480 if protoimpl.UnsafeEnabled { 481 mi := &file_lanz_proto_msgTypes[3] 482 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 483 ms.StoreMessageInfo(mi) 484 } 485 } 486 487 func (x *ErrorRecord) String() string { 488 return protoimpl.X.MessageStringOf(x) 489 } 490 491 func (*ErrorRecord) ProtoMessage() {} 492 493 func (x *ErrorRecord) ProtoReflect() protoreflect.Message { 494 mi := &file_lanz_proto_msgTypes[3] 495 if protoimpl.UnsafeEnabled && x != nil { 496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 497 if ms.LoadMessageInfo() == nil { 498 ms.StoreMessageInfo(mi) 499 } 500 return ms 501 } 502 return mi.MessageOf(x) 503 } 504 505 // Deprecated: Use ErrorRecord.ProtoReflect.Descriptor instead. 506 func (*ErrorRecord) Descriptor() ([]byte, []int) { 507 return file_lanz_proto_rawDescGZIP(), []int{3} 508 } 509 510 func (x *ErrorRecord) GetTimestamp() uint64 { 511 if x != nil && x.Timestamp != nil { 512 return *x.Timestamp 513 } 514 return 0 515 } 516 517 func (x *ErrorRecord) GetErrorMessage() string { 518 if x != nil && x.ErrorMessage != nil { 519 return *x.ErrorMessage 520 } 521 return "" 522 } 523 524 type LanzRecord struct { 525 state protoimpl.MessageState 526 sizeCache protoimpl.SizeCache 527 unknownFields protoimpl.UnknownFields 528 529 ConfigRecord *ConfigRecord `protobuf:"bytes,1,opt,name=configRecord" json:"configRecord,omitempty"` 530 CongestionRecord *CongestionRecord `protobuf:"bytes,2,opt,name=congestionRecord" json:"congestionRecord,omitempty"` 531 ErrorRecord *ErrorRecord `protobuf:"bytes,3,opt,name=errorRecord" json:"errorRecord,omitempty"` 532 GlobalBufferUsageRecord *GlobalBufferUsageRecord `protobuf:"bytes,4,opt,name=globalBufferUsageRecord" json:"globalBufferUsageRecord,omitempty"` 533 } 534 535 func (x *LanzRecord) Reset() { 536 *x = LanzRecord{} 537 if protoimpl.UnsafeEnabled { 538 mi := &file_lanz_proto_msgTypes[4] 539 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 540 ms.StoreMessageInfo(mi) 541 } 542 } 543 544 func (x *LanzRecord) String() string { 545 return protoimpl.X.MessageStringOf(x) 546 } 547 548 func (*LanzRecord) ProtoMessage() {} 549 550 func (x *LanzRecord) ProtoReflect() protoreflect.Message { 551 mi := &file_lanz_proto_msgTypes[4] 552 if protoimpl.UnsafeEnabled && x != nil { 553 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 554 if ms.LoadMessageInfo() == nil { 555 ms.StoreMessageInfo(mi) 556 } 557 return ms 558 } 559 return mi.MessageOf(x) 560 } 561 562 // Deprecated: Use LanzRecord.ProtoReflect.Descriptor instead. 563 func (*LanzRecord) Descriptor() ([]byte, []int) { 564 return file_lanz_proto_rawDescGZIP(), []int{4} 565 } 566 567 func (x *LanzRecord) GetConfigRecord() *ConfigRecord { 568 if x != nil { 569 return x.ConfigRecord 570 } 571 return nil 572 } 573 574 func (x *LanzRecord) GetCongestionRecord() *CongestionRecord { 575 if x != nil { 576 return x.CongestionRecord 577 } 578 return nil 579 } 580 581 func (x *LanzRecord) GetErrorRecord() *ErrorRecord { 582 if x != nil { 583 return x.ErrorRecord 584 } 585 return nil 586 } 587 588 func (x *LanzRecord) GetGlobalBufferUsageRecord() *GlobalBufferUsageRecord { 589 if x != nil { 590 return x.GlobalBufferUsageRecord 591 } 592 return nil 593 } 594 595 type ConfigRecord_PortConfigRecord struct { 596 state protoimpl.MessageState 597 sizeCache protoimpl.SizeCache 598 unknownFields protoimpl.UnknownFields 599 600 IntfName *string `protobuf:"bytes,1,req,name=intfName" json:"intfName,omitempty"` // Name of the port 601 SwitchId *uint32 `protobuf:"varint,2,req,name=switchId" json:"switchId,omitempty"` // Id of the chip on a multi-chip system 602 PortId *uint32 `protobuf:"varint,3,req,name=portId" json:"portId,omitempty"` // Id of the port 603 InternalPort *bool `protobuf:"varint,4,req,name=internalPort" json:"internalPort,omitempty"` // 'True' if it's an internal port 604 HighThreshold *uint32 `protobuf:"varint,5,req,name=highThreshold" json:"highThreshold,omitempty"` // Higher threshold 605 LowThreshold *uint32 `protobuf:"varint,6,req,name=lowThreshold" json:"lowThreshold,omitempty"` // Lower threshold 606 } 607 608 func (x *ConfigRecord_PortConfigRecord) Reset() { 609 *x = ConfigRecord_PortConfigRecord{} 610 if protoimpl.UnsafeEnabled { 611 mi := &file_lanz_proto_msgTypes[5] 612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 613 ms.StoreMessageInfo(mi) 614 } 615 } 616 617 func (x *ConfigRecord_PortConfigRecord) String() string { 618 return protoimpl.X.MessageStringOf(x) 619 } 620 621 func (*ConfigRecord_PortConfigRecord) ProtoMessage() {} 622 623 func (x *ConfigRecord_PortConfigRecord) ProtoReflect() protoreflect.Message { 624 mi := &file_lanz_proto_msgTypes[5] 625 if protoimpl.UnsafeEnabled && x != nil { 626 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 627 if ms.LoadMessageInfo() == nil { 628 ms.StoreMessageInfo(mi) 629 } 630 return ms 631 } 632 return mi.MessageOf(x) 633 } 634 635 // Deprecated: Use ConfigRecord_PortConfigRecord.ProtoReflect.Descriptor instead. 636 func (*ConfigRecord_PortConfigRecord) Descriptor() ([]byte, []int) { 637 return file_lanz_proto_rawDescGZIP(), []int{0, 0} 638 } 639 640 func (x *ConfigRecord_PortConfigRecord) GetIntfName() string { 641 if x != nil && x.IntfName != nil { 642 return *x.IntfName 643 } 644 return "" 645 } 646 647 func (x *ConfigRecord_PortConfigRecord) GetSwitchId() uint32 { 648 if x != nil && x.SwitchId != nil { 649 return *x.SwitchId 650 } 651 return 0 652 } 653 654 func (x *ConfigRecord_PortConfigRecord) GetPortId() uint32 { 655 if x != nil && x.PortId != nil { 656 return *x.PortId 657 } 658 return 0 659 } 660 661 func (x *ConfigRecord_PortConfigRecord) GetInternalPort() bool { 662 if x != nil && x.InternalPort != nil { 663 return *x.InternalPort 664 } 665 return false 666 } 667 668 func (x *ConfigRecord_PortConfigRecord) GetHighThreshold() uint32 { 669 if x != nil && x.HighThreshold != nil { 670 return *x.HighThreshold 671 } 672 return 0 673 } 674 675 func (x *ConfigRecord_PortConfigRecord) GetLowThreshold() uint32 { 676 if x != nil && x.LowThreshold != nil { 677 return *x.LowThreshold 678 } 679 return 0 680 } 681 682 var File_lanz_proto protoreflect.FileDescriptor 683 684 var file_lanz_proto_rawDesc = []byte{ 685 0x0a, 0x0a, 0x6c, 0x61, 0x6e, 0x7a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x4c, 0x61, 686 0x6e, 0x7a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0xbc, 0x05, 0x0a, 0x0c, 0x43, 687 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 688 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 689 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x6e, 690 0x7a, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0b, 691 0x6c, 0x61, 0x6e, 0x7a, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 692 0x75, 0x6d, 0x4f, 0x66, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 693 0x0a, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x73, 694 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0d, 695 0x52, 0x0b, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 696 0x0c, 0x6d, 0x61, 0x78, 0x51, 0x75, 0x65, 0x75, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 697 0x02, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x51, 0x75, 0x65, 0x75, 0x65, 0x53, 0x69, 0x7a, 698 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x71, 0x4c, 0x65, 0x6e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 699 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x71, 0x4c, 0x65, 0x6e, 0x49, 0x6e, 0x74, 700 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x57, 0x0a, 0x10, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 701 0x66, 0x69, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 702 0x2b, 0x2e, 0x4c, 0x61, 0x6e, 0x7a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 703 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x50, 0x6f, 0x72, 0x74, 704 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x10, 0x70, 0x6f, 705 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x3a, 706 0x0a, 0x18, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x55, 0x73, 0x61, 0x67, 0x65, 0x48, 0x69, 0x67, 707 0x68, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 708 0x52, 0x18, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x55, 0x73, 0x61, 0x67, 0x65, 0x48, 0x69, 0x67, 709 0x68, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x38, 0x0a, 0x17, 0x67, 0x6c, 710 0x6f, 0x62, 0x61, 0x6c, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4c, 0x6f, 0x77, 0x54, 0x68, 0x72, 0x65, 711 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x17, 0x67, 0x6c, 0x6f, 712 0x62, 0x61, 0x6c, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4c, 0x6f, 0x77, 0x54, 0x68, 0x72, 0x65, 0x73, 713 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x40, 0x0a, 0x1b, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x55, 0x73, 714 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x61, 0x62, 715 0x6c, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x67, 0x6c, 0x6f, 0x62, 0x61, 716 0x6c, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x45, 717 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x1a, 0xd0, 0x01, 0x0a, 0x10, 0x50, 0x6f, 0x72, 0x74, 0x43, 718 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x69, 719 0x6e, 0x74, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x69, 720 0x6e, 0x74, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x77, 0x69, 0x74, 0x63, 721 0x68, 0x49, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x77, 0x69, 0x74, 0x63, 722 0x68, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 723 0x02, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x69, 724 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x02, 0x28, 725 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6f, 0x72, 0x74, 0x12, 726 0x24, 0x0a, 0x0d, 0x68, 0x69, 0x67, 0x68, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 727 0x18, 0x05, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0d, 0x68, 0x69, 0x67, 0x68, 0x54, 0x68, 0x72, 0x65, 728 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x6f, 0x77, 0x54, 0x68, 0x72, 0x65, 729 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0c, 0x6c, 0x6f, 0x77, 730 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x22, 0xee, 0x01, 0x0a, 0x17, 0x47, 0x6c, 731 0x6f, 0x62, 0x61, 0x6c, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 732 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x4d, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 733 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x4c, 0x61, 0x6e, 0x7a, 0x50, 734 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x42, 0x75, 735 0x66, 0x66, 0x65, 0x72, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 736 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x72, 0x79, 737 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 738 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 739 0x6d, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 740 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x53, 0x69, 741 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 742 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2a, 743 0x0a, 0x09, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x4c, 744 0x4f, 0x57, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 745 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49, 0x47, 0x48, 0x10, 0x03, 0x22, 0xd8, 0x03, 0x0a, 0x10, 0x43, 746 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 747 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x02, 748 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1a, 0x0a, 749 0x08, 0x69, 0x6e, 0x74, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 750 0x08, 0x69, 0x6e, 0x74, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x77, 0x69, 751 0x74, 0x63, 0x68, 0x49, 0x64, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x77, 0x69, 752 0x74, 0x63, 0x68, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x18, 753 0x04, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 754 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0d, 755 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x65, 756 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 757 0x2e, 0x4c, 0x61, 0x6e, 0x7a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 758 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x45, 759 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x54, 760 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x43, 0x6c, 761 0x61, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x66, 0x66, 762 0x69, 0x63, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x4f, 763 0x66, 0x4d, 0x61, 0x78, 0x51, 0x4c, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 764 0x74, 0x69, 0x6d, 0x65, 0x4f, 0x66, 0x4d, 0x61, 0x78, 0x51, 0x4c, 0x65, 0x6e, 0x12, 0x1c, 0x0a, 765 0x09, 0x74, 0x78, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 766 0x52, 0x09, 0x74, 0x78, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x71, 767 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 768 0x0a, 0x71, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x66, 769 0x61, 0x62, 0x72, 0x69, 0x63, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x66, 0x4e, 0x61, 0x6d, 770 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x66, 0x61, 0x62, 0x72, 0x69, 0x63, 0x50, 771 0x65, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x38, 0x0a, 0x09, 0x45, 772 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x54, 0x41, 0x52, 773 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 774 0x07, 0x0a, 0x03, 0x45, 0x4e, 0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x4f, 0x4c, 0x4c, 775 0x49, 0x4e, 0x47, 0x10, 0x04, 0x22, 0x4f, 0x0a, 0x0b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 776 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 777 0x70, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 778 0x6d, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 779 0x67, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 780 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xb6, 0x02, 0x0a, 0x0a, 0x4c, 0x61, 0x6e, 0x7a, 0x52, 781 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x3e, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 782 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x4c, 0x61, 783 0x6e, 0x7a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 784 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 785 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x4a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 786 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 787 0x1e, 0x2e, 0x4c, 0x61, 0x6e, 0x7a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 788 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 789 0x10, 0x63, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 790 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 791 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4c, 0x61, 0x6e, 0x7a, 0x50, 0x72, 0x6f, 792 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 793 0x64, 0x52, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x5f, 794 0x0a, 0x17, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x55, 0x73, 795 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 796 0x25, 0x2e, 0x4c, 0x61, 0x6e, 0x7a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 797 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x55, 0x73, 0x61, 0x67, 0x65, 798 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x17, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x42, 0x75, 799 0x66, 0x66, 0x65, 0x72, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 800 0x07, 0x5a, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 801 } 802 803 var ( 804 file_lanz_proto_rawDescOnce sync.Once 805 file_lanz_proto_rawDescData = file_lanz_proto_rawDesc 806 ) 807 808 func file_lanz_proto_rawDescGZIP() []byte { 809 file_lanz_proto_rawDescOnce.Do(func() { 810 file_lanz_proto_rawDescData = protoimpl.X.CompressGZIP(file_lanz_proto_rawDescData) 811 }) 812 return file_lanz_proto_rawDescData 813 } 814 815 var file_lanz_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 816 var file_lanz_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 817 var file_lanz_proto_goTypes = []interface{}{ 818 (GlobalBufferUsageRecord_EntryType)(0), // 0: LanzProtobuf.GlobalBufferUsageRecord.EntryType 819 (CongestionRecord_EntryType)(0), // 1: LanzProtobuf.CongestionRecord.EntryType 820 (*ConfigRecord)(nil), // 2: LanzProtobuf.ConfigRecord 821 (*GlobalBufferUsageRecord)(nil), // 3: LanzProtobuf.GlobalBufferUsageRecord 822 (*CongestionRecord)(nil), // 4: LanzProtobuf.CongestionRecord 823 (*ErrorRecord)(nil), // 5: LanzProtobuf.ErrorRecord 824 (*LanzRecord)(nil), // 6: LanzProtobuf.LanzRecord 825 (*ConfigRecord_PortConfigRecord)(nil), // 7: LanzProtobuf.ConfigRecord.PortConfigRecord 826 } 827 var file_lanz_proto_depIdxs = []int32{ 828 7, // 0: LanzProtobuf.ConfigRecord.portConfigRecord:type_name -> LanzProtobuf.ConfigRecord.PortConfigRecord 829 0, // 1: LanzProtobuf.GlobalBufferUsageRecord.entryType:type_name -> LanzProtobuf.GlobalBufferUsageRecord.EntryType 830 1, // 2: LanzProtobuf.CongestionRecord.entryType:type_name -> LanzProtobuf.CongestionRecord.EntryType 831 2, // 3: LanzProtobuf.LanzRecord.configRecord:type_name -> LanzProtobuf.ConfigRecord 832 4, // 4: LanzProtobuf.LanzRecord.congestionRecord:type_name -> LanzProtobuf.CongestionRecord 833 5, // 5: LanzProtobuf.LanzRecord.errorRecord:type_name -> LanzProtobuf.ErrorRecord 834 3, // 6: LanzProtobuf.LanzRecord.globalBufferUsageRecord:type_name -> LanzProtobuf.GlobalBufferUsageRecord 835 7, // [7:7] is the sub-list for method output_type 836 7, // [7:7] is the sub-list for method input_type 837 7, // [7:7] is the sub-list for extension type_name 838 7, // [7:7] is the sub-list for extension extendee 839 0, // [0:7] is the sub-list for field type_name 840 } 841 842 func init() { file_lanz_proto_init() } 843 func file_lanz_proto_init() { 844 if File_lanz_proto != nil { 845 return 846 } 847 if !protoimpl.UnsafeEnabled { 848 file_lanz_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 849 switch v := v.(*ConfigRecord); i { 850 case 0: 851 return &v.state 852 case 1: 853 return &v.sizeCache 854 case 2: 855 return &v.unknownFields 856 default: 857 return nil 858 } 859 } 860 file_lanz_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 861 switch v := v.(*GlobalBufferUsageRecord); i { 862 case 0: 863 return &v.state 864 case 1: 865 return &v.sizeCache 866 case 2: 867 return &v.unknownFields 868 default: 869 return nil 870 } 871 } 872 file_lanz_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 873 switch v := v.(*CongestionRecord); i { 874 case 0: 875 return &v.state 876 case 1: 877 return &v.sizeCache 878 case 2: 879 return &v.unknownFields 880 default: 881 return nil 882 } 883 } 884 file_lanz_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 885 switch v := v.(*ErrorRecord); i { 886 case 0: 887 return &v.state 888 case 1: 889 return &v.sizeCache 890 case 2: 891 return &v.unknownFields 892 default: 893 return nil 894 } 895 } 896 file_lanz_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 897 switch v := v.(*LanzRecord); i { 898 case 0: 899 return &v.state 900 case 1: 901 return &v.sizeCache 902 case 2: 903 return &v.unknownFields 904 default: 905 return nil 906 } 907 } 908 file_lanz_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 909 switch v := v.(*ConfigRecord_PortConfigRecord); i { 910 case 0: 911 return &v.state 912 case 1: 913 return &v.sizeCache 914 case 2: 915 return &v.unknownFields 916 default: 917 return nil 918 } 919 } 920 } 921 type x struct{} 922 out := protoimpl.TypeBuilder{ 923 File: protoimpl.DescBuilder{ 924 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 925 RawDescriptor: file_lanz_proto_rawDesc, 926 NumEnums: 2, 927 NumMessages: 6, 928 NumExtensions: 0, 929 NumServices: 0, 930 }, 931 GoTypes: file_lanz_proto_goTypes, 932 DependencyIndexes: file_lanz_proto_depIdxs, 933 EnumInfos: file_lanz_proto_enumTypes, 934 MessageInfos: file_lanz_proto_msgTypes, 935 }.Build() 936 File_lanz_proto = out.File 937 file_lanz_proto_rawDesc = nil 938 file_lanz_proto_goTypes = nil 939 file_lanz_proto_depIdxs = nil 940 }