blob: 23af8d7478d58049ea11a67de130eb0c26b0f082 [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
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530404type RebootDeviceResponse_Reason int32
405
406const (
amit.ghosh840cb602022-04-08 16:10:50 +0200407 RebootDeviceResponse_UNDEFINED_REASON RebootDeviceResponse_Reason = 0
408 RebootDeviceResponse_UNKNOWN_DEVICE RebootDeviceResponse_Reason = 1
409 RebootDeviceResponse_INTERNAL_ERROR RebootDeviceResponse_Reason = 2
410 RebootDeviceResponse_DEVICE_UNREACHABLE RebootDeviceResponse_Reason = 3
411 RebootDeviceResponse_DEVICE_IN_WRONG_STATE RebootDeviceResponse_Reason = 4
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530412)
413
414var RebootDeviceResponse_Reason_name = map[int32]string{
415 0: "UNDEFINED_REASON",
416 1: "UNKNOWN_DEVICE",
417 2: "INTERNAL_ERROR",
418 3: "DEVICE_UNREACHABLE",
amit.ghosh840cb602022-04-08 16:10:50 +0200419 4: "DEVICE_IN_WRONG_STATE",
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530420}
421
422var RebootDeviceResponse_Reason_value = map[string]int32{
amit.ghosh840cb602022-04-08 16:10:50 +0200423 "UNDEFINED_REASON": 0,
424 "UNKNOWN_DEVICE": 1,
425 "INTERNAL_ERROR": 2,
426 "DEVICE_UNREACHABLE": 3,
427 "DEVICE_IN_WRONG_STATE": 4,
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530428}
429
430func (x RebootDeviceResponse_Reason) String() string {
431 return proto.EnumName(RebootDeviceResponse_Reason_name, int32(x))
432}
433
434func (RebootDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
435 return fileDescriptor_eae902e73066286d, []int{24, 0}
436}
437
Amit Ghosh09f28362020-06-12 21:52:19 +0100438type PhysicalInventoryRequest struct {
439 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
440 XXX_NoUnkeyedLiteral struct{} `json:"-"`
441 XXX_unrecognized []byte `json:"-"`
442 XXX_sizecache int32 `json:"-"`
443}
444
445func (m *PhysicalInventoryRequest) Reset() { *m = PhysicalInventoryRequest{} }
446func (m *PhysicalInventoryRequest) String() string { return proto.CompactTextString(m) }
447func (*PhysicalInventoryRequest) ProtoMessage() {}
448func (*PhysicalInventoryRequest) Descriptor() ([]byte, []int) {
449 return fileDescriptor_eae902e73066286d, []int{0}
450}
451
452func (m *PhysicalInventoryRequest) XXX_Unmarshal(b []byte) error {
453 return xxx_messageInfo_PhysicalInventoryRequest.Unmarshal(m, b)
454}
455func (m *PhysicalInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
456 return xxx_messageInfo_PhysicalInventoryRequest.Marshal(b, m, deterministic)
457}
458func (m *PhysicalInventoryRequest) XXX_Merge(src proto.Message) {
459 xxx_messageInfo_PhysicalInventoryRequest.Merge(m, src)
460}
461func (m *PhysicalInventoryRequest) XXX_Size() int {
462 return xxx_messageInfo_PhysicalInventoryRequest.Size(m)
463}
464func (m *PhysicalInventoryRequest) XXX_DiscardUnknown() {
465 xxx_messageInfo_PhysicalInventoryRequest.DiscardUnknown(m)
466}
467
468var xxx_messageInfo_PhysicalInventoryRequest proto.InternalMessageInfo
469
470func (m *PhysicalInventoryRequest) GetDeviceUuid() *Uuid {
471 if m != nil {
472 return m.DeviceUuid
473 }
474 return nil
475}
476
477type PhysicalInventoryResponse struct {
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100478 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
479 Reason PhysicalInventoryResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.PhysicalInventoryResponse_Reason" json:"reason,omitempty"`
480 Inventory *Hardware `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
481 // It is recommended that upstream components/users of the DMI interface
482 // do not really interpret/parse the reson_detail, but rather use it for
483 // display purposes to the end user or use it for logging the error
484 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
485 XXX_NoUnkeyedLiteral struct{} `json:"-"`
486 XXX_unrecognized []byte `json:"-"`
487 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100488}
489
490func (m *PhysicalInventoryResponse) Reset() { *m = PhysicalInventoryResponse{} }
491func (m *PhysicalInventoryResponse) String() string { return proto.CompactTextString(m) }
492func (*PhysicalInventoryResponse) ProtoMessage() {}
493func (*PhysicalInventoryResponse) Descriptor() ([]byte, []int) {
494 return fileDescriptor_eae902e73066286d, []int{1}
495}
496
497func (m *PhysicalInventoryResponse) XXX_Unmarshal(b []byte) error {
498 return xxx_messageInfo_PhysicalInventoryResponse.Unmarshal(m, b)
499}
500func (m *PhysicalInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
501 return xxx_messageInfo_PhysicalInventoryResponse.Marshal(b, m, deterministic)
502}
503func (m *PhysicalInventoryResponse) XXX_Merge(src proto.Message) {
504 xxx_messageInfo_PhysicalInventoryResponse.Merge(m, src)
505}
506func (m *PhysicalInventoryResponse) XXX_Size() int {
507 return xxx_messageInfo_PhysicalInventoryResponse.Size(m)
508}
509func (m *PhysicalInventoryResponse) XXX_DiscardUnknown() {
510 xxx_messageInfo_PhysicalInventoryResponse.DiscardUnknown(m)
511}
512
513var xxx_messageInfo_PhysicalInventoryResponse proto.InternalMessageInfo
514
515func (m *PhysicalInventoryResponse) GetStatus() Status {
516 if m != nil {
517 return m.Status
518 }
519 return Status_UNDEFINED_STATUS
520}
521
amit.ghoshae473032021-01-10 11:59:10 +0100522func (m *PhysicalInventoryResponse) GetReason() PhysicalInventoryResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100523 if m != nil {
524 return m.Reason
525 }
amit.ghoshae473032021-01-10 11:59:10 +0100526 return PhysicalInventoryResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100527}
528
529func (m *PhysicalInventoryResponse) GetInventory() *Hardware {
530 if m != nil {
531 return m.Inventory
532 }
533 return nil
534}
535
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100536func (m *PhysicalInventoryResponse) GetReasonDetail() string {
537 if m != nil {
538 return m.ReasonDetail
539 }
540 return ""
541}
542
Amit Ghosh09f28362020-06-12 21:52:19 +0100543type HWComponentInfoGetRequest struct {
544 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
545 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
546 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
547 XXX_NoUnkeyedLiteral struct{} `json:"-"`
548 XXX_unrecognized []byte `json:"-"`
549 XXX_sizecache int32 `json:"-"`
550}
551
552func (m *HWComponentInfoGetRequest) Reset() { *m = HWComponentInfoGetRequest{} }
553func (m *HWComponentInfoGetRequest) String() string { return proto.CompactTextString(m) }
554func (*HWComponentInfoGetRequest) ProtoMessage() {}
555func (*HWComponentInfoGetRequest) Descriptor() ([]byte, []int) {
556 return fileDescriptor_eae902e73066286d, []int{2}
557}
558
559func (m *HWComponentInfoGetRequest) XXX_Unmarshal(b []byte) error {
560 return xxx_messageInfo_HWComponentInfoGetRequest.Unmarshal(m, b)
561}
562func (m *HWComponentInfoGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
563 return xxx_messageInfo_HWComponentInfoGetRequest.Marshal(b, m, deterministic)
564}
565func (m *HWComponentInfoGetRequest) XXX_Merge(src proto.Message) {
566 xxx_messageInfo_HWComponentInfoGetRequest.Merge(m, src)
567}
568func (m *HWComponentInfoGetRequest) XXX_Size() int {
569 return xxx_messageInfo_HWComponentInfoGetRequest.Size(m)
570}
571func (m *HWComponentInfoGetRequest) XXX_DiscardUnknown() {
572 xxx_messageInfo_HWComponentInfoGetRequest.DiscardUnknown(m)
573}
574
575var xxx_messageInfo_HWComponentInfoGetRequest proto.InternalMessageInfo
576
577func (m *HWComponentInfoGetRequest) GetDeviceUuid() *Uuid {
578 if m != nil {
579 return m.DeviceUuid
580 }
581 return nil
582}
583
584func (m *HWComponentInfoGetRequest) GetComponentUuid() *Uuid {
585 if m != nil {
586 return m.ComponentUuid
587 }
588 return nil
589}
590
591func (m *HWComponentInfoGetRequest) GetComponentName() string {
592 if m != nil {
593 return m.ComponentName
594 }
595 return ""
596}
597
aghoshc301dcd2020-09-03 16:55:34 +0100598type HWComponentInfoGetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100599 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
600 Reason HWComponentInfoGetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoGetResponse_Reason" json:"reason,omitempty"`
601 Component *Component `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100602 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100603 XXX_NoUnkeyedLiteral struct{} `json:"-"`
604 XXX_unrecognized []byte `json:"-"`
605 XXX_sizecache int32 `json:"-"`
aghoshc301dcd2020-09-03 16:55:34 +0100606}
607
608func (m *HWComponentInfoGetResponse) Reset() { *m = HWComponentInfoGetResponse{} }
609func (m *HWComponentInfoGetResponse) String() string { return proto.CompactTextString(m) }
610func (*HWComponentInfoGetResponse) ProtoMessage() {}
611func (*HWComponentInfoGetResponse) Descriptor() ([]byte, []int) {
612 return fileDescriptor_eae902e73066286d, []int{3}
613}
614
615func (m *HWComponentInfoGetResponse) XXX_Unmarshal(b []byte) error {
616 return xxx_messageInfo_HWComponentInfoGetResponse.Unmarshal(m, b)
617}
618func (m *HWComponentInfoGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
619 return xxx_messageInfo_HWComponentInfoGetResponse.Marshal(b, m, deterministic)
620}
621func (m *HWComponentInfoGetResponse) XXX_Merge(src proto.Message) {
622 xxx_messageInfo_HWComponentInfoGetResponse.Merge(m, src)
623}
624func (m *HWComponentInfoGetResponse) XXX_Size() int {
625 return xxx_messageInfo_HWComponentInfoGetResponse.Size(m)
626}
627func (m *HWComponentInfoGetResponse) XXX_DiscardUnknown() {
628 xxx_messageInfo_HWComponentInfoGetResponse.DiscardUnknown(m)
629}
630
631var xxx_messageInfo_HWComponentInfoGetResponse proto.InternalMessageInfo
632
633func (m *HWComponentInfoGetResponse) GetStatus() Status {
634 if m != nil {
635 return m.Status
636 }
637 return Status_UNDEFINED_STATUS
638}
639
amit.ghoshae473032021-01-10 11:59:10 +0100640func (m *HWComponentInfoGetResponse) GetReason() HWComponentInfoGetResponse_Reason {
aghoshc301dcd2020-09-03 16:55:34 +0100641 if m != nil {
642 return m.Reason
643 }
amit.ghoshae473032021-01-10 11:59:10 +0100644 return HWComponentInfoGetResponse_UNDEFINED_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100645}
646
647func (m *HWComponentInfoGetResponse) GetComponent() *Component {
648 if m != nil {
649 return m.Component
650 }
651 return nil
652}
653
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100654func (m *HWComponentInfoGetResponse) GetReasonDetail() string {
655 if m != nil {
656 return m.ReasonDetail
657 }
658 return ""
659}
660
Amit Ghosh09f28362020-06-12 21:52:19 +0100661type HWComponentInfoSetRequest struct {
662 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
663 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
664 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
665 Changes *ModifiableComponent `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"`
666 XXX_NoUnkeyedLiteral struct{} `json:"-"`
667 XXX_unrecognized []byte `json:"-"`
668 XXX_sizecache int32 `json:"-"`
669}
670
671func (m *HWComponentInfoSetRequest) Reset() { *m = HWComponentInfoSetRequest{} }
672func (m *HWComponentInfoSetRequest) String() string { return proto.CompactTextString(m) }
673func (*HWComponentInfoSetRequest) ProtoMessage() {}
674func (*HWComponentInfoSetRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100675 return fileDescriptor_eae902e73066286d, []int{4}
Amit Ghosh09f28362020-06-12 21:52:19 +0100676}
677
678func (m *HWComponentInfoSetRequest) XXX_Unmarshal(b []byte) error {
679 return xxx_messageInfo_HWComponentInfoSetRequest.Unmarshal(m, b)
680}
681func (m *HWComponentInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
682 return xxx_messageInfo_HWComponentInfoSetRequest.Marshal(b, m, deterministic)
683}
684func (m *HWComponentInfoSetRequest) XXX_Merge(src proto.Message) {
685 xxx_messageInfo_HWComponentInfoSetRequest.Merge(m, src)
686}
687func (m *HWComponentInfoSetRequest) XXX_Size() int {
688 return xxx_messageInfo_HWComponentInfoSetRequest.Size(m)
689}
690func (m *HWComponentInfoSetRequest) XXX_DiscardUnknown() {
691 xxx_messageInfo_HWComponentInfoSetRequest.DiscardUnknown(m)
692}
693
694var xxx_messageInfo_HWComponentInfoSetRequest proto.InternalMessageInfo
695
696func (m *HWComponentInfoSetRequest) GetDeviceUuid() *Uuid {
697 if m != nil {
698 return m.DeviceUuid
699 }
700 return nil
701}
702
703func (m *HWComponentInfoSetRequest) GetComponentUuid() *Uuid {
704 if m != nil {
705 return m.ComponentUuid
706 }
707 return nil
708}
709
710func (m *HWComponentInfoSetRequest) GetComponentName() string {
711 if m != nil {
712 return m.ComponentName
713 }
714 return ""
715}
716
717func (m *HWComponentInfoSetRequest) GetChanges() *ModifiableComponent {
718 if m != nil {
719 return m.Changes
720 }
721 return nil
722}
723
724type HWComponentInfoSetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100725 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
726 Reason HWComponentInfoSetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoSetResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100727 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100728 XXX_NoUnkeyedLiteral struct{} `json:"-"`
729 XXX_unrecognized []byte `json:"-"`
730 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100731}
732
733func (m *HWComponentInfoSetResponse) Reset() { *m = HWComponentInfoSetResponse{} }
734func (m *HWComponentInfoSetResponse) String() string { return proto.CompactTextString(m) }
735func (*HWComponentInfoSetResponse) ProtoMessage() {}
736func (*HWComponentInfoSetResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100737 return fileDescriptor_eae902e73066286d, []int{5}
Amit Ghosh09f28362020-06-12 21:52:19 +0100738}
739
740func (m *HWComponentInfoSetResponse) XXX_Unmarshal(b []byte) error {
741 return xxx_messageInfo_HWComponentInfoSetResponse.Unmarshal(m, b)
742}
743func (m *HWComponentInfoSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
744 return xxx_messageInfo_HWComponentInfoSetResponse.Marshal(b, m, deterministic)
745}
746func (m *HWComponentInfoSetResponse) XXX_Merge(src proto.Message) {
747 xxx_messageInfo_HWComponentInfoSetResponse.Merge(m, src)
748}
749func (m *HWComponentInfoSetResponse) XXX_Size() int {
750 return xxx_messageInfo_HWComponentInfoSetResponse.Size(m)
751}
752func (m *HWComponentInfoSetResponse) XXX_DiscardUnknown() {
753 xxx_messageInfo_HWComponentInfoSetResponse.DiscardUnknown(m)
754}
755
756var xxx_messageInfo_HWComponentInfoSetResponse proto.InternalMessageInfo
757
758func (m *HWComponentInfoSetResponse) GetStatus() Status {
759 if m != nil {
760 return m.Status
761 }
762 return Status_UNDEFINED_STATUS
763}
764
amit.ghoshae473032021-01-10 11:59:10 +0100765func (m *HWComponentInfoSetResponse) GetReason() HWComponentInfoSetResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100766 if m != nil {
767 return m.Reason
768 }
amit.ghoshae473032021-01-10 11:59:10 +0100769 return HWComponentInfoSetResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100770}
771
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100772func (m *HWComponentInfoSetResponse) GetReasonDetail() string {
773 if m != nil {
774 return m.ReasonDetail
775 }
776 return ""
777}
778
Amit Ghosh09f28362020-06-12 21:52:19 +0100779type StartManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100780 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
781 Reason StartManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartManagingDeviceResponse_Reason" json:"reason,omitempty"`
782 DeviceUuid *Uuid `protobuf:"bytes,3,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100783 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100784 XXX_NoUnkeyedLiteral struct{} `json:"-"`
785 XXX_unrecognized []byte `json:"-"`
786 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100787}
788
789func (m *StartManagingDeviceResponse) Reset() { *m = StartManagingDeviceResponse{} }
790func (m *StartManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
791func (*StartManagingDeviceResponse) ProtoMessage() {}
792func (*StartManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100793 return fileDescriptor_eae902e73066286d, []int{6}
Amit Ghosh09f28362020-06-12 21:52:19 +0100794}
795
796func (m *StartManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
797 return xxx_messageInfo_StartManagingDeviceResponse.Unmarshal(m, b)
798}
799func (m *StartManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
800 return xxx_messageInfo_StartManagingDeviceResponse.Marshal(b, m, deterministic)
801}
802func (m *StartManagingDeviceResponse) XXX_Merge(src proto.Message) {
803 xxx_messageInfo_StartManagingDeviceResponse.Merge(m, src)
804}
805func (m *StartManagingDeviceResponse) XXX_Size() int {
806 return xxx_messageInfo_StartManagingDeviceResponse.Size(m)
807}
808func (m *StartManagingDeviceResponse) XXX_DiscardUnknown() {
809 xxx_messageInfo_StartManagingDeviceResponse.DiscardUnknown(m)
810}
811
812var xxx_messageInfo_StartManagingDeviceResponse proto.InternalMessageInfo
813
814func (m *StartManagingDeviceResponse) GetStatus() Status {
815 if m != nil {
816 return m.Status
817 }
818 return Status_UNDEFINED_STATUS
819}
820
amit.ghoshae473032021-01-10 11:59:10 +0100821func (m *StartManagingDeviceResponse) GetReason() StartManagingDeviceResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100822 if m != nil {
823 return m.Reason
824 }
amit.ghoshae473032021-01-10 11:59:10 +0100825 return StartManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100826}
827
828func (m *StartManagingDeviceResponse) GetDeviceUuid() *Uuid {
829 if m != nil {
830 return m.DeviceUuid
831 }
832 return nil
833}
834
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100835func (m *StartManagingDeviceResponse) GetReasonDetail() string {
836 if m != nil {
837 return m.ReasonDetail
838 }
839 return ""
840}
841
Amit Ghosh366228e2020-07-06 13:46:42 +0100842type StopManagingDeviceRequest struct {
843 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
844 XXX_NoUnkeyedLiteral struct{} `json:"-"`
845 XXX_unrecognized []byte `json:"-"`
846 XXX_sizecache int32 `json:"-"`
847}
848
849func (m *StopManagingDeviceRequest) Reset() { *m = StopManagingDeviceRequest{} }
850func (m *StopManagingDeviceRequest) String() string { return proto.CompactTextString(m) }
851func (*StopManagingDeviceRequest) ProtoMessage() {}
852func (*StopManagingDeviceRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100853 return fileDescriptor_eae902e73066286d, []int{7}
Amit Ghosh366228e2020-07-06 13:46:42 +0100854}
855
856func (m *StopManagingDeviceRequest) XXX_Unmarshal(b []byte) error {
857 return xxx_messageInfo_StopManagingDeviceRequest.Unmarshal(m, b)
858}
859func (m *StopManagingDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
860 return xxx_messageInfo_StopManagingDeviceRequest.Marshal(b, m, deterministic)
861}
862func (m *StopManagingDeviceRequest) XXX_Merge(src proto.Message) {
863 xxx_messageInfo_StopManagingDeviceRequest.Merge(m, src)
864}
865func (m *StopManagingDeviceRequest) XXX_Size() int {
866 return xxx_messageInfo_StopManagingDeviceRequest.Size(m)
867}
868func (m *StopManagingDeviceRequest) XXX_DiscardUnknown() {
869 xxx_messageInfo_StopManagingDeviceRequest.DiscardUnknown(m)
870}
871
872var xxx_messageInfo_StopManagingDeviceRequest proto.InternalMessageInfo
873
874func (m *StopManagingDeviceRequest) GetName() string {
875 if m != nil {
876 return m.Name
877 }
878 return ""
879}
880
881type StopManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100882 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
883 Reason StopManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StopManagingDeviceResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100884 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100885 XXX_NoUnkeyedLiteral struct{} `json:"-"`
886 XXX_unrecognized []byte `json:"-"`
887 XXX_sizecache int32 `json:"-"`
Amit Ghosh366228e2020-07-06 13:46:42 +0100888}
889
890func (m *StopManagingDeviceResponse) Reset() { *m = StopManagingDeviceResponse{} }
891func (m *StopManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
892func (*StopManagingDeviceResponse) ProtoMessage() {}
893func (*StopManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100894 return fileDescriptor_eae902e73066286d, []int{8}
Amit Ghosh366228e2020-07-06 13:46:42 +0100895}
896
897func (m *StopManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
898 return xxx_messageInfo_StopManagingDeviceResponse.Unmarshal(m, b)
899}
900func (m *StopManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
901 return xxx_messageInfo_StopManagingDeviceResponse.Marshal(b, m, deterministic)
902}
903func (m *StopManagingDeviceResponse) XXX_Merge(src proto.Message) {
904 xxx_messageInfo_StopManagingDeviceResponse.Merge(m, src)
905}
906func (m *StopManagingDeviceResponse) XXX_Size() int {
907 return xxx_messageInfo_StopManagingDeviceResponse.Size(m)
908}
909func (m *StopManagingDeviceResponse) XXX_DiscardUnknown() {
910 xxx_messageInfo_StopManagingDeviceResponse.DiscardUnknown(m)
911}
912
913var xxx_messageInfo_StopManagingDeviceResponse proto.InternalMessageInfo
914
915func (m *StopManagingDeviceResponse) GetStatus() Status {
916 if m != nil {
917 return m.Status
918 }
919 return Status_UNDEFINED_STATUS
920}
921
amit.ghoshae473032021-01-10 11:59:10 +0100922func (m *StopManagingDeviceResponse) GetReason() StopManagingDeviceResponse_Reason {
Amit Ghosh366228e2020-07-06 13:46:42 +0100923 if m != nil {
924 return m.Reason
925 }
amit.ghoshae473032021-01-10 11:59:10 +0100926 return StopManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh366228e2020-07-06 13:46:42 +0100927}
928
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100929func (m *StopManagingDeviceResponse) GetReasonDetail() string {
930 if m != nil {
931 return m.ReasonDetail
932 }
933 return ""
934}
935
amit.ghosh0c687412021-03-24 19:01:08 +0100936type ManagedDeviceInfo struct {
937 Info *ModifiableComponent `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
938 DeviceUuid *Uuid `protobuf:"bytes,2,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
939 XXX_NoUnkeyedLiteral struct{} `json:"-"`
940 XXX_unrecognized []byte `json:"-"`
941 XXX_sizecache int32 `json:"-"`
942}
943
944func (m *ManagedDeviceInfo) Reset() { *m = ManagedDeviceInfo{} }
945func (m *ManagedDeviceInfo) String() string { return proto.CompactTextString(m) }
946func (*ManagedDeviceInfo) ProtoMessage() {}
947func (*ManagedDeviceInfo) Descriptor() ([]byte, []int) {
948 return fileDescriptor_eae902e73066286d, []int{9}
949}
950
951func (m *ManagedDeviceInfo) XXX_Unmarshal(b []byte) error {
952 return xxx_messageInfo_ManagedDeviceInfo.Unmarshal(m, b)
953}
954func (m *ManagedDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
955 return xxx_messageInfo_ManagedDeviceInfo.Marshal(b, m, deterministic)
956}
957func (m *ManagedDeviceInfo) XXX_Merge(src proto.Message) {
958 xxx_messageInfo_ManagedDeviceInfo.Merge(m, src)
959}
960func (m *ManagedDeviceInfo) XXX_Size() int {
961 return xxx_messageInfo_ManagedDeviceInfo.Size(m)
962}
963func (m *ManagedDeviceInfo) XXX_DiscardUnknown() {
964 xxx_messageInfo_ManagedDeviceInfo.DiscardUnknown(m)
965}
966
967var xxx_messageInfo_ManagedDeviceInfo proto.InternalMessageInfo
968
969func (m *ManagedDeviceInfo) GetInfo() *ModifiableComponent {
970 if m != nil {
971 return m.Info
972 }
973 return nil
974}
975
976func (m *ManagedDeviceInfo) GetDeviceUuid() *Uuid {
977 if m != nil {
978 return m.DeviceUuid
979 }
980 return nil
981}
982
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200983type ManagedDevicesResponse struct {
amit.ghosh0c687412021-03-24 19:01:08 +0100984 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
985 Reason ManagedDevicesResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.ManagedDevicesResponse_Reason" json:"reason,omitempty"`
986 Devices []*ManagedDeviceInfo `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
987 XXX_NoUnkeyedLiteral struct{} `json:"-"`
988 XXX_unrecognized []byte `json:"-"`
989 XXX_sizecache int32 `json:"-"`
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200990}
991
992func (m *ManagedDevicesResponse) Reset() { *m = ManagedDevicesResponse{} }
993func (m *ManagedDevicesResponse) String() string { return proto.CompactTextString(m) }
994func (*ManagedDevicesResponse) ProtoMessage() {}
995func (*ManagedDevicesResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100996 return fileDescriptor_eae902e73066286d, []int{10}
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200997}
998
999func (m *ManagedDevicesResponse) XXX_Unmarshal(b []byte) error {
1000 return xxx_messageInfo_ManagedDevicesResponse.Unmarshal(m, b)
1001}
1002func (m *ManagedDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1003 return xxx_messageInfo_ManagedDevicesResponse.Marshal(b, m, deterministic)
1004}
1005func (m *ManagedDevicesResponse) XXX_Merge(src proto.Message) {
1006 xxx_messageInfo_ManagedDevicesResponse.Merge(m, src)
1007}
1008func (m *ManagedDevicesResponse) XXX_Size() int {
1009 return xxx_messageInfo_ManagedDevicesResponse.Size(m)
1010}
1011func (m *ManagedDevicesResponse) XXX_DiscardUnknown() {
1012 xxx_messageInfo_ManagedDevicesResponse.DiscardUnknown(m)
1013}
1014
1015var xxx_messageInfo_ManagedDevicesResponse proto.InternalMessageInfo
1016
amit.ghosh0c687412021-03-24 19:01:08 +01001017func (m *ManagedDevicesResponse) GetStatus() Status {
1018 if m != nil {
1019 return m.Status
1020 }
1021 return Status_UNDEFINED_STATUS
1022}
1023
1024func (m *ManagedDevicesResponse) GetReason() ManagedDevicesResponse_Reason {
1025 if m != nil {
1026 return m.Reason
1027 }
1028 return ManagedDevicesResponse_UNDEFINED_REASON
1029}
1030
1031func (m *ManagedDevicesResponse) GetDevices() []*ManagedDeviceInfo {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001032 if m != nil {
1033 return m.Devices
1034 }
1035 return nil
1036}
1037
amit.ghosh188a84f2020-09-27 20:59:25 +02001038type SetLoggingEndpointRequest struct {
1039 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1040 LoggingEndpoint string `protobuf:"bytes,2,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1041 LoggingProtocol string `protobuf:"bytes,3,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
1042 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1043 XXX_unrecognized []byte `json:"-"`
1044 XXX_sizecache int32 `json:"-"`
1045}
1046
1047func (m *SetLoggingEndpointRequest) Reset() { *m = SetLoggingEndpointRequest{} }
1048func (m *SetLoggingEndpointRequest) String() string { return proto.CompactTextString(m) }
1049func (*SetLoggingEndpointRequest) ProtoMessage() {}
1050func (*SetLoggingEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001051 return fileDescriptor_eae902e73066286d, []int{11}
amit.ghosh188a84f2020-09-27 20:59:25 +02001052}
1053
1054func (m *SetLoggingEndpointRequest) XXX_Unmarshal(b []byte) error {
1055 return xxx_messageInfo_SetLoggingEndpointRequest.Unmarshal(m, b)
1056}
1057func (m *SetLoggingEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1058 return xxx_messageInfo_SetLoggingEndpointRequest.Marshal(b, m, deterministic)
1059}
1060func (m *SetLoggingEndpointRequest) XXX_Merge(src proto.Message) {
1061 xxx_messageInfo_SetLoggingEndpointRequest.Merge(m, src)
1062}
1063func (m *SetLoggingEndpointRequest) XXX_Size() int {
1064 return xxx_messageInfo_SetLoggingEndpointRequest.Size(m)
1065}
1066func (m *SetLoggingEndpointRequest) XXX_DiscardUnknown() {
1067 xxx_messageInfo_SetLoggingEndpointRequest.DiscardUnknown(m)
1068}
1069
1070var xxx_messageInfo_SetLoggingEndpointRequest proto.InternalMessageInfo
1071
1072func (m *SetLoggingEndpointRequest) GetDeviceUuid() *Uuid {
1073 if m != nil {
1074 return m.DeviceUuid
1075 }
1076 return nil
1077}
1078
1079func (m *SetLoggingEndpointRequest) GetLoggingEndpoint() string {
1080 if m != nil {
1081 return m.LoggingEndpoint
1082 }
1083 return ""
1084}
1085
1086func (m *SetLoggingEndpointRequest) GetLoggingProtocol() string {
1087 if m != nil {
1088 return m.LoggingProtocol
1089 }
1090 return ""
1091}
1092
1093type SetRemoteEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001094 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1095 Reason SetRemoteEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetRemoteEndpointResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001096 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001097 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1098 XXX_unrecognized []byte `json:"-"`
1099 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001100}
1101
1102func (m *SetRemoteEndpointResponse) Reset() { *m = SetRemoteEndpointResponse{} }
1103func (m *SetRemoteEndpointResponse) String() string { return proto.CompactTextString(m) }
1104func (*SetRemoteEndpointResponse) ProtoMessage() {}
1105func (*SetRemoteEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001106 return fileDescriptor_eae902e73066286d, []int{12}
amit.ghosh188a84f2020-09-27 20:59:25 +02001107}
1108
1109func (m *SetRemoteEndpointResponse) XXX_Unmarshal(b []byte) error {
1110 return xxx_messageInfo_SetRemoteEndpointResponse.Unmarshal(m, b)
1111}
1112func (m *SetRemoteEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1113 return xxx_messageInfo_SetRemoteEndpointResponse.Marshal(b, m, deterministic)
1114}
1115func (m *SetRemoteEndpointResponse) XXX_Merge(src proto.Message) {
1116 xxx_messageInfo_SetRemoteEndpointResponse.Merge(m, src)
1117}
1118func (m *SetRemoteEndpointResponse) XXX_Size() int {
1119 return xxx_messageInfo_SetRemoteEndpointResponse.Size(m)
1120}
1121func (m *SetRemoteEndpointResponse) XXX_DiscardUnknown() {
1122 xxx_messageInfo_SetRemoteEndpointResponse.DiscardUnknown(m)
1123}
1124
1125var xxx_messageInfo_SetRemoteEndpointResponse proto.InternalMessageInfo
1126
1127func (m *SetRemoteEndpointResponse) GetStatus() Status {
1128 if m != nil {
1129 return m.Status
1130 }
1131 return Status_UNDEFINED_STATUS
1132}
1133
amit.ghoshae473032021-01-10 11:59:10 +01001134func (m *SetRemoteEndpointResponse) GetReason() SetRemoteEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001135 if m != nil {
1136 return m.Reason
1137 }
amit.ghoshae473032021-01-10 11:59:10 +01001138 return SetRemoteEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001139}
1140
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001141func (m *SetRemoteEndpointResponse) GetReasonDetail() string {
1142 if m != nil {
1143 return m.ReasonDetail
1144 }
1145 return ""
1146}
1147
amit.ghosh188a84f2020-09-27 20:59:25 +02001148type GetLoggingEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001149 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1150 Reason GetLoggingEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetLoggingEndpointResponse_Reason" json:"reason,omitempty"`
1151 LoggingEndpoint string `protobuf:"bytes,3,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1152 LoggingProtocol string `protobuf:"bytes,4,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001153 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001154 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1155 XXX_unrecognized []byte `json:"-"`
1156 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001157}
1158
1159func (m *GetLoggingEndpointResponse) Reset() { *m = GetLoggingEndpointResponse{} }
1160func (m *GetLoggingEndpointResponse) String() string { return proto.CompactTextString(m) }
1161func (*GetLoggingEndpointResponse) ProtoMessage() {}
1162func (*GetLoggingEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001163 return fileDescriptor_eae902e73066286d, []int{13}
amit.ghosh188a84f2020-09-27 20:59:25 +02001164}
1165
1166func (m *GetLoggingEndpointResponse) XXX_Unmarshal(b []byte) error {
1167 return xxx_messageInfo_GetLoggingEndpointResponse.Unmarshal(m, b)
1168}
1169func (m *GetLoggingEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1170 return xxx_messageInfo_GetLoggingEndpointResponse.Marshal(b, m, deterministic)
1171}
1172func (m *GetLoggingEndpointResponse) XXX_Merge(src proto.Message) {
1173 xxx_messageInfo_GetLoggingEndpointResponse.Merge(m, src)
1174}
1175func (m *GetLoggingEndpointResponse) XXX_Size() int {
1176 return xxx_messageInfo_GetLoggingEndpointResponse.Size(m)
1177}
1178func (m *GetLoggingEndpointResponse) XXX_DiscardUnknown() {
1179 xxx_messageInfo_GetLoggingEndpointResponse.DiscardUnknown(m)
1180}
1181
1182var xxx_messageInfo_GetLoggingEndpointResponse proto.InternalMessageInfo
1183
1184func (m *GetLoggingEndpointResponse) GetStatus() Status {
1185 if m != nil {
1186 return m.Status
1187 }
1188 return Status_UNDEFINED_STATUS
1189}
1190
amit.ghoshae473032021-01-10 11:59:10 +01001191func (m *GetLoggingEndpointResponse) GetReason() GetLoggingEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001192 if m != nil {
1193 return m.Reason
1194 }
amit.ghoshae473032021-01-10 11:59:10 +01001195 return GetLoggingEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001196}
1197
1198func (m *GetLoggingEndpointResponse) GetLoggingEndpoint() string {
1199 if m != nil {
1200 return m.LoggingEndpoint
1201 }
1202 return ""
1203}
1204
1205func (m *GetLoggingEndpointResponse) GetLoggingProtocol() string {
1206 if m != nil {
1207 return m.LoggingProtocol
1208 }
1209 return ""
1210}
1211
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001212func (m *GetLoggingEndpointResponse) GetReasonDetail() string {
1213 if m != nil {
1214 return m.ReasonDetail
1215 }
1216 return ""
1217}
1218
amit.ghosh188a84f2020-09-27 20:59:25 +02001219type SetMsgBusEndpointRequest struct {
1220 MsgbusEndpoint string `protobuf:"bytes,1,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1221 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1222 XXX_unrecognized []byte `json:"-"`
1223 XXX_sizecache int32 `json:"-"`
1224}
1225
1226func (m *SetMsgBusEndpointRequest) Reset() { *m = SetMsgBusEndpointRequest{} }
1227func (m *SetMsgBusEndpointRequest) String() string { return proto.CompactTextString(m) }
1228func (*SetMsgBusEndpointRequest) ProtoMessage() {}
1229func (*SetMsgBusEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001230 return fileDescriptor_eae902e73066286d, []int{14}
amit.ghosh188a84f2020-09-27 20:59:25 +02001231}
1232
1233func (m *SetMsgBusEndpointRequest) XXX_Unmarshal(b []byte) error {
1234 return xxx_messageInfo_SetMsgBusEndpointRequest.Unmarshal(m, b)
1235}
1236func (m *SetMsgBusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1237 return xxx_messageInfo_SetMsgBusEndpointRequest.Marshal(b, m, deterministic)
1238}
1239func (m *SetMsgBusEndpointRequest) XXX_Merge(src proto.Message) {
1240 xxx_messageInfo_SetMsgBusEndpointRequest.Merge(m, src)
1241}
1242func (m *SetMsgBusEndpointRequest) XXX_Size() int {
1243 return xxx_messageInfo_SetMsgBusEndpointRequest.Size(m)
1244}
1245func (m *SetMsgBusEndpointRequest) XXX_DiscardUnknown() {
1246 xxx_messageInfo_SetMsgBusEndpointRequest.DiscardUnknown(m)
1247}
1248
1249var xxx_messageInfo_SetMsgBusEndpointRequest proto.InternalMessageInfo
1250
1251func (m *SetMsgBusEndpointRequest) GetMsgbusEndpoint() string {
1252 if m != nil {
1253 return m.MsgbusEndpoint
1254 }
1255 return ""
1256}
1257
1258type GetMsgBusEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001259 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1260 Reason GetMsgBusEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetMsgBusEndpointResponse_Reason" json:"reason,omitempty"`
1261 MsgbusEndpoint string `protobuf:"bytes,3,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001262 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001263 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1264 XXX_unrecognized []byte `json:"-"`
1265 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001266}
1267
1268func (m *GetMsgBusEndpointResponse) Reset() { *m = GetMsgBusEndpointResponse{} }
1269func (m *GetMsgBusEndpointResponse) String() string { return proto.CompactTextString(m) }
1270func (*GetMsgBusEndpointResponse) ProtoMessage() {}
1271func (*GetMsgBusEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001272 return fileDescriptor_eae902e73066286d, []int{15}
amit.ghosh188a84f2020-09-27 20:59:25 +02001273}
1274
1275func (m *GetMsgBusEndpointResponse) XXX_Unmarshal(b []byte) error {
1276 return xxx_messageInfo_GetMsgBusEndpointResponse.Unmarshal(m, b)
1277}
1278func (m *GetMsgBusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1279 return xxx_messageInfo_GetMsgBusEndpointResponse.Marshal(b, m, deterministic)
1280}
1281func (m *GetMsgBusEndpointResponse) XXX_Merge(src proto.Message) {
1282 xxx_messageInfo_GetMsgBusEndpointResponse.Merge(m, src)
1283}
1284func (m *GetMsgBusEndpointResponse) XXX_Size() int {
1285 return xxx_messageInfo_GetMsgBusEndpointResponse.Size(m)
1286}
1287func (m *GetMsgBusEndpointResponse) XXX_DiscardUnknown() {
1288 xxx_messageInfo_GetMsgBusEndpointResponse.DiscardUnknown(m)
1289}
1290
1291var xxx_messageInfo_GetMsgBusEndpointResponse proto.InternalMessageInfo
1292
1293func (m *GetMsgBusEndpointResponse) GetStatus() Status {
1294 if m != nil {
1295 return m.Status
1296 }
1297 return Status_UNDEFINED_STATUS
1298}
1299
amit.ghoshae473032021-01-10 11:59:10 +01001300func (m *GetMsgBusEndpointResponse) GetReason() GetMsgBusEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001301 if m != nil {
1302 return m.Reason
1303 }
amit.ghoshae473032021-01-10 11:59:10 +01001304 return GetMsgBusEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001305}
1306
1307func (m *GetMsgBusEndpointResponse) GetMsgbusEndpoint() string {
1308 if m != nil {
1309 return m.MsgbusEndpoint
1310 }
1311 return ""
1312}
1313
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001314func (m *GetMsgBusEndpointResponse) GetReasonDetail() string {
1315 if m != nil {
1316 return m.ReasonDetail
1317 }
1318 return ""
1319}
1320
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001321type EntitiesLogLevel struct {
1322 LogLevel LogLevel `protobuf:"varint,1,opt,name=logLevel,proto3,enum=dmi.LogLevel" json:"logLevel,omitempty"`
1323 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1324 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1325 XXX_unrecognized []byte `json:"-"`
1326 XXX_sizecache int32 `json:"-"`
1327}
1328
1329func (m *EntitiesLogLevel) Reset() { *m = EntitiesLogLevel{} }
1330func (m *EntitiesLogLevel) String() string { return proto.CompactTextString(m) }
1331func (*EntitiesLogLevel) ProtoMessage() {}
1332func (*EntitiesLogLevel) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001333 return fileDescriptor_eae902e73066286d, []int{16}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001334}
1335
1336func (m *EntitiesLogLevel) XXX_Unmarshal(b []byte) error {
1337 return xxx_messageInfo_EntitiesLogLevel.Unmarshal(m, b)
1338}
1339func (m *EntitiesLogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1340 return xxx_messageInfo_EntitiesLogLevel.Marshal(b, m, deterministic)
1341}
1342func (m *EntitiesLogLevel) XXX_Merge(src proto.Message) {
1343 xxx_messageInfo_EntitiesLogLevel.Merge(m, src)
1344}
1345func (m *EntitiesLogLevel) XXX_Size() int {
1346 return xxx_messageInfo_EntitiesLogLevel.Size(m)
1347}
1348func (m *EntitiesLogLevel) XXX_DiscardUnknown() {
1349 xxx_messageInfo_EntitiesLogLevel.DiscardUnknown(m)
1350}
1351
1352var xxx_messageInfo_EntitiesLogLevel proto.InternalMessageInfo
1353
1354func (m *EntitiesLogLevel) GetLogLevel() LogLevel {
1355 if m != nil {
1356 return m.LogLevel
1357 }
1358 return LogLevel_TRACE
1359}
1360
1361func (m *EntitiesLogLevel) GetEntities() []string {
1362 if m != nil {
1363 return m.Entities
1364 }
1365 return nil
1366}
1367
1368type SetLogLevelRequest struct {
1369 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1370 Loglevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=loglevels,proto3" json:"loglevels,omitempty"`
1371 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1372 XXX_unrecognized []byte `json:"-"`
1373 XXX_sizecache int32 `json:"-"`
1374}
1375
1376func (m *SetLogLevelRequest) Reset() { *m = SetLogLevelRequest{} }
1377func (m *SetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1378func (*SetLogLevelRequest) ProtoMessage() {}
1379func (*SetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001380 return fileDescriptor_eae902e73066286d, []int{17}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001381}
1382
1383func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1384 return xxx_messageInfo_SetLogLevelRequest.Unmarshal(m, b)
1385}
1386func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1387 return xxx_messageInfo_SetLogLevelRequest.Marshal(b, m, deterministic)
1388}
1389func (m *SetLogLevelRequest) XXX_Merge(src proto.Message) {
1390 xxx_messageInfo_SetLogLevelRequest.Merge(m, src)
1391}
1392func (m *SetLogLevelRequest) XXX_Size() int {
1393 return xxx_messageInfo_SetLogLevelRequest.Size(m)
1394}
1395func (m *SetLogLevelRequest) XXX_DiscardUnknown() {
1396 xxx_messageInfo_SetLogLevelRequest.DiscardUnknown(m)
1397}
1398
1399var xxx_messageInfo_SetLogLevelRequest proto.InternalMessageInfo
1400
1401func (m *SetLogLevelRequest) GetDeviceUuid() *Uuid {
1402 if m != nil {
1403 return m.DeviceUuid
1404 }
1405 return nil
1406}
1407
1408func (m *SetLogLevelRequest) GetLoglevels() []*EntitiesLogLevel {
1409 if m != nil {
1410 return m.Loglevels
1411 }
1412 return nil
1413}
1414
1415type SetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001416 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1417 Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1418 Reason SetLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.SetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001419 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001420 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1421 XXX_unrecognized []byte `json:"-"`
1422 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001423}
1424
1425func (m *SetLogLevelResponse) Reset() { *m = SetLogLevelResponse{} }
1426func (m *SetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1427func (*SetLogLevelResponse) ProtoMessage() {}
1428func (*SetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001429 return fileDescriptor_eae902e73066286d, []int{18}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001430}
1431
1432func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1433 return xxx_messageInfo_SetLogLevelResponse.Unmarshal(m, b)
1434}
1435func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1436 return xxx_messageInfo_SetLogLevelResponse.Marshal(b, m, deterministic)
1437}
1438func (m *SetLogLevelResponse) XXX_Merge(src proto.Message) {
1439 xxx_messageInfo_SetLogLevelResponse.Merge(m, src)
1440}
1441func (m *SetLogLevelResponse) XXX_Size() int {
1442 return xxx_messageInfo_SetLogLevelResponse.Size(m)
1443}
1444func (m *SetLogLevelResponse) XXX_DiscardUnknown() {
1445 xxx_messageInfo_SetLogLevelResponse.DiscardUnknown(m)
1446}
1447
1448var xxx_messageInfo_SetLogLevelResponse proto.InternalMessageInfo
1449
amit.ghosh5d97dba2020-11-12 16:45:27 +01001450func (m *SetLogLevelResponse) GetDeviceUuid() *Uuid {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001451 if m != nil {
1452 return m.DeviceUuid
1453 }
1454 return nil
1455}
1456
amit.ghosh5d97dba2020-11-12 16:45:27 +01001457func (m *SetLogLevelResponse) GetStatus() Status {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001458 if m != nil {
1459 return m.Status
1460 }
1461 return Status_UNDEFINED_STATUS
1462}
1463
amit.ghoshae473032021-01-10 11:59:10 +01001464func (m *SetLogLevelResponse) GetReason() SetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001465 if m != nil {
1466 return m.Reason
1467 }
amit.ghoshae473032021-01-10 11:59:10 +01001468 return SetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001469}
1470
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001471func (m *SetLogLevelResponse) GetReasonDetail() string {
1472 if m != nil {
1473 return m.ReasonDetail
1474 }
1475 return ""
1476}
1477
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001478type GetLogLevelRequest struct {
1479 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1480 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1481 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1482 XXX_unrecognized []byte `json:"-"`
1483 XXX_sizecache int32 `json:"-"`
1484}
1485
1486func (m *GetLogLevelRequest) Reset() { *m = GetLogLevelRequest{} }
1487func (m *GetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1488func (*GetLogLevelRequest) ProtoMessage() {}
1489func (*GetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001490 return fileDescriptor_eae902e73066286d, []int{19}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001491}
1492
1493func (m *GetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1494 return xxx_messageInfo_GetLogLevelRequest.Unmarshal(m, b)
1495}
1496func (m *GetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1497 return xxx_messageInfo_GetLogLevelRequest.Marshal(b, m, deterministic)
1498}
1499func (m *GetLogLevelRequest) XXX_Merge(src proto.Message) {
1500 xxx_messageInfo_GetLogLevelRequest.Merge(m, src)
1501}
1502func (m *GetLogLevelRequest) XXX_Size() int {
1503 return xxx_messageInfo_GetLogLevelRequest.Size(m)
1504}
1505func (m *GetLogLevelRequest) XXX_DiscardUnknown() {
1506 xxx_messageInfo_GetLogLevelRequest.DiscardUnknown(m)
1507}
1508
1509var xxx_messageInfo_GetLogLevelRequest proto.InternalMessageInfo
1510
1511func (m *GetLogLevelRequest) GetDeviceUuid() *Uuid {
1512 if m != nil {
1513 return m.DeviceUuid
1514 }
1515 return nil
1516}
1517
1518func (m *GetLogLevelRequest) GetEntities() []string {
1519 if m != nil {
1520 return m.Entities
1521 }
1522 return nil
1523}
1524
1525type GetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001526 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1527 LogLevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=logLevels,proto3" json:"logLevels,omitempty"`
1528 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1529 Reason GetLogLevelResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.GetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001530 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001531 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1532 XXX_unrecognized []byte `json:"-"`
1533 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001534}
1535
1536func (m *GetLogLevelResponse) Reset() { *m = GetLogLevelResponse{} }
1537func (m *GetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1538func (*GetLogLevelResponse) ProtoMessage() {}
1539func (*GetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001540 return fileDescriptor_eae902e73066286d, []int{20}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001541}
1542
1543func (m *GetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1544 return xxx_messageInfo_GetLogLevelResponse.Unmarshal(m, b)
1545}
1546func (m *GetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1547 return xxx_messageInfo_GetLogLevelResponse.Marshal(b, m, deterministic)
1548}
1549func (m *GetLogLevelResponse) XXX_Merge(src proto.Message) {
1550 xxx_messageInfo_GetLogLevelResponse.Merge(m, src)
1551}
1552func (m *GetLogLevelResponse) XXX_Size() int {
1553 return xxx_messageInfo_GetLogLevelResponse.Size(m)
1554}
1555func (m *GetLogLevelResponse) XXX_DiscardUnknown() {
1556 xxx_messageInfo_GetLogLevelResponse.DiscardUnknown(m)
1557}
1558
1559var xxx_messageInfo_GetLogLevelResponse proto.InternalMessageInfo
1560
1561func (m *GetLogLevelResponse) GetDeviceUuid() *Uuid {
1562 if m != nil {
1563 return m.DeviceUuid
1564 }
1565 return nil
1566}
1567
1568func (m *GetLogLevelResponse) GetLogLevels() []*EntitiesLogLevel {
1569 if m != nil {
1570 return m.LogLevels
1571 }
1572 return nil
1573}
1574
1575func (m *GetLogLevelResponse) GetStatus() Status {
1576 if m != nil {
1577 return m.Status
1578 }
1579 return Status_UNDEFINED_STATUS
1580}
1581
amit.ghoshae473032021-01-10 11:59:10 +01001582func (m *GetLogLevelResponse) GetReason() GetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001583 if m != nil {
1584 return m.Reason
1585 }
amit.ghoshae473032021-01-10 11:59:10 +01001586 return GetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001587}
1588
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001589func (m *GetLogLevelResponse) GetReasonDetail() string {
1590 if m != nil {
1591 return m.ReasonDetail
1592 }
1593 return ""
1594}
1595
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001596type GetLoggableEntitiesRequest struct {
1597 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1598 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1599 XXX_unrecognized []byte `json:"-"`
1600 XXX_sizecache int32 `json:"-"`
1601}
1602
1603func (m *GetLoggableEntitiesRequest) Reset() { *m = GetLoggableEntitiesRequest{} }
1604func (m *GetLoggableEntitiesRequest) String() string { return proto.CompactTextString(m) }
1605func (*GetLoggableEntitiesRequest) ProtoMessage() {}
1606func (*GetLoggableEntitiesRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001607 return fileDescriptor_eae902e73066286d, []int{21}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001608}
1609
1610func (m *GetLoggableEntitiesRequest) XXX_Unmarshal(b []byte) error {
1611 return xxx_messageInfo_GetLoggableEntitiesRequest.Unmarshal(m, b)
1612}
1613func (m *GetLoggableEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1614 return xxx_messageInfo_GetLoggableEntitiesRequest.Marshal(b, m, deterministic)
1615}
1616func (m *GetLoggableEntitiesRequest) XXX_Merge(src proto.Message) {
1617 xxx_messageInfo_GetLoggableEntitiesRequest.Merge(m, src)
1618}
1619func (m *GetLoggableEntitiesRequest) XXX_Size() int {
1620 return xxx_messageInfo_GetLoggableEntitiesRequest.Size(m)
1621}
1622func (m *GetLoggableEntitiesRequest) XXX_DiscardUnknown() {
1623 xxx_messageInfo_GetLoggableEntitiesRequest.DiscardUnknown(m)
1624}
1625
1626var xxx_messageInfo_GetLoggableEntitiesRequest proto.InternalMessageInfo
1627
1628func (m *GetLoggableEntitiesRequest) GetDeviceUuid() *Uuid {
1629 if m != nil {
1630 return m.DeviceUuid
1631 }
1632 return nil
1633}
1634
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301635type Heartbeat struct {
1636 HeartbeatSignature uint32 `protobuf:"fixed32,1,opt,name=heartbeat_signature,json=heartbeatSignature,proto3" json:"heartbeat_signature,omitempty"`
1637 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1638 XXX_unrecognized []byte `json:"-"`
1639 XXX_sizecache int32 `json:"-"`
1640}
1641
1642func (m *Heartbeat) Reset() { *m = Heartbeat{} }
1643func (m *Heartbeat) String() string { return proto.CompactTextString(m) }
1644func (*Heartbeat) ProtoMessage() {}
1645func (*Heartbeat) Descriptor() ([]byte, []int) {
1646 return fileDescriptor_eae902e73066286d, []int{22}
1647}
1648
1649func (m *Heartbeat) XXX_Unmarshal(b []byte) error {
1650 return xxx_messageInfo_Heartbeat.Unmarshal(m, b)
1651}
1652func (m *Heartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1653 return xxx_messageInfo_Heartbeat.Marshal(b, m, deterministic)
1654}
1655func (m *Heartbeat) XXX_Merge(src proto.Message) {
1656 xxx_messageInfo_Heartbeat.Merge(m, src)
1657}
1658func (m *Heartbeat) XXX_Size() int {
1659 return xxx_messageInfo_Heartbeat.Size(m)
1660}
1661func (m *Heartbeat) XXX_DiscardUnknown() {
1662 xxx_messageInfo_Heartbeat.DiscardUnknown(m)
1663}
1664
1665var xxx_messageInfo_Heartbeat proto.InternalMessageInfo
1666
1667func (m *Heartbeat) GetHeartbeatSignature() uint32 {
1668 if m != nil {
1669 return m.HeartbeatSignature
1670 }
1671 return 0
1672}
1673
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301674type RebootDeviceRequest struct {
1675 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1676 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1677 XXX_unrecognized []byte `json:"-"`
1678 XXX_sizecache int32 `json:"-"`
1679}
1680
1681func (m *RebootDeviceRequest) Reset() { *m = RebootDeviceRequest{} }
1682func (m *RebootDeviceRequest) String() string { return proto.CompactTextString(m) }
1683func (*RebootDeviceRequest) ProtoMessage() {}
1684func (*RebootDeviceRequest) Descriptor() ([]byte, []int) {
1685 return fileDescriptor_eae902e73066286d, []int{23}
1686}
1687
1688func (m *RebootDeviceRequest) XXX_Unmarshal(b []byte) error {
1689 return xxx_messageInfo_RebootDeviceRequest.Unmarshal(m, b)
1690}
1691func (m *RebootDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1692 return xxx_messageInfo_RebootDeviceRequest.Marshal(b, m, deterministic)
1693}
1694func (m *RebootDeviceRequest) XXX_Merge(src proto.Message) {
1695 xxx_messageInfo_RebootDeviceRequest.Merge(m, src)
1696}
1697func (m *RebootDeviceRequest) XXX_Size() int {
1698 return xxx_messageInfo_RebootDeviceRequest.Size(m)
1699}
1700func (m *RebootDeviceRequest) XXX_DiscardUnknown() {
1701 xxx_messageInfo_RebootDeviceRequest.DiscardUnknown(m)
1702}
1703
1704var xxx_messageInfo_RebootDeviceRequest proto.InternalMessageInfo
1705
1706func (m *RebootDeviceRequest) GetDeviceUuid() *Uuid {
1707 if m != nil {
1708 return m.DeviceUuid
1709 }
1710 return nil
1711}
1712
1713type RebootDeviceResponse struct {
1714 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1715 Reason RebootDeviceResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.RebootDeviceResponse_Reason" json:"reason,omitempty"`
1716 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1717 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1718 XXX_unrecognized []byte `json:"-"`
1719 XXX_sizecache int32 `json:"-"`
1720}
1721
1722func (m *RebootDeviceResponse) Reset() { *m = RebootDeviceResponse{} }
1723func (m *RebootDeviceResponse) String() string { return proto.CompactTextString(m) }
1724func (*RebootDeviceResponse) ProtoMessage() {}
1725func (*RebootDeviceResponse) Descriptor() ([]byte, []int) {
1726 return fileDescriptor_eae902e73066286d, []int{24}
1727}
1728
1729func (m *RebootDeviceResponse) XXX_Unmarshal(b []byte) error {
1730 return xxx_messageInfo_RebootDeviceResponse.Unmarshal(m, b)
1731}
1732func (m *RebootDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1733 return xxx_messageInfo_RebootDeviceResponse.Marshal(b, m, deterministic)
1734}
1735func (m *RebootDeviceResponse) XXX_Merge(src proto.Message) {
1736 xxx_messageInfo_RebootDeviceResponse.Merge(m, src)
1737}
1738func (m *RebootDeviceResponse) XXX_Size() int {
1739 return xxx_messageInfo_RebootDeviceResponse.Size(m)
1740}
1741func (m *RebootDeviceResponse) XXX_DiscardUnknown() {
1742 xxx_messageInfo_RebootDeviceResponse.DiscardUnknown(m)
1743}
1744
1745var xxx_messageInfo_RebootDeviceResponse proto.InternalMessageInfo
1746
1747func (m *RebootDeviceResponse) GetStatus() Status {
1748 if m != nil {
1749 return m.Status
1750 }
1751 return Status_UNDEFINED_STATUS
1752}
1753
1754func (m *RebootDeviceResponse) GetReason() RebootDeviceResponse_Reason {
1755 if m != nil {
1756 return m.Reason
1757 }
1758 return RebootDeviceResponse_UNDEFINED_REASON
1759}
1760
1761func (m *RebootDeviceResponse) GetReasonDetail() string {
1762 if m != nil {
1763 return m.ReasonDetail
1764 }
1765 return ""
1766}
1767
Amit Ghosh09f28362020-06-12 21:52:19 +01001768func init() {
amit.ghoshae473032021-01-10 11:59:10 +01001769 proto.RegisterEnum("dmi.PhysicalInventoryResponse_Reason", PhysicalInventoryResponse_Reason_name, PhysicalInventoryResponse_Reason_value)
1770 proto.RegisterEnum("dmi.HWComponentInfoGetResponse_Reason", HWComponentInfoGetResponse_Reason_name, HWComponentInfoGetResponse_Reason_value)
1771 proto.RegisterEnum("dmi.HWComponentInfoSetResponse_Reason", HWComponentInfoSetResponse_Reason_name, HWComponentInfoSetResponse_Reason_value)
1772 proto.RegisterEnum("dmi.StartManagingDeviceResponse_Reason", StartManagingDeviceResponse_Reason_name, StartManagingDeviceResponse_Reason_value)
1773 proto.RegisterEnum("dmi.StopManagingDeviceResponse_Reason", StopManagingDeviceResponse_Reason_name, StopManagingDeviceResponse_Reason_value)
amit.ghosh0c687412021-03-24 19:01:08 +01001774 proto.RegisterEnum("dmi.ManagedDevicesResponse_Reason", ManagedDevicesResponse_Reason_name, ManagedDevicesResponse_Reason_value)
amit.ghoshae473032021-01-10 11:59:10 +01001775 proto.RegisterEnum("dmi.SetRemoteEndpointResponse_Reason", SetRemoteEndpointResponse_Reason_name, SetRemoteEndpointResponse_Reason_value)
1776 proto.RegisterEnum("dmi.GetLoggingEndpointResponse_Reason", GetLoggingEndpointResponse_Reason_name, GetLoggingEndpointResponse_Reason_value)
1777 proto.RegisterEnum("dmi.GetMsgBusEndpointResponse_Reason", GetMsgBusEndpointResponse_Reason_name, GetMsgBusEndpointResponse_Reason_value)
1778 proto.RegisterEnum("dmi.SetLogLevelResponse_Reason", SetLogLevelResponse_Reason_name, SetLogLevelResponse_Reason_value)
1779 proto.RegisterEnum("dmi.GetLogLevelResponse_Reason", GetLogLevelResponse_Reason_name, GetLogLevelResponse_Reason_value)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301780 proto.RegisterEnum("dmi.RebootDeviceResponse_Reason", RebootDeviceResponse_Reason_name, RebootDeviceResponse_Reason_value)
Amit Ghosh09f28362020-06-12 21:52:19 +01001781 proto.RegisterType((*PhysicalInventoryRequest)(nil), "dmi.PhysicalInventoryRequest")
1782 proto.RegisterType((*PhysicalInventoryResponse)(nil), "dmi.PhysicalInventoryResponse")
1783 proto.RegisterType((*HWComponentInfoGetRequest)(nil), "dmi.HWComponentInfoGetRequest")
aghoshc301dcd2020-09-03 16:55:34 +01001784 proto.RegisterType((*HWComponentInfoGetResponse)(nil), "dmi.HWComponentInfoGetResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001785 proto.RegisterType((*HWComponentInfoSetRequest)(nil), "dmi.HWComponentInfoSetRequest")
1786 proto.RegisterType((*HWComponentInfoSetResponse)(nil), "dmi.HWComponentInfoSetResponse")
1787 proto.RegisterType((*StartManagingDeviceResponse)(nil), "dmi.StartManagingDeviceResponse")
Amit Ghosh366228e2020-07-06 13:46:42 +01001788 proto.RegisterType((*StopManagingDeviceRequest)(nil), "dmi.StopManagingDeviceRequest")
1789 proto.RegisterType((*StopManagingDeviceResponse)(nil), "dmi.StopManagingDeviceResponse")
amit.ghosh0c687412021-03-24 19:01:08 +01001790 proto.RegisterType((*ManagedDeviceInfo)(nil), "dmi.ManagedDeviceInfo")
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001791 proto.RegisterType((*ManagedDevicesResponse)(nil), "dmi.ManagedDevicesResponse")
amit.ghosh188a84f2020-09-27 20:59:25 +02001792 proto.RegisterType((*SetLoggingEndpointRequest)(nil), "dmi.SetLoggingEndpointRequest")
1793 proto.RegisterType((*SetRemoteEndpointResponse)(nil), "dmi.SetRemoteEndpointResponse")
1794 proto.RegisterType((*GetLoggingEndpointResponse)(nil), "dmi.GetLoggingEndpointResponse")
1795 proto.RegisterType((*SetMsgBusEndpointRequest)(nil), "dmi.SetMsgBusEndpointRequest")
1796 proto.RegisterType((*GetMsgBusEndpointResponse)(nil), "dmi.GetMsgBusEndpointResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001797 proto.RegisterType((*EntitiesLogLevel)(nil), "dmi.EntitiesLogLevel")
1798 proto.RegisterType((*SetLogLevelRequest)(nil), "dmi.SetLogLevelRequest")
1799 proto.RegisterType((*SetLogLevelResponse)(nil), "dmi.SetLogLevelResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001800 proto.RegisterType((*GetLogLevelRequest)(nil), "dmi.GetLogLevelRequest")
1801 proto.RegisterType((*GetLogLevelResponse)(nil), "dmi.GetLogLevelResponse")
1802 proto.RegisterType((*GetLoggableEntitiesRequest)(nil), "dmi.GetLoggableEntitiesRequest")
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301803 proto.RegisterType((*Heartbeat)(nil), "dmi.Heartbeat")
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301804 proto.RegisterType((*RebootDeviceRequest)(nil), "dmi.RebootDeviceRequest")
1805 proto.RegisterType((*RebootDeviceResponse)(nil), "dmi.RebootDeviceResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001806}
1807
1808func init() { proto.RegisterFile("dmi/hw_management_service.proto", fileDescriptor_eae902e73066286d) }
1809
1810var fileDescriptor_eae902e73066286d = []byte{
amit.ghoshdd12d882022-07-01 12:32:36 +02001811 // 1610 bytes of a gzipped FileDescriptorProto
1812 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4f, 0x6f, 0xdb, 0x46,
1813 0x16, 0x5f, 0x51, 0xb2, 0x13, 0x3d, 0x27, 0xb6, 0x3c, 0x4e, 0x1c, 0x89, 0x41, 0x6c, 0x2f, 0x83,
1814 0x6c, 0x9c, 0xdd, 0x44, 0x32, 0x94, 0xc3, 0x66, 0xff, 0x2f, 0x2d, 0xd1, 0x14, 0x13, 0x89, 0x14,
1815 0x86, 0x52, 0x8c, 0x2c, 0x16, 0x4b, 0xd0, 0xd2, 0x58, 0x26, 0x56, 0x24, 0xb5, 0x22, 0xe5, 0xc0,
1816 0x1f, 0x63, 0x0f, 0x3d, 0xf4, 0xd0, 0xa2, 0x9f, 0xa0, 0x40, 0xaf, 0x41, 0xef, 0x3d, 0xf4, 0xda,
1817 0x63, 0x81, 0xa2, 0x1f, 0xa1, 0xfd, 0x04, 0x85, 0x38, 0xa4, 0xfe, 0x50, 0xa4, 0x64, 0xcb, 0x09,
1818 0x9a, 0x9b, 0x38, 0xf3, 0xe6, 0x37, 0x6f, 0xde, 0xef, 0xcd, 0x7b, 0x6f, 0x9e, 0x60, 0xb7, 0x6d,
1819 0x1a, 0x85, 0xb3, 0xb7, 0x9a, 0xa9, 0x5b, 0x7a, 0x87, 0x98, 0xc4, 0x72, 0x35, 0x87, 0xf4, 0xcf,
1820 0x8d, 0x16, 0xc9, 0xf7, 0xfa, 0xb6, 0x6b, 0xa3, 0x64, 0xdb, 0x34, 0xd8, 0xcd, 0xa1, 0x54, 0xcb,
1821 0x36, 0x4d, 0xdb, 0x72, 0xe8, 0x38, 0x7b, 0x8b, 0x2e, 0xf4, 0xbf, 0xee, 0x77, 0x6c, 0xbb, 0xd3,
1822 0x25, 0x05, 0xef, 0xeb, 0x64, 0x70, 0x5a, 0x20, 0x66, 0xcf, 0xbd, 0xa0, 0x93, 0xdc, 0x11, 0x64,
1823 0xeb, 0x67, 0x17, 0x8e, 0xd1, 0xd2, 0xbb, 0x92, 0x75, 0x4e, 0x2c, 0xd7, 0xee, 0x5f, 0x60, 0xf2,
1824 0xbf, 0x01, 0x71, 0x5c, 0xf4, 0x7b, 0x58, 0x6b, 0x93, 0xe1, 0x76, 0xda, 0x60, 0x60, 0xb4, 0xb3,
1825 0x89, 0xbd, 0xc4, 0xfe, 0x5a, 0x31, 0x9d, 0x6f, 0x9b, 0x46, 0xbe, 0x39, 0x30, 0xda, 0x18, 0xe8,
1826 0xec, 0xf0, 0x37, 0xf7, 0x15, 0x03, 0xb9, 0x08, 0x20, 0xa7, 0x67, 0x5b, 0x0e, 0x41, 0x0f, 0x61,
1827 0xd5, 0x71, 0x75, 0x77, 0xe0, 0x78, 0x20, 0xeb, 0xc5, 0x35, 0x0f, 0x44, 0xf5, 0x86, 0xb0, 0x3f,
1828 0x85, 0xfe, 0x06, 0xab, 0x7d, 0xa2, 0x3b, 0xb6, 0x95, 0x65, 0x3c, 0xa1, 0x47, 0x9e, 0x50, 0x2c,
1829 0x68, 0x1e, 0x7b, 0xc2, 0xd8, 0x5f, 0x84, 0xfe, 0x00, 0x69, 0x23, 0x90, 0xc9, 0x26, 0x3d, 0x5d,
1830 0x6f, 0x7b, 0x08, 0x15, 0xbd, 0xdf, 0x7e, 0xab, 0xf7, 0x09, 0x1e, 0xcf, 0xa3, 0x87, 0x70, 0x9b,
1831 0x2e, 0xd3, 0xda, 0xc4, 0xd5, 0x8d, 0x6e, 0x36, 0xb5, 0x97, 0xd8, 0x4f, 0xe3, 0x5b, 0x74, 0xb0,
1832 0xec, 0x8d, 0x71, 0xff, 0x81, 0x55, 0xba, 0x07, 0xba, 0x03, 0x99, 0xa6, 0x5c, 0x16, 0x8e, 0x24,
1833 0x59, 0x28, 0x6b, 0x58, 0xe0, 0x55, 0x45, 0xce, 0xfc, 0x06, 0x21, 0x58, 0x6f, 0xca, 0xaf, 0x64,
1834 0xe5, 0x58, 0xd6, 0xca, 0xc2, 0x6b, 0xa9, 0x24, 0x64, 0x12, 0xc3, 0x31, 0x49, 0x6e, 0x08, 0x58,
1835 0xe6, 0xab, 0x9a, 0x80, 0xb1, 0x82, 0x33, 0x0c, 0xda, 0x06, 0x44, 0xe7, 0xb5, 0xa6, 0x8c, 0x05,
1836 0xbe, 0x54, 0xe1, 0x0f, 0xab, 0x42, 0x26, 0xc9, 0x7d, 0x91, 0x80, 0x5c, 0xe5, 0xb8, 0x64, 0x9b,
1837 0x3d, 0xdb, 0x22, 0x96, 0x2b, 0x59, 0xa7, 0xb6, 0x48, 0xdc, 0x25, 0xac, 0x8f, 0x0e, 0x60, 0xbd,
1838 0x15, 0xc0, 0x50, 0x71, 0x26, 0x2c, 0x7e, 0x7b, 0x24, 0xe0, 0xad, 0x78, 0x34, 0xb9, 0xc2, 0xd2,
1839 0x4d, 0xe2, 0x99, 0x2c, 0x3d, 0x21, 0x26, 0xeb, 0x26, 0xe1, 0xbe, 0x65, 0x80, 0x8d, 0x52, 0xf1,
1840 0x2a, 0xbc, 0xfe, 0x3d, 0xc4, 0xeb, 0xef, 0x28, 0x2b, 0xb1, 0xa8, 0x61, 0x62, 0x9f, 0x42, 0x7a,
1841 0xa4, 0x94, 0x4f, 0xec, 0xba, 0x07, 0x31, 0x02, 0xc0, 0x63, 0x81, 0xcb, 0x31, 0x3b, 0x58, 0x82,
1842 0xd9, 0xbb, 0xb0, 0x19, 0x8c, 0x95, 0x94, 0x5a, 0x5d, 0x91, 0x05, 0xb9, 0x91, 0x61, 0x22, 0x08,
1843 0x4f, 0xc6, 0x10, 0x9e, 0xe2, 0xbe, 0x9b, 0x25, 0x5c, 0xfd, 0xb8, 0x08, 0x47, 0x45, 0xb8, 0xd1,
1844 0x3a, 0xd3, 0xad, 0x0e, 0x71, 0x3c, 0xc3, 0xad, 0x15, 0xb3, 0x1e, 0x62, 0xcd, 0x6e, 0x1b, 0xa7,
1845 0x86, 0x7e, 0xd2, 0x25, 0x63, 0xa3, 0x07, 0x82, 0xdc, 0x37, 0xb3, 0x4e, 0xa2, 0x7e, 0x10, 0x27,
1846 0x51, 0xe3, 0x9d, 0x64, 0x86, 0xf6, 0x64, 0x04, 0xed, 0x9f, 0x27, 0xde, 0x33, 0xef, 0xaf, 0xf9,
1847 0xaa, 0x54, 0xd6, 0xea, 0x3c, 0xe6, 0x6b, 0x6a, 0x26, 0x19, 0xe1, 0x0b, 0xa9, 0x18, 0x5f, 0x58,
1848 0x41, 0x5b, 0xb0, 0xa1, 0x0a, 0x0d, 0xad, 0x29, 0xab, 0xcd, 0x7a, 0x5d, 0xc1, 0x0d, 0xa1, 0x9c,
1849 0x59, 0xe5, 0xfe, 0x9f, 0x84, 0xfb, 0xaa, 0xab, 0xf7, 0xdd, 0xda, 0x30, 0xe4, 0x1b, 0x56, 0xa7,
1850 0xec, 0x51, 0x7e, 0x35, 0x53, 0xfe, 0x23, 0x64, 0xca, 0xc7, 0x81, 0x50, 0x1c, 0x6c, 0xd8, 0x96,
1851 0x21, 0x47, 0x4c, 0xce, 0x73, 0xc4, 0x4b, 0x5d, 0xb7, 0x77, 0x8b, 0xec, 0xce, 0xc2, 0xb6, 0x6f,
1852 0x24, 0xbe, 0x8a, 0x05, 0xbe, 0xfc, 0x46, 0xab, 0xf1, 0x32, 0x2f, 0x0a, 0xe5, 0x4c, 0x02, 0xfd,
1853 0x16, 0x1e, 0x28, 0x75, 0x01, 0xf3, 0x0d, 0x49, 0x91, 0x47, 0xd3, 0x92, 0xac, 0xd5, 0xb1, 0x22,
1854 0x62, 0x41, 0x55, 0xaf, 0xc0, 0x05, 0x0b, 0xdb, 0x7c, 0xb3, 0x51, 0x11, 0xe4, 0x86, 0x54, 0xa2,
1855 0x78, 0x47, 0xbc, 0x54, 0x6d, 0xe2, 0x21, 0x1f, 0xf7, 0x60, 0x4b, 0x92, 0x87, 0x04, 0xf3, 0x0d,
1856 0xe9, 0xb0, 0x2a, 0x04, 0xfc, 0xaf, 0x72, 0x05, 0xc8, 0xa9, 0xae, 0xdd, 0x0b, 0x9b, 0x8e, 0xde,
1857 0x59, 0x04, 0x29, 0xef, 0x2e, 0x25, 0xbc, 0x53, 0x7b, 0xbf, 0xb9, 0x9f, 0x13, 0xc0, 0x46, 0xad,
1858 0xb8, 0xfe, 0x75, 0x88, 0x47, 0x5d, 0xea, 0x3a, 0xbc, 0x5c, 0xe2, 0x36, 0x44, 0xbb, 0x33, 0xc3,
1859 0x99, 0xb0, 0xe9, 0x69, 0x46, 0xda, 0x54, 0xb1, 0xe1, 0x75, 0x45, 0x4f, 0x21, 0x65, 0x58, 0xa7,
1860 0xb6, 0x1f, 0xca, 0xe2, 0x23, 0x89, 0x27, 0x15, 0x76, 0x3b, 0x66, 0x5e, 0xb9, 0xf1, 0x43, 0x02,
1861 0xb6, 0xa7, 0xf6, 0x73, 0xae, 0x66, 0xdf, 0x3f, 0x87, 0xec, 0xcb, 0x51, 0xdd, 0x22, 0x11, 0xc3,
1862 0xb6, 0x3d, 0x80, 0x1b, 0x54, 0x13, 0x27, 0x9b, 0xdc, 0x4b, 0xee, 0xaf, 0x15, 0xb7, 0x67, 0x17,
1863 0x0f, 0x8f, 0x8f, 0x03, 0x31, 0xae, 0xb8, 0xd8, 0xd0, 0x21, 0x5f, 0x4d, 0x70, 0x9f, 0x25, 0x20,
1864 0xa7, 0x12, 0xb7, 0x6a, 0x77, 0x86, 0x6c, 0x0b, 0x56, 0xbb, 0x67, 0x1b, 0xd6, 0x52, 0xb9, 0xe2,
1865 0x09, 0x64, 0xba, 0x14, 0x45, 0x23, 0x3e, 0x8c, 0x77, 0xea, 0x34, 0xde, 0xe8, 0x4e, 0xa3, 0x4f,
1866 0x8a, 0x7a, 0xe5, 0x61, 0xcb, 0x0e, 0x3c, 0x27, 0x10, 0xad, 0xfb, 0xc3, 0xdc, 0x8f, 0x8c, 0xa7,
1867 0x1f, 0x26, 0xa6, 0xed, 0x92, 0xb1, 0x7a, 0xd7, 0x2f, 0xf8, 0x62, 0x41, 0x97, 0xf2, 0xf1, 0x77,
1868 0x89, 0xf7, 0x54, 0xc4, 0xb1, 0xb0, 0x5d, 0x55, 0x44, 0x51, 0x92, 0x45, 0x4d, 0x90, 0xcb, 0x75,
1869 0x45, 0x92, 0x1b, 0xa3, 0x7c, 0xff, 0x10, 0x76, 0x67, 0xe6, 0xea, 0x58, 0x69, 0x28, 0x25, 0x65,
1870 0x1c, 0x7c, 0x72, 0x70, 0xb7, 0xa6, 0x8a, 0x87, 0x4d, 0x35, 0xbc, 0x7e, 0x25, 0xe6, 0x52, 0xad,
1871 0x72, 0xdf, 0x33, 0xc0, 0x8a, 0x11, 0x3e, 0x70, 0xfd, 0x48, 0x12, 0x8f, 0x1a, 0xb6, 0x72, 0x94,
1872 0xf7, 0x24, 0x2f, 0xef, 0x3d, 0xa9, 0x48, 0xef, 0x99, 0xe5, 0x6e, 0xe5, 0x57, 0xa8, 0xbf, 0x4b,
1873 0x90, 0x55, 0x89, 0x5b, 0x73, 0x3a, 0x87, 0x03, 0x27, 0x7c, 0xc1, 0x1e, 0xc3, 0x86, 0xe9, 0x74,
1874 0x4e, 0x06, 0xce, 0xf8, 0xd4, 0x34, 0xc6, 0xaf, 0xd3, 0xe1, 0x40, 0x9e, 0xfb, 0x94, 0x81, 0x9c,
1875 0x38, 0x8b, 0x72, 0xfd, 0x7b, 0x10, 0x0b, 0x1a, 0x66, 0x28, 0x42, 0xd5, 0x64, 0x94, 0xaa, 0x97,
1876 0xcb, 0xd5, 0x2f, 0xaf, 0x1e, 0xab, 0x62, 0x93, 0xc2, 0x1b, 0xc8, 0x08, 0x96, 0x6b, 0xb8, 0x06,
1877 0x71, 0xaa, 0x76, 0xa7, 0x4a, 0xce, 0x49, 0x17, 0x3d, 0x81, 0x9b, 0x5d, 0xff, 0xb7, 0x6f, 0x13,
1878 0xfa, 0x4a, 0x0b, 0x04, 0xf0, 0x68, 0x1a, 0xb1, 0x70, 0x93, 0xf8, 0xcb, 0xb3, 0xcc, 0x5e, 0x72,
1879 0x3f, 0x8d, 0x47, 0xdf, 0xdc, 0x00, 0x10, 0x8d, 0x8e, 0x74, 0xd1, 0x12, 0x61, 0xf1, 0x39, 0xa4,
1880 0xbb, 0xc3, 0x77, 0xf1, 0x39, 0xe9, 0x52, 0xf8, 0xb5, 0xe2, 0x5d, 0x4f, 0x32, 0xac, 0x32, 0x1e,
1881 0xcb, 0x71, 0x5f, 0x33, 0xb0, 0x35, 0xb5, 0xaf, 0xcf, 0xf3, 0x55, 0x36, 0x1e, 0xfb, 0x04, 0x13,
1882 0xef, 0x13, 0x7f, 0x1c, 0xf9, 0x44, 0xd2, 0x13, 0xda, 0x0d, 0x62, 0x63, 0x78, 0xeb, 0x85, 0x51,
1883 0x31, 0x8a, 0xe4, 0xf3, 0xf7, 0x77, 0xb3, 0x02, 0xb9, 0xaa, 0x32, 0x0c, 0x7e, 0x0d, 0xa9, 0xf1,
1884 0x66, 0xce, 0x03, 0xe8, 0xdf, 0x80, 0xc4, 0xeb, 0xb1, 0x36, 0xcf, 0x27, 0x7e, 0x62, 0x60, 0x4b,
1885 0xbc, 0x26, 0x39, 0xd4, 0x2b, 0xaa, 0x97, 0xf4, 0x0a, 0x2a, 0x37, 0xc1, 0x68, 0xf2, 0x32, 0x8c,
1886 0xa6, 0x26, 0x18, 0x15, 0x97, 0x60, 0x74, 0xe5, 0x23, 0x62, 0xb4, 0x32, 0xca, 0x50, 0xc3, 0x92,
1887 0x2e, 0x30, 0xd2, 0x32, 0x1d, 0xa4, 0xbf, 0x42, 0xba, 0x42, 0xf4, 0xbe, 0x7b, 0x42, 0x74, 0x17,
1888 0x15, 0x60, 0xeb, 0x2c, 0xf8, 0xd0, 0x1c, 0xa3, 0x63, 0xe9, 0xee, 0xa0, 0x4f, 0xcb, 0xec, 0x1b,
1889 0x18, 0x8d, 0xa6, 0xd4, 0x60, 0x86, 0xe3, 0x61, 0x0b, 0x93, 0x13, 0xdb, 0x76, 0xa7, 0xeb, 0xf3,
1890 0xab, 0x28, 0xf0, 0x09, 0x03, 0x77, 0xa6, 0x31, 0x66, 0x82, 0xf8, 0x1c, 0x7a, 0x5f, 0x84, 0xe8,
1891 0xdd, 0xf3, 0x84, 0xa2, 0xf0, 0x96, 0xe2, 0xf7, 0xe2, 0xc3, 0xe6, 0xc2, 0x61, 0x75, 0xe2, 0x8f,
1892 0x4b, 0xb2, 0x76, 0x8c, 0x15, 0x59, 0xd4, 0xd4, 0x06, 0xdf, 0x10, 0x32, 0xa9, 0xe2, 0x97, 0x69,
1893 0xc8, 0xc9, 0xba, 0x6b, 0x9c, 0x93, 0xca, 0x71, 0x6d, 0xd4, 0x8a, 0x54, 0x69, 0x27, 0x12, 0xa9,
1894 0xb0, 0x15, 0xf1, 0xb4, 0x44, 0xb1, 0xc5, 0x3e, 0xbb, 0xb7, 0xe8, 0x39, 0x7a, 0x90, 0x40, 0x4d,
1895 0x40, 0xb3, 0x6f, 0x1d, 0xb4, 0x13, 0xfb, 0x08, 0xf2, 0xc8, 0x66, 0x77, 0x17, 0x3c, 0x92, 0x50,
1896 0x05, 0x36, 0x87, 0x59, 0x75, 0xaa, 0xca, 0x47, 0xdb, 0x79, 0xda, 0x1f, 0xcd, 0x07, 0xfd, 0xd1,
1897 0xbc, 0x60, 0xf6, 0xdc, 0x0b, 0xf6, 0xfe, 0x9c, 0x27, 0x01, 0x3a, 0x86, 0x3b, 0x22, 0x71, 0x67,
1898 0x7a, 0x93, 0xe8, 0x41, 0x5c, 0xcf, 0x92, 0x6a, 0xb8, 0x33, 0xbf, 0xa5, 0x79, 0x90, 0x40, 0xc7,
1899 0x5e, 0x84, 0x0c, 0xf5, 0x3d, 0xfc, 0x93, 0xc7, 0xf6, 0x0a, 0xfd, 0x93, 0xc7, 0xb7, 0xd4, 0x7c,
1900 0x93, 0x5e, 0x12, 0x58, 0x5d, 0x00, 0x3c, 0xd9, 0xdc, 0x69, 0x04, 0x79, 0x78, 0xaa, 0x12, 0xdc,
1901 0x99, 0xc8, 0x56, 0x11, 0xcf, 0x17, 0x76, 0x67, 0x7e, 0xa5, 0x8f, 0x8e, 0x82, 0x3c, 0x31, 0x85,
1902 0xba, 0x31, 0xd5, 0xce, 0x95, 0xca, 0xec, 0xee, 0x82, 0x5a, 0x16, 0x61, 0xd8, 0x9c, 0xa9, 0xf0,
1903 0x7c, 0x8e, 0xe2, 0x2a, 0xbf, 0x85, 0xba, 0xbd, 0xa2, 0x4e, 0x34, 0x8d, 0x19, 0xe7, 0x44, 0x3b,
1904 0xf3, 0x4b, 0x39, 0x54, 0x0f, 0x32, 0xd6, 0x54, 0xf8, 0x44, 0x53, 0x07, 0x8b, 0x08, 0xac, 0x6c,
1905 0x36, 0x2e, 0x79, 0xa0, 0x7f, 0xc2, 0xda, 0x44, 0x95, 0x80, 0xee, 0xcd, 0xd6, 0x0d, 0x93, 0x08,
1906 0x6a, 0x34, 0x82, 0x38, 0x83, 0x20, 0xc6, 0x21, 0x44, 0xe9, 0xf0, 0x02, 0xd6, 0x47, 0xa1, 0xbc,
1907 0x74, 0x46, 0x5a, 0xff, 0x8d, 0xb5, 0x0f, 0x6d, 0xe4, 0x8e, 0xe3, 0x7e, 0x09, 0x6e, 0x4d, 0x86,
1908 0x4c, 0x3f, 0x8c, 0x44, 0x44, 0x76, 0x36, 0x17, 0x1b, 0x5f, 0x0f, 0xff, 0xf2, 0xaf, 0x3f, 0x75,
1909 0x0c, 0xf7, 0x6c, 0x70, 0x92, 0x6f, 0xd9, 0x66, 0xc1, 0xee, 0x11, 0xab, 0x65, 0xf7, 0xdb, 0x05,
1910 0x1a, 0xea, 0x9f, 0x8d, 0xff, 0x4d, 0x79, 0x66, 0x58, 0x2e, 0xe9, 0x9f, 0xea, 0x2d, 0x52, 0x38,
1911 0x7f, 0x5e, 0xe8, 0xd8, 0x85, 0xb6, 0x69, 0x9c, 0xac, 0x7a, 0x1a, 0x3e, 0xff, 0x25, 0x00, 0x00,
1912 0xff, 0xff, 0xbb, 0x83, 0x4d, 0xcf, 0x7d, 0x19, 0x00, 0x00,
Amit Ghosh09f28362020-06-12 21:52:19 +01001913}
1914
1915// Reference imports to suppress errors if they are not otherwise used.
1916var _ context.Context
1917var _ grpc.ClientConn
1918
1919// This is a compile-time assertion to ensure that this generated file
1920// is compatible with the grpc package it is being compiled against.
1921const _ = grpc.SupportPackageIsVersion4
1922
1923// NativeHWManagementServiceClient is the client API for NativeHWManagementService service.
1924//
1925// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1926type NativeHWManagementServiceClient interface {
1927 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001928 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1929 // and their meanings in this context is mentioned below:
1930 // name = The unique name that needs to be assigned to this hardware;
1931 // class = COMPONENT_TYPE_UNDEFINED;
1932 // parent = nil;
1933 // alias = Optional;
1934 // asset_id = Optional;
1935 // uri = IP Address of the Hardware;
1936 StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error)
Amit Ghosh366228e2020-07-06 13:46:42 +01001937 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001938 // This rpc can be called at any time, even before the StartManagingDevice operation
1939 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001940 StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001941 // Returns an object containing a list of devices managed by this entity
1942 GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001943 // Get the HW inventory details of the Device
1944 GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error)
1945 // Get the details of a particular HW component
1946 GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error)
1947 // Sets the permissible attributes of a HW component
1948 SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001949 // Sets the location to which logs need to be shipped
1950 SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1951 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001952 GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001953 // Sets the location of the Message Bus to which events and metrics are shipped
1954 SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1955 // Gets the configured location to which the events and metrics are being shipped
1956 GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001957 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1958 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1959 // interface, package etc.
1960 GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01001961 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001962 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
1963 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
1964 SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
1965 // Gets the configured log level for a certain entity on a certain device.
1966 // If no entity is specified in the request all the entities with their log level should be returned.
1967 GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301968 // Performs the heartbeat check
1969 HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301970 // Performs the reboot of the device
1971 RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001972}
1973
1974type nativeHWManagementServiceClient struct {
1975 cc *grpc.ClientConn
1976}
1977
1978func NewNativeHWManagementServiceClient(cc *grpc.ClientConn) NativeHWManagementServiceClient {
1979 return &nativeHWManagementServiceClient{cc}
1980}
1981
Amit Ghosh704462f2020-06-24 16:44:56 +01001982func (c *nativeHWManagementServiceClient) StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error) {
Amit Ghosh09f28362020-06-12 21:52:19 +01001983 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[0], "/dmi.NativeHWManagementService/StartManagingDevice", opts...)
1984 if err != nil {
1985 return nil, err
1986 }
1987 x := &nativeHWManagementServiceStartManagingDeviceClient{stream}
1988 if err := x.ClientStream.SendMsg(in); err != nil {
1989 return nil, err
1990 }
1991 if err := x.ClientStream.CloseSend(); err != nil {
1992 return nil, err
1993 }
1994 return x, nil
1995}
1996
1997type NativeHWManagementService_StartManagingDeviceClient interface {
1998 Recv() (*StartManagingDeviceResponse, error)
1999 grpc.ClientStream
2000}
2001
2002type nativeHWManagementServiceStartManagingDeviceClient struct {
2003 grpc.ClientStream
2004}
2005
2006func (x *nativeHWManagementServiceStartManagingDeviceClient) Recv() (*StartManagingDeviceResponse, error) {
2007 m := new(StartManagingDeviceResponse)
2008 if err := x.ClientStream.RecvMsg(m); err != nil {
2009 return nil, err
2010 }
2011 return m, nil
2012}
2013
Amit Ghosh366228e2020-07-06 13:46:42 +01002014func (c *nativeHWManagementServiceClient) StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) {
2015 out := new(StopManagingDeviceResponse)
2016 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/StopManagingDevice", in, out, opts...)
2017 if err != nil {
2018 return nil, err
2019 }
2020 return out, nil
2021}
2022
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002023func (c *nativeHWManagementServiceClient) GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) {
2024 out := new(ManagedDevicesResponse)
2025 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetManagedDevices", in, out, opts...)
2026 if err != nil {
2027 return nil, err
2028 }
2029 return out, nil
2030}
2031
Amit Ghosh09f28362020-06-12 21:52:19 +01002032func (c *nativeHWManagementServiceClient) GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) {
2033 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[1], "/dmi.NativeHWManagementService/GetPhysicalInventory", opts...)
2034 if err != nil {
2035 return nil, err
2036 }
2037 x := &nativeHWManagementServiceGetPhysicalInventoryClient{stream}
2038 if err := x.ClientStream.SendMsg(in); err != nil {
2039 return nil, err
2040 }
2041 if err := x.ClientStream.CloseSend(); err != nil {
2042 return nil, err
2043 }
2044 return x, nil
2045}
2046
2047type NativeHWManagementService_GetPhysicalInventoryClient interface {
2048 Recv() (*PhysicalInventoryResponse, error)
2049 grpc.ClientStream
2050}
2051
2052type nativeHWManagementServiceGetPhysicalInventoryClient struct {
2053 grpc.ClientStream
2054}
2055
2056func (x *nativeHWManagementServiceGetPhysicalInventoryClient) Recv() (*PhysicalInventoryResponse, error) {
2057 m := new(PhysicalInventoryResponse)
2058 if err := x.ClientStream.RecvMsg(m); err != nil {
2059 return nil, err
2060 }
2061 return m, nil
2062}
2063
2064func (c *nativeHWManagementServiceClient) GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) {
2065 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[2], "/dmi.NativeHWManagementService/GetHWComponentInfo", opts...)
2066 if err != nil {
2067 return nil, err
2068 }
2069 x := &nativeHWManagementServiceGetHWComponentInfoClient{stream}
2070 if err := x.ClientStream.SendMsg(in); err != nil {
2071 return nil, err
2072 }
2073 if err := x.ClientStream.CloseSend(); err != nil {
2074 return nil, err
2075 }
2076 return x, nil
2077}
2078
2079type NativeHWManagementService_GetHWComponentInfoClient interface {
aghoshc301dcd2020-09-03 16:55:34 +01002080 Recv() (*HWComponentInfoGetResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002081 grpc.ClientStream
2082}
2083
2084type nativeHWManagementServiceGetHWComponentInfoClient struct {
2085 grpc.ClientStream
2086}
2087
aghoshc301dcd2020-09-03 16:55:34 +01002088func (x *nativeHWManagementServiceGetHWComponentInfoClient) Recv() (*HWComponentInfoGetResponse, error) {
2089 m := new(HWComponentInfoGetResponse)
Amit Ghosh09f28362020-06-12 21:52:19 +01002090 if err := x.ClientStream.RecvMsg(m); err != nil {
2091 return nil, err
2092 }
2093 return m, nil
2094}
2095
2096func (c *nativeHWManagementServiceClient) SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) {
2097 out := new(HWComponentInfoSetResponse)
2098 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetHWComponentInfo", in, out, opts...)
2099 if err != nil {
2100 return nil, err
2101 }
2102 return out, nil
2103}
2104
amit.ghosh188a84f2020-09-27 20:59:25 +02002105func (c *nativeHWManagementServiceClient) SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
2106 out := new(SetRemoteEndpointResponse)
2107 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLoggingEndpoint", in, out, opts...)
2108 if err != nil {
2109 return nil, err
2110 }
2111 return out, nil
2112}
2113
amit.ghosh5d97dba2020-11-12 16:45:27 +01002114func (c *nativeHWManagementServiceClient) GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error) {
amit.ghosh188a84f2020-09-27 20:59:25 +02002115 out := new(GetLoggingEndpointResponse)
2116 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggingEndpoint", in, out, opts...)
2117 if err != nil {
2118 return nil, err
2119 }
2120 return out, nil
2121}
2122
2123func (c *nativeHWManagementServiceClient) SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
2124 out := new(SetRemoteEndpointResponse)
2125 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetMsgBusEndpoint", in, out, opts...)
2126 if err != nil {
2127 return nil, err
2128 }
2129 return out, nil
2130}
2131
2132func (c *nativeHWManagementServiceClient) GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) {
2133 out := new(GetMsgBusEndpointResponse)
2134 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetMsgBusEndpoint", in, out, opts...)
2135 if err != nil {
2136 return nil, err
2137 }
2138 return out, nil
2139}
2140
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002141func (c *nativeHWManagementServiceClient) GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2142 out := new(GetLogLevelResponse)
2143 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggableEntities", in, out, opts...)
2144 if err != nil {
2145 return nil, err
2146 }
2147 return out, nil
2148}
2149
2150func (c *nativeHWManagementServiceClient) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) {
2151 out := new(SetLogLevelResponse)
2152 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLogLevel", in, out, opts...)
2153 if err != nil {
2154 return nil, err
2155 }
2156 return out, nil
2157}
2158
2159func (c *nativeHWManagementServiceClient) GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2160 out := new(GetLogLevelResponse)
2161 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLogLevel", in, out, opts...)
2162 if err != nil {
2163 return nil, err
2164 }
2165 return out, nil
2166}
2167
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302168func (c *nativeHWManagementServiceClient) HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error) {
2169 out := new(Heartbeat)
2170 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/HeartbeatCheck", in, out, opts...)
2171 if err != nil {
2172 return nil, err
2173 }
2174 return out, nil
2175}
2176
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302177func (c *nativeHWManagementServiceClient) RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error) {
2178 out := new(RebootDeviceResponse)
2179 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/RebootDevice", in, out, opts...)
2180 if err != nil {
2181 return nil, err
2182 }
2183 return out, nil
2184}
2185
Amit Ghosh09f28362020-06-12 21:52:19 +01002186// NativeHWManagementServiceServer is the server API for NativeHWManagementService service.
2187type NativeHWManagementServiceServer interface {
2188 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01002189 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
2190 // and their meanings in this context is mentioned below:
2191 // name = The unique name that needs to be assigned to this hardware;
2192 // class = COMPONENT_TYPE_UNDEFINED;
2193 // parent = nil;
2194 // alias = Optional;
2195 // asset_id = Optional;
2196 // uri = IP Address of the Hardware;
2197 StartManagingDevice(*ModifiableComponent, NativeHWManagementService_StartManagingDeviceServer) error
Amit Ghosh366228e2020-07-06 13:46:42 +01002198 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01002199 // This rpc can be called at any time, even before the StartManagingDevice operation
2200 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01002201 StopManagingDevice(context.Context, *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002202 // Returns an object containing a list of devices managed by this entity
2203 GetManagedDevices(context.Context, *empty.Empty) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002204 // Get the HW inventory details of the Device
2205 GetPhysicalInventory(*PhysicalInventoryRequest, NativeHWManagementService_GetPhysicalInventoryServer) error
2206 // Get the details of a particular HW component
2207 GetHWComponentInfo(*HWComponentInfoGetRequest, NativeHWManagementService_GetHWComponentInfoServer) error
2208 // Sets the permissible attributes of a HW component
2209 SetHWComponentInfo(context.Context, *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002210 // Sets the location to which logs need to be shipped
2211 SetLoggingEndpoint(context.Context, *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error)
2212 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01002213 GetLoggingEndpoint(context.Context, *HardwareID) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002214 // Sets the location of the Message Bus to which events and metrics are shipped
2215 SetMsgBusEndpoint(context.Context, *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error)
2216 // Gets the configured location to which the events and metrics are being shipped
2217 GetMsgBusEndpoint(context.Context, *empty.Empty) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002218 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
2219 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
2220 // interface, package etc.
2221 GetLoggableEntities(context.Context, *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01002222 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002223 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
2224 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
2225 SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
2226 // Gets the configured log level for a certain entity on a certain device.
2227 // If no entity is specified in the request all the entities with their log level should be returned.
2228 GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302229 // Performs the heartbeat check
2230 HeartbeatCheck(context.Context, *empty.Empty) (*Heartbeat, error)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302231 // Performs the reboot of the device
2232 RebootDevice(context.Context, *RebootDeviceRequest) (*RebootDeviceResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002233}
2234
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002235// UnimplementedNativeHWManagementServiceServer can be embedded to have forward compatible implementations.
2236type UnimplementedNativeHWManagementServiceServer struct {
2237}
2238
2239func (*UnimplementedNativeHWManagementServiceServer) StartManagingDevice(req *ModifiableComponent, srv NativeHWManagementService_StartManagingDeviceServer) error {
2240 return status.Errorf(codes.Unimplemented, "method StartManagingDevice not implemented")
2241}
2242func (*UnimplementedNativeHWManagementServiceServer) StopManagingDevice(ctx context.Context, req *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error) {
2243 return nil, status.Errorf(codes.Unimplemented, "method StopManagingDevice not implemented")
2244}
2245func (*UnimplementedNativeHWManagementServiceServer) GetManagedDevices(ctx context.Context, req *empty.Empty) (*ManagedDevicesResponse, error) {
2246 return nil, status.Errorf(codes.Unimplemented, "method GetManagedDevices not implemented")
2247}
2248func (*UnimplementedNativeHWManagementServiceServer) GetPhysicalInventory(req *PhysicalInventoryRequest, srv NativeHWManagementService_GetPhysicalInventoryServer) error {
2249 return status.Errorf(codes.Unimplemented, "method GetPhysicalInventory not implemented")
2250}
2251func (*UnimplementedNativeHWManagementServiceServer) GetHWComponentInfo(req *HWComponentInfoGetRequest, srv NativeHWManagementService_GetHWComponentInfoServer) error {
2252 return status.Errorf(codes.Unimplemented, "method GetHWComponentInfo not implemented")
2253}
2254func (*UnimplementedNativeHWManagementServiceServer) SetHWComponentInfo(ctx context.Context, req *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error) {
2255 return nil, status.Errorf(codes.Unimplemented, "method SetHWComponentInfo not implemented")
2256}
2257func (*UnimplementedNativeHWManagementServiceServer) SetLoggingEndpoint(ctx context.Context, req *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error) {
2258 return nil, status.Errorf(codes.Unimplemented, "method SetLoggingEndpoint not implemented")
2259}
2260func (*UnimplementedNativeHWManagementServiceServer) GetLoggingEndpoint(ctx context.Context, req *HardwareID) (*GetLoggingEndpointResponse, error) {
2261 return nil, status.Errorf(codes.Unimplemented, "method GetLoggingEndpoint not implemented")
2262}
2263func (*UnimplementedNativeHWManagementServiceServer) SetMsgBusEndpoint(ctx context.Context, req *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error) {
2264 return nil, status.Errorf(codes.Unimplemented, "method SetMsgBusEndpoint not implemented")
2265}
2266func (*UnimplementedNativeHWManagementServiceServer) GetMsgBusEndpoint(ctx context.Context, req *empty.Empty) (*GetMsgBusEndpointResponse, error) {
2267 return nil, status.Errorf(codes.Unimplemented, "method GetMsgBusEndpoint not implemented")
2268}
2269func (*UnimplementedNativeHWManagementServiceServer) GetLoggableEntities(ctx context.Context, req *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error) {
2270 return nil, status.Errorf(codes.Unimplemented, "method GetLoggableEntities not implemented")
2271}
2272func (*UnimplementedNativeHWManagementServiceServer) SetLogLevel(ctx context.Context, req *SetLogLevelRequest) (*SetLogLevelResponse, error) {
2273 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2274}
2275func (*UnimplementedNativeHWManagementServiceServer) GetLogLevel(ctx context.Context, req *GetLogLevelRequest) (*GetLogLevelResponse, error) {
2276 return nil, status.Errorf(codes.Unimplemented, "method GetLogLevel not implemented")
2277}
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302278func (*UnimplementedNativeHWManagementServiceServer) HeartbeatCheck(ctx context.Context, req *empty.Empty) (*Heartbeat, error) {
2279 return nil, status.Errorf(codes.Unimplemented, "method HeartbeatCheck not implemented")
2280}
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302281func (*UnimplementedNativeHWManagementServiceServer) RebootDevice(ctx context.Context, req *RebootDeviceRequest) (*RebootDeviceResponse, error) {
2282 return nil, status.Errorf(codes.Unimplemented, "method RebootDevice not implemented")
2283}
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002284
Amit Ghosh09f28362020-06-12 21:52:19 +01002285func RegisterNativeHWManagementServiceServer(s *grpc.Server, srv NativeHWManagementServiceServer) {
2286 s.RegisterService(&_NativeHWManagementService_serviceDesc, srv)
2287}
2288
2289func _NativeHWManagementService_StartManagingDevice_Handler(srv interface{}, stream grpc.ServerStream) error {
Amit Ghosh704462f2020-06-24 16:44:56 +01002290 m := new(ModifiableComponent)
Amit Ghosh09f28362020-06-12 21:52:19 +01002291 if err := stream.RecvMsg(m); err != nil {
2292 return err
2293 }
2294 return srv.(NativeHWManagementServiceServer).StartManagingDevice(m, &nativeHWManagementServiceStartManagingDeviceServer{stream})
2295}
2296
2297type NativeHWManagementService_StartManagingDeviceServer interface {
2298 Send(*StartManagingDeviceResponse) error
2299 grpc.ServerStream
2300}
2301
2302type nativeHWManagementServiceStartManagingDeviceServer struct {
2303 grpc.ServerStream
2304}
2305
2306func (x *nativeHWManagementServiceStartManagingDeviceServer) Send(m *StartManagingDeviceResponse) error {
2307 return x.ServerStream.SendMsg(m)
2308}
2309
Amit Ghosh366228e2020-07-06 13:46:42 +01002310func _NativeHWManagementService_StopManagingDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2311 in := new(StopManagingDeviceRequest)
2312 if err := dec(in); err != nil {
2313 return nil, err
2314 }
2315 if interceptor == nil {
2316 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, in)
2317 }
2318 info := &grpc.UnaryServerInfo{
2319 Server: srv,
2320 FullMethod: "/dmi.NativeHWManagementService/StopManagingDevice",
2321 }
2322 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2323 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, req.(*StopManagingDeviceRequest))
2324 }
2325 return interceptor(ctx, in, info, handler)
2326}
2327
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002328func _NativeHWManagementService_GetManagedDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2329 in := new(empty.Empty)
2330 if err := dec(in); err != nil {
2331 return nil, err
2332 }
2333 if interceptor == nil {
2334 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, in)
2335 }
2336 info := &grpc.UnaryServerInfo{
2337 Server: srv,
2338 FullMethod: "/dmi.NativeHWManagementService/GetManagedDevices",
2339 }
2340 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2341 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, req.(*empty.Empty))
2342 }
2343 return interceptor(ctx, in, info, handler)
2344}
2345
Amit Ghosh09f28362020-06-12 21:52:19 +01002346func _NativeHWManagementService_GetPhysicalInventory_Handler(srv interface{}, stream grpc.ServerStream) error {
2347 m := new(PhysicalInventoryRequest)
2348 if err := stream.RecvMsg(m); err != nil {
2349 return err
2350 }
2351 return srv.(NativeHWManagementServiceServer).GetPhysicalInventory(m, &nativeHWManagementServiceGetPhysicalInventoryServer{stream})
2352}
2353
2354type NativeHWManagementService_GetPhysicalInventoryServer interface {
2355 Send(*PhysicalInventoryResponse) error
2356 grpc.ServerStream
2357}
2358
2359type nativeHWManagementServiceGetPhysicalInventoryServer struct {
2360 grpc.ServerStream
2361}
2362
2363func (x *nativeHWManagementServiceGetPhysicalInventoryServer) Send(m *PhysicalInventoryResponse) error {
2364 return x.ServerStream.SendMsg(m)
2365}
2366
2367func _NativeHWManagementService_GetHWComponentInfo_Handler(srv interface{}, stream grpc.ServerStream) error {
2368 m := new(HWComponentInfoGetRequest)
2369 if err := stream.RecvMsg(m); err != nil {
2370 return err
2371 }
2372 return srv.(NativeHWManagementServiceServer).GetHWComponentInfo(m, &nativeHWManagementServiceGetHWComponentInfoServer{stream})
2373}
2374
2375type NativeHWManagementService_GetHWComponentInfoServer interface {
aghoshc301dcd2020-09-03 16:55:34 +01002376 Send(*HWComponentInfoGetResponse) error
Amit Ghosh09f28362020-06-12 21:52:19 +01002377 grpc.ServerStream
2378}
2379
2380type nativeHWManagementServiceGetHWComponentInfoServer struct {
2381 grpc.ServerStream
2382}
2383
aghoshc301dcd2020-09-03 16:55:34 +01002384func (x *nativeHWManagementServiceGetHWComponentInfoServer) Send(m *HWComponentInfoGetResponse) error {
Amit Ghosh09f28362020-06-12 21:52:19 +01002385 return x.ServerStream.SendMsg(m)
2386}
2387
2388func _NativeHWManagementService_SetHWComponentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2389 in := new(HWComponentInfoSetRequest)
2390 if err := dec(in); err != nil {
2391 return nil, err
2392 }
2393 if interceptor == nil {
2394 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, in)
2395 }
2396 info := &grpc.UnaryServerInfo{
2397 Server: srv,
2398 FullMethod: "/dmi.NativeHWManagementService/SetHWComponentInfo",
2399 }
2400 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2401 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, req.(*HWComponentInfoSetRequest))
2402 }
2403 return interceptor(ctx, in, info, handler)
2404}
2405
amit.ghosh188a84f2020-09-27 20:59:25 +02002406func _NativeHWManagementService_SetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2407 in := new(SetLoggingEndpointRequest)
2408 if err := dec(in); err != nil {
2409 return nil, err
2410 }
2411 if interceptor == nil {
2412 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, in)
2413 }
2414 info := &grpc.UnaryServerInfo{
2415 Server: srv,
2416 FullMethod: "/dmi.NativeHWManagementService/SetLoggingEndpoint",
2417 }
2418 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2419 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, req.(*SetLoggingEndpointRequest))
2420 }
2421 return interceptor(ctx, in, info, handler)
2422}
2423
2424func _NativeHWManagementService_GetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002425 in := new(HardwareID)
amit.ghosh188a84f2020-09-27 20:59:25 +02002426 if err := dec(in); err != nil {
2427 return nil, err
2428 }
2429 if interceptor == nil {
2430 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, in)
2431 }
2432 info := &grpc.UnaryServerInfo{
2433 Server: srv,
2434 FullMethod: "/dmi.NativeHWManagementService/GetLoggingEndpoint",
2435 }
2436 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002437 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, req.(*HardwareID))
amit.ghosh188a84f2020-09-27 20:59:25 +02002438 }
2439 return interceptor(ctx, in, info, handler)
2440}
2441
2442func _NativeHWManagementService_SetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2443 in := new(SetMsgBusEndpointRequest)
2444 if err := dec(in); err != nil {
2445 return nil, err
2446 }
2447 if interceptor == nil {
2448 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, in)
2449 }
2450 info := &grpc.UnaryServerInfo{
2451 Server: srv,
2452 FullMethod: "/dmi.NativeHWManagementService/SetMsgBusEndpoint",
2453 }
2454 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2455 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, req.(*SetMsgBusEndpointRequest))
2456 }
2457 return interceptor(ctx, in, info, handler)
2458}
2459
2460func _NativeHWManagementService_GetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2461 in := new(empty.Empty)
2462 if err := dec(in); err != nil {
2463 return nil, err
2464 }
2465 if interceptor == nil {
2466 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, in)
2467 }
2468 info := &grpc.UnaryServerInfo{
2469 Server: srv,
2470 FullMethod: "/dmi.NativeHWManagementService/GetMsgBusEndpoint",
2471 }
2472 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2473 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, req.(*empty.Empty))
2474 }
2475 return interceptor(ctx, in, info, handler)
2476}
2477
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002478func _NativeHWManagementService_GetLoggableEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2479 in := new(GetLoggableEntitiesRequest)
2480 if err := dec(in); err != nil {
2481 return nil, err
2482 }
2483 if interceptor == nil {
2484 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, in)
2485 }
2486 info := &grpc.UnaryServerInfo{
2487 Server: srv,
2488 FullMethod: "/dmi.NativeHWManagementService/GetLoggableEntities",
2489 }
2490 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2491 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, req.(*GetLoggableEntitiesRequest))
2492 }
2493 return interceptor(ctx, in, info, handler)
2494}
2495
2496func _NativeHWManagementService_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2497 in := new(SetLogLevelRequest)
2498 if err := dec(in); err != nil {
2499 return nil, err
2500 }
2501 if interceptor == nil {
2502 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, in)
2503 }
2504 info := &grpc.UnaryServerInfo{
2505 Server: srv,
2506 FullMethod: "/dmi.NativeHWManagementService/SetLogLevel",
2507 }
2508 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2509 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, req.(*SetLogLevelRequest))
2510 }
2511 return interceptor(ctx, in, info, handler)
2512}
2513
2514func _NativeHWManagementService_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2515 in := new(GetLogLevelRequest)
2516 if err := dec(in); err != nil {
2517 return nil, err
2518 }
2519 if interceptor == nil {
2520 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, in)
2521 }
2522 info := &grpc.UnaryServerInfo{
2523 Server: srv,
2524 FullMethod: "/dmi.NativeHWManagementService/GetLogLevel",
2525 }
2526 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2527 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, req.(*GetLogLevelRequest))
2528 }
2529 return interceptor(ctx, in, info, handler)
2530}
2531
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302532func _NativeHWManagementService_HeartbeatCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2533 in := new(empty.Empty)
2534 if err := dec(in); err != nil {
2535 return nil, err
2536 }
2537 if interceptor == nil {
2538 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, in)
2539 }
2540 info := &grpc.UnaryServerInfo{
2541 Server: srv,
2542 FullMethod: "/dmi.NativeHWManagementService/HeartbeatCheck",
2543 }
2544 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2545 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, req.(*empty.Empty))
2546 }
2547 return interceptor(ctx, in, info, handler)
2548}
2549
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302550func _NativeHWManagementService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2551 in := new(RebootDeviceRequest)
2552 if err := dec(in); err != nil {
2553 return nil, err
2554 }
2555 if interceptor == nil {
2556 return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, in)
2557 }
2558 info := &grpc.UnaryServerInfo{
2559 Server: srv,
2560 FullMethod: "/dmi.NativeHWManagementService/RebootDevice",
2561 }
2562 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2563 return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, req.(*RebootDeviceRequest))
2564 }
2565 return interceptor(ctx, in, info, handler)
2566}
2567
Amit Ghosh09f28362020-06-12 21:52:19 +01002568var _NativeHWManagementService_serviceDesc = grpc.ServiceDesc{
2569 ServiceName: "dmi.NativeHWManagementService",
2570 HandlerType: (*NativeHWManagementServiceServer)(nil),
2571 Methods: []grpc.MethodDesc{
2572 {
Amit Ghosh366228e2020-07-06 13:46:42 +01002573 MethodName: "StopManagingDevice",
2574 Handler: _NativeHWManagementService_StopManagingDevice_Handler,
2575 },
2576 {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002577 MethodName: "GetManagedDevices",
2578 Handler: _NativeHWManagementService_GetManagedDevices_Handler,
2579 },
2580 {
Amit Ghosh09f28362020-06-12 21:52:19 +01002581 MethodName: "SetHWComponentInfo",
2582 Handler: _NativeHWManagementService_SetHWComponentInfo_Handler,
2583 },
amit.ghosh188a84f2020-09-27 20:59:25 +02002584 {
2585 MethodName: "SetLoggingEndpoint",
2586 Handler: _NativeHWManagementService_SetLoggingEndpoint_Handler,
2587 },
2588 {
2589 MethodName: "GetLoggingEndpoint",
2590 Handler: _NativeHWManagementService_GetLoggingEndpoint_Handler,
2591 },
2592 {
2593 MethodName: "SetMsgBusEndpoint",
2594 Handler: _NativeHWManagementService_SetMsgBusEndpoint_Handler,
2595 },
2596 {
2597 MethodName: "GetMsgBusEndpoint",
2598 Handler: _NativeHWManagementService_GetMsgBusEndpoint_Handler,
2599 },
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002600 {
2601 MethodName: "GetLoggableEntities",
2602 Handler: _NativeHWManagementService_GetLoggableEntities_Handler,
2603 },
2604 {
2605 MethodName: "SetLogLevel",
2606 Handler: _NativeHWManagementService_SetLogLevel_Handler,
2607 },
2608 {
2609 MethodName: "GetLogLevel",
2610 Handler: _NativeHWManagementService_GetLogLevel_Handler,
2611 },
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302612 {
2613 MethodName: "HeartbeatCheck",
2614 Handler: _NativeHWManagementService_HeartbeatCheck_Handler,
2615 },
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302616 {
2617 MethodName: "RebootDevice",
2618 Handler: _NativeHWManagementService_RebootDevice_Handler,
2619 },
Amit Ghosh09f28362020-06-12 21:52:19 +01002620 },
2621 Streams: []grpc.StreamDesc{
2622 {
2623 StreamName: "StartManagingDevice",
2624 Handler: _NativeHWManagementService_StartManagingDevice_Handler,
2625 ServerStreams: true,
2626 },
2627 {
2628 StreamName: "GetPhysicalInventory",
2629 Handler: _NativeHWManagementService_GetPhysicalInventory_Handler,
2630 ServerStreams: true,
2631 },
2632 {
2633 StreamName: "GetHWComponentInfo",
2634 Handler: _NativeHWManagementService_GetHWComponentInfo_Handler,
2635 ServerStreams: true,
2636 },
2637 },
2638 Metadata: "dmi/hw_management_service.proto",
2639}