blob: 861755fbf829de107d473cfa0564f26a79de7b1b [file] [log] [blame]
Amit Ghosh09f28362020-06-12 21:52:19 +01001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: dmi/hw_management_service.proto
3
4package dmi
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
Andrea Campanellacb990bc2020-09-22 12:50:56 +020010 empty "github.com/golang/protobuf/ptypes/empty"
Amit Ghosh09f28362020-06-12 21:52:19 +010011 grpc "google.golang.org/grpc"
Andrea Campanellac795b7d2021-04-14 13:24:44 +020012 codes "google.golang.org/grpc/codes"
13 status "google.golang.org/grpc/status"
Amit Ghosh09f28362020-06-12 21:52:19 +010014 math "math"
15)
16
17// Reference imports to suppress errors if they are not otherwise used.
18var _ = proto.Marshal
19var _ = fmt.Errorf
20var _ = math.Inf
21
22// This is a compile-time assertion to ensure that this generated file
23// is compatible with the proto package it is being compiled against.
24// A compilation error at this line likely means your copy of the
25// proto package needs to be updated.
26const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
27
amit.ghoshae473032021-01-10 11:59:10 +010028type PhysicalInventoryResponse_Reason int32
29
30const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010031 PhysicalInventoryResponse_UNDEFINED_REASON PhysicalInventoryResponse_Reason = 0
32 PhysicalInventoryResponse_UNKNOWN_DEVICE PhysicalInventoryResponse_Reason = 1
33 PhysicalInventoryResponse_INTERNAL_ERROR PhysicalInventoryResponse_Reason = 2
34 PhysicalInventoryResponse_DEVICE_UNREACHABLE PhysicalInventoryResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +010035)
36
37var PhysicalInventoryResponse_Reason_name = map[int32]string{
38 0: "UNDEFINED_REASON",
39 1: "UNKNOWN_DEVICE",
40 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +010041 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +010042}
43
44var PhysicalInventoryResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +010045 "UNDEFINED_REASON": 0,
46 "UNKNOWN_DEVICE": 1,
47 "INTERNAL_ERROR": 2,
48 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +010049}
50
51func (x PhysicalInventoryResponse_Reason) String() string {
52 return proto.EnumName(PhysicalInventoryResponse_Reason_name, int32(x))
53}
54
55func (PhysicalInventoryResponse_Reason) EnumDescriptor() ([]byte, []int) {
56 return fileDescriptor_eae902e73066286d, []int{1, 0}
57}
58
59type HWComponentInfoGetResponse_Reason int32
60
61const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010062 HWComponentInfoGetResponse_UNDEFINED_REASON HWComponentInfoGetResponse_Reason = 0
63 HWComponentInfoGetResponse_UNKNOWN_DEVICE HWComponentInfoGetResponse_Reason = 1
64 HWComponentInfoGetResponse_UNKNOWN_COMPONENT HWComponentInfoGetResponse_Reason = 2
65 HWComponentInfoGetResponse_INTERNAL_ERROR HWComponentInfoGetResponse_Reason = 3
66 HWComponentInfoGetResponse_DEVICE_UNREACHABLE HWComponentInfoGetResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +010067)
68
69var HWComponentInfoGetResponse_Reason_name = map[int32]string{
70 0: "UNDEFINED_REASON",
71 1: "UNKNOWN_DEVICE",
72 2: "UNKNOWN_COMPONENT",
73 3: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +010074 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +010075}
76
77var HWComponentInfoGetResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +010078 "UNDEFINED_REASON": 0,
79 "UNKNOWN_DEVICE": 1,
80 "UNKNOWN_COMPONENT": 2,
81 "INTERNAL_ERROR": 3,
82 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +010083}
84
85func (x HWComponentInfoGetResponse_Reason) String() string {
86 return proto.EnumName(HWComponentInfoGetResponse_Reason_name, int32(x))
87}
88
89func (HWComponentInfoGetResponse_Reason) EnumDescriptor() ([]byte, []int) {
90 return fileDescriptor_eae902e73066286d, []int{3, 0}
91}
92
93type HWComponentInfoSetResponse_Reason int32
94
95const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010096 HWComponentInfoSetResponse_UNDEFINED_REASON HWComponentInfoSetResponse_Reason = 0
97 HWComponentInfoSetResponse_UNKNOWN_DEVICE HWComponentInfoSetResponse_Reason = 1
98 HWComponentInfoSetResponse_UNKNOWN_COMPONENT HWComponentInfoSetResponse_Reason = 2
99 HWComponentInfoSetResponse_INVALID_PARAMS HWComponentInfoSetResponse_Reason = 3
100 HWComponentInfoSetResponse_INTERNAL_ERROR HWComponentInfoSetResponse_Reason = 4
101 HWComponentInfoSetResponse_DEVICE_UNREACHABLE HWComponentInfoSetResponse_Reason = 5
amit.ghoshae473032021-01-10 11:59:10 +0100102)
103
104var HWComponentInfoSetResponse_Reason_name = map[int32]string{
105 0: "UNDEFINED_REASON",
106 1: "UNKNOWN_DEVICE",
107 2: "UNKNOWN_COMPONENT",
108 3: "INVALID_PARAMS",
109 4: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100110 5: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100111}
112
113var HWComponentInfoSetResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100114 "UNDEFINED_REASON": 0,
115 "UNKNOWN_DEVICE": 1,
116 "UNKNOWN_COMPONENT": 2,
117 "INVALID_PARAMS": 3,
118 "INTERNAL_ERROR": 4,
119 "DEVICE_UNREACHABLE": 5,
amit.ghoshae473032021-01-10 11:59:10 +0100120}
121
122func (x HWComponentInfoSetResponse_Reason) String() string {
123 return proto.EnumName(HWComponentInfoSetResponse_Reason_name, int32(x))
124}
125
126func (HWComponentInfoSetResponse_Reason) EnumDescriptor() ([]byte, []int) {
127 return fileDescriptor_eae902e73066286d, []int{5, 0}
128}
129
130type StartManagingDeviceResponse_Reason int32
131
132const (
133 StartManagingDeviceResponse_UNDEFINED_REASON StartManagingDeviceResponse_Reason = 0
134 // DEVICE_ALREADY_MANAGED is returned when StartManagingDevice is called again for the same name AFTER a previously
135 // successful StartManagingDevice operation
136 StartManagingDeviceResponse_DEVICE_ALREADY_MANAGED StartManagingDeviceResponse_Reason = 1
137 // OPERATION_ALREADY_IN_PROGRESS is returned when StartManagingDevice is called again for the same name BEFORE
138 // a previous StartManagingDevice operation has completed
139 StartManagingDeviceResponse_OPERATION_ALREADY_IN_PROGRESS StartManagingDeviceResponse_Reason = 2
140 StartManagingDeviceResponse_INVALID_PARAMS StartManagingDeviceResponse_Reason = 3
141 StartManagingDeviceResponse_INTERNAL_ERROR StartManagingDeviceResponse_Reason = 4
142)
143
144var StartManagingDeviceResponse_Reason_name = map[int32]string{
145 0: "UNDEFINED_REASON",
146 1: "DEVICE_ALREADY_MANAGED",
147 2: "OPERATION_ALREADY_IN_PROGRESS",
148 3: "INVALID_PARAMS",
149 4: "INTERNAL_ERROR",
150}
151
152var StartManagingDeviceResponse_Reason_value = map[string]int32{
153 "UNDEFINED_REASON": 0,
154 "DEVICE_ALREADY_MANAGED": 1,
155 "OPERATION_ALREADY_IN_PROGRESS": 2,
156 "INVALID_PARAMS": 3,
157 "INTERNAL_ERROR": 4,
158}
159
160func (x StartManagingDeviceResponse_Reason) String() string {
161 return proto.EnumName(StartManagingDeviceResponse_Reason_name, int32(x))
162}
163
164func (StartManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
165 return fileDescriptor_eae902e73066286d, []int{6, 0}
166}
167
168// The only case in which an error is expected is if the name of the
169// device to be stopped is not found
170type StopManagingDeviceResponse_Reason int32
171
172const (
173 StopManagingDeviceResponse_UNDEFINED_REASON StopManagingDeviceResponse_Reason = 0
174 StopManagingDeviceResponse_UNKNOWN_DEVICE StopManagingDeviceResponse_Reason = 1
175)
176
177var StopManagingDeviceResponse_Reason_name = map[int32]string{
178 0: "UNDEFINED_REASON",
179 1: "UNKNOWN_DEVICE",
180}
181
182var StopManagingDeviceResponse_Reason_value = map[string]int32{
183 "UNDEFINED_REASON": 0,
184 "UNKNOWN_DEVICE": 1,
185}
186
187func (x StopManagingDeviceResponse_Reason) String() string {
188 return proto.EnumName(StopManagingDeviceResponse_Reason_name, int32(x))
189}
190
191func (StopManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
192 return fileDescriptor_eae902e73066286d, []int{8, 0}
193}
194
amit.ghosh0c687412021-03-24 19:01:08 +0100195type ManagedDevicesResponse_Reason int32
196
197const (
198 ManagedDevicesResponse_UNDEFINED_REASON ManagedDevicesResponse_Reason = 0
199 ManagedDevicesResponse_INTERNAL_ERROR ManagedDevicesResponse_Reason = 1
200)
201
202var ManagedDevicesResponse_Reason_name = map[int32]string{
203 0: "UNDEFINED_REASON",
204 1: "INTERNAL_ERROR",
205}
206
207var ManagedDevicesResponse_Reason_value = map[string]int32{
208 "UNDEFINED_REASON": 0,
209 "INTERNAL_ERROR": 1,
210}
211
212func (x ManagedDevicesResponse_Reason) String() string {
213 return proto.EnumName(ManagedDevicesResponse_Reason_name, int32(x))
214}
215
216func (ManagedDevicesResponse_Reason) EnumDescriptor() ([]byte, []int) {
217 return fileDescriptor_eae902e73066286d, []int{10, 0}
218}
219
amit.ghoshae473032021-01-10 11:59:10 +0100220type SetRemoteEndpointResponse_Reason int32
221
222const (
223 SetRemoteEndpointResponse_UNDEFINED_REASON SetRemoteEndpointResponse_Reason = 0
224 SetRemoteEndpointResponse_UNKNOWN_DEVICE SetRemoteEndpointResponse_Reason = 1
225 SetRemoteEndpointResponse_INTERNAL_ERROR SetRemoteEndpointResponse_Reason = 2
226 SetRemoteEndpointResponse_LOGGING_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 3
227 SetRemoteEndpointResponse_LOGGING_ENDPOINT_PROTOCOL_ERROR SetRemoteEndpointResponse_Reason = 4
228 SetRemoteEndpointResponse_MSGBUS_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 5
amit.ghoshbd2022e2021-02-22 05:58:53 +0100229 SetRemoteEndpointResponse_DEVICE_UNREACHABLE SetRemoteEndpointResponse_Reason = 6
amit.ghoshae473032021-01-10 11:59:10 +0100230)
231
232var SetRemoteEndpointResponse_Reason_name = map[int32]string{
233 0: "UNDEFINED_REASON",
234 1: "UNKNOWN_DEVICE",
235 2: "INTERNAL_ERROR",
236 3: "LOGGING_ENDPOINT_ERROR",
237 4: "LOGGING_ENDPOINT_PROTOCOL_ERROR",
238 5: "MSGBUS_ENDPOINT_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100239 6: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100240}
241
242var SetRemoteEndpointResponse_Reason_value = map[string]int32{
243 "UNDEFINED_REASON": 0,
244 "UNKNOWN_DEVICE": 1,
245 "INTERNAL_ERROR": 2,
246 "LOGGING_ENDPOINT_ERROR": 3,
247 "LOGGING_ENDPOINT_PROTOCOL_ERROR": 4,
248 "MSGBUS_ENDPOINT_ERROR": 5,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100249 "DEVICE_UNREACHABLE": 6,
amit.ghoshae473032021-01-10 11:59:10 +0100250}
251
252func (x SetRemoteEndpointResponse_Reason) String() string {
253 return proto.EnumName(SetRemoteEndpointResponse_Reason_name, int32(x))
254}
255
256func (SetRemoteEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100257 return fileDescriptor_eae902e73066286d, []int{12, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100258}
259
260type GetLoggingEndpointResponse_Reason int32
261
262const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100263 GetLoggingEndpointResponse_UNDEFINED_REASON GetLoggingEndpointResponse_Reason = 0
264 GetLoggingEndpointResponse_UNKNOWN_DEVICE GetLoggingEndpointResponse_Reason = 1
265 GetLoggingEndpointResponse_INTERNAL_ERROR GetLoggingEndpointResponse_Reason = 2
266 GetLoggingEndpointResponse_DEVICE_UNREACHABLE GetLoggingEndpointResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +0100267)
268
269var GetLoggingEndpointResponse_Reason_name = map[int32]string{
270 0: "UNDEFINED_REASON",
271 1: "UNKNOWN_DEVICE",
272 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100273 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100274}
275
276var GetLoggingEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100277 "UNDEFINED_REASON": 0,
278 "UNKNOWN_DEVICE": 1,
279 "INTERNAL_ERROR": 2,
280 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +0100281}
282
283func (x GetLoggingEndpointResponse_Reason) String() string {
284 return proto.EnumName(GetLoggingEndpointResponse_Reason_name, int32(x))
285}
286
287func (GetLoggingEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100288 return fileDescriptor_eae902e73066286d, []int{13, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100289}
290
291type GetMsgBusEndpointResponse_Reason int32
292
293const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100294 GetMsgBusEndpointResponse_UNDEFINED_REASON GetMsgBusEndpointResponse_Reason = 0
295 GetMsgBusEndpointResponse_INTERNAL_ERROR GetMsgBusEndpointResponse_Reason = 1
296 GetMsgBusEndpointResponse_DEVICE_UNREACHABLE GetMsgBusEndpointResponse_Reason = 2
amit.ghoshae473032021-01-10 11:59:10 +0100297)
298
299var GetMsgBusEndpointResponse_Reason_name = map[int32]string{
300 0: "UNDEFINED_REASON",
301 1: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100302 2: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100303}
304
305var GetMsgBusEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100306 "UNDEFINED_REASON": 0,
307 "INTERNAL_ERROR": 1,
308 "DEVICE_UNREACHABLE": 2,
amit.ghoshae473032021-01-10 11:59:10 +0100309}
310
311func (x GetMsgBusEndpointResponse_Reason) String() string {
312 return proto.EnumName(GetMsgBusEndpointResponse_Reason_name, int32(x))
313}
314
315func (GetMsgBusEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100316 return fileDescriptor_eae902e73066286d, []int{15, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100317}
318
319type SetLogLevelResponse_Reason int32
320
321const (
322 SetLogLevelResponse_UNDEFINED_REASON SetLogLevelResponse_Reason = 0
323 SetLogLevelResponse_UNKNOWN_DEVICE SetLogLevelResponse_Reason = 1
324 SetLogLevelResponse_INTERNAL_ERROR SetLogLevelResponse_Reason = 2
325 SetLogLevelResponse_UNKNOWN_LOG_ENTITY SetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100326 SetLogLevelResponse_DEVICE_UNREACHABLE SetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100327)
328
329var SetLogLevelResponse_Reason_name = map[int32]string{
330 0: "UNDEFINED_REASON",
331 1: "UNKNOWN_DEVICE",
332 2: "INTERNAL_ERROR",
333 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100334 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100335}
336
337var SetLogLevelResponse_Reason_value = map[string]int32{
338 "UNDEFINED_REASON": 0,
339 "UNKNOWN_DEVICE": 1,
340 "INTERNAL_ERROR": 2,
341 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100342 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100343}
344
345func (x SetLogLevelResponse_Reason) String() string {
346 return proto.EnumName(SetLogLevelResponse_Reason_name, int32(x))
347}
348
349func (SetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100350 return fileDescriptor_eae902e73066286d, []int{18, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100351}
352
353type GetLogLevelResponse_Reason int32
354
355const (
356 GetLogLevelResponse_UNDEFINED_REASON GetLogLevelResponse_Reason = 0
357 GetLogLevelResponse_UNKNOWN_DEVICE GetLogLevelResponse_Reason = 1
358 GetLogLevelResponse_INTERNAL_ERROR GetLogLevelResponse_Reason = 2
359 GetLogLevelResponse_UNKNOWN_LOG_ENTITY GetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100360 GetLogLevelResponse_DEVICE_UNREACHABLE GetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100361)
362
363var GetLogLevelResponse_Reason_name = map[int32]string{
364 0: "UNDEFINED_REASON",
365 1: "UNKNOWN_DEVICE",
366 2: "INTERNAL_ERROR",
367 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100368 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100369}
370
371var GetLogLevelResponse_Reason_value = map[string]int32{
372 "UNDEFINED_REASON": 0,
373 "UNKNOWN_DEVICE": 1,
374 "INTERNAL_ERROR": 2,
375 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100376 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100377}
378
379func (x GetLogLevelResponse_Reason) String() string {
380 return proto.EnumName(GetLogLevelResponse_Reason_name, int32(x))
381}
382
383func (GetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100384 return fileDescriptor_eae902e73066286d, []int{20, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100385}
386
Amit Ghosh09f28362020-06-12 21:52:19 +0100387type PhysicalInventoryRequest struct {
388 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
389 XXX_NoUnkeyedLiteral struct{} `json:"-"`
390 XXX_unrecognized []byte `json:"-"`
391 XXX_sizecache int32 `json:"-"`
392}
393
394func (m *PhysicalInventoryRequest) Reset() { *m = PhysicalInventoryRequest{} }
395func (m *PhysicalInventoryRequest) String() string { return proto.CompactTextString(m) }
396func (*PhysicalInventoryRequest) ProtoMessage() {}
397func (*PhysicalInventoryRequest) Descriptor() ([]byte, []int) {
398 return fileDescriptor_eae902e73066286d, []int{0}
399}
400
401func (m *PhysicalInventoryRequest) XXX_Unmarshal(b []byte) error {
402 return xxx_messageInfo_PhysicalInventoryRequest.Unmarshal(m, b)
403}
404func (m *PhysicalInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
405 return xxx_messageInfo_PhysicalInventoryRequest.Marshal(b, m, deterministic)
406}
407func (m *PhysicalInventoryRequest) XXX_Merge(src proto.Message) {
408 xxx_messageInfo_PhysicalInventoryRequest.Merge(m, src)
409}
410func (m *PhysicalInventoryRequest) XXX_Size() int {
411 return xxx_messageInfo_PhysicalInventoryRequest.Size(m)
412}
413func (m *PhysicalInventoryRequest) XXX_DiscardUnknown() {
414 xxx_messageInfo_PhysicalInventoryRequest.DiscardUnknown(m)
415}
416
417var xxx_messageInfo_PhysicalInventoryRequest proto.InternalMessageInfo
418
419func (m *PhysicalInventoryRequest) GetDeviceUuid() *Uuid {
420 if m != nil {
421 return m.DeviceUuid
422 }
423 return nil
424}
425
426type PhysicalInventoryResponse struct {
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100427 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
428 Reason PhysicalInventoryResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.PhysicalInventoryResponse_Reason" json:"reason,omitempty"`
429 Inventory *Hardware `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
430 // It is recommended that upstream components/users of the DMI interface
431 // do not really interpret/parse the reson_detail, but rather use it for
432 // display purposes to the end user or use it for logging the error
433 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
434 XXX_NoUnkeyedLiteral struct{} `json:"-"`
435 XXX_unrecognized []byte `json:"-"`
436 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100437}
438
439func (m *PhysicalInventoryResponse) Reset() { *m = PhysicalInventoryResponse{} }
440func (m *PhysicalInventoryResponse) String() string { return proto.CompactTextString(m) }
441func (*PhysicalInventoryResponse) ProtoMessage() {}
442func (*PhysicalInventoryResponse) Descriptor() ([]byte, []int) {
443 return fileDescriptor_eae902e73066286d, []int{1}
444}
445
446func (m *PhysicalInventoryResponse) XXX_Unmarshal(b []byte) error {
447 return xxx_messageInfo_PhysicalInventoryResponse.Unmarshal(m, b)
448}
449func (m *PhysicalInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
450 return xxx_messageInfo_PhysicalInventoryResponse.Marshal(b, m, deterministic)
451}
452func (m *PhysicalInventoryResponse) XXX_Merge(src proto.Message) {
453 xxx_messageInfo_PhysicalInventoryResponse.Merge(m, src)
454}
455func (m *PhysicalInventoryResponse) XXX_Size() int {
456 return xxx_messageInfo_PhysicalInventoryResponse.Size(m)
457}
458func (m *PhysicalInventoryResponse) XXX_DiscardUnknown() {
459 xxx_messageInfo_PhysicalInventoryResponse.DiscardUnknown(m)
460}
461
462var xxx_messageInfo_PhysicalInventoryResponse proto.InternalMessageInfo
463
464func (m *PhysicalInventoryResponse) GetStatus() Status {
465 if m != nil {
466 return m.Status
467 }
468 return Status_UNDEFINED_STATUS
469}
470
amit.ghoshae473032021-01-10 11:59:10 +0100471func (m *PhysicalInventoryResponse) GetReason() PhysicalInventoryResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100472 if m != nil {
473 return m.Reason
474 }
amit.ghoshae473032021-01-10 11:59:10 +0100475 return PhysicalInventoryResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100476}
477
478func (m *PhysicalInventoryResponse) GetInventory() *Hardware {
479 if m != nil {
480 return m.Inventory
481 }
482 return nil
483}
484
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100485func (m *PhysicalInventoryResponse) GetReasonDetail() string {
486 if m != nil {
487 return m.ReasonDetail
488 }
489 return ""
490}
491
Amit Ghosh09f28362020-06-12 21:52:19 +0100492type HWComponentInfoGetRequest struct {
493 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
494 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
495 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
496 XXX_NoUnkeyedLiteral struct{} `json:"-"`
497 XXX_unrecognized []byte `json:"-"`
498 XXX_sizecache int32 `json:"-"`
499}
500
501func (m *HWComponentInfoGetRequest) Reset() { *m = HWComponentInfoGetRequest{} }
502func (m *HWComponentInfoGetRequest) String() string { return proto.CompactTextString(m) }
503func (*HWComponentInfoGetRequest) ProtoMessage() {}
504func (*HWComponentInfoGetRequest) Descriptor() ([]byte, []int) {
505 return fileDescriptor_eae902e73066286d, []int{2}
506}
507
508func (m *HWComponentInfoGetRequest) XXX_Unmarshal(b []byte) error {
509 return xxx_messageInfo_HWComponentInfoGetRequest.Unmarshal(m, b)
510}
511func (m *HWComponentInfoGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
512 return xxx_messageInfo_HWComponentInfoGetRequest.Marshal(b, m, deterministic)
513}
514func (m *HWComponentInfoGetRequest) XXX_Merge(src proto.Message) {
515 xxx_messageInfo_HWComponentInfoGetRequest.Merge(m, src)
516}
517func (m *HWComponentInfoGetRequest) XXX_Size() int {
518 return xxx_messageInfo_HWComponentInfoGetRequest.Size(m)
519}
520func (m *HWComponentInfoGetRequest) XXX_DiscardUnknown() {
521 xxx_messageInfo_HWComponentInfoGetRequest.DiscardUnknown(m)
522}
523
524var xxx_messageInfo_HWComponentInfoGetRequest proto.InternalMessageInfo
525
526func (m *HWComponentInfoGetRequest) GetDeviceUuid() *Uuid {
527 if m != nil {
528 return m.DeviceUuid
529 }
530 return nil
531}
532
533func (m *HWComponentInfoGetRequest) GetComponentUuid() *Uuid {
534 if m != nil {
535 return m.ComponentUuid
536 }
537 return nil
538}
539
540func (m *HWComponentInfoGetRequest) GetComponentName() string {
541 if m != nil {
542 return m.ComponentName
543 }
544 return ""
545}
546
aghoshc301dcd2020-09-03 16:55:34 +0100547type HWComponentInfoGetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100548 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
549 Reason HWComponentInfoGetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoGetResponse_Reason" json:"reason,omitempty"`
550 Component *Component `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100551 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100552 XXX_NoUnkeyedLiteral struct{} `json:"-"`
553 XXX_unrecognized []byte `json:"-"`
554 XXX_sizecache int32 `json:"-"`
aghoshc301dcd2020-09-03 16:55:34 +0100555}
556
557func (m *HWComponentInfoGetResponse) Reset() { *m = HWComponentInfoGetResponse{} }
558func (m *HWComponentInfoGetResponse) String() string { return proto.CompactTextString(m) }
559func (*HWComponentInfoGetResponse) ProtoMessage() {}
560func (*HWComponentInfoGetResponse) Descriptor() ([]byte, []int) {
561 return fileDescriptor_eae902e73066286d, []int{3}
562}
563
564func (m *HWComponentInfoGetResponse) XXX_Unmarshal(b []byte) error {
565 return xxx_messageInfo_HWComponentInfoGetResponse.Unmarshal(m, b)
566}
567func (m *HWComponentInfoGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
568 return xxx_messageInfo_HWComponentInfoGetResponse.Marshal(b, m, deterministic)
569}
570func (m *HWComponentInfoGetResponse) XXX_Merge(src proto.Message) {
571 xxx_messageInfo_HWComponentInfoGetResponse.Merge(m, src)
572}
573func (m *HWComponentInfoGetResponse) XXX_Size() int {
574 return xxx_messageInfo_HWComponentInfoGetResponse.Size(m)
575}
576func (m *HWComponentInfoGetResponse) XXX_DiscardUnknown() {
577 xxx_messageInfo_HWComponentInfoGetResponse.DiscardUnknown(m)
578}
579
580var xxx_messageInfo_HWComponentInfoGetResponse proto.InternalMessageInfo
581
582func (m *HWComponentInfoGetResponse) GetStatus() Status {
583 if m != nil {
584 return m.Status
585 }
586 return Status_UNDEFINED_STATUS
587}
588
amit.ghoshae473032021-01-10 11:59:10 +0100589func (m *HWComponentInfoGetResponse) GetReason() HWComponentInfoGetResponse_Reason {
aghoshc301dcd2020-09-03 16:55:34 +0100590 if m != nil {
591 return m.Reason
592 }
amit.ghoshae473032021-01-10 11:59:10 +0100593 return HWComponentInfoGetResponse_UNDEFINED_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100594}
595
596func (m *HWComponentInfoGetResponse) GetComponent() *Component {
597 if m != nil {
598 return m.Component
599 }
600 return nil
601}
602
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100603func (m *HWComponentInfoGetResponse) GetReasonDetail() string {
604 if m != nil {
605 return m.ReasonDetail
606 }
607 return ""
608}
609
Amit Ghosh09f28362020-06-12 21:52:19 +0100610type HWComponentInfoSetRequest struct {
611 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
612 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
613 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
614 Changes *ModifiableComponent `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"`
615 XXX_NoUnkeyedLiteral struct{} `json:"-"`
616 XXX_unrecognized []byte `json:"-"`
617 XXX_sizecache int32 `json:"-"`
618}
619
620func (m *HWComponentInfoSetRequest) Reset() { *m = HWComponentInfoSetRequest{} }
621func (m *HWComponentInfoSetRequest) String() string { return proto.CompactTextString(m) }
622func (*HWComponentInfoSetRequest) ProtoMessage() {}
623func (*HWComponentInfoSetRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100624 return fileDescriptor_eae902e73066286d, []int{4}
Amit Ghosh09f28362020-06-12 21:52:19 +0100625}
626
627func (m *HWComponentInfoSetRequest) XXX_Unmarshal(b []byte) error {
628 return xxx_messageInfo_HWComponentInfoSetRequest.Unmarshal(m, b)
629}
630func (m *HWComponentInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
631 return xxx_messageInfo_HWComponentInfoSetRequest.Marshal(b, m, deterministic)
632}
633func (m *HWComponentInfoSetRequest) XXX_Merge(src proto.Message) {
634 xxx_messageInfo_HWComponentInfoSetRequest.Merge(m, src)
635}
636func (m *HWComponentInfoSetRequest) XXX_Size() int {
637 return xxx_messageInfo_HWComponentInfoSetRequest.Size(m)
638}
639func (m *HWComponentInfoSetRequest) XXX_DiscardUnknown() {
640 xxx_messageInfo_HWComponentInfoSetRequest.DiscardUnknown(m)
641}
642
643var xxx_messageInfo_HWComponentInfoSetRequest proto.InternalMessageInfo
644
645func (m *HWComponentInfoSetRequest) GetDeviceUuid() *Uuid {
646 if m != nil {
647 return m.DeviceUuid
648 }
649 return nil
650}
651
652func (m *HWComponentInfoSetRequest) GetComponentUuid() *Uuid {
653 if m != nil {
654 return m.ComponentUuid
655 }
656 return nil
657}
658
659func (m *HWComponentInfoSetRequest) GetComponentName() string {
660 if m != nil {
661 return m.ComponentName
662 }
663 return ""
664}
665
666func (m *HWComponentInfoSetRequest) GetChanges() *ModifiableComponent {
667 if m != nil {
668 return m.Changes
669 }
670 return nil
671}
672
673type HWComponentInfoSetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100674 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
675 Reason HWComponentInfoSetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoSetResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100676 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100677 XXX_NoUnkeyedLiteral struct{} `json:"-"`
678 XXX_unrecognized []byte `json:"-"`
679 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100680}
681
682func (m *HWComponentInfoSetResponse) Reset() { *m = HWComponentInfoSetResponse{} }
683func (m *HWComponentInfoSetResponse) String() string { return proto.CompactTextString(m) }
684func (*HWComponentInfoSetResponse) ProtoMessage() {}
685func (*HWComponentInfoSetResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100686 return fileDescriptor_eae902e73066286d, []int{5}
Amit Ghosh09f28362020-06-12 21:52:19 +0100687}
688
689func (m *HWComponentInfoSetResponse) XXX_Unmarshal(b []byte) error {
690 return xxx_messageInfo_HWComponentInfoSetResponse.Unmarshal(m, b)
691}
692func (m *HWComponentInfoSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
693 return xxx_messageInfo_HWComponentInfoSetResponse.Marshal(b, m, deterministic)
694}
695func (m *HWComponentInfoSetResponse) XXX_Merge(src proto.Message) {
696 xxx_messageInfo_HWComponentInfoSetResponse.Merge(m, src)
697}
698func (m *HWComponentInfoSetResponse) XXX_Size() int {
699 return xxx_messageInfo_HWComponentInfoSetResponse.Size(m)
700}
701func (m *HWComponentInfoSetResponse) XXX_DiscardUnknown() {
702 xxx_messageInfo_HWComponentInfoSetResponse.DiscardUnknown(m)
703}
704
705var xxx_messageInfo_HWComponentInfoSetResponse proto.InternalMessageInfo
706
707func (m *HWComponentInfoSetResponse) GetStatus() Status {
708 if m != nil {
709 return m.Status
710 }
711 return Status_UNDEFINED_STATUS
712}
713
amit.ghoshae473032021-01-10 11:59:10 +0100714func (m *HWComponentInfoSetResponse) GetReason() HWComponentInfoSetResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100715 if m != nil {
716 return m.Reason
717 }
amit.ghoshae473032021-01-10 11:59:10 +0100718 return HWComponentInfoSetResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100719}
720
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100721func (m *HWComponentInfoSetResponse) GetReasonDetail() string {
722 if m != nil {
723 return m.ReasonDetail
724 }
725 return ""
726}
727
Amit Ghosh09f28362020-06-12 21:52:19 +0100728type StartManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100729 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
730 Reason StartManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartManagingDeviceResponse_Reason" json:"reason,omitempty"`
731 DeviceUuid *Uuid `protobuf:"bytes,3,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100732 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100733 XXX_NoUnkeyedLiteral struct{} `json:"-"`
734 XXX_unrecognized []byte `json:"-"`
735 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100736}
737
738func (m *StartManagingDeviceResponse) Reset() { *m = StartManagingDeviceResponse{} }
739func (m *StartManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
740func (*StartManagingDeviceResponse) ProtoMessage() {}
741func (*StartManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100742 return fileDescriptor_eae902e73066286d, []int{6}
Amit Ghosh09f28362020-06-12 21:52:19 +0100743}
744
745func (m *StartManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
746 return xxx_messageInfo_StartManagingDeviceResponse.Unmarshal(m, b)
747}
748func (m *StartManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
749 return xxx_messageInfo_StartManagingDeviceResponse.Marshal(b, m, deterministic)
750}
751func (m *StartManagingDeviceResponse) XXX_Merge(src proto.Message) {
752 xxx_messageInfo_StartManagingDeviceResponse.Merge(m, src)
753}
754func (m *StartManagingDeviceResponse) XXX_Size() int {
755 return xxx_messageInfo_StartManagingDeviceResponse.Size(m)
756}
757func (m *StartManagingDeviceResponse) XXX_DiscardUnknown() {
758 xxx_messageInfo_StartManagingDeviceResponse.DiscardUnknown(m)
759}
760
761var xxx_messageInfo_StartManagingDeviceResponse proto.InternalMessageInfo
762
763func (m *StartManagingDeviceResponse) GetStatus() Status {
764 if m != nil {
765 return m.Status
766 }
767 return Status_UNDEFINED_STATUS
768}
769
amit.ghoshae473032021-01-10 11:59:10 +0100770func (m *StartManagingDeviceResponse) GetReason() StartManagingDeviceResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100771 if m != nil {
772 return m.Reason
773 }
amit.ghoshae473032021-01-10 11:59:10 +0100774 return StartManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100775}
776
777func (m *StartManagingDeviceResponse) GetDeviceUuid() *Uuid {
778 if m != nil {
779 return m.DeviceUuid
780 }
781 return nil
782}
783
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100784func (m *StartManagingDeviceResponse) GetReasonDetail() string {
785 if m != nil {
786 return m.ReasonDetail
787 }
788 return ""
789}
790
Amit Ghosh366228e2020-07-06 13:46:42 +0100791type StopManagingDeviceRequest struct {
792 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
793 XXX_NoUnkeyedLiteral struct{} `json:"-"`
794 XXX_unrecognized []byte `json:"-"`
795 XXX_sizecache int32 `json:"-"`
796}
797
798func (m *StopManagingDeviceRequest) Reset() { *m = StopManagingDeviceRequest{} }
799func (m *StopManagingDeviceRequest) String() string { return proto.CompactTextString(m) }
800func (*StopManagingDeviceRequest) ProtoMessage() {}
801func (*StopManagingDeviceRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100802 return fileDescriptor_eae902e73066286d, []int{7}
Amit Ghosh366228e2020-07-06 13:46:42 +0100803}
804
805func (m *StopManagingDeviceRequest) XXX_Unmarshal(b []byte) error {
806 return xxx_messageInfo_StopManagingDeviceRequest.Unmarshal(m, b)
807}
808func (m *StopManagingDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
809 return xxx_messageInfo_StopManagingDeviceRequest.Marshal(b, m, deterministic)
810}
811func (m *StopManagingDeviceRequest) XXX_Merge(src proto.Message) {
812 xxx_messageInfo_StopManagingDeviceRequest.Merge(m, src)
813}
814func (m *StopManagingDeviceRequest) XXX_Size() int {
815 return xxx_messageInfo_StopManagingDeviceRequest.Size(m)
816}
817func (m *StopManagingDeviceRequest) XXX_DiscardUnknown() {
818 xxx_messageInfo_StopManagingDeviceRequest.DiscardUnknown(m)
819}
820
821var xxx_messageInfo_StopManagingDeviceRequest proto.InternalMessageInfo
822
823func (m *StopManagingDeviceRequest) GetName() string {
824 if m != nil {
825 return m.Name
826 }
827 return ""
828}
829
830type StopManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100831 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
832 Reason StopManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StopManagingDeviceResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100833 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100834 XXX_NoUnkeyedLiteral struct{} `json:"-"`
835 XXX_unrecognized []byte `json:"-"`
836 XXX_sizecache int32 `json:"-"`
Amit Ghosh366228e2020-07-06 13:46:42 +0100837}
838
839func (m *StopManagingDeviceResponse) Reset() { *m = StopManagingDeviceResponse{} }
840func (m *StopManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
841func (*StopManagingDeviceResponse) ProtoMessage() {}
842func (*StopManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100843 return fileDescriptor_eae902e73066286d, []int{8}
Amit Ghosh366228e2020-07-06 13:46:42 +0100844}
845
846func (m *StopManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
847 return xxx_messageInfo_StopManagingDeviceResponse.Unmarshal(m, b)
848}
849func (m *StopManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
850 return xxx_messageInfo_StopManagingDeviceResponse.Marshal(b, m, deterministic)
851}
852func (m *StopManagingDeviceResponse) XXX_Merge(src proto.Message) {
853 xxx_messageInfo_StopManagingDeviceResponse.Merge(m, src)
854}
855func (m *StopManagingDeviceResponse) XXX_Size() int {
856 return xxx_messageInfo_StopManagingDeviceResponse.Size(m)
857}
858func (m *StopManagingDeviceResponse) XXX_DiscardUnknown() {
859 xxx_messageInfo_StopManagingDeviceResponse.DiscardUnknown(m)
860}
861
862var xxx_messageInfo_StopManagingDeviceResponse proto.InternalMessageInfo
863
864func (m *StopManagingDeviceResponse) GetStatus() Status {
865 if m != nil {
866 return m.Status
867 }
868 return Status_UNDEFINED_STATUS
869}
870
amit.ghoshae473032021-01-10 11:59:10 +0100871func (m *StopManagingDeviceResponse) GetReason() StopManagingDeviceResponse_Reason {
Amit Ghosh366228e2020-07-06 13:46:42 +0100872 if m != nil {
873 return m.Reason
874 }
amit.ghoshae473032021-01-10 11:59:10 +0100875 return StopManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh366228e2020-07-06 13:46:42 +0100876}
877
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100878func (m *StopManagingDeviceResponse) GetReasonDetail() string {
879 if m != nil {
880 return m.ReasonDetail
881 }
882 return ""
883}
884
amit.ghosh0c687412021-03-24 19:01:08 +0100885type ManagedDeviceInfo struct {
886 Info *ModifiableComponent `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
887 DeviceUuid *Uuid `protobuf:"bytes,2,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
888 XXX_NoUnkeyedLiteral struct{} `json:"-"`
889 XXX_unrecognized []byte `json:"-"`
890 XXX_sizecache int32 `json:"-"`
891}
892
893func (m *ManagedDeviceInfo) Reset() { *m = ManagedDeviceInfo{} }
894func (m *ManagedDeviceInfo) String() string { return proto.CompactTextString(m) }
895func (*ManagedDeviceInfo) ProtoMessage() {}
896func (*ManagedDeviceInfo) Descriptor() ([]byte, []int) {
897 return fileDescriptor_eae902e73066286d, []int{9}
898}
899
900func (m *ManagedDeviceInfo) XXX_Unmarshal(b []byte) error {
901 return xxx_messageInfo_ManagedDeviceInfo.Unmarshal(m, b)
902}
903func (m *ManagedDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
904 return xxx_messageInfo_ManagedDeviceInfo.Marshal(b, m, deterministic)
905}
906func (m *ManagedDeviceInfo) XXX_Merge(src proto.Message) {
907 xxx_messageInfo_ManagedDeviceInfo.Merge(m, src)
908}
909func (m *ManagedDeviceInfo) XXX_Size() int {
910 return xxx_messageInfo_ManagedDeviceInfo.Size(m)
911}
912func (m *ManagedDeviceInfo) XXX_DiscardUnknown() {
913 xxx_messageInfo_ManagedDeviceInfo.DiscardUnknown(m)
914}
915
916var xxx_messageInfo_ManagedDeviceInfo proto.InternalMessageInfo
917
918func (m *ManagedDeviceInfo) GetInfo() *ModifiableComponent {
919 if m != nil {
920 return m.Info
921 }
922 return nil
923}
924
925func (m *ManagedDeviceInfo) GetDeviceUuid() *Uuid {
926 if m != nil {
927 return m.DeviceUuid
928 }
929 return nil
930}
931
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200932type ManagedDevicesResponse struct {
amit.ghosh0c687412021-03-24 19:01:08 +0100933 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
934 Reason ManagedDevicesResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.ManagedDevicesResponse_Reason" json:"reason,omitempty"`
935 Devices []*ManagedDeviceInfo `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
936 XXX_NoUnkeyedLiteral struct{} `json:"-"`
937 XXX_unrecognized []byte `json:"-"`
938 XXX_sizecache int32 `json:"-"`
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200939}
940
941func (m *ManagedDevicesResponse) Reset() { *m = ManagedDevicesResponse{} }
942func (m *ManagedDevicesResponse) String() string { return proto.CompactTextString(m) }
943func (*ManagedDevicesResponse) ProtoMessage() {}
944func (*ManagedDevicesResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100945 return fileDescriptor_eae902e73066286d, []int{10}
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200946}
947
948func (m *ManagedDevicesResponse) XXX_Unmarshal(b []byte) error {
949 return xxx_messageInfo_ManagedDevicesResponse.Unmarshal(m, b)
950}
951func (m *ManagedDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
952 return xxx_messageInfo_ManagedDevicesResponse.Marshal(b, m, deterministic)
953}
954func (m *ManagedDevicesResponse) XXX_Merge(src proto.Message) {
955 xxx_messageInfo_ManagedDevicesResponse.Merge(m, src)
956}
957func (m *ManagedDevicesResponse) XXX_Size() int {
958 return xxx_messageInfo_ManagedDevicesResponse.Size(m)
959}
960func (m *ManagedDevicesResponse) XXX_DiscardUnknown() {
961 xxx_messageInfo_ManagedDevicesResponse.DiscardUnknown(m)
962}
963
964var xxx_messageInfo_ManagedDevicesResponse proto.InternalMessageInfo
965
amit.ghosh0c687412021-03-24 19:01:08 +0100966func (m *ManagedDevicesResponse) GetStatus() Status {
967 if m != nil {
968 return m.Status
969 }
970 return Status_UNDEFINED_STATUS
971}
972
973func (m *ManagedDevicesResponse) GetReason() ManagedDevicesResponse_Reason {
974 if m != nil {
975 return m.Reason
976 }
977 return ManagedDevicesResponse_UNDEFINED_REASON
978}
979
980func (m *ManagedDevicesResponse) GetDevices() []*ManagedDeviceInfo {
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200981 if m != nil {
982 return m.Devices
983 }
984 return nil
985}
986
amit.ghosh188a84f2020-09-27 20:59:25 +0200987type SetLoggingEndpointRequest struct {
988 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
989 LoggingEndpoint string `protobuf:"bytes,2,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
990 LoggingProtocol string `protobuf:"bytes,3,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
991 XXX_NoUnkeyedLiteral struct{} `json:"-"`
992 XXX_unrecognized []byte `json:"-"`
993 XXX_sizecache int32 `json:"-"`
994}
995
996func (m *SetLoggingEndpointRequest) Reset() { *m = SetLoggingEndpointRequest{} }
997func (m *SetLoggingEndpointRequest) String() string { return proto.CompactTextString(m) }
998func (*SetLoggingEndpointRequest) ProtoMessage() {}
999func (*SetLoggingEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001000 return fileDescriptor_eae902e73066286d, []int{11}
amit.ghosh188a84f2020-09-27 20:59:25 +02001001}
1002
1003func (m *SetLoggingEndpointRequest) XXX_Unmarshal(b []byte) error {
1004 return xxx_messageInfo_SetLoggingEndpointRequest.Unmarshal(m, b)
1005}
1006func (m *SetLoggingEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1007 return xxx_messageInfo_SetLoggingEndpointRequest.Marshal(b, m, deterministic)
1008}
1009func (m *SetLoggingEndpointRequest) XXX_Merge(src proto.Message) {
1010 xxx_messageInfo_SetLoggingEndpointRequest.Merge(m, src)
1011}
1012func (m *SetLoggingEndpointRequest) XXX_Size() int {
1013 return xxx_messageInfo_SetLoggingEndpointRequest.Size(m)
1014}
1015func (m *SetLoggingEndpointRequest) XXX_DiscardUnknown() {
1016 xxx_messageInfo_SetLoggingEndpointRequest.DiscardUnknown(m)
1017}
1018
1019var xxx_messageInfo_SetLoggingEndpointRequest proto.InternalMessageInfo
1020
1021func (m *SetLoggingEndpointRequest) GetDeviceUuid() *Uuid {
1022 if m != nil {
1023 return m.DeviceUuid
1024 }
1025 return nil
1026}
1027
1028func (m *SetLoggingEndpointRequest) GetLoggingEndpoint() string {
1029 if m != nil {
1030 return m.LoggingEndpoint
1031 }
1032 return ""
1033}
1034
1035func (m *SetLoggingEndpointRequest) GetLoggingProtocol() string {
1036 if m != nil {
1037 return m.LoggingProtocol
1038 }
1039 return ""
1040}
1041
1042type SetRemoteEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001043 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1044 Reason SetRemoteEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetRemoteEndpointResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001045 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001046 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1047 XXX_unrecognized []byte `json:"-"`
1048 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001049}
1050
1051func (m *SetRemoteEndpointResponse) Reset() { *m = SetRemoteEndpointResponse{} }
1052func (m *SetRemoteEndpointResponse) String() string { return proto.CompactTextString(m) }
1053func (*SetRemoteEndpointResponse) ProtoMessage() {}
1054func (*SetRemoteEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001055 return fileDescriptor_eae902e73066286d, []int{12}
amit.ghosh188a84f2020-09-27 20:59:25 +02001056}
1057
1058func (m *SetRemoteEndpointResponse) XXX_Unmarshal(b []byte) error {
1059 return xxx_messageInfo_SetRemoteEndpointResponse.Unmarshal(m, b)
1060}
1061func (m *SetRemoteEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1062 return xxx_messageInfo_SetRemoteEndpointResponse.Marshal(b, m, deterministic)
1063}
1064func (m *SetRemoteEndpointResponse) XXX_Merge(src proto.Message) {
1065 xxx_messageInfo_SetRemoteEndpointResponse.Merge(m, src)
1066}
1067func (m *SetRemoteEndpointResponse) XXX_Size() int {
1068 return xxx_messageInfo_SetRemoteEndpointResponse.Size(m)
1069}
1070func (m *SetRemoteEndpointResponse) XXX_DiscardUnknown() {
1071 xxx_messageInfo_SetRemoteEndpointResponse.DiscardUnknown(m)
1072}
1073
1074var xxx_messageInfo_SetRemoteEndpointResponse proto.InternalMessageInfo
1075
1076func (m *SetRemoteEndpointResponse) GetStatus() Status {
1077 if m != nil {
1078 return m.Status
1079 }
1080 return Status_UNDEFINED_STATUS
1081}
1082
amit.ghoshae473032021-01-10 11:59:10 +01001083func (m *SetRemoteEndpointResponse) GetReason() SetRemoteEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001084 if m != nil {
1085 return m.Reason
1086 }
amit.ghoshae473032021-01-10 11:59:10 +01001087 return SetRemoteEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001088}
1089
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001090func (m *SetRemoteEndpointResponse) GetReasonDetail() string {
1091 if m != nil {
1092 return m.ReasonDetail
1093 }
1094 return ""
1095}
1096
amit.ghosh188a84f2020-09-27 20:59:25 +02001097type GetLoggingEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001098 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1099 Reason GetLoggingEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetLoggingEndpointResponse_Reason" json:"reason,omitempty"`
1100 LoggingEndpoint string `protobuf:"bytes,3,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1101 LoggingProtocol string `protobuf:"bytes,4,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001102 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001103 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1104 XXX_unrecognized []byte `json:"-"`
1105 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001106}
1107
1108func (m *GetLoggingEndpointResponse) Reset() { *m = GetLoggingEndpointResponse{} }
1109func (m *GetLoggingEndpointResponse) String() string { return proto.CompactTextString(m) }
1110func (*GetLoggingEndpointResponse) ProtoMessage() {}
1111func (*GetLoggingEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001112 return fileDescriptor_eae902e73066286d, []int{13}
amit.ghosh188a84f2020-09-27 20:59:25 +02001113}
1114
1115func (m *GetLoggingEndpointResponse) XXX_Unmarshal(b []byte) error {
1116 return xxx_messageInfo_GetLoggingEndpointResponse.Unmarshal(m, b)
1117}
1118func (m *GetLoggingEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1119 return xxx_messageInfo_GetLoggingEndpointResponse.Marshal(b, m, deterministic)
1120}
1121func (m *GetLoggingEndpointResponse) XXX_Merge(src proto.Message) {
1122 xxx_messageInfo_GetLoggingEndpointResponse.Merge(m, src)
1123}
1124func (m *GetLoggingEndpointResponse) XXX_Size() int {
1125 return xxx_messageInfo_GetLoggingEndpointResponse.Size(m)
1126}
1127func (m *GetLoggingEndpointResponse) XXX_DiscardUnknown() {
1128 xxx_messageInfo_GetLoggingEndpointResponse.DiscardUnknown(m)
1129}
1130
1131var xxx_messageInfo_GetLoggingEndpointResponse proto.InternalMessageInfo
1132
1133func (m *GetLoggingEndpointResponse) GetStatus() Status {
1134 if m != nil {
1135 return m.Status
1136 }
1137 return Status_UNDEFINED_STATUS
1138}
1139
amit.ghoshae473032021-01-10 11:59:10 +01001140func (m *GetLoggingEndpointResponse) GetReason() GetLoggingEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001141 if m != nil {
1142 return m.Reason
1143 }
amit.ghoshae473032021-01-10 11:59:10 +01001144 return GetLoggingEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001145}
1146
1147func (m *GetLoggingEndpointResponse) GetLoggingEndpoint() string {
1148 if m != nil {
1149 return m.LoggingEndpoint
1150 }
1151 return ""
1152}
1153
1154func (m *GetLoggingEndpointResponse) GetLoggingProtocol() string {
1155 if m != nil {
1156 return m.LoggingProtocol
1157 }
1158 return ""
1159}
1160
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001161func (m *GetLoggingEndpointResponse) GetReasonDetail() string {
1162 if m != nil {
1163 return m.ReasonDetail
1164 }
1165 return ""
1166}
1167
amit.ghosh188a84f2020-09-27 20:59:25 +02001168type SetMsgBusEndpointRequest struct {
1169 MsgbusEndpoint string `protobuf:"bytes,1,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1170 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1171 XXX_unrecognized []byte `json:"-"`
1172 XXX_sizecache int32 `json:"-"`
1173}
1174
1175func (m *SetMsgBusEndpointRequest) Reset() { *m = SetMsgBusEndpointRequest{} }
1176func (m *SetMsgBusEndpointRequest) String() string { return proto.CompactTextString(m) }
1177func (*SetMsgBusEndpointRequest) ProtoMessage() {}
1178func (*SetMsgBusEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001179 return fileDescriptor_eae902e73066286d, []int{14}
amit.ghosh188a84f2020-09-27 20:59:25 +02001180}
1181
1182func (m *SetMsgBusEndpointRequest) XXX_Unmarshal(b []byte) error {
1183 return xxx_messageInfo_SetMsgBusEndpointRequest.Unmarshal(m, b)
1184}
1185func (m *SetMsgBusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1186 return xxx_messageInfo_SetMsgBusEndpointRequest.Marshal(b, m, deterministic)
1187}
1188func (m *SetMsgBusEndpointRequest) XXX_Merge(src proto.Message) {
1189 xxx_messageInfo_SetMsgBusEndpointRequest.Merge(m, src)
1190}
1191func (m *SetMsgBusEndpointRequest) XXX_Size() int {
1192 return xxx_messageInfo_SetMsgBusEndpointRequest.Size(m)
1193}
1194func (m *SetMsgBusEndpointRequest) XXX_DiscardUnknown() {
1195 xxx_messageInfo_SetMsgBusEndpointRequest.DiscardUnknown(m)
1196}
1197
1198var xxx_messageInfo_SetMsgBusEndpointRequest proto.InternalMessageInfo
1199
1200func (m *SetMsgBusEndpointRequest) GetMsgbusEndpoint() string {
1201 if m != nil {
1202 return m.MsgbusEndpoint
1203 }
1204 return ""
1205}
1206
1207type GetMsgBusEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001208 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1209 Reason GetMsgBusEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetMsgBusEndpointResponse_Reason" json:"reason,omitempty"`
1210 MsgbusEndpoint string `protobuf:"bytes,3,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001211 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001212 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1213 XXX_unrecognized []byte `json:"-"`
1214 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001215}
1216
1217func (m *GetMsgBusEndpointResponse) Reset() { *m = GetMsgBusEndpointResponse{} }
1218func (m *GetMsgBusEndpointResponse) String() string { return proto.CompactTextString(m) }
1219func (*GetMsgBusEndpointResponse) ProtoMessage() {}
1220func (*GetMsgBusEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001221 return fileDescriptor_eae902e73066286d, []int{15}
amit.ghosh188a84f2020-09-27 20:59:25 +02001222}
1223
1224func (m *GetMsgBusEndpointResponse) XXX_Unmarshal(b []byte) error {
1225 return xxx_messageInfo_GetMsgBusEndpointResponse.Unmarshal(m, b)
1226}
1227func (m *GetMsgBusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1228 return xxx_messageInfo_GetMsgBusEndpointResponse.Marshal(b, m, deterministic)
1229}
1230func (m *GetMsgBusEndpointResponse) XXX_Merge(src proto.Message) {
1231 xxx_messageInfo_GetMsgBusEndpointResponse.Merge(m, src)
1232}
1233func (m *GetMsgBusEndpointResponse) XXX_Size() int {
1234 return xxx_messageInfo_GetMsgBusEndpointResponse.Size(m)
1235}
1236func (m *GetMsgBusEndpointResponse) XXX_DiscardUnknown() {
1237 xxx_messageInfo_GetMsgBusEndpointResponse.DiscardUnknown(m)
1238}
1239
1240var xxx_messageInfo_GetMsgBusEndpointResponse proto.InternalMessageInfo
1241
1242func (m *GetMsgBusEndpointResponse) GetStatus() Status {
1243 if m != nil {
1244 return m.Status
1245 }
1246 return Status_UNDEFINED_STATUS
1247}
1248
amit.ghoshae473032021-01-10 11:59:10 +01001249func (m *GetMsgBusEndpointResponse) GetReason() GetMsgBusEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001250 if m != nil {
1251 return m.Reason
1252 }
amit.ghoshae473032021-01-10 11:59:10 +01001253 return GetMsgBusEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001254}
1255
1256func (m *GetMsgBusEndpointResponse) GetMsgbusEndpoint() string {
1257 if m != nil {
1258 return m.MsgbusEndpoint
1259 }
1260 return ""
1261}
1262
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001263func (m *GetMsgBusEndpointResponse) GetReasonDetail() string {
1264 if m != nil {
1265 return m.ReasonDetail
1266 }
1267 return ""
1268}
1269
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001270type EntitiesLogLevel struct {
1271 LogLevel LogLevel `protobuf:"varint,1,opt,name=logLevel,proto3,enum=dmi.LogLevel" json:"logLevel,omitempty"`
1272 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1273 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1274 XXX_unrecognized []byte `json:"-"`
1275 XXX_sizecache int32 `json:"-"`
1276}
1277
1278func (m *EntitiesLogLevel) Reset() { *m = EntitiesLogLevel{} }
1279func (m *EntitiesLogLevel) String() string { return proto.CompactTextString(m) }
1280func (*EntitiesLogLevel) ProtoMessage() {}
1281func (*EntitiesLogLevel) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001282 return fileDescriptor_eae902e73066286d, []int{16}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001283}
1284
1285func (m *EntitiesLogLevel) XXX_Unmarshal(b []byte) error {
1286 return xxx_messageInfo_EntitiesLogLevel.Unmarshal(m, b)
1287}
1288func (m *EntitiesLogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1289 return xxx_messageInfo_EntitiesLogLevel.Marshal(b, m, deterministic)
1290}
1291func (m *EntitiesLogLevel) XXX_Merge(src proto.Message) {
1292 xxx_messageInfo_EntitiesLogLevel.Merge(m, src)
1293}
1294func (m *EntitiesLogLevel) XXX_Size() int {
1295 return xxx_messageInfo_EntitiesLogLevel.Size(m)
1296}
1297func (m *EntitiesLogLevel) XXX_DiscardUnknown() {
1298 xxx_messageInfo_EntitiesLogLevel.DiscardUnknown(m)
1299}
1300
1301var xxx_messageInfo_EntitiesLogLevel proto.InternalMessageInfo
1302
1303func (m *EntitiesLogLevel) GetLogLevel() LogLevel {
1304 if m != nil {
1305 return m.LogLevel
1306 }
1307 return LogLevel_TRACE
1308}
1309
1310func (m *EntitiesLogLevel) GetEntities() []string {
1311 if m != nil {
1312 return m.Entities
1313 }
1314 return nil
1315}
1316
1317type SetLogLevelRequest struct {
1318 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1319 Loglevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=loglevels,proto3" json:"loglevels,omitempty"`
1320 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1321 XXX_unrecognized []byte `json:"-"`
1322 XXX_sizecache int32 `json:"-"`
1323}
1324
1325func (m *SetLogLevelRequest) Reset() { *m = SetLogLevelRequest{} }
1326func (m *SetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1327func (*SetLogLevelRequest) ProtoMessage() {}
1328func (*SetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001329 return fileDescriptor_eae902e73066286d, []int{17}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001330}
1331
1332func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1333 return xxx_messageInfo_SetLogLevelRequest.Unmarshal(m, b)
1334}
1335func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1336 return xxx_messageInfo_SetLogLevelRequest.Marshal(b, m, deterministic)
1337}
1338func (m *SetLogLevelRequest) XXX_Merge(src proto.Message) {
1339 xxx_messageInfo_SetLogLevelRequest.Merge(m, src)
1340}
1341func (m *SetLogLevelRequest) XXX_Size() int {
1342 return xxx_messageInfo_SetLogLevelRequest.Size(m)
1343}
1344func (m *SetLogLevelRequest) XXX_DiscardUnknown() {
1345 xxx_messageInfo_SetLogLevelRequest.DiscardUnknown(m)
1346}
1347
1348var xxx_messageInfo_SetLogLevelRequest proto.InternalMessageInfo
1349
1350func (m *SetLogLevelRequest) GetDeviceUuid() *Uuid {
1351 if m != nil {
1352 return m.DeviceUuid
1353 }
1354 return nil
1355}
1356
1357func (m *SetLogLevelRequest) GetLoglevels() []*EntitiesLogLevel {
1358 if m != nil {
1359 return m.Loglevels
1360 }
1361 return nil
1362}
1363
1364type SetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001365 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1366 Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1367 Reason SetLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.SetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001368 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001369 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1370 XXX_unrecognized []byte `json:"-"`
1371 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001372}
1373
1374func (m *SetLogLevelResponse) Reset() { *m = SetLogLevelResponse{} }
1375func (m *SetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1376func (*SetLogLevelResponse) ProtoMessage() {}
1377func (*SetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001378 return fileDescriptor_eae902e73066286d, []int{18}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001379}
1380
1381func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1382 return xxx_messageInfo_SetLogLevelResponse.Unmarshal(m, b)
1383}
1384func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1385 return xxx_messageInfo_SetLogLevelResponse.Marshal(b, m, deterministic)
1386}
1387func (m *SetLogLevelResponse) XXX_Merge(src proto.Message) {
1388 xxx_messageInfo_SetLogLevelResponse.Merge(m, src)
1389}
1390func (m *SetLogLevelResponse) XXX_Size() int {
1391 return xxx_messageInfo_SetLogLevelResponse.Size(m)
1392}
1393func (m *SetLogLevelResponse) XXX_DiscardUnknown() {
1394 xxx_messageInfo_SetLogLevelResponse.DiscardUnknown(m)
1395}
1396
1397var xxx_messageInfo_SetLogLevelResponse proto.InternalMessageInfo
1398
amit.ghosh5d97dba2020-11-12 16:45:27 +01001399func (m *SetLogLevelResponse) GetDeviceUuid() *Uuid {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001400 if m != nil {
1401 return m.DeviceUuid
1402 }
1403 return nil
1404}
1405
amit.ghosh5d97dba2020-11-12 16:45:27 +01001406func (m *SetLogLevelResponse) GetStatus() Status {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001407 if m != nil {
1408 return m.Status
1409 }
1410 return Status_UNDEFINED_STATUS
1411}
1412
amit.ghoshae473032021-01-10 11:59:10 +01001413func (m *SetLogLevelResponse) GetReason() SetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001414 if m != nil {
1415 return m.Reason
1416 }
amit.ghoshae473032021-01-10 11:59:10 +01001417 return SetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001418}
1419
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001420func (m *SetLogLevelResponse) GetReasonDetail() string {
1421 if m != nil {
1422 return m.ReasonDetail
1423 }
1424 return ""
1425}
1426
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001427type GetLogLevelRequest struct {
1428 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1429 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1430 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1431 XXX_unrecognized []byte `json:"-"`
1432 XXX_sizecache int32 `json:"-"`
1433}
1434
1435func (m *GetLogLevelRequest) Reset() { *m = GetLogLevelRequest{} }
1436func (m *GetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1437func (*GetLogLevelRequest) ProtoMessage() {}
1438func (*GetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001439 return fileDescriptor_eae902e73066286d, []int{19}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001440}
1441
1442func (m *GetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1443 return xxx_messageInfo_GetLogLevelRequest.Unmarshal(m, b)
1444}
1445func (m *GetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1446 return xxx_messageInfo_GetLogLevelRequest.Marshal(b, m, deterministic)
1447}
1448func (m *GetLogLevelRequest) XXX_Merge(src proto.Message) {
1449 xxx_messageInfo_GetLogLevelRequest.Merge(m, src)
1450}
1451func (m *GetLogLevelRequest) XXX_Size() int {
1452 return xxx_messageInfo_GetLogLevelRequest.Size(m)
1453}
1454func (m *GetLogLevelRequest) XXX_DiscardUnknown() {
1455 xxx_messageInfo_GetLogLevelRequest.DiscardUnknown(m)
1456}
1457
1458var xxx_messageInfo_GetLogLevelRequest proto.InternalMessageInfo
1459
1460func (m *GetLogLevelRequest) GetDeviceUuid() *Uuid {
1461 if m != nil {
1462 return m.DeviceUuid
1463 }
1464 return nil
1465}
1466
1467func (m *GetLogLevelRequest) GetEntities() []string {
1468 if m != nil {
1469 return m.Entities
1470 }
1471 return nil
1472}
1473
1474type GetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001475 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1476 LogLevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=logLevels,proto3" json:"logLevels,omitempty"`
1477 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1478 Reason GetLogLevelResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.GetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001479 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001480 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1481 XXX_unrecognized []byte `json:"-"`
1482 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001483}
1484
1485func (m *GetLogLevelResponse) Reset() { *m = GetLogLevelResponse{} }
1486func (m *GetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1487func (*GetLogLevelResponse) ProtoMessage() {}
1488func (*GetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001489 return fileDescriptor_eae902e73066286d, []int{20}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001490}
1491
1492func (m *GetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1493 return xxx_messageInfo_GetLogLevelResponse.Unmarshal(m, b)
1494}
1495func (m *GetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1496 return xxx_messageInfo_GetLogLevelResponse.Marshal(b, m, deterministic)
1497}
1498func (m *GetLogLevelResponse) XXX_Merge(src proto.Message) {
1499 xxx_messageInfo_GetLogLevelResponse.Merge(m, src)
1500}
1501func (m *GetLogLevelResponse) XXX_Size() int {
1502 return xxx_messageInfo_GetLogLevelResponse.Size(m)
1503}
1504func (m *GetLogLevelResponse) XXX_DiscardUnknown() {
1505 xxx_messageInfo_GetLogLevelResponse.DiscardUnknown(m)
1506}
1507
1508var xxx_messageInfo_GetLogLevelResponse proto.InternalMessageInfo
1509
1510func (m *GetLogLevelResponse) GetDeviceUuid() *Uuid {
1511 if m != nil {
1512 return m.DeviceUuid
1513 }
1514 return nil
1515}
1516
1517func (m *GetLogLevelResponse) GetLogLevels() []*EntitiesLogLevel {
1518 if m != nil {
1519 return m.LogLevels
1520 }
1521 return nil
1522}
1523
1524func (m *GetLogLevelResponse) GetStatus() Status {
1525 if m != nil {
1526 return m.Status
1527 }
1528 return Status_UNDEFINED_STATUS
1529}
1530
amit.ghoshae473032021-01-10 11:59:10 +01001531func (m *GetLogLevelResponse) GetReason() GetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001532 if m != nil {
1533 return m.Reason
1534 }
amit.ghoshae473032021-01-10 11:59:10 +01001535 return GetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001536}
1537
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001538func (m *GetLogLevelResponse) GetReasonDetail() string {
1539 if m != nil {
1540 return m.ReasonDetail
1541 }
1542 return ""
1543}
1544
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001545type GetLoggableEntitiesRequest struct {
1546 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1547 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1548 XXX_unrecognized []byte `json:"-"`
1549 XXX_sizecache int32 `json:"-"`
1550}
1551
1552func (m *GetLoggableEntitiesRequest) Reset() { *m = GetLoggableEntitiesRequest{} }
1553func (m *GetLoggableEntitiesRequest) String() string { return proto.CompactTextString(m) }
1554func (*GetLoggableEntitiesRequest) ProtoMessage() {}
1555func (*GetLoggableEntitiesRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001556 return fileDescriptor_eae902e73066286d, []int{21}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001557}
1558
1559func (m *GetLoggableEntitiesRequest) XXX_Unmarshal(b []byte) error {
1560 return xxx_messageInfo_GetLoggableEntitiesRequest.Unmarshal(m, b)
1561}
1562func (m *GetLoggableEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1563 return xxx_messageInfo_GetLoggableEntitiesRequest.Marshal(b, m, deterministic)
1564}
1565func (m *GetLoggableEntitiesRequest) XXX_Merge(src proto.Message) {
1566 xxx_messageInfo_GetLoggableEntitiesRequest.Merge(m, src)
1567}
1568func (m *GetLoggableEntitiesRequest) XXX_Size() int {
1569 return xxx_messageInfo_GetLoggableEntitiesRequest.Size(m)
1570}
1571func (m *GetLoggableEntitiesRequest) XXX_DiscardUnknown() {
1572 xxx_messageInfo_GetLoggableEntitiesRequest.DiscardUnknown(m)
1573}
1574
1575var xxx_messageInfo_GetLoggableEntitiesRequest proto.InternalMessageInfo
1576
1577func (m *GetLoggableEntitiesRequest) GetDeviceUuid() *Uuid {
1578 if m != nil {
1579 return m.DeviceUuid
1580 }
1581 return nil
1582}
1583
Amit Ghosh09f28362020-06-12 21:52:19 +01001584func init() {
amit.ghoshae473032021-01-10 11:59:10 +01001585 proto.RegisterEnum("dmi.PhysicalInventoryResponse_Reason", PhysicalInventoryResponse_Reason_name, PhysicalInventoryResponse_Reason_value)
1586 proto.RegisterEnum("dmi.HWComponentInfoGetResponse_Reason", HWComponentInfoGetResponse_Reason_name, HWComponentInfoGetResponse_Reason_value)
1587 proto.RegisterEnum("dmi.HWComponentInfoSetResponse_Reason", HWComponentInfoSetResponse_Reason_name, HWComponentInfoSetResponse_Reason_value)
1588 proto.RegisterEnum("dmi.StartManagingDeviceResponse_Reason", StartManagingDeviceResponse_Reason_name, StartManagingDeviceResponse_Reason_value)
1589 proto.RegisterEnum("dmi.StopManagingDeviceResponse_Reason", StopManagingDeviceResponse_Reason_name, StopManagingDeviceResponse_Reason_value)
amit.ghosh0c687412021-03-24 19:01:08 +01001590 proto.RegisterEnum("dmi.ManagedDevicesResponse_Reason", ManagedDevicesResponse_Reason_name, ManagedDevicesResponse_Reason_value)
amit.ghoshae473032021-01-10 11:59:10 +01001591 proto.RegisterEnum("dmi.SetRemoteEndpointResponse_Reason", SetRemoteEndpointResponse_Reason_name, SetRemoteEndpointResponse_Reason_value)
1592 proto.RegisterEnum("dmi.GetLoggingEndpointResponse_Reason", GetLoggingEndpointResponse_Reason_name, GetLoggingEndpointResponse_Reason_value)
1593 proto.RegisterEnum("dmi.GetMsgBusEndpointResponse_Reason", GetMsgBusEndpointResponse_Reason_name, GetMsgBusEndpointResponse_Reason_value)
1594 proto.RegisterEnum("dmi.SetLogLevelResponse_Reason", SetLogLevelResponse_Reason_name, SetLogLevelResponse_Reason_value)
1595 proto.RegisterEnum("dmi.GetLogLevelResponse_Reason", GetLogLevelResponse_Reason_name, GetLogLevelResponse_Reason_value)
Amit Ghosh09f28362020-06-12 21:52:19 +01001596 proto.RegisterType((*PhysicalInventoryRequest)(nil), "dmi.PhysicalInventoryRequest")
1597 proto.RegisterType((*PhysicalInventoryResponse)(nil), "dmi.PhysicalInventoryResponse")
1598 proto.RegisterType((*HWComponentInfoGetRequest)(nil), "dmi.HWComponentInfoGetRequest")
aghoshc301dcd2020-09-03 16:55:34 +01001599 proto.RegisterType((*HWComponentInfoGetResponse)(nil), "dmi.HWComponentInfoGetResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001600 proto.RegisterType((*HWComponentInfoSetRequest)(nil), "dmi.HWComponentInfoSetRequest")
1601 proto.RegisterType((*HWComponentInfoSetResponse)(nil), "dmi.HWComponentInfoSetResponse")
1602 proto.RegisterType((*StartManagingDeviceResponse)(nil), "dmi.StartManagingDeviceResponse")
Amit Ghosh366228e2020-07-06 13:46:42 +01001603 proto.RegisterType((*StopManagingDeviceRequest)(nil), "dmi.StopManagingDeviceRequest")
1604 proto.RegisterType((*StopManagingDeviceResponse)(nil), "dmi.StopManagingDeviceResponse")
amit.ghosh0c687412021-03-24 19:01:08 +01001605 proto.RegisterType((*ManagedDeviceInfo)(nil), "dmi.ManagedDeviceInfo")
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001606 proto.RegisterType((*ManagedDevicesResponse)(nil), "dmi.ManagedDevicesResponse")
amit.ghosh188a84f2020-09-27 20:59:25 +02001607 proto.RegisterType((*SetLoggingEndpointRequest)(nil), "dmi.SetLoggingEndpointRequest")
1608 proto.RegisterType((*SetRemoteEndpointResponse)(nil), "dmi.SetRemoteEndpointResponse")
1609 proto.RegisterType((*GetLoggingEndpointResponse)(nil), "dmi.GetLoggingEndpointResponse")
1610 proto.RegisterType((*SetMsgBusEndpointRequest)(nil), "dmi.SetMsgBusEndpointRequest")
1611 proto.RegisterType((*GetMsgBusEndpointResponse)(nil), "dmi.GetMsgBusEndpointResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001612 proto.RegisterType((*EntitiesLogLevel)(nil), "dmi.EntitiesLogLevel")
1613 proto.RegisterType((*SetLogLevelRequest)(nil), "dmi.SetLogLevelRequest")
1614 proto.RegisterType((*SetLogLevelResponse)(nil), "dmi.SetLogLevelResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001615 proto.RegisterType((*GetLogLevelRequest)(nil), "dmi.GetLogLevelRequest")
1616 proto.RegisterType((*GetLogLevelResponse)(nil), "dmi.GetLogLevelResponse")
1617 proto.RegisterType((*GetLoggableEntitiesRequest)(nil), "dmi.GetLoggableEntitiesRequest")
Amit Ghosh09f28362020-06-12 21:52:19 +01001618}
1619
1620func init() { proto.RegisterFile("dmi/hw_management_service.proto", fileDescriptor_eae902e73066286d) }
1621
1622var fileDescriptor_eae902e73066286d = []byte{
amit.ghosh0c687412021-03-24 19:01:08 +01001623 // 1432 bytes of a gzipped FileDescriptorProto
1624 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6e, 0xdb, 0xc6,
1625 0x16, 0xbe, 0x24, 0x65, 0x27, 0x3a, 0x4a, 0x1c, 0x79, 0x92, 0xf8, 0x4a, 0x0c, 0x62, 0xfb, 0x32,
1626 0xc8, 0x8d, 0x73, 0x6f, 0x22, 0x19, 0xca, 0xa2, 0x68, 0x8b, 0xfe, 0xc8, 0x16, 0x43, 0xab, 0x91,
1627 0x48, 0x61, 0x28, 0xc7, 0x48, 0x51, 0x54, 0xa0, 0xa5, 0xb1, 0x4c, 0x40, 0x24, 0x55, 0x91, 0x52,
1628 0xe0, 0x07, 0xe8, 0xa2, 0x8f, 0xd0, 0x45, 0x81, 0xbe, 0x41, 0xd1, 0x2e, 0x8b, 0xbe, 0x41, 0xb7,
1629 0x5d, 0x15, 0x05, 0x8a, 0x3e, 0x42, 0xdf, 0xa0, 0xd0, 0x0c, 0xa9, 0x1f, 0x8a, 0x94, 0x64, 0x39,
1630 0x45, 0xb3, 0x93, 0x66, 0xce, 0x7c, 0x73, 0xe6, 0x7c, 0xdf, 0x1c, 0x9e, 0x39, 0xb0, 0xd3, 0xb2,
1631 0xcc, 0xfc, 0xf9, 0xeb, 0x86, 0x65, 0xd8, 0x46, 0x9b, 0x58, 0xc4, 0xf6, 0x1a, 0x2e, 0xe9, 0x0d,
1632 0xcc, 0x26, 0xc9, 0x75, 0x7b, 0x8e, 0xe7, 0x20, 0xa1, 0x65, 0x99, 0xe2, 0xe6, 0xd0, 0xaa, 0xe9,
1633 0x58, 0x96, 0x63, 0xbb, 0x6c, 0x5c, 0xbc, 0xc1, 0x16, 0xfa, 0xff, 0xee, 0xb5, 0x1d, 0xa7, 0xdd,
1634 0x21, 0x79, 0xfa, 0xef, 0xb4, 0x7f, 0x96, 0x27, 0x56, 0xd7, 0xbb, 0x60, 0x93, 0xd2, 0x73, 0xc8,
1635 0xd4, 0xce, 0x2f, 0x5c, 0xb3, 0x69, 0x74, 0xca, 0xf6, 0x80, 0xd8, 0x9e, 0xd3, 0xbb, 0xc0, 0xe4,
1636 0x8b, 0x3e, 0x71, 0x3d, 0xf4, 0x3f, 0x48, 0xb5, 0xc8, 0x70, 0xbb, 0x46, 0xbf, 0x6f, 0xb6, 0x32,
1637 0xdc, 0x2e, 0xb7, 0x97, 0x2a, 0x24, 0x73, 0x2d, 0xcb, 0xcc, 0x1d, 0xf7, 0xcd, 0x16, 0x06, 0x36,
1638 0x3b, 0xfc, 0x2d, 0x7d, 0xcf, 0x43, 0x36, 0x02, 0xc8, 0xed, 0x3a, 0xb6, 0x4b, 0xd0, 0x03, 0x58,
1639 0x77, 0x3d, 0xc3, 0xeb, 0xbb, 0x14, 0x64, 0xa3, 0x90, 0xa2, 0x20, 0x3a, 0x1d, 0xc2, 0xfe, 0x14,
1640 0xfa, 0x00, 0xd6, 0x7b, 0xc4, 0x70, 0x1d, 0x3b, 0xc3, 0x53, 0xa3, 0x87, 0xd4, 0x28, 0x16, 0x34,
1641 0x87, 0xa9, 0x31, 0xf6, 0x17, 0xa1, 0xff, 0x43, 0xd2, 0x0c, 0x6c, 0x32, 0x02, 0xf5, 0xf5, 0x26,
1642 0x45, 0x38, 0x32, 0x7a, 0xad, 0xd7, 0x46, 0x8f, 0xe0, 0xf1, 0x3c, 0x7a, 0x00, 0x37, 0xd9, 0xb2,
1643 0x46, 0x8b, 0x78, 0x86, 0xd9, 0xc9, 0x24, 0x76, 0xb9, 0xbd, 0x24, 0xbe, 0xc1, 0x06, 0x4b, 0x74,
1644 0x4c, 0xfa, 0x1c, 0xd6, 0xd9, 0x1e, 0xe8, 0x0e, 0xa4, 0x8f, 0xd5, 0x92, 0xfc, 0xbc, 0xac, 0xca,
1645 0xa5, 0x06, 0x96, 0x8b, 0xba, 0xa6, 0xa6, 0xff, 0x85, 0x10, 0x6c, 0x1c, 0xab, 0x2f, 0x54, 0xed,
1646 0x44, 0x6d, 0x94, 0xe4, 0x97, 0xe5, 0x43, 0x39, 0xcd, 0x0d, 0xc7, 0xca, 0x6a, 0x5d, 0xc6, 0x6a,
1647 0xb1, 0xd2, 0x90, 0x31, 0xd6, 0x70, 0x9a, 0x47, 0x5b, 0x80, 0xd8, 0x7c, 0xe3, 0x58, 0xc5, 0x72,
1648 0xf1, 0xf0, 0xa8, 0x78, 0x50, 0x91, 0xd3, 0x82, 0xf4, 0x2d, 0x07, 0xd9, 0xa3, 0x93, 0x43, 0xc7,
1649 0xea, 0x3a, 0x36, 0xb1, 0xbd, 0xb2, 0x7d, 0xe6, 0x28, 0xc4, 0x5b, 0x21, 0xfa, 0x68, 0x1f, 0x36,
1650 0x9a, 0x01, 0x0c, 0x33, 0xe7, 0xc3, 0xe6, 0x37, 0x47, 0x06, 0x74, 0xc5, 0xc3, 0xc9, 0x15, 0xb6,
1651 0x61, 0x11, 0x1a, 0xb2, 0xe4, 0x84, 0x99, 0x6a, 0x58, 0x44, 0xfa, 0x99, 0x07, 0x31, 0xca, 0xc5,
1652 0xcb, 0xf0, 0xfa, 0x61, 0x88, 0xd7, 0xff, 0x32, 0x56, 0x62, 0x51, 0xc3, 0xc4, 0x3e, 0x81, 0xe4,
1653 0xc8, 0x29, 0x9f, 0xd8, 0x0d, 0x0a, 0x31, 0x02, 0xc0, 0x63, 0x83, 0xe5, 0x98, 0xed, 0xaf, 0xc0,
1654 0xec, 0x5d, 0xd8, 0x0c, 0xc6, 0x0e, 0xb5, 0x6a, 0x4d, 0x53, 0x65, 0xb5, 0x9e, 0xe6, 0x23, 0x08,
1655 0x17, 0x62, 0x08, 0x4f, 0x48, 0xbf, 0xcc, 0x12, 0xae, 0xbf, 0x5d, 0x84, 0xa3, 0x02, 0x5c, 0x6b,
1656 0x9e, 0x1b, 0x76, 0x9b, 0xb8, 0x34, 0x70, 0xa9, 0x42, 0x86, 0x22, 0x56, 0x9d, 0x96, 0x79, 0x66,
1657 0x1a, 0xa7, 0x1d, 0x32, 0x0e, 0x7a, 0x60, 0x28, 0xfd, 0x30, 0x2b, 0x12, 0xfd, 0x6f, 0x11, 0x89,
1658 0x1e, 0x2f, 0x92, 0x19, 0xda, 0x85, 0x08, 0xda, 0xbf, 0xe2, 0xde, 0x30, 0xef, 0x2f, 0x8b, 0x95,
1659 0x72, 0xa9, 0x51, 0x2b, 0xe2, 0x62, 0x55, 0x4f, 0x0b, 0x11, 0x5a, 0x48, 0xc4, 0x68, 0x61, 0x4d,
1660 0xfa, 0x8d, 0x87, 0x7b, 0xba, 0x67, 0xf4, 0xbc, 0xea, 0x30, 0xbb, 0x9b, 0x76, 0xbb, 0x44, 0xd9,
1661 0xbd, 0x5c, 0xd4, 0x3e, 0x0a, 0x45, 0xed, 0x51, 0x60, 0x14, 0x07, 0x1b, 0x0e, 0x5b, 0x48, 0x73,
1662 0xc2, 0x3c, 0xcd, 0x2d, 0x75, 0xb3, 0xbe, 0x5c, 0x14, 0x62, 0x11, 0xb6, 0xfc, 0x78, 0x14, 0x2b,
1663 0x58, 0x2e, 0x96, 0x5e, 0x35, 0xaa, 0x45, 0xb5, 0xa8, 0xc8, 0xa5, 0x34, 0x87, 0xfe, 0x03, 0xf7,
1664 0xb5, 0x9a, 0x8c, 0x8b, 0xf5, 0xb2, 0xa6, 0x8e, 0xa6, 0xcb, 0x6a, 0xa3, 0x86, 0x35, 0x05, 0xcb,
1665 0xba, 0xbe, 0x7c, 0xd8, 0xa5, 0x3c, 0x64, 0x75, 0xcf, 0xe9, 0x86, 0xa3, 0xc0, 0x6e, 0x1a, 0x82,
1666 0x04, 0xbd, 0x01, 0x1c, 0x3d, 0x00, 0xfd, 0x2d, 0xfd, 0xca, 0x81, 0x18, 0xb5, 0xe2, 0xea, 0x22,
1667 0x8e, 0x47, 0x5d, 0x49, 0xc4, 0x85, 0xcb, 0x6b, 0x58, 0xb2, 0x60, 0x93, 0x7a, 0x40, 0x5a, 0xcc,
1668 0x81, 0xe1, 0x65, 0x42, 0x4f, 0x20, 0x61, 0xda, 0x67, 0x8e, 0x9f, 0x68, 0xe2, 0xef, 0x39, 0xb5,
1669 0x0a, 0x2b, 0x85, 0x9f, 0x57, 0x0c, 0xfc, 0xce, 0xc1, 0xd6, 0xd4, 0x7e, 0xee, 0xe5, 0xe2, 0xf8,
1670 0x5e, 0x28, 0x8e, 0x12, 0xf3, 0x2d, 0x12, 0x31, 0x1c, 0xc3, 0x7d, 0xb8, 0xc6, 0x3c, 0x71, 0x33,
1671 0xc2, 0xae, 0xb0, 0x97, 0x2a, 0x6c, 0xcd, 0x2e, 0x1e, 0x1e, 0x1f, 0x07, 0x66, 0xcb, 0x04, 0x34,
1672 0x24, 0x2f, 0x4e, 0xfa, 0x86, 0x83, 0xac, 0x4e, 0xbc, 0x8a, 0xd3, 0x1e, 0xb2, 0x2a, 0xdb, 0xad,
1673 0xae, 0x63, 0xda, 0x2b, 0x65, 0xf2, 0xc7, 0x90, 0xee, 0x30, 0x94, 0x06, 0xf1, 0x61, 0xe8, 0xa9,
1674 0x93, 0xf8, 0x56, 0x67, 0x1a, 0x7d, 0xd2, 0x94, 0x16, 0x6f, 0x4d, 0x27, 0x50, 0x48, 0x60, 0x5a,
1675 0xf3, 0x87, 0xa5, 0x3f, 0x78, 0xea, 0x1f, 0x26, 0x96, 0xe3, 0x91, 0xb1, 0x7b, 0x57, 0x2f, 0xc7,
1676 0x62, 0x41, 0x57, 0xd2, 0xf2, 0x8f, 0xdc, 0x1b, 0x2a, 0xb1, 0x44, 0xd8, 0xaa, 0x68, 0x8a, 0x52,
1677 0x56, 0x95, 0x86, 0xac, 0x96, 0x6a, 0x5a, 0x59, 0xad, 0x8f, 0xbe, 0xc6, 0x0f, 0x60, 0x67, 0x66,
1678 0xae, 0x86, 0xb5, 0xba, 0x76, 0xa8, 0x8d, 0xd3, 0x74, 0x16, 0xee, 0x56, 0x75, 0xe5, 0xe0, 0x58,
1679 0x0f, 0xaf, 0x5f, 0x8b, 0xc9, 0xe0, 0xeb, 0xc3, 0x0c, 0x2e, 0x2a, 0x11, 0x1a, 0xb8, 0x7a, 0xc6,
1680 0x88, 0x47, 0x0d, 0x47, 0x39, 0x4a, 0x3d, 0xc2, 0xf2, 0xea, 0x49, 0x44, 0xaa, 0x67, 0x96, 0xbb,
1681 0xb5, 0x7f, 0xa0, 0x3a, 0x3e, 0x84, 0x8c, 0x4e, 0xbc, 0xaa, 0xdb, 0x3e, 0xe8, 0xbb, 0xe1, 0x0b,
1682 0xf6, 0x08, 0x6e, 0x59, 0x6e, 0xfb, 0xb4, 0xef, 0x8e, 0x4f, 0xcd, 0x72, 0xf9, 0x06, 0x1b, 0x0e,
1683 0xec, 0xa5, 0xaf, 0x79, 0xc8, 0x2a, 0xb3, 0x28, 0x57, 0xbf, 0x07, 0xb1, 0xa0, 0x61, 0x86, 0x22,
1684 0x5c, 0x15, 0xa2, 0x5c, 0x5d, 0xee, 0xf3, 0xfa, 0xc9, 0xe5, 0x73, 0x55, 0x4c, 0x80, 0x79, 0xe9,
1685 0x15, 0xa4, 0x65, 0xdb, 0x33, 0x3d, 0x93, 0xb8, 0x15, 0xa7, 0x5d, 0x21, 0x03, 0xd2, 0x41, 0x8f,
1686 0xe1, 0x7a, 0xc7, 0xff, 0xed, 0xc7, 0x84, 0xbd, 0xa1, 0x02, 0x03, 0x3c, 0x9a, 0x46, 0x22, 0x5c,
1687 0x27, 0xfe, 0xf2, 0x0c, 0xbf, 0x2b, 0xec, 0x25, 0xf1, 0xe8, 0xbf, 0xd4, 0x07, 0xc4, 0xb2, 0x23,
1688 0x5b, 0xb4, 0x42, 0x5a, 0x7c, 0x06, 0xc9, 0xce, 0xf0, 0xd5, 0x3a, 0x20, 0x1d, 0x06, 0x9f, 0x2a,
1689 0xdc, 0xa5, 0x96, 0x61, 0x97, 0xf1, 0xd8, 0x4e, 0xfa, 0x89, 0x87, 0xdb, 0x53, 0xfb, 0xfa, 0x3c,
1690 0x5f, 0x66, 0xe3, 0xb1, 0x26, 0xf8, 0x78, 0x4d, 0xbc, 0x33, 0xd2, 0x84, 0x40, 0x8d, 0x76, 0x82,
1691 0xdc, 0x18, 0xde, 0x7a, 0x61, 0x56, 0x8c, 0x22, 0x79, 0xf0, 0xe6, 0x6e, 0x56, 0x60, 0x57, 0xd1,
1692 0x86, 0xc9, 0xaf, 0x5e, 0xae, 0xbf, 0x9a, 0xf3, 0x3c, 0xf9, 0x0c, 0x90, 0x72, 0x35, 0xd6, 0xe6,
1693 0x69, 0xe2, 0x4f, 0x1e, 0x6e, 0x2b, 0x57, 0x24, 0x87, 0xa9, 0xa2, 0xb2, 0xa4, 0x2a, 0x98, 0xdd,
1694 0x04, 0xa3, 0xc2, 0x32, 0x8c, 0x26, 0x26, 0x18, 0x55, 0x56, 0x60, 0x74, 0xed, 0x2d, 0x62, 0xf4,
1695 0x68, 0xf4, 0x85, 0x1a, 0x96, 0x74, 0x41, 0x90, 0x56, 0x60, 0xb6, 0xf0, 0xdd, 0x75, 0xc8, 0xaa,
1696 0x86, 0x67, 0x0e, 0xc8, 0xd1, 0x49, 0x75, 0xd4, 0x8f, 0xd2, 0x59, 0x3b, 0x0a, 0xe9, 0x70, 0x3b,
1697 0xe2, 0xd1, 0x81, 0x62, 0x6b, 0x4a, 0x71, 0x77, 0xd1, 0x43, 0x65, 0x9f, 0x43, 0xc7, 0x80, 0x66,
1698 0x4b, 0x67, 0xb4, 0x1d, 0x5b, 0x53, 0xd3, 0x43, 0x89, 0x3b, 0x0b, 0x6a, 0x6e, 0x74, 0x04, 0x9b,
1699 0xc3, 0xe4, 0x3d, 0x55, 0x4c, 0xa2, 0xad, 0x1c, 0x6b, 0x92, 0xe5, 0x82, 0x26, 0x59, 0x4e, 0xb6,
1700 0xba, 0xde, 0x85, 0x78, 0x6f, 0x4e, 0xe5, 0x89, 0x4e, 0xe0, 0x8e, 0x42, 0xbc, 0x99, 0x06, 0x15,
1701 0xba, 0x1f, 0xd7, 0xb8, 0x62, 0x1e, 0x6e, 0xcf, 0xef, 0x6b, 0xed, 0x73, 0xe8, 0x84, 0x5e, 0xc4,
1702 0xd0, 0xe3, 0xd7, 0x3f, 0x79, 0x6c, 0xc3, 0xc8, 0x3f, 0x79, 0x7c, 0x5f, 0xc5, 0x0f, 0xe9, 0x92,
1703 0xc0, 0xfa, 0x02, 0xe0, 0xc9, 0x17, 0x7e, 0x3d, 0x48, 0xf7, 0x53, 0x05, 0xc7, 0xf6, 0x44, 0x52,
1704 0x8c, 0xa8, 0x92, 0xc5, 0xed, 0xf9, 0x05, 0x25, 0x7a, 0x1e, 0xa4, 0xa3, 0x29, 0xd4, 0x5b, 0x53,
1705 0x3d, 0xbd, 0x72, 0x49, 0xdc, 0x59, 0x50, 0x32, 0x21, 0x0c, 0x9b, 0x33, 0x85, 0x84, 0xcf, 0x51,
1706 0x5c, 0x81, 0xb1, 0xd0, 0xb7, 0x17, 0x4c, 0x44, 0xd3, 0x98, 0x71, 0x22, 0xda, 0x9e, 0x5f, 0x31,
1707 0xa0, 0x5a, 0x90, 0x18, 0xa7, 0x6e, 0x29, 0x9a, 0x3a, 0x58, 0xc4, 0xfd, 0x15, 0x33, 0x71, 0x39,
1708 0x0a, 0x7d, 0x0c, 0xa9, 0x89, 0x8f, 0x11, 0xfa, 0xf7, 0xec, 0xe7, 0x69, 0x12, 0x41, 0x8f, 0x46,
1709 0x50, 0x66, 0x10, 0x94, 0x38, 0x84, 0x08, 0x1f, 0x0e, 0xde, 0xff, 0xf4, 0xdd, 0xb6, 0xe9, 0x9d,
1710 0xf7, 0x4f, 0x73, 0x4d, 0xc7, 0xca, 0x3b, 0x5d, 0x62, 0x37, 0x9d, 0x5e, 0x2b, 0xcf, 0x72, 0xca,
1711 0xd3, 0x71, 0x4f, 0xfb, 0xa9, 0x69, 0x7b, 0xa4, 0x77, 0x66, 0x34, 0x49, 0x7e, 0xf0, 0x2c, 0xdf,
1712 0x76, 0xf2, 0x2d, 0xcb, 0x3c, 0x5d, 0xa7, 0x21, 0x7c, 0xf6, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff,
1713 0x54, 0xa0, 0x5f, 0x10, 0x03, 0x17, 0x00, 0x00,
Amit Ghosh09f28362020-06-12 21:52:19 +01001714}
1715
1716// Reference imports to suppress errors if they are not otherwise used.
1717var _ context.Context
1718var _ grpc.ClientConn
1719
1720// This is a compile-time assertion to ensure that this generated file
1721// is compatible with the grpc package it is being compiled against.
1722const _ = grpc.SupportPackageIsVersion4
1723
1724// NativeHWManagementServiceClient is the client API for NativeHWManagementService service.
1725//
1726// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1727type NativeHWManagementServiceClient interface {
1728 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001729 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1730 // and their meanings in this context is mentioned below:
1731 // name = The unique name that needs to be assigned to this hardware;
1732 // class = COMPONENT_TYPE_UNDEFINED;
1733 // parent = nil;
1734 // alias = Optional;
1735 // asset_id = Optional;
1736 // uri = IP Address of the Hardware;
1737 StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error)
Amit Ghosh366228e2020-07-06 13:46:42 +01001738 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001739 // This rpc can be called at any time, even before the StartManagingDevice operation
1740 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001741 StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001742 // Returns an object containing a list of devices managed by this entity
1743 GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001744 // Get the HW inventory details of the Device
1745 GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error)
1746 // Get the details of a particular HW component
1747 GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error)
1748 // Sets the permissible attributes of a HW component
1749 SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001750 // Sets the location to which logs need to be shipped
1751 SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1752 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001753 GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001754 // Sets the location of the Message Bus to which events and metrics are shipped
1755 SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1756 // Gets the configured location to which the events and metrics are being shipped
1757 GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001758 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1759 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1760 // interface, package etc.
1761 GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01001762 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001763 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
1764 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
1765 SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
1766 // Gets the configured log level for a certain entity on a certain device.
1767 // If no entity is specified in the request all the entities with their log level should be returned.
1768 GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001769}
1770
1771type nativeHWManagementServiceClient struct {
1772 cc *grpc.ClientConn
1773}
1774
1775func NewNativeHWManagementServiceClient(cc *grpc.ClientConn) NativeHWManagementServiceClient {
1776 return &nativeHWManagementServiceClient{cc}
1777}
1778
Amit Ghosh704462f2020-06-24 16:44:56 +01001779func (c *nativeHWManagementServiceClient) StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error) {
Amit Ghosh09f28362020-06-12 21:52:19 +01001780 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[0], "/dmi.NativeHWManagementService/StartManagingDevice", opts...)
1781 if err != nil {
1782 return nil, err
1783 }
1784 x := &nativeHWManagementServiceStartManagingDeviceClient{stream}
1785 if err := x.ClientStream.SendMsg(in); err != nil {
1786 return nil, err
1787 }
1788 if err := x.ClientStream.CloseSend(); err != nil {
1789 return nil, err
1790 }
1791 return x, nil
1792}
1793
1794type NativeHWManagementService_StartManagingDeviceClient interface {
1795 Recv() (*StartManagingDeviceResponse, error)
1796 grpc.ClientStream
1797}
1798
1799type nativeHWManagementServiceStartManagingDeviceClient struct {
1800 grpc.ClientStream
1801}
1802
1803func (x *nativeHWManagementServiceStartManagingDeviceClient) Recv() (*StartManagingDeviceResponse, error) {
1804 m := new(StartManagingDeviceResponse)
1805 if err := x.ClientStream.RecvMsg(m); err != nil {
1806 return nil, err
1807 }
1808 return m, nil
1809}
1810
Amit Ghosh366228e2020-07-06 13:46:42 +01001811func (c *nativeHWManagementServiceClient) StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) {
1812 out := new(StopManagingDeviceResponse)
1813 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/StopManagingDevice", in, out, opts...)
1814 if err != nil {
1815 return nil, err
1816 }
1817 return out, nil
1818}
1819
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001820func (c *nativeHWManagementServiceClient) GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) {
1821 out := new(ManagedDevicesResponse)
1822 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetManagedDevices", in, out, opts...)
1823 if err != nil {
1824 return nil, err
1825 }
1826 return out, nil
1827}
1828
Amit Ghosh09f28362020-06-12 21:52:19 +01001829func (c *nativeHWManagementServiceClient) GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) {
1830 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[1], "/dmi.NativeHWManagementService/GetPhysicalInventory", opts...)
1831 if err != nil {
1832 return nil, err
1833 }
1834 x := &nativeHWManagementServiceGetPhysicalInventoryClient{stream}
1835 if err := x.ClientStream.SendMsg(in); err != nil {
1836 return nil, err
1837 }
1838 if err := x.ClientStream.CloseSend(); err != nil {
1839 return nil, err
1840 }
1841 return x, nil
1842}
1843
1844type NativeHWManagementService_GetPhysicalInventoryClient interface {
1845 Recv() (*PhysicalInventoryResponse, error)
1846 grpc.ClientStream
1847}
1848
1849type nativeHWManagementServiceGetPhysicalInventoryClient struct {
1850 grpc.ClientStream
1851}
1852
1853func (x *nativeHWManagementServiceGetPhysicalInventoryClient) Recv() (*PhysicalInventoryResponse, error) {
1854 m := new(PhysicalInventoryResponse)
1855 if err := x.ClientStream.RecvMsg(m); err != nil {
1856 return nil, err
1857 }
1858 return m, nil
1859}
1860
1861func (c *nativeHWManagementServiceClient) GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) {
1862 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[2], "/dmi.NativeHWManagementService/GetHWComponentInfo", opts...)
1863 if err != nil {
1864 return nil, err
1865 }
1866 x := &nativeHWManagementServiceGetHWComponentInfoClient{stream}
1867 if err := x.ClientStream.SendMsg(in); err != nil {
1868 return nil, err
1869 }
1870 if err := x.ClientStream.CloseSend(); err != nil {
1871 return nil, err
1872 }
1873 return x, nil
1874}
1875
1876type NativeHWManagementService_GetHWComponentInfoClient interface {
aghoshc301dcd2020-09-03 16:55:34 +01001877 Recv() (*HWComponentInfoGetResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001878 grpc.ClientStream
1879}
1880
1881type nativeHWManagementServiceGetHWComponentInfoClient struct {
1882 grpc.ClientStream
1883}
1884
aghoshc301dcd2020-09-03 16:55:34 +01001885func (x *nativeHWManagementServiceGetHWComponentInfoClient) Recv() (*HWComponentInfoGetResponse, error) {
1886 m := new(HWComponentInfoGetResponse)
Amit Ghosh09f28362020-06-12 21:52:19 +01001887 if err := x.ClientStream.RecvMsg(m); err != nil {
1888 return nil, err
1889 }
1890 return m, nil
1891}
1892
1893func (c *nativeHWManagementServiceClient) SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) {
1894 out := new(HWComponentInfoSetResponse)
1895 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetHWComponentInfo", in, out, opts...)
1896 if err != nil {
1897 return nil, err
1898 }
1899 return out, nil
1900}
1901
amit.ghosh188a84f2020-09-27 20:59:25 +02001902func (c *nativeHWManagementServiceClient) SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
1903 out := new(SetRemoteEndpointResponse)
1904 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLoggingEndpoint", in, out, opts...)
1905 if err != nil {
1906 return nil, err
1907 }
1908 return out, nil
1909}
1910
amit.ghosh5d97dba2020-11-12 16:45:27 +01001911func (c *nativeHWManagementServiceClient) GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error) {
amit.ghosh188a84f2020-09-27 20:59:25 +02001912 out := new(GetLoggingEndpointResponse)
1913 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggingEndpoint", in, out, opts...)
1914 if err != nil {
1915 return nil, err
1916 }
1917 return out, nil
1918}
1919
1920func (c *nativeHWManagementServiceClient) SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
1921 out := new(SetRemoteEndpointResponse)
1922 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetMsgBusEndpoint", in, out, opts...)
1923 if err != nil {
1924 return nil, err
1925 }
1926 return out, nil
1927}
1928
1929func (c *nativeHWManagementServiceClient) GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) {
1930 out := new(GetMsgBusEndpointResponse)
1931 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetMsgBusEndpoint", in, out, opts...)
1932 if err != nil {
1933 return nil, err
1934 }
1935 return out, nil
1936}
1937
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001938func (c *nativeHWManagementServiceClient) GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
1939 out := new(GetLogLevelResponse)
1940 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggableEntities", in, out, opts...)
1941 if err != nil {
1942 return nil, err
1943 }
1944 return out, nil
1945}
1946
1947func (c *nativeHWManagementServiceClient) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) {
1948 out := new(SetLogLevelResponse)
1949 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLogLevel", in, out, opts...)
1950 if err != nil {
1951 return nil, err
1952 }
1953 return out, nil
1954}
1955
1956func (c *nativeHWManagementServiceClient) GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
1957 out := new(GetLogLevelResponse)
1958 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLogLevel", in, out, opts...)
1959 if err != nil {
1960 return nil, err
1961 }
1962 return out, nil
1963}
1964
Amit Ghosh09f28362020-06-12 21:52:19 +01001965// NativeHWManagementServiceServer is the server API for NativeHWManagementService service.
1966type NativeHWManagementServiceServer interface {
1967 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001968 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1969 // and their meanings in this context is mentioned below:
1970 // name = The unique name that needs to be assigned to this hardware;
1971 // class = COMPONENT_TYPE_UNDEFINED;
1972 // parent = nil;
1973 // alias = Optional;
1974 // asset_id = Optional;
1975 // uri = IP Address of the Hardware;
1976 StartManagingDevice(*ModifiableComponent, NativeHWManagementService_StartManagingDeviceServer) error
Amit Ghosh366228e2020-07-06 13:46:42 +01001977 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001978 // This rpc can be called at any time, even before the StartManagingDevice operation
1979 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001980 StopManagingDevice(context.Context, *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001981 // Returns an object containing a list of devices managed by this entity
1982 GetManagedDevices(context.Context, *empty.Empty) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001983 // Get the HW inventory details of the Device
1984 GetPhysicalInventory(*PhysicalInventoryRequest, NativeHWManagementService_GetPhysicalInventoryServer) error
1985 // Get the details of a particular HW component
1986 GetHWComponentInfo(*HWComponentInfoGetRequest, NativeHWManagementService_GetHWComponentInfoServer) error
1987 // Sets the permissible attributes of a HW component
1988 SetHWComponentInfo(context.Context, *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001989 // Sets the location to which logs need to be shipped
1990 SetLoggingEndpoint(context.Context, *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error)
1991 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001992 GetLoggingEndpoint(context.Context, *HardwareID) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001993 // Sets the location of the Message Bus to which events and metrics are shipped
1994 SetMsgBusEndpoint(context.Context, *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error)
1995 // Gets the configured location to which the events and metrics are being shipped
1996 GetMsgBusEndpoint(context.Context, *empty.Empty) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001997 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1998 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1999 // interface, package etc.
2000 GetLoggableEntities(context.Context, *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01002001 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002002 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
2003 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
2004 SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
2005 // Gets the configured log level for a certain entity on a certain device.
2006 // If no entity is specified in the request all the entities with their log level should be returned.
2007 GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002008}
2009
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002010// UnimplementedNativeHWManagementServiceServer can be embedded to have forward compatible implementations.
2011type UnimplementedNativeHWManagementServiceServer struct {
2012}
2013
2014func (*UnimplementedNativeHWManagementServiceServer) StartManagingDevice(req *ModifiableComponent, srv NativeHWManagementService_StartManagingDeviceServer) error {
2015 return status.Errorf(codes.Unimplemented, "method StartManagingDevice not implemented")
2016}
2017func (*UnimplementedNativeHWManagementServiceServer) StopManagingDevice(ctx context.Context, req *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error) {
2018 return nil, status.Errorf(codes.Unimplemented, "method StopManagingDevice not implemented")
2019}
2020func (*UnimplementedNativeHWManagementServiceServer) GetManagedDevices(ctx context.Context, req *empty.Empty) (*ManagedDevicesResponse, error) {
2021 return nil, status.Errorf(codes.Unimplemented, "method GetManagedDevices not implemented")
2022}
2023func (*UnimplementedNativeHWManagementServiceServer) GetPhysicalInventory(req *PhysicalInventoryRequest, srv NativeHWManagementService_GetPhysicalInventoryServer) error {
2024 return status.Errorf(codes.Unimplemented, "method GetPhysicalInventory not implemented")
2025}
2026func (*UnimplementedNativeHWManagementServiceServer) GetHWComponentInfo(req *HWComponentInfoGetRequest, srv NativeHWManagementService_GetHWComponentInfoServer) error {
2027 return status.Errorf(codes.Unimplemented, "method GetHWComponentInfo not implemented")
2028}
2029func (*UnimplementedNativeHWManagementServiceServer) SetHWComponentInfo(ctx context.Context, req *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error) {
2030 return nil, status.Errorf(codes.Unimplemented, "method SetHWComponentInfo not implemented")
2031}
2032func (*UnimplementedNativeHWManagementServiceServer) SetLoggingEndpoint(ctx context.Context, req *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error) {
2033 return nil, status.Errorf(codes.Unimplemented, "method SetLoggingEndpoint not implemented")
2034}
2035func (*UnimplementedNativeHWManagementServiceServer) GetLoggingEndpoint(ctx context.Context, req *HardwareID) (*GetLoggingEndpointResponse, error) {
2036 return nil, status.Errorf(codes.Unimplemented, "method GetLoggingEndpoint not implemented")
2037}
2038func (*UnimplementedNativeHWManagementServiceServer) SetMsgBusEndpoint(ctx context.Context, req *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error) {
2039 return nil, status.Errorf(codes.Unimplemented, "method SetMsgBusEndpoint not implemented")
2040}
2041func (*UnimplementedNativeHWManagementServiceServer) GetMsgBusEndpoint(ctx context.Context, req *empty.Empty) (*GetMsgBusEndpointResponse, error) {
2042 return nil, status.Errorf(codes.Unimplemented, "method GetMsgBusEndpoint not implemented")
2043}
2044func (*UnimplementedNativeHWManagementServiceServer) GetLoggableEntities(ctx context.Context, req *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error) {
2045 return nil, status.Errorf(codes.Unimplemented, "method GetLoggableEntities not implemented")
2046}
2047func (*UnimplementedNativeHWManagementServiceServer) SetLogLevel(ctx context.Context, req *SetLogLevelRequest) (*SetLogLevelResponse, error) {
2048 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2049}
2050func (*UnimplementedNativeHWManagementServiceServer) GetLogLevel(ctx context.Context, req *GetLogLevelRequest) (*GetLogLevelResponse, error) {
2051 return nil, status.Errorf(codes.Unimplemented, "method GetLogLevel not implemented")
2052}
2053
Amit Ghosh09f28362020-06-12 21:52:19 +01002054func RegisterNativeHWManagementServiceServer(s *grpc.Server, srv NativeHWManagementServiceServer) {
2055 s.RegisterService(&_NativeHWManagementService_serviceDesc, srv)
2056}
2057
2058func _NativeHWManagementService_StartManagingDevice_Handler(srv interface{}, stream grpc.ServerStream) error {
Amit Ghosh704462f2020-06-24 16:44:56 +01002059 m := new(ModifiableComponent)
Amit Ghosh09f28362020-06-12 21:52:19 +01002060 if err := stream.RecvMsg(m); err != nil {
2061 return err
2062 }
2063 return srv.(NativeHWManagementServiceServer).StartManagingDevice(m, &nativeHWManagementServiceStartManagingDeviceServer{stream})
2064}
2065
2066type NativeHWManagementService_StartManagingDeviceServer interface {
2067 Send(*StartManagingDeviceResponse) error
2068 grpc.ServerStream
2069}
2070
2071type nativeHWManagementServiceStartManagingDeviceServer struct {
2072 grpc.ServerStream
2073}
2074
2075func (x *nativeHWManagementServiceStartManagingDeviceServer) Send(m *StartManagingDeviceResponse) error {
2076 return x.ServerStream.SendMsg(m)
2077}
2078
Amit Ghosh366228e2020-07-06 13:46:42 +01002079func _NativeHWManagementService_StopManagingDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2080 in := new(StopManagingDeviceRequest)
2081 if err := dec(in); err != nil {
2082 return nil, err
2083 }
2084 if interceptor == nil {
2085 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, in)
2086 }
2087 info := &grpc.UnaryServerInfo{
2088 Server: srv,
2089 FullMethod: "/dmi.NativeHWManagementService/StopManagingDevice",
2090 }
2091 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2092 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, req.(*StopManagingDeviceRequest))
2093 }
2094 return interceptor(ctx, in, info, handler)
2095}
2096
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002097func _NativeHWManagementService_GetManagedDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2098 in := new(empty.Empty)
2099 if err := dec(in); err != nil {
2100 return nil, err
2101 }
2102 if interceptor == nil {
2103 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, in)
2104 }
2105 info := &grpc.UnaryServerInfo{
2106 Server: srv,
2107 FullMethod: "/dmi.NativeHWManagementService/GetManagedDevices",
2108 }
2109 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2110 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, req.(*empty.Empty))
2111 }
2112 return interceptor(ctx, in, info, handler)
2113}
2114
Amit Ghosh09f28362020-06-12 21:52:19 +01002115func _NativeHWManagementService_GetPhysicalInventory_Handler(srv interface{}, stream grpc.ServerStream) error {
2116 m := new(PhysicalInventoryRequest)
2117 if err := stream.RecvMsg(m); err != nil {
2118 return err
2119 }
2120 return srv.(NativeHWManagementServiceServer).GetPhysicalInventory(m, &nativeHWManagementServiceGetPhysicalInventoryServer{stream})
2121}
2122
2123type NativeHWManagementService_GetPhysicalInventoryServer interface {
2124 Send(*PhysicalInventoryResponse) error
2125 grpc.ServerStream
2126}
2127
2128type nativeHWManagementServiceGetPhysicalInventoryServer struct {
2129 grpc.ServerStream
2130}
2131
2132func (x *nativeHWManagementServiceGetPhysicalInventoryServer) Send(m *PhysicalInventoryResponse) error {
2133 return x.ServerStream.SendMsg(m)
2134}
2135
2136func _NativeHWManagementService_GetHWComponentInfo_Handler(srv interface{}, stream grpc.ServerStream) error {
2137 m := new(HWComponentInfoGetRequest)
2138 if err := stream.RecvMsg(m); err != nil {
2139 return err
2140 }
2141 return srv.(NativeHWManagementServiceServer).GetHWComponentInfo(m, &nativeHWManagementServiceGetHWComponentInfoServer{stream})
2142}
2143
2144type NativeHWManagementService_GetHWComponentInfoServer interface {
aghoshc301dcd2020-09-03 16:55:34 +01002145 Send(*HWComponentInfoGetResponse) error
Amit Ghosh09f28362020-06-12 21:52:19 +01002146 grpc.ServerStream
2147}
2148
2149type nativeHWManagementServiceGetHWComponentInfoServer struct {
2150 grpc.ServerStream
2151}
2152
aghoshc301dcd2020-09-03 16:55:34 +01002153func (x *nativeHWManagementServiceGetHWComponentInfoServer) Send(m *HWComponentInfoGetResponse) error {
Amit Ghosh09f28362020-06-12 21:52:19 +01002154 return x.ServerStream.SendMsg(m)
2155}
2156
2157func _NativeHWManagementService_SetHWComponentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2158 in := new(HWComponentInfoSetRequest)
2159 if err := dec(in); err != nil {
2160 return nil, err
2161 }
2162 if interceptor == nil {
2163 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, in)
2164 }
2165 info := &grpc.UnaryServerInfo{
2166 Server: srv,
2167 FullMethod: "/dmi.NativeHWManagementService/SetHWComponentInfo",
2168 }
2169 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2170 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, req.(*HWComponentInfoSetRequest))
2171 }
2172 return interceptor(ctx, in, info, handler)
2173}
2174
amit.ghosh188a84f2020-09-27 20:59:25 +02002175func _NativeHWManagementService_SetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2176 in := new(SetLoggingEndpointRequest)
2177 if err := dec(in); err != nil {
2178 return nil, err
2179 }
2180 if interceptor == nil {
2181 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, in)
2182 }
2183 info := &grpc.UnaryServerInfo{
2184 Server: srv,
2185 FullMethod: "/dmi.NativeHWManagementService/SetLoggingEndpoint",
2186 }
2187 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2188 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, req.(*SetLoggingEndpointRequest))
2189 }
2190 return interceptor(ctx, in, info, handler)
2191}
2192
2193func _NativeHWManagementService_GetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002194 in := new(HardwareID)
amit.ghosh188a84f2020-09-27 20:59:25 +02002195 if err := dec(in); err != nil {
2196 return nil, err
2197 }
2198 if interceptor == nil {
2199 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, in)
2200 }
2201 info := &grpc.UnaryServerInfo{
2202 Server: srv,
2203 FullMethod: "/dmi.NativeHWManagementService/GetLoggingEndpoint",
2204 }
2205 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002206 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, req.(*HardwareID))
amit.ghosh188a84f2020-09-27 20:59:25 +02002207 }
2208 return interceptor(ctx, in, info, handler)
2209}
2210
2211func _NativeHWManagementService_SetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2212 in := new(SetMsgBusEndpointRequest)
2213 if err := dec(in); err != nil {
2214 return nil, err
2215 }
2216 if interceptor == nil {
2217 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, in)
2218 }
2219 info := &grpc.UnaryServerInfo{
2220 Server: srv,
2221 FullMethod: "/dmi.NativeHWManagementService/SetMsgBusEndpoint",
2222 }
2223 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2224 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, req.(*SetMsgBusEndpointRequest))
2225 }
2226 return interceptor(ctx, in, info, handler)
2227}
2228
2229func _NativeHWManagementService_GetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2230 in := new(empty.Empty)
2231 if err := dec(in); err != nil {
2232 return nil, err
2233 }
2234 if interceptor == nil {
2235 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, in)
2236 }
2237 info := &grpc.UnaryServerInfo{
2238 Server: srv,
2239 FullMethod: "/dmi.NativeHWManagementService/GetMsgBusEndpoint",
2240 }
2241 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2242 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, req.(*empty.Empty))
2243 }
2244 return interceptor(ctx, in, info, handler)
2245}
2246
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002247func _NativeHWManagementService_GetLoggableEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2248 in := new(GetLoggableEntitiesRequest)
2249 if err := dec(in); err != nil {
2250 return nil, err
2251 }
2252 if interceptor == nil {
2253 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, in)
2254 }
2255 info := &grpc.UnaryServerInfo{
2256 Server: srv,
2257 FullMethod: "/dmi.NativeHWManagementService/GetLoggableEntities",
2258 }
2259 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2260 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, req.(*GetLoggableEntitiesRequest))
2261 }
2262 return interceptor(ctx, in, info, handler)
2263}
2264
2265func _NativeHWManagementService_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2266 in := new(SetLogLevelRequest)
2267 if err := dec(in); err != nil {
2268 return nil, err
2269 }
2270 if interceptor == nil {
2271 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, in)
2272 }
2273 info := &grpc.UnaryServerInfo{
2274 Server: srv,
2275 FullMethod: "/dmi.NativeHWManagementService/SetLogLevel",
2276 }
2277 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2278 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, req.(*SetLogLevelRequest))
2279 }
2280 return interceptor(ctx, in, info, handler)
2281}
2282
2283func _NativeHWManagementService_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2284 in := new(GetLogLevelRequest)
2285 if err := dec(in); err != nil {
2286 return nil, err
2287 }
2288 if interceptor == nil {
2289 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, in)
2290 }
2291 info := &grpc.UnaryServerInfo{
2292 Server: srv,
2293 FullMethod: "/dmi.NativeHWManagementService/GetLogLevel",
2294 }
2295 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2296 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, req.(*GetLogLevelRequest))
2297 }
2298 return interceptor(ctx, in, info, handler)
2299}
2300
Amit Ghosh09f28362020-06-12 21:52:19 +01002301var _NativeHWManagementService_serviceDesc = grpc.ServiceDesc{
2302 ServiceName: "dmi.NativeHWManagementService",
2303 HandlerType: (*NativeHWManagementServiceServer)(nil),
2304 Methods: []grpc.MethodDesc{
2305 {
Amit Ghosh366228e2020-07-06 13:46:42 +01002306 MethodName: "StopManagingDevice",
2307 Handler: _NativeHWManagementService_StopManagingDevice_Handler,
2308 },
2309 {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002310 MethodName: "GetManagedDevices",
2311 Handler: _NativeHWManagementService_GetManagedDevices_Handler,
2312 },
2313 {
Amit Ghosh09f28362020-06-12 21:52:19 +01002314 MethodName: "SetHWComponentInfo",
2315 Handler: _NativeHWManagementService_SetHWComponentInfo_Handler,
2316 },
amit.ghosh188a84f2020-09-27 20:59:25 +02002317 {
2318 MethodName: "SetLoggingEndpoint",
2319 Handler: _NativeHWManagementService_SetLoggingEndpoint_Handler,
2320 },
2321 {
2322 MethodName: "GetLoggingEndpoint",
2323 Handler: _NativeHWManagementService_GetLoggingEndpoint_Handler,
2324 },
2325 {
2326 MethodName: "SetMsgBusEndpoint",
2327 Handler: _NativeHWManagementService_SetMsgBusEndpoint_Handler,
2328 },
2329 {
2330 MethodName: "GetMsgBusEndpoint",
2331 Handler: _NativeHWManagementService_GetMsgBusEndpoint_Handler,
2332 },
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002333 {
2334 MethodName: "GetLoggableEntities",
2335 Handler: _NativeHWManagementService_GetLoggableEntities_Handler,
2336 },
2337 {
2338 MethodName: "SetLogLevel",
2339 Handler: _NativeHWManagementService_SetLogLevel_Handler,
2340 },
2341 {
2342 MethodName: "GetLogLevel",
2343 Handler: _NativeHWManagementService_GetLogLevel_Handler,
2344 },
Amit Ghosh09f28362020-06-12 21:52:19 +01002345 },
2346 Streams: []grpc.StreamDesc{
2347 {
2348 StreamName: "StartManagingDevice",
2349 Handler: _NativeHWManagementService_StartManagingDevice_Handler,
2350 ServerStreams: true,
2351 },
2352 {
2353 StreamName: "GetPhysicalInventory",
2354 Handler: _NativeHWManagementService_GetPhysicalInventory_Handler,
2355 ServerStreams: true,
2356 },
2357 {
2358 StreamName: "GetHWComponentInfo",
2359 Handler: _NativeHWManagementService_GetHWComponentInfo_Handler,
2360 ServerStreams: true,
2361 },
2362 },
2363 Metadata: "dmi/hw_management_service.proto",
2364}