blob: 50bd972e7b7d0486526f891011d9856b53ae9a83 [file] [log] [blame]
amit.ghosh258d14c2020-10-02 15:13:38 +02001// 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"
10 empty "github.com/golang/protobuf/ptypes/empty"
11 grpc "google.golang.org/grpc"
Hardik Windlass63e35cf2022-02-03 05:58:09 +000012 codes "google.golang.org/grpc/codes"
13 status "google.golang.org/grpc/status"
amit.ghosh258d14c2020-10-02 15:13:38 +020014 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
ssiddiqui6ca40702021-03-08 18:20:21 +053028type PhysicalInventoryResponse_Reason int32
29
30const (
31 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
35)
36
37var PhysicalInventoryResponse_Reason_name = map[int32]string{
38 0: "UNDEFINED_REASON",
39 1: "UNKNOWN_DEVICE",
40 2: "INTERNAL_ERROR",
41 3: "DEVICE_UNREACHABLE",
42}
43
44var PhysicalInventoryResponse_Reason_value = map[string]int32{
45 "UNDEFINED_REASON": 0,
46 "UNKNOWN_DEVICE": 1,
47 "INTERNAL_ERROR": 2,
48 "DEVICE_UNREACHABLE": 3,
49}
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 (
62 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
67)
68
69var HWComponentInfoGetResponse_Reason_name = map[int32]string{
70 0: "UNDEFINED_REASON",
71 1: "UNKNOWN_DEVICE",
72 2: "UNKNOWN_COMPONENT",
73 3: "INTERNAL_ERROR",
74 4: "DEVICE_UNREACHABLE",
75}
76
77var HWComponentInfoGetResponse_Reason_value = map[string]int32{
78 "UNDEFINED_REASON": 0,
79 "UNKNOWN_DEVICE": 1,
80 "UNKNOWN_COMPONENT": 2,
81 "INTERNAL_ERROR": 3,
82 "DEVICE_UNREACHABLE": 4,
83}
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 (
96 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
Elia Battiston442124b2022-03-24 11:36:29 +0100102 HWComponentInfoSetResponse_SET_UNSUPPORTED HWComponentInfoSetResponse_Reason = 6
ssiddiqui6ca40702021-03-08 18:20:21 +0530103)
104
105var HWComponentInfoSetResponse_Reason_name = map[int32]string{
106 0: "UNDEFINED_REASON",
107 1: "UNKNOWN_DEVICE",
108 2: "UNKNOWN_COMPONENT",
109 3: "INVALID_PARAMS",
110 4: "INTERNAL_ERROR",
111 5: "DEVICE_UNREACHABLE",
Elia Battiston442124b2022-03-24 11:36:29 +0100112 6: "SET_UNSUPPORTED",
ssiddiqui6ca40702021-03-08 18:20:21 +0530113}
114
115var HWComponentInfoSetResponse_Reason_value = map[string]int32{
116 "UNDEFINED_REASON": 0,
117 "UNKNOWN_DEVICE": 1,
118 "UNKNOWN_COMPONENT": 2,
119 "INVALID_PARAMS": 3,
120 "INTERNAL_ERROR": 4,
121 "DEVICE_UNREACHABLE": 5,
Elia Battiston442124b2022-03-24 11:36:29 +0100122 "SET_UNSUPPORTED": 6,
ssiddiqui6ca40702021-03-08 18:20:21 +0530123}
124
125func (x HWComponentInfoSetResponse_Reason) String() string {
126 return proto.EnumName(HWComponentInfoSetResponse_Reason_name, int32(x))
127}
128
129func (HWComponentInfoSetResponse_Reason) EnumDescriptor() ([]byte, []int) {
130 return fileDescriptor_eae902e73066286d, []int{5, 0}
131}
132
133type StartManagingDeviceResponse_Reason int32
134
135const (
136 StartManagingDeviceResponse_UNDEFINED_REASON StartManagingDeviceResponse_Reason = 0
137 // DEVICE_ALREADY_MANAGED is returned when StartManagingDevice is called again for the same name AFTER a previously
138 // successful StartManagingDevice operation
139 StartManagingDeviceResponse_DEVICE_ALREADY_MANAGED StartManagingDeviceResponse_Reason = 1
140 // OPERATION_ALREADY_IN_PROGRESS is returned when StartManagingDevice is called again for the same name BEFORE
141 // a previous StartManagingDevice operation has completed
142 StartManagingDeviceResponse_OPERATION_ALREADY_IN_PROGRESS StartManagingDeviceResponse_Reason = 2
143 StartManagingDeviceResponse_INVALID_PARAMS StartManagingDeviceResponse_Reason = 3
144 StartManagingDeviceResponse_INTERNAL_ERROR StartManagingDeviceResponse_Reason = 4
Hardik Windlass63e35cf2022-02-03 05:58:09 +0000145 // AUTHENTICATION_FAILURE is returned when the device management software/server is not able to connect to the underlying
146 // hardware because of authentication failures
147 StartManagingDeviceResponse_AUTHENTICATION_FAILURE StartManagingDeviceResponse_Reason = 5
148 // INCOMPATIBLE_DEVICE is returned when there is a mismatch between the device management software/server and the underlying
149 // hardware
150 StartManagingDeviceResponse_INCOMPATIBLE_DEVICE StartManagingDeviceResponse_Reason = 6
ssiddiqui6ca40702021-03-08 18:20:21 +0530151)
152
153var StartManagingDeviceResponse_Reason_name = map[int32]string{
154 0: "UNDEFINED_REASON",
155 1: "DEVICE_ALREADY_MANAGED",
156 2: "OPERATION_ALREADY_IN_PROGRESS",
157 3: "INVALID_PARAMS",
158 4: "INTERNAL_ERROR",
Hardik Windlass63e35cf2022-02-03 05:58:09 +0000159 5: "AUTHENTICATION_FAILURE",
160 6: "INCOMPATIBLE_DEVICE",
ssiddiqui6ca40702021-03-08 18:20:21 +0530161}
162
163var StartManagingDeviceResponse_Reason_value = map[string]int32{
164 "UNDEFINED_REASON": 0,
165 "DEVICE_ALREADY_MANAGED": 1,
166 "OPERATION_ALREADY_IN_PROGRESS": 2,
167 "INVALID_PARAMS": 3,
168 "INTERNAL_ERROR": 4,
Hardik Windlass63e35cf2022-02-03 05:58:09 +0000169 "AUTHENTICATION_FAILURE": 5,
170 "INCOMPATIBLE_DEVICE": 6,
ssiddiqui6ca40702021-03-08 18:20:21 +0530171}
172
173func (x StartManagingDeviceResponse_Reason) String() string {
174 return proto.EnumName(StartManagingDeviceResponse_Reason_name, int32(x))
175}
176
177func (StartManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
178 return fileDescriptor_eae902e73066286d, []int{6, 0}
179}
180
181// The only case in which an error is expected is if the name of the
182// device to be stopped is not found
183type StopManagingDeviceResponse_Reason int32
184
185const (
186 StopManagingDeviceResponse_UNDEFINED_REASON StopManagingDeviceResponse_Reason = 0
187 StopManagingDeviceResponse_UNKNOWN_DEVICE StopManagingDeviceResponse_Reason = 1
188)
189
190var StopManagingDeviceResponse_Reason_name = map[int32]string{
191 0: "UNDEFINED_REASON",
192 1: "UNKNOWN_DEVICE",
193}
194
195var StopManagingDeviceResponse_Reason_value = map[string]int32{
196 "UNDEFINED_REASON": 0,
197 "UNKNOWN_DEVICE": 1,
198}
199
200func (x StopManagingDeviceResponse_Reason) String() string {
201 return proto.EnumName(StopManagingDeviceResponse_Reason_name, int32(x))
202}
203
204func (StopManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
205 return fileDescriptor_eae902e73066286d, []int{8, 0}
206}
207
Hardik Windlass63e35cf2022-02-03 05:58:09 +0000208type ManagedDevicesResponse_Reason int32
209
210const (
211 ManagedDevicesResponse_UNDEFINED_REASON ManagedDevicesResponse_Reason = 0
212 ManagedDevicesResponse_INTERNAL_ERROR ManagedDevicesResponse_Reason = 1
213)
214
215var ManagedDevicesResponse_Reason_name = map[int32]string{
216 0: "UNDEFINED_REASON",
217 1: "INTERNAL_ERROR",
218}
219
220var ManagedDevicesResponse_Reason_value = map[string]int32{
221 "UNDEFINED_REASON": 0,
222 "INTERNAL_ERROR": 1,
223}
224
225func (x ManagedDevicesResponse_Reason) String() string {
226 return proto.EnumName(ManagedDevicesResponse_Reason_name, int32(x))
227}
228
229func (ManagedDevicesResponse_Reason) EnumDescriptor() ([]byte, []int) {
230 return fileDescriptor_eae902e73066286d, []int{10, 0}
231}
232
ssiddiqui6ca40702021-03-08 18:20:21 +0530233type SetRemoteEndpointResponse_Reason int32
234
235const (
236 SetRemoteEndpointResponse_UNDEFINED_REASON SetRemoteEndpointResponse_Reason = 0
237 SetRemoteEndpointResponse_UNKNOWN_DEVICE SetRemoteEndpointResponse_Reason = 1
238 SetRemoteEndpointResponse_INTERNAL_ERROR SetRemoteEndpointResponse_Reason = 2
239 SetRemoteEndpointResponse_LOGGING_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 3
240 SetRemoteEndpointResponse_LOGGING_ENDPOINT_PROTOCOL_ERROR SetRemoteEndpointResponse_Reason = 4
241 SetRemoteEndpointResponse_MSGBUS_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 5
242 SetRemoteEndpointResponse_DEVICE_UNREACHABLE SetRemoteEndpointResponse_Reason = 6
243)
244
245var SetRemoteEndpointResponse_Reason_name = map[int32]string{
246 0: "UNDEFINED_REASON",
247 1: "UNKNOWN_DEVICE",
248 2: "INTERNAL_ERROR",
249 3: "LOGGING_ENDPOINT_ERROR",
250 4: "LOGGING_ENDPOINT_PROTOCOL_ERROR",
251 5: "MSGBUS_ENDPOINT_ERROR",
252 6: "DEVICE_UNREACHABLE",
253}
254
255var SetRemoteEndpointResponse_Reason_value = map[string]int32{
256 "UNDEFINED_REASON": 0,
257 "UNKNOWN_DEVICE": 1,
258 "INTERNAL_ERROR": 2,
259 "LOGGING_ENDPOINT_ERROR": 3,
260 "LOGGING_ENDPOINT_PROTOCOL_ERROR": 4,
261 "MSGBUS_ENDPOINT_ERROR": 5,
262 "DEVICE_UNREACHABLE": 6,
263}
264
265func (x SetRemoteEndpointResponse_Reason) String() string {
266 return proto.EnumName(SetRemoteEndpointResponse_Reason_name, int32(x))
267}
268
269func (SetRemoteEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +0000270 return fileDescriptor_eae902e73066286d, []int{12, 0}
ssiddiqui6ca40702021-03-08 18:20:21 +0530271}
272
273type GetLoggingEndpointResponse_Reason int32
274
275const (
276 GetLoggingEndpointResponse_UNDEFINED_REASON GetLoggingEndpointResponse_Reason = 0
277 GetLoggingEndpointResponse_UNKNOWN_DEVICE GetLoggingEndpointResponse_Reason = 1
278 GetLoggingEndpointResponse_INTERNAL_ERROR GetLoggingEndpointResponse_Reason = 2
279 GetLoggingEndpointResponse_DEVICE_UNREACHABLE GetLoggingEndpointResponse_Reason = 3
280)
281
282var GetLoggingEndpointResponse_Reason_name = map[int32]string{
283 0: "UNDEFINED_REASON",
284 1: "UNKNOWN_DEVICE",
285 2: "INTERNAL_ERROR",
286 3: "DEVICE_UNREACHABLE",
287}
288
289var GetLoggingEndpointResponse_Reason_value = map[string]int32{
290 "UNDEFINED_REASON": 0,
291 "UNKNOWN_DEVICE": 1,
292 "INTERNAL_ERROR": 2,
293 "DEVICE_UNREACHABLE": 3,
294}
295
296func (x GetLoggingEndpointResponse_Reason) String() string {
297 return proto.EnumName(GetLoggingEndpointResponse_Reason_name, int32(x))
298}
299
300func (GetLoggingEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +0000301 return fileDescriptor_eae902e73066286d, []int{13, 0}
ssiddiqui6ca40702021-03-08 18:20:21 +0530302}
303
304type GetMsgBusEndpointResponse_Reason int32
305
306const (
307 GetMsgBusEndpointResponse_UNDEFINED_REASON GetMsgBusEndpointResponse_Reason = 0
308 GetMsgBusEndpointResponse_INTERNAL_ERROR GetMsgBusEndpointResponse_Reason = 1
309 GetMsgBusEndpointResponse_DEVICE_UNREACHABLE GetMsgBusEndpointResponse_Reason = 2
310)
311
312var GetMsgBusEndpointResponse_Reason_name = map[int32]string{
313 0: "UNDEFINED_REASON",
314 1: "INTERNAL_ERROR",
315 2: "DEVICE_UNREACHABLE",
316}
317
318var GetMsgBusEndpointResponse_Reason_value = map[string]int32{
319 "UNDEFINED_REASON": 0,
320 "INTERNAL_ERROR": 1,
321 "DEVICE_UNREACHABLE": 2,
322}
323
324func (x GetMsgBusEndpointResponse_Reason) String() string {
325 return proto.EnumName(GetMsgBusEndpointResponse_Reason_name, int32(x))
326}
327
328func (GetMsgBusEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +0000329 return fileDescriptor_eae902e73066286d, []int{15, 0}
ssiddiqui6ca40702021-03-08 18:20:21 +0530330}
331
332type SetLogLevelResponse_Reason int32
333
334const (
335 SetLogLevelResponse_UNDEFINED_REASON SetLogLevelResponse_Reason = 0
336 SetLogLevelResponse_UNKNOWN_DEVICE SetLogLevelResponse_Reason = 1
337 SetLogLevelResponse_INTERNAL_ERROR SetLogLevelResponse_Reason = 2
338 SetLogLevelResponse_UNKNOWN_LOG_ENTITY SetLogLevelResponse_Reason = 3
339 SetLogLevelResponse_DEVICE_UNREACHABLE SetLogLevelResponse_Reason = 4
340)
341
342var SetLogLevelResponse_Reason_name = map[int32]string{
343 0: "UNDEFINED_REASON",
344 1: "UNKNOWN_DEVICE",
345 2: "INTERNAL_ERROR",
346 3: "UNKNOWN_LOG_ENTITY",
347 4: "DEVICE_UNREACHABLE",
348}
349
350var SetLogLevelResponse_Reason_value = map[string]int32{
351 "UNDEFINED_REASON": 0,
352 "UNKNOWN_DEVICE": 1,
353 "INTERNAL_ERROR": 2,
354 "UNKNOWN_LOG_ENTITY": 3,
355 "DEVICE_UNREACHABLE": 4,
356}
357
358func (x SetLogLevelResponse_Reason) String() string {
359 return proto.EnumName(SetLogLevelResponse_Reason_name, int32(x))
360}
361
362func (SetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +0000363 return fileDescriptor_eae902e73066286d, []int{18, 0}
ssiddiqui6ca40702021-03-08 18:20:21 +0530364}
365
366type GetLogLevelResponse_Reason int32
367
368const (
369 GetLogLevelResponse_UNDEFINED_REASON GetLogLevelResponse_Reason = 0
370 GetLogLevelResponse_UNKNOWN_DEVICE GetLogLevelResponse_Reason = 1
371 GetLogLevelResponse_INTERNAL_ERROR GetLogLevelResponse_Reason = 2
372 GetLogLevelResponse_UNKNOWN_LOG_ENTITY GetLogLevelResponse_Reason = 3
373 GetLogLevelResponse_DEVICE_UNREACHABLE GetLogLevelResponse_Reason = 4
374)
375
376var GetLogLevelResponse_Reason_name = map[int32]string{
377 0: "UNDEFINED_REASON",
378 1: "UNKNOWN_DEVICE",
379 2: "INTERNAL_ERROR",
380 3: "UNKNOWN_LOG_ENTITY",
381 4: "DEVICE_UNREACHABLE",
382}
383
384var GetLogLevelResponse_Reason_value = map[string]int32{
385 "UNDEFINED_REASON": 0,
386 "UNKNOWN_DEVICE": 1,
387 "INTERNAL_ERROR": 2,
388 "UNKNOWN_LOG_ENTITY": 3,
389 "DEVICE_UNREACHABLE": 4,
390}
391
392func (x GetLogLevelResponse_Reason) String() string {
393 return proto.EnumName(GetLogLevelResponse_Reason_name, int32(x))
394}
395
396func (GetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +0000397 return fileDescriptor_eae902e73066286d, []int{20, 0}
398}
399
400type RebootDeviceResponse_Reason int32
401
402const (
403 RebootDeviceResponse_UNDEFINED_REASON RebootDeviceResponse_Reason = 0
404 RebootDeviceResponse_UNKNOWN_DEVICE RebootDeviceResponse_Reason = 1
405 RebootDeviceResponse_INTERNAL_ERROR RebootDeviceResponse_Reason = 2
406 RebootDeviceResponse_DEVICE_UNREACHABLE RebootDeviceResponse_Reason = 3
407)
408
409var RebootDeviceResponse_Reason_name = map[int32]string{
410 0: "UNDEFINED_REASON",
411 1: "UNKNOWN_DEVICE",
412 2: "INTERNAL_ERROR",
413 3: "DEVICE_UNREACHABLE",
414}
415
416var RebootDeviceResponse_Reason_value = map[string]int32{
417 "UNDEFINED_REASON": 0,
418 "UNKNOWN_DEVICE": 1,
419 "INTERNAL_ERROR": 2,
420 "DEVICE_UNREACHABLE": 3,
421}
422
423func (x RebootDeviceResponse_Reason) String() string {
424 return proto.EnumName(RebootDeviceResponse_Reason_name, int32(x))
425}
426
427func (RebootDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
428 return fileDescriptor_eae902e73066286d, []int{24, 0}
ssiddiqui6ca40702021-03-08 18:20:21 +0530429}
430
amit.ghosh258d14c2020-10-02 15:13:38 +0200431type PhysicalInventoryRequest struct {
432 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
433 XXX_NoUnkeyedLiteral struct{} `json:"-"`
434 XXX_unrecognized []byte `json:"-"`
435 XXX_sizecache int32 `json:"-"`
436}
437
438func (m *PhysicalInventoryRequest) Reset() { *m = PhysicalInventoryRequest{} }
439func (m *PhysicalInventoryRequest) String() string { return proto.CompactTextString(m) }
440func (*PhysicalInventoryRequest) ProtoMessage() {}
441func (*PhysicalInventoryRequest) Descriptor() ([]byte, []int) {
442 return fileDescriptor_eae902e73066286d, []int{0}
443}
444
445func (m *PhysicalInventoryRequest) XXX_Unmarshal(b []byte) error {
446 return xxx_messageInfo_PhysicalInventoryRequest.Unmarshal(m, b)
447}
448func (m *PhysicalInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
449 return xxx_messageInfo_PhysicalInventoryRequest.Marshal(b, m, deterministic)
450}
451func (m *PhysicalInventoryRequest) XXX_Merge(src proto.Message) {
452 xxx_messageInfo_PhysicalInventoryRequest.Merge(m, src)
453}
454func (m *PhysicalInventoryRequest) XXX_Size() int {
455 return xxx_messageInfo_PhysicalInventoryRequest.Size(m)
456}
457func (m *PhysicalInventoryRequest) XXX_DiscardUnknown() {
458 xxx_messageInfo_PhysicalInventoryRequest.DiscardUnknown(m)
459}
460
461var xxx_messageInfo_PhysicalInventoryRequest proto.InternalMessageInfo
462
463func (m *PhysicalInventoryRequest) GetDeviceUuid() *Uuid {
464 if m != nil {
465 return m.DeviceUuid
466 }
467 return nil
468}
469
470type PhysicalInventoryResponse struct {
ssiddiqui6ca40702021-03-08 18:20:21 +0530471 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
472 Reason PhysicalInventoryResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.PhysicalInventoryResponse_Reason" json:"reason,omitempty"`
473 Inventory *Hardware `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
474 // It is recommended that upstream components/users of the DMI interface
475 // do not really interpret/parse the reson_detail, but rather use it for
476 // display purposes to the end user or use it for logging the error
477 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
478 XXX_NoUnkeyedLiteral struct{} `json:"-"`
479 XXX_unrecognized []byte `json:"-"`
480 XXX_sizecache int32 `json:"-"`
amit.ghosh258d14c2020-10-02 15:13:38 +0200481}
482
483func (m *PhysicalInventoryResponse) Reset() { *m = PhysicalInventoryResponse{} }
484func (m *PhysicalInventoryResponse) String() string { return proto.CompactTextString(m) }
485func (*PhysicalInventoryResponse) ProtoMessage() {}
486func (*PhysicalInventoryResponse) Descriptor() ([]byte, []int) {
487 return fileDescriptor_eae902e73066286d, []int{1}
488}
489
490func (m *PhysicalInventoryResponse) XXX_Unmarshal(b []byte) error {
491 return xxx_messageInfo_PhysicalInventoryResponse.Unmarshal(m, b)
492}
493func (m *PhysicalInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
494 return xxx_messageInfo_PhysicalInventoryResponse.Marshal(b, m, deterministic)
495}
496func (m *PhysicalInventoryResponse) XXX_Merge(src proto.Message) {
497 xxx_messageInfo_PhysicalInventoryResponse.Merge(m, src)
498}
499func (m *PhysicalInventoryResponse) XXX_Size() int {
500 return xxx_messageInfo_PhysicalInventoryResponse.Size(m)
501}
502func (m *PhysicalInventoryResponse) XXX_DiscardUnknown() {
503 xxx_messageInfo_PhysicalInventoryResponse.DiscardUnknown(m)
504}
505
506var xxx_messageInfo_PhysicalInventoryResponse proto.InternalMessageInfo
507
508func (m *PhysicalInventoryResponse) GetStatus() Status {
509 if m != nil {
510 return m.Status
511 }
512 return Status_UNDEFINED_STATUS
513}
514
ssiddiqui6ca40702021-03-08 18:20:21 +0530515func (m *PhysicalInventoryResponse) GetReason() PhysicalInventoryResponse_Reason {
amit.ghosh258d14c2020-10-02 15:13:38 +0200516 if m != nil {
517 return m.Reason
518 }
ssiddiqui6ca40702021-03-08 18:20:21 +0530519 return PhysicalInventoryResponse_UNDEFINED_REASON
amit.ghosh258d14c2020-10-02 15:13:38 +0200520}
521
522func (m *PhysicalInventoryResponse) GetInventory() *Hardware {
523 if m != nil {
524 return m.Inventory
525 }
526 return nil
527}
528
ssiddiqui6ca40702021-03-08 18:20:21 +0530529func (m *PhysicalInventoryResponse) GetReasonDetail() string {
530 if m != nil {
531 return m.ReasonDetail
532 }
533 return ""
534}
535
amit.ghosh258d14c2020-10-02 15:13:38 +0200536type HWComponentInfoGetRequest struct {
537 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
538 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
539 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
540 XXX_NoUnkeyedLiteral struct{} `json:"-"`
541 XXX_unrecognized []byte `json:"-"`
542 XXX_sizecache int32 `json:"-"`
543}
544
545func (m *HWComponentInfoGetRequest) Reset() { *m = HWComponentInfoGetRequest{} }
546func (m *HWComponentInfoGetRequest) String() string { return proto.CompactTextString(m) }
547func (*HWComponentInfoGetRequest) ProtoMessage() {}
548func (*HWComponentInfoGetRequest) Descriptor() ([]byte, []int) {
549 return fileDescriptor_eae902e73066286d, []int{2}
550}
551
552func (m *HWComponentInfoGetRequest) XXX_Unmarshal(b []byte) error {
553 return xxx_messageInfo_HWComponentInfoGetRequest.Unmarshal(m, b)
554}
555func (m *HWComponentInfoGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
556 return xxx_messageInfo_HWComponentInfoGetRequest.Marshal(b, m, deterministic)
557}
558func (m *HWComponentInfoGetRequest) XXX_Merge(src proto.Message) {
559 xxx_messageInfo_HWComponentInfoGetRequest.Merge(m, src)
560}
561func (m *HWComponentInfoGetRequest) XXX_Size() int {
562 return xxx_messageInfo_HWComponentInfoGetRequest.Size(m)
563}
564func (m *HWComponentInfoGetRequest) XXX_DiscardUnknown() {
565 xxx_messageInfo_HWComponentInfoGetRequest.DiscardUnknown(m)
566}
567
568var xxx_messageInfo_HWComponentInfoGetRequest proto.InternalMessageInfo
569
570func (m *HWComponentInfoGetRequest) GetDeviceUuid() *Uuid {
571 if m != nil {
572 return m.DeviceUuid
573 }
574 return nil
575}
576
577func (m *HWComponentInfoGetRequest) GetComponentUuid() *Uuid {
578 if m != nil {
579 return m.ComponentUuid
580 }
581 return nil
582}
583
584func (m *HWComponentInfoGetRequest) GetComponentName() string {
585 if m != nil {
586 return m.ComponentName
587 }
588 return ""
589}
590
591type HWComponentInfoGetResponse struct {
ssiddiqui6ca40702021-03-08 18:20:21 +0530592 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
593 Reason HWComponentInfoGetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoGetResponse_Reason" json:"reason,omitempty"`
594 Component *Component `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
595 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
596 XXX_NoUnkeyedLiteral struct{} `json:"-"`
597 XXX_unrecognized []byte `json:"-"`
598 XXX_sizecache int32 `json:"-"`
amit.ghosh258d14c2020-10-02 15:13:38 +0200599}
600
601func (m *HWComponentInfoGetResponse) Reset() { *m = HWComponentInfoGetResponse{} }
602func (m *HWComponentInfoGetResponse) String() string { return proto.CompactTextString(m) }
603func (*HWComponentInfoGetResponse) ProtoMessage() {}
604func (*HWComponentInfoGetResponse) Descriptor() ([]byte, []int) {
605 return fileDescriptor_eae902e73066286d, []int{3}
606}
607
608func (m *HWComponentInfoGetResponse) XXX_Unmarshal(b []byte) error {
609 return xxx_messageInfo_HWComponentInfoGetResponse.Unmarshal(m, b)
610}
611func (m *HWComponentInfoGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
612 return xxx_messageInfo_HWComponentInfoGetResponse.Marshal(b, m, deterministic)
613}
614func (m *HWComponentInfoGetResponse) XXX_Merge(src proto.Message) {
615 xxx_messageInfo_HWComponentInfoGetResponse.Merge(m, src)
616}
617func (m *HWComponentInfoGetResponse) XXX_Size() int {
618 return xxx_messageInfo_HWComponentInfoGetResponse.Size(m)
619}
620func (m *HWComponentInfoGetResponse) XXX_DiscardUnknown() {
621 xxx_messageInfo_HWComponentInfoGetResponse.DiscardUnknown(m)
622}
623
624var xxx_messageInfo_HWComponentInfoGetResponse proto.InternalMessageInfo
625
626func (m *HWComponentInfoGetResponse) GetStatus() Status {
627 if m != nil {
628 return m.Status
629 }
630 return Status_UNDEFINED_STATUS
631}
632
ssiddiqui6ca40702021-03-08 18:20:21 +0530633func (m *HWComponentInfoGetResponse) GetReason() HWComponentInfoGetResponse_Reason {
amit.ghosh258d14c2020-10-02 15:13:38 +0200634 if m != nil {
635 return m.Reason
636 }
ssiddiqui6ca40702021-03-08 18:20:21 +0530637 return HWComponentInfoGetResponse_UNDEFINED_REASON
amit.ghosh258d14c2020-10-02 15:13:38 +0200638}
639
640func (m *HWComponentInfoGetResponse) GetComponent() *Component {
641 if m != nil {
642 return m.Component
643 }
644 return nil
645}
646
ssiddiqui6ca40702021-03-08 18:20:21 +0530647func (m *HWComponentInfoGetResponse) GetReasonDetail() string {
648 if m != nil {
649 return m.ReasonDetail
650 }
651 return ""
652}
653
amit.ghosh258d14c2020-10-02 15:13:38 +0200654type HWComponentInfoSetRequest struct {
655 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
656 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
657 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
658 Changes *ModifiableComponent `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"`
659 XXX_NoUnkeyedLiteral struct{} `json:"-"`
660 XXX_unrecognized []byte `json:"-"`
661 XXX_sizecache int32 `json:"-"`
662}
663
664func (m *HWComponentInfoSetRequest) Reset() { *m = HWComponentInfoSetRequest{} }
665func (m *HWComponentInfoSetRequest) String() string { return proto.CompactTextString(m) }
666func (*HWComponentInfoSetRequest) ProtoMessage() {}
667func (*HWComponentInfoSetRequest) Descriptor() ([]byte, []int) {
668 return fileDescriptor_eae902e73066286d, []int{4}
669}
670
671func (m *HWComponentInfoSetRequest) XXX_Unmarshal(b []byte) error {
672 return xxx_messageInfo_HWComponentInfoSetRequest.Unmarshal(m, b)
673}
674func (m *HWComponentInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
675 return xxx_messageInfo_HWComponentInfoSetRequest.Marshal(b, m, deterministic)
676}
677func (m *HWComponentInfoSetRequest) XXX_Merge(src proto.Message) {
678 xxx_messageInfo_HWComponentInfoSetRequest.Merge(m, src)
679}
680func (m *HWComponentInfoSetRequest) XXX_Size() int {
681 return xxx_messageInfo_HWComponentInfoSetRequest.Size(m)
682}
683func (m *HWComponentInfoSetRequest) XXX_DiscardUnknown() {
684 xxx_messageInfo_HWComponentInfoSetRequest.DiscardUnknown(m)
685}
686
687var xxx_messageInfo_HWComponentInfoSetRequest proto.InternalMessageInfo
688
689func (m *HWComponentInfoSetRequest) GetDeviceUuid() *Uuid {
690 if m != nil {
691 return m.DeviceUuid
692 }
693 return nil
694}
695
696func (m *HWComponentInfoSetRequest) GetComponentUuid() *Uuid {
697 if m != nil {
698 return m.ComponentUuid
699 }
700 return nil
701}
702
703func (m *HWComponentInfoSetRequest) GetComponentName() string {
704 if m != nil {
705 return m.ComponentName
706 }
707 return ""
708}
709
710func (m *HWComponentInfoSetRequest) GetChanges() *ModifiableComponent {
711 if m != nil {
712 return m.Changes
713 }
714 return nil
715}
716
717type HWComponentInfoSetResponse struct {
ssiddiqui6ca40702021-03-08 18:20:21 +0530718 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
719 Reason HWComponentInfoSetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoSetResponse_Reason" json:"reason,omitempty"`
720 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
721 XXX_NoUnkeyedLiteral struct{} `json:"-"`
722 XXX_unrecognized []byte `json:"-"`
723 XXX_sizecache int32 `json:"-"`
amit.ghosh258d14c2020-10-02 15:13:38 +0200724}
725
726func (m *HWComponentInfoSetResponse) Reset() { *m = HWComponentInfoSetResponse{} }
727func (m *HWComponentInfoSetResponse) String() string { return proto.CompactTextString(m) }
728func (*HWComponentInfoSetResponse) ProtoMessage() {}
729func (*HWComponentInfoSetResponse) Descriptor() ([]byte, []int) {
730 return fileDescriptor_eae902e73066286d, []int{5}
731}
732
733func (m *HWComponentInfoSetResponse) XXX_Unmarshal(b []byte) error {
734 return xxx_messageInfo_HWComponentInfoSetResponse.Unmarshal(m, b)
735}
736func (m *HWComponentInfoSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
737 return xxx_messageInfo_HWComponentInfoSetResponse.Marshal(b, m, deterministic)
738}
739func (m *HWComponentInfoSetResponse) XXX_Merge(src proto.Message) {
740 xxx_messageInfo_HWComponentInfoSetResponse.Merge(m, src)
741}
742func (m *HWComponentInfoSetResponse) XXX_Size() int {
743 return xxx_messageInfo_HWComponentInfoSetResponse.Size(m)
744}
745func (m *HWComponentInfoSetResponse) XXX_DiscardUnknown() {
746 xxx_messageInfo_HWComponentInfoSetResponse.DiscardUnknown(m)
747}
748
749var xxx_messageInfo_HWComponentInfoSetResponse proto.InternalMessageInfo
750
751func (m *HWComponentInfoSetResponse) GetStatus() Status {
752 if m != nil {
753 return m.Status
754 }
755 return Status_UNDEFINED_STATUS
756}
757
ssiddiqui6ca40702021-03-08 18:20:21 +0530758func (m *HWComponentInfoSetResponse) GetReason() HWComponentInfoSetResponse_Reason {
amit.ghosh258d14c2020-10-02 15:13:38 +0200759 if m != nil {
760 return m.Reason
761 }
ssiddiqui6ca40702021-03-08 18:20:21 +0530762 return HWComponentInfoSetResponse_UNDEFINED_REASON
763}
764
765func (m *HWComponentInfoSetResponse) GetReasonDetail() string {
766 if m != nil {
767 return m.ReasonDetail
768 }
769 return ""
amit.ghosh258d14c2020-10-02 15:13:38 +0200770}
771
772type StartManagingDeviceResponse struct {
ssiddiqui6ca40702021-03-08 18:20:21 +0530773 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
774 Reason StartManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartManagingDeviceResponse_Reason" json:"reason,omitempty"`
775 DeviceUuid *Uuid `protobuf:"bytes,3,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
776 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
777 XXX_NoUnkeyedLiteral struct{} `json:"-"`
778 XXX_unrecognized []byte `json:"-"`
779 XXX_sizecache int32 `json:"-"`
amit.ghosh258d14c2020-10-02 15:13:38 +0200780}
781
782func (m *StartManagingDeviceResponse) Reset() { *m = StartManagingDeviceResponse{} }
783func (m *StartManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
784func (*StartManagingDeviceResponse) ProtoMessage() {}
785func (*StartManagingDeviceResponse) Descriptor() ([]byte, []int) {
786 return fileDescriptor_eae902e73066286d, []int{6}
787}
788
789func (m *StartManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
790 return xxx_messageInfo_StartManagingDeviceResponse.Unmarshal(m, b)
791}
792func (m *StartManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
793 return xxx_messageInfo_StartManagingDeviceResponse.Marshal(b, m, deterministic)
794}
795func (m *StartManagingDeviceResponse) XXX_Merge(src proto.Message) {
796 xxx_messageInfo_StartManagingDeviceResponse.Merge(m, src)
797}
798func (m *StartManagingDeviceResponse) XXX_Size() int {
799 return xxx_messageInfo_StartManagingDeviceResponse.Size(m)
800}
801func (m *StartManagingDeviceResponse) XXX_DiscardUnknown() {
802 xxx_messageInfo_StartManagingDeviceResponse.DiscardUnknown(m)
803}
804
805var xxx_messageInfo_StartManagingDeviceResponse proto.InternalMessageInfo
806
807func (m *StartManagingDeviceResponse) GetStatus() Status {
808 if m != nil {
809 return m.Status
810 }
811 return Status_UNDEFINED_STATUS
812}
813
ssiddiqui6ca40702021-03-08 18:20:21 +0530814func (m *StartManagingDeviceResponse) GetReason() StartManagingDeviceResponse_Reason {
amit.ghosh258d14c2020-10-02 15:13:38 +0200815 if m != nil {
816 return m.Reason
817 }
ssiddiqui6ca40702021-03-08 18:20:21 +0530818 return StartManagingDeviceResponse_UNDEFINED_REASON
amit.ghosh258d14c2020-10-02 15:13:38 +0200819}
820
821func (m *StartManagingDeviceResponse) GetDeviceUuid() *Uuid {
822 if m != nil {
823 return m.DeviceUuid
824 }
825 return nil
826}
827
ssiddiqui6ca40702021-03-08 18:20:21 +0530828func (m *StartManagingDeviceResponse) GetReasonDetail() string {
829 if m != nil {
830 return m.ReasonDetail
831 }
832 return ""
833}
834
amit.ghosh258d14c2020-10-02 15:13:38 +0200835type StopManagingDeviceRequest struct {
836 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
837 XXX_NoUnkeyedLiteral struct{} `json:"-"`
838 XXX_unrecognized []byte `json:"-"`
839 XXX_sizecache int32 `json:"-"`
840}
841
842func (m *StopManagingDeviceRequest) Reset() { *m = StopManagingDeviceRequest{} }
843func (m *StopManagingDeviceRequest) String() string { return proto.CompactTextString(m) }
844func (*StopManagingDeviceRequest) ProtoMessage() {}
845func (*StopManagingDeviceRequest) Descriptor() ([]byte, []int) {
846 return fileDescriptor_eae902e73066286d, []int{7}
847}
848
849func (m *StopManagingDeviceRequest) XXX_Unmarshal(b []byte) error {
850 return xxx_messageInfo_StopManagingDeviceRequest.Unmarshal(m, b)
851}
852func (m *StopManagingDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
853 return xxx_messageInfo_StopManagingDeviceRequest.Marshal(b, m, deterministic)
854}
855func (m *StopManagingDeviceRequest) XXX_Merge(src proto.Message) {
856 xxx_messageInfo_StopManagingDeviceRequest.Merge(m, src)
857}
858func (m *StopManagingDeviceRequest) XXX_Size() int {
859 return xxx_messageInfo_StopManagingDeviceRequest.Size(m)
860}
861func (m *StopManagingDeviceRequest) XXX_DiscardUnknown() {
862 xxx_messageInfo_StopManagingDeviceRequest.DiscardUnknown(m)
863}
864
865var xxx_messageInfo_StopManagingDeviceRequest proto.InternalMessageInfo
866
867func (m *StopManagingDeviceRequest) GetName() string {
868 if m != nil {
869 return m.Name
870 }
871 return ""
872}
873
874type StopManagingDeviceResponse struct {
ssiddiqui6ca40702021-03-08 18:20:21 +0530875 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
876 Reason StopManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StopManagingDeviceResponse_Reason" json:"reason,omitempty"`
877 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
878 XXX_NoUnkeyedLiteral struct{} `json:"-"`
879 XXX_unrecognized []byte `json:"-"`
880 XXX_sizecache int32 `json:"-"`
amit.ghosh258d14c2020-10-02 15:13:38 +0200881}
882
883func (m *StopManagingDeviceResponse) Reset() { *m = StopManagingDeviceResponse{} }
884func (m *StopManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
885func (*StopManagingDeviceResponse) ProtoMessage() {}
886func (*StopManagingDeviceResponse) Descriptor() ([]byte, []int) {
887 return fileDescriptor_eae902e73066286d, []int{8}
888}
889
890func (m *StopManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
891 return xxx_messageInfo_StopManagingDeviceResponse.Unmarshal(m, b)
892}
893func (m *StopManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
894 return xxx_messageInfo_StopManagingDeviceResponse.Marshal(b, m, deterministic)
895}
896func (m *StopManagingDeviceResponse) XXX_Merge(src proto.Message) {
897 xxx_messageInfo_StopManagingDeviceResponse.Merge(m, src)
898}
899func (m *StopManagingDeviceResponse) XXX_Size() int {
900 return xxx_messageInfo_StopManagingDeviceResponse.Size(m)
901}
902func (m *StopManagingDeviceResponse) XXX_DiscardUnknown() {
903 xxx_messageInfo_StopManagingDeviceResponse.DiscardUnknown(m)
904}
905
906var xxx_messageInfo_StopManagingDeviceResponse proto.InternalMessageInfo
907
908func (m *StopManagingDeviceResponse) GetStatus() Status {
909 if m != nil {
910 return m.Status
911 }
912 return Status_UNDEFINED_STATUS
913}
914
ssiddiqui6ca40702021-03-08 18:20:21 +0530915func (m *StopManagingDeviceResponse) GetReason() StopManagingDeviceResponse_Reason {
amit.ghosh258d14c2020-10-02 15:13:38 +0200916 if m != nil {
917 return m.Reason
918 }
ssiddiqui6ca40702021-03-08 18:20:21 +0530919 return StopManagingDeviceResponse_UNDEFINED_REASON
920}
921
922func (m *StopManagingDeviceResponse) GetReasonDetail() string {
923 if m != nil {
924 return m.ReasonDetail
925 }
926 return ""
amit.ghosh258d14c2020-10-02 15:13:38 +0200927}
928
Hardik Windlass63e35cf2022-02-03 05:58:09 +0000929type ManagedDeviceInfo struct {
930 Info *ModifiableComponent `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
931 DeviceUuid *Uuid `protobuf:"bytes,2,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
932 XXX_NoUnkeyedLiteral struct{} `json:"-"`
933 XXX_unrecognized []byte `json:"-"`
934 XXX_sizecache int32 `json:"-"`
935}
936
937func (m *ManagedDeviceInfo) Reset() { *m = ManagedDeviceInfo{} }
938func (m *ManagedDeviceInfo) String() string { return proto.CompactTextString(m) }
939func (*ManagedDeviceInfo) ProtoMessage() {}
940func (*ManagedDeviceInfo) Descriptor() ([]byte, []int) {
941 return fileDescriptor_eae902e73066286d, []int{9}
942}
943
944func (m *ManagedDeviceInfo) XXX_Unmarshal(b []byte) error {
945 return xxx_messageInfo_ManagedDeviceInfo.Unmarshal(m, b)
946}
947func (m *ManagedDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
948 return xxx_messageInfo_ManagedDeviceInfo.Marshal(b, m, deterministic)
949}
950func (m *ManagedDeviceInfo) XXX_Merge(src proto.Message) {
951 xxx_messageInfo_ManagedDeviceInfo.Merge(m, src)
952}
953func (m *ManagedDeviceInfo) XXX_Size() int {
954 return xxx_messageInfo_ManagedDeviceInfo.Size(m)
955}
956func (m *ManagedDeviceInfo) XXX_DiscardUnknown() {
957 xxx_messageInfo_ManagedDeviceInfo.DiscardUnknown(m)
958}
959
960var xxx_messageInfo_ManagedDeviceInfo proto.InternalMessageInfo
961
962func (m *ManagedDeviceInfo) GetInfo() *ModifiableComponent {
963 if m != nil {
964 return m.Info
965 }
966 return nil
967}
968
969func (m *ManagedDeviceInfo) GetDeviceUuid() *Uuid {
970 if m != nil {
971 return m.DeviceUuid
972 }
973 return nil
974}
975
amit.ghosh258d14c2020-10-02 15:13:38 +0200976type ManagedDevicesResponse struct {
Hardik Windlass63e35cf2022-02-03 05:58:09 +0000977 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
978 Reason ManagedDevicesResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.ManagedDevicesResponse_Reason" json:"reason,omitempty"`
979 Devices []*ManagedDeviceInfo `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
980 XXX_NoUnkeyedLiteral struct{} `json:"-"`
981 XXX_unrecognized []byte `json:"-"`
982 XXX_sizecache int32 `json:"-"`
amit.ghosh258d14c2020-10-02 15:13:38 +0200983}
984
985func (m *ManagedDevicesResponse) Reset() { *m = ManagedDevicesResponse{} }
986func (m *ManagedDevicesResponse) String() string { return proto.CompactTextString(m) }
987func (*ManagedDevicesResponse) ProtoMessage() {}
988func (*ManagedDevicesResponse) Descriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +0000989 return fileDescriptor_eae902e73066286d, []int{10}
amit.ghosh258d14c2020-10-02 15:13:38 +0200990}
991
992func (m *ManagedDevicesResponse) XXX_Unmarshal(b []byte) error {
993 return xxx_messageInfo_ManagedDevicesResponse.Unmarshal(m, b)
994}
995func (m *ManagedDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
996 return xxx_messageInfo_ManagedDevicesResponse.Marshal(b, m, deterministic)
997}
998func (m *ManagedDevicesResponse) XXX_Merge(src proto.Message) {
999 xxx_messageInfo_ManagedDevicesResponse.Merge(m, src)
1000}
1001func (m *ManagedDevicesResponse) XXX_Size() int {
1002 return xxx_messageInfo_ManagedDevicesResponse.Size(m)
1003}
1004func (m *ManagedDevicesResponse) XXX_DiscardUnknown() {
1005 xxx_messageInfo_ManagedDevicesResponse.DiscardUnknown(m)
1006}
1007
1008var xxx_messageInfo_ManagedDevicesResponse proto.InternalMessageInfo
1009
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001010func (m *ManagedDevicesResponse) GetStatus() Status {
1011 if m != nil {
1012 return m.Status
1013 }
1014 return Status_UNDEFINED_STATUS
1015}
1016
1017func (m *ManagedDevicesResponse) GetReason() ManagedDevicesResponse_Reason {
1018 if m != nil {
1019 return m.Reason
1020 }
1021 return ManagedDevicesResponse_UNDEFINED_REASON
1022}
1023
1024func (m *ManagedDevicesResponse) GetDevices() []*ManagedDeviceInfo {
amit.ghosh258d14c2020-10-02 15:13:38 +02001025 if m != nil {
1026 return m.Devices
1027 }
1028 return nil
1029}
1030
1031type SetLoggingEndpointRequest struct {
1032 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1033 LoggingEndpoint string `protobuf:"bytes,2,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1034 LoggingProtocol string `protobuf:"bytes,3,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
1035 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1036 XXX_unrecognized []byte `json:"-"`
1037 XXX_sizecache int32 `json:"-"`
1038}
1039
1040func (m *SetLoggingEndpointRequest) Reset() { *m = SetLoggingEndpointRequest{} }
1041func (m *SetLoggingEndpointRequest) String() string { return proto.CompactTextString(m) }
1042func (*SetLoggingEndpointRequest) ProtoMessage() {}
1043func (*SetLoggingEndpointRequest) Descriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001044 return fileDescriptor_eae902e73066286d, []int{11}
amit.ghosh258d14c2020-10-02 15:13:38 +02001045}
1046
1047func (m *SetLoggingEndpointRequest) XXX_Unmarshal(b []byte) error {
1048 return xxx_messageInfo_SetLoggingEndpointRequest.Unmarshal(m, b)
1049}
1050func (m *SetLoggingEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1051 return xxx_messageInfo_SetLoggingEndpointRequest.Marshal(b, m, deterministic)
1052}
1053func (m *SetLoggingEndpointRequest) XXX_Merge(src proto.Message) {
1054 xxx_messageInfo_SetLoggingEndpointRequest.Merge(m, src)
1055}
1056func (m *SetLoggingEndpointRequest) XXX_Size() int {
1057 return xxx_messageInfo_SetLoggingEndpointRequest.Size(m)
1058}
1059func (m *SetLoggingEndpointRequest) XXX_DiscardUnknown() {
1060 xxx_messageInfo_SetLoggingEndpointRequest.DiscardUnknown(m)
1061}
1062
1063var xxx_messageInfo_SetLoggingEndpointRequest proto.InternalMessageInfo
1064
1065func (m *SetLoggingEndpointRequest) GetDeviceUuid() *Uuid {
1066 if m != nil {
1067 return m.DeviceUuid
1068 }
1069 return nil
1070}
1071
1072func (m *SetLoggingEndpointRequest) GetLoggingEndpoint() string {
1073 if m != nil {
1074 return m.LoggingEndpoint
1075 }
1076 return ""
1077}
1078
1079func (m *SetLoggingEndpointRequest) GetLoggingProtocol() string {
1080 if m != nil {
1081 return m.LoggingProtocol
1082 }
1083 return ""
1084}
1085
1086type SetRemoteEndpointResponse struct {
ssiddiqui6ca40702021-03-08 18:20:21 +05301087 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1088 Reason SetRemoteEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetRemoteEndpointResponse_Reason" json:"reason,omitempty"`
1089 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1090 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1091 XXX_unrecognized []byte `json:"-"`
1092 XXX_sizecache int32 `json:"-"`
amit.ghosh258d14c2020-10-02 15:13:38 +02001093}
1094
1095func (m *SetRemoteEndpointResponse) Reset() { *m = SetRemoteEndpointResponse{} }
1096func (m *SetRemoteEndpointResponse) String() string { return proto.CompactTextString(m) }
1097func (*SetRemoteEndpointResponse) ProtoMessage() {}
1098func (*SetRemoteEndpointResponse) Descriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001099 return fileDescriptor_eae902e73066286d, []int{12}
amit.ghosh258d14c2020-10-02 15:13:38 +02001100}
1101
1102func (m *SetRemoteEndpointResponse) XXX_Unmarshal(b []byte) error {
1103 return xxx_messageInfo_SetRemoteEndpointResponse.Unmarshal(m, b)
1104}
1105func (m *SetRemoteEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1106 return xxx_messageInfo_SetRemoteEndpointResponse.Marshal(b, m, deterministic)
1107}
1108func (m *SetRemoteEndpointResponse) XXX_Merge(src proto.Message) {
1109 xxx_messageInfo_SetRemoteEndpointResponse.Merge(m, src)
1110}
1111func (m *SetRemoteEndpointResponse) XXX_Size() int {
1112 return xxx_messageInfo_SetRemoteEndpointResponse.Size(m)
1113}
1114func (m *SetRemoteEndpointResponse) XXX_DiscardUnknown() {
1115 xxx_messageInfo_SetRemoteEndpointResponse.DiscardUnknown(m)
1116}
1117
1118var xxx_messageInfo_SetRemoteEndpointResponse proto.InternalMessageInfo
1119
1120func (m *SetRemoteEndpointResponse) GetStatus() Status {
1121 if m != nil {
1122 return m.Status
1123 }
1124 return Status_UNDEFINED_STATUS
1125}
1126
ssiddiqui6ca40702021-03-08 18:20:21 +05301127func (m *SetRemoteEndpointResponse) GetReason() SetRemoteEndpointResponse_Reason {
amit.ghosh258d14c2020-10-02 15:13:38 +02001128 if m != nil {
1129 return m.Reason
1130 }
ssiddiqui6ca40702021-03-08 18:20:21 +05301131 return SetRemoteEndpointResponse_UNDEFINED_REASON
1132}
1133
1134func (m *SetRemoteEndpointResponse) GetReasonDetail() string {
1135 if m != nil {
1136 return m.ReasonDetail
1137 }
1138 return ""
amit.ghosh258d14c2020-10-02 15:13:38 +02001139}
1140
1141type GetLoggingEndpointResponse struct {
ssiddiqui6ca40702021-03-08 18:20:21 +05301142 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1143 Reason GetLoggingEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetLoggingEndpointResponse_Reason" json:"reason,omitempty"`
1144 LoggingEndpoint string `protobuf:"bytes,3,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1145 LoggingProtocol string `protobuf:"bytes,4,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
1146 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1147 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1148 XXX_unrecognized []byte `json:"-"`
1149 XXX_sizecache int32 `json:"-"`
amit.ghosh258d14c2020-10-02 15:13:38 +02001150}
1151
1152func (m *GetLoggingEndpointResponse) Reset() { *m = GetLoggingEndpointResponse{} }
1153func (m *GetLoggingEndpointResponse) String() string { return proto.CompactTextString(m) }
1154func (*GetLoggingEndpointResponse) ProtoMessage() {}
1155func (*GetLoggingEndpointResponse) Descriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001156 return fileDescriptor_eae902e73066286d, []int{13}
amit.ghosh258d14c2020-10-02 15:13:38 +02001157}
1158
1159func (m *GetLoggingEndpointResponse) XXX_Unmarshal(b []byte) error {
1160 return xxx_messageInfo_GetLoggingEndpointResponse.Unmarshal(m, b)
1161}
1162func (m *GetLoggingEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1163 return xxx_messageInfo_GetLoggingEndpointResponse.Marshal(b, m, deterministic)
1164}
1165func (m *GetLoggingEndpointResponse) XXX_Merge(src proto.Message) {
1166 xxx_messageInfo_GetLoggingEndpointResponse.Merge(m, src)
1167}
1168func (m *GetLoggingEndpointResponse) XXX_Size() int {
1169 return xxx_messageInfo_GetLoggingEndpointResponse.Size(m)
1170}
1171func (m *GetLoggingEndpointResponse) XXX_DiscardUnknown() {
1172 xxx_messageInfo_GetLoggingEndpointResponse.DiscardUnknown(m)
1173}
1174
1175var xxx_messageInfo_GetLoggingEndpointResponse proto.InternalMessageInfo
1176
1177func (m *GetLoggingEndpointResponse) GetStatus() Status {
1178 if m != nil {
1179 return m.Status
1180 }
1181 return Status_UNDEFINED_STATUS
1182}
1183
ssiddiqui6ca40702021-03-08 18:20:21 +05301184func (m *GetLoggingEndpointResponse) GetReason() GetLoggingEndpointResponse_Reason {
amit.ghosh258d14c2020-10-02 15:13:38 +02001185 if m != nil {
1186 return m.Reason
1187 }
ssiddiqui6ca40702021-03-08 18:20:21 +05301188 return GetLoggingEndpointResponse_UNDEFINED_REASON
amit.ghosh258d14c2020-10-02 15:13:38 +02001189}
1190
1191func (m *GetLoggingEndpointResponse) GetLoggingEndpoint() string {
1192 if m != nil {
1193 return m.LoggingEndpoint
1194 }
1195 return ""
1196}
1197
1198func (m *GetLoggingEndpointResponse) GetLoggingProtocol() string {
1199 if m != nil {
1200 return m.LoggingProtocol
1201 }
1202 return ""
1203}
1204
ssiddiqui6ca40702021-03-08 18:20:21 +05301205func (m *GetLoggingEndpointResponse) GetReasonDetail() string {
1206 if m != nil {
1207 return m.ReasonDetail
1208 }
1209 return ""
1210}
1211
amit.ghosh258d14c2020-10-02 15:13:38 +02001212type SetMsgBusEndpointRequest struct {
1213 MsgbusEndpoint string `protobuf:"bytes,1,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1214 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1215 XXX_unrecognized []byte `json:"-"`
1216 XXX_sizecache int32 `json:"-"`
1217}
1218
1219func (m *SetMsgBusEndpointRequest) Reset() { *m = SetMsgBusEndpointRequest{} }
1220func (m *SetMsgBusEndpointRequest) String() string { return proto.CompactTextString(m) }
1221func (*SetMsgBusEndpointRequest) ProtoMessage() {}
1222func (*SetMsgBusEndpointRequest) Descriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001223 return fileDescriptor_eae902e73066286d, []int{14}
amit.ghosh258d14c2020-10-02 15:13:38 +02001224}
1225
1226func (m *SetMsgBusEndpointRequest) XXX_Unmarshal(b []byte) error {
1227 return xxx_messageInfo_SetMsgBusEndpointRequest.Unmarshal(m, b)
1228}
1229func (m *SetMsgBusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1230 return xxx_messageInfo_SetMsgBusEndpointRequest.Marshal(b, m, deterministic)
1231}
1232func (m *SetMsgBusEndpointRequest) XXX_Merge(src proto.Message) {
1233 xxx_messageInfo_SetMsgBusEndpointRequest.Merge(m, src)
1234}
1235func (m *SetMsgBusEndpointRequest) XXX_Size() int {
1236 return xxx_messageInfo_SetMsgBusEndpointRequest.Size(m)
1237}
1238func (m *SetMsgBusEndpointRequest) XXX_DiscardUnknown() {
1239 xxx_messageInfo_SetMsgBusEndpointRequest.DiscardUnknown(m)
1240}
1241
1242var xxx_messageInfo_SetMsgBusEndpointRequest proto.InternalMessageInfo
1243
1244func (m *SetMsgBusEndpointRequest) GetMsgbusEndpoint() string {
1245 if m != nil {
1246 return m.MsgbusEndpoint
1247 }
1248 return ""
1249}
1250
1251type GetMsgBusEndpointResponse struct {
ssiddiqui6ca40702021-03-08 18:20:21 +05301252 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1253 Reason GetMsgBusEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetMsgBusEndpointResponse_Reason" json:"reason,omitempty"`
1254 MsgbusEndpoint string `protobuf:"bytes,3,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1255 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1256 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1257 XXX_unrecognized []byte `json:"-"`
1258 XXX_sizecache int32 `json:"-"`
amit.ghosh258d14c2020-10-02 15:13:38 +02001259}
1260
1261func (m *GetMsgBusEndpointResponse) Reset() { *m = GetMsgBusEndpointResponse{} }
1262func (m *GetMsgBusEndpointResponse) String() string { return proto.CompactTextString(m) }
1263func (*GetMsgBusEndpointResponse) ProtoMessage() {}
1264func (*GetMsgBusEndpointResponse) Descriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001265 return fileDescriptor_eae902e73066286d, []int{15}
amit.ghosh258d14c2020-10-02 15:13:38 +02001266}
1267
1268func (m *GetMsgBusEndpointResponse) XXX_Unmarshal(b []byte) error {
1269 return xxx_messageInfo_GetMsgBusEndpointResponse.Unmarshal(m, b)
1270}
1271func (m *GetMsgBusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1272 return xxx_messageInfo_GetMsgBusEndpointResponse.Marshal(b, m, deterministic)
1273}
1274func (m *GetMsgBusEndpointResponse) XXX_Merge(src proto.Message) {
1275 xxx_messageInfo_GetMsgBusEndpointResponse.Merge(m, src)
1276}
1277func (m *GetMsgBusEndpointResponse) XXX_Size() int {
1278 return xxx_messageInfo_GetMsgBusEndpointResponse.Size(m)
1279}
1280func (m *GetMsgBusEndpointResponse) XXX_DiscardUnknown() {
1281 xxx_messageInfo_GetMsgBusEndpointResponse.DiscardUnknown(m)
1282}
1283
1284var xxx_messageInfo_GetMsgBusEndpointResponse proto.InternalMessageInfo
1285
1286func (m *GetMsgBusEndpointResponse) GetStatus() Status {
1287 if m != nil {
1288 return m.Status
1289 }
1290 return Status_UNDEFINED_STATUS
1291}
1292
ssiddiqui6ca40702021-03-08 18:20:21 +05301293func (m *GetMsgBusEndpointResponse) GetReason() GetMsgBusEndpointResponse_Reason {
amit.ghosh258d14c2020-10-02 15:13:38 +02001294 if m != nil {
1295 return m.Reason
1296 }
ssiddiqui6ca40702021-03-08 18:20:21 +05301297 return GetMsgBusEndpointResponse_UNDEFINED_REASON
amit.ghosh258d14c2020-10-02 15:13:38 +02001298}
1299
1300func (m *GetMsgBusEndpointResponse) GetMsgbusEndpoint() string {
1301 if m != nil {
1302 return m.MsgbusEndpoint
1303 }
1304 return ""
1305}
1306
ssiddiqui6ca40702021-03-08 18:20:21 +05301307func (m *GetMsgBusEndpointResponse) GetReasonDetail() string {
1308 if m != nil {
1309 return m.ReasonDetail
1310 }
1311 return ""
1312}
1313
Humera Kousera4442952020-11-23 23:51:19 +05301314type EntitiesLogLevel struct {
1315 LogLevel LogLevel `protobuf:"varint,1,opt,name=logLevel,proto3,enum=dmi.LogLevel" json:"logLevel,omitempty"`
1316 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1317 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1318 XXX_unrecognized []byte `json:"-"`
1319 XXX_sizecache int32 `json:"-"`
1320}
1321
1322func (m *EntitiesLogLevel) Reset() { *m = EntitiesLogLevel{} }
1323func (m *EntitiesLogLevel) String() string { return proto.CompactTextString(m) }
1324func (*EntitiesLogLevel) ProtoMessage() {}
1325func (*EntitiesLogLevel) Descriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001326 return fileDescriptor_eae902e73066286d, []int{16}
Humera Kousera4442952020-11-23 23:51:19 +05301327}
1328
1329func (m *EntitiesLogLevel) XXX_Unmarshal(b []byte) error {
1330 return xxx_messageInfo_EntitiesLogLevel.Unmarshal(m, b)
1331}
1332func (m *EntitiesLogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1333 return xxx_messageInfo_EntitiesLogLevel.Marshal(b, m, deterministic)
1334}
1335func (m *EntitiesLogLevel) XXX_Merge(src proto.Message) {
1336 xxx_messageInfo_EntitiesLogLevel.Merge(m, src)
1337}
1338func (m *EntitiesLogLevel) XXX_Size() int {
1339 return xxx_messageInfo_EntitiesLogLevel.Size(m)
1340}
1341func (m *EntitiesLogLevel) XXX_DiscardUnknown() {
1342 xxx_messageInfo_EntitiesLogLevel.DiscardUnknown(m)
1343}
1344
1345var xxx_messageInfo_EntitiesLogLevel proto.InternalMessageInfo
1346
1347func (m *EntitiesLogLevel) GetLogLevel() LogLevel {
1348 if m != nil {
1349 return m.LogLevel
1350 }
1351 return LogLevel_TRACE
1352}
1353
1354func (m *EntitiesLogLevel) GetEntities() []string {
1355 if m != nil {
1356 return m.Entities
1357 }
1358 return nil
1359}
1360
1361type SetLogLevelRequest struct {
1362 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1363 Loglevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=loglevels,proto3" json:"loglevels,omitempty"`
1364 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1365 XXX_unrecognized []byte `json:"-"`
1366 XXX_sizecache int32 `json:"-"`
1367}
1368
1369func (m *SetLogLevelRequest) Reset() { *m = SetLogLevelRequest{} }
1370func (m *SetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1371func (*SetLogLevelRequest) ProtoMessage() {}
1372func (*SetLogLevelRequest) Descriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001373 return fileDescriptor_eae902e73066286d, []int{17}
Humera Kousera4442952020-11-23 23:51:19 +05301374}
1375
1376func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1377 return xxx_messageInfo_SetLogLevelRequest.Unmarshal(m, b)
1378}
1379func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1380 return xxx_messageInfo_SetLogLevelRequest.Marshal(b, m, deterministic)
1381}
1382func (m *SetLogLevelRequest) XXX_Merge(src proto.Message) {
1383 xxx_messageInfo_SetLogLevelRequest.Merge(m, src)
1384}
1385func (m *SetLogLevelRequest) XXX_Size() int {
1386 return xxx_messageInfo_SetLogLevelRequest.Size(m)
1387}
1388func (m *SetLogLevelRequest) XXX_DiscardUnknown() {
1389 xxx_messageInfo_SetLogLevelRequest.DiscardUnknown(m)
1390}
1391
1392var xxx_messageInfo_SetLogLevelRequest proto.InternalMessageInfo
1393
1394func (m *SetLogLevelRequest) GetDeviceUuid() *Uuid {
1395 if m != nil {
1396 return m.DeviceUuid
1397 }
1398 return nil
1399}
1400
1401func (m *SetLogLevelRequest) GetLoglevels() []*EntitiesLogLevel {
1402 if m != nil {
1403 return m.Loglevels
1404 }
1405 return nil
1406}
1407
1408type SetLogLevelResponse struct {
ssiddiqui6ca40702021-03-08 18:20:21 +05301409 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1410 Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1411 Reason SetLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.SetLogLevelResponse_Reason" json:"reason,omitempty"`
1412 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1413 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1414 XXX_unrecognized []byte `json:"-"`
1415 XXX_sizecache int32 `json:"-"`
Humera Kousera4442952020-11-23 23:51:19 +05301416}
1417
1418func (m *SetLogLevelResponse) Reset() { *m = SetLogLevelResponse{} }
1419func (m *SetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1420func (*SetLogLevelResponse) ProtoMessage() {}
1421func (*SetLogLevelResponse) Descriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001422 return fileDescriptor_eae902e73066286d, []int{18}
Humera Kousera4442952020-11-23 23:51:19 +05301423}
1424
1425func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1426 return xxx_messageInfo_SetLogLevelResponse.Unmarshal(m, b)
1427}
1428func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1429 return xxx_messageInfo_SetLogLevelResponse.Marshal(b, m, deterministic)
1430}
1431func (m *SetLogLevelResponse) XXX_Merge(src proto.Message) {
1432 xxx_messageInfo_SetLogLevelResponse.Merge(m, src)
1433}
1434func (m *SetLogLevelResponse) XXX_Size() int {
1435 return xxx_messageInfo_SetLogLevelResponse.Size(m)
1436}
1437func (m *SetLogLevelResponse) XXX_DiscardUnknown() {
1438 xxx_messageInfo_SetLogLevelResponse.DiscardUnknown(m)
1439}
1440
1441var xxx_messageInfo_SetLogLevelResponse proto.InternalMessageInfo
1442
1443func (m *SetLogLevelResponse) GetDeviceUuid() *Uuid {
1444 if m != nil {
1445 return m.DeviceUuid
1446 }
1447 return nil
1448}
1449
1450func (m *SetLogLevelResponse) GetStatus() Status {
1451 if m != nil {
1452 return m.Status
1453 }
1454 return Status_UNDEFINED_STATUS
1455}
1456
ssiddiqui6ca40702021-03-08 18:20:21 +05301457func (m *SetLogLevelResponse) GetReason() SetLogLevelResponse_Reason {
Humera Kousera4442952020-11-23 23:51:19 +05301458 if m != nil {
1459 return m.Reason
1460 }
ssiddiqui6ca40702021-03-08 18:20:21 +05301461 return SetLogLevelResponse_UNDEFINED_REASON
1462}
1463
1464func (m *SetLogLevelResponse) GetReasonDetail() string {
1465 if m != nil {
1466 return m.ReasonDetail
1467 }
1468 return ""
Humera Kousera4442952020-11-23 23:51:19 +05301469}
1470
1471type GetLogLevelRequest struct {
1472 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1473 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1474 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1475 XXX_unrecognized []byte `json:"-"`
1476 XXX_sizecache int32 `json:"-"`
1477}
1478
1479func (m *GetLogLevelRequest) Reset() { *m = GetLogLevelRequest{} }
1480func (m *GetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1481func (*GetLogLevelRequest) ProtoMessage() {}
1482func (*GetLogLevelRequest) Descriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001483 return fileDescriptor_eae902e73066286d, []int{19}
Humera Kousera4442952020-11-23 23:51:19 +05301484}
1485
1486func (m *GetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1487 return xxx_messageInfo_GetLogLevelRequest.Unmarshal(m, b)
1488}
1489func (m *GetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1490 return xxx_messageInfo_GetLogLevelRequest.Marshal(b, m, deterministic)
1491}
1492func (m *GetLogLevelRequest) XXX_Merge(src proto.Message) {
1493 xxx_messageInfo_GetLogLevelRequest.Merge(m, src)
1494}
1495func (m *GetLogLevelRequest) XXX_Size() int {
1496 return xxx_messageInfo_GetLogLevelRequest.Size(m)
1497}
1498func (m *GetLogLevelRequest) XXX_DiscardUnknown() {
1499 xxx_messageInfo_GetLogLevelRequest.DiscardUnknown(m)
1500}
1501
1502var xxx_messageInfo_GetLogLevelRequest proto.InternalMessageInfo
1503
1504func (m *GetLogLevelRequest) GetDeviceUuid() *Uuid {
1505 if m != nil {
1506 return m.DeviceUuid
1507 }
1508 return nil
1509}
1510
1511func (m *GetLogLevelRequest) GetEntities() []string {
1512 if m != nil {
1513 return m.Entities
1514 }
1515 return nil
1516}
1517
1518type GetLogLevelResponse struct {
ssiddiqui6ca40702021-03-08 18:20:21 +05301519 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1520 LogLevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=logLevels,proto3" json:"logLevels,omitempty"`
1521 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1522 Reason GetLogLevelResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.GetLogLevelResponse_Reason" json:"reason,omitempty"`
1523 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1524 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1525 XXX_unrecognized []byte `json:"-"`
1526 XXX_sizecache int32 `json:"-"`
Humera Kousera4442952020-11-23 23:51:19 +05301527}
1528
1529func (m *GetLogLevelResponse) Reset() { *m = GetLogLevelResponse{} }
1530func (m *GetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1531func (*GetLogLevelResponse) ProtoMessage() {}
1532func (*GetLogLevelResponse) Descriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001533 return fileDescriptor_eae902e73066286d, []int{20}
Humera Kousera4442952020-11-23 23:51:19 +05301534}
1535
1536func (m *GetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1537 return xxx_messageInfo_GetLogLevelResponse.Unmarshal(m, b)
1538}
1539func (m *GetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1540 return xxx_messageInfo_GetLogLevelResponse.Marshal(b, m, deterministic)
1541}
1542func (m *GetLogLevelResponse) XXX_Merge(src proto.Message) {
1543 xxx_messageInfo_GetLogLevelResponse.Merge(m, src)
1544}
1545func (m *GetLogLevelResponse) XXX_Size() int {
1546 return xxx_messageInfo_GetLogLevelResponse.Size(m)
1547}
1548func (m *GetLogLevelResponse) XXX_DiscardUnknown() {
1549 xxx_messageInfo_GetLogLevelResponse.DiscardUnknown(m)
1550}
1551
1552var xxx_messageInfo_GetLogLevelResponse proto.InternalMessageInfo
1553
1554func (m *GetLogLevelResponse) GetDeviceUuid() *Uuid {
1555 if m != nil {
1556 return m.DeviceUuid
1557 }
1558 return nil
1559}
1560
1561func (m *GetLogLevelResponse) GetLogLevels() []*EntitiesLogLevel {
1562 if m != nil {
1563 return m.LogLevels
1564 }
1565 return nil
1566}
1567
1568func (m *GetLogLevelResponse) GetStatus() Status {
1569 if m != nil {
1570 return m.Status
1571 }
1572 return Status_UNDEFINED_STATUS
1573}
1574
ssiddiqui6ca40702021-03-08 18:20:21 +05301575func (m *GetLogLevelResponse) GetReason() GetLogLevelResponse_Reason {
Humera Kousera4442952020-11-23 23:51:19 +05301576 if m != nil {
1577 return m.Reason
1578 }
ssiddiqui6ca40702021-03-08 18:20:21 +05301579 return GetLogLevelResponse_UNDEFINED_REASON
1580}
1581
1582func (m *GetLogLevelResponse) GetReasonDetail() string {
1583 if m != nil {
1584 return m.ReasonDetail
1585 }
1586 return ""
Humera Kousera4442952020-11-23 23:51:19 +05301587}
1588
1589type GetLoggableEntitiesRequest struct {
1590 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1591 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1592 XXX_unrecognized []byte `json:"-"`
1593 XXX_sizecache int32 `json:"-"`
1594}
1595
1596func (m *GetLoggableEntitiesRequest) Reset() { *m = GetLoggableEntitiesRequest{} }
1597func (m *GetLoggableEntitiesRequest) String() string { return proto.CompactTextString(m) }
1598func (*GetLoggableEntitiesRequest) ProtoMessage() {}
1599func (*GetLoggableEntitiesRequest) Descriptor() ([]byte, []int) {
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001600 return fileDescriptor_eae902e73066286d, []int{21}
Humera Kousera4442952020-11-23 23:51:19 +05301601}
1602
1603func (m *GetLoggableEntitiesRequest) XXX_Unmarshal(b []byte) error {
1604 return xxx_messageInfo_GetLoggableEntitiesRequest.Unmarshal(m, b)
1605}
1606func (m *GetLoggableEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1607 return xxx_messageInfo_GetLoggableEntitiesRequest.Marshal(b, m, deterministic)
1608}
1609func (m *GetLoggableEntitiesRequest) XXX_Merge(src proto.Message) {
1610 xxx_messageInfo_GetLoggableEntitiesRequest.Merge(m, src)
1611}
1612func (m *GetLoggableEntitiesRequest) XXX_Size() int {
1613 return xxx_messageInfo_GetLoggableEntitiesRequest.Size(m)
1614}
1615func (m *GetLoggableEntitiesRequest) XXX_DiscardUnknown() {
1616 xxx_messageInfo_GetLoggableEntitiesRequest.DiscardUnknown(m)
1617}
1618
1619var xxx_messageInfo_GetLoggableEntitiesRequest proto.InternalMessageInfo
1620
1621func (m *GetLoggableEntitiesRequest) GetDeviceUuid() *Uuid {
1622 if m != nil {
1623 return m.DeviceUuid
1624 }
1625 return nil
1626}
1627
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001628type Heartbeat struct {
1629 HeartbeatSignature uint32 `protobuf:"fixed32,1,opt,name=heartbeat_signature,json=heartbeatSignature,proto3" json:"heartbeat_signature,omitempty"`
1630 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1631 XXX_unrecognized []byte `json:"-"`
1632 XXX_sizecache int32 `json:"-"`
1633}
1634
1635func (m *Heartbeat) Reset() { *m = Heartbeat{} }
1636func (m *Heartbeat) String() string { return proto.CompactTextString(m) }
1637func (*Heartbeat) ProtoMessage() {}
1638func (*Heartbeat) Descriptor() ([]byte, []int) {
1639 return fileDescriptor_eae902e73066286d, []int{22}
1640}
1641
1642func (m *Heartbeat) XXX_Unmarshal(b []byte) error {
1643 return xxx_messageInfo_Heartbeat.Unmarshal(m, b)
1644}
1645func (m *Heartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1646 return xxx_messageInfo_Heartbeat.Marshal(b, m, deterministic)
1647}
1648func (m *Heartbeat) XXX_Merge(src proto.Message) {
1649 xxx_messageInfo_Heartbeat.Merge(m, src)
1650}
1651func (m *Heartbeat) XXX_Size() int {
1652 return xxx_messageInfo_Heartbeat.Size(m)
1653}
1654func (m *Heartbeat) XXX_DiscardUnknown() {
1655 xxx_messageInfo_Heartbeat.DiscardUnknown(m)
1656}
1657
1658var xxx_messageInfo_Heartbeat proto.InternalMessageInfo
1659
1660func (m *Heartbeat) GetHeartbeatSignature() uint32 {
1661 if m != nil {
1662 return m.HeartbeatSignature
1663 }
1664 return 0
1665}
1666
1667type RebootDeviceRequest struct {
1668 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1669 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1670 XXX_unrecognized []byte `json:"-"`
1671 XXX_sizecache int32 `json:"-"`
1672}
1673
1674func (m *RebootDeviceRequest) Reset() { *m = RebootDeviceRequest{} }
1675func (m *RebootDeviceRequest) String() string { return proto.CompactTextString(m) }
1676func (*RebootDeviceRequest) ProtoMessage() {}
1677func (*RebootDeviceRequest) Descriptor() ([]byte, []int) {
1678 return fileDescriptor_eae902e73066286d, []int{23}
1679}
1680
1681func (m *RebootDeviceRequest) XXX_Unmarshal(b []byte) error {
1682 return xxx_messageInfo_RebootDeviceRequest.Unmarshal(m, b)
1683}
1684func (m *RebootDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1685 return xxx_messageInfo_RebootDeviceRequest.Marshal(b, m, deterministic)
1686}
1687func (m *RebootDeviceRequest) XXX_Merge(src proto.Message) {
1688 xxx_messageInfo_RebootDeviceRequest.Merge(m, src)
1689}
1690func (m *RebootDeviceRequest) XXX_Size() int {
1691 return xxx_messageInfo_RebootDeviceRequest.Size(m)
1692}
1693func (m *RebootDeviceRequest) XXX_DiscardUnknown() {
1694 xxx_messageInfo_RebootDeviceRequest.DiscardUnknown(m)
1695}
1696
1697var xxx_messageInfo_RebootDeviceRequest proto.InternalMessageInfo
1698
1699func (m *RebootDeviceRequest) GetDeviceUuid() *Uuid {
1700 if m != nil {
1701 return m.DeviceUuid
1702 }
1703 return nil
1704}
1705
1706type RebootDeviceResponse struct {
1707 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1708 Reason RebootDeviceResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.RebootDeviceResponse_Reason" json:"reason,omitempty"`
1709 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1710 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1711 XXX_unrecognized []byte `json:"-"`
1712 XXX_sizecache int32 `json:"-"`
1713}
1714
1715func (m *RebootDeviceResponse) Reset() { *m = RebootDeviceResponse{} }
1716func (m *RebootDeviceResponse) String() string { return proto.CompactTextString(m) }
1717func (*RebootDeviceResponse) ProtoMessage() {}
1718func (*RebootDeviceResponse) Descriptor() ([]byte, []int) {
1719 return fileDescriptor_eae902e73066286d, []int{24}
1720}
1721
1722func (m *RebootDeviceResponse) XXX_Unmarshal(b []byte) error {
1723 return xxx_messageInfo_RebootDeviceResponse.Unmarshal(m, b)
1724}
1725func (m *RebootDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1726 return xxx_messageInfo_RebootDeviceResponse.Marshal(b, m, deterministic)
1727}
1728func (m *RebootDeviceResponse) XXX_Merge(src proto.Message) {
1729 xxx_messageInfo_RebootDeviceResponse.Merge(m, src)
1730}
1731func (m *RebootDeviceResponse) XXX_Size() int {
1732 return xxx_messageInfo_RebootDeviceResponse.Size(m)
1733}
1734func (m *RebootDeviceResponse) XXX_DiscardUnknown() {
1735 xxx_messageInfo_RebootDeviceResponse.DiscardUnknown(m)
1736}
1737
1738var xxx_messageInfo_RebootDeviceResponse proto.InternalMessageInfo
1739
1740func (m *RebootDeviceResponse) GetStatus() Status {
1741 if m != nil {
1742 return m.Status
1743 }
1744 return Status_UNDEFINED_STATUS
1745}
1746
1747func (m *RebootDeviceResponse) GetReason() RebootDeviceResponse_Reason {
1748 if m != nil {
1749 return m.Reason
1750 }
1751 return RebootDeviceResponse_UNDEFINED_REASON
1752}
1753
1754func (m *RebootDeviceResponse) GetReasonDetail() string {
1755 if m != nil {
1756 return m.ReasonDetail
1757 }
1758 return ""
1759}
1760
amit.ghosh258d14c2020-10-02 15:13:38 +02001761func init() {
ssiddiqui6ca40702021-03-08 18:20:21 +05301762 proto.RegisterEnum("dmi.PhysicalInventoryResponse_Reason", PhysicalInventoryResponse_Reason_name, PhysicalInventoryResponse_Reason_value)
1763 proto.RegisterEnum("dmi.HWComponentInfoGetResponse_Reason", HWComponentInfoGetResponse_Reason_name, HWComponentInfoGetResponse_Reason_value)
1764 proto.RegisterEnum("dmi.HWComponentInfoSetResponse_Reason", HWComponentInfoSetResponse_Reason_name, HWComponentInfoSetResponse_Reason_value)
1765 proto.RegisterEnum("dmi.StartManagingDeviceResponse_Reason", StartManagingDeviceResponse_Reason_name, StartManagingDeviceResponse_Reason_value)
1766 proto.RegisterEnum("dmi.StopManagingDeviceResponse_Reason", StopManagingDeviceResponse_Reason_name, StopManagingDeviceResponse_Reason_value)
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001767 proto.RegisterEnum("dmi.ManagedDevicesResponse_Reason", ManagedDevicesResponse_Reason_name, ManagedDevicesResponse_Reason_value)
ssiddiqui6ca40702021-03-08 18:20:21 +05301768 proto.RegisterEnum("dmi.SetRemoteEndpointResponse_Reason", SetRemoteEndpointResponse_Reason_name, SetRemoteEndpointResponse_Reason_value)
1769 proto.RegisterEnum("dmi.GetLoggingEndpointResponse_Reason", GetLoggingEndpointResponse_Reason_name, GetLoggingEndpointResponse_Reason_value)
1770 proto.RegisterEnum("dmi.GetMsgBusEndpointResponse_Reason", GetMsgBusEndpointResponse_Reason_name, GetMsgBusEndpointResponse_Reason_value)
1771 proto.RegisterEnum("dmi.SetLogLevelResponse_Reason", SetLogLevelResponse_Reason_name, SetLogLevelResponse_Reason_value)
1772 proto.RegisterEnum("dmi.GetLogLevelResponse_Reason", GetLogLevelResponse_Reason_name, GetLogLevelResponse_Reason_value)
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001773 proto.RegisterEnum("dmi.RebootDeviceResponse_Reason", RebootDeviceResponse_Reason_name, RebootDeviceResponse_Reason_value)
amit.ghosh258d14c2020-10-02 15:13:38 +02001774 proto.RegisterType((*PhysicalInventoryRequest)(nil), "dmi.PhysicalInventoryRequest")
1775 proto.RegisterType((*PhysicalInventoryResponse)(nil), "dmi.PhysicalInventoryResponse")
1776 proto.RegisterType((*HWComponentInfoGetRequest)(nil), "dmi.HWComponentInfoGetRequest")
1777 proto.RegisterType((*HWComponentInfoGetResponse)(nil), "dmi.HWComponentInfoGetResponse")
1778 proto.RegisterType((*HWComponentInfoSetRequest)(nil), "dmi.HWComponentInfoSetRequest")
1779 proto.RegisterType((*HWComponentInfoSetResponse)(nil), "dmi.HWComponentInfoSetResponse")
1780 proto.RegisterType((*StartManagingDeviceResponse)(nil), "dmi.StartManagingDeviceResponse")
1781 proto.RegisterType((*StopManagingDeviceRequest)(nil), "dmi.StopManagingDeviceRequest")
1782 proto.RegisterType((*StopManagingDeviceResponse)(nil), "dmi.StopManagingDeviceResponse")
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001783 proto.RegisterType((*ManagedDeviceInfo)(nil), "dmi.ManagedDeviceInfo")
amit.ghosh258d14c2020-10-02 15:13:38 +02001784 proto.RegisterType((*ManagedDevicesResponse)(nil), "dmi.ManagedDevicesResponse")
1785 proto.RegisterType((*SetLoggingEndpointRequest)(nil), "dmi.SetLoggingEndpointRequest")
1786 proto.RegisterType((*SetRemoteEndpointResponse)(nil), "dmi.SetRemoteEndpointResponse")
1787 proto.RegisterType((*GetLoggingEndpointResponse)(nil), "dmi.GetLoggingEndpointResponse")
1788 proto.RegisterType((*SetMsgBusEndpointRequest)(nil), "dmi.SetMsgBusEndpointRequest")
1789 proto.RegisterType((*GetMsgBusEndpointResponse)(nil), "dmi.GetMsgBusEndpointResponse")
Humera Kousera4442952020-11-23 23:51:19 +05301790 proto.RegisterType((*EntitiesLogLevel)(nil), "dmi.EntitiesLogLevel")
1791 proto.RegisterType((*SetLogLevelRequest)(nil), "dmi.SetLogLevelRequest")
1792 proto.RegisterType((*SetLogLevelResponse)(nil), "dmi.SetLogLevelResponse")
1793 proto.RegisterType((*GetLogLevelRequest)(nil), "dmi.GetLogLevelRequest")
1794 proto.RegisterType((*GetLogLevelResponse)(nil), "dmi.GetLogLevelResponse")
1795 proto.RegisterType((*GetLoggableEntitiesRequest)(nil), "dmi.GetLoggableEntitiesRequest")
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001796 proto.RegisterType((*Heartbeat)(nil), "dmi.Heartbeat")
1797 proto.RegisterType((*RebootDeviceRequest)(nil), "dmi.RebootDeviceRequest")
1798 proto.RegisterType((*RebootDeviceResponse)(nil), "dmi.RebootDeviceResponse")
amit.ghosh258d14c2020-10-02 15:13:38 +02001799}
1800
1801func init() { proto.RegisterFile("dmi/hw_management_service.proto", fileDescriptor_eae902e73066286d) }
1802
1803var fileDescriptor_eae902e73066286d = []byte{
Elia Battiston442124b2022-03-24 11:36:29 +01001804 // 1585 bytes of a gzipped FileDescriptorProto
1805 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4d, 0x6f, 0xdb, 0x46,
1806 0x13, 0x7e, 0x29, 0xd9, 0x4e, 0x34, 0x4e, 0x6c, 0x79, 0x9d, 0x38, 0x12, 0x83, 0xd8, 0x7e, 0x19,
1807 0xa4, 0x71, 0xda, 0x44, 0x32, 0x94, 0x43, 0xd3, 0xef, 0xd2, 0x12, 0x2d, 0xb1, 0x91, 0x28, 0x61,
1808 0x29, 0xc5, 0x48, 0x51, 0x54, 0xa0, 0xa5, 0xb5, 0x4c, 0x54, 0x24, 0x55, 0x91, 0x72, 0xe0, 0x9f,
1809 0xd1, 0x63, 0x0f, 0x2d, 0xfa, 0x0b, 0x0a, 0xf4, 0x1a, 0xf4, 0xde, 0x43, 0xaf, 0x3d, 0x15, 0x05,
1810 0x8a, 0xfe, 0x84, 0x5e, 0x7b, 0x2a, 0xb4, 0x4b, 0xea, 0x83, 0x22, 0x65, 0x49, 0x4e, 0xd0, 0xdc,
1811 0xc4, 0xdd, 0xd9, 0x67, 0x67, 0xe7, 0x99, 0x9d, 0x99, 0x1d, 0xc1, 0x4e, 0xd3, 0xd0, 0xd3, 0xa7,
1812 0x2f, 0xea, 0x86, 0x66, 0x6a, 0x2d, 0x62, 0x10, 0xd3, 0xa9, 0xdb, 0xa4, 0x7b, 0xa6, 0x37, 0x48,
1813 0xaa, 0xd3, 0xb5, 0x1c, 0x0b, 0x45, 0x9b, 0x86, 0xce, 0x6f, 0xf4, 0xa5, 0x1a, 0x96, 0x61, 0x58,
1814 0xa6, 0xcd, 0xc6, 0xf9, 0x6b, 0x6c, 0xa1, 0xfb, 0x75, 0xbb, 0x65, 0x59, 0xad, 0x36, 0x49, 0xd3,
1815 0xaf, 0xe3, 0xde, 0x49, 0x9a, 0x18, 0x1d, 0xe7, 0x9c, 0x4d, 0x0a, 0x87, 0x90, 0xa8, 0x9c, 0x9e,
1816 0xdb, 0x7a, 0x43, 0x6b, 0xcb, 0xe6, 0x19, 0x31, 0x1d, 0xab, 0x7b, 0x8e, 0xc9, 0xd7, 0x3d, 0x62,
1817 0x3b, 0xe8, 0x6d, 0x58, 0x6d, 0x92, 0xfe, 0x76, 0xf5, 0x5e, 0x4f, 0x6f, 0x26, 0xb8, 0x5d, 0x6e,
1818 0x6f, 0x35, 0x13, 0x4b, 0x35, 0x0d, 0x3d, 0x55, 0xeb, 0xe9, 0x4d, 0x0c, 0x6c, 0xb6, 0xff, 0x5b,
1819 0xf8, 0x29, 0x02, 0xc9, 0x00, 0x20, 0xbb, 0x63, 0x99, 0x36, 0x41, 0x77, 0x61, 0xc5, 0x76, 0x34,
1820 0xa7, 0x67, 0x53, 0x90, 0xb5, 0xcc, 0x2a, 0x05, 0x51, 0xe9, 0x10, 0x76, 0xa7, 0xd0, 0x47, 0xb0,
1821 0xd2, 0x25, 0x9a, 0x6d, 0x99, 0x89, 0x08, 0x15, 0xba, 0x47, 0x85, 0x42, 0x41, 0x53, 0x98, 0x0a,
1822 0x63, 0x77, 0x11, 0x7a, 0x07, 0x62, 0xba, 0x27, 0x93, 0x88, 0x52, 0x5d, 0xaf, 0x53, 0x84, 0x82,
1823 0xd6, 0x6d, 0xbe, 0xd0, 0xba, 0x04, 0x0f, 0xe7, 0xd1, 0x5d, 0xb8, 0xce, 0x96, 0xd5, 0x9b, 0xc4,
1824 0xd1, 0xf4, 0x76, 0x62, 0x69, 0x97, 0xdb, 0x8b, 0xe1, 0x6b, 0x6c, 0x30, 0x47, 0xc7, 0x84, 0x2f,
1825 0x61, 0x85, 0xed, 0x81, 0x6e, 0x40, 0xbc, 0xa6, 0xe4, 0xa4, 0x43, 0x59, 0x91, 0x72, 0x75, 0x2c,
1826 0x89, 0x6a, 0x59, 0x89, 0xff, 0x0f, 0x21, 0x58, 0xab, 0x29, 0x4f, 0x95, 0xf2, 0x91, 0x52, 0xcf,
1827 0x49, 0xcf, 0xe4, 0xac, 0x14, 0xe7, 0xfa, 0x63, 0xb2, 0x52, 0x95, 0xb0, 0x22, 0x16, 0xeb, 0x12,
1828 0xc6, 0x65, 0x1c, 0x8f, 0xa0, 0x2d, 0x40, 0x6c, 0xbe, 0x5e, 0x53, 0xb0, 0x24, 0x66, 0x0b, 0xe2,
1829 0x41, 0x51, 0x8a, 0x47, 0x85, 0x1f, 0x38, 0x48, 0x16, 0x8e, 0xb2, 0x96, 0xd1, 0xb1, 0x4c, 0x62,
1830 0x3a, 0xb2, 0x79, 0x62, 0xe5, 0x89, 0xb3, 0x80, 0xf5, 0xd1, 0x3e, 0xac, 0x35, 0x3c, 0x18, 0x26,
1831 0x1e, 0xf1, 0x8b, 0x5f, 0x1f, 0x08, 0xd0, 0x15, 0xf7, 0x46, 0x57, 0x98, 0x9a, 0x41, 0xa8, 0xc9,
1832 0x62, 0x23, 0x62, 0x8a, 0x66, 0x10, 0xe1, 0xd7, 0x08, 0xf0, 0x41, 0x2a, 0xce, 0xc3, 0xeb, 0xc7,
1833 0x3e, 0x5e, 0xdf, 0x62, 0xac, 0x84, 0xa2, 0xfa, 0x89, 0x7d, 0x08, 0xb1, 0x81, 0x52, 0x2e, 0xb1,
1834 0x6b, 0x14, 0x62, 0x00, 0x80, 0x87, 0x02, 0xb3, 0x31, 0xdb, 0x5b, 0x80, 0xd9, 0x9b, 0xb0, 0xe1,
1835 0x8d, 0x65, 0xcb, 0xa5, 0x4a, 0x59, 0x91, 0x94, 0x6a, 0x3c, 0x12, 0x40, 0x78, 0x34, 0x84, 0xf0,
1836 0x25, 0xe1, 0xb7, 0x49, 0xc2, 0xd5, 0x37, 0x8b, 0x70, 0x94, 0x81, 0x2b, 0x8d, 0x53, 0xcd, 0x6c,
1837 0x11, 0x9b, 0x1a, 0x6e, 0x35, 0x93, 0xa0, 0x88, 0x25, 0xab, 0xa9, 0x9f, 0xe8, 0xda, 0x71, 0x9b,
1838 0x0c, 0x8d, 0xee, 0x09, 0x0a, 0xbf, 0x4c, 0x3a, 0x89, 0xfa, 0x5a, 0x9c, 0x44, 0x0d, 0x77, 0x92,
1839 0x09, 0xda, 0xa3, 0x01, 0xb4, 0x7f, 0xcf, 0xbd, 0x62, 0xde, 0x9f, 0x89, 0x45, 0x39, 0x57, 0xaf,
1840 0x88, 0x58, 0x2c, 0xa9, 0xf1, 0x68, 0x80, 0x2f, 0x2c, 0x85, 0xf8, 0xc2, 0x32, 0xda, 0x84, 0x75,
1841 0x55, 0xaa, 0xd6, 0x6b, 0x8a, 0x5a, 0xab, 0x54, 0xca, 0xb8, 0x2a, 0xe5, 0xe2, 0x2b, 0xc2, 0x37,
1842 0x51, 0xb8, 0xad, 0x3a, 0x5a, 0xd7, 0x29, 0xf5, 0x43, 0xbe, 0x6e, 0xb6, 0x72, 0x94, 0xf2, 0xf9,
1843 0x4c, 0xf9, 0x89, 0xcf, 0x94, 0xf7, 0x3d, 0xa1, 0x30, 0x58, 0xbf, 0x2d, 0x7d, 0x8e, 0x18, 0x9d,
1844 0xe6, 0x88, 0x33, 0x5d, 0xb7, 0x97, 0x17, 0xd9, 0x9d, 0x87, 0x2d, 0xd7, 0x48, 0x62, 0x11, 0x4b,
1845 0x62, 0xee, 0x79, 0xbd, 0x24, 0x2a, 0x62, 0x5e, 0xca, 0xc5, 0x39, 0xf4, 0x7f, 0xb8, 0x53, 0xae,
1846 0x48, 0x58, 0xac, 0xca, 0x65, 0x65, 0x30, 0x2d, 0x2b, 0xf5, 0x0a, 0x2e, 0xe7, 0xb1, 0xa4, 0xaa,
1847 0x73, 0x70, 0xc1, 0xc3, 0x96, 0x58, 0xab, 0x16, 0x24, 0xa5, 0x2a, 0x67, 0x19, 0xde, 0xa1, 0x28,
1848 0x17, 0x6b, 0xb8, 0xcf, 0xc7, 0x2d, 0xd8, 0x94, 0x95, 0x3e, 0xc1, 0x62, 0x55, 0x3e, 0x28, 0x4a,
1849 0x1e, 0xff, 0x2b, 0x42, 0x1a, 0x92, 0xaa, 0x63, 0x75, 0xfc, 0xa6, 0x63, 0x77, 0x16, 0xc1, 0x12,
1850 0xbd, 0x4b, 0x1c, 0x3d, 0x35, 0xfd, 0x2d, 0xfc, 0xce, 0x01, 0x1f, 0xb4, 0xe2, 0xf2, 0xd7, 0x21,
1851 0x1c, 0x75, 0xa1, 0xeb, 0x90, 0x99, 0xff, 0x36, 0x08, 0x06, 0x6c, 0x50, 0x0d, 0x48, 0x93, 0x29,
1852 0xd0, 0xbf, 0x96, 0xe8, 0x21, 0x2c, 0xe9, 0xe6, 0x89, 0xe5, 0x86, 0xac, 0xf0, 0x88, 0x41, 0xa5,
1853 0xfc, 0xee, 0x15, 0x99, 0x56, 0x56, 0xfc, 0xc9, 0xc1, 0xd6, 0xd8, 0x7e, 0xf6, 0x7c, 0x76, 0x7c,
1854 0xdf, 0x67, 0x47, 0x81, 0xe9, 0x16, 0x88, 0xe8, 0xb7, 0xe1, 0x3e, 0x5c, 0x61, 0x9a, 0xd8, 0x89,
1855 0xe8, 0x6e, 0x74, 0x6f, 0x35, 0xb3, 0x35, 0xb9, 0xb8, 0x7f, 0x7c, 0xec, 0x89, 0xcd, 0x62, 0x50,
1856 0x9f, 0x4f, 0x72, 0xc2, 0x77, 0x1c, 0x24, 0x55, 0xe2, 0x14, 0xad, 0x56, 0x9f, 0x55, 0xc9, 0x6c,
1857 0x76, 0x2c, 0xdd, 0x5c, 0x28, 0x27, 0x3c, 0x80, 0x78, 0x9b, 0xa1, 0xd4, 0x89, 0x0b, 0x43, 0x4f,
1858 0x1d, 0xc3, 0xeb, 0xed, 0x71, 0xf4, 0x51, 0x51, 0x5a, 0x06, 0x36, 0x2c, 0xcf, 0x43, 0x3c, 0xd1,
1859 0x8a, 0x3b, 0x2c, 0xfc, 0x15, 0xa1, 0xfa, 0x61, 0x62, 0x58, 0x0e, 0x19, 0xaa, 0x77, 0xf9, 0xc2,
1860 0x2e, 0x14, 0x74, 0x21, 0x5f, 0x7e, 0xc9, 0xbd, 0xa2, 0x62, 0x8d, 0x87, 0xad, 0x62, 0x39, 0x9f,
1861 0x97, 0x95, 0x7c, 0x5d, 0x52, 0x72, 0x95, 0xb2, 0xac, 0x54, 0x07, 0x79, 0xfd, 0x2e, 0xec, 0x4c,
1862 0xcc, 0x55, 0x70, 0xb9, 0x5a, 0xce, 0x96, 0x87, 0x41, 0x26, 0x09, 0x37, 0x4b, 0x6a, 0xfe, 0xa0,
1863 0xa6, 0xfa, 0xd7, 0x2f, 0x87, 0xe4, 0x82, 0x15, 0xe1, 0x8f, 0x08, 0xf0, 0xf9, 0x00, 0x1f, 0xb8,
1864 0x7c, 0xc4, 0x08, 0x47, 0xf5, 0x5b, 0x39, 0xc8, 0x7b, 0xa2, 0xb3, 0x7b, 0xcf, 0x52, 0xa0, 0xf7,
1865 0x4c, 0x72, 0xb7, 0xfc, 0x1f, 0xd4, 0xd9, 0x59, 0x48, 0xa8, 0xc4, 0x29, 0xd9, 0xad, 0x83, 0x9e,
1866 0xed, 0xbf, 0x60, 0xf7, 0x61, 0xdd, 0xb0, 0x5b, 0xc7, 0x3d, 0x7b, 0x78, 0x6a, 0x16, 0xcb, 0xd7,
1867 0xd8, 0xb0, 0x27, 0x2f, 0x7c, 0x1b, 0x81, 0x64, 0x7e, 0x12, 0xe5, 0xf2, 0xf7, 0x20, 0x14, 0xd4,
1868 0xcf, 0x50, 0x80, 0xaa, 0xd1, 0x20, 0x55, 0x67, 0xcb, 0xc9, 0x9f, 0xcd, 0x1f, 0xab, 0x42, 0x0c,
1869 0x1c, 0x11, 0x9e, 0x43, 0x5c, 0x32, 0x1d, 0xdd, 0xd1, 0x89, 0x5d, 0xb4, 0x5a, 0x45, 0x72, 0x46,
1870 0xda, 0xe8, 0x01, 0x5c, 0x6d, 0xbb, 0xbf, 0x5d, 0x9b, 0xb0, 0xd7, 0x98, 0x27, 0x80, 0x07, 0xd3,
1871 0x88, 0x87, 0xab, 0xc4, 0x5d, 0x9e, 0x88, 0xec, 0x46, 0xf7, 0x62, 0x78, 0xf0, 0x2d, 0xf4, 0x00,
1872 0xb1, 0xe8, 0xc8, 0x16, 0x2d, 0x10, 0x16, 0x1f, 0x43, 0xac, 0xdd, 0x7f, 0xff, 0x9e, 0x91, 0x36,
1873 0x83, 0x5f, 0xcd, 0xdc, 0xa4, 0x92, 0x7e, 0x95, 0xf1, 0x50, 0x4e, 0xf8, 0x39, 0x02, 0x9b, 0x63,
1874 0xfb, 0xba, 0x3c, 0xcf, 0xb3, 0xf1, 0xd0, 0x27, 0x22, 0xe1, 0x3e, 0xf1, 0xee, 0xc0, 0x27, 0xa2,
1875 0x54, 0x68, 0xc7, 0x8b, 0x8d, 0xfe, 0xad, 0x2f, 0x8c, 0x8a, 0x41, 0x24, 0x9f, 0xbd, 0xba, 0x9b,
1876 0xe5, 0xc9, 0x15, 0xcb, 0xfd, 0xe0, 0x57, 0x95, 0xab, 0xcf, 0xa7, 0x3c, 0x74, 0xbe, 0x00, 0x94,
1877 0xbf, 0x1c, 0x6b, 0xd3, 0x7c, 0xe2, 0xef, 0x08, 0x6c, 0xe6, 0x2f, 0x49, 0x0e, 0xf3, 0x8a, 0xe2,
1878 0x8c, 0x5e, 0xc1, 0xe4, 0x46, 0x18, 0x8d, 0xce, 0xc2, 0xe8, 0xd2, 0x08, 0xa3, 0xf9, 0x05, 0x18,
1879 0x5d, 0x7e, 0x83, 0x18, 0x2d, 0x0c, 0x32, 0x54, 0xbf, 0xa4, 0xf3, 0x8c, 0xb4, 0x48, 0xa7, 0xe8,
1880 0x43, 0x88, 0x15, 0x88, 0xd6, 0x75, 0x8e, 0x89, 0xe6, 0xa0, 0x34, 0x6c, 0x9e, 0x7a, 0x1f, 0x75,
1881 0x5b, 0x6f, 0x99, 0x9a, 0xd3, 0xeb, 0xb2, 0x72, 0xfa, 0x0a, 0x46, 0x83, 0x29, 0xd5, 0x9b, 0x11,
1882 0x44, 0xd8, 0xc4, 0xe4, 0xd8, 0xb2, 0x9c, 0xf1, 0x3a, 0x7c, 0x1e, 0x05, 0xfe, 0xe1, 0xe0, 0xc6,
1883 0x38, 0xc6, 0x44, 0x10, 0x9f, 0x42, 0xef, 0x13, 0x1f, 0xbd, 0xbb, 0x54, 0x28, 0x08, 0x6f, 0x21,
1884 0x7e, 0x5f, 0x73, 0x2e, 0xcc, 0xfc, 0x18, 0x83, 0xa4, 0xa2, 0x39, 0xfa, 0x19, 0x29, 0x1c, 0x95,
1885 0x06, 0x7d, 0x45, 0x95, 0xb5, 0x15, 0x91, 0x0a, 0x9b, 0x01, 0xef, 0x44, 0x14, 0x5a, 0xd1, 0xf3,
1886 0xbb, 0x17, 0xbd, 0x2d, 0xf7, 0x39, 0x54, 0x03, 0x34, 0xf9, 0x70, 0x41, 0xdb, 0xa1, 0x2f, 0x1a,
1887 0xca, 0x28, 0xbf, 0x73, 0xc1, 0x8b, 0x07, 0x15, 0x60, 0xa3, 0x9f, 0x3a, 0xc7, 0x4a, 0x79, 0xb4,
1888 0x95, 0x62, 0xcd, 0xce, 0x94, 0xd7, 0xec, 0x4c, 0x49, 0x46, 0xc7, 0x39, 0xe7, 0x6f, 0x4f, 0xa9,
1889 0xfb, 0xd1, 0x11, 0xdc, 0xc8, 0x13, 0x67, 0xa2, 0xd1, 0x88, 0xee, 0x84, 0x35, 0x20, 0x99, 0x86,
1890 0xdb, 0xd3, 0xfb, 0x93, 0xfb, 0x1c, 0x3a, 0xa2, 0x61, 0xd0, 0xd7, 0xc4, 0x70, 0x4f, 0x1e, 0xda,
1891 0xf8, 0x73, 0x4f, 0x1e, 0xde, 0x1f, 0x73, 0x4d, 0x3a, 0x23, 0xb0, 0x7a, 0x01, 0xf0, 0x68, 0xa7,
1892 0xa6, 0xea, 0x25, 0xdb, 0xb1, 0x72, 0x6f, 0x7b, 0x24, 0x25, 0x05, 0xbc, 0x51, 0xf8, 0xed, 0xe9,
1893 0xe5, 0x3c, 0x3a, 0xf4, 0x92, 0xc1, 0x18, 0xea, 0xfa, 0x58, 0x6f, 0x56, 0xce, 0xf1, 0x3b, 0x17,
1894 0x14, 0xac, 0x08, 0xc3, 0xc6, 0x44, 0x19, 0xe7, 0x72, 0x14, 0x56, 0xde, 0x5d, 0xa8, 0xdb, 0x53,
1895 0xe6, 0x44, 0xe3, 0x98, 0x61, 0x4e, 0xb4, 0x3d, 0xbd, 0x5e, 0x43, 0x15, 0x2f, 0x2d, 0x8d, 0xc5,
1896 0x48, 0x34, 0x76, 0xb0, 0x80, 0xe8, 0xc9, 0x27, 0xc2, 0x32, 0x04, 0xfa, 0x14, 0x56, 0x47, 0x4a,
1897 0x01, 0x74, 0x6b, 0xb2, 0x38, 0x18, 0x45, 0x50, 0x83, 0x11, 0xf2, 0x13, 0x08, 0xf9, 0x30, 0x84,
1898 0x20, 0x1d, 0x9e, 0xc0, 0xda, 0x20, 0x5e, 0x67, 0x4f, 0x49, 0xe3, 0xab, 0x50, 0xfb, 0xb0, 0xae,
1899 0xec, 0x30, 0xb8, 0x67, 0xe1, 0xda, 0x68, 0x5c, 0x74, 0xc3, 0x48, 0x40, 0xf8, 0xe6, 0x93, 0xa1,
1900 0x41, 0xf4, 0xe0, 0x83, 0xcf, 0xdf, 0x6b, 0xe9, 0xce, 0x69, 0xef, 0x38, 0xd5, 0xb0, 0x8c, 0xb4,
1901 0xd5, 0x21, 0x66, 0xc3, 0xea, 0x36, 0xd3, 0x2c, 0x9e, 0x3f, 0x1a, 0xfe, 0x35, 0xf2, 0x48, 0x37,
1902 0x1d, 0xd2, 0x3d, 0xd1, 0x1a, 0x24, 0x7d, 0xf6, 0x38, 0xdd, 0xb2, 0xd2, 0x4d, 0x43, 0x3f, 0x5e,
1903 0xa1, 0x1a, 0x3e, 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x85, 0x2d, 0x68, 0x4a, 0x19, 0x00,
1904 0x00,
amit.ghosh258d14c2020-10-02 15:13:38 +02001905}
1906
1907// Reference imports to suppress errors if they are not otherwise used.
1908var _ context.Context
1909var _ grpc.ClientConn
1910
1911// This is a compile-time assertion to ensure that this generated file
1912// is compatible with the grpc package it is being compiled against.
1913const _ = grpc.SupportPackageIsVersion4
1914
1915// NativeHWManagementServiceClient is the client API for NativeHWManagementService service.
1916//
1917// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1918type NativeHWManagementServiceClient interface {
1919 // Initializes context for a device and sets up required states
1920 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1921 // and their meanings in this context is mentioned below:
1922 // name = The unique name that needs to be assigned to this hardware;
1923 // class = COMPONENT_TYPE_UNDEFINED;
1924 // parent = nil;
1925 // alias = Optional;
1926 // asset_id = Optional;
1927 // uri = IP Address of the Hardware;
1928 StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error)
1929 // Stop management of a device and clean up any context and caches for that device
ssiddiqui6ca40702021-03-08 18:20:21 +05301930 // This rpc can be called at any time, even before the StartManagingDevice operation
1931 // has completed, and should be able to cleanup.
amit.ghosh258d14c2020-10-02 15:13:38 +02001932 StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error)
1933 // Returns an object containing a list of devices managed by this entity
1934 GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error)
1935 // Get the HW inventory details of the Device
1936 GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error)
1937 // Get the details of a particular HW component
1938 GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error)
1939 // Sets the permissible attributes of a HW component
1940 SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error)
1941 // Sets the location to which logs need to be shipped
1942 SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1943 // Gets the configured location to which the logs are being shipped
Humera Kousera4442952020-11-23 23:51:19 +05301944 GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error)
amit.ghosh258d14c2020-10-02 15:13:38 +02001945 // Sets the location of the Message Bus to which events and metrics are shipped
1946 SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1947 // Gets the configured location to which the events and metrics are being shipped
1948 GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error)
Humera Kousera4442952020-11-23 23:51:19 +05301949 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1950 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1951 // interface, package etc.
1952 GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
1953 // Sets the log level of the device, for each given entity to a certain level.
1954 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
1955 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
1956 SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
1957 // Gets the configured log level for a certain entity on a certain device.
1958 // If no entity is specified in the request all the entities with their log level should be returned.
1959 GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
Hardik Windlass63e35cf2022-02-03 05:58:09 +00001960 // Performs the heartbeat check
1961 HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error)
1962 // Performs the reboot of the device
1963 RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error)
amit.ghosh258d14c2020-10-02 15:13:38 +02001964}
1965
1966type nativeHWManagementServiceClient struct {
1967 cc *grpc.ClientConn
1968}
1969
1970func NewNativeHWManagementServiceClient(cc *grpc.ClientConn) NativeHWManagementServiceClient {
1971 return &nativeHWManagementServiceClient{cc}
1972}
1973
1974func (c *nativeHWManagementServiceClient) StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error) {
1975 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[0], "/dmi.NativeHWManagementService/StartManagingDevice", opts...)
1976 if err != nil {
1977 return nil, err
1978 }
1979 x := &nativeHWManagementServiceStartManagingDeviceClient{stream}
1980 if err := x.ClientStream.SendMsg(in); err != nil {
1981 return nil, err
1982 }
1983 if err := x.ClientStream.CloseSend(); err != nil {
1984 return nil, err
1985 }
1986 return x, nil
1987}
1988
1989type NativeHWManagementService_StartManagingDeviceClient interface {
1990 Recv() (*StartManagingDeviceResponse, error)
1991 grpc.ClientStream
1992}
1993
1994type nativeHWManagementServiceStartManagingDeviceClient struct {
1995 grpc.ClientStream
1996}
1997
1998func (x *nativeHWManagementServiceStartManagingDeviceClient) Recv() (*StartManagingDeviceResponse, error) {
1999 m := new(StartManagingDeviceResponse)
2000 if err := x.ClientStream.RecvMsg(m); err != nil {
2001 return nil, err
2002 }
2003 return m, nil
2004}
2005
2006func (c *nativeHWManagementServiceClient) StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) {
2007 out := new(StopManagingDeviceResponse)
2008 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/StopManagingDevice", in, out, opts...)
2009 if err != nil {
2010 return nil, err
2011 }
2012 return out, nil
2013}
2014
2015func (c *nativeHWManagementServiceClient) GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) {
2016 out := new(ManagedDevicesResponse)
2017 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetManagedDevices", in, out, opts...)
2018 if err != nil {
2019 return nil, err
2020 }
2021 return out, nil
2022}
2023
2024func (c *nativeHWManagementServiceClient) GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) {
2025 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[1], "/dmi.NativeHWManagementService/GetPhysicalInventory", opts...)
2026 if err != nil {
2027 return nil, err
2028 }
2029 x := &nativeHWManagementServiceGetPhysicalInventoryClient{stream}
2030 if err := x.ClientStream.SendMsg(in); err != nil {
2031 return nil, err
2032 }
2033 if err := x.ClientStream.CloseSend(); err != nil {
2034 return nil, err
2035 }
2036 return x, nil
2037}
2038
2039type NativeHWManagementService_GetPhysicalInventoryClient interface {
2040 Recv() (*PhysicalInventoryResponse, error)
2041 grpc.ClientStream
2042}
2043
2044type nativeHWManagementServiceGetPhysicalInventoryClient struct {
2045 grpc.ClientStream
2046}
2047
2048func (x *nativeHWManagementServiceGetPhysicalInventoryClient) Recv() (*PhysicalInventoryResponse, error) {
2049 m := new(PhysicalInventoryResponse)
2050 if err := x.ClientStream.RecvMsg(m); err != nil {
2051 return nil, err
2052 }
2053 return m, nil
2054}
2055
2056func (c *nativeHWManagementServiceClient) GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) {
2057 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[2], "/dmi.NativeHWManagementService/GetHWComponentInfo", opts...)
2058 if err != nil {
2059 return nil, err
2060 }
2061 x := &nativeHWManagementServiceGetHWComponentInfoClient{stream}
2062 if err := x.ClientStream.SendMsg(in); err != nil {
2063 return nil, err
2064 }
2065 if err := x.ClientStream.CloseSend(); err != nil {
2066 return nil, err
2067 }
2068 return x, nil
2069}
2070
2071type NativeHWManagementService_GetHWComponentInfoClient interface {
2072 Recv() (*HWComponentInfoGetResponse, error)
2073 grpc.ClientStream
2074}
2075
2076type nativeHWManagementServiceGetHWComponentInfoClient struct {
2077 grpc.ClientStream
2078}
2079
2080func (x *nativeHWManagementServiceGetHWComponentInfoClient) Recv() (*HWComponentInfoGetResponse, error) {
2081 m := new(HWComponentInfoGetResponse)
2082 if err := x.ClientStream.RecvMsg(m); err != nil {
2083 return nil, err
2084 }
2085 return m, nil
2086}
2087
2088func (c *nativeHWManagementServiceClient) SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) {
2089 out := new(HWComponentInfoSetResponse)
2090 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetHWComponentInfo", in, out, opts...)
2091 if err != nil {
2092 return nil, err
2093 }
2094 return out, nil
2095}
2096
2097func (c *nativeHWManagementServiceClient) SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
2098 out := new(SetRemoteEndpointResponse)
2099 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLoggingEndpoint", in, out, opts...)
2100 if err != nil {
2101 return nil, err
2102 }
2103 return out, nil
2104}
2105
Humera Kousera4442952020-11-23 23:51:19 +05302106func (c *nativeHWManagementServiceClient) GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error) {
amit.ghosh258d14c2020-10-02 15:13:38 +02002107 out := new(GetLoggingEndpointResponse)
2108 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggingEndpoint", in, out, opts...)
2109 if err != nil {
2110 return nil, err
2111 }
2112 return out, nil
2113}
2114
2115func (c *nativeHWManagementServiceClient) SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
2116 out := new(SetRemoteEndpointResponse)
2117 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetMsgBusEndpoint", in, out, opts...)
2118 if err != nil {
2119 return nil, err
2120 }
2121 return out, nil
2122}
2123
2124func (c *nativeHWManagementServiceClient) GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) {
2125 out := new(GetMsgBusEndpointResponse)
2126 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetMsgBusEndpoint", in, out, opts...)
2127 if err != nil {
2128 return nil, err
2129 }
2130 return out, nil
2131}
2132
Humera Kousera4442952020-11-23 23:51:19 +05302133func (c *nativeHWManagementServiceClient) GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2134 out := new(GetLogLevelResponse)
2135 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggableEntities", in, out, opts...)
2136 if err != nil {
2137 return nil, err
2138 }
2139 return out, nil
2140}
2141
2142func (c *nativeHWManagementServiceClient) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) {
2143 out := new(SetLogLevelResponse)
2144 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLogLevel", in, out, opts...)
2145 if err != nil {
2146 return nil, err
2147 }
2148 return out, nil
2149}
2150
2151func (c *nativeHWManagementServiceClient) GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2152 out := new(GetLogLevelResponse)
2153 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLogLevel", in, out, opts...)
2154 if err != nil {
2155 return nil, err
2156 }
2157 return out, nil
2158}
2159
Hardik Windlass63e35cf2022-02-03 05:58:09 +00002160func (c *nativeHWManagementServiceClient) HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error) {
2161 out := new(Heartbeat)
2162 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/HeartbeatCheck", in, out, opts...)
2163 if err != nil {
2164 return nil, err
2165 }
2166 return out, nil
2167}
2168
2169func (c *nativeHWManagementServiceClient) RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error) {
2170 out := new(RebootDeviceResponse)
2171 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/RebootDevice", in, out, opts...)
2172 if err != nil {
2173 return nil, err
2174 }
2175 return out, nil
2176}
2177
amit.ghosh258d14c2020-10-02 15:13:38 +02002178// NativeHWManagementServiceServer is the server API for NativeHWManagementService service.
2179type NativeHWManagementServiceServer interface {
2180 // Initializes context for a device and sets up required states
2181 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
2182 // and their meanings in this context is mentioned below:
2183 // name = The unique name that needs to be assigned to this hardware;
2184 // class = COMPONENT_TYPE_UNDEFINED;
2185 // parent = nil;
2186 // alias = Optional;
2187 // asset_id = Optional;
2188 // uri = IP Address of the Hardware;
2189 StartManagingDevice(*ModifiableComponent, NativeHWManagementService_StartManagingDeviceServer) error
2190 // Stop management of a device and clean up any context and caches for that device
ssiddiqui6ca40702021-03-08 18:20:21 +05302191 // This rpc can be called at any time, even before the StartManagingDevice operation
2192 // has completed, and should be able to cleanup.
amit.ghosh258d14c2020-10-02 15:13:38 +02002193 StopManagingDevice(context.Context, *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error)
2194 // Returns an object containing a list of devices managed by this entity
2195 GetManagedDevices(context.Context, *empty.Empty) (*ManagedDevicesResponse, error)
2196 // Get the HW inventory details of the Device
2197 GetPhysicalInventory(*PhysicalInventoryRequest, NativeHWManagementService_GetPhysicalInventoryServer) error
2198 // Get the details of a particular HW component
2199 GetHWComponentInfo(*HWComponentInfoGetRequest, NativeHWManagementService_GetHWComponentInfoServer) error
2200 // Sets the permissible attributes of a HW component
2201 SetHWComponentInfo(context.Context, *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error)
2202 // Sets the location to which logs need to be shipped
2203 SetLoggingEndpoint(context.Context, *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error)
2204 // Gets the configured location to which the logs are being shipped
Humera Kousera4442952020-11-23 23:51:19 +05302205 GetLoggingEndpoint(context.Context, *HardwareID) (*GetLoggingEndpointResponse, error)
amit.ghosh258d14c2020-10-02 15:13:38 +02002206 // Sets the location of the Message Bus to which events and metrics are shipped
2207 SetMsgBusEndpoint(context.Context, *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error)
2208 // Gets the configured location to which the events and metrics are being shipped
2209 GetMsgBusEndpoint(context.Context, *empty.Empty) (*GetMsgBusEndpointResponse, error)
Humera Kousera4442952020-11-23 23:51:19 +05302210 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
2211 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
2212 // interface, package etc.
2213 GetLoggableEntities(context.Context, *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error)
2214 // Sets the log level of the device, for each given entity to a certain level.
2215 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
2216 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
2217 SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
2218 // Gets the configured log level for a certain entity on a certain device.
2219 // If no entity is specified in the request all the entities with their log level should be returned.
2220 GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
Hardik Windlass63e35cf2022-02-03 05:58:09 +00002221 // Performs the heartbeat check
2222 HeartbeatCheck(context.Context, *empty.Empty) (*Heartbeat, error)
2223 // Performs the reboot of the device
2224 RebootDevice(context.Context, *RebootDeviceRequest) (*RebootDeviceResponse, error)
2225}
2226
2227// UnimplementedNativeHWManagementServiceServer can be embedded to have forward compatible implementations.
2228type UnimplementedNativeHWManagementServiceServer struct {
2229}
2230
2231func (*UnimplementedNativeHWManagementServiceServer) StartManagingDevice(req *ModifiableComponent, srv NativeHWManagementService_StartManagingDeviceServer) error {
2232 return status.Errorf(codes.Unimplemented, "method StartManagingDevice not implemented")
2233}
2234func (*UnimplementedNativeHWManagementServiceServer) StopManagingDevice(ctx context.Context, req *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error) {
2235 return nil, status.Errorf(codes.Unimplemented, "method StopManagingDevice not implemented")
2236}
2237func (*UnimplementedNativeHWManagementServiceServer) GetManagedDevices(ctx context.Context, req *empty.Empty) (*ManagedDevicesResponse, error) {
2238 return nil, status.Errorf(codes.Unimplemented, "method GetManagedDevices not implemented")
2239}
2240func (*UnimplementedNativeHWManagementServiceServer) GetPhysicalInventory(req *PhysicalInventoryRequest, srv NativeHWManagementService_GetPhysicalInventoryServer) error {
2241 return status.Errorf(codes.Unimplemented, "method GetPhysicalInventory not implemented")
2242}
2243func (*UnimplementedNativeHWManagementServiceServer) GetHWComponentInfo(req *HWComponentInfoGetRequest, srv NativeHWManagementService_GetHWComponentInfoServer) error {
2244 return status.Errorf(codes.Unimplemented, "method GetHWComponentInfo not implemented")
2245}
2246func (*UnimplementedNativeHWManagementServiceServer) SetHWComponentInfo(ctx context.Context, req *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error) {
2247 return nil, status.Errorf(codes.Unimplemented, "method SetHWComponentInfo not implemented")
2248}
2249func (*UnimplementedNativeHWManagementServiceServer) SetLoggingEndpoint(ctx context.Context, req *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error) {
2250 return nil, status.Errorf(codes.Unimplemented, "method SetLoggingEndpoint not implemented")
2251}
2252func (*UnimplementedNativeHWManagementServiceServer) GetLoggingEndpoint(ctx context.Context, req *HardwareID) (*GetLoggingEndpointResponse, error) {
2253 return nil, status.Errorf(codes.Unimplemented, "method GetLoggingEndpoint not implemented")
2254}
2255func (*UnimplementedNativeHWManagementServiceServer) SetMsgBusEndpoint(ctx context.Context, req *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error) {
2256 return nil, status.Errorf(codes.Unimplemented, "method SetMsgBusEndpoint not implemented")
2257}
2258func (*UnimplementedNativeHWManagementServiceServer) GetMsgBusEndpoint(ctx context.Context, req *empty.Empty) (*GetMsgBusEndpointResponse, error) {
2259 return nil, status.Errorf(codes.Unimplemented, "method GetMsgBusEndpoint not implemented")
2260}
2261func (*UnimplementedNativeHWManagementServiceServer) GetLoggableEntities(ctx context.Context, req *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error) {
2262 return nil, status.Errorf(codes.Unimplemented, "method GetLoggableEntities not implemented")
2263}
2264func (*UnimplementedNativeHWManagementServiceServer) SetLogLevel(ctx context.Context, req *SetLogLevelRequest) (*SetLogLevelResponse, error) {
2265 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2266}
2267func (*UnimplementedNativeHWManagementServiceServer) GetLogLevel(ctx context.Context, req *GetLogLevelRequest) (*GetLogLevelResponse, error) {
2268 return nil, status.Errorf(codes.Unimplemented, "method GetLogLevel not implemented")
2269}
2270func (*UnimplementedNativeHWManagementServiceServer) HeartbeatCheck(ctx context.Context, req *empty.Empty) (*Heartbeat, error) {
2271 return nil, status.Errorf(codes.Unimplemented, "method HeartbeatCheck not implemented")
2272}
2273func (*UnimplementedNativeHWManagementServiceServer) RebootDevice(ctx context.Context, req *RebootDeviceRequest) (*RebootDeviceResponse, error) {
2274 return nil, status.Errorf(codes.Unimplemented, "method RebootDevice not implemented")
amit.ghosh258d14c2020-10-02 15:13:38 +02002275}
2276
2277func RegisterNativeHWManagementServiceServer(s *grpc.Server, srv NativeHWManagementServiceServer) {
2278 s.RegisterService(&_NativeHWManagementService_serviceDesc, srv)
2279}
2280
2281func _NativeHWManagementService_StartManagingDevice_Handler(srv interface{}, stream grpc.ServerStream) error {
2282 m := new(ModifiableComponent)
2283 if err := stream.RecvMsg(m); err != nil {
2284 return err
2285 }
2286 return srv.(NativeHWManagementServiceServer).StartManagingDevice(m, &nativeHWManagementServiceStartManagingDeviceServer{stream})
2287}
2288
2289type NativeHWManagementService_StartManagingDeviceServer interface {
2290 Send(*StartManagingDeviceResponse) error
2291 grpc.ServerStream
2292}
2293
2294type nativeHWManagementServiceStartManagingDeviceServer struct {
2295 grpc.ServerStream
2296}
2297
2298func (x *nativeHWManagementServiceStartManagingDeviceServer) Send(m *StartManagingDeviceResponse) error {
2299 return x.ServerStream.SendMsg(m)
2300}
2301
2302func _NativeHWManagementService_StopManagingDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2303 in := new(StopManagingDeviceRequest)
2304 if err := dec(in); err != nil {
2305 return nil, err
2306 }
2307 if interceptor == nil {
2308 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, in)
2309 }
2310 info := &grpc.UnaryServerInfo{
2311 Server: srv,
2312 FullMethod: "/dmi.NativeHWManagementService/StopManagingDevice",
2313 }
2314 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2315 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, req.(*StopManagingDeviceRequest))
2316 }
2317 return interceptor(ctx, in, info, handler)
2318}
2319
2320func _NativeHWManagementService_GetManagedDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2321 in := new(empty.Empty)
2322 if err := dec(in); err != nil {
2323 return nil, err
2324 }
2325 if interceptor == nil {
2326 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, in)
2327 }
2328 info := &grpc.UnaryServerInfo{
2329 Server: srv,
2330 FullMethod: "/dmi.NativeHWManagementService/GetManagedDevices",
2331 }
2332 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2333 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, req.(*empty.Empty))
2334 }
2335 return interceptor(ctx, in, info, handler)
2336}
2337
2338func _NativeHWManagementService_GetPhysicalInventory_Handler(srv interface{}, stream grpc.ServerStream) error {
2339 m := new(PhysicalInventoryRequest)
2340 if err := stream.RecvMsg(m); err != nil {
2341 return err
2342 }
2343 return srv.(NativeHWManagementServiceServer).GetPhysicalInventory(m, &nativeHWManagementServiceGetPhysicalInventoryServer{stream})
2344}
2345
2346type NativeHWManagementService_GetPhysicalInventoryServer interface {
2347 Send(*PhysicalInventoryResponse) error
2348 grpc.ServerStream
2349}
2350
2351type nativeHWManagementServiceGetPhysicalInventoryServer struct {
2352 grpc.ServerStream
2353}
2354
2355func (x *nativeHWManagementServiceGetPhysicalInventoryServer) Send(m *PhysicalInventoryResponse) error {
2356 return x.ServerStream.SendMsg(m)
2357}
2358
2359func _NativeHWManagementService_GetHWComponentInfo_Handler(srv interface{}, stream grpc.ServerStream) error {
2360 m := new(HWComponentInfoGetRequest)
2361 if err := stream.RecvMsg(m); err != nil {
2362 return err
2363 }
2364 return srv.(NativeHWManagementServiceServer).GetHWComponentInfo(m, &nativeHWManagementServiceGetHWComponentInfoServer{stream})
2365}
2366
2367type NativeHWManagementService_GetHWComponentInfoServer interface {
2368 Send(*HWComponentInfoGetResponse) error
2369 grpc.ServerStream
2370}
2371
2372type nativeHWManagementServiceGetHWComponentInfoServer struct {
2373 grpc.ServerStream
2374}
2375
2376func (x *nativeHWManagementServiceGetHWComponentInfoServer) Send(m *HWComponentInfoGetResponse) error {
2377 return x.ServerStream.SendMsg(m)
2378}
2379
2380func _NativeHWManagementService_SetHWComponentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2381 in := new(HWComponentInfoSetRequest)
2382 if err := dec(in); err != nil {
2383 return nil, err
2384 }
2385 if interceptor == nil {
2386 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, in)
2387 }
2388 info := &grpc.UnaryServerInfo{
2389 Server: srv,
2390 FullMethod: "/dmi.NativeHWManagementService/SetHWComponentInfo",
2391 }
2392 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2393 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, req.(*HWComponentInfoSetRequest))
2394 }
2395 return interceptor(ctx, in, info, handler)
2396}
2397
2398func _NativeHWManagementService_SetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2399 in := new(SetLoggingEndpointRequest)
2400 if err := dec(in); err != nil {
2401 return nil, err
2402 }
2403 if interceptor == nil {
2404 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, in)
2405 }
2406 info := &grpc.UnaryServerInfo{
2407 Server: srv,
2408 FullMethod: "/dmi.NativeHWManagementService/SetLoggingEndpoint",
2409 }
2410 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2411 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, req.(*SetLoggingEndpointRequest))
2412 }
2413 return interceptor(ctx, in, info, handler)
2414}
2415
2416func _NativeHWManagementService_GetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Humera Kousera4442952020-11-23 23:51:19 +05302417 in := new(HardwareID)
amit.ghosh258d14c2020-10-02 15:13:38 +02002418 if err := dec(in); err != nil {
2419 return nil, err
2420 }
2421 if interceptor == nil {
2422 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, in)
2423 }
2424 info := &grpc.UnaryServerInfo{
2425 Server: srv,
2426 FullMethod: "/dmi.NativeHWManagementService/GetLoggingEndpoint",
2427 }
2428 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Humera Kousera4442952020-11-23 23:51:19 +05302429 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, req.(*HardwareID))
amit.ghosh258d14c2020-10-02 15:13:38 +02002430 }
2431 return interceptor(ctx, in, info, handler)
2432}
2433
2434func _NativeHWManagementService_SetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2435 in := new(SetMsgBusEndpointRequest)
2436 if err := dec(in); err != nil {
2437 return nil, err
2438 }
2439 if interceptor == nil {
2440 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, in)
2441 }
2442 info := &grpc.UnaryServerInfo{
2443 Server: srv,
2444 FullMethod: "/dmi.NativeHWManagementService/SetMsgBusEndpoint",
2445 }
2446 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2447 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, req.(*SetMsgBusEndpointRequest))
2448 }
2449 return interceptor(ctx, in, info, handler)
2450}
2451
2452func _NativeHWManagementService_GetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2453 in := new(empty.Empty)
2454 if err := dec(in); err != nil {
2455 return nil, err
2456 }
2457 if interceptor == nil {
2458 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, in)
2459 }
2460 info := &grpc.UnaryServerInfo{
2461 Server: srv,
2462 FullMethod: "/dmi.NativeHWManagementService/GetMsgBusEndpoint",
2463 }
2464 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2465 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, req.(*empty.Empty))
2466 }
2467 return interceptor(ctx, in, info, handler)
2468}
2469
Humera Kousera4442952020-11-23 23:51:19 +05302470func _NativeHWManagementService_GetLoggableEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2471 in := new(GetLoggableEntitiesRequest)
2472 if err := dec(in); err != nil {
2473 return nil, err
2474 }
2475 if interceptor == nil {
2476 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, in)
2477 }
2478 info := &grpc.UnaryServerInfo{
2479 Server: srv,
2480 FullMethod: "/dmi.NativeHWManagementService/GetLoggableEntities",
2481 }
2482 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2483 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, req.(*GetLoggableEntitiesRequest))
2484 }
2485 return interceptor(ctx, in, info, handler)
2486}
2487
2488func _NativeHWManagementService_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2489 in := new(SetLogLevelRequest)
2490 if err := dec(in); err != nil {
2491 return nil, err
2492 }
2493 if interceptor == nil {
2494 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, in)
2495 }
2496 info := &grpc.UnaryServerInfo{
2497 Server: srv,
2498 FullMethod: "/dmi.NativeHWManagementService/SetLogLevel",
2499 }
2500 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2501 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, req.(*SetLogLevelRequest))
2502 }
2503 return interceptor(ctx, in, info, handler)
2504}
2505
2506func _NativeHWManagementService_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2507 in := new(GetLogLevelRequest)
2508 if err := dec(in); err != nil {
2509 return nil, err
2510 }
2511 if interceptor == nil {
2512 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, in)
2513 }
2514 info := &grpc.UnaryServerInfo{
2515 Server: srv,
2516 FullMethod: "/dmi.NativeHWManagementService/GetLogLevel",
2517 }
2518 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2519 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, req.(*GetLogLevelRequest))
2520 }
2521 return interceptor(ctx, in, info, handler)
2522}
2523
Hardik Windlass63e35cf2022-02-03 05:58:09 +00002524func _NativeHWManagementService_HeartbeatCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2525 in := new(empty.Empty)
2526 if err := dec(in); err != nil {
2527 return nil, err
2528 }
2529 if interceptor == nil {
2530 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, in)
2531 }
2532 info := &grpc.UnaryServerInfo{
2533 Server: srv,
2534 FullMethod: "/dmi.NativeHWManagementService/HeartbeatCheck",
2535 }
2536 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2537 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, req.(*empty.Empty))
2538 }
2539 return interceptor(ctx, in, info, handler)
2540}
2541
2542func _NativeHWManagementService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2543 in := new(RebootDeviceRequest)
2544 if err := dec(in); err != nil {
2545 return nil, err
2546 }
2547 if interceptor == nil {
2548 return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, in)
2549 }
2550 info := &grpc.UnaryServerInfo{
2551 Server: srv,
2552 FullMethod: "/dmi.NativeHWManagementService/RebootDevice",
2553 }
2554 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2555 return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, req.(*RebootDeviceRequest))
2556 }
2557 return interceptor(ctx, in, info, handler)
2558}
2559
amit.ghosh258d14c2020-10-02 15:13:38 +02002560var _NativeHWManagementService_serviceDesc = grpc.ServiceDesc{
2561 ServiceName: "dmi.NativeHWManagementService",
2562 HandlerType: (*NativeHWManagementServiceServer)(nil),
2563 Methods: []grpc.MethodDesc{
2564 {
2565 MethodName: "StopManagingDevice",
2566 Handler: _NativeHWManagementService_StopManagingDevice_Handler,
2567 },
2568 {
2569 MethodName: "GetManagedDevices",
2570 Handler: _NativeHWManagementService_GetManagedDevices_Handler,
2571 },
2572 {
2573 MethodName: "SetHWComponentInfo",
2574 Handler: _NativeHWManagementService_SetHWComponentInfo_Handler,
2575 },
2576 {
2577 MethodName: "SetLoggingEndpoint",
2578 Handler: _NativeHWManagementService_SetLoggingEndpoint_Handler,
2579 },
2580 {
2581 MethodName: "GetLoggingEndpoint",
2582 Handler: _NativeHWManagementService_GetLoggingEndpoint_Handler,
2583 },
2584 {
2585 MethodName: "SetMsgBusEndpoint",
2586 Handler: _NativeHWManagementService_SetMsgBusEndpoint_Handler,
2587 },
2588 {
2589 MethodName: "GetMsgBusEndpoint",
2590 Handler: _NativeHWManagementService_GetMsgBusEndpoint_Handler,
2591 },
Humera Kousera4442952020-11-23 23:51:19 +05302592 {
2593 MethodName: "GetLoggableEntities",
2594 Handler: _NativeHWManagementService_GetLoggableEntities_Handler,
2595 },
2596 {
2597 MethodName: "SetLogLevel",
2598 Handler: _NativeHWManagementService_SetLogLevel_Handler,
2599 },
2600 {
2601 MethodName: "GetLogLevel",
2602 Handler: _NativeHWManagementService_GetLogLevel_Handler,
2603 },
Hardik Windlass63e35cf2022-02-03 05:58:09 +00002604 {
2605 MethodName: "HeartbeatCheck",
2606 Handler: _NativeHWManagementService_HeartbeatCheck_Handler,
2607 },
2608 {
2609 MethodName: "RebootDevice",
2610 Handler: _NativeHWManagementService_RebootDevice_Handler,
2611 },
amit.ghosh258d14c2020-10-02 15:13:38 +02002612 },
2613 Streams: []grpc.StreamDesc{
2614 {
2615 StreamName: "StartManagingDevice",
2616 Handler: _NativeHWManagementService_StartManagingDevice_Handler,
2617 ServerStreams: true,
2618 },
2619 {
2620 StreamName: "GetPhysicalInventory",
2621 Handler: _NativeHWManagementService_GetPhysicalInventory_Handler,
2622 ServerStreams: true,
2623 },
2624 {
2625 StreamName: "GetHWComponentInfo",
2626 Handler: _NativeHWManagementService_GetHWComponentInfo_Handler,
2627 ServerStreams: true,
2628 },
2629 },
2630 Metadata: "dmi/hw_management_service.proto",
2631}