forked from opiproject/opi-api
/
inventory.pb.go
1136 lines (1022 loc) · 40 KB
/
inventory.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2022 Dell Inc, or its subsidiaries.
// (-- api-linter: core::0140::reserved-words=disabled
// aip.dev/not-precedent: We do this since inventory may use
// reserved words --)
// (-- api-linter: core::0123::resource-annotation=disabled
// aip.dev/not-precedent: Currently not supporting resource annotation --)
// (-- api-linter: core::0142::time-field-type=disabled
// api.dev/not-precedent: We need to do this because date is a
// inventory parameter being reported by the device in the set format --)
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.21.6
// source: inventory.proto
package _go
import (
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// BIOS Information (Type 0)
type BIOSInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// String number of the BIOS Vendor’s Name.
Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
// String number of the BIOS Version. This value is a
// free-form string that may contain Core and OEM
// version information.
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// String number of the BIOS release date. The date
// string, if supplied, is in either mm/dd/yy or
// mm/dd/yyyy format. If the year portion of the string
// is two digits, the year is assumed to be 19yy.
// NOTE: In version 2.3 and later of SMBIOS the mm/dd/yyyy
// format is only used.
Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
}
func (x *BIOSInfo) Reset() {
*x = BIOSInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_inventory_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BIOSInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BIOSInfo) ProtoMessage() {}
func (x *BIOSInfo) ProtoReflect() protoreflect.Message {
mi := &file_inventory_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BIOSInfo.ProtoReflect.Descriptor instead.
func (*BIOSInfo) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{0}
}
func (x *BIOSInfo) GetVendor() string {
if x != nil {
return x.Vendor
}
return ""
}
func (x *BIOSInfo) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *BIOSInfo) GetDate() string {
if x != nil {
return x.Date
}
return ""
}
// System Information (Type 1)
//
// The information in this structure defines attributes of the overall system and is intended to be associated
// with the Component ID group of the system’s MIF. An SMBIOS implementation is associated with a single
// system instance and contains one and only one System Information (Type 1) structure. Table 10 shows
// the contents of this structure.
type SystemInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Number of null-terminated string
// This text string identifies the family to which a
// particular computer belongs. A family refers to a
// set of computers that are similar but not identical
// from a hardware or software point of view.
// Typically, a family is composed of different
// computer models, which have different
// configurations and pricing points. Computers in
// the same family often have similar branding and
// cosmetic features.
Family string `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"`
// Number of null-terminated string
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Number of null-terminated string
Vendor string `protobuf:"bytes,3,opt,name=vendor,proto3" json:"vendor,omitempty"`
// Number of null-terminated string
SerialNumber string `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
// A UUID is an identifier that is designed to be unique across both time and space. It requires no central
// registration process. The UUID is 128 bits long. Its format is described in RFC4122, but the actual field
// contents are opaque and not significant to the SMBIOS specification, which is only concerned with the
// byte order. Table 11 shows the field names; these field names, particularly for multiplexed fields, follow
// historical practice.
Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Number of null-terminated string
// This text string identifies a particular computer
// configuration for sale. It is sometimes also called
// a product ID or purchase order number. This
// number is frequently found in existing fields, but
// there is no standard format. Typically for a given
// system board from a given OEM, there are tens
// of unique processor, memory, hard drive, and
// optical drive configurations.
Sku string `protobuf:"bytes,6,opt,name=sku,proto3" json:"sku,omitempty"`
// Number of null-terminated string
Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
}
func (x *SystemInfo) Reset() {
*x = SystemInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_inventory_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SystemInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SystemInfo) ProtoMessage() {}
func (x *SystemInfo) ProtoReflect() protoreflect.Message {
mi := &file_inventory_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SystemInfo.ProtoReflect.Descriptor instead.
func (*SystemInfo) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{1}
}
func (x *SystemInfo) GetFamily() string {
if x != nil {
return x.Family
}
return ""
}
func (x *SystemInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *SystemInfo) GetVendor() string {
if x != nil {
return x.Vendor
}
return ""
}
func (x *SystemInfo) GetSerialNumber() string {
if x != nil {
return x.SerialNumber
}
return ""
}
func (x *SystemInfo) GetUuid() string {
if x != nil {
return x.Uuid
}
return ""
}
func (x *SystemInfo) GetSku() string {
if x != nil {
return x.Sku
}
return ""
}
func (x *SystemInfo) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
// System Enclosure or Chassis (Type 3)
//
// The information in this structure (see Table 16) defines attributes of the system’s mechanical
// enclosure(s). For example, if a system included a separate enclosure for its peripheral devices, two
// structures would be returned: one for the main system enclosure and the second for the peripheral device
// enclosure. The additions to this structure in version 2.1 of this specification support the population of the
// CIM_Chassis class.
type ChassisInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Number of null-terminated string
AssetTag string `protobuf:"bytes,1,opt,name=asset_tag,json=assetTag,proto3" json:"asset_tag,omitempty"`
// Number of null-terminated string
SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
// Bit 7 Chassis lock is present if 1.
// Otherwise, either a lock is not present, or it is unknown if the enclosure has a lock.
// Bits 6:0 Enumeration value; see below.
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
// Table 17 shows the byte values for the System Enclosure or Chassis Types field
// Number of null-terminated string
TypeDescription string `protobuf:"bytes,4,opt,name=type_description,json=typeDescription,proto3" json:"type_description,omitempty"`
// Number of null-terminated string
Vendor string `protobuf:"bytes,5,opt,name=vendor,proto3" json:"vendor,omitempty"`
// Number of null-terminated string
Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
}
func (x *ChassisInfo) Reset() {
*x = ChassisInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_inventory_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ChassisInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChassisInfo) ProtoMessage() {}
func (x *ChassisInfo) ProtoReflect() protoreflect.Message {
mi := &file_inventory_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ChassisInfo.ProtoReflect.Descriptor instead.
func (*ChassisInfo) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{2}
}
func (x *ChassisInfo) GetAssetTag() string {
if x != nil {
return x.AssetTag
}
return ""
}
func (x *ChassisInfo) GetSerialNumber() string {
if x != nil {
return x.SerialNumber
}
return ""
}
func (x *ChassisInfo) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *ChassisInfo) GetTypeDescription() string {
if x != nil {
return x.TypeDescription
}
return ""
}
func (x *ChassisInfo) GetVendor() string {
if x != nil {
return x.Vendor
}
return ""
}
func (x *ChassisInfo) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
// Baseboard (or Module) Information (Type 2)
//
// The information in this structure defines attributes of a system baseboard (for
// example, a motherboard, planar, server blade, or other standard system module)
type BaseboardInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Number of a null-terminated string
AssetTag string `protobuf:"bytes,1,opt,name=asset_tag,json=assetTag,proto3" json:"asset_tag,omitempty"`
// Number of null-terminated string
SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
// Number of null-terminated string
Vendor string `protobuf:"bytes,3,opt,name=vendor,proto3" json:"vendor,omitempty"`
// Number of null-terminated string
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
// Number of null-terminated string
Product string `protobuf:"bytes,5,opt,name=product,proto3" json:"product,omitempty"`
}
func (x *BaseboardInfo) Reset() {
*x = BaseboardInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_inventory_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BaseboardInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BaseboardInfo) ProtoMessage() {}
func (x *BaseboardInfo) ProtoReflect() protoreflect.Message {
mi := &file_inventory_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BaseboardInfo.ProtoReflect.Descriptor instead.
func (*BaseboardInfo) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{3}
}
func (x *BaseboardInfo) GetAssetTag() string {
if x != nil {
return x.AssetTag
}
return ""
}
func (x *BaseboardInfo) GetSerialNumber() string {
if x != nil {
return x.SerialNumber
}
return ""
}
func (x *BaseboardInfo) GetVendor() string {
if x != nil {
return x.Vendor
}
return ""
}
func (x *BaseboardInfo) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *BaseboardInfo) GetProduct() string {
if x != nil {
return x.Product
}
return ""
}
// Processor Information (Type 4)
//
// The information in this structure (see Table 21) defines the attributes of a single processor; a separate
// structure instance is provided for each system processor socket/slot. For example, a system with an
// IntelDX2™ processor would have a single structure instance while a system with an IntelSX2™ processor
// would have a structure to describe the main CPU and a second structure to describe the 80487 co1054 processor.
type CPUInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Number of cores per processor socket
// See 7.5.6. If the value is unknown, the field is set
// to 0. For core counts of 256 or greater, the Core
// Count field is set to FFh and the Core Count 2
// field is set to the number of cores.
TotalCores int32 `protobuf:"varint,1,opt,name=total_cores,json=totalCores,proto3" json:"total_cores,omitempty"`
// Number of threads per processor socket
// See 7.5.8. If the value is unknown, the field is set
// to 0. For thread counts of 256 or greater, the
// Thread Count field is set to FFh and the Thread
// Count 2 field is set to the number of threads.
TotalThreads int32 `protobuf:"varint,2,opt,name=total_threads,json=totalThreads,proto3" json:"total_threads,omitempty"`
}
func (x *CPUInfo) Reset() {
*x = CPUInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_inventory_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CPUInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CPUInfo) ProtoMessage() {}
func (x *CPUInfo) ProtoReflect() protoreflect.Message {
mi := &file_inventory_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CPUInfo.ProtoReflect.Descriptor instead.
func (*CPUInfo) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{4}
}
func (x *CPUInfo) GetTotalCores() int32 {
if x != nil {
return x.TotalCores
}
return 0
}
func (x *CPUInfo) GetTotalThreads() int32 {
if x != nil {
return x.TotalThreads
}
return 0
}
// Physical Memory Array (Type 16)
//
// This structure describes a collection of memory devices that operate together to form a memory address
// space.
type MemoryInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Maximum memory capacity, in kilobytes, for this array
// If the capacity is not represented in this field, then this
// field contains 8000 0000h and the Extended
// Maximum Capacity field should be used. Values 2 TB
// (8000 0000h) or greater must be represented in the
// Extended Maximum Capacity field.
TotalPhysicalBytes int64 `protobuf:"varint,1,opt,name=total_physical_bytes,json=totalPhysicalBytes,proto3" json:"total_physical_bytes,omitempty"`
// TBD
TotalUsableBytes int64 `protobuf:"varint,2,opt,name=total_usable_bytes,json=totalUsableBytes,proto3" json:"total_usable_bytes,omitempty"`
}
func (x *MemoryInfo) Reset() {
*x = MemoryInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_inventory_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MemoryInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MemoryInfo) ProtoMessage() {}
func (x *MemoryInfo) ProtoReflect() protoreflect.Message {
mi := &file_inventory_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MemoryInfo.ProtoReflect.Descriptor instead.
func (*MemoryInfo) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{5}
}
func (x *MemoryInfo) GetTotalPhysicalBytes() int64 {
if x != nil {
return x.TotalPhysicalBytes
}
return 0
}
func (x *MemoryInfo) GetTotalUsableBytes() int64 {
if x != nil {
return x.TotalUsableBytes
}
return 0
}
// PCI device information
//
// TBD: Type 9 or Type 41 ?
// This structure describes a collection of PCI devices.
type PCIeDeviceInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Driver assiociated with the device
Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
// BDF address in a string format, for example "0000:00:17.7"
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// string vendor info
Vendor string `protobuf:"bytes,3,opt,name=vendor,proto3" json:"vendor,omitempty"`
// string product info
Product string `protobuf:"bytes,4,opt,name=product,proto3" json:"product,omitempty"`
// string revision info
Revision string `protobuf:"bytes,5,opt,name=revision,proto3" json:"revision,omitempty"`
// string subsystem info
Subsystem string `protobuf:"bytes,6,opt,name=subsystem,proto3" json:"subsystem,omitempty"`
// string class info
Class string `protobuf:"bytes,7,opt,name=class,proto3" json:"class,omitempty"`
// string subclass info
Subclass string `protobuf:"bytes,8,opt,name=subclass,proto3" json:"subclass,omitempty"`
}
func (x *PCIeDeviceInfo) Reset() {
*x = PCIeDeviceInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_inventory_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PCIeDeviceInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PCIeDeviceInfo) ProtoMessage() {}
func (x *PCIeDeviceInfo) ProtoReflect() protoreflect.Message {
mi := &file_inventory_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PCIeDeviceInfo.ProtoReflect.Descriptor instead.
func (*PCIeDeviceInfo) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{6}
}
func (x *PCIeDeviceInfo) GetDriver() string {
if x != nil {
return x.Driver
}
return ""
}
func (x *PCIeDeviceInfo) GetAddress() string {
if x != nil {
return x.Address
}
return ""
}
func (x *PCIeDeviceInfo) GetVendor() string {
if x != nil {
return x.Vendor
}
return ""
}
func (x *PCIeDeviceInfo) GetProduct() string {
if x != nil {
return x.Product
}
return ""
}
func (x *PCIeDeviceInfo) GetRevision() string {
if x != nil {
return x.Revision
}
return ""
}
func (x *PCIeDeviceInfo) GetSubsystem() string {
if x != nil {
return x.Subsystem
}
return ""
}
func (x *PCIeDeviceInfo) GetClass() string {
if x != nil {
return x.Class
}
return ""
}
func (x *PCIeDeviceInfo) GetSubclass() string {
if x != nil {
return x.Subclass
}
return ""
}
// Request for Retrieving Inventory data from a device
type GetInventoryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The name of the inventory to retrieve - blank for the full inventory
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *GetInventoryRequest) Reset() {
*x = GetInventoryRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_inventory_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetInventoryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetInventoryRequest) ProtoMessage() {}
func (x *GetInventoryRequest) ProtoReflect() protoreflect.Message {
mi := &file_inventory_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetInventoryRequest.ProtoReflect.Descriptor instead.
func (*GetInventoryRequest) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{7}
}
func (x *GetInventoryRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
// Response for device inventory data
type Inventory struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// BIOS Inventory
Bios *BIOSInfo `protobuf:"bytes,1,opt,name=bios,proto3" json:"bios,omitempty"`
// System Inventory
System *SystemInfo `protobuf:"bytes,2,opt,name=system,proto3" json:"system,omitempty"`
// Baseboard Inventory
Baseboard *BaseboardInfo `protobuf:"bytes,3,opt,name=baseboard,proto3" json:"baseboard,omitempty"`
// Chassis Inventory
Chassis *ChassisInfo `protobuf:"bytes,4,opt,name=chassis,proto3" json:"chassis,omitempty"`
// CPU Inventory
Processor *CPUInfo `protobuf:"bytes,5,opt,name=processor,proto3" json:"processor,omitempty"`
// Memory Inventory
Memory *MemoryInfo `protobuf:"bytes,6,opt,name=memory,proto3" json:"memory,omitempty"`
// PCI Devices Inventory
Pci []*PCIeDeviceInfo `protobuf:"bytes,7,rep,name=pci,proto3" json:"pci,omitempty"`
}
func (x *Inventory) Reset() {
*x = Inventory{}
if protoimpl.UnsafeEnabled {
mi := &file_inventory_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Inventory) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Inventory) ProtoMessage() {}
func (x *Inventory) ProtoReflect() protoreflect.Message {
mi := &file_inventory_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Inventory.ProtoReflect.Descriptor instead.
func (*Inventory) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{8}
}
func (x *Inventory) GetBios() *BIOSInfo {
if x != nil {
return x.Bios
}
return nil
}
func (x *Inventory) GetSystem() *SystemInfo {
if x != nil {
return x.System
}
return nil
}
func (x *Inventory) GetBaseboard() *BaseboardInfo {
if x != nil {
return x.Baseboard
}
return nil
}
func (x *Inventory) GetChassis() *ChassisInfo {
if x != nil {
return x.Chassis
}
return nil
}
func (x *Inventory) GetProcessor() *CPUInfo {
if x != nil {
return x.Processor
}
return nil
}
func (x *Inventory) GetMemory() *MemoryInfo {
if x != nil {
return x.Memory
}
return nil
}
func (x *Inventory) GetPci() []*PCIeDeviceInfo {
if x != nil {
return x.Pci
}
return nil
}
var File_inventory_proto protoreflect.FileDescriptor
var file_inventory_proto_rawDesc = []byte{
0x0a, 0x0f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x12, 0x14, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e,
0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73,
0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x08, 0x42, 0x49,
0x4f, 0x53, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x12, 0x18,
0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x22, 0xb5, 0x01, 0x0a,
0x0a, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x66,
0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x61, 0x6d,
0x69, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x65, 0x6e, 0x64, 0x6f,
0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x12,
0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75,
0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01,
0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x6b, 0x75, 0x18,
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x6b, 0x75, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72,
0x73, 0x69, 0x6f, 0x6e, 0x22, 0xc0, 0x01, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x73, 0x73, 0x69, 0x73,
0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x61,
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x61,
0x67, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c,
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x74, 0x79,
0x70, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x79, 0x70, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x18,
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x12, 0x18, 0x0a,
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9d, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x73, 0x65,
0x62, 0x6f, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x73, 0x73,
0x65, 0x74, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x73,
0x73, 0x65, 0x74, 0x54, 0x61, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c,
0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73,
0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x76,
0x65, 0x6e, 0x64, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, 0x65, 0x6e,
0x64, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a,
0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x22, 0x4f, 0x0a, 0x07, 0x43, 0x50, 0x55, 0x49, 0x6e,
0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65,
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f,
0x72, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x74, 0x68, 0x72,
0x65, 0x61, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61,
0x6c, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x22, 0x6c, 0x0a, 0x0a, 0x4d, 0x65, 0x6d, 0x6f,
0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f,
0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01,
0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73, 0x69,
0x63, 0x61, 0x6c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x6f, 0x74, 0x61,
0x6c, 0x5f, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02,
0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x55, 0x73, 0x61, 0x62, 0x6c,
0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0xe0, 0x01, 0x0a, 0x0e, 0x50, 0x43, 0x49, 0x65, 0x44,
0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x69,
0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65,
0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x76,
0x65, 0x6e, 0x64, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, 0x65, 0x6e,
0x64, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x1a, 0x0a,
0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x75, 0x62,
0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75,
0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73,
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x1a, 0x0a,
0x08, 0x73, 0x75, 0x62, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x73, 0x75, 0x62, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x22, 0x51, 0x0a, 0x13, 0x47, 0x65, 0x74,
0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26,
0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e,
0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2f, 0x49, 0x6e, 0x76,
0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa8, 0x03, 0x0a,
0x09, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x04, 0x62, 0x69,
0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61,
0x70, 0x69, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e,
0x42, 0x49, 0x4f, 0x53, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x62, 0x69, 0x6f, 0x73, 0x12, 0x38,
0x0a, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f,
0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f,
0x52, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x41, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65,
0x62, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x70,
0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e,
0x76, 0x31, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f,
0x52, 0x09, 0x62, 0x61, 0x73, 0x65, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x3b, 0x0a, 0x07, 0x63,
0x68, 0x61, 0x73, 0x73, 0x69, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f,
0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79,
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x73, 0x73, 0x69, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52,
0x07, 0x63, 0x68, 0x61, 0x73, 0x73, 0x69, 0x73, 0x12, 0x3b, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x63,
0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70,
0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e,
0x76, 0x31, 0x2e, 0x43, 0x50, 0x55, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x63,
0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x38, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18,
0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e,
0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d,
0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12,
0x36, 0x0a, 0x03, 0x70, 0x63, 0x69, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f,
0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79,
0x2e, 0x76, 0x31, 0x2e, 0x50, 0x43, 0x49, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e,
0x66, 0x6f, 0x52, 0x03, 0x70, 0x63, 0x69, 0x32, 0xa2, 0x01, 0x0a, 0x10, 0x49, 0x6e, 0x76, 0x65,
0x6e, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8d, 0x01, 0x0a,
0x0c, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x29, 0x2e,
0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72,
0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72,
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61,
0x70, 0x69, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e,
0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02,
0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x76,
0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f,
0x72, 0x79, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x5b, 0x0a, 0x14,
0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72,
0x79, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x6f, 0x70,
0x69, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2f,
0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var (
file_inventory_proto_rawDescOnce sync.Once
file_inventory_proto_rawDescData = file_inventory_proto_rawDesc
)
func file_inventory_proto_rawDescGZIP() []byte {
file_inventory_proto_rawDescOnce.Do(func() {
file_inventory_proto_rawDescData = protoimpl.X.CompressGZIP(file_inventory_proto_rawDescData)
})
return file_inventory_proto_rawDescData
}
var file_inventory_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_inventory_proto_goTypes = []interface{}{
(*BIOSInfo)(nil), // 0: opi_api.inventory.v1.BIOSInfo
(*SystemInfo)(nil), // 1: opi_api.inventory.v1.SystemInfo
(*ChassisInfo)(nil), // 2: opi_api.inventory.v1.ChassisInfo
(*BaseboardInfo)(nil), // 3: opi_api.inventory.v1.BaseboardInfo
(*CPUInfo)(nil), // 4: opi_api.inventory.v1.CPUInfo
(*MemoryInfo)(nil), // 5: opi_api.inventory.v1.MemoryInfo
(*PCIeDeviceInfo)(nil), // 6: opi_api.inventory.v1.PCIeDeviceInfo
(*GetInventoryRequest)(nil), // 7: opi_api.inventory.v1.GetInventoryRequest
(*Inventory)(nil), // 8: opi_api.inventory.v1.Inventory
}
var file_inventory_proto_depIdxs = []int32{
0, // 0: opi_api.inventory.v1.Inventory.bios:type_name -> opi_api.inventory.v1.BIOSInfo
1, // 1: opi_api.inventory.v1.Inventory.system:type_name -> opi_api.inventory.v1.SystemInfo
3, // 2: opi_api.inventory.v1.Inventory.baseboard:type_name -> opi_api.inventory.v1.BaseboardInfo
2, // 3: opi_api.inventory.v1.Inventory.chassis:type_name -> opi_api.inventory.v1.ChassisInfo
4, // 4: opi_api.inventory.v1.Inventory.processor:type_name -> opi_api.inventory.v1.CPUInfo
5, // 5: opi_api.inventory.v1.Inventory.memory:type_name -> opi_api.inventory.v1.MemoryInfo
6, // 6: opi_api.inventory.v1.Inventory.pci:type_name -> opi_api.inventory.v1.PCIeDeviceInfo
7, // 7: opi_api.inventory.v1.InventoryService.GetInventory:input_type -> opi_api.inventory.v1.GetInventoryRequest
8, // 8: opi_api.inventory.v1.InventoryService.GetInventory:output_type -> opi_api.inventory.v1.Inventory
8, // [8:9] is the sub-list for method output_type
7, // [7:8] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name