blob: 664626d3b78850828e701765ad9c56a0c5833b07 [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
188)
189
190var StopManagingDeviceResponse_Reason_name = map[int32]string{
191 0: "UNDEFINED_REASON",
192 1: "UNKNOWN_DEVICE",
193}
194
195var StopManagingDeviceResponse_Reason_value = map[string]int32{
196 "UNDEFINED_REASON": 0,
197 "UNKNOWN_DEVICE": 1,
198}
199
200func (x StopManagingDeviceResponse_Reason) String() string {
201 return proto.EnumName(StopManagingDeviceResponse_Reason_name, int32(x))
202}
203
204func (StopManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
205 return fileDescriptor_eae902e73066286d, []int{8, 0}
206}
207
amit.ghosh0c687412021-03-24 19:01:08 +0100208type ManagedDevicesResponse_Reason int32
209
210const (
211 ManagedDevicesResponse_UNDEFINED_REASON ManagedDevicesResponse_Reason = 0
212 ManagedDevicesResponse_INTERNAL_ERROR ManagedDevicesResponse_Reason = 1
213)
214
215var ManagedDevicesResponse_Reason_name = map[int32]string{
216 0: "UNDEFINED_REASON",
217 1: "INTERNAL_ERROR",
218}
219
220var ManagedDevicesResponse_Reason_value = map[string]int32{
221 "UNDEFINED_REASON": 0,
222 "INTERNAL_ERROR": 1,
223}
224
225func (x ManagedDevicesResponse_Reason) String() string {
226 return proto.EnumName(ManagedDevicesResponse_Reason_name, int32(x))
227}
228
229func (ManagedDevicesResponse_Reason) EnumDescriptor() ([]byte, []int) {
230 return fileDescriptor_eae902e73066286d, []int{10, 0}
231}
232
amit.ghoshae473032021-01-10 11:59:10 +0100233type SetRemoteEndpointResponse_Reason int32
234
235const (
236 SetRemoteEndpointResponse_UNDEFINED_REASON SetRemoteEndpointResponse_Reason = 0
237 SetRemoteEndpointResponse_UNKNOWN_DEVICE SetRemoteEndpointResponse_Reason = 1
238 SetRemoteEndpointResponse_INTERNAL_ERROR SetRemoteEndpointResponse_Reason = 2
239 SetRemoteEndpointResponse_LOGGING_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 3
240 SetRemoteEndpointResponse_LOGGING_ENDPOINT_PROTOCOL_ERROR SetRemoteEndpointResponse_Reason = 4
241 SetRemoteEndpointResponse_MSGBUS_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 5
amit.ghoshbd2022e2021-02-22 05:58:53 +0100242 SetRemoteEndpointResponse_DEVICE_UNREACHABLE SetRemoteEndpointResponse_Reason = 6
amit.ghoshae473032021-01-10 11:59:10 +0100243)
244
245var SetRemoteEndpointResponse_Reason_name = map[int32]string{
246 0: "UNDEFINED_REASON",
247 1: "UNKNOWN_DEVICE",
248 2: "INTERNAL_ERROR",
249 3: "LOGGING_ENDPOINT_ERROR",
250 4: "LOGGING_ENDPOINT_PROTOCOL_ERROR",
251 5: "MSGBUS_ENDPOINT_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100252 6: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100253}
254
255var SetRemoteEndpointResponse_Reason_value = map[string]int32{
256 "UNDEFINED_REASON": 0,
257 "UNKNOWN_DEVICE": 1,
258 "INTERNAL_ERROR": 2,
259 "LOGGING_ENDPOINT_ERROR": 3,
260 "LOGGING_ENDPOINT_PROTOCOL_ERROR": 4,
261 "MSGBUS_ENDPOINT_ERROR": 5,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100262 "DEVICE_UNREACHABLE": 6,
amit.ghoshae473032021-01-10 11:59:10 +0100263}
264
265func (x SetRemoteEndpointResponse_Reason) String() string {
266 return proto.EnumName(SetRemoteEndpointResponse_Reason_name, int32(x))
267}
268
269func (SetRemoteEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100270 return fileDescriptor_eae902e73066286d, []int{12, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100271}
272
273type GetLoggingEndpointResponse_Reason int32
274
275const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100276 GetLoggingEndpointResponse_UNDEFINED_REASON GetLoggingEndpointResponse_Reason = 0
277 GetLoggingEndpointResponse_UNKNOWN_DEVICE GetLoggingEndpointResponse_Reason = 1
278 GetLoggingEndpointResponse_INTERNAL_ERROR GetLoggingEndpointResponse_Reason = 2
279 GetLoggingEndpointResponse_DEVICE_UNREACHABLE GetLoggingEndpointResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +0100280)
281
282var GetLoggingEndpointResponse_Reason_name = map[int32]string{
283 0: "UNDEFINED_REASON",
284 1: "UNKNOWN_DEVICE",
285 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100286 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100287}
288
289var GetLoggingEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100290 "UNDEFINED_REASON": 0,
291 "UNKNOWN_DEVICE": 1,
292 "INTERNAL_ERROR": 2,
293 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +0100294}
295
296func (x GetLoggingEndpointResponse_Reason) String() string {
297 return proto.EnumName(GetLoggingEndpointResponse_Reason_name, int32(x))
298}
299
300func (GetLoggingEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100301 return fileDescriptor_eae902e73066286d, []int{13, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100302}
303
304type GetMsgBusEndpointResponse_Reason int32
305
306const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100307 GetMsgBusEndpointResponse_UNDEFINED_REASON GetMsgBusEndpointResponse_Reason = 0
308 GetMsgBusEndpointResponse_INTERNAL_ERROR GetMsgBusEndpointResponse_Reason = 1
309 GetMsgBusEndpointResponse_DEVICE_UNREACHABLE GetMsgBusEndpointResponse_Reason = 2
amit.ghoshae473032021-01-10 11:59:10 +0100310)
311
312var GetMsgBusEndpointResponse_Reason_name = map[int32]string{
313 0: "UNDEFINED_REASON",
314 1: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100315 2: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100316}
317
318var GetMsgBusEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100319 "UNDEFINED_REASON": 0,
320 "INTERNAL_ERROR": 1,
321 "DEVICE_UNREACHABLE": 2,
amit.ghoshae473032021-01-10 11:59:10 +0100322}
323
324func (x GetMsgBusEndpointResponse_Reason) String() string {
325 return proto.EnumName(GetMsgBusEndpointResponse_Reason_name, int32(x))
326}
327
328func (GetMsgBusEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100329 return fileDescriptor_eae902e73066286d, []int{15, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100330}
331
332type SetLogLevelResponse_Reason int32
333
334const (
335 SetLogLevelResponse_UNDEFINED_REASON SetLogLevelResponse_Reason = 0
336 SetLogLevelResponse_UNKNOWN_DEVICE SetLogLevelResponse_Reason = 1
337 SetLogLevelResponse_INTERNAL_ERROR SetLogLevelResponse_Reason = 2
338 SetLogLevelResponse_UNKNOWN_LOG_ENTITY SetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100339 SetLogLevelResponse_DEVICE_UNREACHABLE SetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100340)
341
342var SetLogLevelResponse_Reason_name = map[int32]string{
343 0: "UNDEFINED_REASON",
344 1: "UNKNOWN_DEVICE",
345 2: "INTERNAL_ERROR",
346 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100347 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100348}
349
350var SetLogLevelResponse_Reason_value = map[string]int32{
351 "UNDEFINED_REASON": 0,
352 "UNKNOWN_DEVICE": 1,
353 "INTERNAL_ERROR": 2,
354 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100355 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100356}
357
358func (x SetLogLevelResponse_Reason) String() string {
359 return proto.EnumName(SetLogLevelResponse_Reason_name, int32(x))
360}
361
362func (SetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100363 return fileDescriptor_eae902e73066286d, []int{18, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100364}
365
366type GetLogLevelResponse_Reason int32
367
368const (
369 GetLogLevelResponse_UNDEFINED_REASON GetLogLevelResponse_Reason = 0
370 GetLogLevelResponse_UNKNOWN_DEVICE GetLogLevelResponse_Reason = 1
371 GetLogLevelResponse_INTERNAL_ERROR GetLogLevelResponse_Reason = 2
372 GetLogLevelResponse_UNKNOWN_LOG_ENTITY GetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100373 GetLogLevelResponse_DEVICE_UNREACHABLE GetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100374)
375
376var GetLogLevelResponse_Reason_name = map[int32]string{
377 0: "UNDEFINED_REASON",
378 1: "UNKNOWN_DEVICE",
379 2: "INTERNAL_ERROR",
380 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100381 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100382}
383
384var GetLogLevelResponse_Reason_value = map[string]int32{
385 "UNDEFINED_REASON": 0,
386 "UNKNOWN_DEVICE": 1,
387 "INTERNAL_ERROR": 2,
388 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100389 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100390}
391
392func (x GetLogLevelResponse_Reason) String() string {
393 return proto.EnumName(GetLogLevelResponse_Reason_name, int32(x))
394}
395
396func (GetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100397 return fileDescriptor_eae902e73066286d, []int{20, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100398}
399
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530400type RebootDeviceResponse_Reason int32
401
402const (
amit.ghosh840cb602022-04-08 16:10:50 +0200403 RebootDeviceResponse_UNDEFINED_REASON RebootDeviceResponse_Reason = 0
404 RebootDeviceResponse_UNKNOWN_DEVICE RebootDeviceResponse_Reason = 1
405 RebootDeviceResponse_INTERNAL_ERROR RebootDeviceResponse_Reason = 2
406 RebootDeviceResponse_DEVICE_UNREACHABLE RebootDeviceResponse_Reason = 3
407 RebootDeviceResponse_DEVICE_IN_WRONG_STATE RebootDeviceResponse_Reason = 4
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530408)
409
410var RebootDeviceResponse_Reason_name = map[int32]string{
411 0: "UNDEFINED_REASON",
412 1: "UNKNOWN_DEVICE",
413 2: "INTERNAL_ERROR",
414 3: "DEVICE_UNREACHABLE",
amit.ghosh840cb602022-04-08 16:10:50 +0200415 4: "DEVICE_IN_WRONG_STATE",
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530416}
417
418var RebootDeviceResponse_Reason_value = map[string]int32{
amit.ghosh840cb602022-04-08 16:10:50 +0200419 "UNDEFINED_REASON": 0,
420 "UNKNOWN_DEVICE": 1,
421 "INTERNAL_ERROR": 2,
422 "DEVICE_UNREACHABLE": 3,
423 "DEVICE_IN_WRONG_STATE": 4,
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530424}
425
426func (x RebootDeviceResponse_Reason) String() string {
427 return proto.EnumName(RebootDeviceResponse_Reason_name, int32(x))
428}
429
430func (RebootDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
431 return fileDescriptor_eae902e73066286d, []int{24, 0}
432}
433
Amit Ghosh09f28362020-06-12 21:52:19 +0100434type PhysicalInventoryRequest struct {
435 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
436 XXX_NoUnkeyedLiteral struct{} `json:"-"`
437 XXX_unrecognized []byte `json:"-"`
438 XXX_sizecache int32 `json:"-"`
439}
440
441func (m *PhysicalInventoryRequest) Reset() { *m = PhysicalInventoryRequest{} }
442func (m *PhysicalInventoryRequest) String() string { return proto.CompactTextString(m) }
443func (*PhysicalInventoryRequest) ProtoMessage() {}
444func (*PhysicalInventoryRequest) Descriptor() ([]byte, []int) {
445 return fileDescriptor_eae902e73066286d, []int{0}
446}
447
448func (m *PhysicalInventoryRequest) XXX_Unmarshal(b []byte) error {
449 return xxx_messageInfo_PhysicalInventoryRequest.Unmarshal(m, b)
450}
451func (m *PhysicalInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
452 return xxx_messageInfo_PhysicalInventoryRequest.Marshal(b, m, deterministic)
453}
454func (m *PhysicalInventoryRequest) XXX_Merge(src proto.Message) {
455 xxx_messageInfo_PhysicalInventoryRequest.Merge(m, src)
456}
457func (m *PhysicalInventoryRequest) XXX_Size() int {
458 return xxx_messageInfo_PhysicalInventoryRequest.Size(m)
459}
460func (m *PhysicalInventoryRequest) XXX_DiscardUnknown() {
461 xxx_messageInfo_PhysicalInventoryRequest.DiscardUnknown(m)
462}
463
464var xxx_messageInfo_PhysicalInventoryRequest proto.InternalMessageInfo
465
466func (m *PhysicalInventoryRequest) GetDeviceUuid() *Uuid {
467 if m != nil {
468 return m.DeviceUuid
469 }
470 return nil
471}
472
473type PhysicalInventoryResponse struct {
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100474 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
475 Reason PhysicalInventoryResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.PhysicalInventoryResponse_Reason" json:"reason,omitempty"`
476 Inventory *Hardware `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
477 // It is recommended that upstream components/users of the DMI interface
478 // do not really interpret/parse the reson_detail, but rather use it for
479 // display purposes to the end user or use it for logging the error
480 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
481 XXX_NoUnkeyedLiteral struct{} `json:"-"`
482 XXX_unrecognized []byte `json:"-"`
483 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100484}
485
486func (m *PhysicalInventoryResponse) Reset() { *m = PhysicalInventoryResponse{} }
487func (m *PhysicalInventoryResponse) String() string { return proto.CompactTextString(m) }
488func (*PhysicalInventoryResponse) ProtoMessage() {}
489func (*PhysicalInventoryResponse) Descriptor() ([]byte, []int) {
490 return fileDescriptor_eae902e73066286d, []int{1}
491}
492
493func (m *PhysicalInventoryResponse) XXX_Unmarshal(b []byte) error {
494 return xxx_messageInfo_PhysicalInventoryResponse.Unmarshal(m, b)
495}
496func (m *PhysicalInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
497 return xxx_messageInfo_PhysicalInventoryResponse.Marshal(b, m, deterministic)
498}
499func (m *PhysicalInventoryResponse) XXX_Merge(src proto.Message) {
500 xxx_messageInfo_PhysicalInventoryResponse.Merge(m, src)
501}
502func (m *PhysicalInventoryResponse) XXX_Size() int {
503 return xxx_messageInfo_PhysicalInventoryResponse.Size(m)
504}
505func (m *PhysicalInventoryResponse) XXX_DiscardUnknown() {
506 xxx_messageInfo_PhysicalInventoryResponse.DiscardUnknown(m)
507}
508
509var xxx_messageInfo_PhysicalInventoryResponse proto.InternalMessageInfo
510
511func (m *PhysicalInventoryResponse) GetStatus() Status {
512 if m != nil {
513 return m.Status
514 }
515 return Status_UNDEFINED_STATUS
516}
517
amit.ghoshae473032021-01-10 11:59:10 +0100518func (m *PhysicalInventoryResponse) GetReason() PhysicalInventoryResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100519 if m != nil {
520 return m.Reason
521 }
amit.ghoshae473032021-01-10 11:59:10 +0100522 return PhysicalInventoryResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100523}
524
525func (m *PhysicalInventoryResponse) GetInventory() *Hardware {
526 if m != nil {
527 return m.Inventory
528 }
529 return nil
530}
531
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100532func (m *PhysicalInventoryResponse) GetReasonDetail() string {
533 if m != nil {
534 return m.ReasonDetail
535 }
536 return ""
537}
538
Amit Ghosh09f28362020-06-12 21:52:19 +0100539type HWComponentInfoGetRequest struct {
540 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
541 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
542 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
543 XXX_NoUnkeyedLiteral struct{} `json:"-"`
544 XXX_unrecognized []byte `json:"-"`
545 XXX_sizecache int32 `json:"-"`
546}
547
548func (m *HWComponentInfoGetRequest) Reset() { *m = HWComponentInfoGetRequest{} }
549func (m *HWComponentInfoGetRequest) String() string { return proto.CompactTextString(m) }
550func (*HWComponentInfoGetRequest) ProtoMessage() {}
551func (*HWComponentInfoGetRequest) Descriptor() ([]byte, []int) {
552 return fileDescriptor_eae902e73066286d, []int{2}
553}
554
555func (m *HWComponentInfoGetRequest) XXX_Unmarshal(b []byte) error {
556 return xxx_messageInfo_HWComponentInfoGetRequest.Unmarshal(m, b)
557}
558func (m *HWComponentInfoGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
559 return xxx_messageInfo_HWComponentInfoGetRequest.Marshal(b, m, deterministic)
560}
561func (m *HWComponentInfoGetRequest) XXX_Merge(src proto.Message) {
562 xxx_messageInfo_HWComponentInfoGetRequest.Merge(m, src)
563}
564func (m *HWComponentInfoGetRequest) XXX_Size() int {
565 return xxx_messageInfo_HWComponentInfoGetRequest.Size(m)
566}
567func (m *HWComponentInfoGetRequest) XXX_DiscardUnknown() {
568 xxx_messageInfo_HWComponentInfoGetRequest.DiscardUnknown(m)
569}
570
571var xxx_messageInfo_HWComponentInfoGetRequest proto.InternalMessageInfo
572
573func (m *HWComponentInfoGetRequest) GetDeviceUuid() *Uuid {
574 if m != nil {
575 return m.DeviceUuid
576 }
577 return nil
578}
579
580func (m *HWComponentInfoGetRequest) GetComponentUuid() *Uuid {
581 if m != nil {
582 return m.ComponentUuid
583 }
584 return nil
585}
586
587func (m *HWComponentInfoGetRequest) GetComponentName() string {
588 if m != nil {
589 return m.ComponentName
590 }
591 return ""
592}
593
aghoshc301dcd2020-09-03 16:55:34 +0100594type HWComponentInfoGetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100595 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
596 Reason HWComponentInfoGetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoGetResponse_Reason" json:"reason,omitempty"`
597 Component *Component `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100598 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100599 XXX_NoUnkeyedLiteral struct{} `json:"-"`
600 XXX_unrecognized []byte `json:"-"`
601 XXX_sizecache int32 `json:"-"`
aghoshc301dcd2020-09-03 16:55:34 +0100602}
603
604func (m *HWComponentInfoGetResponse) Reset() { *m = HWComponentInfoGetResponse{} }
605func (m *HWComponentInfoGetResponse) String() string { return proto.CompactTextString(m) }
606func (*HWComponentInfoGetResponse) ProtoMessage() {}
607func (*HWComponentInfoGetResponse) Descriptor() ([]byte, []int) {
608 return fileDescriptor_eae902e73066286d, []int{3}
609}
610
611func (m *HWComponentInfoGetResponse) XXX_Unmarshal(b []byte) error {
612 return xxx_messageInfo_HWComponentInfoGetResponse.Unmarshal(m, b)
613}
614func (m *HWComponentInfoGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
615 return xxx_messageInfo_HWComponentInfoGetResponse.Marshal(b, m, deterministic)
616}
617func (m *HWComponentInfoGetResponse) XXX_Merge(src proto.Message) {
618 xxx_messageInfo_HWComponentInfoGetResponse.Merge(m, src)
619}
620func (m *HWComponentInfoGetResponse) XXX_Size() int {
621 return xxx_messageInfo_HWComponentInfoGetResponse.Size(m)
622}
623func (m *HWComponentInfoGetResponse) XXX_DiscardUnknown() {
624 xxx_messageInfo_HWComponentInfoGetResponse.DiscardUnknown(m)
625}
626
627var xxx_messageInfo_HWComponentInfoGetResponse proto.InternalMessageInfo
628
629func (m *HWComponentInfoGetResponse) GetStatus() Status {
630 if m != nil {
631 return m.Status
632 }
633 return Status_UNDEFINED_STATUS
634}
635
amit.ghoshae473032021-01-10 11:59:10 +0100636func (m *HWComponentInfoGetResponse) GetReason() HWComponentInfoGetResponse_Reason {
aghoshc301dcd2020-09-03 16:55:34 +0100637 if m != nil {
638 return m.Reason
639 }
amit.ghoshae473032021-01-10 11:59:10 +0100640 return HWComponentInfoGetResponse_UNDEFINED_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100641}
642
643func (m *HWComponentInfoGetResponse) GetComponent() *Component {
644 if m != nil {
645 return m.Component
646 }
647 return nil
648}
649
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100650func (m *HWComponentInfoGetResponse) GetReasonDetail() string {
651 if m != nil {
652 return m.ReasonDetail
653 }
654 return ""
655}
656
Amit Ghosh09f28362020-06-12 21:52:19 +0100657type HWComponentInfoSetRequest struct {
658 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
659 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
660 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
661 Changes *ModifiableComponent `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"`
662 XXX_NoUnkeyedLiteral struct{} `json:"-"`
663 XXX_unrecognized []byte `json:"-"`
664 XXX_sizecache int32 `json:"-"`
665}
666
667func (m *HWComponentInfoSetRequest) Reset() { *m = HWComponentInfoSetRequest{} }
668func (m *HWComponentInfoSetRequest) String() string { return proto.CompactTextString(m) }
669func (*HWComponentInfoSetRequest) ProtoMessage() {}
670func (*HWComponentInfoSetRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100671 return fileDescriptor_eae902e73066286d, []int{4}
Amit Ghosh09f28362020-06-12 21:52:19 +0100672}
673
674func (m *HWComponentInfoSetRequest) XXX_Unmarshal(b []byte) error {
675 return xxx_messageInfo_HWComponentInfoSetRequest.Unmarshal(m, b)
676}
677func (m *HWComponentInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
678 return xxx_messageInfo_HWComponentInfoSetRequest.Marshal(b, m, deterministic)
679}
680func (m *HWComponentInfoSetRequest) XXX_Merge(src proto.Message) {
681 xxx_messageInfo_HWComponentInfoSetRequest.Merge(m, src)
682}
683func (m *HWComponentInfoSetRequest) XXX_Size() int {
684 return xxx_messageInfo_HWComponentInfoSetRequest.Size(m)
685}
686func (m *HWComponentInfoSetRequest) XXX_DiscardUnknown() {
687 xxx_messageInfo_HWComponentInfoSetRequest.DiscardUnknown(m)
688}
689
690var xxx_messageInfo_HWComponentInfoSetRequest proto.InternalMessageInfo
691
692func (m *HWComponentInfoSetRequest) GetDeviceUuid() *Uuid {
693 if m != nil {
694 return m.DeviceUuid
695 }
696 return nil
697}
698
699func (m *HWComponentInfoSetRequest) GetComponentUuid() *Uuid {
700 if m != nil {
701 return m.ComponentUuid
702 }
703 return nil
704}
705
706func (m *HWComponentInfoSetRequest) GetComponentName() string {
707 if m != nil {
708 return m.ComponentName
709 }
710 return ""
711}
712
713func (m *HWComponentInfoSetRequest) GetChanges() *ModifiableComponent {
714 if m != nil {
715 return m.Changes
716 }
717 return nil
718}
719
720type HWComponentInfoSetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100721 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
722 Reason HWComponentInfoSetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoSetResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100723 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100724 XXX_NoUnkeyedLiteral struct{} `json:"-"`
725 XXX_unrecognized []byte `json:"-"`
726 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100727}
728
729func (m *HWComponentInfoSetResponse) Reset() { *m = HWComponentInfoSetResponse{} }
730func (m *HWComponentInfoSetResponse) String() string { return proto.CompactTextString(m) }
731func (*HWComponentInfoSetResponse) ProtoMessage() {}
732func (*HWComponentInfoSetResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100733 return fileDescriptor_eae902e73066286d, []int{5}
Amit Ghosh09f28362020-06-12 21:52:19 +0100734}
735
736func (m *HWComponentInfoSetResponse) XXX_Unmarshal(b []byte) error {
737 return xxx_messageInfo_HWComponentInfoSetResponse.Unmarshal(m, b)
738}
739func (m *HWComponentInfoSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
740 return xxx_messageInfo_HWComponentInfoSetResponse.Marshal(b, m, deterministic)
741}
742func (m *HWComponentInfoSetResponse) XXX_Merge(src proto.Message) {
743 xxx_messageInfo_HWComponentInfoSetResponse.Merge(m, src)
744}
745func (m *HWComponentInfoSetResponse) XXX_Size() int {
746 return xxx_messageInfo_HWComponentInfoSetResponse.Size(m)
747}
748func (m *HWComponentInfoSetResponse) XXX_DiscardUnknown() {
749 xxx_messageInfo_HWComponentInfoSetResponse.DiscardUnknown(m)
750}
751
752var xxx_messageInfo_HWComponentInfoSetResponse proto.InternalMessageInfo
753
754func (m *HWComponentInfoSetResponse) GetStatus() Status {
755 if m != nil {
756 return m.Status
757 }
758 return Status_UNDEFINED_STATUS
759}
760
amit.ghoshae473032021-01-10 11:59:10 +0100761func (m *HWComponentInfoSetResponse) GetReason() HWComponentInfoSetResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100762 if m != nil {
763 return m.Reason
764 }
amit.ghoshae473032021-01-10 11:59:10 +0100765 return HWComponentInfoSetResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100766}
767
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100768func (m *HWComponentInfoSetResponse) GetReasonDetail() string {
769 if m != nil {
770 return m.ReasonDetail
771 }
772 return ""
773}
774
Amit Ghosh09f28362020-06-12 21:52:19 +0100775type StartManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100776 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
777 Reason StartManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartManagingDeviceResponse_Reason" json:"reason,omitempty"`
778 DeviceUuid *Uuid `protobuf:"bytes,3,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100779 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100780 XXX_NoUnkeyedLiteral struct{} `json:"-"`
781 XXX_unrecognized []byte `json:"-"`
782 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100783}
784
785func (m *StartManagingDeviceResponse) Reset() { *m = StartManagingDeviceResponse{} }
786func (m *StartManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
787func (*StartManagingDeviceResponse) ProtoMessage() {}
788func (*StartManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100789 return fileDescriptor_eae902e73066286d, []int{6}
Amit Ghosh09f28362020-06-12 21:52:19 +0100790}
791
792func (m *StartManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
793 return xxx_messageInfo_StartManagingDeviceResponse.Unmarshal(m, b)
794}
795func (m *StartManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
796 return xxx_messageInfo_StartManagingDeviceResponse.Marshal(b, m, deterministic)
797}
798func (m *StartManagingDeviceResponse) XXX_Merge(src proto.Message) {
799 xxx_messageInfo_StartManagingDeviceResponse.Merge(m, src)
800}
801func (m *StartManagingDeviceResponse) XXX_Size() int {
802 return xxx_messageInfo_StartManagingDeviceResponse.Size(m)
803}
804func (m *StartManagingDeviceResponse) XXX_DiscardUnknown() {
805 xxx_messageInfo_StartManagingDeviceResponse.DiscardUnknown(m)
806}
807
808var xxx_messageInfo_StartManagingDeviceResponse proto.InternalMessageInfo
809
810func (m *StartManagingDeviceResponse) GetStatus() Status {
811 if m != nil {
812 return m.Status
813 }
814 return Status_UNDEFINED_STATUS
815}
816
amit.ghoshae473032021-01-10 11:59:10 +0100817func (m *StartManagingDeviceResponse) GetReason() StartManagingDeviceResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100818 if m != nil {
819 return m.Reason
820 }
amit.ghoshae473032021-01-10 11:59:10 +0100821 return StartManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100822}
823
824func (m *StartManagingDeviceResponse) GetDeviceUuid() *Uuid {
825 if m != nil {
826 return m.DeviceUuid
827 }
828 return nil
829}
830
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100831func (m *StartManagingDeviceResponse) GetReasonDetail() string {
832 if m != nil {
833 return m.ReasonDetail
834 }
835 return ""
836}
837
Amit Ghosh366228e2020-07-06 13:46:42 +0100838type StopManagingDeviceRequest struct {
839 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
840 XXX_NoUnkeyedLiteral struct{} `json:"-"`
841 XXX_unrecognized []byte `json:"-"`
842 XXX_sizecache int32 `json:"-"`
843}
844
845func (m *StopManagingDeviceRequest) Reset() { *m = StopManagingDeviceRequest{} }
846func (m *StopManagingDeviceRequest) String() string { return proto.CompactTextString(m) }
847func (*StopManagingDeviceRequest) ProtoMessage() {}
848func (*StopManagingDeviceRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100849 return fileDescriptor_eae902e73066286d, []int{7}
Amit Ghosh366228e2020-07-06 13:46:42 +0100850}
851
852func (m *StopManagingDeviceRequest) XXX_Unmarshal(b []byte) error {
853 return xxx_messageInfo_StopManagingDeviceRequest.Unmarshal(m, b)
854}
855func (m *StopManagingDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
856 return xxx_messageInfo_StopManagingDeviceRequest.Marshal(b, m, deterministic)
857}
858func (m *StopManagingDeviceRequest) XXX_Merge(src proto.Message) {
859 xxx_messageInfo_StopManagingDeviceRequest.Merge(m, src)
860}
861func (m *StopManagingDeviceRequest) XXX_Size() int {
862 return xxx_messageInfo_StopManagingDeviceRequest.Size(m)
863}
864func (m *StopManagingDeviceRequest) XXX_DiscardUnknown() {
865 xxx_messageInfo_StopManagingDeviceRequest.DiscardUnknown(m)
866}
867
868var xxx_messageInfo_StopManagingDeviceRequest proto.InternalMessageInfo
869
870func (m *StopManagingDeviceRequest) GetName() string {
871 if m != nil {
872 return m.Name
873 }
874 return ""
875}
876
877type StopManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100878 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
879 Reason StopManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StopManagingDeviceResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100880 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100881 XXX_NoUnkeyedLiteral struct{} `json:"-"`
882 XXX_unrecognized []byte `json:"-"`
883 XXX_sizecache int32 `json:"-"`
Amit Ghosh366228e2020-07-06 13:46:42 +0100884}
885
886func (m *StopManagingDeviceResponse) Reset() { *m = StopManagingDeviceResponse{} }
887func (m *StopManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
888func (*StopManagingDeviceResponse) ProtoMessage() {}
889func (*StopManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100890 return fileDescriptor_eae902e73066286d, []int{8}
Amit Ghosh366228e2020-07-06 13:46:42 +0100891}
892
893func (m *StopManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
894 return xxx_messageInfo_StopManagingDeviceResponse.Unmarshal(m, b)
895}
896func (m *StopManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
897 return xxx_messageInfo_StopManagingDeviceResponse.Marshal(b, m, deterministic)
898}
899func (m *StopManagingDeviceResponse) XXX_Merge(src proto.Message) {
900 xxx_messageInfo_StopManagingDeviceResponse.Merge(m, src)
901}
902func (m *StopManagingDeviceResponse) XXX_Size() int {
903 return xxx_messageInfo_StopManagingDeviceResponse.Size(m)
904}
905func (m *StopManagingDeviceResponse) XXX_DiscardUnknown() {
906 xxx_messageInfo_StopManagingDeviceResponse.DiscardUnknown(m)
907}
908
909var xxx_messageInfo_StopManagingDeviceResponse proto.InternalMessageInfo
910
911func (m *StopManagingDeviceResponse) GetStatus() Status {
912 if m != nil {
913 return m.Status
914 }
915 return Status_UNDEFINED_STATUS
916}
917
amit.ghoshae473032021-01-10 11:59:10 +0100918func (m *StopManagingDeviceResponse) GetReason() StopManagingDeviceResponse_Reason {
Amit Ghosh366228e2020-07-06 13:46:42 +0100919 if m != nil {
920 return m.Reason
921 }
amit.ghoshae473032021-01-10 11:59:10 +0100922 return StopManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh366228e2020-07-06 13:46:42 +0100923}
924
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100925func (m *StopManagingDeviceResponse) GetReasonDetail() string {
926 if m != nil {
927 return m.ReasonDetail
928 }
929 return ""
930}
931
amit.ghosh0c687412021-03-24 19:01:08 +0100932type ManagedDeviceInfo struct {
933 Info *ModifiableComponent `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
934 DeviceUuid *Uuid `protobuf:"bytes,2,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
935 XXX_NoUnkeyedLiteral struct{} `json:"-"`
936 XXX_unrecognized []byte `json:"-"`
937 XXX_sizecache int32 `json:"-"`
938}
939
940func (m *ManagedDeviceInfo) Reset() { *m = ManagedDeviceInfo{} }
941func (m *ManagedDeviceInfo) String() string { return proto.CompactTextString(m) }
942func (*ManagedDeviceInfo) ProtoMessage() {}
943func (*ManagedDeviceInfo) Descriptor() ([]byte, []int) {
944 return fileDescriptor_eae902e73066286d, []int{9}
945}
946
947func (m *ManagedDeviceInfo) XXX_Unmarshal(b []byte) error {
948 return xxx_messageInfo_ManagedDeviceInfo.Unmarshal(m, b)
949}
950func (m *ManagedDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
951 return xxx_messageInfo_ManagedDeviceInfo.Marshal(b, m, deterministic)
952}
953func (m *ManagedDeviceInfo) XXX_Merge(src proto.Message) {
954 xxx_messageInfo_ManagedDeviceInfo.Merge(m, src)
955}
956func (m *ManagedDeviceInfo) XXX_Size() int {
957 return xxx_messageInfo_ManagedDeviceInfo.Size(m)
958}
959func (m *ManagedDeviceInfo) XXX_DiscardUnknown() {
960 xxx_messageInfo_ManagedDeviceInfo.DiscardUnknown(m)
961}
962
963var xxx_messageInfo_ManagedDeviceInfo proto.InternalMessageInfo
964
965func (m *ManagedDeviceInfo) GetInfo() *ModifiableComponent {
966 if m != nil {
967 return m.Info
968 }
969 return nil
970}
971
972func (m *ManagedDeviceInfo) GetDeviceUuid() *Uuid {
973 if m != nil {
974 return m.DeviceUuid
975 }
976 return nil
977}
978
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200979type ManagedDevicesResponse struct {
amit.ghosh0c687412021-03-24 19:01:08 +0100980 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
981 Reason ManagedDevicesResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.ManagedDevicesResponse_Reason" json:"reason,omitempty"`
982 Devices []*ManagedDeviceInfo `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
983 XXX_NoUnkeyedLiteral struct{} `json:"-"`
984 XXX_unrecognized []byte `json:"-"`
985 XXX_sizecache int32 `json:"-"`
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200986}
987
988func (m *ManagedDevicesResponse) Reset() { *m = ManagedDevicesResponse{} }
989func (m *ManagedDevicesResponse) String() string { return proto.CompactTextString(m) }
990func (*ManagedDevicesResponse) ProtoMessage() {}
991func (*ManagedDevicesResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100992 return fileDescriptor_eae902e73066286d, []int{10}
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200993}
994
995func (m *ManagedDevicesResponse) XXX_Unmarshal(b []byte) error {
996 return xxx_messageInfo_ManagedDevicesResponse.Unmarshal(m, b)
997}
998func (m *ManagedDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
999 return xxx_messageInfo_ManagedDevicesResponse.Marshal(b, m, deterministic)
1000}
1001func (m *ManagedDevicesResponse) XXX_Merge(src proto.Message) {
1002 xxx_messageInfo_ManagedDevicesResponse.Merge(m, src)
1003}
1004func (m *ManagedDevicesResponse) XXX_Size() int {
1005 return xxx_messageInfo_ManagedDevicesResponse.Size(m)
1006}
1007func (m *ManagedDevicesResponse) XXX_DiscardUnknown() {
1008 xxx_messageInfo_ManagedDevicesResponse.DiscardUnknown(m)
1009}
1010
1011var xxx_messageInfo_ManagedDevicesResponse proto.InternalMessageInfo
1012
amit.ghosh0c687412021-03-24 19:01:08 +01001013func (m *ManagedDevicesResponse) GetStatus() Status {
1014 if m != nil {
1015 return m.Status
1016 }
1017 return Status_UNDEFINED_STATUS
1018}
1019
1020func (m *ManagedDevicesResponse) GetReason() ManagedDevicesResponse_Reason {
1021 if m != nil {
1022 return m.Reason
1023 }
1024 return ManagedDevicesResponse_UNDEFINED_REASON
1025}
1026
1027func (m *ManagedDevicesResponse) GetDevices() []*ManagedDeviceInfo {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001028 if m != nil {
1029 return m.Devices
1030 }
1031 return nil
1032}
1033
amit.ghosh188a84f2020-09-27 20:59:25 +02001034type SetLoggingEndpointRequest struct {
1035 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1036 LoggingEndpoint string `protobuf:"bytes,2,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1037 LoggingProtocol string `protobuf:"bytes,3,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
1038 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1039 XXX_unrecognized []byte `json:"-"`
1040 XXX_sizecache int32 `json:"-"`
1041}
1042
1043func (m *SetLoggingEndpointRequest) Reset() { *m = SetLoggingEndpointRequest{} }
1044func (m *SetLoggingEndpointRequest) String() string { return proto.CompactTextString(m) }
1045func (*SetLoggingEndpointRequest) ProtoMessage() {}
1046func (*SetLoggingEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001047 return fileDescriptor_eae902e73066286d, []int{11}
amit.ghosh188a84f2020-09-27 20:59:25 +02001048}
1049
1050func (m *SetLoggingEndpointRequest) XXX_Unmarshal(b []byte) error {
1051 return xxx_messageInfo_SetLoggingEndpointRequest.Unmarshal(m, b)
1052}
1053func (m *SetLoggingEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1054 return xxx_messageInfo_SetLoggingEndpointRequest.Marshal(b, m, deterministic)
1055}
1056func (m *SetLoggingEndpointRequest) XXX_Merge(src proto.Message) {
1057 xxx_messageInfo_SetLoggingEndpointRequest.Merge(m, src)
1058}
1059func (m *SetLoggingEndpointRequest) XXX_Size() int {
1060 return xxx_messageInfo_SetLoggingEndpointRequest.Size(m)
1061}
1062func (m *SetLoggingEndpointRequest) XXX_DiscardUnknown() {
1063 xxx_messageInfo_SetLoggingEndpointRequest.DiscardUnknown(m)
1064}
1065
1066var xxx_messageInfo_SetLoggingEndpointRequest proto.InternalMessageInfo
1067
1068func (m *SetLoggingEndpointRequest) GetDeviceUuid() *Uuid {
1069 if m != nil {
1070 return m.DeviceUuid
1071 }
1072 return nil
1073}
1074
1075func (m *SetLoggingEndpointRequest) GetLoggingEndpoint() string {
1076 if m != nil {
1077 return m.LoggingEndpoint
1078 }
1079 return ""
1080}
1081
1082func (m *SetLoggingEndpointRequest) GetLoggingProtocol() string {
1083 if m != nil {
1084 return m.LoggingProtocol
1085 }
1086 return ""
1087}
1088
1089type SetRemoteEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001090 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1091 Reason SetRemoteEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetRemoteEndpointResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001092 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001093 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1094 XXX_unrecognized []byte `json:"-"`
1095 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001096}
1097
1098func (m *SetRemoteEndpointResponse) Reset() { *m = SetRemoteEndpointResponse{} }
1099func (m *SetRemoteEndpointResponse) String() string { return proto.CompactTextString(m) }
1100func (*SetRemoteEndpointResponse) ProtoMessage() {}
1101func (*SetRemoteEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001102 return fileDescriptor_eae902e73066286d, []int{12}
amit.ghosh188a84f2020-09-27 20:59:25 +02001103}
1104
1105func (m *SetRemoteEndpointResponse) XXX_Unmarshal(b []byte) error {
1106 return xxx_messageInfo_SetRemoteEndpointResponse.Unmarshal(m, b)
1107}
1108func (m *SetRemoteEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1109 return xxx_messageInfo_SetRemoteEndpointResponse.Marshal(b, m, deterministic)
1110}
1111func (m *SetRemoteEndpointResponse) XXX_Merge(src proto.Message) {
1112 xxx_messageInfo_SetRemoteEndpointResponse.Merge(m, src)
1113}
1114func (m *SetRemoteEndpointResponse) XXX_Size() int {
1115 return xxx_messageInfo_SetRemoteEndpointResponse.Size(m)
1116}
1117func (m *SetRemoteEndpointResponse) XXX_DiscardUnknown() {
1118 xxx_messageInfo_SetRemoteEndpointResponse.DiscardUnknown(m)
1119}
1120
1121var xxx_messageInfo_SetRemoteEndpointResponse proto.InternalMessageInfo
1122
1123func (m *SetRemoteEndpointResponse) GetStatus() Status {
1124 if m != nil {
1125 return m.Status
1126 }
1127 return Status_UNDEFINED_STATUS
1128}
1129
amit.ghoshae473032021-01-10 11:59:10 +01001130func (m *SetRemoteEndpointResponse) GetReason() SetRemoteEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001131 if m != nil {
1132 return m.Reason
1133 }
amit.ghoshae473032021-01-10 11:59:10 +01001134 return SetRemoteEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001135}
1136
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001137func (m *SetRemoteEndpointResponse) GetReasonDetail() string {
1138 if m != nil {
1139 return m.ReasonDetail
1140 }
1141 return ""
1142}
1143
amit.ghosh188a84f2020-09-27 20:59:25 +02001144type GetLoggingEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001145 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1146 Reason GetLoggingEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetLoggingEndpointResponse_Reason" json:"reason,omitempty"`
1147 LoggingEndpoint string `protobuf:"bytes,3,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1148 LoggingProtocol string `protobuf:"bytes,4,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001149 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001150 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1151 XXX_unrecognized []byte `json:"-"`
1152 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001153}
1154
1155func (m *GetLoggingEndpointResponse) Reset() { *m = GetLoggingEndpointResponse{} }
1156func (m *GetLoggingEndpointResponse) String() string { return proto.CompactTextString(m) }
1157func (*GetLoggingEndpointResponse) ProtoMessage() {}
1158func (*GetLoggingEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001159 return fileDescriptor_eae902e73066286d, []int{13}
amit.ghosh188a84f2020-09-27 20:59:25 +02001160}
1161
1162func (m *GetLoggingEndpointResponse) XXX_Unmarshal(b []byte) error {
1163 return xxx_messageInfo_GetLoggingEndpointResponse.Unmarshal(m, b)
1164}
1165func (m *GetLoggingEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1166 return xxx_messageInfo_GetLoggingEndpointResponse.Marshal(b, m, deterministic)
1167}
1168func (m *GetLoggingEndpointResponse) XXX_Merge(src proto.Message) {
1169 xxx_messageInfo_GetLoggingEndpointResponse.Merge(m, src)
1170}
1171func (m *GetLoggingEndpointResponse) XXX_Size() int {
1172 return xxx_messageInfo_GetLoggingEndpointResponse.Size(m)
1173}
1174func (m *GetLoggingEndpointResponse) XXX_DiscardUnknown() {
1175 xxx_messageInfo_GetLoggingEndpointResponse.DiscardUnknown(m)
1176}
1177
1178var xxx_messageInfo_GetLoggingEndpointResponse proto.InternalMessageInfo
1179
1180func (m *GetLoggingEndpointResponse) GetStatus() Status {
1181 if m != nil {
1182 return m.Status
1183 }
1184 return Status_UNDEFINED_STATUS
1185}
1186
amit.ghoshae473032021-01-10 11:59:10 +01001187func (m *GetLoggingEndpointResponse) GetReason() GetLoggingEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001188 if m != nil {
1189 return m.Reason
1190 }
amit.ghoshae473032021-01-10 11:59:10 +01001191 return GetLoggingEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001192}
1193
1194func (m *GetLoggingEndpointResponse) GetLoggingEndpoint() string {
1195 if m != nil {
1196 return m.LoggingEndpoint
1197 }
1198 return ""
1199}
1200
1201func (m *GetLoggingEndpointResponse) GetLoggingProtocol() string {
1202 if m != nil {
1203 return m.LoggingProtocol
1204 }
1205 return ""
1206}
1207
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001208func (m *GetLoggingEndpointResponse) GetReasonDetail() string {
1209 if m != nil {
1210 return m.ReasonDetail
1211 }
1212 return ""
1213}
1214
amit.ghosh188a84f2020-09-27 20:59:25 +02001215type SetMsgBusEndpointRequest struct {
1216 MsgbusEndpoint string `protobuf:"bytes,1,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1217 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1218 XXX_unrecognized []byte `json:"-"`
1219 XXX_sizecache int32 `json:"-"`
1220}
1221
1222func (m *SetMsgBusEndpointRequest) Reset() { *m = SetMsgBusEndpointRequest{} }
1223func (m *SetMsgBusEndpointRequest) String() string { return proto.CompactTextString(m) }
1224func (*SetMsgBusEndpointRequest) ProtoMessage() {}
1225func (*SetMsgBusEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001226 return fileDescriptor_eae902e73066286d, []int{14}
amit.ghosh188a84f2020-09-27 20:59:25 +02001227}
1228
1229func (m *SetMsgBusEndpointRequest) XXX_Unmarshal(b []byte) error {
1230 return xxx_messageInfo_SetMsgBusEndpointRequest.Unmarshal(m, b)
1231}
1232func (m *SetMsgBusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1233 return xxx_messageInfo_SetMsgBusEndpointRequest.Marshal(b, m, deterministic)
1234}
1235func (m *SetMsgBusEndpointRequest) XXX_Merge(src proto.Message) {
1236 xxx_messageInfo_SetMsgBusEndpointRequest.Merge(m, src)
1237}
1238func (m *SetMsgBusEndpointRequest) XXX_Size() int {
1239 return xxx_messageInfo_SetMsgBusEndpointRequest.Size(m)
1240}
1241func (m *SetMsgBusEndpointRequest) XXX_DiscardUnknown() {
1242 xxx_messageInfo_SetMsgBusEndpointRequest.DiscardUnknown(m)
1243}
1244
1245var xxx_messageInfo_SetMsgBusEndpointRequest proto.InternalMessageInfo
1246
1247func (m *SetMsgBusEndpointRequest) GetMsgbusEndpoint() string {
1248 if m != nil {
1249 return m.MsgbusEndpoint
1250 }
1251 return ""
1252}
1253
1254type GetMsgBusEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001255 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1256 Reason GetMsgBusEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetMsgBusEndpointResponse_Reason" json:"reason,omitempty"`
1257 MsgbusEndpoint string `protobuf:"bytes,3,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001258 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001259 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1260 XXX_unrecognized []byte `json:"-"`
1261 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001262}
1263
1264func (m *GetMsgBusEndpointResponse) Reset() { *m = GetMsgBusEndpointResponse{} }
1265func (m *GetMsgBusEndpointResponse) String() string { return proto.CompactTextString(m) }
1266func (*GetMsgBusEndpointResponse) ProtoMessage() {}
1267func (*GetMsgBusEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001268 return fileDescriptor_eae902e73066286d, []int{15}
amit.ghosh188a84f2020-09-27 20:59:25 +02001269}
1270
1271func (m *GetMsgBusEndpointResponse) XXX_Unmarshal(b []byte) error {
1272 return xxx_messageInfo_GetMsgBusEndpointResponse.Unmarshal(m, b)
1273}
1274func (m *GetMsgBusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1275 return xxx_messageInfo_GetMsgBusEndpointResponse.Marshal(b, m, deterministic)
1276}
1277func (m *GetMsgBusEndpointResponse) XXX_Merge(src proto.Message) {
1278 xxx_messageInfo_GetMsgBusEndpointResponse.Merge(m, src)
1279}
1280func (m *GetMsgBusEndpointResponse) XXX_Size() int {
1281 return xxx_messageInfo_GetMsgBusEndpointResponse.Size(m)
1282}
1283func (m *GetMsgBusEndpointResponse) XXX_DiscardUnknown() {
1284 xxx_messageInfo_GetMsgBusEndpointResponse.DiscardUnknown(m)
1285}
1286
1287var xxx_messageInfo_GetMsgBusEndpointResponse proto.InternalMessageInfo
1288
1289func (m *GetMsgBusEndpointResponse) GetStatus() Status {
1290 if m != nil {
1291 return m.Status
1292 }
1293 return Status_UNDEFINED_STATUS
1294}
1295
amit.ghoshae473032021-01-10 11:59:10 +01001296func (m *GetMsgBusEndpointResponse) GetReason() GetMsgBusEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001297 if m != nil {
1298 return m.Reason
1299 }
amit.ghoshae473032021-01-10 11:59:10 +01001300 return GetMsgBusEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001301}
1302
1303func (m *GetMsgBusEndpointResponse) GetMsgbusEndpoint() string {
1304 if m != nil {
1305 return m.MsgbusEndpoint
1306 }
1307 return ""
1308}
1309
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001310func (m *GetMsgBusEndpointResponse) GetReasonDetail() string {
1311 if m != nil {
1312 return m.ReasonDetail
1313 }
1314 return ""
1315}
1316
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001317type EntitiesLogLevel struct {
1318 LogLevel LogLevel `protobuf:"varint,1,opt,name=logLevel,proto3,enum=dmi.LogLevel" json:"logLevel,omitempty"`
1319 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1320 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1321 XXX_unrecognized []byte `json:"-"`
1322 XXX_sizecache int32 `json:"-"`
1323}
1324
1325func (m *EntitiesLogLevel) Reset() { *m = EntitiesLogLevel{} }
1326func (m *EntitiesLogLevel) String() string { return proto.CompactTextString(m) }
1327func (*EntitiesLogLevel) ProtoMessage() {}
1328func (*EntitiesLogLevel) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001329 return fileDescriptor_eae902e73066286d, []int{16}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001330}
1331
1332func (m *EntitiesLogLevel) XXX_Unmarshal(b []byte) error {
1333 return xxx_messageInfo_EntitiesLogLevel.Unmarshal(m, b)
1334}
1335func (m *EntitiesLogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1336 return xxx_messageInfo_EntitiesLogLevel.Marshal(b, m, deterministic)
1337}
1338func (m *EntitiesLogLevel) XXX_Merge(src proto.Message) {
1339 xxx_messageInfo_EntitiesLogLevel.Merge(m, src)
1340}
1341func (m *EntitiesLogLevel) XXX_Size() int {
1342 return xxx_messageInfo_EntitiesLogLevel.Size(m)
1343}
1344func (m *EntitiesLogLevel) XXX_DiscardUnknown() {
1345 xxx_messageInfo_EntitiesLogLevel.DiscardUnknown(m)
1346}
1347
1348var xxx_messageInfo_EntitiesLogLevel proto.InternalMessageInfo
1349
1350func (m *EntitiesLogLevel) GetLogLevel() LogLevel {
1351 if m != nil {
1352 return m.LogLevel
1353 }
1354 return LogLevel_TRACE
1355}
1356
1357func (m *EntitiesLogLevel) GetEntities() []string {
1358 if m != nil {
1359 return m.Entities
1360 }
1361 return nil
1362}
1363
1364type SetLogLevelRequest struct {
1365 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1366 Loglevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=loglevels,proto3" json:"loglevels,omitempty"`
1367 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1368 XXX_unrecognized []byte `json:"-"`
1369 XXX_sizecache int32 `json:"-"`
1370}
1371
1372func (m *SetLogLevelRequest) Reset() { *m = SetLogLevelRequest{} }
1373func (m *SetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1374func (*SetLogLevelRequest) ProtoMessage() {}
1375func (*SetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001376 return fileDescriptor_eae902e73066286d, []int{17}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001377}
1378
1379func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1380 return xxx_messageInfo_SetLogLevelRequest.Unmarshal(m, b)
1381}
1382func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1383 return xxx_messageInfo_SetLogLevelRequest.Marshal(b, m, deterministic)
1384}
1385func (m *SetLogLevelRequest) XXX_Merge(src proto.Message) {
1386 xxx_messageInfo_SetLogLevelRequest.Merge(m, src)
1387}
1388func (m *SetLogLevelRequest) XXX_Size() int {
1389 return xxx_messageInfo_SetLogLevelRequest.Size(m)
1390}
1391func (m *SetLogLevelRequest) XXX_DiscardUnknown() {
1392 xxx_messageInfo_SetLogLevelRequest.DiscardUnknown(m)
1393}
1394
1395var xxx_messageInfo_SetLogLevelRequest proto.InternalMessageInfo
1396
1397func (m *SetLogLevelRequest) GetDeviceUuid() *Uuid {
1398 if m != nil {
1399 return m.DeviceUuid
1400 }
1401 return nil
1402}
1403
1404func (m *SetLogLevelRequest) GetLoglevels() []*EntitiesLogLevel {
1405 if m != nil {
1406 return m.Loglevels
1407 }
1408 return nil
1409}
1410
1411type SetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001412 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1413 Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1414 Reason SetLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.SetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001415 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001416 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1417 XXX_unrecognized []byte `json:"-"`
1418 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001419}
1420
1421func (m *SetLogLevelResponse) Reset() { *m = SetLogLevelResponse{} }
1422func (m *SetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1423func (*SetLogLevelResponse) ProtoMessage() {}
1424func (*SetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001425 return fileDescriptor_eae902e73066286d, []int{18}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001426}
1427
1428func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1429 return xxx_messageInfo_SetLogLevelResponse.Unmarshal(m, b)
1430}
1431func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1432 return xxx_messageInfo_SetLogLevelResponse.Marshal(b, m, deterministic)
1433}
1434func (m *SetLogLevelResponse) XXX_Merge(src proto.Message) {
1435 xxx_messageInfo_SetLogLevelResponse.Merge(m, src)
1436}
1437func (m *SetLogLevelResponse) XXX_Size() int {
1438 return xxx_messageInfo_SetLogLevelResponse.Size(m)
1439}
1440func (m *SetLogLevelResponse) XXX_DiscardUnknown() {
1441 xxx_messageInfo_SetLogLevelResponse.DiscardUnknown(m)
1442}
1443
1444var xxx_messageInfo_SetLogLevelResponse proto.InternalMessageInfo
1445
amit.ghosh5d97dba2020-11-12 16:45:27 +01001446func (m *SetLogLevelResponse) GetDeviceUuid() *Uuid {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001447 if m != nil {
1448 return m.DeviceUuid
1449 }
1450 return nil
1451}
1452
amit.ghosh5d97dba2020-11-12 16:45:27 +01001453func (m *SetLogLevelResponse) GetStatus() Status {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001454 if m != nil {
1455 return m.Status
1456 }
1457 return Status_UNDEFINED_STATUS
1458}
1459
amit.ghoshae473032021-01-10 11:59:10 +01001460func (m *SetLogLevelResponse) GetReason() SetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001461 if m != nil {
1462 return m.Reason
1463 }
amit.ghoshae473032021-01-10 11:59:10 +01001464 return SetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001465}
1466
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001467func (m *SetLogLevelResponse) GetReasonDetail() string {
1468 if m != nil {
1469 return m.ReasonDetail
1470 }
1471 return ""
1472}
1473
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001474type GetLogLevelRequest struct {
1475 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1476 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1477 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1478 XXX_unrecognized []byte `json:"-"`
1479 XXX_sizecache int32 `json:"-"`
1480}
1481
1482func (m *GetLogLevelRequest) Reset() { *m = GetLogLevelRequest{} }
1483func (m *GetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1484func (*GetLogLevelRequest) ProtoMessage() {}
1485func (*GetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001486 return fileDescriptor_eae902e73066286d, []int{19}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001487}
1488
1489func (m *GetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1490 return xxx_messageInfo_GetLogLevelRequest.Unmarshal(m, b)
1491}
1492func (m *GetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1493 return xxx_messageInfo_GetLogLevelRequest.Marshal(b, m, deterministic)
1494}
1495func (m *GetLogLevelRequest) XXX_Merge(src proto.Message) {
1496 xxx_messageInfo_GetLogLevelRequest.Merge(m, src)
1497}
1498func (m *GetLogLevelRequest) XXX_Size() int {
1499 return xxx_messageInfo_GetLogLevelRequest.Size(m)
1500}
1501func (m *GetLogLevelRequest) XXX_DiscardUnknown() {
1502 xxx_messageInfo_GetLogLevelRequest.DiscardUnknown(m)
1503}
1504
1505var xxx_messageInfo_GetLogLevelRequest proto.InternalMessageInfo
1506
1507func (m *GetLogLevelRequest) GetDeviceUuid() *Uuid {
1508 if m != nil {
1509 return m.DeviceUuid
1510 }
1511 return nil
1512}
1513
1514func (m *GetLogLevelRequest) GetEntities() []string {
1515 if m != nil {
1516 return m.Entities
1517 }
1518 return nil
1519}
1520
1521type GetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001522 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1523 LogLevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=logLevels,proto3" json:"logLevels,omitempty"`
1524 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1525 Reason GetLogLevelResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.GetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001526 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001527 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1528 XXX_unrecognized []byte `json:"-"`
1529 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001530}
1531
1532func (m *GetLogLevelResponse) Reset() { *m = GetLogLevelResponse{} }
1533func (m *GetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1534func (*GetLogLevelResponse) ProtoMessage() {}
1535func (*GetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001536 return fileDescriptor_eae902e73066286d, []int{20}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001537}
1538
1539func (m *GetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1540 return xxx_messageInfo_GetLogLevelResponse.Unmarshal(m, b)
1541}
1542func (m *GetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1543 return xxx_messageInfo_GetLogLevelResponse.Marshal(b, m, deterministic)
1544}
1545func (m *GetLogLevelResponse) XXX_Merge(src proto.Message) {
1546 xxx_messageInfo_GetLogLevelResponse.Merge(m, src)
1547}
1548func (m *GetLogLevelResponse) XXX_Size() int {
1549 return xxx_messageInfo_GetLogLevelResponse.Size(m)
1550}
1551func (m *GetLogLevelResponse) XXX_DiscardUnknown() {
1552 xxx_messageInfo_GetLogLevelResponse.DiscardUnknown(m)
1553}
1554
1555var xxx_messageInfo_GetLogLevelResponse proto.InternalMessageInfo
1556
1557func (m *GetLogLevelResponse) GetDeviceUuid() *Uuid {
1558 if m != nil {
1559 return m.DeviceUuid
1560 }
1561 return nil
1562}
1563
1564func (m *GetLogLevelResponse) GetLogLevels() []*EntitiesLogLevel {
1565 if m != nil {
1566 return m.LogLevels
1567 }
1568 return nil
1569}
1570
1571func (m *GetLogLevelResponse) GetStatus() Status {
1572 if m != nil {
1573 return m.Status
1574 }
1575 return Status_UNDEFINED_STATUS
1576}
1577
amit.ghoshae473032021-01-10 11:59:10 +01001578func (m *GetLogLevelResponse) GetReason() GetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001579 if m != nil {
1580 return m.Reason
1581 }
amit.ghoshae473032021-01-10 11:59:10 +01001582 return GetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001583}
1584
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001585func (m *GetLogLevelResponse) GetReasonDetail() string {
1586 if m != nil {
1587 return m.ReasonDetail
1588 }
1589 return ""
1590}
1591
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001592type GetLoggableEntitiesRequest struct {
1593 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1594 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1595 XXX_unrecognized []byte `json:"-"`
1596 XXX_sizecache int32 `json:"-"`
1597}
1598
1599func (m *GetLoggableEntitiesRequest) Reset() { *m = GetLoggableEntitiesRequest{} }
1600func (m *GetLoggableEntitiesRequest) String() string { return proto.CompactTextString(m) }
1601func (*GetLoggableEntitiesRequest) ProtoMessage() {}
1602func (*GetLoggableEntitiesRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001603 return fileDescriptor_eae902e73066286d, []int{21}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001604}
1605
1606func (m *GetLoggableEntitiesRequest) XXX_Unmarshal(b []byte) error {
1607 return xxx_messageInfo_GetLoggableEntitiesRequest.Unmarshal(m, b)
1608}
1609func (m *GetLoggableEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1610 return xxx_messageInfo_GetLoggableEntitiesRequest.Marshal(b, m, deterministic)
1611}
1612func (m *GetLoggableEntitiesRequest) XXX_Merge(src proto.Message) {
1613 xxx_messageInfo_GetLoggableEntitiesRequest.Merge(m, src)
1614}
1615func (m *GetLoggableEntitiesRequest) XXX_Size() int {
1616 return xxx_messageInfo_GetLoggableEntitiesRequest.Size(m)
1617}
1618func (m *GetLoggableEntitiesRequest) XXX_DiscardUnknown() {
1619 xxx_messageInfo_GetLoggableEntitiesRequest.DiscardUnknown(m)
1620}
1621
1622var xxx_messageInfo_GetLoggableEntitiesRequest proto.InternalMessageInfo
1623
1624func (m *GetLoggableEntitiesRequest) GetDeviceUuid() *Uuid {
1625 if m != nil {
1626 return m.DeviceUuid
1627 }
1628 return nil
1629}
1630
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301631type Heartbeat struct {
1632 HeartbeatSignature uint32 `protobuf:"fixed32,1,opt,name=heartbeat_signature,json=heartbeatSignature,proto3" json:"heartbeat_signature,omitempty"`
1633 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1634 XXX_unrecognized []byte `json:"-"`
1635 XXX_sizecache int32 `json:"-"`
1636}
1637
1638func (m *Heartbeat) Reset() { *m = Heartbeat{} }
1639func (m *Heartbeat) String() string { return proto.CompactTextString(m) }
1640func (*Heartbeat) ProtoMessage() {}
1641func (*Heartbeat) Descriptor() ([]byte, []int) {
1642 return fileDescriptor_eae902e73066286d, []int{22}
1643}
1644
1645func (m *Heartbeat) XXX_Unmarshal(b []byte) error {
1646 return xxx_messageInfo_Heartbeat.Unmarshal(m, b)
1647}
1648func (m *Heartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1649 return xxx_messageInfo_Heartbeat.Marshal(b, m, deterministic)
1650}
1651func (m *Heartbeat) XXX_Merge(src proto.Message) {
1652 xxx_messageInfo_Heartbeat.Merge(m, src)
1653}
1654func (m *Heartbeat) XXX_Size() int {
1655 return xxx_messageInfo_Heartbeat.Size(m)
1656}
1657func (m *Heartbeat) XXX_DiscardUnknown() {
1658 xxx_messageInfo_Heartbeat.DiscardUnknown(m)
1659}
1660
1661var xxx_messageInfo_Heartbeat proto.InternalMessageInfo
1662
1663func (m *Heartbeat) GetHeartbeatSignature() uint32 {
1664 if m != nil {
1665 return m.HeartbeatSignature
1666 }
1667 return 0
1668}
1669
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301670type RebootDeviceRequest struct {
1671 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1672 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1673 XXX_unrecognized []byte `json:"-"`
1674 XXX_sizecache int32 `json:"-"`
1675}
1676
1677func (m *RebootDeviceRequest) Reset() { *m = RebootDeviceRequest{} }
1678func (m *RebootDeviceRequest) String() string { return proto.CompactTextString(m) }
1679func (*RebootDeviceRequest) ProtoMessage() {}
1680func (*RebootDeviceRequest) Descriptor() ([]byte, []int) {
1681 return fileDescriptor_eae902e73066286d, []int{23}
1682}
1683
1684func (m *RebootDeviceRequest) XXX_Unmarshal(b []byte) error {
1685 return xxx_messageInfo_RebootDeviceRequest.Unmarshal(m, b)
1686}
1687func (m *RebootDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1688 return xxx_messageInfo_RebootDeviceRequest.Marshal(b, m, deterministic)
1689}
1690func (m *RebootDeviceRequest) XXX_Merge(src proto.Message) {
1691 xxx_messageInfo_RebootDeviceRequest.Merge(m, src)
1692}
1693func (m *RebootDeviceRequest) XXX_Size() int {
1694 return xxx_messageInfo_RebootDeviceRequest.Size(m)
1695}
1696func (m *RebootDeviceRequest) XXX_DiscardUnknown() {
1697 xxx_messageInfo_RebootDeviceRequest.DiscardUnknown(m)
1698}
1699
1700var xxx_messageInfo_RebootDeviceRequest proto.InternalMessageInfo
1701
1702func (m *RebootDeviceRequest) GetDeviceUuid() *Uuid {
1703 if m != nil {
1704 return m.DeviceUuid
1705 }
1706 return nil
1707}
1708
1709type RebootDeviceResponse struct {
1710 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1711 Reason RebootDeviceResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.RebootDeviceResponse_Reason" json:"reason,omitempty"`
1712 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1713 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1714 XXX_unrecognized []byte `json:"-"`
1715 XXX_sizecache int32 `json:"-"`
1716}
1717
1718func (m *RebootDeviceResponse) Reset() { *m = RebootDeviceResponse{} }
1719func (m *RebootDeviceResponse) String() string { return proto.CompactTextString(m) }
1720func (*RebootDeviceResponse) ProtoMessage() {}
1721func (*RebootDeviceResponse) Descriptor() ([]byte, []int) {
1722 return fileDescriptor_eae902e73066286d, []int{24}
1723}
1724
1725func (m *RebootDeviceResponse) XXX_Unmarshal(b []byte) error {
1726 return xxx_messageInfo_RebootDeviceResponse.Unmarshal(m, b)
1727}
1728func (m *RebootDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1729 return xxx_messageInfo_RebootDeviceResponse.Marshal(b, m, deterministic)
1730}
1731func (m *RebootDeviceResponse) XXX_Merge(src proto.Message) {
1732 xxx_messageInfo_RebootDeviceResponse.Merge(m, src)
1733}
1734func (m *RebootDeviceResponse) XXX_Size() int {
1735 return xxx_messageInfo_RebootDeviceResponse.Size(m)
1736}
1737func (m *RebootDeviceResponse) XXX_DiscardUnknown() {
1738 xxx_messageInfo_RebootDeviceResponse.DiscardUnknown(m)
1739}
1740
1741var xxx_messageInfo_RebootDeviceResponse proto.InternalMessageInfo
1742
1743func (m *RebootDeviceResponse) GetStatus() Status {
1744 if m != nil {
1745 return m.Status
1746 }
1747 return Status_UNDEFINED_STATUS
1748}
1749
1750func (m *RebootDeviceResponse) GetReason() RebootDeviceResponse_Reason {
1751 if m != nil {
1752 return m.Reason
1753 }
1754 return RebootDeviceResponse_UNDEFINED_REASON
1755}
1756
1757func (m *RebootDeviceResponse) GetReasonDetail() string {
1758 if m != nil {
1759 return m.ReasonDetail
1760 }
1761 return ""
1762}
1763
Amit Ghosh09f28362020-06-12 21:52:19 +01001764func init() {
amit.ghoshae473032021-01-10 11:59:10 +01001765 proto.RegisterEnum("dmi.PhysicalInventoryResponse_Reason", PhysicalInventoryResponse_Reason_name, PhysicalInventoryResponse_Reason_value)
1766 proto.RegisterEnum("dmi.HWComponentInfoGetResponse_Reason", HWComponentInfoGetResponse_Reason_name, HWComponentInfoGetResponse_Reason_value)
1767 proto.RegisterEnum("dmi.HWComponentInfoSetResponse_Reason", HWComponentInfoSetResponse_Reason_name, HWComponentInfoSetResponse_Reason_value)
1768 proto.RegisterEnum("dmi.StartManagingDeviceResponse_Reason", StartManagingDeviceResponse_Reason_name, StartManagingDeviceResponse_Reason_value)
1769 proto.RegisterEnum("dmi.StopManagingDeviceResponse_Reason", StopManagingDeviceResponse_Reason_name, StopManagingDeviceResponse_Reason_value)
amit.ghosh0c687412021-03-24 19:01:08 +01001770 proto.RegisterEnum("dmi.ManagedDevicesResponse_Reason", ManagedDevicesResponse_Reason_name, ManagedDevicesResponse_Reason_value)
amit.ghoshae473032021-01-10 11:59:10 +01001771 proto.RegisterEnum("dmi.SetRemoteEndpointResponse_Reason", SetRemoteEndpointResponse_Reason_name, SetRemoteEndpointResponse_Reason_value)
1772 proto.RegisterEnum("dmi.GetLoggingEndpointResponse_Reason", GetLoggingEndpointResponse_Reason_name, GetLoggingEndpointResponse_Reason_value)
1773 proto.RegisterEnum("dmi.GetMsgBusEndpointResponse_Reason", GetMsgBusEndpointResponse_Reason_name, GetMsgBusEndpointResponse_Reason_value)
1774 proto.RegisterEnum("dmi.SetLogLevelResponse_Reason", SetLogLevelResponse_Reason_name, SetLogLevelResponse_Reason_value)
1775 proto.RegisterEnum("dmi.GetLogLevelResponse_Reason", GetLogLevelResponse_Reason_name, GetLogLevelResponse_Reason_value)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301776 proto.RegisterEnum("dmi.RebootDeviceResponse_Reason", RebootDeviceResponse_Reason_name, RebootDeviceResponse_Reason_value)
Amit Ghosh09f28362020-06-12 21:52:19 +01001777 proto.RegisterType((*PhysicalInventoryRequest)(nil), "dmi.PhysicalInventoryRequest")
1778 proto.RegisterType((*PhysicalInventoryResponse)(nil), "dmi.PhysicalInventoryResponse")
1779 proto.RegisterType((*HWComponentInfoGetRequest)(nil), "dmi.HWComponentInfoGetRequest")
aghoshc301dcd2020-09-03 16:55:34 +01001780 proto.RegisterType((*HWComponentInfoGetResponse)(nil), "dmi.HWComponentInfoGetResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001781 proto.RegisterType((*HWComponentInfoSetRequest)(nil), "dmi.HWComponentInfoSetRequest")
1782 proto.RegisterType((*HWComponentInfoSetResponse)(nil), "dmi.HWComponentInfoSetResponse")
1783 proto.RegisterType((*StartManagingDeviceResponse)(nil), "dmi.StartManagingDeviceResponse")
Amit Ghosh366228e2020-07-06 13:46:42 +01001784 proto.RegisterType((*StopManagingDeviceRequest)(nil), "dmi.StopManagingDeviceRequest")
1785 proto.RegisterType((*StopManagingDeviceResponse)(nil), "dmi.StopManagingDeviceResponse")
amit.ghosh0c687412021-03-24 19:01:08 +01001786 proto.RegisterType((*ManagedDeviceInfo)(nil), "dmi.ManagedDeviceInfo")
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001787 proto.RegisterType((*ManagedDevicesResponse)(nil), "dmi.ManagedDevicesResponse")
amit.ghosh188a84f2020-09-27 20:59:25 +02001788 proto.RegisterType((*SetLoggingEndpointRequest)(nil), "dmi.SetLoggingEndpointRequest")
1789 proto.RegisterType((*SetRemoteEndpointResponse)(nil), "dmi.SetRemoteEndpointResponse")
1790 proto.RegisterType((*GetLoggingEndpointResponse)(nil), "dmi.GetLoggingEndpointResponse")
1791 proto.RegisterType((*SetMsgBusEndpointRequest)(nil), "dmi.SetMsgBusEndpointRequest")
1792 proto.RegisterType((*GetMsgBusEndpointResponse)(nil), "dmi.GetMsgBusEndpointResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001793 proto.RegisterType((*EntitiesLogLevel)(nil), "dmi.EntitiesLogLevel")
1794 proto.RegisterType((*SetLogLevelRequest)(nil), "dmi.SetLogLevelRequest")
1795 proto.RegisterType((*SetLogLevelResponse)(nil), "dmi.SetLogLevelResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001796 proto.RegisterType((*GetLogLevelRequest)(nil), "dmi.GetLogLevelRequest")
1797 proto.RegisterType((*GetLogLevelResponse)(nil), "dmi.GetLogLevelResponse")
1798 proto.RegisterType((*GetLoggableEntitiesRequest)(nil), "dmi.GetLoggableEntitiesRequest")
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301799 proto.RegisterType((*Heartbeat)(nil), "dmi.Heartbeat")
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301800 proto.RegisterType((*RebootDeviceRequest)(nil), "dmi.RebootDeviceRequest")
1801 proto.RegisterType((*RebootDeviceResponse)(nil), "dmi.RebootDeviceResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001802}
1803
1804func init() { proto.RegisterFile("dmi/hw_management_service.proto", fileDescriptor_eae902e73066286d) }
1805
1806var fileDescriptor_eae902e73066286d = []byte{
amit.ghosh840cb602022-04-08 16:10:50 +02001807 // 1607 bytes of a gzipped FileDescriptorProto
1808 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4f, 0x6f, 0xdb, 0xc8,
1809 0x15, 0xaf, 0x28, 0xd9, 0x89, 0x9e, 0x13, 0x5b, 0x1e, 0x27, 0x8e, 0xc4, 0x20, 0xb6, 0xcb, 0x20,
1810 0x8d, 0xd3, 0x26, 0x92, 0xa1, 0x1c, 0x9a, 0xfe, 0x2f, 0x2d, 0xd1, 0x14, 0x1b, 0x89, 0x14, 0x86,
1811 0x52, 0x8c, 0x14, 0x45, 0x09, 0x5a, 0x1a, 0xcb, 0x44, 0x45, 0x52, 0x15, 0x29, 0x07, 0xfe, 0x18,
1812 0x3d, 0xf4, 0xd0, 0x43, 0x8b, 0x7e, 0x82, 0x05, 0xf6, 0x1a, 0xec, 0x7d, 0x0f, 0x7b, 0xdd, 0xd3,
1813 0x62, 0x81, 0xc5, 0x7e, 0x84, 0xfd, 0x06, 0x0b, 0x71, 0x48, 0xfd, 0xa1, 0x48, 0x59, 0x92, 0x13,
1814 0x6c, 0x6e, 0xe2, 0xcc, 0x9b, 0xdf, 0xbc, 0x79, 0xbf, 0x37, 0xef, 0xbd, 0x79, 0x82, 0xfd, 0xb6,
1815 0x69, 0x14, 0x2e, 0xde, 0x69, 0xa6, 0x6e, 0xe9, 0x1d, 0x62, 0x12, 0xcb, 0xd5, 0x1c, 0xd2, 0xbf,
1816 0x34, 0x5a, 0x24, 0xdf, 0xeb, 0xdb, 0xae, 0x8d, 0x92, 0x6d, 0xd3, 0x60, 0xb7, 0x87, 0x52, 0x2d,
1817 0xdb, 0x34, 0x6d, 0xcb, 0xa1, 0xe3, 0xec, 0x1d, 0xba, 0xd0, 0xff, 0x7a, 0xd8, 0xb1, 0xed, 0x4e,
1818 0x97, 0x14, 0xbc, 0xaf, 0xb3, 0xc1, 0x79, 0x81, 0x98, 0x3d, 0xf7, 0x8a, 0x4e, 0x72, 0x27, 0x90,
1819 0xad, 0x5f, 0x5c, 0x39, 0x46, 0x4b, 0xef, 0x4a, 0xd6, 0x25, 0xb1, 0x5c, 0xbb, 0x7f, 0x85, 0xc9,
1820 0x3f, 0x07, 0xc4, 0x71, 0xd1, 0x2f, 0x61, 0xa3, 0x4d, 0x86, 0xdb, 0x69, 0x83, 0x81, 0xd1, 0xce,
1821 0x26, 0x0e, 0x12, 0x87, 0x1b, 0xc5, 0x74, 0xbe, 0x6d, 0x1a, 0xf9, 0xe6, 0xc0, 0x68, 0x63, 0xa0,
1822 0xb3, 0xc3, 0xdf, 0xdc, 0xe7, 0x0c, 0xe4, 0x22, 0x80, 0x9c, 0x9e, 0x6d, 0x39, 0x04, 0x3d, 0x86,
1823 0x75, 0xc7, 0xd5, 0xdd, 0x81, 0xe3, 0x81, 0x6c, 0x16, 0x37, 0x3c, 0x10, 0xd5, 0x1b, 0xc2, 0xfe,
1824 0x14, 0xfa, 0x03, 0xac, 0xf7, 0x89, 0xee, 0xd8, 0x56, 0x96, 0xf1, 0x84, 0x9e, 0x78, 0x42, 0xb1,
1825 0xa0, 0x79, 0xec, 0x09, 0x63, 0x7f, 0x11, 0xfa, 0x15, 0xa4, 0x8d, 0x40, 0x26, 0x9b, 0xf4, 0x74,
1826 0xbd, 0xeb, 0x21, 0x54, 0xf4, 0x7e, 0xfb, 0x9d, 0xde, 0x27, 0x78, 0x3c, 0x8f, 0x1e, 0xc3, 0x5d,
1827 0xba, 0x4c, 0x6b, 0x13, 0x57, 0x37, 0xba, 0xd9, 0xd4, 0x41, 0xe2, 0x30, 0x8d, 0xef, 0xd0, 0xc1,
1828 0xb2, 0x37, 0xc6, 0xfd, 0x1d, 0xd6, 0xe9, 0x1e, 0xe8, 0x1e, 0x64, 0x9a, 0x72, 0x59, 0x38, 0x91,
1829 0x64, 0xa1, 0xac, 0x61, 0x81, 0x57, 0x15, 0x39, 0xf3, 0x33, 0x84, 0x60, 0xb3, 0x29, 0xbf, 0x96,
1830 0x95, 0x53, 0x59, 0x2b, 0x0b, 0x6f, 0xa4, 0x92, 0x90, 0x49, 0x0c, 0xc7, 0x24, 0xb9, 0x21, 0x60,
1831 0x99, 0xaf, 0x6a, 0x02, 0xc6, 0x0a, 0xce, 0x30, 0x68, 0x17, 0x10, 0x9d, 0xd7, 0x9a, 0x32, 0x16,
1832 0xf8, 0x52, 0x85, 0x3f, 0xae, 0x0a, 0x99, 0x24, 0xf7, 0xff, 0x04, 0xe4, 0x2a, 0xa7, 0x25, 0xdb,
1833 0xec, 0xd9, 0x16, 0xb1, 0x5c, 0xc9, 0x3a, 0xb7, 0x45, 0xe2, 0xae, 0x60, 0x7d, 0x74, 0x04, 0x9b,
1834 0xad, 0x00, 0x86, 0x8a, 0x33, 0x61, 0xf1, 0xbb, 0x23, 0x01, 0x6f, 0xc5, 0x93, 0xc9, 0x15, 0x96,
1835 0x6e, 0x12, 0xcf, 0x64, 0xe9, 0x09, 0x31, 0x59, 0x37, 0x09, 0xf7, 0x15, 0x03, 0x6c, 0x94, 0x8a,
1836 0xcb, 0xf0, 0xfa, 0xc7, 0x10, 0xaf, 0xbf, 0xa0, 0xac, 0xc4, 0xa2, 0x86, 0x89, 0x7d, 0x0e, 0xe9,
1837 0x91, 0x52, 0x3e, 0xb1, 0x9b, 0x1e, 0xc4, 0x08, 0x00, 0x8f, 0x05, 0x16, 0x63, 0x76, 0xb0, 0x02,
1838 0xb3, 0xf7, 0x61, 0x3b, 0x18, 0x2b, 0x29, 0xb5, 0xba, 0x22, 0x0b, 0x72, 0x23, 0xc3, 0x44, 0x10,
1839 0x9e, 0x8c, 0x21, 0x3c, 0xc5, 0x7d, 0x3d, 0x4b, 0xb8, 0xfa, 0x69, 0x11, 0x8e, 0x8a, 0x70, 0xab,
1840 0x75, 0xa1, 0x5b, 0x1d, 0xe2, 0x78, 0x86, 0xdb, 0x28, 0x66, 0x3d, 0xc4, 0x9a, 0xdd, 0x36, 0xce,
1841 0x0d, 0xfd, 0xac, 0x4b, 0xc6, 0x46, 0x0f, 0x04, 0xb9, 0x2f, 0x67, 0x9d, 0x44, 0xfd, 0x28, 0x4e,
1842 0xa2, 0xc6, 0x3b, 0xc9, 0x0c, 0xed, 0xc9, 0x08, 0xda, 0xff, 0x97, 0xf8, 0xc0, 0xbc, 0xbf, 0xe1,
1843 0xab, 0x52, 0x59, 0xab, 0xf3, 0x98, 0xaf, 0xa9, 0x99, 0x64, 0x84, 0x2f, 0xa4, 0x62, 0x7c, 0x61,
1844 0x0d, 0xed, 0xc0, 0x96, 0x2a, 0x34, 0xb4, 0xa6, 0xac, 0x36, 0xeb, 0x75, 0x05, 0x37, 0x84, 0x72,
1845 0x66, 0x9d, 0xfb, 0x57, 0x12, 0x1e, 0xaa, 0xae, 0xde, 0x77, 0x6b, 0xc3, 0x90, 0x6f, 0x58, 0x9d,
1846 0xb2, 0x47, 0xf9, 0x72, 0xa6, 0xfc, 0x53, 0xc8, 0x94, 0x4f, 0x03, 0xa1, 0x38, 0xd8, 0xb0, 0x2d,
1847 0x43, 0x8e, 0x98, 0x9c, 0xe7, 0x88, 0x0b, 0x5d, 0xb7, 0xf7, 0xd7, 0xd9, 0x9d, 0x85, 0x5d, 0xdf,
1848 0x48, 0x7c, 0x15, 0x0b, 0x7c, 0xf9, 0xad, 0x56, 0xe3, 0x65, 0x5e, 0x14, 0xca, 0x99, 0x04, 0xfa,
1849 0x39, 0x3c, 0x52, 0xea, 0x02, 0xe6, 0x1b, 0x92, 0x22, 0x8f, 0xa6, 0x25, 0x59, 0xab, 0x63, 0x45,
1850 0xc4, 0x82, 0xaa, 0x2e, 0xc1, 0x05, 0x0b, 0xbb, 0x7c, 0xb3, 0x51, 0x11, 0xe4, 0x86, 0x54, 0xa2,
1851 0x78, 0x27, 0xbc, 0x54, 0x6d, 0xe2, 0x21, 0x1f, 0x0f, 0x60, 0x47, 0x92, 0x87, 0x04, 0xf3, 0x0d,
1852 0xe9, 0xb8, 0x2a, 0x04, 0xfc, 0xaf, 0x73, 0x05, 0xc8, 0xa9, 0xae, 0xdd, 0x0b, 0x9b, 0x8e, 0xde,
1853 0x59, 0x04, 0x29, 0xef, 0x2e, 0x25, 0xbc, 0x53, 0x7b, 0xbf, 0xb9, 0x6f, 0x12, 0xc0, 0x46, 0xad,
1854 0xb8, 0xf9, 0x75, 0x88, 0x47, 0x5d, 0xe9, 0x3a, 0x14, 0x97, 0xbf, 0x0d, 0x9c, 0x09, 0xdb, 0x9e,
1855 0x06, 0xa4, 0x4d, 0x15, 0x18, 0x5e, 0x4b, 0xf4, 0x1c, 0x52, 0x86, 0x75, 0x6e, 0xfb, 0x21, 0x2b,
1856 0x3e, 0x62, 0x78, 0x52, 0x61, 0xf7, 0x62, 0xe6, 0x95, 0x15, 0xdf, 0x25, 0x60, 0x77, 0x6a, 0x3f,
1857 0x67, 0x39, 0x3b, 0xfe, 0x36, 0x64, 0x47, 0x8e, 0xea, 0x16, 0x89, 0x18, 0xb6, 0xe1, 0x11, 0xdc,
1858 0xa2, 0x9a, 0x38, 0xd9, 0xe4, 0x41, 0xf2, 0x70, 0xa3, 0xb8, 0x3b, 0xbb, 0x78, 0x78, 0x7c, 0x1c,
1859 0x88, 0x2d, 0x62, 0xd0, 0x90, 0x4f, 0x26, 0xb8, 0xff, 0x26, 0x20, 0xa7, 0x12, 0xb7, 0x6a, 0x77,
1860 0x86, 0xac, 0x0a, 0x56, 0xbb, 0x67, 0x1b, 0xd6, 0x4a, 0x39, 0xe1, 0x19, 0x64, 0xba, 0x14, 0x45,
1861 0x23, 0x3e, 0x8c, 0x77, 0xea, 0x34, 0xde, 0xea, 0x4e, 0xa3, 0x4f, 0x8a, 0x7a, 0x65, 0x60, 0xcb,
1862 0x0e, 0x3c, 0x24, 0x10, 0xad, 0xfb, 0xc3, 0xdc, 0xf7, 0x8c, 0xa7, 0x1f, 0x26, 0xa6, 0xed, 0x92,
1863 0xb1, 0x7a, 0x37, 0x2f, 0xec, 0x62, 0x41, 0x57, 0xf2, 0xe5, 0xf7, 0x89, 0x0f, 0x54, 0xac, 0xb1,
1864 0xb0, 0x5b, 0x55, 0x44, 0x51, 0x92, 0x45, 0x4d, 0x90, 0xcb, 0x75, 0x45, 0x92, 0x1b, 0xa3, 0xbc,
1865 0xfe, 0x18, 0xf6, 0x67, 0xe6, 0xea, 0x58, 0x69, 0x28, 0x25, 0x65, 0x1c, 0x64, 0x72, 0x70, 0xbf,
1866 0xa6, 0x8a, 0xc7, 0x4d, 0x35, 0xbc, 0x7e, 0x2d, 0x26, 0x17, 0xac, 0x73, 0xdf, 0x32, 0xc0, 0x8a,
1867 0x11, 0x3e, 0x70, 0xf3, 0x88, 0x11, 0x8f, 0x1a, 0xb6, 0x72, 0x94, 0xf7, 0x24, 0x17, 0xf7, 0x9e,
1868 0x54, 0xa4, 0xf7, 0xcc, 0x72, 0xb7, 0xf6, 0x13, 0xd4, 0xd9, 0x25, 0xc8, 0xaa, 0xc4, 0xad, 0x39,
1869 0x9d, 0xe3, 0x81, 0x13, 0xbe, 0x60, 0x4f, 0x61, 0xcb, 0x74, 0x3a, 0x67, 0x03, 0x67, 0x7c, 0x6a,
1870 0x1a, 0xcb, 0x37, 0xe9, 0x70, 0x20, 0xcf, 0xfd, 0x87, 0x81, 0x9c, 0x38, 0x8b, 0x72, 0xf3, 0x7b,
1871 0x10, 0x0b, 0x1a, 0x66, 0x28, 0x42, 0xd5, 0x64, 0x94, 0xaa, 0x8b, 0xe5, 0xe4, 0xbf, 0x2c, 0x1f,
1872 0xab, 0x62, 0x0c, 0xcc, 0x70, 0x6f, 0x21, 0x23, 0x58, 0xae, 0xe1, 0x1a, 0xc4, 0xa9, 0xda, 0x9d,
1873 0x2a, 0xb9, 0x24, 0x5d, 0xf4, 0x0c, 0x6e, 0x77, 0xfd, 0xdf, 0xbe, 0x4d, 0xe8, 0x6b, 0x2c, 0x10,
1874 0xc0, 0xa3, 0x69, 0xc4, 0xc2, 0x6d, 0xe2, 0x2f, 0xcf, 0x32, 0x07, 0xc9, 0xc3, 0x34, 0x1e, 0x7d,
1875 0x73, 0x03, 0x40, 0x34, 0x3a, 0xd2, 0x45, 0x2b, 0x84, 0xc5, 0x97, 0x90, 0xee, 0x0e, 0xdf, 0xbf,
1876 0x97, 0xa4, 0x4b, 0xe1, 0x37, 0x8a, 0xf7, 0x3d, 0xc9, 0xb0, 0xca, 0x78, 0x2c, 0xc7, 0x7d, 0xc1,
1877 0xc0, 0xce, 0xd4, 0xbe, 0x3e, 0xcf, 0xcb, 0x6c, 0x3c, 0xf6, 0x09, 0x26, 0xde, 0x27, 0x7e, 0x3d,
1878 0xf2, 0x89, 0xa4, 0x27, 0xb4, 0x1f, 0xc4, 0xc6, 0xf0, 0xd6, 0xd7, 0x46, 0xc5, 0x28, 0x92, 0x2f,
1879 0x3f, 0xdc, 0xcd, 0x0a, 0xe4, 0xaa, 0xca, 0x30, 0xf8, 0x35, 0xa4, 0xc6, 0xdb, 0x39, 0x0f, 0x9d,
1880 0xbf, 0x01, 0x12, 0x6f, 0xc6, 0xda, 0x3c, 0x9f, 0xf8, 0x81, 0x81, 0x1d, 0xf1, 0x86, 0xe4, 0x50,
1881 0xaf, 0xa8, 0x2e, 0xe8, 0x15, 0x54, 0x6e, 0x82, 0xd1, 0xe4, 0x22, 0x8c, 0xa6, 0x26, 0x18, 0x15,
1882 0x57, 0x60, 0x74, 0xed, 0x13, 0x62, 0xb4, 0x32, 0xca, 0x50, 0xc3, 0x92, 0x2e, 0x30, 0xd2, 0x2a,
1883 0x9d, 0xa2, 0xdf, 0x43, 0xba, 0x42, 0xf4, 0xbe, 0x7b, 0x46, 0x74, 0x17, 0x15, 0x60, 0xe7, 0x22,
1884 0xf8, 0xd0, 0x1c, 0xa3, 0x63, 0xe9, 0xee, 0xa0, 0x4f, 0xcb, 0xe9, 0x5b, 0x18, 0x8d, 0xa6, 0xd4,
1885 0x60, 0x86, 0xe3, 0x61, 0x07, 0x93, 0x33, 0xdb, 0x76, 0xa7, 0xeb, 0xf0, 0x65, 0x14, 0xf8, 0x37,
1886 0x03, 0xf7, 0xa6, 0x31, 0x66, 0x82, 0xf8, 0x1c, 0x7a, 0x5f, 0x85, 0xe8, 0x3d, 0xf0, 0x84, 0xa2,
1887 0xf0, 0x56, 0xe2, 0xf7, 0xea, 0xe3, 0xe6, 0xc2, 0x61, 0x75, 0xe2, 0x8f, 0x4b, 0xb2, 0x76, 0x8a,
1888 0x15, 0x59, 0xd4, 0xd4, 0x06, 0xdf, 0x10, 0x32, 0xa9, 0xe2, 0x67, 0x69, 0xc8, 0xc9, 0xba, 0x6b,
1889 0x5c, 0x92, 0xca, 0x69, 0x6d, 0xd4, 0x72, 0x54, 0x69, 0xc7, 0x11, 0xa9, 0xb0, 0x13, 0xf1, 0x84,
1890 0x44, 0xb1, 0xc5, 0x3e, 0x7b, 0x70, 0xdd, 0xb3, 0xf3, 0x28, 0x81, 0x9a, 0x80, 0x66, 0xdf, 0x34,
1891 0x68, 0x2f, 0xf6, 0xb1, 0xe3, 0x91, 0xcd, 0xee, 0x5f, 0xf3, 0x18, 0x42, 0x15, 0xd8, 0x1e, 0x66,
1892 0xd5, 0xa9, 0x2a, 0x1f, 0xed, 0xe6, 0x69, 0x1f, 0x34, 0x1f, 0xf4, 0x41, 0xf3, 0x82, 0xd9, 0x73,
1893 0xaf, 0xd8, 0x87, 0x73, 0x9e, 0x04, 0xe8, 0x14, 0xee, 0x89, 0xc4, 0x9d, 0xe9, 0x41, 0xa2, 0x47,
1894 0x71, 0xbd, 0x49, 0xaa, 0xe1, 0xde, 0xfc, 0xd6, 0xe5, 0x51, 0x02, 0x9d, 0x7a, 0x11, 0x32, 0xd4,
1895 0xdf, 0xf0, 0x4f, 0x1e, 0xdb, 0x13, 0xf4, 0x4f, 0x1e, 0xdf, 0x3a, 0xf3, 0x4d, 0xba, 0x20, 0xb0,
1896 0x7a, 0x0d, 0xf0, 0x64, 0x13, 0xa7, 0x11, 0xe4, 0xe1, 0xa9, 0x4a, 0x70, 0x6f, 0x22, 0x5b, 0x45,
1897 0x3c, 0x5f, 0xd8, 0xbd, 0xf9, 0x95, 0x3e, 0x3a, 0x09, 0xf2, 0xc4, 0x14, 0xea, 0xd6, 0x54, 0xdb,
1898 0x56, 0x2a, 0xb3, 0xfb, 0xd7, 0xd4, 0xb2, 0x08, 0xc3, 0xf6, 0x4c, 0x85, 0xe7, 0x73, 0x14, 0x57,
1899 0xf9, 0x5d, 0xab, 0xdb, 0x6b, 0xea, 0x44, 0xd3, 0x98, 0x71, 0x4e, 0xb4, 0x37, 0xbf, 0x94, 0x43,
1900 0xf5, 0x20, 0x63, 0x4d, 0x85, 0x4f, 0x34, 0x75, 0xb0, 0x88, 0xc0, 0xca, 0x66, 0xe3, 0x92, 0x07,
1901 0xfa, 0x33, 0x6c, 0x4c, 0x54, 0x09, 0xe8, 0xc1, 0x6c, 0xdd, 0x30, 0x89, 0xa0, 0x46, 0x23, 0x88,
1902 0x33, 0x08, 0x62, 0x1c, 0x42, 0x94, 0x0e, 0xaf, 0x60, 0x73, 0x14, 0xca, 0x4b, 0x17, 0xa4, 0xf5,
1903 0x8f, 0x58, 0xfb, 0xd0, 0x86, 0xed, 0x38, 0xee, 0x97, 0xe0, 0xce, 0x64, 0xc8, 0xf4, 0xc3, 0x48,
1904 0x44, 0x64, 0x67, 0x73, 0xb1, 0xf1, 0xf5, 0xf8, 0x77, 0x7f, 0xfd, 0x4d, 0xc7, 0x70, 0x2f, 0x06,
1905 0x67, 0xf9, 0x96, 0x6d, 0x16, 0xec, 0x1e, 0xb1, 0x5a, 0x76, 0xbf, 0x5d, 0xa0, 0xa1, 0xfe, 0xc5,
1906 0xf8, 0x5f, 0x93, 0x17, 0x86, 0xe5, 0x92, 0xfe, 0xb9, 0xde, 0x22, 0x85, 0xcb, 0x97, 0x85, 0x8e,
1907 0x5d, 0x68, 0x9b, 0xc6, 0xd9, 0xba, 0xa7, 0xe1, 0xcb, 0x1f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x0a,
1908 0x46, 0x4f, 0x6d, 0x65, 0x19, 0x00, 0x00,
Amit Ghosh09f28362020-06-12 21:52:19 +01001909}
1910
1911// Reference imports to suppress errors if they are not otherwise used.
1912var _ context.Context
1913var _ grpc.ClientConn
1914
1915// This is a compile-time assertion to ensure that this generated file
1916// is compatible with the grpc package it is being compiled against.
1917const _ = grpc.SupportPackageIsVersion4
1918
1919// NativeHWManagementServiceClient is the client API for NativeHWManagementService service.
1920//
1921// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1922type NativeHWManagementServiceClient interface {
1923 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001924 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1925 // and their meanings in this context is mentioned below:
1926 // name = The unique name that needs to be assigned to this hardware;
1927 // class = COMPONENT_TYPE_UNDEFINED;
1928 // parent = nil;
1929 // alias = Optional;
1930 // asset_id = Optional;
1931 // uri = IP Address of the Hardware;
1932 StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error)
Amit Ghosh366228e2020-07-06 13:46:42 +01001933 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001934 // This rpc can be called at any time, even before the StartManagingDevice operation
1935 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001936 StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001937 // Returns an object containing a list of devices managed by this entity
1938 GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001939 // Get the HW inventory details of the Device
1940 GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error)
1941 // Get the details of a particular HW component
1942 GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error)
1943 // Sets the permissible attributes of a HW component
1944 SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001945 // Sets the location to which logs need to be shipped
1946 SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1947 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001948 GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001949 // Sets the location of the Message Bus to which events and metrics are shipped
1950 SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1951 // Gets the configured location to which the events and metrics are being shipped
1952 GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001953 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1954 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1955 // interface, package etc.
1956 GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01001957 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001958 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
1959 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
1960 SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
1961 // Gets the configured log level for a certain entity on a certain device.
1962 // If no entity is specified in the request all the entities with their log level should be returned.
1963 GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301964 // Performs the heartbeat check
1965 HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301966 // Performs the reboot of the device
1967 RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001968}
1969
1970type nativeHWManagementServiceClient struct {
1971 cc *grpc.ClientConn
1972}
1973
1974func NewNativeHWManagementServiceClient(cc *grpc.ClientConn) NativeHWManagementServiceClient {
1975 return &nativeHWManagementServiceClient{cc}
1976}
1977
Amit Ghosh704462f2020-06-24 16:44:56 +01001978func (c *nativeHWManagementServiceClient) StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error) {
Amit Ghosh09f28362020-06-12 21:52:19 +01001979 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[0], "/dmi.NativeHWManagementService/StartManagingDevice", opts...)
1980 if err != nil {
1981 return nil, err
1982 }
1983 x := &nativeHWManagementServiceStartManagingDeviceClient{stream}
1984 if err := x.ClientStream.SendMsg(in); err != nil {
1985 return nil, err
1986 }
1987 if err := x.ClientStream.CloseSend(); err != nil {
1988 return nil, err
1989 }
1990 return x, nil
1991}
1992
1993type NativeHWManagementService_StartManagingDeviceClient interface {
1994 Recv() (*StartManagingDeviceResponse, error)
1995 grpc.ClientStream
1996}
1997
1998type nativeHWManagementServiceStartManagingDeviceClient struct {
1999 grpc.ClientStream
2000}
2001
2002func (x *nativeHWManagementServiceStartManagingDeviceClient) Recv() (*StartManagingDeviceResponse, error) {
2003 m := new(StartManagingDeviceResponse)
2004 if err := x.ClientStream.RecvMsg(m); err != nil {
2005 return nil, err
2006 }
2007 return m, nil
2008}
2009
Amit Ghosh366228e2020-07-06 13:46:42 +01002010func (c *nativeHWManagementServiceClient) StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) {
2011 out := new(StopManagingDeviceResponse)
2012 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/StopManagingDevice", in, out, opts...)
2013 if err != nil {
2014 return nil, err
2015 }
2016 return out, nil
2017}
2018
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002019func (c *nativeHWManagementServiceClient) GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) {
2020 out := new(ManagedDevicesResponse)
2021 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetManagedDevices", in, out, opts...)
2022 if err != nil {
2023 return nil, err
2024 }
2025 return out, nil
2026}
2027
Amit Ghosh09f28362020-06-12 21:52:19 +01002028func (c *nativeHWManagementServiceClient) GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) {
2029 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[1], "/dmi.NativeHWManagementService/GetPhysicalInventory", opts...)
2030 if err != nil {
2031 return nil, err
2032 }
2033 x := &nativeHWManagementServiceGetPhysicalInventoryClient{stream}
2034 if err := x.ClientStream.SendMsg(in); err != nil {
2035 return nil, err
2036 }
2037 if err := x.ClientStream.CloseSend(); err != nil {
2038 return nil, err
2039 }
2040 return x, nil
2041}
2042
2043type NativeHWManagementService_GetPhysicalInventoryClient interface {
2044 Recv() (*PhysicalInventoryResponse, error)
2045 grpc.ClientStream
2046}
2047
2048type nativeHWManagementServiceGetPhysicalInventoryClient struct {
2049 grpc.ClientStream
2050}
2051
2052func (x *nativeHWManagementServiceGetPhysicalInventoryClient) Recv() (*PhysicalInventoryResponse, error) {
2053 m := new(PhysicalInventoryResponse)
2054 if err := x.ClientStream.RecvMsg(m); err != nil {
2055 return nil, err
2056 }
2057 return m, nil
2058}
2059
2060func (c *nativeHWManagementServiceClient) GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) {
2061 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[2], "/dmi.NativeHWManagementService/GetHWComponentInfo", opts...)
2062 if err != nil {
2063 return nil, err
2064 }
2065 x := &nativeHWManagementServiceGetHWComponentInfoClient{stream}
2066 if err := x.ClientStream.SendMsg(in); err != nil {
2067 return nil, err
2068 }
2069 if err := x.ClientStream.CloseSend(); err != nil {
2070 return nil, err
2071 }
2072 return x, nil
2073}
2074
2075type NativeHWManagementService_GetHWComponentInfoClient interface {
aghoshc301dcd2020-09-03 16:55:34 +01002076 Recv() (*HWComponentInfoGetResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002077 grpc.ClientStream
2078}
2079
2080type nativeHWManagementServiceGetHWComponentInfoClient struct {
2081 grpc.ClientStream
2082}
2083
aghoshc301dcd2020-09-03 16:55:34 +01002084func (x *nativeHWManagementServiceGetHWComponentInfoClient) Recv() (*HWComponentInfoGetResponse, error) {
2085 m := new(HWComponentInfoGetResponse)
Amit Ghosh09f28362020-06-12 21:52:19 +01002086 if err := x.ClientStream.RecvMsg(m); err != nil {
2087 return nil, err
2088 }
2089 return m, nil
2090}
2091
2092func (c *nativeHWManagementServiceClient) SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) {
2093 out := new(HWComponentInfoSetResponse)
2094 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetHWComponentInfo", in, out, opts...)
2095 if err != nil {
2096 return nil, err
2097 }
2098 return out, nil
2099}
2100
amit.ghosh188a84f2020-09-27 20:59:25 +02002101func (c *nativeHWManagementServiceClient) SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
2102 out := new(SetRemoteEndpointResponse)
2103 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLoggingEndpoint", in, out, opts...)
2104 if err != nil {
2105 return nil, err
2106 }
2107 return out, nil
2108}
2109
amit.ghosh5d97dba2020-11-12 16:45:27 +01002110func (c *nativeHWManagementServiceClient) GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error) {
amit.ghosh188a84f2020-09-27 20:59:25 +02002111 out := new(GetLoggingEndpointResponse)
2112 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggingEndpoint", in, out, opts...)
2113 if err != nil {
2114 return nil, err
2115 }
2116 return out, nil
2117}
2118
2119func (c *nativeHWManagementServiceClient) SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
2120 out := new(SetRemoteEndpointResponse)
2121 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetMsgBusEndpoint", in, out, opts...)
2122 if err != nil {
2123 return nil, err
2124 }
2125 return out, nil
2126}
2127
2128func (c *nativeHWManagementServiceClient) GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) {
2129 out := new(GetMsgBusEndpointResponse)
2130 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetMsgBusEndpoint", in, out, opts...)
2131 if err != nil {
2132 return nil, err
2133 }
2134 return out, nil
2135}
2136
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002137func (c *nativeHWManagementServiceClient) GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2138 out := new(GetLogLevelResponse)
2139 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggableEntities", in, out, opts...)
2140 if err != nil {
2141 return nil, err
2142 }
2143 return out, nil
2144}
2145
2146func (c *nativeHWManagementServiceClient) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) {
2147 out := new(SetLogLevelResponse)
2148 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLogLevel", in, out, opts...)
2149 if err != nil {
2150 return nil, err
2151 }
2152 return out, nil
2153}
2154
2155func (c *nativeHWManagementServiceClient) GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2156 out := new(GetLogLevelResponse)
2157 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLogLevel", in, out, opts...)
2158 if err != nil {
2159 return nil, err
2160 }
2161 return out, nil
2162}
2163
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302164func (c *nativeHWManagementServiceClient) HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error) {
2165 out := new(Heartbeat)
2166 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/HeartbeatCheck", in, out, opts...)
2167 if err != nil {
2168 return nil, err
2169 }
2170 return out, nil
2171}
2172
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302173func (c *nativeHWManagementServiceClient) RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error) {
2174 out := new(RebootDeviceResponse)
2175 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/RebootDevice", in, out, opts...)
2176 if err != nil {
2177 return nil, err
2178 }
2179 return out, nil
2180}
2181
Amit Ghosh09f28362020-06-12 21:52:19 +01002182// NativeHWManagementServiceServer is the server API for NativeHWManagementService service.
2183type NativeHWManagementServiceServer interface {
2184 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01002185 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
2186 // and their meanings in this context is mentioned below:
2187 // name = The unique name that needs to be assigned to this hardware;
2188 // class = COMPONENT_TYPE_UNDEFINED;
2189 // parent = nil;
2190 // alias = Optional;
2191 // asset_id = Optional;
2192 // uri = IP Address of the Hardware;
2193 StartManagingDevice(*ModifiableComponent, NativeHWManagementService_StartManagingDeviceServer) error
Amit Ghosh366228e2020-07-06 13:46:42 +01002194 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01002195 // This rpc can be called at any time, even before the StartManagingDevice operation
2196 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01002197 StopManagingDevice(context.Context, *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002198 // Returns an object containing a list of devices managed by this entity
2199 GetManagedDevices(context.Context, *empty.Empty) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002200 // Get the HW inventory details of the Device
2201 GetPhysicalInventory(*PhysicalInventoryRequest, NativeHWManagementService_GetPhysicalInventoryServer) error
2202 // Get the details of a particular HW component
2203 GetHWComponentInfo(*HWComponentInfoGetRequest, NativeHWManagementService_GetHWComponentInfoServer) error
2204 // Sets the permissible attributes of a HW component
2205 SetHWComponentInfo(context.Context, *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002206 // Sets the location to which logs need to be shipped
2207 SetLoggingEndpoint(context.Context, *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error)
2208 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01002209 GetLoggingEndpoint(context.Context, *HardwareID) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002210 // Sets the location of the Message Bus to which events and metrics are shipped
2211 SetMsgBusEndpoint(context.Context, *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error)
2212 // Gets the configured location to which the events and metrics are being shipped
2213 GetMsgBusEndpoint(context.Context, *empty.Empty) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002214 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
2215 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
2216 // interface, package etc.
2217 GetLoggableEntities(context.Context, *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01002218 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002219 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
2220 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
2221 SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
2222 // Gets the configured log level for a certain entity on a certain device.
2223 // If no entity is specified in the request all the entities with their log level should be returned.
2224 GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302225 // Performs the heartbeat check
2226 HeartbeatCheck(context.Context, *empty.Empty) (*Heartbeat, error)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302227 // Performs the reboot of the device
2228 RebootDevice(context.Context, *RebootDeviceRequest) (*RebootDeviceResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002229}
2230
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002231// UnimplementedNativeHWManagementServiceServer can be embedded to have forward compatible implementations.
2232type UnimplementedNativeHWManagementServiceServer struct {
2233}
2234
2235func (*UnimplementedNativeHWManagementServiceServer) StartManagingDevice(req *ModifiableComponent, srv NativeHWManagementService_StartManagingDeviceServer) error {
2236 return status.Errorf(codes.Unimplemented, "method StartManagingDevice not implemented")
2237}
2238func (*UnimplementedNativeHWManagementServiceServer) StopManagingDevice(ctx context.Context, req *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error) {
2239 return nil, status.Errorf(codes.Unimplemented, "method StopManagingDevice not implemented")
2240}
2241func (*UnimplementedNativeHWManagementServiceServer) GetManagedDevices(ctx context.Context, req *empty.Empty) (*ManagedDevicesResponse, error) {
2242 return nil, status.Errorf(codes.Unimplemented, "method GetManagedDevices not implemented")
2243}
2244func (*UnimplementedNativeHWManagementServiceServer) GetPhysicalInventory(req *PhysicalInventoryRequest, srv NativeHWManagementService_GetPhysicalInventoryServer) error {
2245 return status.Errorf(codes.Unimplemented, "method GetPhysicalInventory not implemented")
2246}
2247func (*UnimplementedNativeHWManagementServiceServer) GetHWComponentInfo(req *HWComponentInfoGetRequest, srv NativeHWManagementService_GetHWComponentInfoServer) error {
2248 return status.Errorf(codes.Unimplemented, "method GetHWComponentInfo not implemented")
2249}
2250func (*UnimplementedNativeHWManagementServiceServer) SetHWComponentInfo(ctx context.Context, req *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error) {
2251 return nil, status.Errorf(codes.Unimplemented, "method SetHWComponentInfo not implemented")
2252}
2253func (*UnimplementedNativeHWManagementServiceServer) SetLoggingEndpoint(ctx context.Context, req *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error) {
2254 return nil, status.Errorf(codes.Unimplemented, "method SetLoggingEndpoint not implemented")
2255}
2256func (*UnimplementedNativeHWManagementServiceServer) GetLoggingEndpoint(ctx context.Context, req *HardwareID) (*GetLoggingEndpointResponse, error) {
2257 return nil, status.Errorf(codes.Unimplemented, "method GetLoggingEndpoint not implemented")
2258}
2259func (*UnimplementedNativeHWManagementServiceServer) SetMsgBusEndpoint(ctx context.Context, req *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error) {
2260 return nil, status.Errorf(codes.Unimplemented, "method SetMsgBusEndpoint not implemented")
2261}
2262func (*UnimplementedNativeHWManagementServiceServer) GetMsgBusEndpoint(ctx context.Context, req *empty.Empty) (*GetMsgBusEndpointResponse, error) {
2263 return nil, status.Errorf(codes.Unimplemented, "method GetMsgBusEndpoint not implemented")
2264}
2265func (*UnimplementedNativeHWManagementServiceServer) GetLoggableEntities(ctx context.Context, req *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error) {
2266 return nil, status.Errorf(codes.Unimplemented, "method GetLoggableEntities not implemented")
2267}
2268func (*UnimplementedNativeHWManagementServiceServer) SetLogLevel(ctx context.Context, req *SetLogLevelRequest) (*SetLogLevelResponse, error) {
2269 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2270}
2271func (*UnimplementedNativeHWManagementServiceServer) GetLogLevel(ctx context.Context, req *GetLogLevelRequest) (*GetLogLevelResponse, error) {
2272 return nil, status.Errorf(codes.Unimplemented, "method GetLogLevel not implemented")
2273}
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302274func (*UnimplementedNativeHWManagementServiceServer) HeartbeatCheck(ctx context.Context, req *empty.Empty) (*Heartbeat, error) {
2275 return nil, status.Errorf(codes.Unimplemented, "method HeartbeatCheck not implemented")
2276}
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302277func (*UnimplementedNativeHWManagementServiceServer) RebootDevice(ctx context.Context, req *RebootDeviceRequest) (*RebootDeviceResponse, error) {
2278 return nil, status.Errorf(codes.Unimplemented, "method RebootDevice not implemented")
2279}
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002280
Amit Ghosh09f28362020-06-12 21:52:19 +01002281func RegisterNativeHWManagementServiceServer(s *grpc.Server, srv NativeHWManagementServiceServer) {
2282 s.RegisterService(&_NativeHWManagementService_serviceDesc, srv)
2283}
2284
2285func _NativeHWManagementService_StartManagingDevice_Handler(srv interface{}, stream grpc.ServerStream) error {
Amit Ghosh704462f2020-06-24 16:44:56 +01002286 m := new(ModifiableComponent)
Amit Ghosh09f28362020-06-12 21:52:19 +01002287 if err := stream.RecvMsg(m); err != nil {
2288 return err
2289 }
2290 return srv.(NativeHWManagementServiceServer).StartManagingDevice(m, &nativeHWManagementServiceStartManagingDeviceServer{stream})
2291}
2292
2293type NativeHWManagementService_StartManagingDeviceServer interface {
2294 Send(*StartManagingDeviceResponse) error
2295 grpc.ServerStream
2296}
2297
2298type nativeHWManagementServiceStartManagingDeviceServer struct {
2299 grpc.ServerStream
2300}
2301
2302func (x *nativeHWManagementServiceStartManagingDeviceServer) Send(m *StartManagingDeviceResponse) error {
2303 return x.ServerStream.SendMsg(m)
2304}
2305
Amit Ghosh366228e2020-07-06 13:46:42 +01002306func _NativeHWManagementService_StopManagingDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2307 in := new(StopManagingDeviceRequest)
2308 if err := dec(in); err != nil {
2309 return nil, err
2310 }
2311 if interceptor == nil {
2312 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, in)
2313 }
2314 info := &grpc.UnaryServerInfo{
2315 Server: srv,
2316 FullMethod: "/dmi.NativeHWManagementService/StopManagingDevice",
2317 }
2318 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2319 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, req.(*StopManagingDeviceRequest))
2320 }
2321 return interceptor(ctx, in, info, handler)
2322}
2323
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002324func _NativeHWManagementService_GetManagedDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2325 in := new(empty.Empty)
2326 if err := dec(in); err != nil {
2327 return nil, err
2328 }
2329 if interceptor == nil {
2330 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, in)
2331 }
2332 info := &grpc.UnaryServerInfo{
2333 Server: srv,
2334 FullMethod: "/dmi.NativeHWManagementService/GetManagedDevices",
2335 }
2336 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2337 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, req.(*empty.Empty))
2338 }
2339 return interceptor(ctx, in, info, handler)
2340}
2341
Amit Ghosh09f28362020-06-12 21:52:19 +01002342func _NativeHWManagementService_GetPhysicalInventory_Handler(srv interface{}, stream grpc.ServerStream) error {
2343 m := new(PhysicalInventoryRequest)
2344 if err := stream.RecvMsg(m); err != nil {
2345 return err
2346 }
2347 return srv.(NativeHWManagementServiceServer).GetPhysicalInventory(m, &nativeHWManagementServiceGetPhysicalInventoryServer{stream})
2348}
2349
2350type NativeHWManagementService_GetPhysicalInventoryServer interface {
2351 Send(*PhysicalInventoryResponse) error
2352 grpc.ServerStream
2353}
2354
2355type nativeHWManagementServiceGetPhysicalInventoryServer struct {
2356 grpc.ServerStream
2357}
2358
2359func (x *nativeHWManagementServiceGetPhysicalInventoryServer) Send(m *PhysicalInventoryResponse) error {
2360 return x.ServerStream.SendMsg(m)
2361}
2362
2363func _NativeHWManagementService_GetHWComponentInfo_Handler(srv interface{}, stream grpc.ServerStream) error {
2364 m := new(HWComponentInfoGetRequest)
2365 if err := stream.RecvMsg(m); err != nil {
2366 return err
2367 }
2368 return srv.(NativeHWManagementServiceServer).GetHWComponentInfo(m, &nativeHWManagementServiceGetHWComponentInfoServer{stream})
2369}
2370
2371type NativeHWManagementService_GetHWComponentInfoServer interface {
aghoshc301dcd2020-09-03 16:55:34 +01002372 Send(*HWComponentInfoGetResponse) error
Amit Ghosh09f28362020-06-12 21:52:19 +01002373 grpc.ServerStream
2374}
2375
2376type nativeHWManagementServiceGetHWComponentInfoServer struct {
2377 grpc.ServerStream
2378}
2379
aghoshc301dcd2020-09-03 16:55:34 +01002380func (x *nativeHWManagementServiceGetHWComponentInfoServer) Send(m *HWComponentInfoGetResponse) error {
Amit Ghosh09f28362020-06-12 21:52:19 +01002381 return x.ServerStream.SendMsg(m)
2382}
2383
2384func _NativeHWManagementService_SetHWComponentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2385 in := new(HWComponentInfoSetRequest)
2386 if err := dec(in); err != nil {
2387 return nil, err
2388 }
2389 if interceptor == nil {
2390 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, in)
2391 }
2392 info := &grpc.UnaryServerInfo{
2393 Server: srv,
2394 FullMethod: "/dmi.NativeHWManagementService/SetHWComponentInfo",
2395 }
2396 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2397 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, req.(*HWComponentInfoSetRequest))
2398 }
2399 return interceptor(ctx, in, info, handler)
2400}
2401
amit.ghosh188a84f2020-09-27 20:59:25 +02002402func _NativeHWManagementService_SetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2403 in := new(SetLoggingEndpointRequest)
2404 if err := dec(in); err != nil {
2405 return nil, err
2406 }
2407 if interceptor == nil {
2408 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, in)
2409 }
2410 info := &grpc.UnaryServerInfo{
2411 Server: srv,
2412 FullMethod: "/dmi.NativeHWManagementService/SetLoggingEndpoint",
2413 }
2414 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2415 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, req.(*SetLoggingEndpointRequest))
2416 }
2417 return interceptor(ctx, in, info, handler)
2418}
2419
2420func _NativeHWManagementService_GetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002421 in := new(HardwareID)
amit.ghosh188a84f2020-09-27 20:59:25 +02002422 if err := dec(in); err != nil {
2423 return nil, err
2424 }
2425 if interceptor == nil {
2426 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, in)
2427 }
2428 info := &grpc.UnaryServerInfo{
2429 Server: srv,
2430 FullMethod: "/dmi.NativeHWManagementService/GetLoggingEndpoint",
2431 }
2432 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002433 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, req.(*HardwareID))
amit.ghosh188a84f2020-09-27 20:59:25 +02002434 }
2435 return interceptor(ctx, in, info, handler)
2436}
2437
2438func _NativeHWManagementService_SetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2439 in := new(SetMsgBusEndpointRequest)
2440 if err := dec(in); err != nil {
2441 return nil, err
2442 }
2443 if interceptor == nil {
2444 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, in)
2445 }
2446 info := &grpc.UnaryServerInfo{
2447 Server: srv,
2448 FullMethod: "/dmi.NativeHWManagementService/SetMsgBusEndpoint",
2449 }
2450 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2451 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, req.(*SetMsgBusEndpointRequest))
2452 }
2453 return interceptor(ctx, in, info, handler)
2454}
2455
2456func _NativeHWManagementService_GetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2457 in := new(empty.Empty)
2458 if err := dec(in); err != nil {
2459 return nil, err
2460 }
2461 if interceptor == nil {
2462 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, in)
2463 }
2464 info := &grpc.UnaryServerInfo{
2465 Server: srv,
2466 FullMethod: "/dmi.NativeHWManagementService/GetMsgBusEndpoint",
2467 }
2468 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2469 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, req.(*empty.Empty))
2470 }
2471 return interceptor(ctx, in, info, handler)
2472}
2473
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002474func _NativeHWManagementService_GetLoggableEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2475 in := new(GetLoggableEntitiesRequest)
2476 if err := dec(in); err != nil {
2477 return nil, err
2478 }
2479 if interceptor == nil {
2480 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, in)
2481 }
2482 info := &grpc.UnaryServerInfo{
2483 Server: srv,
2484 FullMethod: "/dmi.NativeHWManagementService/GetLoggableEntities",
2485 }
2486 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2487 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, req.(*GetLoggableEntitiesRequest))
2488 }
2489 return interceptor(ctx, in, info, handler)
2490}
2491
2492func _NativeHWManagementService_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2493 in := new(SetLogLevelRequest)
2494 if err := dec(in); err != nil {
2495 return nil, err
2496 }
2497 if interceptor == nil {
2498 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, in)
2499 }
2500 info := &grpc.UnaryServerInfo{
2501 Server: srv,
2502 FullMethod: "/dmi.NativeHWManagementService/SetLogLevel",
2503 }
2504 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2505 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, req.(*SetLogLevelRequest))
2506 }
2507 return interceptor(ctx, in, info, handler)
2508}
2509
2510func _NativeHWManagementService_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2511 in := new(GetLogLevelRequest)
2512 if err := dec(in); err != nil {
2513 return nil, err
2514 }
2515 if interceptor == nil {
2516 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, in)
2517 }
2518 info := &grpc.UnaryServerInfo{
2519 Server: srv,
2520 FullMethod: "/dmi.NativeHWManagementService/GetLogLevel",
2521 }
2522 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2523 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, req.(*GetLogLevelRequest))
2524 }
2525 return interceptor(ctx, in, info, handler)
2526}
2527
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302528func _NativeHWManagementService_HeartbeatCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2529 in := new(empty.Empty)
2530 if err := dec(in); err != nil {
2531 return nil, err
2532 }
2533 if interceptor == nil {
2534 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, in)
2535 }
2536 info := &grpc.UnaryServerInfo{
2537 Server: srv,
2538 FullMethod: "/dmi.NativeHWManagementService/HeartbeatCheck",
2539 }
2540 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2541 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, req.(*empty.Empty))
2542 }
2543 return interceptor(ctx, in, info, handler)
2544}
2545
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302546func _NativeHWManagementService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2547 in := new(RebootDeviceRequest)
2548 if err := dec(in); err != nil {
2549 return nil, err
2550 }
2551 if interceptor == nil {
2552 return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, in)
2553 }
2554 info := &grpc.UnaryServerInfo{
2555 Server: srv,
2556 FullMethod: "/dmi.NativeHWManagementService/RebootDevice",
2557 }
2558 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2559 return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, req.(*RebootDeviceRequest))
2560 }
2561 return interceptor(ctx, in, info, handler)
2562}
2563
Amit Ghosh09f28362020-06-12 21:52:19 +01002564var _NativeHWManagementService_serviceDesc = grpc.ServiceDesc{
2565 ServiceName: "dmi.NativeHWManagementService",
2566 HandlerType: (*NativeHWManagementServiceServer)(nil),
2567 Methods: []grpc.MethodDesc{
2568 {
Amit Ghosh366228e2020-07-06 13:46:42 +01002569 MethodName: "StopManagingDevice",
2570 Handler: _NativeHWManagementService_StopManagingDevice_Handler,
2571 },
2572 {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002573 MethodName: "GetManagedDevices",
2574 Handler: _NativeHWManagementService_GetManagedDevices_Handler,
2575 },
2576 {
Amit Ghosh09f28362020-06-12 21:52:19 +01002577 MethodName: "SetHWComponentInfo",
2578 Handler: _NativeHWManagementService_SetHWComponentInfo_Handler,
2579 },
amit.ghosh188a84f2020-09-27 20:59:25 +02002580 {
2581 MethodName: "SetLoggingEndpoint",
2582 Handler: _NativeHWManagementService_SetLoggingEndpoint_Handler,
2583 },
2584 {
2585 MethodName: "GetLoggingEndpoint",
2586 Handler: _NativeHWManagementService_GetLoggingEndpoint_Handler,
2587 },
2588 {
2589 MethodName: "SetMsgBusEndpoint",
2590 Handler: _NativeHWManagementService_SetMsgBusEndpoint_Handler,
2591 },
2592 {
2593 MethodName: "GetMsgBusEndpoint",
2594 Handler: _NativeHWManagementService_GetMsgBusEndpoint_Handler,
2595 },
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002596 {
2597 MethodName: "GetLoggableEntities",
2598 Handler: _NativeHWManagementService_GetLoggableEntities_Handler,
2599 },
2600 {
2601 MethodName: "SetLogLevel",
2602 Handler: _NativeHWManagementService_SetLogLevel_Handler,
2603 },
2604 {
2605 MethodName: "GetLogLevel",
2606 Handler: _NativeHWManagementService_GetLogLevel_Handler,
2607 },
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302608 {
2609 MethodName: "HeartbeatCheck",
2610 Handler: _NativeHWManagementService_HeartbeatCheck_Handler,
2611 },
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302612 {
2613 MethodName: "RebootDevice",
2614 Handler: _NativeHWManagementService_RebootDevice_Handler,
2615 },
Amit Ghosh09f28362020-06-12 21:52:19 +01002616 },
2617 Streams: []grpc.StreamDesc{
2618 {
2619 StreamName: "StartManagingDevice",
2620 Handler: _NativeHWManagementService_StartManagingDevice_Handler,
2621 ServerStreams: true,
2622 },
2623 {
2624 StreamName: "GetPhysicalInventory",
2625 Handler: _NativeHWManagementService_GetPhysicalInventory_Handler,
2626 ServerStreams: true,
2627 },
2628 {
2629 StreamName: "GetHWComponentInfo",
2630 Handler: _NativeHWManagementService_GetHWComponentInfo_Handler,
2631 ServerStreams: true,
2632 },
2633 },
2634 Metadata: "dmi/hw_management_service.proto",
2635}