blob: 783cbac66eff67bb5f45fb67588097d473f292d0 [file] [log] [blame]
Amit Ghosh09f28362020-06-12 21:52:19 +01001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: dmi/hw_management_service.proto
3
4package dmi
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
Andrea Campanellacb990bc2020-09-22 12:50:56 +020010 empty "github.com/golang/protobuf/ptypes/empty"
Amit Ghosh09f28362020-06-12 21:52:19 +010011 grpc "google.golang.org/grpc"
Andrea Campanellac795b7d2021-04-14 13:24:44 +020012 codes "google.golang.org/grpc/codes"
13 status "google.golang.org/grpc/status"
Amit Ghosh09f28362020-06-12 21:52:19 +010014 math "math"
15)
16
17// Reference imports to suppress errors if they are not otherwise used.
18var _ = proto.Marshal
19var _ = fmt.Errorf
20var _ = math.Inf
21
22// This is a compile-time assertion to ensure that this generated file
23// is compatible with the proto package it is being compiled against.
24// A compilation error at this line likely means your copy of the
25// proto package needs to be updated.
26const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
27
amit.ghoshae473032021-01-10 11:59:10 +010028type PhysicalInventoryResponse_Reason int32
29
30const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010031 PhysicalInventoryResponse_UNDEFINED_REASON PhysicalInventoryResponse_Reason = 0
32 PhysicalInventoryResponse_UNKNOWN_DEVICE PhysicalInventoryResponse_Reason = 1
33 PhysicalInventoryResponse_INTERNAL_ERROR PhysicalInventoryResponse_Reason = 2
34 PhysicalInventoryResponse_DEVICE_UNREACHABLE PhysicalInventoryResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +010035)
36
37var PhysicalInventoryResponse_Reason_name = map[int32]string{
38 0: "UNDEFINED_REASON",
39 1: "UNKNOWN_DEVICE",
40 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +010041 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +010042}
43
44var PhysicalInventoryResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +010045 "UNDEFINED_REASON": 0,
46 "UNKNOWN_DEVICE": 1,
47 "INTERNAL_ERROR": 2,
48 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +010049}
50
51func (x PhysicalInventoryResponse_Reason) String() string {
52 return proto.EnumName(PhysicalInventoryResponse_Reason_name, int32(x))
53}
54
55func (PhysicalInventoryResponse_Reason) EnumDescriptor() ([]byte, []int) {
56 return fileDescriptor_eae902e73066286d, []int{1, 0}
57}
58
59type HWComponentInfoGetResponse_Reason int32
60
61const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010062 HWComponentInfoGetResponse_UNDEFINED_REASON HWComponentInfoGetResponse_Reason = 0
63 HWComponentInfoGetResponse_UNKNOWN_DEVICE HWComponentInfoGetResponse_Reason = 1
64 HWComponentInfoGetResponse_UNKNOWN_COMPONENT HWComponentInfoGetResponse_Reason = 2
65 HWComponentInfoGetResponse_INTERNAL_ERROR HWComponentInfoGetResponse_Reason = 3
66 HWComponentInfoGetResponse_DEVICE_UNREACHABLE HWComponentInfoGetResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +010067)
68
69var HWComponentInfoGetResponse_Reason_name = map[int32]string{
70 0: "UNDEFINED_REASON",
71 1: "UNKNOWN_DEVICE",
72 2: "UNKNOWN_COMPONENT",
73 3: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +010074 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +010075}
76
77var HWComponentInfoGetResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +010078 "UNDEFINED_REASON": 0,
79 "UNKNOWN_DEVICE": 1,
80 "UNKNOWN_COMPONENT": 2,
81 "INTERNAL_ERROR": 3,
82 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +010083}
84
85func (x HWComponentInfoGetResponse_Reason) String() string {
86 return proto.EnumName(HWComponentInfoGetResponse_Reason_name, int32(x))
87}
88
89func (HWComponentInfoGetResponse_Reason) EnumDescriptor() ([]byte, []int) {
90 return fileDescriptor_eae902e73066286d, []int{3, 0}
91}
92
93type HWComponentInfoSetResponse_Reason int32
94
95const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010096 HWComponentInfoSetResponse_UNDEFINED_REASON HWComponentInfoSetResponse_Reason = 0
97 HWComponentInfoSetResponse_UNKNOWN_DEVICE HWComponentInfoSetResponse_Reason = 1
98 HWComponentInfoSetResponse_UNKNOWN_COMPONENT HWComponentInfoSetResponse_Reason = 2
99 HWComponentInfoSetResponse_INVALID_PARAMS HWComponentInfoSetResponse_Reason = 3
100 HWComponentInfoSetResponse_INTERNAL_ERROR HWComponentInfoSetResponse_Reason = 4
101 HWComponentInfoSetResponse_DEVICE_UNREACHABLE HWComponentInfoSetResponse_Reason = 5
Girish Gowdra997432d2022-03-10 15:59:33 -0800102 HWComponentInfoSetResponse_SET_UNSUPPORTED HWComponentInfoSetResponse_Reason = 6
amit.ghoshae473032021-01-10 11:59:10 +0100103)
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",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100111 5: "DEVICE_UNREACHABLE",
Girish Gowdra997432d2022-03-10 15:59:33 -0800112 6: "SET_UNSUPPORTED",
amit.ghoshae473032021-01-10 11:59:10 +0100113}
114
115var HWComponentInfoSetResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100116 "UNDEFINED_REASON": 0,
117 "UNKNOWN_DEVICE": 1,
118 "UNKNOWN_COMPONENT": 2,
119 "INVALID_PARAMS": 3,
120 "INTERNAL_ERROR": 4,
121 "DEVICE_UNREACHABLE": 5,
Girish Gowdra997432d2022-03-10 15:59:33 -0800122 "SET_UNSUPPORTED": 6,
amit.ghoshae473032021-01-10 11:59:10 +0100123}
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
amit.ghosh6bdb0f72021-06-02 14:42:29 +0200145 // 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
amit.ghoshae473032021-01-10 11:59:10 +0100151)
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",
amit.ghosh6bdb0f72021-06-02 14:42:29 +0200159 5: "AUTHENTICATION_FAILURE",
160 6: "INCOMPATIBLE_DEVICE",
amit.ghoshae473032021-01-10 11:59:10 +0100161}
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,
amit.ghosh6bdb0f72021-06-02 14:42:29 +0200169 "AUTHENTICATION_FAILURE": 5,
170 "INCOMPATIBLE_DEVICE": 6,
amit.ghoshae473032021-01-10 11:59:10 +0100171}
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
amit.ghoshdd12d882022-07-01 12:32:36 +0200188 // DEVICE_UNREACHABLE is to be returned when the device manager cannot reach the device and stop managing it
189 StopManagingDeviceResponse_DEVICE_UNREACHABLE StopManagingDeviceResponse_Reason = 2
amit.ghoshae473032021-01-10 11:59:10 +0100190)
191
192var StopManagingDeviceResponse_Reason_name = map[int32]string{
193 0: "UNDEFINED_REASON",
194 1: "UNKNOWN_DEVICE",
amit.ghoshdd12d882022-07-01 12:32:36 +0200195 2: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100196}
197
198var StopManagingDeviceResponse_Reason_value = map[string]int32{
amit.ghoshdd12d882022-07-01 12:32:36 +0200199 "UNDEFINED_REASON": 0,
200 "UNKNOWN_DEVICE": 1,
201 "DEVICE_UNREACHABLE": 2,
amit.ghoshae473032021-01-10 11:59:10 +0100202}
203
204func (x StopManagingDeviceResponse_Reason) String() string {
205 return proto.EnumName(StopManagingDeviceResponse_Reason_name, int32(x))
206}
207
208func (StopManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
209 return fileDescriptor_eae902e73066286d, []int{8, 0}
210}
211
amit.ghosh0c687412021-03-24 19:01:08 +0100212type ManagedDevicesResponse_Reason int32
213
214const (
215 ManagedDevicesResponse_UNDEFINED_REASON ManagedDevicesResponse_Reason = 0
216 ManagedDevicesResponse_INTERNAL_ERROR ManagedDevicesResponse_Reason = 1
217)
218
219var ManagedDevicesResponse_Reason_name = map[int32]string{
220 0: "UNDEFINED_REASON",
221 1: "INTERNAL_ERROR",
222}
223
224var ManagedDevicesResponse_Reason_value = map[string]int32{
225 "UNDEFINED_REASON": 0,
226 "INTERNAL_ERROR": 1,
227}
228
229func (x ManagedDevicesResponse_Reason) String() string {
230 return proto.EnumName(ManagedDevicesResponse_Reason_name, int32(x))
231}
232
233func (ManagedDevicesResponse_Reason) EnumDescriptor() ([]byte, []int) {
234 return fileDescriptor_eae902e73066286d, []int{10, 0}
235}
236
amit.ghoshae473032021-01-10 11:59:10 +0100237type SetRemoteEndpointResponse_Reason int32
238
239const (
240 SetRemoteEndpointResponse_UNDEFINED_REASON SetRemoteEndpointResponse_Reason = 0
241 SetRemoteEndpointResponse_UNKNOWN_DEVICE SetRemoteEndpointResponse_Reason = 1
242 SetRemoteEndpointResponse_INTERNAL_ERROR SetRemoteEndpointResponse_Reason = 2
243 SetRemoteEndpointResponse_LOGGING_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 3
244 SetRemoteEndpointResponse_LOGGING_ENDPOINT_PROTOCOL_ERROR SetRemoteEndpointResponse_Reason = 4
245 SetRemoteEndpointResponse_MSGBUS_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 5
amit.ghoshbd2022e2021-02-22 05:58:53 +0100246 SetRemoteEndpointResponse_DEVICE_UNREACHABLE SetRemoteEndpointResponse_Reason = 6
amit.ghoshae473032021-01-10 11:59:10 +0100247)
248
249var SetRemoteEndpointResponse_Reason_name = map[int32]string{
250 0: "UNDEFINED_REASON",
251 1: "UNKNOWN_DEVICE",
252 2: "INTERNAL_ERROR",
253 3: "LOGGING_ENDPOINT_ERROR",
254 4: "LOGGING_ENDPOINT_PROTOCOL_ERROR",
255 5: "MSGBUS_ENDPOINT_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100256 6: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100257}
258
259var SetRemoteEndpointResponse_Reason_value = map[string]int32{
260 "UNDEFINED_REASON": 0,
261 "UNKNOWN_DEVICE": 1,
262 "INTERNAL_ERROR": 2,
263 "LOGGING_ENDPOINT_ERROR": 3,
264 "LOGGING_ENDPOINT_PROTOCOL_ERROR": 4,
265 "MSGBUS_ENDPOINT_ERROR": 5,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100266 "DEVICE_UNREACHABLE": 6,
amit.ghoshae473032021-01-10 11:59:10 +0100267}
268
269func (x SetRemoteEndpointResponse_Reason) String() string {
270 return proto.EnumName(SetRemoteEndpointResponse_Reason_name, int32(x))
271}
272
273func (SetRemoteEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100274 return fileDescriptor_eae902e73066286d, []int{12, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100275}
276
277type GetLoggingEndpointResponse_Reason int32
278
279const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100280 GetLoggingEndpointResponse_UNDEFINED_REASON GetLoggingEndpointResponse_Reason = 0
281 GetLoggingEndpointResponse_UNKNOWN_DEVICE GetLoggingEndpointResponse_Reason = 1
282 GetLoggingEndpointResponse_INTERNAL_ERROR GetLoggingEndpointResponse_Reason = 2
283 GetLoggingEndpointResponse_DEVICE_UNREACHABLE GetLoggingEndpointResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +0100284)
285
286var GetLoggingEndpointResponse_Reason_name = map[int32]string{
287 0: "UNDEFINED_REASON",
288 1: "UNKNOWN_DEVICE",
289 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100290 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100291}
292
293var GetLoggingEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100294 "UNDEFINED_REASON": 0,
295 "UNKNOWN_DEVICE": 1,
296 "INTERNAL_ERROR": 2,
297 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +0100298}
299
300func (x GetLoggingEndpointResponse_Reason) String() string {
301 return proto.EnumName(GetLoggingEndpointResponse_Reason_name, int32(x))
302}
303
304func (GetLoggingEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100305 return fileDescriptor_eae902e73066286d, []int{13, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100306}
307
308type GetMsgBusEndpointResponse_Reason int32
309
310const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100311 GetMsgBusEndpointResponse_UNDEFINED_REASON GetMsgBusEndpointResponse_Reason = 0
312 GetMsgBusEndpointResponse_INTERNAL_ERROR GetMsgBusEndpointResponse_Reason = 1
313 GetMsgBusEndpointResponse_DEVICE_UNREACHABLE GetMsgBusEndpointResponse_Reason = 2
amit.ghoshae473032021-01-10 11:59:10 +0100314)
315
316var GetMsgBusEndpointResponse_Reason_name = map[int32]string{
317 0: "UNDEFINED_REASON",
318 1: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100319 2: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100320}
321
322var GetMsgBusEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100323 "UNDEFINED_REASON": 0,
324 "INTERNAL_ERROR": 1,
325 "DEVICE_UNREACHABLE": 2,
amit.ghoshae473032021-01-10 11:59:10 +0100326}
327
328func (x GetMsgBusEndpointResponse_Reason) String() string {
329 return proto.EnumName(GetMsgBusEndpointResponse_Reason_name, int32(x))
330}
331
332func (GetMsgBusEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100333 return fileDescriptor_eae902e73066286d, []int{15, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100334}
335
336type SetLogLevelResponse_Reason int32
337
338const (
339 SetLogLevelResponse_UNDEFINED_REASON SetLogLevelResponse_Reason = 0
340 SetLogLevelResponse_UNKNOWN_DEVICE SetLogLevelResponse_Reason = 1
341 SetLogLevelResponse_INTERNAL_ERROR SetLogLevelResponse_Reason = 2
342 SetLogLevelResponse_UNKNOWN_LOG_ENTITY SetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100343 SetLogLevelResponse_DEVICE_UNREACHABLE SetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100344)
345
346var SetLogLevelResponse_Reason_name = map[int32]string{
347 0: "UNDEFINED_REASON",
348 1: "UNKNOWN_DEVICE",
349 2: "INTERNAL_ERROR",
350 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100351 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100352}
353
354var SetLogLevelResponse_Reason_value = map[string]int32{
355 "UNDEFINED_REASON": 0,
356 "UNKNOWN_DEVICE": 1,
357 "INTERNAL_ERROR": 2,
358 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100359 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100360}
361
362func (x SetLogLevelResponse_Reason) String() string {
363 return proto.EnumName(SetLogLevelResponse_Reason_name, int32(x))
364}
365
366func (SetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100367 return fileDescriptor_eae902e73066286d, []int{18, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100368}
369
370type GetLogLevelResponse_Reason int32
371
372const (
373 GetLogLevelResponse_UNDEFINED_REASON GetLogLevelResponse_Reason = 0
374 GetLogLevelResponse_UNKNOWN_DEVICE GetLogLevelResponse_Reason = 1
375 GetLogLevelResponse_INTERNAL_ERROR GetLogLevelResponse_Reason = 2
376 GetLogLevelResponse_UNKNOWN_LOG_ENTITY GetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100377 GetLogLevelResponse_DEVICE_UNREACHABLE GetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100378)
379
380var GetLogLevelResponse_Reason_name = map[int32]string{
381 0: "UNDEFINED_REASON",
382 1: "UNKNOWN_DEVICE",
383 2: "INTERNAL_ERROR",
384 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100385 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100386}
387
388var GetLogLevelResponse_Reason_value = map[string]int32{
389 "UNDEFINED_REASON": 0,
390 "UNKNOWN_DEVICE": 1,
391 "INTERNAL_ERROR": 2,
392 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100393 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100394}
395
396func (x GetLogLevelResponse_Reason) String() string {
397 return proto.EnumName(GetLogLevelResponse_Reason_name, int32(x))
398}
399
400func (GetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100401 return fileDescriptor_eae902e73066286d, []int{20, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100402}
403
amit.ghosh93183512024-05-28 22:37:27 +0200404type SetDmLogLevelResponse_Reason int32
405
406const (
407 SetDmLogLevelResponse_UNDEFINED_REASON SetDmLogLevelResponse_Reason = 0
408 SetDmLogLevelResponse_INTERNAL_ERROR SetDmLogLevelResponse_Reason = 1
409 SetDmLogLevelResponse_UNKNOWN_LOG_LEVEL SetDmLogLevelResponse_Reason = 2
410)
411
412var SetDmLogLevelResponse_Reason_name = map[int32]string{
413 0: "UNDEFINED_REASON",
414 1: "INTERNAL_ERROR",
415 2: "UNKNOWN_LOG_LEVEL",
416}
417
418var SetDmLogLevelResponse_Reason_value = map[string]int32{
419 "UNDEFINED_REASON": 0,
420 "INTERNAL_ERROR": 1,
421 "UNKNOWN_LOG_LEVEL": 2,
422}
423
424func (x SetDmLogLevelResponse_Reason) String() string {
425 return proto.EnumName(SetDmLogLevelResponse_Reason_name, int32(x))
426}
427
428func (SetDmLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
429 return fileDescriptor_eae902e73066286d, []int{23, 0}
430}
431
432type GetDmLogLevelResponse_Reason int32
433
434const (
435 GetDmLogLevelResponse_UNDEFINED_REASON GetDmLogLevelResponse_Reason = 0
436 GetDmLogLevelResponse_INTERNAL_ERROR GetDmLogLevelResponse_Reason = 1
437)
438
439var GetDmLogLevelResponse_Reason_name = map[int32]string{
440 0: "UNDEFINED_REASON",
441 1: "INTERNAL_ERROR",
442}
443
444var GetDmLogLevelResponse_Reason_value = map[string]int32{
445 "UNDEFINED_REASON": 0,
446 "INTERNAL_ERROR": 1,
447}
448
449func (x GetDmLogLevelResponse_Reason) String() string {
450 return proto.EnumName(GetDmLogLevelResponse_Reason_name, int32(x))
451}
452
453func (GetDmLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
454 return fileDescriptor_eae902e73066286d, []int{25, 0}
455}
456
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530457type RebootDeviceResponse_Reason int32
458
459const (
amit.ghosh840cb602022-04-08 16:10:50 +0200460 RebootDeviceResponse_UNDEFINED_REASON RebootDeviceResponse_Reason = 0
461 RebootDeviceResponse_UNKNOWN_DEVICE RebootDeviceResponse_Reason = 1
462 RebootDeviceResponse_INTERNAL_ERROR RebootDeviceResponse_Reason = 2
463 RebootDeviceResponse_DEVICE_UNREACHABLE RebootDeviceResponse_Reason = 3
464 RebootDeviceResponse_DEVICE_IN_WRONG_STATE RebootDeviceResponse_Reason = 4
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530465)
466
467var RebootDeviceResponse_Reason_name = map[int32]string{
468 0: "UNDEFINED_REASON",
469 1: "UNKNOWN_DEVICE",
470 2: "INTERNAL_ERROR",
471 3: "DEVICE_UNREACHABLE",
amit.ghosh840cb602022-04-08 16:10:50 +0200472 4: "DEVICE_IN_WRONG_STATE",
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530473}
474
475var RebootDeviceResponse_Reason_value = map[string]int32{
amit.ghosh840cb602022-04-08 16:10:50 +0200476 "UNDEFINED_REASON": 0,
477 "UNKNOWN_DEVICE": 1,
478 "INTERNAL_ERROR": 2,
479 "DEVICE_UNREACHABLE": 3,
480 "DEVICE_IN_WRONG_STATE": 4,
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530481}
482
483func (x RebootDeviceResponse_Reason) String() string {
484 return proto.EnumName(RebootDeviceResponse_Reason_name, int32(x))
485}
486
487func (RebootDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh93183512024-05-28 22:37:27 +0200488 return fileDescriptor_eae902e73066286d, []int{28, 0}
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530489}
490
Amit Ghosh09f28362020-06-12 21:52:19 +0100491type PhysicalInventoryRequest struct {
492 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
493 XXX_NoUnkeyedLiteral struct{} `json:"-"`
494 XXX_unrecognized []byte `json:"-"`
495 XXX_sizecache int32 `json:"-"`
496}
497
498func (m *PhysicalInventoryRequest) Reset() { *m = PhysicalInventoryRequest{} }
499func (m *PhysicalInventoryRequest) String() string { return proto.CompactTextString(m) }
500func (*PhysicalInventoryRequest) ProtoMessage() {}
501func (*PhysicalInventoryRequest) Descriptor() ([]byte, []int) {
502 return fileDescriptor_eae902e73066286d, []int{0}
503}
504
505func (m *PhysicalInventoryRequest) XXX_Unmarshal(b []byte) error {
506 return xxx_messageInfo_PhysicalInventoryRequest.Unmarshal(m, b)
507}
508func (m *PhysicalInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
509 return xxx_messageInfo_PhysicalInventoryRequest.Marshal(b, m, deterministic)
510}
511func (m *PhysicalInventoryRequest) XXX_Merge(src proto.Message) {
512 xxx_messageInfo_PhysicalInventoryRequest.Merge(m, src)
513}
514func (m *PhysicalInventoryRequest) XXX_Size() int {
515 return xxx_messageInfo_PhysicalInventoryRequest.Size(m)
516}
517func (m *PhysicalInventoryRequest) XXX_DiscardUnknown() {
518 xxx_messageInfo_PhysicalInventoryRequest.DiscardUnknown(m)
519}
520
521var xxx_messageInfo_PhysicalInventoryRequest proto.InternalMessageInfo
522
523func (m *PhysicalInventoryRequest) GetDeviceUuid() *Uuid {
524 if m != nil {
525 return m.DeviceUuid
526 }
527 return nil
528}
529
530type PhysicalInventoryResponse struct {
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100531 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
532 Reason PhysicalInventoryResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.PhysicalInventoryResponse_Reason" json:"reason,omitempty"`
533 Inventory *Hardware `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
534 // It is recommended that upstream components/users of the DMI interface
535 // do not really interpret/parse the reson_detail, but rather use it for
536 // display purposes to the end user or use it for logging the error
537 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
538 XXX_NoUnkeyedLiteral struct{} `json:"-"`
539 XXX_unrecognized []byte `json:"-"`
540 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100541}
542
543func (m *PhysicalInventoryResponse) Reset() { *m = PhysicalInventoryResponse{} }
544func (m *PhysicalInventoryResponse) String() string { return proto.CompactTextString(m) }
545func (*PhysicalInventoryResponse) ProtoMessage() {}
546func (*PhysicalInventoryResponse) Descriptor() ([]byte, []int) {
547 return fileDescriptor_eae902e73066286d, []int{1}
548}
549
550func (m *PhysicalInventoryResponse) XXX_Unmarshal(b []byte) error {
551 return xxx_messageInfo_PhysicalInventoryResponse.Unmarshal(m, b)
552}
553func (m *PhysicalInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
554 return xxx_messageInfo_PhysicalInventoryResponse.Marshal(b, m, deterministic)
555}
556func (m *PhysicalInventoryResponse) XXX_Merge(src proto.Message) {
557 xxx_messageInfo_PhysicalInventoryResponse.Merge(m, src)
558}
559func (m *PhysicalInventoryResponse) XXX_Size() int {
560 return xxx_messageInfo_PhysicalInventoryResponse.Size(m)
561}
562func (m *PhysicalInventoryResponse) XXX_DiscardUnknown() {
563 xxx_messageInfo_PhysicalInventoryResponse.DiscardUnknown(m)
564}
565
566var xxx_messageInfo_PhysicalInventoryResponse proto.InternalMessageInfo
567
568func (m *PhysicalInventoryResponse) GetStatus() Status {
569 if m != nil {
570 return m.Status
571 }
572 return Status_UNDEFINED_STATUS
573}
574
amit.ghoshae473032021-01-10 11:59:10 +0100575func (m *PhysicalInventoryResponse) GetReason() PhysicalInventoryResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100576 if m != nil {
577 return m.Reason
578 }
amit.ghoshae473032021-01-10 11:59:10 +0100579 return PhysicalInventoryResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100580}
581
582func (m *PhysicalInventoryResponse) GetInventory() *Hardware {
583 if m != nil {
584 return m.Inventory
585 }
586 return nil
587}
588
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100589func (m *PhysicalInventoryResponse) GetReasonDetail() string {
590 if m != nil {
591 return m.ReasonDetail
592 }
593 return ""
594}
595
Amit Ghosh09f28362020-06-12 21:52:19 +0100596type HWComponentInfoGetRequest struct {
597 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
598 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
599 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
600 XXX_NoUnkeyedLiteral struct{} `json:"-"`
601 XXX_unrecognized []byte `json:"-"`
602 XXX_sizecache int32 `json:"-"`
603}
604
605func (m *HWComponentInfoGetRequest) Reset() { *m = HWComponentInfoGetRequest{} }
606func (m *HWComponentInfoGetRequest) String() string { return proto.CompactTextString(m) }
607func (*HWComponentInfoGetRequest) ProtoMessage() {}
608func (*HWComponentInfoGetRequest) Descriptor() ([]byte, []int) {
609 return fileDescriptor_eae902e73066286d, []int{2}
610}
611
612func (m *HWComponentInfoGetRequest) XXX_Unmarshal(b []byte) error {
613 return xxx_messageInfo_HWComponentInfoGetRequest.Unmarshal(m, b)
614}
615func (m *HWComponentInfoGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
616 return xxx_messageInfo_HWComponentInfoGetRequest.Marshal(b, m, deterministic)
617}
618func (m *HWComponentInfoGetRequest) XXX_Merge(src proto.Message) {
619 xxx_messageInfo_HWComponentInfoGetRequest.Merge(m, src)
620}
621func (m *HWComponentInfoGetRequest) XXX_Size() int {
622 return xxx_messageInfo_HWComponentInfoGetRequest.Size(m)
623}
624func (m *HWComponentInfoGetRequest) XXX_DiscardUnknown() {
625 xxx_messageInfo_HWComponentInfoGetRequest.DiscardUnknown(m)
626}
627
628var xxx_messageInfo_HWComponentInfoGetRequest proto.InternalMessageInfo
629
630func (m *HWComponentInfoGetRequest) GetDeviceUuid() *Uuid {
631 if m != nil {
632 return m.DeviceUuid
633 }
634 return nil
635}
636
637func (m *HWComponentInfoGetRequest) GetComponentUuid() *Uuid {
638 if m != nil {
639 return m.ComponentUuid
640 }
641 return nil
642}
643
644func (m *HWComponentInfoGetRequest) GetComponentName() string {
645 if m != nil {
646 return m.ComponentName
647 }
648 return ""
649}
650
aghoshc301dcd2020-09-03 16:55:34 +0100651type HWComponentInfoGetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100652 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
653 Reason HWComponentInfoGetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoGetResponse_Reason" json:"reason,omitempty"`
654 Component *Component `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100655 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100656 XXX_NoUnkeyedLiteral struct{} `json:"-"`
657 XXX_unrecognized []byte `json:"-"`
658 XXX_sizecache int32 `json:"-"`
aghoshc301dcd2020-09-03 16:55:34 +0100659}
660
661func (m *HWComponentInfoGetResponse) Reset() { *m = HWComponentInfoGetResponse{} }
662func (m *HWComponentInfoGetResponse) String() string { return proto.CompactTextString(m) }
663func (*HWComponentInfoGetResponse) ProtoMessage() {}
664func (*HWComponentInfoGetResponse) Descriptor() ([]byte, []int) {
665 return fileDescriptor_eae902e73066286d, []int{3}
666}
667
668func (m *HWComponentInfoGetResponse) XXX_Unmarshal(b []byte) error {
669 return xxx_messageInfo_HWComponentInfoGetResponse.Unmarshal(m, b)
670}
671func (m *HWComponentInfoGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
672 return xxx_messageInfo_HWComponentInfoGetResponse.Marshal(b, m, deterministic)
673}
674func (m *HWComponentInfoGetResponse) XXX_Merge(src proto.Message) {
675 xxx_messageInfo_HWComponentInfoGetResponse.Merge(m, src)
676}
677func (m *HWComponentInfoGetResponse) XXX_Size() int {
678 return xxx_messageInfo_HWComponentInfoGetResponse.Size(m)
679}
680func (m *HWComponentInfoGetResponse) XXX_DiscardUnknown() {
681 xxx_messageInfo_HWComponentInfoGetResponse.DiscardUnknown(m)
682}
683
684var xxx_messageInfo_HWComponentInfoGetResponse proto.InternalMessageInfo
685
686func (m *HWComponentInfoGetResponse) GetStatus() Status {
687 if m != nil {
688 return m.Status
689 }
690 return Status_UNDEFINED_STATUS
691}
692
amit.ghoshae473032021-01-10 11:59:10 +0100693func (m *HWComponentInfoGetResponse) GetReason() HWComponentInfoGetResponse_Reason {
aghoshc301dcd2020-09-03 16:55:34 +0100694 if m != nil {
695 return m.Reason
696 }
amit.ghoshae473032021-01-10 11:59:10 +0100697 return HWComponentInfoGetResponse_UNDEFINED_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100698}
699
700func (m *HWComponentInfoGetResponse) GetComponent() *Component {
701 if m != nil {
702 return m.Component
703 }
704 return nil
705}
706
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100707func (m *HWComponentInfoGetResponse) GetReasonDetail() string {
708 if m != nil {
709 return m.ReasonDetail
710 }
711 return ""
712}
713
Amit Ghosh09f28362020-06-12 21:52:19 +0100714type HWComponentInfoSetRequest struct {
715 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
716 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
717 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
718 Changes *ModifiableComponent `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"`
719 XXX_NoUnkeyedLiteral struct{} `json:"-"`
720 XXX_unrecognized []byte `json:"-"`
721 XXX_sizecache int32 `json:"-"`
722}
723
724func (m *HWComponentInfoSetRequest) Reset() { *m = HWComponentInfoSetRequest{} }
725func (m *HWComponentInfoSetRequest) String() string { return proto.CompactTextString(m) }
726func (*HWComponentInfoSetRequest) ProtoMessage() {}
727func (*HWComponentInfoSetRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100728 return fileDescriptor_eae902e73066286d, []int{4}
Amit Ghosh09f28362020-06-12 21:52:19 +0100729}
730
731func (m *HWComponentInfoSetRequest) XXX_Unmarshal(b []byte) error {
732 return xxx_messageInfo_HWComponentInfoSetRequest.Unmarshal(m, b)
733}
734func (m *HWComponentInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
735 return xxx_messageInfo_HWComponentInfoSetRequest.Marshal(b, m, deterministic)
736}
737func (m *HWComponentInfoSetRequest) XXX_Merge(src proto.Message) {
738 xxx_messageInfo_HWComponentInfoSetRequest.Merge(m, src)
739}
740func (m *HWComponentInfoSetRequest) XXX_Size() int {
741 return xxx_messageInfo_HWComponentInfoSetRequest.Size(m)
742}
743func (m *HWComponentInfoSetRequest) XXX_DiscardUnknown() {
744 xxx_messageInfo_HWComponentInfoSetRequest.DiscardUnknown(m)
745}
746
747var xxx_messageInfo_HWComponentInfoSetRequest proto.InternalMessageInfo
748
749func (m *HWComponentInfoSetRequest) GetDeviceUuid() *Uuid {
750 if m != nil {
751 return m.DeviceUuid
752 }
753 return nil
754}
755
756func (m *HWComponentInfoSetRequest) GetComponentUuid() *Uuid {
757 if m != nil {
758 return m.ComponentUuid
759 }
760 return nil
761}
762
763func (m *HWComponentInfoSetRequest) GetComponentName() string {
764 if m != nil {
765 return m.ComponentName
766 }
767 return ""
768}
769
770func (m *HWComponentInfoSetRequest) GetChanges() *ModifiableComponent {
771 if m != nil {
772 return m.Changes
773 }
774 return nil
775}
776
777type HWComponentInfoSetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100778 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
779 Reason HWComponentInfoSetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoSetResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100780 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100781 XXX_NoUnkeyedLiteral struct{} `json:"-"`
782 XXX_unrecognized []byte `json:"-"`
783 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100784}
785
786func (m *HWComponentInfoSetResponse) Reset() { *m = HWComponentInfoSetResponse{} }
787func (m *HWComponentInfoSetResponse) String() string { return proto.CompactTextString(m) }
788func (*HWComponentInfoSetResponse) ProtoMessage() {}
789func (*HWComponentInfoSetResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100790 return fileDescriptor_eae902e73066286d, []int{5}
Amit Ghosh09f28362020-06-12 21:52:19 +0100791}
792
793func (m *HWComponentInfoSetResponse) XXX_Unmarshal(b []byte) error {
794 return xxx_messageInfo_HWComponentInfoSetResponse.Unmarshal(m, b)
795}
796func (m *HWComponentInfoSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
797 return xxx_messageInfo_HWComponentInfoSetResponse.Marshal(b, m, deterministic)
798}
799func (m *HWComponentInfoSetResponse) XXX_Merge(src proto.Message) {
800 xxx_messageInfo_HWComponentInfoSetResponse.Merge(m, src)
801}
802func (m *HWComponentInfoSetResponse) XXX_Size() int {
803 return xxx_messageInfo_HWComponentInfoSetResponse.Size(m)
804}
805func (m *HWComponentInfoSetResponse) XXX_DiscardUnknown() {
806 xxx_messageInfo_HWComponentInfoSetResponse.DiscardUnknown(m)
807}
808
809var xxx_messageInfo_HWComponentInfoSetResponse proto.InternalMessageInfo
810
811func (m *HWComponentInfoSetResponse) GetStatus() Status {
812 if m != nil {
813 return m.Status
814 }
815 return Status_UNDEFINED_STATUS
816}
817
amit.ghoshae473032021-01-10 11:59:10 +0100818func (m *HWComponentInfoSetResponse) GetReason() HWComponentInfoSetResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100819 if m != nil {
820 return m.Reason
821 }
amit.ghoshae473032021-01-10 11:59:10 +0100822 return HWComponentInfoSetResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100823}
824
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100825func (m *HWComponentInfoSetResponse) GetReasonDetail() string {
826 if m != nil {
827 return m.ReasonDetail
828 }
829 return ""
830}
831
Amit Ghosh09f28362020-06-12 21:52:19 +0100832type StartManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100833 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
834 Reason StartManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartManagingDeviceResponse_Reason" json:"reason,omitempty"`
835 DeviceUuid *Uuid `protobuf:"bytes,3,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100836 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100837 XXX_NoUnkeyedLiteral struct{} `json:"-"`
838 XXX_unrecognized []byte `json:"-"`
839 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100840}
841
842func (m *StartManagingDeviceResponse) Reset() { *m = StartManagingDeviceResponse{} }
843func (m *StartManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
844func (*StartManagingDeviceResponse) ProtoMessage() {}
845func (*StartManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100846 return fileDescriptor_eae902e73066286d, []int{6}
Amit Ghosh09f28362020-06-12 21:52:19 +0100847}
848
849func (m *StartManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
850 return xxx_messageInfo_StartManagingDeviceResponse.Unmarshal(m, b)
851}
852func (m *StartManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
853 return xxx_messageInfo_StartManagingDeviceResponse.Marshal(b, m, deterministic)
854}
855func (m *StartManagingDeviceResponse) XXX_Merge(src proto.Message) {
856 xxx_messageInfo_StartManagingDeviceResponse.Merge(m, src)
857}
858func (m *StartManagingDeviceResponse) XXX_Size() int {
859 return xxx_messageInfo_StartManagingDeviceResponse.Size(m)
860}
861func (m *StartManagingDeviceResponse) XXX_DiscardUnknown() {
862 xxx_messageInfo_StartManagingDeviceResponse.DiscardUnknown(m)
863}
864
865var xxx_messageInfo_StartManagingDeviceResponse proto.InternalMessageInfo
866
867func (m *StartManagingDeviceResponse) GetStatus() Status {
868 if m != nil {
869 return m.Status
870 }
871 return Status_UNDEFINED_STATUS
872}
873
amit.ghoshae473032021-01-10 11:59:10 +0100874func (m *StartManagingDeviceResponse) GetReason() StartManagingDeviceResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100875 if m != nil {
876 return m.Reason
877 }
amit.ghoshae473032021-01-10 11:59:10 +0100878 return StartManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100879}
880
881func (m *StartManagingDeviceResponse) GetDeviceUuid() *Uuid {
882 if m != nil {
883 return m.DeviceUuid
884 }
885 return nil
886}
887
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100888func (m *StartManagingDeviceResponse) GetReasonDetail() string {
889 if m != nil {
890 return m.ReasonDetail
891 }
892 return ""
893}
894
Amit Ghosh366228e2020-07-06 13:46:42 +0100895type StopManagingDeviceRequest struct {
896 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
897 XXX_NoUnkeyedLiteral struct{} `json:"-"`
898 XXX_unrecognized []byte `json:"-"`
899 XXX_sizecache int32 `json:"-"`
900}
901
902func (m *StopManagingDeviceRequest) Reset() { *m = StopManagingDeviceRequest{} }
903func (m *StopManagingDeviceRequest) String() string { return proto.CompactTextString(m) }
904func (*StopManagingDeviceRequest) ProtoMessage() {}
905func (*StopManagingDeviceRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100906 return fileDescriptor_eae902e73066286d, []int{7}
Amit Ghosh366228e2020-07-06 13:46:42 +0100907}
908
909func (m *StopManagingDeviceRequest) XXX_Unmarshal(b []byte) error {
910 return xxx_messageInfo_StopManagingDeviceRequest.Unmarshal(m, b)
911}
912func (m *StopManagingDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
913 return xxx_messageInfo_StopManagingDeviceRequest.Marshal(b, m, deterministic)
914}
915func (m *StopManagingDeviceRequest) XXX_Merge(src proto.Message) {
916 xxx_messageInfo_StopManagingDeviceRequest.Merge(m, src)
917}
918func (m *StopManagingDeviceRequest) XXX_Size() int {
919 return xxx_messageInfo_StopManagingDeviceRequest.Size(m)
920}
921func (m *StopManagingDeviceRequest) XXX_DiscardUnknown() {
922 xxx_messageInfo_StopManagingDeviceRequest.DiscardUnknown(m)
923}
924
925var xxx_messageInfo_StopManagingDeviceRequest proto.InternalMessageInfo
926
927func (m *StopManagingDeviceRequest) GetName() string {
928 if m != nil {
929 return m.Name
930 }
931 return ""
932}
933
934type StopManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100935 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
936 Reason StopManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StopManagingDeviceResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100937 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100938 XXX_NoUnkeyedLiteral struct{} `json:"-"`
939 XXX_unrecognized []byte `json:"-"`
940 XXX_sizecache int32 `json:"-"`
Amit Ghosh366228e2020-07-06 13:46:42 +0100941}
942
943func (m *StopManagingDeviceResponse) Reset() { *m = StopManagingDeviceResponse{} }
944func (m *StopManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
945func (*StopManagingDeviceResponse) ProtoMessage() {}
946func (*StopManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100947 return fileDescriptor_eae902e73066286d, []int{8}
Amit Ghosh366228e2020-07-06 13:46:42 +0100948}
949
950func (m *StopManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
951 return xxx_messageInfo_StopManagingDeviceResponse.Unmarshal(m, b)
952}
953func (m *StopManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
954 return xxx_messageInfo_StopManagingDeviceResponse.Marshal(b, m, deterministic)
955}
956func (m *StopManagingDeviceResponse) XXX_Merge(src proto.Message) {
957 xxx_messageInfo_StopManagingDeviceResponse.Merge(m, src)
958}
959func (m *StopManagingDeviceResponse) XXX_Size() int {
960 return xxx_messageInfo_StopManagingDeviceResponse.Size(m)
961}
962func (m *StopManagingDeviceResponse) XXX_DiscardUnknown() {
963 xxx_messageInfo_StopManagingDeviceResponse.DiscardUnknown(m)
964}
965
966var xxx_messageInfo_StopManagingDeviceResponse proto.InternalMessageInfo
967
968func (m *StopManagingDeviceResponse) GetStatus() Status {
969 if m != nil {
970 return m.Status
971 }
972 return Status_UNDEFINED_STATUS
973}
974
amit.ghoshae473032021-01-10 11:59:10 +0100975func (m *StopManagingDeviceResponse) GetReason() StopManagingDeviceResponse_Reason {
Amit Ghosh366228e2020-07-06 13:46:42 +0100976 if m != nil {
977 return m.Reason
978 }
amit.ghoshae473032021-01-10 11:59:10 +0100979 return StopManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh366228e2020-07-06 13:46:42 +0100980}
981
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100982func (m *StopManagingDeviceResponse) GetReasonDetail() string {
983 if m != nil {
984 return m.ReasonDetail
985 }
986 return ""
987}
988
amit.ghosh0c687412021-03-24 19:01:08 +0100989type ManagedDeviceInfo struct {
990 Info *ModifiableComponent `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
991 DeviceUuid *Uuid `protobuf:"bytes,2,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
992 XXX_NoUnkeyedLiteral struct{} `json:"-"`
993 XXX_unrecognized []byte `json:"-"`
994 XXX_sizecache int32 `json:"-"`
995}
996
997func (m *ManagedDeviceInfo) Reset() { *m = ManagedDeviceInfo{} }
998func (m *ManagedDeviceInfo) String() string { return proto.CompactTextString(m) }
999func (*ManagedDeviceInfo) ProtoMessage() {}
1000func (*ManagedDeviceInfo) Descriptor() ([]byte, []int) {
1001 return fileDescriptor_eae902e73066286d, []int{9}
1002}
1003
1004func (m *ManagedDeviceInfo) XXX_Unmarshal(b []byte) error {
1005 return xxx_messageInfo_ManagedDeviceInfo.Unmarshal(m, b)
1006}
1007func (m *ManagedDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1008 return xxx_messageInfo_ManagedDeviceInfo.Marshal(b, m, deterministic)
1009}
1010func (m *ManagedDeviceInfo) XXX_Merge(src proto.Message) {
1011 xxx_messageInfo_ManagedDeviceInfo.Merge(m, src)
1012}
1013func (m *ManagedDeviceInfo) XXX_Size() int {
1014 return xxx_messageInfo_ManagedDeviceInfo.Size(m)
1015}
1016func (m *ManagedDeviceInfo) XXX_DiscardUnknown() {
1017 xxx_messageInfo_ManagedDeviceInfo.DiscardUnknown(m)
1018}
1019
1020var xxx_messageInfo_ManagedDeviceInfo proto.InternalMessageInfo
1021
1022func (m *ManagedDeviceInfo) GetInfo() *ModifiableComponent {
1023 if m != nil {
1024 return m.Info
1025 }
1026 return nil
1027}
1028
1029func (m *ManagedDeviceInfo) GetDeviceUuid() *Uuid {
1030 if m != nil {
1031 return m.DeviceUuid
1032 }
1033 return nil
1034}
1035
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001036type ManagedDevicesResponse struct {
amit.ghosh0c687412021-03-24 19:01:08 +01001037 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1038 Reason ManagedDevicesResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.ManagedDevicesResponse_Reason" json:"reason,omitempty"`
1039 Devices []*ManagedDeviceInfo `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
1040 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1041 XXX_unrecognized []byte `json:"-"`
1042 XXX_sizecache int32 `json:"-"`
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001043}
1044
1045func (m *ManagedDevicesResponse) Reset() { *m = ManagedDevicesResponse{} }
1046func (m *ManagedDevicesResponse) String() string { return proto.CompactTextString(m) }
1047func (*ManagedDevicesResponse) ProtoMessage() {}
1048func (*ManagedDevicesResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001049 return fileDescriptor_eae902e73066286d, []int{10}
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001050}
1051
1052func (m *ManagedDevicesResponse) XXX_Unmarshal(b []byte) error {
1053 return xxx_messageInfo_ManagedDevicesResponse.Unmarshal(m, b)
1054}
1055func (m *ManagedDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1056 return xxx_messageInfo_ManagedDevicesResponse.Marshal(b, m, deterministic)
1057}
1058func (m *ManagedDevicesResponse) XXX_Merge(src proto.Message) {
1059 xxx_messageInfo_ManagedDevicesResponse.Merge(m, src)
1060}
1061func (m *ManagedDevicesResponse) XXX_Size() int {
1062 return xxx_messageInfo_ManagedDevicesResponse.Size(m)
1063}
1064func (m *ManagedDevicesResponse) XXX_DiscardUnknown() {
1065 xxx_messageInfo_ManagedDevicesResponse.DiscardUnknown(m)
1066}
1067
1068var xxx_messageInfo_ManagedDevicesResponse proto.InternalMessageInfo
1069
amit.ghosh0c687412021-03-24 19:01:08 +01001070func (m *ManagedDevicesResponse) GetStatus() Status {
1071 if m != nil {
1072 return m.Status
1073 }
1074 return Status_UNDEFINED_STATUS
1075}
1076
1077func (m *ManagedDevicesResponse) GetReason() ManagedDevicesResponse_Reason {
1078 if m != nil {
1079 return m.Reason
1080 }
1081 return ManagedDevicesResponse_UNDEFINED_REASON
1082}
1083
1084func (m *ManagedDevicesResponse) GetDevices() []*ManagedDeviceInfo {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001085 if m != nil {
1086 return m.Devices
1087 }
1088 return nil
1089}
1090
amit.ghosh188a84f2020-09-27 20:59:25 +02001091type SetLoggingEndpointRequest struct {
1092 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1093 LoggingEndpoint string `protobuf:"bytes,2,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1094 LoggingProtocol string `protobuf:"bytes,3,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
1095 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1096 XXX_unrecognized []byte `json:"-"`
1097 XXX_sizecache int32 `json:"-"`
1098}
1099
1100func (m *SetLoggingEndpointRequest) Reset() { *m = SetLoggingEndpointRequest{} }
1101func (m *SetLoggingEndpointRequest) String() string { return proto.CompactTextString(m) }
1102func (*SetLoggingEndpointRequest) ProtoMessage() {}
1103func (*SetLoggingEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001104 return fileDescriptor_eae902e73066286d, []int{11}
amit.ghosh188a84f2020-09-27 20:59:25 +02001105}
1106
1107func (m *SetLoggingEndpointRequest) XXX_Unmarshal(b []byte) error {
1108 return xxx_messageInfo_SetLoggingEndpointRequest.Unmarshal(m, b)
1109}
1110func (m *SetLoggingEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1111 return xxx_messageInfo_SetLoggingEndpointRequest.Marshal(b, m, deterministic)
1112}
1113func (m *SetLoggingEndpointRequest) XXX_Merge(src proto.Message) {
1114 xxx_messageInfo_SetLoggingEndpointRequest.Merge(m, src)
1115}
1116func (m *SetLoggingEndpointRequest) XXX_Size() int {
1117 return xxx_messageInfo_SetLoggingEndpointRequest.Size(m)
1118}
1119func (m *SetLoggingEndpointRequest) XXX_DiscardUnknown() {
1120 xxx_messageInfo_SetLoggingEndpointRequest.DiscardUnknown(m)
1121}
1122
1123var xxx_messageInfo_SetLoggingEndpointRequest proto.InternalMessageInfo
1124
1125func (m *SetLoggingEndpointRequest) GetDeviceUuid() *Uuid {
1126 if m != nil {
1127 return m.DeviceUuid
1128 }
1129 return nil
1130}
1131
1132func (m *SetLoggingEndpointRequest) GetLoggingEndpoint() string {
1133 if m != nil {
1134 return m.LoggingEndpoint
1135 }
1136 return ""
1137}
1138
1139func (m *SetLoggingEndpointRequest) GetLoggingProtocol() string {
1140 if m != nil {
1141 return m.LoggingProtocol
1142 }
1143 return ""
1144}
1145
1146type SetRemoteEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001147 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1148 Reason SetRemoteEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetRemoteEndpointResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001149 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001150 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1151 XXX_unrecognized []byte `json:"-"`
1152 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001153}
1154
1155func (m *SetRemoteEndpointResponse) Reset() { *m = SetRemoteEndpointResponse{} }
1156func (m *SetRemoteEndpointResponse) String() string { return proto.CompactTextString(m) }
1157func (*SetRemoteEndpointResponse) ProtoMessage() {}
1158func (*SetRemoteEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001159 return fileDescriptor_eae902e73066286d, []int{12}
amit.ghosh188a84f2020-09-27 20:59:25 +02001160}
1161
1162func (m *SetRemoteEndpointResponse) XXX_Unmarshal(b []byte) error {
1163 return xxx_messageInfo_SetRemoteEndpointResponse.Unmarshal(m, b)
1164}
1165func (m *SetRemoteEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1166 return xxx_messageInfo_SetRemoteEndpointResponse.Marshal(b, m, deterministic)
1167}
1168func (m *SetRemoteEndpointResponse) XXX_Merge(src proto.Message) {
1169 xxx_messageInfo_SetRemoteEndpointResponse.Merge(m, src)
1170}
1171func (m *SetRemoteEndpointResponse) XXX_Size() int {
1172 return xxx_messageInfo_SetRemoteEndpointResponse.Size(m)
1173}
1174func (m *SetRemoteEndpointResponse) XXX_DiscardUnknown() {
1175 xxx_messageInfo_SetRemoteEndpointResponse.DiscardUnknown(m)
1176}
1177
1178var xxx_messageInfo_SetRemoteEndpointResponse proto.InternalMessageInfo
1179
1180func (m *SetRemoteEndpointResponse) GetStatus() Status {
1181 if m != nil {
1182 return m.Status
1183 }
1184 return Status_UNDEFINED_STATUS
1185}
1186
amit.ghoshae473032021-01-10 11:59:10 +01001187func (m *SetRemoteEndpointResponse) GetReason() SetRemoteEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001188 if m != nil {
1189 return m.Reason
1190 }
amit.ghoshae473032021-01-10 11:59:10 +01001191 return SetRemoteEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001192}
1193
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001194func (m *SetRemoteEndpointResponse) GetReasonDetail() string {
1195 if m != nil {
1196 return m.ReasonDetail
1197 }
1198 return ""
1199}
1200
amit.ghosh188a84f2020-09-27 20:59:25 +02001201type GetLoggingEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001202 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1203 Reason GetLoggingEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetLoggingEndpointResponse_Reason" json:"reason,omitempty"`
1204 LoggingEndpoint string `protobuf:"bytes,3,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1205 LoggingProtocol string `protobuf:"bytes,4,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001206 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001207 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1208 XXX_unrecognized []byte `json:"-"`
1209 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001210}
1211
1212func (m *GetLoggingEndpointResponse) Reset() { *m = GetLoggingEndpointResponse{} }
1213func (m *GetLoggingEndpointResponse) String() string { return proto.CompactTextString(m) }
1214func (*GetLoggingEndpointResponse) ProtoMessage() {}
1215func (*GetLoggingEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001216 return fileDescriptor_eae902e73066286d, []int{13}
amit.ghosh188a84f2020-09-27 20:59:25 +02001217}
1218
1219func (m *GetLoggingEndpointResponse) XXX_Unmarshal(b []byte) error {
1220 return xxx_messageInfo_GetLoggingEndpointResponse.Unmarshal(m, b)
1221}
1222func (m *GetLoggingEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1223 return xxx_messageInfo_GetLoggingEndpointResponse.Marshal(b, m, deterministic)
1224}
1225func (m *GetLoggingEndpointResponse) XXX_Merge(src proto.Message) {
1226 xxx_messageInfo_GetLoggingEndpointResponse.Merge(m, src)
1227}
1228func (m *GetLoggingEndpointResponse) XXX_Size() int {
1229 return xxx_messageInfo_GetLoggingEndpointResponse.Size(m)
1230}
1231func (m *GetLoggingEndpointResponse) XXX_DiscardUnknown() {
1232 xxx_messageInfo_GetLoggingEndpointResponse.DiscardUnknown(m)
1233}
1234
1235var xxx_messageInfo_GetLoggingEndpointResponse proto.InternalMessageInfo
1236
1237func (m *GetLoggingEndpointResponse) GetStatus() Status {
1238 if m != nil {
1239 return m.Status
1240 }
1241 return Status_UNDEFINED_STATUS
1242}
1243
amit.ghoshae473032021-01-10 11:59:10 +01001244func (m *GetLoggingEndpointResponse) GetReason() GetLoggingEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001245 if m != nil {
1246 return m.Reason
1247 }
amit.ghoshae473032021-01-10 11:59:10 +01001248 return GetLoggingEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001249}
1250
1251func (m *GetLoggingEndpointResponse) GetLoggingEndpoint() string {
1252 if m != nil {
1253 return m.LoggingEndpoint
1254 }
1255 return ""
1256}
1257
1258func (m *GetLoggingEndpointResponse) GetLoggingProtocol() string {
1259 if m != nil {
1260 return m.LoggingProtocol
1261 }
1262 return ""
1263}
1264
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001265func (m *GetLoggingEndpointResponse) GetReasonDetail() string {
1266 if m != nil {
1267 return m.ReasonDetail
1268 }
1269 return ""
1270}
1271
amit.ghosh188a84f2020-09-27 20:59:25 +02001272type SetMsgBusEndpointRequest struct {
1273 MsgbusEndpoint string `protobuf:"bytes,1,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1274 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1275 XXX_unrecognized []byte `json:"-"`
1276 XXX_sizecache int32 `json:"-"`
1277}
1278
1279func (m *SetMsgBusEndpointRequest) Reset() { *m = SetMsgBusEndpointRequest{} }
1280func (m *SetMsgBusEndpointRequest) String() string { return proto.CompactTextString(m) }
1281func (*SetMsgBusEndpointRequest) ProtoMessage() {}
1282func (*SetMsgBusEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001283 return fileDescriptor_eae902e73066286d, []int{14}
amit.ghosh188a84f2020-09-27 20:59:25 +02001284}
1285
1286func (m *SetMsgBusEndpointRequest) XXX_Unmarshal(b []byte) error {
1287 return xxx_messageInfo_SetMsgBusEndpointRequest.Unmarshal(m, b)
1288}
1289func (m *SetMsgBusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1290 return xxx_messageInfo_SetMsgBusEndpointRequest.Marshal(b, m, deterministic)
1291}
1292func (m *SetMsgBusEndpointRequest) XXX_Merge(src proto.Message) {
1293 xxx_messageInfo_SetMsgBusEndpointRequest.Merge(m, src)
1294}
1295func (m *SetMsgBusEndpointRequest) XXX_Size() int {
1296 return xxx_messageInfo_SetMsgBusEndpointRequest.Size(m)
1297}
1298func (m *SetMsgBusEndpointRequest) XXX_DiscardUnknown() {
1299 xxx_messageInfo_SetMsgBusEndpointRequest.DiscardUnknown(m)
1300}
1301
1302var xxx_messageInfo_SetMsgBusEndpointRequest proto.InternalMessageInfo
1303
1304func (m *SetMsgBusEndpointRequest) GetMsgbusEndpoint() string {
1305 if m != nil {
1306 return m.MsgbusEndpoint
1307 }
1308 return ""
1309}
1310
1311type GetMsgBusEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001312 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1313 Reason GetMsgBusEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetMsgBusEndpointResponse_Reason" json:"reason,omitempty"`
1314 MsgbusEndpoint string `protobuf:"bytes,3,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001315 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001316 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1317 XXX_unrecognized []byte `json:"-"`
1318 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001319}
1320
1321func (m *GetMsgBusEndpointResponse) Reset() { *m = GetMsgBusEndpointResponse{} }
1322func (m *GetMsgBusEndpointResponse) String() string { return proto.CompactTextString(m) }
1323func (*GetMsgBusEndpointResponse) ProtoMessage() {}
1324func (*GetMsgBusEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001325 return fileDescriptor_eae902e73066286d, []int{15}
amit.ghosh188a84f2020-09-27 20:59:25 +02001326}
1327
1328func (m *GetMsgBusEndpointResponse) XXX_Unmarshal(b []byte) error {
1329 return xxx_messageInfo_GetMsgBusEndpointResponse.Unmarshal(m, b)
1330}
1331func (m *GetMsgBusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1332 return xxx_messageInfo_GetMsgBusEndpointResponse.Marshal(b, m, deterministic)
1333}
1334func (m *GetMsgBusEndpointResponse) XXX_Merge(src proto.Message) {
1335 xxx_messageInfo_GetMsgBusEndpointResponse.Merge(m, src)
1336}
1337func (m *GetMsgBusEndpointResponse) XXX_Size() int {
1338 return xxx_messageInfo_GetMsgBusEndpointResponse.Size(m)
1339}
1340func (m *GetMsgBusEndpointResponse) XXX_DiscardUnknown() {
1341 xxx_messageInfo_GetMsgBusEndpointResponse.DiscardUnknown(m)
1342}
1343
1344var xxx_messageInfo_GetMsgBusEndpointResponse proto.InternalMessageInfo
1345
1346func (m *GetMsgBusEndpointResponse) GetStatus() Status {
1347 if m != nil {
1348 return m.Status
1349 }
1350 return Status_UNDEFINED_STATUS
1351}
1352
amit.ghoshae473032021-01-10 11:59:10 +01001353func (m *GetMsgBusEndpointResponse) GetReason() GetMsgBusEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001354 if m != nil {
1355 return m.Reason
1356 }
amit.ghoshae473032021-01-10 11:59:10 +01001357 return GetMsgBusEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001358}
1359
1360func (m *GetMsgBusEndpointResponse) GetMsgbusEndpoint() string {
1361 if m != nil {
1362 return m.MsgbusEndpoint
1363 }
1364 return ""
1365}
1366
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001367func (m *GetMsgBusEndpointResponse) GetReasonDetail() string {
1368 if m != nil {
1369 return m.ReasonDetail
1370 }
1371 return ""
1372}
1373
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001374type EntitiesLogLevel struct {
1375 LogLevel LogLevel `protobuf:"varint,1,opt,name=logLevel,proto3,enum=dmi.LogLevel" json:"logLevel,omitempty"`
1376 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1377 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1378 XXX_unrecognized []byte `json:"-"`
1379 XXX_sizecache int32 `json:"-"`
1380}
1381
1382func (m *EntitiesLogLevel) Reset() { *m = EntitiesLogLevel{} }
1383func (m *EntitiesLogLevel) String() string { return proto.CompactTextString(m) }
1384func (*EntitiesLogLevel) ProtoMessage() {}
1385func (*EntitiesLogLevel) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001386 return fileDescriptor_eae902e73066286d, []int{16}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001387}
1388
1389func (m *EntitiesLogLevel) XXX_Unmarshal(b []byte) error {
1390 return xxx_messageInfo_EntitiesLogLevel.Unmarshal(m, b)
1391}
1392func (m *EntitiesLogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1393 return xxx_messageInfo_EntitiesLogLevel.Marshal(b, m, deterministic)
1394}
1395func (m *EntitiesLogLevel) XXX_Merge(src proto.Message) {
1396 xxx_messageInfo_EntitiesLogLevel.Merge(m, src)
1397}
1398func (m *EntitiesLogLevel) XXX_Size() int {
1399 return xxx_messageInfo_EntitiesLogLevel.Size(m)
1400}
1401func (m *EntitiesLogLevel) XXX_DiscardUnknown() {
1402 xxx_messageInfo_EntitiesLogLevel.DiscardUnknown(m)
1403}
1404
1405var xxx_messageInfo_EntitiesLogLevel proto.InternalMessageInfo
1406
1407func (m *EntitiesLogLevel) GetLogLevel() LogLevel {
1408 if m != nil {
1409 return m.LogLevel
1410 }
1411 return LogLevel_TRACE
1412}
1413
1414func (m *EntitiesLogLevel) GetEntities() []string {
1415 if m != nil {
1416 return m.Entities
1417 }
1418 return nil
1419}
1420
1421type SetLogLevelRequest struct {
1422 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1423 Loglevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=loglevels,proto3" json:"loglevels,omitempty"`
1424 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1425 XXX_unrecognized []byte `json:"-"`
1426 XXX_sizecache int32 `json:"-"`
1427}
1428
1429func (m *SetLogLevelRequest) Reset() { *m = SetLogLevelRequest{} }
1430func (m *SetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1431func (*SetLogLevelRequest) ProtoMessage() {}
1432func (*SetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001433 return fileDescriptor_eae902e73066286d, []int{17}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001434}
1435
1436func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1437 return xxx_messageInfo_SetLogLevelRequest.Unmarshal(m, b)
1438}
1439func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1440 return xxx_messageInfo_SetLogLevelRequest.Marshal(b, m, deterministic)
1441}
1442func (m *SetLogLevelRequest) XXX_Merge(src proto.Message) {
1443 xxx_messageInfo_SetLogLevelRequest.Merge(m, src)
1444}
1445func (m *SetLogLevelRequest) XXX_Size() int {
1446 return xxx_messageInfo_SetLogLevelRequest.Size(m)
1447}
1448func (m *SetLogLevelRequest) XXX_DiscardUnknown() {
1449 xxx_messageInfo_SetLogLevelRequest.DiscardUnknown(m)
1450}
1451
1452var xxx_messageInfo_SetLogLevelRequest proto.InternalMessageInfo
1453
1454func (m *SetLogLevelRequest) GetDeviceUuid() *Uuid {
1455 if m != nil {
1456 return m.DeviceUuid
1457 }
1458 return nil
1459}
1460
1461func (m *SetLogLevelRequest) GetLoglevels() []*EntitiesLogLevel {
1462 if m != nil {
1463 return m.Loglevels
1464 }
1465 return nil
1466}
1467
1468type SetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001469 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1470 Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1471 Reason SetLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.SetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001472 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001473 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1474 XXX_unrecognized []byte `json:"-"`
1475 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001476}
1477
1478func (m *SetLogLevelResponse) Reset() { *m = SetLogLevelResponse{} }
1479func (m *SetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1480func (*SetLogLevelResponse) ProtoMessage() {}
1481func (*SetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001482 return fileDescriptor_eae902e73066286d, []int{18}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001483}
1484
1485func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1486 return xxx_messageInfo_SetLogLevelResponse.Unmarshal(m, b)
1487}
1488func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1489 return xxx_messageInfo_SetLogLevelResponse.Marshal(b, m, deterministic)
1490}
1491func (m *SetLogLevelResponse) XXX_Merge(src proto.Message) {
1492 xxx_messageInfo_SetLogLevelResponse.Merge(m, src)
1493}
1494func (m *SetLogLevelResponse) XXX_Size() int {
1495 return xxx_messageInfo_SetLogLevelResponse.Size(m)
1496}
1497func (m *SetLogLevelResponse) XXX_DiscardUnknown() {
1498 xxx_messageInfo_SetLogLevelResponse.DiscardUnknown(m)
1499}
1500
1501var xxx_messageInfo_SetLogLevelResponse proto.InternalMessageInfo
1502
amit.ghosh5d97dba2020-11-12 16:45:27 +01001503func (m *SetLogLevelResponse) GetDeviceUuid() *Uuid {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001504 if m != nil {
1505 return m.DeviceUuid
1506 }
1507 return nil
1508}
1509
amit.ghosh5d97dba2020-11-12 16:45:27 +01001510func (m *SetLogLevelResponse) GetStatus() Status {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001511 if m != nil {
1512 return m.Status
1513 }
1514 return Status_UNDEFINED_STATUS
1515}
1516
amit.ghoshae473032021-01-10 11:59:10 +01001517func (m *SetLogLevelResponse) GetReason() SetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001518 if m != nil {
1519 return m.Reason
1520 }
amit.ghoshae473032021-01-10 11:59:10 +01001521 return SetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001522}
1523
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001524func (m *SetLogLevelResponse) GetReasonDetail() string {
1525 if m != nil {
1526 return m.ReasonDetail
1527 }
1528 return ""
1529}
1530
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001531type GetLogLevelRequest struct {
1532 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1533 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1534 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1535 XXX_unrecognized []byte `json:"-"`
1536 XXX_sizecache int32 `json:"-"`
1537}
1538
1539func (m *GetLogLevelRequest) Reset() { *m = GetLogLevelRequest{} }
1540func (m *GetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1541func (*GetLogLevelRequest) ProtoMessage() {}
1542func (*GetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001543 return fileDescriptor_eae902e73066286d, []int{19}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001544}
1545
1546func (m *GetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1547 return xxx_messageInfo_GetLogLevelRequest.Unmarshal(m, b)
1548}
1549func (m *GetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1550 return xxx_messageInfo_GetLogLevelRequest.Marshal(b, m, deterministic)
1551}
1552func (m *GetLogLevelRequest) XXX_Merge(src proto.Message) {
1553 xxx_messageInfo_GetLogLevelRequest.Merge(m, src)
1554}
1555func (m *GetLogLevelRequest) XXX_Size() int {
1556 return xxx_messageInfo_GetLogLevelRequest.Size(m)
1557}
1558func (m *GetLogLevelRequest) XXX_DiscardUnknown() {
1559 xxx_messageInfo_GetLogLevelRequest.DiscardUnknown(m)
1560}
1561
1562var xxx_messageInfo_GetLogLevelRequest proto.InternalMessageInfo
1563
1564func (m *GetLogLevelRequest) GetDeviceUuid() *Uuid {
1565 if m != nil {
1566 return m.DeviceUuid
1567 }
1568 return nil
1569}
1570
1571func (m *GetLogLevelRequest) GetEntities() []string {
1572 if m != nil {
1573 return m.Entities
1574 }
1575 return nil
1576}
1577
1578type GetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001579 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1580 LogLevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=logLevels,proto3" json:"logLevels,omitempty"`
1581 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1582 Reason GetLogLevelResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.GetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001583 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001584 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1585 XXX_unrecognized []byte `json:"-"`
1586 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001587}
1588
1589func (m *GetLogLevelResponse) Reset() { *m = GetLogLevelResponse{} }
1590func (m *GetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1591func (*GetLogLevelResponse) ProtoMessage() {}
1592func (*GetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001593 return fileDescriptor_eae902e73066286d, []int{20}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001594}
1595
1596func (m *GetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1597 return xxx_messageInfo_GetLogLevelResponse.Unmarshal(m, b)
1598}
1599func (m *GetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1600 return xxx_messageInfo_GetLogLevelResponse.Marshal(b, m, deterministic)
1601}
1602func (m *GetLogLevelResponse) XXX_Merge(src proto.Message) {
1603 xxx_messageInfo_GetLogLevelResponse.Merge(m, src)
1604}
1605func (m *GetLogLevelResponse) XXX_Size() int {
1606 return xxx_messageInfo_GetLogLevelResponse.Size(m)
1607}
1608func (m *GetLogLevelResponse) XXX_DiscardUnknown() {
1609 xxx_messageInfo_GetLogLevelResponse.DiscardUnknown(m)
1610}
1611
1612var xxx_messageInfo_GetLogLevelResponse proto.InternalMessageInfo
1613
1614func (m *GetLogLevelResponse) GetDeviceUuid() *Uuid {
1615 if m != nil {
1616 return m.DeviceUuid
1617 }
1618 return nil
1619}
1620
1621func (m *GetLogLevelResponse) GetLogLevels() []*EntitiesLogLevel {
1622 if m != nil {
1623 return m.LogLevels
1624 }
1625 return nil
1626}
1627
1628func (m *GetLogLevelResponse) GetStatus() Status {
1629 if m != nil {
1630 return m.Status
1631 }
1632 return Status_UNDEFINED_STATUS
1633}
1634
amit.ghoshae473032021-01-10 11:59:10 +01001635func (m *GetLogLevelResponse) GetReason() GetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001636 if m != nil {
1637 return m.Reason
1638 }
amit.ghoshae473032021-01-10 11:59:10 +01001639 return GetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001640}
1641
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001642func (m *GetLogLevelResponse) GetReasonDetail() string {
1643 if m != nil {
1644 return m.ReasonDetail
1645 }
1646 return ""
1647}
1648
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001649type GetLoggableEntitiesRequest struct {
1650 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1651 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1652 XXX_unrecognized []byte `json:"-"`
1653 XXX_sizecache int32 `json:"-"`
1654}
1655
1656func (m *GetLoggableEntitiesRequest) Reset() { *m = GetLoggableEntitiesRequest{} }
1657func (m *GetLoggableEntitiesRequest) String() string { return proto.CompactTextString(m) }
1658func (*GetLoggableEntitiesRequest) ProtoMessage() {}
1659func (*GetLoggableEntitiesRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001660 return fileDescriptor_eae902e73066286d, []int{21}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001661}
1662
1663func (m *GetLoggableEntitiesRequest) XXX_Unmarshal(b []byte) error {
1664 return xxx_messageInfo_GetLoggableEntitiesRequest.Unmarshal(m, b)
1665}
1666func (m *GetLoggableEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1667 return xxx_messageInfo_GetLoggableEntitiesRequest.Marshal(b, m, deterministic)
1668}
1669func (m *GetLoggableEntitiesRequest) XXX_Merge(src proto.Message) {
1670 xxx_messageInfo_GetLoggableEntitiesRequest.Merge(m, src)
1671}
1672func (m *GetLoggableEntitiesRequest) XXX_Size() int {
1673 return xxx_messageInfo_GetLoggableEntitiesRequest.Size(m)
1674}
1675func (m *GetLoggableEntitiesRequest) XXX_DiscardUnknown() {
1676 xxx_messageInfo_GetLoggableEntitiesRequest.DiscardUnknown(m)
1677}
1678
1679var xxx_messageInfo_GetLoggableEntitiesRequest proto.InternalMessageInfo
1680
1681func (m *GetLoggableEntitiesRequest) GetDeviceUuid() *Uuid {
1682 if m != nil {
1683 return m.DeviceUuid
1684 }
1685 return nil
1686}
1687
amit.ghosh93183512024-05-28 22:37:27 +02001688type SetDmLogLevelRequest struct {
1689 Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=dmi.LogLevel" json:"level,omitempty"`
1690 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1691 XXX_unrecognized []byte `json:"-"`
1692 XXX_sizecache int32 `json:"-"`
1693}
1694
1695func (m *SetDmLogLevelRequest) Reset() { *m = SetDmLogLevelRequest{} }
1696func (m *SetDmLogLevelRequest) String() string { return proto.CompactTextString(m) }
1697func (*SetDmLogLevelRequest) ProtoMessage() {}
1698func (*SetDmLogLevelRequest) Descriptor() ([]byte, []int) {
1699 return fileDescriptor_eae902e73066286d, []int{22}
1700}
1701
1702func (m *SetDmLogLevelRequest) XXX_Unmarshal(b []byte) error {
1703 return xxx_messageInfo_SetDmLogLevelRequest.Unmarshal(m, b)
1704}
1705func (m *SetDmLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1706 return xxx_messageInfo_SetDmLogLevelRequest.Marshal(b, m, deterministic)
1707}
1708func (m *SetDmLogLevelRequest) XXX_Merge(src proto.Message) {
1709 xxx_messageInfo_SetDmLogLevelRequest.Merge(m, src)
1710}
1711func (m *SetDmLogLevelRequest) XXX_Size() int {
1712 return xxx_messageInfo_SetDmLogLevelRequest.Size(m)
1713}
1714func (m *SetDmLogLevelRequest) XXX_DiscardUnknown() {
1715 xxx_messageInfo_SetDmLogLevelRequest.DiscardUnknown(m)
1716}
1717
1718var xxx_messageInfo_SetDmLogLevelRequest proto.InternalMessageInfo
1719
1720func (m *SetDmLogLevelRequest) GetLevel() LogLevel {
1721 if m != nil {
1722 return m.Level
1723 }
1724 return LogLevel_TRACE
1725}
1726
1727type SetDmLogLevelResponse struct {
1728 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1729 Reason SetDmLogLevelResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetDmLogLevelResponse_Reason" json:"reason,omitempty"`
1730 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1731 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1732 XXX_unrecognized []byte `json:"-"`
1733 XXX_sizecache int32 `json:"-"`
1734}
1735
1736func (m *SetDmLogLevelResponse) Reset() { *m = SetDmLogLevelResponse{} }
1737func (m *SetDmLogLevelResponse) String() string { return proto.CompactTextString(m) }
1738func (*SetDmLogLevelResponse) ProtoMessage() {}
1739func (*SetDmLogLevelResponse) Descriptor() ([]byte, []int) {
1740 return fileDescriptor_eae902e73066286d, []int{23}
1741}
1742
1743func (m *SetDmLogLevelResponse) XXX_Unmarshal(b []byte) error {
1744 return xxx_messageInfo_SetDmLogLevelResponse.Unmarshal(m, b)
1745}
1746func (m *SetDmLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1747 return xxx_messageInfo_SetDmLogLevelResponse.Marshal(b, m, deterministic)
1748}
1749func (m *SetDmLogLevelResponse) XXX_Merge(src proto.Message) {
1750 xxx_messageInfo_SetDmLogLevelResponse.Merge(m, src)
1751}
1752func (m *SetDmLogLevelResponse) XXX_Size() int {
1753 return xxx_messageInfo_SetDmLogLevelResponse.Size(m)
1754}
1755func (m *SetDmLogLevelResponse) XXX_DiscardUnknown() {
1756 xxx_messageInfo_SetDmLogLevelResponse.DiscardUnknown(m)
1757}
1758
1759var xxx_messageInfo_SetDmLogLevelResponse proto.InternalMessageInfo
1760
1761func (m *SetDmLogLevelResponse) GetStatus() Status {
1762 if m != nil {
1763 return m.Status
1764 }
1765 return Status_UNDEFINED_STATUS
1766}
1767
1768func (m *SetDmLogLevelResponse) GetReason() SetDmLogLevelResponse_Reason {
1769 if m != nil {
1770 return m.Reason
1771 }
1772 return SetDmLogLevelResponse_UNDEFINED_REASON
1773}
1774
1775func (m *SetDmLogLevelResponse) GetReasonDetail() string {
1776 if m != nil {
1777 return m.ReasonDetail
1778 }
1779 return ""
1780}
1781
1782type GetDmLogLevelRequest struct {
1783 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1784 XXX_unrecognized []byte `json:"-"`
1785 XXX_sizecache int32 `json:"-"`
1786}
1787
1788func (m *GetDmLogLevelRequest) Reset() { *m = GetDmLogLevelRequest{} }
1789func (m *GetDmLogLevelRequest) String() string { return proto.CompactTextString(m) }
1790func (*GetDmLogLevelRequest) ProtoMessage() {}
1791func (*GetDmLogLevelRequest) Descriptor() ([]byte, []int) {
1792 return fileDescriptor_eae902e73066286d, []int{24}
1793}
1794
1795func (m *GetDmLogLevelRequest) XXX_Unmarshal(b []byte) error {
1796 return xxx_messageInfo_GetDmLogLevelRequest.Unmarshal(m, b)
1797}
1798func (m *GetDmLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1799 return xxx_messageInfo_GetDmLogLevelRequest.Marshal(b, m, deterministic)
1800}
1801func (m *GetDmLogLevelRequest) XXX_Merge(src proto.Message) {
1802 xxx_messageInfo_GetDmLogLevelRequest.Merge(m, src)
1803}
1804func (m *GetDmLogLevelRequest) XXX_Size() int {
1805 return xxx_messageInfo_GetDmLogLevelRequest.Size(m)
1806}
1807func (m *GetDmLogLevelRequest) XXX_DiscardUnknown() {
1808 xxx_messageInfo_GetDmLogLevelRequest.DiscardUnknown(m)
1809}
1810
1811var xxx_messageInfo_GetDmLogLevelRequest proto.InternalMessageInfo
1812
1813type GetDmLogLevelResponse struct {
1814 Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=dmi.LogLevel" json:"level,omitempty"`
1815 Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1816 Reason GetDmLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.GetDmLogLevelResponse_Reason" json:"reason,omitempty"`
1817 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1818 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1819 XXX_unrecognized []byte `json:"-"`
1820 XXX_sizecache int32 `json:"-"`
1821}
1822
1823func (m *GetDmLogLevelResponse) Reset() { *m = GetDmLogLevelResponse{} }
1824func (m *GetDmLogLevelResponse) String() string { return proto.CompactTextString(m) }
1825func (*GetDmLogLevelResponse) ProtoMessage() {}
1826func (*GetDmLogLevelResponse) Descriptor() ([]byte, []int) {
1827 return fileDescriptor_eae902e73066286d, []int{25}
1828}
1829
1830func (m *GetDmLogLevelResponse) XXX_Unmarshal(b []byte) error {
1831 return xxx_messageInfo_GetDmLogLevelResponse.Unmarshal(m, b)
1832}
1833func (m *GetDmLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1834 return xxx_messageInfo_GetDmLogLevelResponse.Marshal(b, m, deterministic)
1835}
1836func (m *GetDmLogLevelResponse) XXX_Merge(src proto.Message) {
1837 xxx_messageInfo_GetDmLogLevelResponse.Merge(m, src)
1838}
1839func (m *GetDmLogLevelResponse) XXX_Size() int {
1840 return xxx_messageInfo_GetDmLogLevelResponse.Size(m)
1841}
1842func (m *GetDmLogLevelResponse) XXX_DiscardUnknown() {
1843 xxx_messageInfo_GetDmLogLevelResponse.DiscardUnknown(m)
1844}
1845
1846var xxx_messageInfo_GetDmLogLevelResponse proto.InternalMessageInfo
1847
1848func (m *GetDmLogLevelResponse) GetLevel() LogLevel {
1849 if m != nil {
1850 return m.Level
1851 }
1852 return LogLevel_TRACE
1853}
1854
1855func (m *GetDmLogLevelResponse) GetStatus() Status {
1856 if m != nil {
1857 return m.Status
1858 }
1859 return Status_UNDEFINED_STATUS
1860}
1861
1862func (m *GetDmLogLevelResponse) GetReason() GetDmLogLevelResponse_Reason {
1863 if m != nil {
1864 return m.Reason
1865 }
1866 return GetDmLogLevelResponse_UNDEFINED_REASON
1867}
1868
1869func (m *GetDmLogLevelResponse) GetReasonDetail() string {
1870 if m != nil {
1871 return m.ReasonDetail
1872 }
1873 return ""
1874}
1875
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301876type Heartbeat struct {
1877 HeartbeatSignature uint32 `protobuf:"fixed32,1,opt,name=heartbeat_signature,json=heartbeatSignature,proto3" json:"heartbeat_signature,omitempty"`
1878 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1879 XXX_unrecognized []byte `json:"-"`
1880 XXX_sizecache int32 `json:"-"`
1881}
1882
1883func (m *Heartbeat) Reset() { *m = Heartbeat{} }
1884func (m *Heartbeat) String() string { return proto.CompactTextString(m) }
1885func (*Heartbeat) ProtoMessage() {}
1886func (*Heartbeat) Descriptor() ([]byte, []int) {
amit.ghosh93183512024-05-28 22:37:27 +02001887 return fileDescriptor_eae902e73066286d, []int{26}
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301888}
1889
1890func (m *Heartbeat) XXX_Unmarshal(b []byte) error {
1891 return xxx_messageInfo_Heartbeat.Unmarshal(m, b)
1892}
1893func (m *Heartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1894 return xxx_messageInfo_Heartbeat.Marshal(b, m, deterministic)
1895}
1896func (m *Heartbeat) XXX_Merge(src proto.Message) {
1897 xxx_messageInfo_Heartbeat.Merge(m, src)
1898}
1899func (m *Heartbeat) XXX_Size() int {
1900 return xxx_messageInfo_Heartbeat.Size(m)
1901}
1902func (m *Heartbeat) XXX_DiscardUnknown() {
1903 xxx_messageInfo_Heartbeat.DiscardUnknown(m)
1904}
1905
1906var xxx_messageInfo_Heartbeat proto.InternalMessageInfo
1907
1908func (m *Heartbeat) GetHeartbeatSignature() uint32 {
1909 if m != nil {
1910 return m.HeartbeatSignature
1911 }
1912 return 0
1913}
1914
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301915type RebootDeviceRequest struct {
1916 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1917 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1918 XXX_unrecognized []byte `json:"-"`
1919 XXX_sizecache int32 `json:"-"`
1920}
1921
1922func (m *RebootDeviceRequest) Reset() { *m = RebootDeviceRequest{} }
1923func (m *RebootDeviceRequest) String() string { return proto.CompactTextString(m) }
1924func (*RebootDeviceRequest) ProtoMessage() {}
1925func (*RebootDeviceRequest) Descriptor() ([]byte, []int) {
amit.ghosh93183512024-05-28 22:37:27 +02001926 return fileDescriptor_eae902e73066286d, []int{27}
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301927}
1928
1929func (m *RebootDeviceRequest) XXX_Unmarshal(b []byte) error {
1930 return xxx_messageInfo_RebootDeviceRequest.Unmarshal(m, b)
1931}
1932func (m *RebootDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1933 return xxx_messageInfo_RebootDeviceRequest.Marshal(b, m, deterministic)
1934}
1935func (m *RebootDeviceRequest) XXX_Merge(src proto.Message) {
1936 xxx_messageInfo_RebootDeviceRequest.Merge(m, src)
1937}
1938func (m *RebootDeviceRequest) XXX_Size() int {
1939 return xxx_messageInfo_RebootDeviceRequest.Size(m)
1940}
1941func (m *RebootDeviceRequest) XXX_DiscardUnknown() {
1942 xxx_messageInfo_RebootDeviceRequest.DiscardUnknown(m)
1943}
1944
1945var xxx_messageInfo_RebootDeviceRequest proto.InternalMessageInfo
1946
1947func (m *RebootDeviceRequest) GetDeviceUuid() *Uuid {
1948 if m != nil {
1949 return m.DeviceUuid
1950 }
1951 return nil
1952}
1953
1954type RebootDeviceResponse struct {
1955 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1956 Reason RebootDeviceResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.RebootDeviceResponse_Reason" json:"reason,omitempty"`
1957 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1958 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1959 XXX_unrecognized []byte `json:"-"`
1960 XXX_sizecache int32 `json:"-"`
1961}
1962
1963func (m *RebootDeviceResponse) Reset() { *m = RebootDeviceResponse{} }
1964func (m *RebootDeviceResponse) String() string { return proto.CompactTextString(m) }
1965func (*RebootDeviceResponse) ProtoMessage() {}
1966func (*RebootDeviceResponse) Descriptor() ([]byte, []int) {
amit.ghosh93183512024-05-28 22:37:27 +02001967 return fileDescriptor_eae902e73066286d, []int{28}
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301968}
1969
1970func (m *RebootDeviceResponse) XXX_Unmarshal(b []byte) error {
1971 return xxx_messageInfo_RebootDeviceResponse.Unmarshal(m, b)
1972}
1973func (m *RebootDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1974 return xxx_messageInfo_RebootDeviceResponse.Marshal(b, m, deterministic)
1975}
1976func (m *RebootDeviceResponse) XXX_Merge(src proto.Message) {
1977 xxx_messageInfo_RebootDeviceResponse.Merge(m, src)
1978}
1979func (m *RebootDeviceResponse) XXX_Size() int {
1980 return xxx_messageInfo_RebootDeviceResponse.Size(m)
1981}
1982func (m *RebootDeviceResponse) XXX_DiscardUnknown() {
1983 xxx_messageInfo_RebootDeviceResponse.DiscardUnknown(m)
1984}
1985
1986var xxx_messageInfo_RebootDeviceResponse proto.InternalMessageInfo
1987
1988func (m *RebootDeviceResponse) GetStatus() Status {
1989 if m != nil {
1990 return m.Status
1991 }
1992 return Status_UNDEFINED_STATUS
1993}
1994
1995func (m *RebootDeviceResponse) GetReason() RebootDeviceResponse_Reason {
1996 if m != nil {
1997 return m.Reason
1998 }
1999 return RebootDeviceResponse_UNDEFINED_REASON
2000}
2001
2002func (m *RebootDeviceResponse) GetReasonDetail() string {
2003 if m != nil {
2004 return m.ReasonDetail
2005 }
2006 return ""
2007}
2008
Amit Ghosh09f28362020-06-12 21:52:19 +01002009func init() {
amit.ghoshae473032021-01-10 11:59:10 +01002010 proto.RegisterEnum("dmi.PhysicalInventoryResponse_Reason", PhysicalInventoryResponse_Reason_name, PhysicalInventoryResponse_Reason_value)
2011 proto.RegisterEnum("dmi.HWComponentInfoGetResponse_Reason", HWComponentInfoGetResponse_Reason_name, HWComponentInfoGetResponse_Reason_value)
2012 proto.RegisterEnum("dmi.HWComponentInfoSetResponse_Reason", HWComponentInfoSetResponse_Reason_name, HWComponentInfoSetResponse_Reason_value)
2013 proto.RegisterEnum("dmi.StartManagingDeviceResponse_Reason", StartManagingDeviceResponse_Reason_name, StartManagingDeviceResponse_Reason_value)
2014 proto.RegisterEnum("dmi.StopManagingDeviceResponse_Reason", StopManagingDeviceResponse_Reason_name, StopManagingDeviceResponse_Reason_value)
amit.ghosh0c687412021-03-24 19:01:08 +01002015 proto.RegisterEnum("dmi.ManagedDevicesResponse_Reason", ManagedDevicesResponse_Reason_name, ManagedDevicesResponse_Reason_value)
amit.ghoshae473032021-01-10 11:59:10 +01002016 proto.RegisterEnum("dmi.SetRemoteEndpointResponse_Reason", SetRemoteEndpointResponse_Reason_name, SetRemoteEndpointResponse_Reason_value)
2017 proto.RegisterEnum("dmi.GetLoggingEndpointResponse_Reason", GetLoggingEndpointResponse_Reason_name, GetLoggingEndpointResponse_Reason_value)
2018 proto.RegisterEnum("dmi.GetMsgBusEndpointResponse_Reason", GetMsgBusEndpointResponse_Reason_name, GetMsgBusEndpointResponse_Reason_value)
2019 proto.RegisterEnum("dmi.SetLogLevelResponse_Reason", SetLogLevelResponse_Reason_name, SetLogLevelResponse_Reason_value)
2020 proto.RegisterEnum("dmi.GetLogLevelResponse_Reason", GetLogLevelResponse_Reason_name, GetLogLevelResponse_Reason_value)
amit.ghosh93183512024-05-28 22:37:27 +02002021 proto.RegisterEnum("dmi.SetDmLogLevelResponse_Reason", SetDmLogLevelResponse_Reason_name, SetDmLogLevelResponse_Reason_value)
2022 proto.RegisterEnum("dmi.GetDmLogLevelResponse_Reason", GetDmLogLevelResponse_Reason_name, GetDmLogLevelResponse_Reason_value)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302023 proto.RegisterEnum("dmi.RebootDeviceResponse_Reason", RebootDeviceResponse_Reason_name, RebootDeviceResponse_Reason_value)
Amit Ghosh09f28362020-06-12 21:52:19 +01002024 proto.RegisterType((*PhysicalInventoryRequest)(nil), "dmi.PhysicalInventoryRequest")
2025 proto.RegisterType((*PhysicalInventoryResponse)(nil), "dmi.PhysicalInventoryResponse")
2026 proto.RegisterType((*HWComponentInfoGetRequest)(nil), "dmi.HWComponentInfoGetRequest")
aghoshc301dcd2020-09-03 16:55:34 +01002027 proto.RegisterType((*HWComponentInfoGetResponse)(nil), "dmi.HWComponentInfoGetResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01002028 proto.RegisterType((*HWComponentInfoSetRequest)(nil), "dmi.HWComponentInfoSetRequest")
2029 proto.RegisterType((*HWComponentInfoSetResponse)(nil), "dmi.HWComponentInfoSetResponse")
2030 proto.RegisterType((*StartManagingDeviceResponse)(nil), "dmi.StartManagingDeviceResponse")
Amit Ghosh366228e2020-07-06 13:46:42 +01002031 proto.RegisterType((*StopManagingDeviceRequest)(nil), "dmi.StopManagingDeviceRequest")
2032 proto.RegisterType((*StopManagingDeviceResponse)(nil), "dmi.StopManagingDeviceResponse")
amit.ghosh0c687412021-03-24 19:01:08 +01002033 proto.RegisterType((*ManagedDeviceInfo)(nil), "dmi.ManagedDeviceInfo")
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002034 proto.RegisterType((*ManagedDevicesResponse)(nil), "dmi.ManagedDevicesResponse")
amit.ghosh188a84f2020-09-27 20:59:25 +02002035 proto.RegisterType((*SetLoggingEndpointRequest)(nil), "dmi.SetLoggingEndpointRequest")
2036 proto.RegisterType((*SetRemoteEndpointResponse)(nil), "dmi.SetRemoteEndpointResponse")
2037 proto.RegisterType((*GetLoggingEndpointResponse)(nil), "dmi.GetLoggingEndpointResponse")
2038 proto.RegisterType((*SetMsgBusEndpointRequest)(nil), "dmi.SetMsgBusEndpointRequest")
2039 proto.RegisterType((*GetMsgBusEndpointResponse)(nil), "dmi.GetMsgBusEndpointResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002040 proto.RegisterType((*EntitiesLogLevel)(nil), "dmi.EntitiesLogLevel")
2041 proto.RegisterType((*SetLogLevelRequest)(nil), "dmi.SetLogLevelRequest")
2042 proto.RegisterType((*SetLogLevelResponse)(nil), "dmi.SetLogLevelResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002043 proto.RegisterType((*GetLogLevelRequest)(nil), "dmi.GetLogLevelRequest")
2044 proto.RegisterType((*GetLogLevelResponse)(nil), "dmi.GetLogLevelResponse")
2045 proto.RegisterType((*GetLoggableEntitiesRequest)(nil), "dmi.GetLoggableEntitiesRequest")
amit.ghosh93183512024-05-28 22:37:27 +02002046 proto.RegisterType((*SetDmLogLevelRequest)(nil), "dmi.SetDmLogLevelRequest")
2047 proto.RegisterType((*SetDmLogLevelResponse)(nil), "dmi.SetDmLogLevelResponse")
2048 proto.RegisterType((*GetDmLogLevelRequest)(nil), "dmi.GetDmLogLevelRequest")
2049 proto.RegisterType((*GetDmLogLevelResponse)(nil), "dmi.GetDmLogLevelResponse")
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302050 proto.RegisterType((*Heartbeat)(nil), "dmi.Heartbeat")
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302051 proto.RegisterType((*RebootDeviceRequest)(nil), "dmi.RebootDeviceRequest")
2052 proto.RegisterType((*RebootDeviceResponse)(nil), "dmi.RebootDeviceResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01002053}
2054
2055func init() { proto.RegisterFile("dmi/hw_management_service.proto", fileDescriptor_eae902e73066286d) }
2056
2057var fileDescriptor_eae902e73066286d = []byte{
amit.ghosh93183512024-05-28 22:37:27 +02002058 // 1726 bytes of a gzipped FileDescriptorProto
2059 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xcd, 0x6f, 0xe3, 0xc6,
2060 0x15, 0x2f, 0x29, 0xdb, 0x1b, 0x3d, 0xef, 0x7a, 0xe5, 0xf1, 0xda, 0x91, 0xb8, 0x88, 0xed, 0xe5,
2061 0x22, 0xcd, 0xa6, 0x4d, 0x24, 0x43, 0x7b, 0x68, 0xb6, 0xe9, 0x17, 0x2d, 0xd1, 0x14, 0x13, 0x89,
2062 0x14, 0x86, 0xd2, 0x1a, 0x5b, 0x14, 0x25, 0x68, 0x69, 0x2c, 0x13, 0x15, 0x49, 0x55, 0xa4, 0x1c,
2063 0xf8, 0xcf, 0xe8, 0xa1, 0x87, 0x1e, 0x5a, 0xf4, 0x5f, 0xe8, 0x35, 0x28, 0x7a, 0xed, 0xa1, 0xd7,
2064 0x1e, 0x0b, 0x14, 0x3d, 0xf5, 0xdc, 0x02, 0xbd, 0x17, 0xe4, 0x90, 0xfa, 0xa0, 0x48, 0x7d, 0x79,
2065 0x83, 0xec, 0x4d, 0x9c, 0x79, 0xf3, 0xe3, 0xf0, 0xfd, 0xde, 0xfc, 0xe6, 0xbd, 0x27, 0x38, 0xe9,
2066 0x5a, 0x66, 0xe9, 0xe6, 0x2b, 0xdd, 0x32, 0x6c, 0xa3, 0x47, 0x2c, 0x62, 0x7b, 0xba, 0x4b, 0x86,
2067 0xb7, 0x66, 0x87, 0x14, 0x07, 0x43, 0xc7, 0x73, 0x50, 0xa6, 0x6b, 0x99, 0xdc, 0xbe, 0x6f, 0xd5,
2068 0x71, 0x2c, 0xcb, 0xb1, 0x5d, 0x3a, 0xce, 0x3d, 0xa4, 0x0b, 0xc3, 0xa7, 0xa7, 0x3d, 0xc7, 0xe9,
2069 0xf5, 0x49, 0x29, 0x78, 0xba, 0x1a, 0x5d, 0x97, 0x88, 0x35, 0xf0, 0xee, 0xe8, 0x24, 0x7f, 0x01,
2070 0xf9, 0xe6, 0xcd, 0x9d, 0x6b, 0x76, 0x8c, 0xbe, 0x6c, 0xdf, 0x12, 0xdb, 0x73, 0x86, 0x77, 0x98,
2071 0xfc, 0x7a, 0x44, 0x5c, 0x0f, 0x7d, 0x0f, 0x76, 0xbb, 0xc4, 0x7f, 0x9d, 0x3e, 0x1a, 0x99, 0xdd,
2072 0x3c, 0x73, 0xca, 0xbc, 0xd8, 0x2d, 0x67, 0x8b, 0x5d, 0xcb, 0x2c, 0xb6, 0x47, 0x66, 0x17, 0x03,
2073 0x9d, 0xf5, 0x7f, 0xf3, 0x7f, 0x62, 0xa1, 0x90, 0x00, 0xe4, 0x0e, 0x1c, 0xdb, 0x25, 0xe8, 0x39,
2074 0xec, 0xb8, 0x9e, 0xe1, 0x8d, 0xdc, 0x00, 0x64, 0xaf, 0xbc, 0x1b, 0x80, 0x68, 0xc1, 0x10, 0x0e,
2075 0xa7, 0xd0, 0x8f, 0x61, 0x67, 0x48, 0x0c, 0xd7, 0xb1, 0xf3, 0x6c, 0x60, 0xf4, 0x61, 0x60, 0x94,
2076 0x0a, 0x5a, 0xc4, 0x81, 0x31, 0x0e, 0x17, 0xa1, 0xef, 0x43, 0xd6, 0x8c, 0x6c, 0xf2, 0x99, 0x60,
2077 0xaf, 0x8f, 0x02, 0x84, 0x9a, 0x31, 0xec, 0x7e, 0x65, 0x0c, 0x09, 0x9e, 0xcc, 0xa3, 0xe7, 0xf0,
2078 0x88, 0x2e, 0xd3, 0xbb, 0xc4, 0x33, 0xcc, 0x7e, 0x7e, 0xeb, 0x94, 0x79, 0x91, 0xc5, 0x0f, 0xe9,
2079 0x60, 0x35, 0x18, 0xe3, 0x7f, 0x09, 0x3b, 0xf4, 0x1d, 0xe8, 0x09, 0xe4, 0xda, 0x4a, 0x55, 0xbc,
2080 0x90, 0x15, 0xb1, 0xaa, 0x63, 0x51, 0xd0, 0x54, 0x25, 0xf7, 0x1d, 0x84, 0x60, 0xaf, 0xad, 0x7c,
2081 0xa9, 0xa8, 0x97, 0x8a, 0x5e, 0x15, 0x5f, 0xcb, 0x15, 0x31, 0xc7, 0xf8, 0x63, 0xb2, 0xd2, 0x12,
2082 0xb1, 0x22, 0xd4, 0x75, 0x11, 0x63, 0x15, 0xe7, 0x58, 0x74, 0x04, 0x88, 0xce, 0xeb, 0x6d, 0x05,
2083 0x8b, 0x42, 0xa5, 0x26, 0x9c, 0xd7, 0xc5, 0x5c, 0x86, 0xff, 0x23, 0x03, 0x85, 0xda, 0x65, 0xc5,
2084 0xb1, 0x06, 0x8e, 0x4d, 0x6c, 0x4f, 0xb6, 0xaf, 0x1d, 0x89, 0x78, 0x1b, 0x78, 0x1f, 0x9d, 0xc1,
2085 0x5e, 0x27, 0x82, 0xa1, 0xe6, 0x6c, 0xdc, 0xfc, 0xd1, 0xd8, 0x20, 0x58, 0xf1, 0xe1, 0xf4, 0x0a,
2086 0xdb, 0xb0, 0x48, 0xe0, 0xb2, 0xec, 0x94, 0x99, 0x62, 0x58, 0x84, 0xff, 0x1b, 0x0b, 0x5c, 0xd2,
2087 0x16, 0xd7, 0xe1, 0xf5, 0x27, 0x31, 0x5e, 0xbf, 0x4b, 0x59, 0x49, 0x45, 0x8d, 0x13, 0xfb, 0x09,
2088 0x64, 0xc7, 0x9b, 0x0a, 0x89, 0xdd, 0x0b, 0x20, 0xc6, 0x00, 0x78, 0x62, 0xb0, 0x1a, 0xb3, 0xa3,
2089 0x0d, 0x98, 0x3d, 0x84, 0xfd, 0x68, 0xac, 0xa2, 0x36, 0x9a, 0xaa, 0x22, 0x2a, 0xad, 0x1c, 0x9b,
2090 0x40, 0x78, 0x26, 0x85, 0xf0, 0x2d, 0xfe, 0xef, 0xf3, 0x84, 0x6b, 0xef, 0x16, 0xe1, 0xa8, 0x0c,
2091 0x0f, 0x3a, 0x37, 0x86, 0xdd, 0x23, 0x6e, 0xe0, 0xb8, 0xdd, 0x72, 0x3e, 0x40, 0x6c, 0x38, 0x5d,
2092 0xf3, 0xda, 0x34, 0xae, 0xfa, 0x64, 0xe2, 0xf4, 0xc8, 0x90, 0xff, 0xeb, 0x7c, 0x90, 0x68, 0xdf,
2093 0x48, 0x90, 0x68, 0xe9, 0x41, 0x32, 0x47, 0x7b, 0x26, 0x81, 0xf6, 0x3f, 0x30, 0x6f, 0x99, 0xf7,
2094 0xd7, 0x42, 0x5d, 0xae, 0xea, 0x4d, 0x01, 0x0b, 0x0d, 0x2d, 0x97, 0x49, 0x88, 0x85, 0xad, 0x94,
2095 0x58, 0xd8, 0x46, 0x07, 0xf0, 0x58, 0x13, 0x5b, 0x7a, 0x5b, 0xd1, 0xda, 0xcd, 0xa6, 0x8a, 0x5b,
2096 0x62, 0x35, 0xb7, 0xc3, 0xff, 0x26, 0x03, 0x4f, 0x35, 0xcf, 0x18, 0x7a, 0x0d, 0x5f, 0xf2, 0x4d,
2097 0xbb, 0x57, 0x0d, 0x28, 0x5f, 0xcf, 0x95, 0x3f, 0x8d, 0xb9, 0xf2, 0xa3, 0xc8, 0x28, 0x0d, 0x36,
2098 0xee, 0xcb, 0x58, 0x20, 0x66, 0x16, 0x05, 0xe2, 0x4a, 0xc7, 0xed, 0xeb, 0x65, 0x7e, 0xe7, 0xe0,
2099 0x28, 0x74, 0x92, 0x50, 0xc7, 0xa2, 0x50, 0x7d, 0xa3, 0x37, 0x04, 0x45, 0x90, 0xc4, 0x6a, 0x8e,
2100 0x41, 0xcf, 0xe0, 0x03, 0xb5, 0x29, 0x62, 0xa1, 0x25, 0xab, 0xca, 0x78, 0x5a, 0x56, 0xf4, 0x26,
2101 0x56, 0x25, 0x2c, 0x6a, 0xda, 0x1a, 0x5c, 0x70, 0x70, 0x24, 0xb4, 0x5b, 0x35, 0x51, 0x69, 0xc9,
2102 0x15, 0x8a, 0x77, 0x21, 0xc8, 0xf5, 0x36, 0xf6, 0xf9, 0x78, 0x1f, 0x0e, 0x64, 0xc5, 0x27, 0x58,
2103 0x68, 0xc9, 0xe7, 0x75, 0x31, 0xe2, 0x7f, 0x87, 0x2f, 0x41, 0x41, 0xf3, 0x9c, 0x41, 0xdc, 0x75,
2104 0xf4, 0xcc, 0x22, 0xd8, 0x0a, 0xce, 0x12, 0x13, 0x7c, 0x75, 0xf0, 0x9b, 0xff, 0x2f, 0x03, 0x5c,
2105 0xd2, 0x8a, 0xfb, 0x1f, 0x87, 0x74, 0xd4, 0x8d, 0x8e, 0xc3, 0x17, 0x1b, 0x9c, 0x86, 0xe4, 0x70,
2106 0x66, 0x79, 0x0b, 0xf6, 0x83, 0x9d, 0x91, 0x2e, 0xdd, 0x98, 0x7f, 0x5c, 0xd1, 0x27, 0xb0, 0x65,
2107 0xda, 0xd7, 0x4e, 0x28, 0x65, 0xe9, 0x4a, 0x12, 0x58, 0xc5, 0xc3, 0x8e, 0x5d, 0x94, 0x6e, 0xfc,
2108 0x93, 0x81, 0xa3, 0x99, 0xf7, 0xb9, 0xeb, 0xf9, 0xf7, 0x87, 0x31, 0xff, 0xf2, 0x74, 0x6f, 0x89,
2109 0x88, 0x71, 0xdf, 0x9e, 0xc1, 0x03, 0xba, 0x13, 0x37, 0x9f, 0x39, 0xcd, 0xbc, 0xd8, 0x2d, 0x1f,
2110 0xcd, 0x2f, 0xf6, 0x3f, 0x1f, 0x47, 0x66, 0x7c, 0x79, 0xb9, 0xa3, 0x63, 0xb1, 0xca, 0xf0, 0xbf,
2111 0x67, 0xa0, 0xa0, 0x11, 0xaf, 0xee, 0xf4, 0x7c, 0xb6, 0x45, 0xbb, 0x3b, 0x70, 0x4c, 0x7b, 0xa3,
2112 0xbb, 0xe2, 0x63, 0xc8, 0xf5, 0x29, 0x8a, 0x4e, 0x42, 0x98, 0xe0, 0xab, 0xb3, 0xf8, 0x71, 0x7f,
2113 0x16, 0x7d, 0xda, 0x34, 0x48, 0x0f, 0x3b, 0x4e, 0x14, 0x39, 0x91, 0x69, 0x33, 0x1c, 0xe6, 0xff,
2114 0xc5, 0x06, 0xfb, 0xc3, 0xc4, 0x72, 0x3c, 0x32, 0xd9, 0xde, 0xfd, 0x13, 0xbe, 0x54, 0xd0, 0x8d,
2115 0x62, 0xfc, 0x6b, 0xe6, 0x2d, 0x25, 0x71, 0x1c, 0x1c, 0xd5, 0x55, 0x49, 0x92, 0x15, 0x49, 0x17,
2116 0x95, 0x6a, 0x53, 0x95, 0x95, 0xd6, 0xf8, 0xbe, 0x7f, 0x0e, 0x27, 0x73, 0x73, 0x4d, 0xac, 0xb6,
2117 0xd4, 0x8a, 0x3a, 0x11, 0x9f, 0x02, 0x1c, 0x36, 0x34, 0xe9, 0xbc, 0xad, 0xc5, 0xd7, 0x6f, 0xa7,
2118 0x1c, 0xaa, 0x1d, 0xfe, 0x1f, 0x2c, 0x70, 0x52, 0x42, 0x0c, 0xdc, 0x5f, 0x49, 0xd2, 0x51, 0xe3,
2119 0x5e, 0x4e, 0x8a, 0x9e, 0xcc, 0xea, 0xd1, 0xb3, 0x95, 0x18, 0x3d, 0xf3, 0xdc, 0x6d, 0x7f, 0x0b,
2120 0xf9, 0x77, 0x05, 0xf2, 0x1a, 0xf1, 0x1a, 0x6e, 0xef, 0x7c, 0xe4, 0xc6, 0x0f, 0xd8, 0x47, 0xf0,
2121 0xd8, 0x72, 0x7b, 0x57, 0x23, 0x77, 0xf2, 0xd5, 0x54, 0xe3, 0xf7, 0xe8, 0x70, 0x64, 0xcf, 0xff,
2122 0x8e, 0x85, 0x82, 0x34, 0x8f, 0x72, 0xff, 0x73, 0x90, 0x0a, 0x1a, 0x67, 0x28, 0x61, 0xab, 0x99,
2123 0xa4, 0xad, 0xae, 0x76, 0x57, 0x7f, 0xb1, 0xbe, 0x56, 0xa5, 0x5e, 0x0a, 0x6f, 0x20, 0x27, 0xda,
2124 0x9e, 0xe9, 0x99, 0xc4, 0xad, 0x3b, 0xbd, 0x3a, 0xb9, 0x25, 0x7d, 0xf4, 0x31, 0xbc, 0xd7, 0x0f,
2125 0x7f, 0x87, 0x3e, 0xa1, 0x55, 0x5a, 0x64, 0x80, 0xc7, 0xd3, 0x88, 0x83, 0xf7, 0x48, 0xb8, 0x3c,
2126 0xcf, 0x9e, 0x66, 0x5e, 0x64, 0xf1, 0xf8, 0x99, 0x1f, 0x01, 0xa2, 0xea, 0x48, 0x17, 0x6d, 0x20,
2127 0x8b, 0x2f, 0x21, 0xdb, 0xf7, 0xeb, 0xe2, 0x5b, 0xd2, 0xa7, 0xf0, 0xbb, 0xe5, 0xc3, 0xc0, 0x32,
2128 0xbe, 0x65, 0x3c, 0xb1, 0xe3, 0xff, 0xcc, 0xc2, 0xc1, 0xcc, 0x7b, 0x43, 0x9e, 0xd7, 0x79, 0xf1,
2129 0x24, 0x26, 0xd8, 0xf4, 0x98, 0xf8, 0xc1, 0x38, 0x26, 0x32, 0x81, 0xd1, 0x49, 0xa4, 0x8d, 0xf1,
2130 0x57, 0x2f, 0x55, 0xc5, 0x24, 0x92, 0x6f, 0xdf, 0xde, 0xc9, 0x8a, 0xec, 0xea, 0xaa, 0x2f, 0x7e,
2131 0x2d, 0xb9, 0xf5, 0x66, 0x41, 0x01, 0xf4, 0x0b, 0x40, 0xd2, 0xfd, 0x58, 0x5b, 0x14, 0x13, 0xff,
2132 0x61, 0xe1, 0x40, 0xba, 0x27, 0x39, 0x34, 0x2a, 0xea, 0x2b, 0x46, 0x05, 0xb5, 0x9b, 0x62, 0x34,
2133 0xb3, 0x0a, 0xa3, 0x5b, 0x53, 0x8c, 0x4a, 0x1b, 0x30, 0xba, 0xfd, 0x0e, 0x31, 0x5a, 0x1b, 0xdf,
2134 0x50, 0x7e, 0x4a, 0x17, 0x39, 0x69, 0x93, 0x0e, 0xd2, 0xe7, 0xf0, 0x44, 0x23, 0x5e, 0xd5, 0x8a,
2135 0x47, 0xc7, 0x73, 0xd8, 0xee, 0xa7, 0xab, 0x05, 0x9d, 0xe3, 0xff, 0xcd, 0xc0, 0x61, 0x6c, 0xf5,
2136 0x3a, 0x0a, 0xfc, 0x2a, 0xa6, 0xc0, 0xcf, 0xa2, 0xd3, 0x36, 0x0f, 0xb8, 0x51, 0x16, 0x22, 0x6f,
2137 0x20, 0xaa, 0x53, 0x75, 0xa7, 0xcf, 0x44, 0x5d, 0x7c, 0x2d, 0xd6, 0x73, 0x2c, 0x7f, 0x04, 0x4f,
2138 0xa4, 0x04, 0x37, 0xf1, 0xff, 0x63, 0xe0, 0x50, 0x4a, 0xf1, 0xc0, 0x72, 0x07, 0xae, 0x26, 0x4a,
2139 0xaf, 0x62, 0xa2, 0xf4, 0x2c, 0x0a, 0xe1, 0x0d, 0xdc, 0x94, 0x24, 0x4b, 0x9b, 0xe4, 0xc9, 0x3f,
2140 0x82, 0x6c, 0x8d, 0x18, 0x43, 0xef, 0x8a, 0x18, 0x1e, 0x2a, 0xc1, 0xc1, 0x4d, 0xf4, 0xa0, 0xbb,
2141 0x66, 0xcf, 0x36, 0xbc, 0xd1, 0x90, 0x56, 0x67, 0x0f, 0x30, 0x1a, 0x4f, 0x69, 0xd1, 0x0c, 0x2f,
2142 0xc0, 0x01, 0x26, 0x57, 0x8e, 0xe3, 0xcd, 0x96, 0x75, 0xeb, 0xc4, 0xed, 0x6f, 0x59, 0x78, 0x32,
2143 0x8b, 0x31, 0x17, 0x79, 0x0b, 0x54, 0xe1, 0xb3, 0x98, 0x2a, 0x9c, 0x06, 0x46, 0x49, 0x78, 0x1b,
2144 0xc9, 0xc2, 0xdd, 0x37, 0x9b, 0x42, 0xf9, 0x49, 0x6d, 0x38, 0x2e, 0x2b, 0xfa, 0x25, 0x56, 0x15,
2145 0x49, 0xd7, 0x5a, 0x42, 0x4b, 0xcc, 0x6d, 0x95, 0xff, 0x02, 0x50, 0x50, 0x0c, 0xcf, 0xbc, 0x25,
2146 0xb5, 0xcb, 0xc6, 0xb8, 0x83, 0xad, 0xd1, 0x06, 0x36, 0xd2, 0xe0, 0x20, 0xa1, 0x23, 0x81, 0x52,
2147 0x6b, 0x44, 0xee, 0x74, 0x59, 0x17, 0xe3, 0x8c, 0x41, 0x6d, 0x40, 0xf3, 0x25, 0x32, 0x3a, 0x4e,
2148 0xad, 0x9d, 0x03, 0xb2, 0xb9, 0x93, 0x25, 0xb5, 0x35, 0xaa, 0xc1, 0xbe, 0x9f, 0x8c, 0xcd, 0x14,
2149 0x87, 0xe8, 0xa8, 0x48, 0xdb, 0xea, 0xc5, 0xa8, 0xad, 0x5e, 0x14, 0xad, 0x81, 0x77, 0xc7, 0x3d,
2150 0x5d, 0x50, 0x49, 0xa2, 0xcb, 0xe0, 0xf0, 0xce, 0xb5, 0xb4, 0xd1, 0x07, 0x69, 0xad, 0x6e, 0xba,
2151 0xc3, 0xe3, 0xc5, 0x9d, 0xf0, 0x33, 0x06, 0x5d, 0x06, 0x17, 0x6b, 0xac, 0x5d, 0x16, 0x7e, 0x79,
2152 0x6a, 0x8b, 0x39, 0xfc, 0xf2, 0xf4, 0x4e, 0x6c, 0xe8, 0xd2, 0x15, 0x81, 0xb5, 0x25, 0xc0, 0xd3,
2153 0x3d, 0xc1, 0x56, 0x94, 0xbe, 0xcd, 0x14, 0x10, 0xc7, 0x53, 0x49, 0x4e, 0x42, 0xd5, 0xcb, 0x1d,
2154 0x2f, 0x2e, 0x10, 0xd1, 0x45, 0x94, 0x5e, 0xcc, 0xa0, 0x3e, 0x9e, 0xf9, 0x17, 0x40, 0xae, 0x72,
2155 0x27, 0x4b, 0x4a, 0x20, 0x84, 0x61, 0x7f, 0xae, 0x30, 0x08, 0x39, 0x4a, 0x2b, 0x18, 0x96, 0xee,
2156 0xed, 0x4b, 0x1a, 0x44, 0xb3, 0x98, 0x69, 0x41, 0x74, 0xbc, 0xb8, 0x02, 0x40, 0xcd, 0x28, 0xd1,
2157 0x99, 0xb9, 0x75, 0xd1, 0xcc, 0x87, 0x25, 0xdc, 0xc7, 0x5c, 0x3e, 0x2d, 0xe7, 0x40, 0x3f, 0x83,
2158 0xdd, 0xa9, 0xe4, 0x12, 0xbd, 0x3f, 0x9f, 0x6e, 0x4e, 0x23, 0x68, 0xc9, 0x08, 0xd2, 0x1c, 0x82,
2159 0x94, 0x86, 0x90, 0xb4, 0x87, 0xcf, 0x60, 0x6f, 0x2c, 0xe5, 0x95, 0x1b, 0xd2, 0xf9, 0x55, 0xaa,
2160 0x7f, 0x68, 0xff, 0x7f, 0xa2, 0xfb, 0x15, 0x78, 0x38, 0x2d, 0x99, 0xa1, 0x8c, 0x24, 0x28, 0x3b,
2161 0x57, 0x48, 0xd5, 0x57, 0x74, 0x01, 0x8f, 0x66, 0x6e, 0x7c, 0x54, 0x48, 0xca, 0x02, 0x28, 0x0c,
2162 0x97, 0x9e, 0x20, 0xf8, 0x38, 0x52, 0x02, 0x8e, 0x94, 0x8e, 0x93, 0x78, 0x83, 0x9e, 0x7f, 0xfe,
2163 0xf3, 0x57, 0x3d, 0xd3, 0xbb, 0x19, 0x5d, 0x15, 0x3b, 0x8e, 0x55, 0x72, 0x06, 0xc4, 0xee, 0x38,
2164 0xc3, 0x6e, 0x89, 0x5e, 0x3d, 0x9f, 0x4e, 0xfe, 0x14, 0xfc, 0xd4, 0xb4, 0x3d, 0x32, 0xbc, 0x36,
2165 0x3a, 0xa4, 0x74, 0xfb, 0xb2, 0xd4, 0x73, 0x4a, 0x5d, 0xcb, 0xbc, 0xda, 0x09, 0x3c, 0xf6, 0xf2,
2166 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe8, 0x0a, 0x35, 0x98, 0x44, 0x1c, 0x00, 0x00,
Amit Ghosh09f28362020-06-12 21:52:19 +01002167}
2168
2169// Reference imports to suppress errors if they are not otherwise used.
2170var _ context.Context
2171var _ grpc.ClientConn
2172
2173// This is a compile-time assertion to ensure that this generated file
2174// is compatible with the grpc package it is being compiled against.
2175const _ = grpc.SupportPackageIsVersion4
2176
2177// NativeHWManagementServiceClient is the client API for NativeHWManagementService service.
2178//
2179// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2180type NativeHWManagementServiceClient interface {
2181 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01002182 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
2183 // and their meanings in this context is mentioned below:
2184 // name = The unique name that needs to be assigned to this hardware;
2185 // class = COMPONENT_TYPE_UNDEFINED;
2186 // parent = nil;
2187 // alias = Optional;
2188 // asset_id = Optional;
2189 // uri = IP Address of the Hardware;
2190 StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error)
Amit Ghosh366228e2020-07-06 13:46:42 +01002191 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01002192 // This rpc can be called at any time, even before the StartManagingDevice operation
2193 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01002194 StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002195 // Returns an object containing a list of devices managed by this entity
2196 GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002197 // Get the HW inventory details of the Device
2198 GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error)
2199 // Get the details of a particular HW component
2200 GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error)
2201 // Sets the permissible attributes of a HW component
2202 SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002203 // Sets the location to which logs need to be shipped
2204 SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
2205 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01002206 GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002207 // Sets the location of the Message Bus to which events and metrics are shipped
2208 SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
2209 // Gets the configured location to which the events and metrics are being shipped
2210 GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002211 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
2212 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
2213 // interface, package etc.
2214 GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01002215 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002216 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
2217 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
2218 SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
2219 // Gets the configured log level for a certain entity on a certain device.
2220 // If no entity is specified in the request all the entities with their log level should be returned.
2221 GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302222 // Performs the heartbeat check
2223 HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302224 // Performs the reboot of the device
2225 RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error)
amit.ghosh93183512024-05-28 22:37:27 +02002226 // Sets the log level of the Device Manager itself
2227 SetDmLogLevel(ctx context.Context, in *SetDmLogLevelRequest, opts ...grpc.CallOption) (*SetDmLogLevelResponse, error)
2228 // Gets the log level at which the Device Manager is running
2229 GetDmLogLevel(ctx context.Context, in *GetDmLogLevelRequest, opts ...grpc.CallOption) (*GetDmLogLevelResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002230}
2231
2232type nativeHWManagementServiceClient struct {
2233 cc *grpc.ClientConn
2234}
2235
2236func NewNativeHWManagementServiceClient(cc *grpc.ClientConn) NativeHWManagementServiceClient {
2237 return &nativeHWManagementServiceClient{cc}
2238}
2239
Amit Ghosh704462f2020-06-24 16:44:56 +01002240func (c *nativeHWManagementServiceClient) StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error) {
Amit Ghosh09f28362020-06-12 21:52:19 +01002241 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[0], "/dmi.NativeHWManagementService/StartManagingDevice", opts...)
2242 if err != nil {
2243 return nil, err
2244 }
2245 x := &nativeHWManagementServiceStartManagingDeviceClient{stream}
2246 if err := x.ClientStream.SendMsg(in); err != nil {
2247 return nil, err
2248 }
2249 if err := x.ClientStream.CloseSend(); err != nil {
2250 return nil, err
2251 }
2252 return x, nil
2253}
2254
2255type NativeHWManagementService_StartManagingDeviceClient interface {
2256 Recv() (*StartManagingDeviceResponse, error)
2257 grpc.ClientStream
2258}
2259
2260type nativeHWManagementServiceStartManagingDeviceClient struct {
2261 grpc.ClientStream
2262}
2263
2264func (x *nativeHWManagementServiceStartManagingDeviceClient) Recv() (*StartManagingDeviceResponse, error) {
2265 m := new(StartManagingDeviceResponse)
2266 if err := x.ClientStream.RecvMsg(m); err != nil {
2267 return nil, err
2268 }
2269 return m, nil
2270}
2271
Amit Ghosh366228e2020-07-06 13:46:42 +01002272func (c *nativeHWManagementServiceClient) StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) {
2273 out := new(StopManagingDeviceResponse)
2274 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/StopManagingDevice", in, out, opts...)
2275 if err != nil {
2276 return nil, err
2277 }
2278 return out, nil
2279}
2280
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002281func (c *nativeHWManagementServiceClient) GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) {
2282 out := new(ManagedDevicesResponse)
2283 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetManagedDevices", in, out, opts...)
2284 if err != nil {
2285 return nil, err
2286 }
2287 return out, nil
2288}
2289
Amit Ghosh09f28362020-06-12 21:52:19 +01002290func (c *nativeHWManagementServiceClient) GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) {
2291 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[1], "/dmi.NativeHWManagementService/GetPhysicalInventory", opts...)
2292 if err != nil {
2293 return nil, err
2294 }
2295 x := &nativeHWManagementServiceGetPhysicalInventoryClient{stream}
2296 if err := x.ClientStream.SendMsg(in); err != nil {
2297 return nil, err
2298 }
2299 if err := x.ClientStream.CloseSend(); err != nil {
2300 return nil, err
2301 }
2302 return x, nil
2303}
2304
2305type NativeHWManagementService_GetPhysicalInventoryClient interface {
2306 Recv() (*PhysicalInventoryResponse, error)
2307 grpc.ClientStream
2308}
2309
2310type nativeHWManagementServiceGetPhysicalInventoryClient struct {
2311 grpc.ClientStream
2312}
2313
2314func (x *nativeHWManagementServiceGetPhysicalInventoryClient) Recv() (*PhysicalInventoryResponse, error) {
2315 m := new(PhysicalInventoryResponse)
2316 if err := x.ClientStream.RecvMsg(m); err != nil {
2317 return nil, err
2318 }
2319 return m, nil
2320}
2321
2322func (c *nativeHWManagementServiceClient) GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) {
2323 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[2], "/dmi.NativeHWManagementService/GetHWComponentInfo", opts...)
2324 if err != nil {
2325 return nil, err
2326 }
2327 x := &nativeHWManagementServiceGetHWComponentInfoClient{stream}
2328 if err := x.ClientStream.SendMsg(in); err != nil {
2329 return nil, err
2330 }
2331 if err := x.ClientStream.CloseSend(); err != nil {
2332 return nil, err
2333 }
2334 return x, nil
2335}
2336
2337type NativeHWManagementService_GetHWComponentInfoClient interface {
aghoshc301dcd2020-09-03 16:55:34 +01002338 Recv() (*HWComponentInfoGetResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002339 grpc.ClientStream
2340}
2341
2342type nativeHWManagementServiceGetHWComponentInfoClient struct {
2343 grpc.ClientStream
2344}
2345
aghoshc301dcd2020-09-03 16:55:34 +01002346func (x *nativeHWManagementServiceGetHWComponentInfoClient) Recv() (*HWComponentInfoGetResponse, error) {
2347 m := new(HWComponentInfoGetResponse)
Amit Ghosh09f28362020-06-12 21:52:19 +01002348 if err := x.ClientStream.RecvMsg(m); err != nil {
2349 return nil, err
2350 }
2351 return m, nil
2352}
2353
2354func (c *nativeHWManagementServiceClient) SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) {
2355 out := new(HWComponentInfoSetResponse)
2356 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetHWComponentInfo", in, out, opts...)
2357 if err != nil {
2358 return nil, err
2359 }
2360 return out, nil
2361}
2362
amit.ghosh188a84f2020-09-27 20:59:25 +02002363func (c *nativeHWManagementServiceClient) SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
2364 out := new(SetRemoteEndpointResponse)
2365 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLoggingEndpoint", in, out, opts...)
2366 if err != nil {
2367 return nil, err
2368 }
2369 return out, nil
2370}
2371
amit.ghosh5d97dba2020-11-12 16:45:27 +01002372func (c *nativeHWManagementServiceClient) GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error) {
amit.ghosh188a84f2020-09-27 20:59:25 +02002373 out := new(GetLoggingEndpointResponse)
2374 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggingEndpoint", in, out, opts...)
2375 if err != nil {
2376 return nil, err
2377 }
2378 return out, nil
2379}
2380
2381func (c *nativeHWManagementServiceClient) SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
2382 out := new(SetRemoteEndpointResponse)
2383 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetMsgBusEndpoint", in, out, opts...)
2384 if err != nil {
2385 return nil, err
2386 }
2387 return out, nil
2388}
2389
2390func (c *nativeHWManagementServiceClient) GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) {
2391 out := new(GetMsgBusEndpointResponse)
2392 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetMsgBusEndpoint", in, out, opts...)
2393 if err != nil {
2394 return nil, err
2395 }
2396 return out, nil
2397}
2398
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002399func (c *nativeHWManagementServiceClient) GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2400 out := new(GetLogLevelResponse)
2401 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggableEntities", in, out, opts...)
2402 if err != nil {
2403 return nil, err
2404 }
2405 return out, nil
2406}
2407
2408func (c *nativeHWManagementServiceClient) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) {
2409 out := new(SetLogLevelResponse)
2410 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLogLevel", in, out, opts...)
2411 if err != nil {
2412 return nil, err
2413 }
2414 return out, nil
2415}
2416
2417func (c *nativeHWManagementServiceClient) GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2418 out := new(GetLogLevelResponse)
2419 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLogLevel", in, out, opts...)
2420 if err != nil {
2421 return nil, err
2422 }
2423 return out, nil
2424}
2425
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302426func (c *nativeHWManagementServiceClient) HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error) {
2427 out := new(Heartbeat)
2428 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/HeartbeatCheck", in, out, opts...)
2429 if err != nil {
2430 return nil, err
2431 }
2432 return out, nil
2433}
2434
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302435func (c *nativeHWManagementServiceClient) RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error) {
2436 out := new(RebootDeviceResponse)
2437 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/RebootDevice", in, out, opts...)
2438 if err != nil {
2439 return nil, err
2440 }
2441 return out, nil
2442}
2443
amit.ghosh93183512024-05-28 22:37:27 +02002444func (c *nativeHWManagementServiceClient) SetDmLogLevel(ctx context.Context, in *SetDmLogLevelRequest, opts ...grpc.CallOption) (*SetDmLogLevelResponse, error) {
2445 out := new(SetDmLogLevelResponse)
2446 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetDmLogLevel", in, out, opts...)
2447 if err != nil {
2448 return nil, err
2449 }
2450 return out, nil
2451}
2452
2453func (c *nativeHWManagementServiceClient) GetDmLogLevel(ctx context.Context, in *GetDmLogLevelRequest, opts ...grpc.CallOption) (*GetDmLogLevelResponse, error) {
2454 out := new(GetDmLogLevelResponse)
2455 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetDmLogLevel", in, out, opts...)
2456 if err != nil {
2457 return nil, err
2458 }
2459 return out, nil
2460}
2461
Amit Ghosh09f28362020-06-12 21:52:19 +01002462// NativeHWManagementServiceServer is the server API for NativeHWManagementService service.
2463type NativeHWManagementServiceServer interface {
2464 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01002465 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
2466 // and their meanings in this context is mentioned below:
2467 // name = The unique name that needs to be assigned to this hardware;
2468 // class = COMPONENT_TYPE_UNDEFINED;
2469 // parent = nil;
2470 // alias = Optional;
2471 // asset_id = Optional;
2472 // uri = IP Address of the Hardware;
2473 StartManagingDevice(*ModifiableComponent, NativeHWManagementService_StartManagingDeviceServer) error
Amit Ghosh366228e2020-07-06 13:46:42 +01002474 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01002475 // This rpc can be called at any time, even before the StartManagingDevice operation
2476 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01002477 StopManagingDevice(context.Context, *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002478 // Returns an object containing a list of devices managed by this entity
2479 GetManagedDevices(context.Context, *empty.Empty) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002480 // Get the HW inventory details of the Device
2481 GetPhysicalInventory(*PhysicalInventoryRequest, NativeHWManagementService_GetPhysicalInventoryServer) error
2482 // Get the details of a particular HW component
2483 GetHWComponentInfo(*HWComponentInfoGetRequest, NativeHWManagementService_GetHWComponentInfoServer) error
2484 // Sets the permissible attributes of a HW component
2485 SetHWComponentInfo(context.Context, *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002486 // Sets the location to which logs need to be shipped
2487 SetLoggingEndpoint(context.Context, *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error)
2488 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01002489 GetLoggingEndpoint(context.Context, *HardwareID) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002490 // Sets the location of the Message Bus to which events and metrics are shipped
2491 SetMsgBusEndpoint(context.Context, *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error)
2492 // Gets the configured location to which the events and metrics are being shipped
2493 GetMsgBusEndpoint(context.Context, *empty.Empty) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002494 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
2495 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
2496 // interface, package etc.
2497 GetLoggableEntities(context.Context, *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01002498 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002499 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
2500 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
2501 SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
2502 // Gets the configured log level for a certain entity on a certain device.
2503 // If no entity is specified in the request all the entities with their log level should be returned.
2504 GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302505 // Performs the heartbeat check
2506 HeartbeatCheck(context.Context, *empty.Empty) (*Heartbeat, error)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302507 // Performs the reboot of the device
2508 RebootDevice(context.Context, *RebootDeviceRequest) (*RebootDeviceResponse, error)
amit.ghosh93183512024-05-28 22:37:27 +02002509 // Sets the log level of the Device Manager itself
2510 SetDmLogLevel(context.Context, *SetDmLogLevelRequest) (*SetDmLogLevelResponse, error)
2511 // Gets the log level at which the Device Manager is running
2512 GetDmLogLevel(context.Context, *GetDmLogLevelRequest) (*GetDmLogLevelResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002513}
2514
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002515// UnimplementedNativeHWManagementServiceServer can be embedded to have forward compatible implementations.
2516type UnimplementedNativeHWManagementServiceServer struct {
2517}
2518
2519func (*UnimplementedNativeHWManagementServiceServer) StartManagingDevice(req *ModifiableComponent, srv NativeHWManagementService_StartManagingDeviceServer) error {
2520 return status.Errorf(codes.Unimplemented, "method StartManagingDevice not implemented")
2521}
2522func (*UnimplementedNativeHWManagementServiceServer) StopManagingDevice(ctx context.Context, req *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error) {
2523 return nil, status.Errorf(codes.Unimplemented, "method StopManagingDevice not implemented")
2524}
2525func (*UnimplementedNativeHWManagementServiceServer) GetManagedDevices(ctx context.Context, req *empty.Empty) (*ManagedDevicesResponse, error) {
2526 return nil, status.Errorf(codes.Unimplemented, "method GetManagedDevices not implemented")
2527}
2528func (*UnimplementedNativeHWManagementServiceServer) GetPhysicalInventory(req *PhysicalInventoryRequest, srv NativeHWManagementService_GetPhysicalInventoryServer) error {
2529 return status.Errorf(codes.Unimplemented, "method GetPhysicalInventory not implemented")
2530}
2531func (*UnimplementedNativeHWManagementServiceServer) GetHWComponentInfo(req *HWComponentInfoGetRequest, srv NativeHWManagementService_GetHWComponentInfoServer) error {
2532 return status.Errorf(codes.Unimplemented, "method GetHWComponentInfo not implemented")
2533}
2534func (*UnimplementedNativeHWManagementServiceServer) SetHWComponentInfo(ctx context.Context, req *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error) {
2535 return nil, status.Errorf(codes.Unimplemented, "method SetHWComponentInfo not implemented")
2536}
2537func (*UnimplementedNativeHWManagementServiceServer) SetLoggingEndpoint(ctx context.Context, req *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error) {
2538 return nil, status.Errorf(codes.Unimplemented, "method SetLoggingEndpoint not implemented")
2539}
2540func (*UnimplementedNativeHWManagementServiceServer) GetLoggingEndpoint(ctx context.Context, req *HardwareID) (*GetLoggingEndpointResponse, error) {
2541 return nil, status.Errorf(codes.Unimplemented, "method GetLoggingEndpoint not implemented")
2542}
2543func (*UnimplementedNativeHWManagementServiceServer) SetMsgBusEndpoint(ctx context.Context, req *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error) {
2544 return nil, status.Errorf(codes.Unimplemented, "method SetMsgBusEndpoint not implemented")
2545}
2546func (*UnimplementedNativeHWManagementServiceServer) GetMsgBusEndpoint(ctx context.Context, req *empty.Empty) (*GetMsgBusEndpointResponse, error) {
2547 return nil, status.Errorf(codes.Unimplemented, "method GetMsgBusEndpoint not implemented")
2548}
2549func (*UnimplementedNativeHWManagementServiceServer) GetLoggableEntities(ctx context.Context, req *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error) {
2550 return nil, status.Errorf(codes.Unimplemented, "method GetLoggableEntities not implemented")
2551}
2552func (*UnimplementedNativeHWManagementServiceServer) SetLogLevel(ctx context.Context, req *SetLogLevelRequest) (*SetLogLevelResponse, error) {
2553 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2554}
2555func (*UnimplementedNativeHWManagementServiceServer) GetLogLevel(ctx context.Context, req *GetLogLevelRequest) (*GetLogLevelResponse, error) {
2556 return nil, status.Errorf(codes.Unimplemented, "method GetLogLevel not implemented")
2557}
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302558func (*UnimplementedNativeHWManagementServiceServer) HeartbeatCheck(ctx context.Context, req *empty.Empty) (*Heartbeat, error) {
2559 return nil, status.Errorf(codes.Unimplemented, "method HeartbeatCheck not implemented")
2560}
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302561func (*UnimplementedNativeHWManagementServiceServer) RebootDevice(ctx context.Context, req *RebootDeviceRequest) (*RebootDeviceResponse, error) {
2562 return nil, status.Errorf(codes.Unimplemented, "method RebootDevice not implemented")
2563}
amit.ghosh93183512024-05-28 22:37:27 +02002564func (*UnimplementedNativeHWManagementServiceServer) SetDmLogLevel(ctx context.Context, req *SetDmLogLevelRequest) (*SetDmLogLevelResponse, error) {
2565 return nil, status.Errorf(codes.Unimplemented, "method SetDmLogLevel not implemented")
2566}
2567func (*UnimplementedNativeHWManagementServiceServer) GetDmLogLevel(ctx context.Context, req *GetDmLogLevelRequest) (*GetDmLogLevelResponse, error) {
2568 return nil, status.Errorf(codes.Unimplemented, "method GetDmLogLevel not implemented")
2569}
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002570
Amit Ghosh09f28362020-06-12 21:52:19 +01002571func RegisterNativeHWManagementServiceServer(s *grpc.Server, srv NativeHWManagementServiceServer) {
2572 s.RegisterService(&_NativeHWManagementService_serviceDesc, srv)
2573}
2574
2575func _NativeHWManagementService_StartManagingDevice_Handler(srv interface{}, stream grpc.ServerStream) error {
Amit Ghosh704462f2020-06-24 16:44:56 +01002576 m := new(ModifiableComponent)
Amit Ghosh09f28362020-06-12 21:52:19 +01002577 if err := stream.RecvMsg(m); err != nil {
2578 return err
2579 }
2580 return srv.(NativeHWManagementServiceServer).StartManagingDevice(m, &nativeHWManagementServiceStartManagingDeviceServer{stream})
2581}
2582
2583type NativeHWManagementService_StartManagingDeviceServer interface {
2584 Send(*StartManagingDeviceResponse) error
2585 grpc.ServerStream
2586}
2587
2588type nativeHWManagementServiceStartManagingDeviceServer struct {
2589 grpc.ServerStream
2590}
2591
2592func (x *nativeHWManagementServiceStartManagingDeviceServer) Send(m *StartManagingDeviceResponse) error {
2593 return x.ServerStream.SendMsg(m)
2594}
2595
Amit Ghosh366228e2020-07-06 13:46:42 +01002596func _NativeHWManagementService_StopManagingDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2597 in := new(StopManagingDeviceRequest)
2598 if err := dec(in); err != nil {
2599 return nil, err
2600 }
2601 if interceptor == nil {
2602 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, in)
2603 }
2604 info := &grpc.UnaryServerInfo{
2605 Server: srv,
2606 FullMethod: "/dmi.NativeHWManagementService/StopManagingDevice",
2607 }
2608 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2609 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, req.(*StopManagingDeviceRequest))
2610 }
2611 return interceptor(ctx, in, info, handler)
2612}
2613
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002614func _NativeHWManagementService_GetManagedDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2615 in := new(empty.Empty)
2616 if err := dec(in); err != nil {
2617 return nil, err
2618 }
2619 if interceptor == nil {
2620 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, in)
2621 }
2622 info := &grpc.UnaryServerInfo{
2623 Server: srv,
2624 FullMethod: "/dmi.NativeHWManagementService/GetManagedDevices",
2625 }
2626 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2627 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, req.(*empty.Empty))
2628 }
2629 return interceptor(ctx, in, info, handler)
2630}
2631
Amit Ghosh09f28362020-06-12 21:52:19 +01002632func _NativeHWManagementService_GetPhysicalInventory_Handler(srv interface{}, stream grpc.ServerStream) error {
2633 m := new(PhysicalInventoryRequest)
2634 if err := stream.RecvMsg(m); err != nil {
2635 return err
2636 }
2637 return srv.(NativeHWManagementServiceServer).GetPhysicalInventory(m, &nativeHWManagementServiceGetPhysicalInventoryServer{stream})
2638}
2639
2640type NativeHWManagementService_GetPhysicalInventoryServer interface {
2641 Send(*PhysicalInventoryResponse) error
2642 grpc.ServerStream
2643}
2644
2645type nativeHWManagementServiceGetPhysicalInventoryServer struct {
2646 grpc.ServerStream
2647}
2648
2649func (x *nativeHWManagementServiceGetPhysicalInventoryServer) Send(m *PhysicalInventoryResponse) error {
2650 return x.ServerStream.SendMsg(m)
2651}
2652
2653func _NativeHWManagementService_GetHWComponentInfo_Handler(srv interface{}, stream grpc.ServerStream) error {
2654 m := new(HWComponentInfoGetRequest)
2655 if err := stream.RecvMsg(m); err != nil {
2656 return err
2657 }
2658 return srv.(NativeHWManagementServiceServer).GetHWComponentInfo(m, &nativeHWManagementServiceGetHWComponentInfoServer{stream})
2659}
2660
2661type NativeHWManagementService_GetHWComponentInfoServer interface {
aghoshc301dcd2020-09-03 16:55:34 +01002662 Send(*HWComponentInfoGetResponse) error
Amit Ghosh09f28362020-06-12 21:52:19 +01002663 grpc.ServerStream
2664}
2665
2666type nativeHWManagementServiceGetHWComponentInfoServer struct {
2667 grpc.ServerStream
2668}
2669
aghoshc301dcd2020-09-03 16:55:34 +01002670func (x *nativeHWManagementServiceGetHWComponentInfoServer) Send(m *HWComponentInfoGetResponse) error {
Amit Ghosh09f28362020-06-12 21:52:19 +01002671 return x.ServerStream.SendMsg(m)
2672}
2673
2674func _NativeHWManagementService_SetHWComponentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2675 in := new(HWComponentInfoSetRequest)
2676 if err := dec(in); err != nil {
2677 return nil, err
2678 }
2679 if interceptor == nil {
2680 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, in)
2681 }
2682 info := &grpc.UnaryServerInfo{
2683 Server: srv,
2684 FullMethod: "/dmi.NativeHWManagementService/SetHWComponentInfo",
2685 }
2686 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2687 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, req.(*HWComponentInfoSetRequest))
2688 }
2689 return interceptor(ctx, in, info, handler)
2690}
2691
amit.ghosh188a84f2020-09-27 20:59:25 +02002692func _NativeHWManagementService_SetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2693 in := new(SetLoggingEndpointRequest)
2694 if err := dec(in); err != nil {
2695 return nil, err
2696 }
2697 if interceptor == nil {
2698 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, in)
2699 }
2700 info := &grpc.UnaryServerInfo{
2701 Server: srv,
2702 FullMethod: "/dmi.NativeHWManagementService/SetLoggingEndpoint",
2703 }
2704 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2705 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, req.(*SetLoggingEndpointRequest))
2706 }
2707 return interceptor(ctx, in, info, handler)
2708}
2709
2710func _NativeHWManagementService_GetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002711 in := new(HardwareID)
amit.ghosh188a84f2020-09-27 20:59:25 +02002712 if err := dec(in); err != nil {
2713 return nil, err
2714 }
2715 if interceptor == nil {
2716 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, in)
2717 }
2718 info := &grpc.UnaryServerInfo{
2719 Server: srv,
2720 FullMethod: "/dmi.NativeHWManagementService/GetLoggingEndpoint",
2721 }
2722 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002723 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, req.(*HardwareID))
amit.ghosh188a84f2020-09-27 20:59:25 +02002724 }
2725 return interceptor(ctx, in, info, handler)
2726}
2727
2728func _NativeHWManagementService_SetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2729 in := new(SetMsgBusEndpointRequest)
2730 if err := dec(in); err != nil {
2731 return nil, err
2732 }
2733 if interceptor == nil {
2734 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, in)
2735 }
2736 info := &grpc.UnaryServerInfo{
2737 Server: srv,
2738 FullMethod: "/dmi.NativeHWManagementService/SetMsgBusEndpoint",
2739 }
2740 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2741 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, req.(*SetMsgBusEndpointRequest))
2742 }
2743 return interceptor(ctx, in, info, handler)
2744}
2745
2746func _NativeHWManagementService_GetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2747 in := new(empty.Empty)
2748 if err := dec(in); err != nil {
2749 return nil, err
2750 }
2751 if interceptor == nil {
2752 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, in)
2753 }
2754 info := &grpc.UnaryServerInfo{
2755 Server: srv,
2756 FullMethod: "/dmi.NativeHWManagementService/GetMsgBusEndpoint",
2757 }
2758 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2759 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, req.(*empty.Empty))
2760 }
2761 return interceptor(ctx, in, info, handler)
2762}
2763
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002764func _NativeHWManagementService_GetLoggableEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2765 in := new(GetLoggableEntitiesRequest)
2766 if err := dec(in); err != nil {
2767 return nil, err
2768 }
2769 if interceptor == nil {
2770 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, in)
2771 }
2772 info := &grpc.UnaryServerInfo{
2773 Server: srv,
2774 FullMethod: "/dmi.NativeHWManagementService/GetLoggableEntities",
2775 }
2776 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2777 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, req.(*GetLoggableEntitiesRequest))
2778 }
2779 return interceptor(ctx, in, info, handler)
2780}
2781
2782func _NativeHWManagementService_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2783 in := new(SetLogLevelRequest)
2784 if err := dec(in); err != nil {
2785 return nil, err
2786 }
2787 if interceptor == nil {
2788 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, in)
2789 }
2790 info := &grpc.UnaryServerInfo{
2791 Server: srv,
2792 FullMethod: "/dmi.NativeHWManagementService/SetLogLevel",
2793 }
2794 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2795 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, req.(*SetLogLevelRequest))
2796 }
2797 return interceptor(ctx, in, info, handler)
2798}
2799
2800func _NativeHWManagementService_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2801 in := new(GetLogLevelRequest)
2802 if err := dec(in); err != nil {
2803 return nil, err
2804 }
2805 if interceptor == nil {
2806 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, in)
2807 }
2808 info := &grpc.UnaryServerInfo{
2809 Server: srv,
2810 FullMethod: "/dmi.NativeHWManagementService/GetLogLevel",
2811 }
2812 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2813 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, req.(*GetLogLevelRequest))
2814 }
2815 return interceptor(ctx, in, info, handler)
2816}
2817
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302818func _NativeHWManagementService_HeartbeatCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2819 in := new(empty.Empty)
2820 if err := dec(in); err != nil {
2821 return nil, err
2822 }
2823 if interceptor == nil {
2824 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, in)
2825 }
2826 info := &grpc.UnaryServerInfo{
2827 Server: srv,
2828 FullMethod: "/dmi.NativeHWManagementService/HeartbeatCheck",
2829 }
2830 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2831 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, req.(*empty.Empty))
2832 }
2833 return interceptor(ctx, in, info, handler)
2834}
2835
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302836func _NativeHWManagementService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2837 in := new(RebootDeviceRequest)
2838 if err := dec(in); err != nil {
2839 return nil, err
2840 }
2841 if interceptor == nil {
2842 return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, in)
2843 }
2844 info := &grpc.UnaryServerInfo{
2845 Server: srv,
2846 FullMethod: "/dmi.NativeHWManagementService/RebootDevice",
2847 }
2848 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2849 return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, req.(*RebootDeviceRequest))
2850 }
2851 return interceptor(ctx, in, info, handler)
2852}
2853
amit.ghosh93183512024-05-28 22:37:27 +02002854func _NativeHWManagementService_SetDmLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2855 in := new(SetDmLogLevelRequest)
2856 if err := dec(in); err != nil {
2857 return nil, err
2858 }
2859 if interceptor == nil {
2860 return srv.(NativeHWManagementServiceServer).SetDmLogLevel(ctx, in)
2861 }
2862 info := &grpc.UnaryServerInfo{
2863 Server: srv,
2864 FullMethod: "/dmi.NativeHWManagementService/SetDmLogLevel",
2865 }
2866 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2867 return srv.(NativeHWManagementServiceServer).SetDmLogLevel(ctx, req.(*SetDmLogLevelRequest))
2868 }
2869 return interceptor(ctx, in, info, handler)
2870}
2871
2872func _NativeHWManagementService_GetDmLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2873 in := new(GetDmLogLevelRequest)
2874 if err := dec(in); err != nil {
2875 return nil, err
2876 }
2877 if interceptor == nil {
2878 return srv.(NativeHWManagementServiceServer).GetDmLogLevel(ctx, in)
2879 }
2880 info := &grpc.UnaryServerInfo{
2881 Server: srv,
2882 FullMethod: "/dmi.NativeHWManagementService/GetDmLogLevel",
2883 }
2884 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2885 return srv.(NativeHWManagementServiceServer).GetDmLogLevel(ctx, req.(*GetDmLogLevelRequest))
2886 }
2887 return interceptor(ctx, in, info, handler)
2888}
2889
Amit Ghosh09f28362020-06-12 21:52:19 +01002890var _NativeHWManagementService_serviceDesc = grpc.ServiceDesc{
2891 ServiceName: "dmi.NativeHWManagementService",
2892 HandlerType: (*NativeHWManagementServiceServer)(nil),
2893 Methods: []grpc.MethodDesc{
2894 {
Amit Ghosh366228e2020-07-06 13:46:42 +01002895 MethodName: "StopManagingDevice",
2896 Handler: _NativeHWManagementService_StopManagingDevice_Handler,
2897 },
2898 {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002899 MethodName: "GetManagedDevices",
2900 Handler: _NativeHWManagementService_GetManagedDevices_Handler,
2901 },
2902 {
Amit Ghosh09f28362020-06-12 21:52:19 +01002903 MethodName: "SetHWComponentInfo",
2904 Handler: _NativeHWManagementService_SetHWComponentInfo_Handler,
2905 },
amit.ghosh188a84f2020-09-27 20:59:25 +02002906 {
2907 MethodName: "SetLoggingEndpoint",
2908 Handler: _NativeHWManagementService_SetLoggingEndpoint_Handler,
2909 },
2910 {
2911 MethodName: "GetLoggingEndpoint",
2912 Handler: _NativeHWManagementService_GetLoggingEndpoint_Handler,
2913 },
2914 {
2915 MethodName: "SetMsgBusEndpoint",
2916 Handler: _NativeHWManagementService_SetMsgBusEndpoint_Handler,
2917 },
2918 {
2919 MethodName: "GetMsgBusEndpoint",
2920 Handler: _NativeHWManagementService_GetMsgBusEndpoint_Handler,
2921 },
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002922 {
2923 MethodName: "GetLoggableEntities",
2924 Handler: _NativeHWManagementService_GetLoggableEntities_Handler,
2925 },
2926 {
2927 MethodName: "SetLogLevel",
2928 Handler: _NativeHWManagementService_SetLogLevel_Handler,
2929 },
2930 {
2931 MethodName: "GetLogLevel",
2932 Handler: _NativeHWManagementService_GetLogLevel_Handler,
2933 },
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302934 {
2935 MethodName: "HeartbeatCheck",
2936 Handler: _NativeHWManagementService_HeartbeatCheck_Handler,
2937 },
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302938 {
2939 MethodName: "RebootDevice",
2940 Handler: _NativeHWManagementService_RebootDevice_Handler,
2941 },
amit.ghosh93183512024-05-28 22:37:27 +02002942 {
2943 MethodName: "SetDmLogLevel",
2944 Handler: _NativeHWManagementService_SetDmLogLevel_Handler,
2945 },
2946 {
2947 MethodName: "GetDmLogLevel",
2948 Handler: _NativeHWManagementService_GetDmLogLevel_Handler,
2949 },
Amit Ghosh09f28362020-06-12 21:52:19 +01002950 },
2951 Streams: []grpc.StreamDesc{
2952 {
2953 StreamName: "StartManagingDevice",
2954 Handler: _NativeHWManagementService_StartManagingDevice_Handler,
2955 ServerStreams: true,
2956 },
2957 {
2958 StreamName: "GetPhysicalInventory",
2959 Handler: _NativeHWManagementService_GetPhysicalInventory_Handler,
2960 ServerStreams: true,
2961 },
2962 {
2963 StreamName: "GetHWComponentInfo",
2964 Handler: _NativeHWManagementService_GetHWComponentInfo_Handler,
2965 ServerStreams: true,
2966 },
2967 },
2968 Metadata: "dmi/hw_management_service.proto",
2969}