blob: bd811327567d61bbf4aa728f0c860393d0118957 [file] [log] [blame]
Amit Ghosh09f28362020-06-12 21:52:19 +01001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: dmi/hw_management_service.proto
3
4package dmi
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
Andrea Campanellacb990bc2020-09-22 12:50:56 +020010 empty "github.com/golang/protobuf/ptypes/empty"
Amit Ghosh09f28362020-06-12 21:52:19 +010011 grpc "google.golang.org/grpc"
Andrea Campanellac795b7d2021-04-14 13:24:44 +020012 codes "google.golang.org/grpc/codes"
13 status "google.golang.org/grpc/status"
Amit Ghosh09f28362020-06-12 21:52:19 +010014 math "math"
15)
16
17// Reference imports to suppress errors if they are not otherwise used.
18var _ = proto.Marshal
19var _ = fmt.Errorf
20var _ = math.Inf
21
22// This is a compile-time assertion to ensure that this generated file
23// is compatible with the proto package it is being compiled against.
24// A compilation error at this line likely means your copy of the
25// proto package needs to be updated.
26const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
27
amit.ghoshae473032021-01-10 11:59:10 +010028type PhysicalInventoryResponse_Reason int32
29
30const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010031 PhysicalInventoryResponse_UNDEFINED_REASON PhysicalInventoryResponse_Reason = 0
32 PhysicalInventoryResponse_UNKNOWN_DEVICE PhysicalInventoryResponse_Reason = 1
33 PhysicalInventoryResponse_INTERNAL_ERROR PhysicalInventoryResponse_Reason = 2
34 PhysicalInventoryResponse_DEVICE_UNREACHABLE PhysicalInventoryResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +010035)
36
37var PhysicalInventoryResponse_Reason_name = map[int32]string{
38 0: "UNDEFINED_REASON",
39 1: "UNKNOWN_DEVICE",
40 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +010041 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +010042}
43
44var PhysicalInventoryResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +010045 "UNDEFINED_REASON": 0,
46 "UNKNOWN_DEVICE": 1,
47 "INTERNAL_ERROR": 2,
48 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +010049}
50
51func (x PhysicalInventoryResponse_Reason) String() string {
52 return proto.EnumName(PhysicalInventoryResponse_Reason_name, int32(x))
53}
54
55func (PhysicalInventoryResponse_Reason) EnumDescriptor() ([]byte, []int) {
56 return fileDescriptor_eae902e73066286d, []int{1, 0}
57}
58
59type HWComponentInfoGetResponse_Reason int32
60
61const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010062 HWComponentInfoGetResponse_UNDEFINED_REASON HWComponentInfoGetResponse_Reason = 0
63 HWComponentInfoGetResponse_UNKNOWN_DEVICE HWComponentInfoGetResponse_Reason = 1
64 HWComponentInfoGetResponse_UNKNOWN_COMPONENT HWComponentInfoGetResponse_Reason = 2
65 HWComponentInfoGetResponse_INTERNAL_ERROR HWComponentInfoGetResponse_Reason = 3
66 HWComponentInfoGetResponse_DEVICE_UNREACHABLE HWComponentInfoGetResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +010067)
68
69var HWComponentInfoGetResponse_Reason_name = map[int32]string{
70 0: "UNDEFINED_REASON",
71 1: "UNKNOWN_DEVICE",
72 2: "UNKNOWN_COMPONENT",
73 3: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +010074 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +010075}
76
77var HWComponentInfoGetResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +010078 "UNDEFINED_REASON": 0,
79 "UNKNOWN_DEVICE": 1,
80 "UNKNOWN_COMPONENT": 2,
81 "INTERNAL_ERROR": 3,
82 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +010083}
84
85func (x HWComponentInfoGetResponse_Reason) String() string {
86 return proto.EnumName(HWComponentInfoGetResponse_Reason_name, int32(x))
87}
88
89func (HWComponentInfoGetResponse_Reason) EnumDescriptor() ([]byte, []int) {
90 return fileDescriptor_eae902e73066286d, []int{3, 0}
91}
92
93type HWComponentInfoSetResponse_Reason int32
94
95const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010096 HWComponentInfoSetResponse_UNDEFINED_REASON HWComponentInfoSetResponse_Reason = 0
97 HWComponentInfoSetResponse_UNKNOWN_DEVICE HWComponentInfoSetResponse_Reason = 1
98 HWComponentInfoSetResponse_UNKNOWN_COMPONENT HWComponentInfoSetResponse_Reason = 2
99 HWComponentInfoSetResponse_INVALID_PARAMS HWComponentInfoSetResponse_Reason = 3
100 HWComponentInfoSetResponse_INTERNAL_ERROR HWComponentInfoSetResponse_Reason = 4
101 HWComponentInfoSetResponse_DEVICE_UNREACHABLE HWComponentInfoSetResponse_Reason = 5
amit.ghoshae473032021-01-10 11:59:10 +0100102)
103
104var HWComponentInfoSetResponse_Reason_name = map[int32]string{
105 0: "UNDEFINED_REASON",
106 1: "UNKNOWN_DEVICE",
107 2: "UNKNOWN_COMPONENT",
108 3: "INVALID_PARAMS",
109 4: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100110 5: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100111}
112
113var HWComponentInfoSetResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100114 "UNDEFINED_REASON": 0,
115 "UNKNOWN_DEVICE": 1,
116 "UNKNOWN_COMPONENT": 2,
117 "INVALID_PARAMS": 3,
118 "INTERNAL_ERROR": 4,
119 "DEVICE_UNREACHABLE": 5,
amit.ghoshae473032021-01-10 11:59:10 +0100120}
121
122func (x HWComponentInfoSetResponse_Reason) String() string {
123 return proto.EnumName(HWComponentInfoSetResponse_Reason_name, int32(x))
124}
125
126func (HWComponentInfoSetResponse_Reason) EnumDescriptor() ([]byte, []int) {
127 return fileDescriptor_eae902e73066286d, []int{5, 0}
128}
129
130type StartManagingDeviceResponse_Reason int32
131
132const (
133 StartManagingDeviceResponse_UNDEFINED_REASON StartManagingDeviceResponse_Reason = 0
134 // DEVICE_ALREADY_MANAGED is returned when StartManagingDevice is called again for the same name AFTER a previously
135 // successful StartManagingDevice operation
136 StartManagingDeviceResponse_DEVICE_ALREADY_MANAGED StartManagingDeviceResponse_Reason = 1
137 // OPERATION_ALREADY_IN_PROGRESS is returned when StartManagingDevice is called again for the same name BEFORE
138 // a previous StartManagingDevice operation has completed
139 StartManagingDeviceResponse_OPERATION_ALREADY_IN_PROGRESS StartManagingDeviceResponse_Reason = 2
140 StartManagingDeviceResponse_INVALID_PARAMS StartManagingDeviceResponse_Reason = 3
141 StartManagingDeviceResponse_INTERNAL_ERROR StartManagingDeviceResponse_Reason = 4
amit.ghosh6bdb0f72021-06-02 14:42:29 +0200142 // AUTHENTICATION_FAILURE is returned when the device management software/server is not able to connect to the underlying
143 // hardware because of authentication failures
144 StartManagingDeviceResponse_AUTHENTICATION_FAILURE StartManagingDeviceResponse_Reason = 5
145 // INCOMPATIBLE_DEVICE is returned when there is a mismatch between the device management software/server and the underlying
146 // hardware
147 StartManagingDeviceResponse_INCOMPATIBLE_DEVICE StartManagingDeviceResponse_Reason = 6
amit.ghoshae473032021-01-10 11:59:10 +0100148)
149
150var StartManagingDeviceResponse_Reason_name = map[int32]string{
151 0: "UNDEFINED_REASON",
152 1: "DEVICE_ALREADY_MANAGED",
153 2: "OPERATION_ALREADY_IN_PROGRESS",
154 3: "INVALID_PARAMS",
155 4: "INTERNAL_ERROR",
amit.ghosh6bdb0f72021-06-02 14:42:29 +0200156 5: "AUTHENTICATION_FAILURE",
157 6: "INCOMPATIBLE_DEVICE",
amit.ghoshae473032021-01-10 11:59:10 +0100158}
159
160var StartManagingDeviceResponse_Reason_value = map[string]int32{
161 "UNDEFINED_REASON": 0,
162 "DEVICE_ALREADY_MANAGED": 1,
163 "OPERATION_ALREADY_IN_PROGRESS": 2,
164 "INVALID_PARAMS": 3,
165 "INTERNAL_ERROR": 4,
amit.ghosh6bdb0f72021-06-02 14:42:29 +0200166 "AUTHENTICATION_FAILURE": 5,
167 "INCOMPATIBLE_DEVICE": 6,
amit.ghoshae473032021-01-10 11:59:10 +0100168}
169
170func (x StartManagingDeviceResponse_Reason) String() string {
171 return proto.EnumName(StartManagingDeviceResponse_Reason_name, int32(x))
172}
173
174func (StartManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
175 return fileDescriptor_eae902e73066286d, []int{6, 0}
176}
177
178// The only case in which an error is expected is if the name of the
179// device to be stopped is not found
180type StopManagingDeviceResponse_Reason int32
181
182const (
183 StopManagingDeviceResponse_UNDEFINED_REASON StopManagingDeviceResponse_Reason = 0
184 StopManagingDeviceResponse_UNKNOWN_DEVICE StopManagingDeviceResponse_Reason = 1
185)
186
187var StopManagingDeviceResponse_Reason_name = map[int32]string{
188 0: "UNDEFINED_REASON",
189 1: "UNKNOWN_DEVICE",
190}
191
192var StopManagingDeviceResponse_Reason_value = map[string]int32{
193 "UNDEFINED_REASON": 0,
194 "UNKNOWN_DEVICE": 1,
195}
196
197func (x StopManagingDeviceResponse_Reason) String() string {
198 return proto.EnumName(StopManagingDeviceResponse_Reason_name, int32(x))
199}
200
201func (StopManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
202 return fileDescriptor_eae902e73066286d, []int{8, 0}
203}
204
amit.ghosh0c687412021-03-24 19:01:08 +0100205type ManagedDevicesResponse_Reason int32
206
207const (
208 ManagedDevicesResponse_UNDEFINED_REASON ManagedDevicesResponse_Reason = 0
209 ManagedDevicesResponse_INTERNAL_ERROR ManagedDevicesResponse_Reason = 1
210)
211
212var ManagedDevicesResponse_Reason_name = map[int32]string{
213 0: "UNDEFINED_REASON",
214 1: "INTERNAL_ERROR",
215}
216
217var ManagedDevicesResponse_Reason_value = map[string]int32{
218 "UNDEFINED_REASON": 0,
219 "INTERNAL_ERROR": 1,
220}
221
222func (x ManagedDevicesResponse_Reason) String() string {
223 return proto.EnumName(ManagedDevicesResponse_Reason_name, int32(x))
224}
225
226func (ManagedDevicesResponse_Reason) EnumDescriptor() ([]byte, []int) {
227 return fileDescriptor_eae902e73066286d, []int{10, 0}
228}
229
amit.ghoshae473032021-01-10 11:59:10 +0100230type SetRemoteEndpointResponse_Reason int32
231
232const (
233 SetRemoteEndpointResponse_UNDEFINED_REASON SetRemoteEndpointResponse_Reason = 0
234 SetRemoteEndpointResponse_UNKNOWN_DEVICE SetRemoteEndpointResponse_Reason = 1
235 SetRemoteEndpointResponse_INTERNAL_ERROR SetRemoteEndpointResponse_Reason = 2
236 SetRemoteEndpointResponse_LOGGING_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 3
237 SetRemoteEndpointResponse_LOGGING_ENDPOINT_PROTOCOL_ERROR SetRemoteEndpointResponse_Reason = 4
238 SetRemoteEndpointResponse_MSGBUS_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 5
amit.ghoshbd2022e2021-02-22 05:58:53 +0100239 SetRemoteEndpointResponse_DEVICE_UNREACHABLE SetRemoteEndpointResponse_Reason = 6
amit.ghoshae473032021-01-10 11:59:10 +0100240)
241
242var SetRemoteEndpointResponse_Reason_name = map[int32]string{
243 0: "UNDEFINED_REASON",
244 1: "UNKNOWN_DEVICE",
245 2: "INTERNAL_ERROR",
246 3: "LOGGING_ENDPOINT_ERROR",
247 4: "LOGGING_ENDPOINT_PROTOCOL_ERROR",
248 5: "MSGBUS_ENDPOINT_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100249 6: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100250}
251
252var SetRemoteEndpointResponse_Reason_value = map[string]int32{
253 "UNDEFINED_REASON": 0,
254 "UNKNOWN_DEVICE": 1,
255 "INTERNAL_ERROR": 2,
256 "LOGGING_ENDPOINT_ERROR": 3,
257 "LOGGING_ENDPOINT_PROTOCOL_ERROR": 4,
258 "MSGBUS_ENDPOINT_ERROR": 5,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100259 "DEVICE_UNREACHABLE": 6,
amit.ghoshae473032021-01-10 11:59:10 +0100260}
261
262func (x SetRemoteEndpointResponse_Reason) String() string {
263 return proto.EnumName(SetRemoteEndpointResponse_Reason_name, int32(x))
264}
265
266func (SetRemoteEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100267 return fileDescriptor_eae902e73066286d, []int{12, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100268}
269
270type GetLoggingEndpointResponse_Reason int32
271
272const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100273 GetLoggingEndpointResponse_UNDEFINED_REASON GetLoggingEndpointResponse_Reason = 0
274 GetLoggingEndpointResponse_UNKNOWN_DEVICE GetLoggingEndpointResponse_Reason = 1
275 GetLoggingEndpointResponse_INTERNAL_ERROR GetLoggingEndpointResponse_Reason = 2
276 GetLoggingEndpointResponse_DEVICE_UNREACHABLE GetLoggingEndpointResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +0100277)
278
279var GetLoggingEndpointResponse_Reason_name = map[int32]string{
280 0: "UNDEFINED_REASON",
281 1: "UNKNOWN_DEVICE",
282 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100283 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100284}
285
286var GetLoggingEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100287 "UNDEFINED_REASON": 0,
288 "UNKNOWN_DEVICE": 1,
289 "INTERNAL_ERROR": 2,
290 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +0100291}
292
293func (x GetLoggingEndpointResponse_Reason) String() string {
294 return proto.EnumName(GetLoggingEndpointResponse_Reason_name, int32(x))
295}
296
297func (GetLoggingEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100298 return fileDescriptor_eae902e73066286d, []int{13, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100299}
300
301type GetMsgBusEndpointResponse_Reason int32
302
303const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100304 GetMsgBusEndpointResponse_UNDEFINED_REASON GetMsgBusEndpointResponse_Reason = 0
305 GetMsgBusEndpointResponse_INTERNAL_ERROR GetMsgBusEndpointResponse_Reason = 1
306 GetMsgBusEndpointResponse_DEVICE_UNREACHABLE GetMsgBusEndpointResponse_Reason = 2
amit.ghoshae473032021-01-10 11:59:10 +0100307)
308
309var GetMsgBusEndpointResponse_Reason_name = map[int32]string{
310 0: "UNDEFINED_REASON",
311 1: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100312 2: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100313}
314
315var GetMsgBusEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100316 "UNDEFINED_REASON": 0,
317 "INTERNAL_ERROR": 1,
318 "DEVICE_UNREACHABLE": 2,
amit.ghoshae473032021-01-10 11:59:10 +0100319}
320
321func (x GetMsgBusEndpointResponse_Reason) String() string {
322 return proto.EnumName(GetMsgBusEndpointResponse_Reason_name, int32(x))
323}
324
325func (GetMsgBusEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100326 return fileDescriptor_eae902e73066286d, []int{15, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100327}
328
329type SetLogLevelResponse_Reason int32
330
331const (
332 SetLogLevelResponse_UNDEFINED_REASON SetLogLevelResponse_Reason = 0
333 SetLogLevelResponse_UNKNOWN_DEVICE SetLogLevelResponse_Reason = 1
334 SetLogLevelResponse_INTERNAL_ERROR SetLogLevelResponse_Reason = 2
335 SetLogLevelResponse_UNKNOWN_LOG_ENTITY SetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100336 SetLogLevelResponse_DEVICE_UNREACHABLE SetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100337)
338
339var SetLogLevelResponse_Reason_name = map[int32]string{
340 0: "UNDEFINED_REASON",
341 1: "UNKNOWN_DEVICE",
342 2: "INTERNAL_ERROR",
343 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100344 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100345}
346
347var SetLogLevelResponse_Reason_value = map[string]int32{
348 "UNDEFINED_REASON": 0,
349 "UNKNOWN_DEVICE": 1,
350 "INTERNAL_ERROR": 2,
351 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100352 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100353}
354
355func (x SetLogLevelResponse_Reason) String() string {
356 return proto.EnumName(SetLogLevelResponse_Reason_name, int32(x))
357}
358
359func (SetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100360 return fileDescriptor_eae902e73066286d, []int{18, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100361}
362
363type GetLogLevelResponse_Reason int32
364
365const (
366 GetLogLevelResponse_UNDEFINED_REASON GetLogLevelResponse_Reason = 0
367 GetLogLevelResponse_UNKNOWN_DEVICE GetLogLevelResponse_Reason = 1
368 GetLogLevelResponse_INTERNAL_ERROR GetLogLevelResponse_Reason = 2
369 GetLogLevelResponse_UNKNOWN_LOG_ENTITY GetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100370 GetLogLevelResponse_DEVICE_UNREACHABLE GetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100371)
372
373var GetLogLevelResponse_Reason_name = map[int32]string{
374 0: "UNDEFINED_REASON",
375 1: "UNKNOWN_DEVICE",
376 2: "INTERNAL_ERROR",
377 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100378 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100379}
380
381var GetLogLevelResponse_Reason_value = map[string]int32{
382 "UNDEFINED_REASON": 0,
383 "UNKNOWN_DEVICE": 1,
384 "INTERNAL_ERROR": 2,
385 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100386 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100387}
388
389func (x GetLogLevelResponse_Reason) String() string {
390 return proto.EnumName(GetLogLevelResponse_Reason_name, int32(x))
391}
392
393func (GetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100394 return fileDescriptor_eae902e73066286d, []int{20, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100395}
396
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530397type RebootDeviceResponse_Reason int32
398
399const (
400 RebootDeviceResponse_UNDEFINED_REASON RebootDeviceResponse_Reason = 0
401 RebootDeviceResponse_UNKNOWN_DEVICE RebootDeviceResponse_Reason = 1
402 RebootDeviceResponse_INTERNAL_ERROR RebootDeviceResponse_Reason = 2
403 RebootDeviceResponse_DEVICE_UNREACHABLE RebootDeviceResponse_Reason = 3
404)
405
406var RebootDeviceResponse_Reason_name = map[int32]string{
407 0: "UNDEFINED_REASON",
408 1: "UNKNOWN_DEVICE",
409 2: "INTERNAL_ERROR",
410 3: "DEVICE_UNREACHABLE",
411}
412
413var RebootDeviceResponse_Reason_value = map[string]int32{
414 "UNDEFINED_REASON": 0,
415 "UNKNOWN_DEVICE": 1,
416 "INTERNAL_ERROR": 2,
417 "DEVICE_UNREACHABLE": 3,
418}
419
420func (x RebootDeviceResponse_Reason) String() string {
421 return proto.EnumName(RebootDeviceResponse_Reason_name, int32(x))
422}
423
424func (RebootDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
425 return fileDescriptor_eae902e73066286d, []int{24, 0}
426}
427
Amit Ghosh09f28362020-06-12 21:52:19 +0100428type PhysicalInventoryRequest struct {
429 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
430 XXX_NoUnkeyedLiteral struct{} `json:"-"`
431 XXX_unrecognized []byte `json:"-"`
432 XXX_sizecache int32 `json:"-"`
433}
434
435func (m *PhysicalInventoryRequest) Reset() { *m = PhysicalInventoryRequest{} }
436func (m *PhysicalInventoryRequest) String() string { return proto.CompactTextString(m) }
437func (*PhysicalInventoryRequest) ProtoMessage() {}
438func (*PhysicalInventoryRequest) Descriptor() ([]byte, []int) {
439 return fileDescriptor_eae902e73066286d, []int{0}
440}
441
442func (m *PhysicalInventoryRequest) XXX_Unmarshal(b []byte) error {
443 return xxx_messageInfo_PhysicalInventoryRequest.Unmarshal(m, b)
444}
445func (m *PhysicalInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
446 return xxx_messageInfo_PhysicalInventoryRequest.Marshal(b, m, deterministic)
447}
448func (m *PhysicalInventoryRequest) XXX_Merge(src proto.Message) {
449 xxx_messageInfo_PhysicalInventoryRequest.Merge(m, src)
450}
451func (m *PhysicalInventoryRequest) XXX_Size() int {
452 return xxx_messageInfo_PhysicalInventoryRequest.Size(m)
453}
454func (m *PhysicalInventoryRequest) XXX_DiscardUnknown() {
455 xxx_messageInfo_PhysicalInventoryRequest.DiscardUnknown(m)
456}
457
458var xxx_messageInfo_PhysicalInventoryRequest proto.InternalMessageInfo
459
460func (m *PhysicalInventoryRequest) GetDeviceUuid() *Uuid {
461 if m != nil {
462 return m.DeviceUuid
463 }
464 return nil
465}
466
467type PhysicalInventoryResponse struct {
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100468 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
469 Reason PhysicalInventoryResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.PhysicalInventoryResponse_Reason" json:"reason,omitempty"`
470 Inventory *Hardware `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
471 // It is recommended that upstream components/users of the DMI interface
472 // do not really interpret/parse the reson_detail, but rather use it for
473 // display purposes to the end user or use it for logging the error
474 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
475 XXX_NoUnkeyedLiteral struct{} `json:"-"`
476 XXX_unrecognized []byte `json:"-"`
477 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100478}
479
480func (m *PhysicalInventoryResponse) Reset() { *m = PhysicalInventoryResponse{} }
481func (m *PhysicalInventoryResponse) String() string { return proto.CompactTextString(m) }
482func (*PhysicalInventoryResponse) ProtoMessage() {}
483func (*PhysicalInventoryResponse) Descriptor() ([]byte, []int) {
484 return fileDescriptor_eae902e73066286d, []int{1}
485}
486
487func (m *PhysicalInventoryResponse) XXX_Unmarshal(b []byte) error {
488 return xxx_messageInfo_PhysicalInventoryResponse.Unmarshal(m, b)
489}
490func (m *PhysicalInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
491 return xxx_messageInfo_PhysicalInventoryResponse.Marshal(b, m, deterministic)
492}
493func (m *PhysicalInventoryResponse) XXX_Merge(src proto.Message) {
494 xxx_messageInfo_PhysicalInventoryResponse.Merge(m, src)
495}
496func (m *PhysicalInventoryResponse) XXX_Size() int {
497 return xxx_messageInfo_PhysicalInventoryResponse.Size(m)
498}
499func (m *PhysicalInventoryResponse) XXX_DiscardUnknown() {
500 xxx_messageInfo_PhysicalInventoryResponse.DiscardUnknown(m)
501}
502
503var xxx_messageInfo_PhysicalInventoryResponse proto.InternalMessageInfo
504
505func (m *PhysicalInventoryResponse) GetStatus() Status {
506 if m != nil {
507 return m.Status
508 }
509 return Status_UNDEFINED_STATUS
510}
511
amit.ghoshae473032021-01-10 11:59:10 +0100512func (m *PhysicalInventoryResponse) GetReason() PhysicalInventoryResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100513 if m != nil {
514 return m.Reason
515 }
amit.ghoshae473032021-01-10 11:59:10 +0100516 return PhysicalInventoryResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100517}
518
519func (m *PhysicalInventoryResponse) GetInventory() *Hardware {
520 if m != nil {
521 return m.Inventory
522 }
523 return nil
524}
525
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100526func (m *PhysicalInventoryResponse) GetReasonDetail() string {
527 if m != nil {
528 return m.ReasonDetail
529 }
530 return ""
531}
532
Amit Ghosh09f28362020-06-12 21:52:19 +0100533type HWComponentInfoGetRequest struct {
534 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
535 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
536 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
537 XXX_NoUnkeyedLiteral struct{} `json:"-"`
538 XXX_unrecognized []byte `json:"-"`
539 XXX_sizecache int32 `json:"-"`
540}
541
542func (m *HWComponentInfoGetRequest) Reset() { *m = HWComponentInfoGetRequest{} }
543func (m *HWComponentInfoGetRequest) String() string { return proto.CompactTextString(m) }
544func (*HWComponentInfoGetRequest) ProtoMessage() {}
545func (*HWComponentInfoGetRequest) Descriptor() ([]byte, []int) {
546 return fileDescriptor_eae902e73066286d, []int{2}
547}
548
549func (m *HWComponentInfoGetRequest) XXX_Unmarshal(b []byte) error {
550 return xxx_messageInfo_HWComponentInfoGetRequest.Unmarshal(m, b)
551}
552func (m *HWComponentInfoGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
553 return xxx_messageInfo_HWComponentInfoGetRequest.Marshal(b, m, deterministic)
554}
555func (m *HWComponentInfoGetRequest) XXX_Merge(src proto.Message) {
556 xxx_messageInfo_HWComponentInfoGetRequest.Merge(m, src)
557}
558func (m *HWComponentInfoGetRequest) XXX_Size() int {
559 return xxx_messageInfo_HWComponentInfoGetRequest.Size(m)
560}
561func (m *HWComponentInfoGetRequest) XXX_DiscardUnknown() {
562 xxx_messageInfo_HWComponentInfoGetRequest.DiscardUnknown(m)
563}
564
565var xxx_messageInfo_HWComponentInfoGetRequest proto.InternalMessageInfo
566
567func (m *HWComponentInfoGetRequest) GetDeviceUuid() *Uuid {
568 if m != nil {
569 return m.DeviceUuid
570 }
571 return nil
572}
573
574func (m *HWComponentInfoGetRequest) GetComponentUuid() *Uuid {
575 if m != nil {
576 return m.ComponentUuid
577 }
578 return nil
579}
580
581func (m *HWComponentInfoGetRequest) GetComponentName() string {
582 if m != nil {
583 return m.ComponentName
584 }
585 return ""
586}
587
aghoshc301dcd2020-09-03 16:55:34 +0100588type HWComponentInfoGetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100589 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
590 Reason HWComponentInfoGetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoGetResponse_Reason" json:"reason,omitempty"`
591 Component *Component `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100592 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100593 XXX_NoUnkeyedLiteral struct{} `json:"-"`
594 XXX_unrecognized []byte `json:"-"`
595 XXX_sizecache int32 `json:"-"`
aghoshc301dcd2020-09-03 16:55:34 +0100596}
597
598func (m *HWComponentInfoGetResponse) Reset() { *m = HWComponentInfoGetResponse{} }
599func (m *HWComponentInfoGetResponse) String() string { return proto.CompactTextString(m) }
600func (*HWComponentInfoGetResponse) ProtoMessage() {}
601func (*HWComponentInfoGetResponse) Descriptor() ([]byte, []int) {
602 return fileDescriptor_eae902e73066286d, []int{3}
603}
604
605func (m *HWComponentInfoGetResponse) XXX_Unmarshal(b []byte) error {
606 return xxx_messageInfo_HWComponentInfoGetResponse.Unmarshal(m, b)
607}
608func (m *HWComponentInfoGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
609 return xxx_messageInfo_HWComponentInfoGetResponse.Marshal(b, m, deterministic)
610}
611func (m *HWComponentInfoGetResponse) XXX_Merge(src proto.Message) {
612 xxx_messageInfo_HWComponentInfoGetResponse.Merge(m, src)
613}
614func (m *HWComponentInfoGetResponse) XXX_Size() int {
615 return xxx_messageInfo_HWComponentInfoGetResponse.Size(m)
616}
617func (m *HWComponentInfoGetResponse) XXX_DiscardUnknown() {
618 xxx_messageInfo_HWComponentInfoGetResponse.DiscardUnknown(m)
619}
620
621var xxx_messageInfo_HWComponentInfoGetResponse proto.InternalMessageInfo
622
623func (m *HWComponentInfoGetResponse) GetStatus() Status {
624 if m != nil {
625 return m.Status
626 }
627 return Status_UNDEFINED_STATUS
628}
629
amit.ghoshae473032021-01-10 11:59:10 +0100630func (m *HWComponentInfoGetResponse) GetReason() HWComponentInfoGetResponse_Reason {
aghoshc301dcd2020-09-03 16:55:34 +0100631 if m != nil {
632 return m.Reason
633 }
amit.ghoshae473032021-01-10 11:59:10 +0100634 return HWComponentInfoGetResponse_UNDEFINED_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100635}
636
637func (m *HWComponentInfoGetResponse) GetComponent() *Component {
638 if m != nil {
639 return m.Component
640 }
641 return nil
642}
643
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100644func (m *HWComponentInfoGetResponse) GetReasonDetail() string {
645 if m != nil {
646 return m.ReasonDetail
647 }
648 return ""
649}
650
Amit Ghosh09f28362020-06-12 21:52:19 +0100651type HWComponentInfoSetRequest struct {
652 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
653 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
654 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
655 Changes *ModifiableComponent `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"`
656 XXX_NoUnkeyedLiteral struct{} `json:"-"`
657 XXX_unrecognized []byte `json:"-"`
658 XXX_sizecache int32 `json:"-"`
659}
660
661func (m *HWComponentInfoSetRequest) Reset() { *m = HWComponentInfoSetRequest{} }
662func (m *HWComponentInfoSetRequest) String() string { return proto.CompactTextString(m) }
663func (*HWComponentInfoSetRequest) ProtoMessage() {}
664func (*HWComponentInfoSetRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100665 return fileDescriptor_eae902e73066286d, []int{4}
Amit Ghosh09f28362020-06-12 21:52:19 +0100666}
667
668func (m *HWComponentInfoSetRequest) XXX_Unmarshal(b []byte) error {
669 return xxx_messageInfo_HWComponentInfoSetRequest.Unmarshal(m, b)
670}
671func (m *HWComponentInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
672 return xxx_messageInfo_HWComponentInfoSetRequest.Marshal(b, m, deterministic)
673}
674func (m *HWComponentInfoSetRequest) XXX_Merge(src proto.Message) {
675 xxx_messageInfo_HWComponentInfoSetRequest.Merge(m, src)
676}
677func (m *HWComponentInfoSetRequest) XXX_Size() int {
678 return xxx_messageInfo_HWComponentInfoSetRequest.Size(m)
679}
680func (m *HWComponentInfoSetRequest) XXX_DiscardUnknown() {
681 xxx_messageInfo_HWComponentInfoSetRequest.DiscardUnknown(m)
682}
683
684var xxx_messageInfo_HWComponentInfoSetRequest proto.InternalMessageInfo
685
686func (m *HWComponentInfoSetRequest) GetDeviceUuid() *Uuid {
687 if m != nil {
688 return m.DeviceUuid
689 }
690 return nil
691}
692
693func (m *HWComponentInfoSetRequest) GetComponentUuid() *Uuid {
694 if m != nil {
695 return m.ComponentUuid
696 }
697 return nil
698}
699
700func (m *HWComponentInfoSetRequest) GetComponentName() string {
701 if m != nil {
702 return m.ComponentName
703 }
704 return ""
705}
706
707func (m *HWComponentInfoSetRequest) GetChanges() *ModifiableComponent {
708 if m != nil {
709 return m.Changes
710 }
711 return nil
712}
713
714type HWComponentInfoSetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100715 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
716 Reason HWComponentInfoSetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoSetResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100717 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100718 XXX_NoUnkeyedLiteral struct{} `json:"-"`
719 XXX_unrecognized []byte `json:"-"`
720 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100721}
722
723func (m *HWComponentInfoSetResponse) Reset() { *m = HWComponentInfoSetResponse{} }
724func (m *HWComponentInfoSetResponse) String() string { return proto.CompactTextString(m) }
725func (*HWComponentInfoSetResponse) ProtoMessage() {}
726func (*HWComponentInfoSetResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100727 return fileDescriptor_eae902e73066286d, []int{5}
Amit Ghosh09f28362020-06-12 21:52:19 +0100728}
729
730func (m *HWComponentInfoSetResponse) XXX_Unmarshal(b []byte) error {
731 return xxx_messageInfo_HWComponentInfoSetResponse.Unmarshal(m, b)
732}
733func (m *HWComponentInfoSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
734 return xxx_messageInfo_HWComponentInfoSetResponse.Marshal(b, m, deterministic)
735}
736func (m *HWComponentInfoSetResponse) XXX_Merge(src proto.Message) {
737 xxx_messageInfo_HWComponentInfoSetResponse.Merge(m, src)
738}
739func (m *HWComponentInfoSetResponse) XXX_Size() int {
740 return xxx_messageInfo_HWComponentInfoSetResponse.Size(m)
741}
742func (m *HWComponentInfoSetResponse) XXX_DiscardUnknown() {
743 xxx_messageInfo_HWComponentInfoSetResponse.DiscardUnknown(m)
744}
745
746var xxx_messageInfo_HWComponentInfoSetResponse proto.InternalMessageInfo
747
748func (m *HWComponentInfoSetResponse) GetStatus() Status {
749 if m != nil {
750 return m.Status
751 }
752 return Status_UNDEFINED_STATUS
753}
754
amit.ghoshae473032021-01-10 11:59:10 +0100755func (m *HWComponentInfoSetResponse) GetReason() HWComponentInfoSetResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100756 if m != nil {
757 return m.Reason
758 }
amit.ghoshae473032021-01-10 11:59:10 +0100759 return HWComponentInfoSetResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100760}
761
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100762func (m *HWComponentInfoSetResponse) GetReasonDetail() string {
763 if m != nil {
764 return m.ReasonDetail
765 }
766 return ""
767}
768
Amit Ghosh09f28362020-06-12 21:52:19 +0100769type StartManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100770 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
771 Reason StartManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartManagingDeviceResponse_Reason" json:"reason,omitempty"`
772 DeviceUuid *Uuid `protobuf:"bytes,3,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100773 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100774 XXX_NoUnkeyedLiteral struct{} `json:"-"`
775 XXX_unrecognized []byte `json:"-"`
776 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100777}
778
779func (m *StartManagingDeviceResponse) Reset() { *m = StartManagingDeviceResponse{} }
780func (m *StartManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
781func (*StartManagingDeviceResponse) ProtoMessage() {}
782func (*StartManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100783 return fileDescriptor_eae902e73066286d, []int{6}
Amit Ghosh09f28362020-06-12 21:52:19 +0100784}
785
786func (m *StartManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
787 return xxx_messageInfo_StartManagingDeviceResponse.Unmarshal(m, b)
788}
789func (m *StartManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
790 return xxx_messageInfo_StartManagingDeviceResponse.Marshal(b, m, deterministic)
791}
792func (m *StartManagingDeviceResponse) XXX_Merge(src proto.Message) {
793 xxx_messageInfo_StartManagingDeviceResponse.Merge(m, src)
794}
795func (m *StartManagingDeviceResponse) XXX_Size() int {
796 return xxx_messageInfo_StartManagingDeviceResponse.Size(m)
797}
798func (m *StartManagingDeviceResponse) XXX_DiscardUnknown() {
799 xxx_messageInfo_StartManagingDeviceResponse.DiscardUnknown(m)
800}
801
802var xxx_messageInfo_StartManagingDeviceResponse proto.InternalMessageInfo
803
804func (m *StartManagingDeviceResponse) GetStatus() Status {
805 if m != nil {
806 return m.Status
807 }
808 return Status_UNDEFINED_STATUS
809}
810
amit.ghoshae473032021-01-10 11:59:10 +0100811func (m *StartManagingDeviceResponse) GetReason() StartManagingDeviceResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100812 if m != nil {
813 return m.Reason
814 }
amit.ghoshae473032021-01-10 11:59:10 +0100815 return StartManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100816}
817
818func (m *StartManagingDeviceResponse) GetDeviceUuid() *Uuid {
819 if m != nil {
820 return m.DeviceUuid
821 }
822 return nil
823}
824
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100825func (m *StartManagingDeviceResponse) GetReasonDetail() string {
826 if m != nil {
827 return m.ReasonDetail
828 }
829 return ""
830}
831
Amit Ghosh366228e2020-07-06 13:46:42 +0100832type StopManagingDeviceRequest struct {
833 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
834 XXX_NoUnkeyedLiteral struct{} `json:"-"`
835 XXX_unrecognized []byte `json:"-"`
836 XXX_sizecache int32 `json:"-"`
837}
838
839func (m *StopManagingDeviceRequest) Reset() { *m = StopManagingDeviceRequest{} }
840func (m *StopManagingDeviceRequest) String() string { return proto.CompactTextString(m) }
841func (*StopManagingDeviceRequest) ProtoMessage() {}
842func (*StopManagingDeviceRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100843 return fileDescriptor_eae902e73066286d, []int{7}
Amit Ghosh366228e2020-07-06 13:46:42 +0100844}
845
846func (m *StopManagingDeviceRequest) XXX_Unmarshal(b []byte) error {
847 return xxx_messageInfo_StopManagingDeviceRequest.Unmarshal(m, b)
848}
849func (m *StopManagingDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
850 return xxx_messageInfo_StopManagingDeviceRequest.Marshal(b, m, deterministic)
851}
852func (m *StopManagingDeviceRequest) XXX_Merge(src proto.Message) {
853 xxx_messageInfo_StopManagingDeviceRequest.Merge(m, src)
854}
855func (m *StopManagingDeviceRequest) XXX_Size() int {
856 return xxx_messageInfo_StopManagingDeviceRequest.Size(m)
857}
858func (m *StopManagingDeviceRequest) XXX_DiscardUnknown() {
859 xxx_messageInfo_StopManagingDeviceRequest.DiscardUnknown(m)
860}
861
862var xxx_messageInfo_StopManagingDeviceRequest proto.InternalMessageInfo
863
864func (m *StopManagingDeviceRequest) GetName() string {
865 if m != nil {
866 return m.Name
867 }
868 return ""
869}
870
871type StopManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100872 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
873 Reason StopManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StopManagingDeviceResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100874 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100875 XXX_NoUnkeyedLiteral struct{} `json:"-"`
876 XXX_unrecognized []byte `json:"-"`
877 XXX_sizecache int32 `json:"-"`
Amit Ghosh366228e2020-07-06 13:46:42 +0100878}
879
880func (m *StopManagingDeviceResponse) Reset() { *m = StopManagingDeviceResponse{} }
881func (m *StopManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
882func (*StopManagingDeviceResponse) ProtoMessage() {}
883func (*StopManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100884 return fileDescriptor_eae902e73066286d, []int{8}
Amit Ghosh366228e2020-07-06 13:46:42 +0100885}
886
887func (m *StopManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
888 return xxx_messageInfo_StopManagingDeviceResponse.Unmarshal(m, b)
889}
890func (m *StopManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
891 return xxx_messageInfo_StopManagingDeviceResponse.Marshal(b, m, deterministic)
892}
893func (m *StopManagingDeviceResponse) XXX_Merge(src proto.Message) {
894 xxx_messageInfo_StopManagingDeviceResponse.Merge(m, src)
895}
896func (m *StopManagingDeviceResponse) XXX_Size() int {
897 return xxx_messageInfo_StopManagingDeviceResponse.Size(m)
898}
899func (m *StopManagingDeviceResponse) XXX_DiscardUnknown() {
900 xxx_messageInfo_StopManagingDeviceResponse.DiscardUnknown(m)
901}
902
903var xxx_messageInfo_StopManagingDeviceResponse proto.InternalMessageInfo
904
905func (m *StopManagingDeviceResponse) GetStatus() Status {
906 if m != nil {
907 return m.Status
908 }
909 return Status_UNDEFINED_STATUS
910}
911
amit.ghoshae473032021-01-10 11:59:10 +0100912func (m *StopManagingDeviceResponse) GetReason() StopManagingDeviceResponse_Reason {
Amit Ghosh366228e2020-07-06 13:46:42 +0100913 if m != nil {
914 return m.Reason
915 }
amit.ghoshae473032021-01-10 11:59:10 +0100916 return StopManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh366228e2020-07-06 13:46:42 +0100917}
918
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100919func (m *StopManagingDeviceResponse) GetReasonDetail() string {
920 if m != nil {
921 return m.ReasonDetail
922 }
923 return ""
924}
925
amit.ghosh0c687412021-03-24 19:01:08 +0100926type ManagedDeviceInfo struct {
927 Info *ModifiableComponent `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
928 DeviceUuid *Uuid `protobuf:"bytes,2,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
929 XXX_NoUnkeyedLiteral struct{} `json:"-"`
930 XXX_unrecognized []byte `json:"-"`
931 XXX_sizecache int32 `json:"-"`
932}
933
934func (m *ManagedDeviceInfo) Reset() { *m = ManagedDeviceInfo{} }
935func (m *ManagedDeviceInfo) String() string { return proto.CompactTextString(m) }
936func (*ManagedDeviceInfo) ProtoMessage() {}
937func (*ManagedDeviceInfo) Descriptor() ([]byte, []int) {
938 return fileDescriptor_eae902e73066286d, []int{9}
939}
940
941func (m *ManagedDeviceInfo) XXX_Unmarshal(b []byte) error {
942 return xxx_messageInfo_ManagedDeviceInfo.Unmarshal(m, b)
943}
944func (m *ManagedDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
945 return xxx_messageInfo_ManagedDeviceInfo.Marshal(b, m, deterministic)
946}
947func (m *ManagedDeviceInfo) XXX_Merge(src proto.Message) {
948 xxx_messageInfo_ManagedDeviceInfo.Merge(m, src)
949}
950func (m *ManagedDeviceInfo) XXX_Size() int {
951 return xxx_messageInfo_ManagedDeviceInfo.Size(m)
952}
953func (m *ManagedDeviceInfo) XXX_DiscardUnknown() {
954 xxx_messageInfo_ManagedDeviceInfo.DiscardUnknown(m)
955}
956
957var xxx_messageInfo_ManagedDeviceInfo proto.InternalMessageInfo
958
959func (m *ManagedDeviceInfo) GetInfo() *ModifiableComponent {
960 if m != nil {
961 return m.Info
962 }
963 return nil
964}
965
966func (m *ManagedDeviceInfo) GetDeviceUuid() *Uuid {
967 if m != nil {
968 return m.DeviceUuid
969 }
970 return nil
971}
972
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200973type ManagedDevicesResponse struct {
amit.ghosh0c687412021-03-24 19:01:08 +0100974 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
975 Reason ManagedDevicesResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.ManagedDevicesResponse_Reason" json:"reason,omitempty"`
976 Devices []*ManagedDeviceInfo `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
977 XXX_NoUnkeyedLiteral struct{} `json:"-"`
978 XXX_unrecognized []byte `json:"-"`
979 XXX_sizecache int32 `json:"-"`
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200980}
981
982func (m *ManagedDevicesResponse) Reset() { *m = ManagedDevicesResponse{} }
983func (m *ManagedDevicesResponse) String() string { return proto.CompactTextString(m) }
984func (*ManagedDevicesResponse) ProtoMessage() {}
985func (*ManagedDevicesResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100986 return fileDescriptor_eae902e73066286d, []int{10}
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200987}
988
989func (m *ManagedDevicesResponse) XXX_Unmarshal(b []byte) error {
990 return xxx_messageInfo_ManagedDevicesResponse.Unmarshal(m, b)
991}
992func (m *ManagedDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
993 return xxx_messageInfo_ManagedDevicesResponse.Marshal(b, m, deterministic)
994}
995func (m *ManagedDevicesResponse) XXX_Merge(src proto.Message) {
996 xxx_messageInfo_ManagedDevicesResponse.Merge(m, src)
997}
998func (m *ManagedDevicesResponse) XXX_Size() int {
999 return xxx_messageInfo_ManagedDevicesResponse.Size(m)
1000}
1001func (m *ManagedDevicesResponse) XXX_DiscardUnknown() {
1002 xxx_messageInfo_ManagedDevicesResponse.DiscardUnknown(m)
1003}
1004
1005var xxx_messageInfo_ManagedDevicesResponse proto.InternalMessageInfo
1006
amit.ghosh0c687412021-03-24 19:01:08 +01001007func (m *ManagedDevicesResponse) GetStatus() Status {
1008 if m != nil {
1009 return m.Status
1010 }
1011 return Status_UNDEFINED_STATUS
1012}
1013
1014func (m *ManagedDevicesResponse) GetReason() ManagedDevicesResponse_Reason {
1015 if m != nil {
1016 return m.Reason
1017 }
1018 return ManagedDevicesResponse_UNDEFINED_REASON
1019}
1020
1021func (m *ManagedDevicesResponse) GetDevices() []*ManagedDeviceInfo {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001022 if m != nil {
1023 return m.Devices
1024 }
1025 return nil
1026}
1027
amit.ghosh188a84f2020-09-27 20:59:25 +02001028type SetLoggingEndpointRequest struct {
1029 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1030 LoggingEndpoint string `protobuf:"bytes,2,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1031 LoggingProtocol string `protobuf:"bytes,3,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
1032 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1033 XXX_unrecognized []byte `json:"-"`
1034 XXX_sizecache int32 `json:"-"`
1035}
1036
1037func (m *SetLoggingEndpointRequest) Reset() { *m = SetLoggingEndpointRequest{} }
1038func (m *SetLoggingEndpointRequest) String() string { return proto.CompactTextString(m) }
1039func (*SetLoggingEndpointRequest) ProtoMessage() {}
1040func (*SetLoggingEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001041 return fileDescriptor_eae902e73066286d, []int{11}
amit.ghosh188a84f2020-09-27 20:59:25 +02001042}
1043
1044func (m *SetLoggingEndpointRequest) XXX_Unmarshal(b []byte) error {
1045 return xxx_messageInfo_SetLoggingEndpointRequest.Unmarshal(m, b)
1046}
1047func (m *SetLoggingEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1048 return xxx_messageInfo_SetLoggingEndpointRequest.Marshal(b, m, deterministic)
1049}
1050func (m *SetLoggingEndpointRequest) XXX_Merge(src proto.Message) {
1051 xxx_messageInfo_SetLoggingEndpointRequest.Merge(m, src)
1052}
1053func (m *SetLoggingEndpointRequest) XXX_Size() int {
1054 return xxx_messageInfo_SetLoggingEndpointRequest.Size(m)
1055}
1056func (m *SetLoggingEndpointRequest) XXX_DiscardUnknown() {
1057 xxx_messageInfo_SetLoggingEndpointRequest.DiscardUnknown(m)
1058}
1059
1060var xxx_messageInfo_SetLoggingEndpointRequest proto.InternalMessageInfo
1061
1062func (m *SetLoggingEndpointRequest) GetDeviceUuid() *Uuid {
1063 if m != nil {
1064 return m.DeviceUuid
1065 }
1066 return nil
1067}
1068
1069func (m *SetLoggingEndpointRequest) GetLoggingEndpoint() string {
1070 if m != nil {
1071 return m.LoggingEndpoint
1072 }
1073 return ""
1074}
1075
1076func (m *SetLoggingEndpointRequest) GetLoggingProtocol() string {
1077 if m != nil {
1078 return m.LoggingProtocol
1079 }
1080 return ""
1081}
1082
1083type SetRemoteEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001084 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1085 Reason SetRemoteEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetRemoteEndpointResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001086 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001087 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1088 XXX_unrecognized []byte `json:"-"`
1089 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001090}
1091
1092func (m *SetRemoteEndpointResponse) Reset() { *m = SetRemoteEndpointResponse{} }
1093func (m *SetRemoteEndpointResponse) String() string { return proto.CompactTextString(m) }
1094func (*SetRemoteEndpointResponse) ProtoMessage() {}
1095func (*SetRemoteEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001096 return fileDescriptor_eae902e73066286d, []int{12}
amit.ghosh188a84f2020-09-27 20:59:25 +02001097}
1098
1099func (m *SetRemoteEndpointResponse) XXX_Unmarshal(b []byte) error {
1100 return xxx_messageInfo_SetRemoteEndpointResponse.Unmarshal(m, b)
1101}
1102func (m *SetRemoteEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1103 return xxx_messageInfo_SetRemoteEndpointResponse.Marshal(b, m, deterministic)
1104}
1105func (m *SetRemoteEndpointResponse) XXX_Merge(src proto.Message) {
1106 xxx_messageInfo_SetRemoteEndpointResponse.Merge(m, src)
1107}
1108func (m *SetRemoteEndpointResponse) XXX_Size() int {
1109 return xxx_messageInfo_SetRemoteEndpointResponse.Size(m)
1110}
1111func (m *SetRemoteEndpointResponse) XXX_DiscardUnknown() {
1112 xxx_messageInfo_SetRemoteEndpointResponse.DiscardUnknown(m)
1113}
1114
1115var xxx_messageInfo_SetRemoteEndpointResponse proto.InternalMessageInfo
1116
1117func (m *SetRemoteEndpointResponse) GetStatus() Status {
1118 if m != nil {
1119 return m.Status
1120 }
1121 return Status_UNDEFINED_STATUS
1122}
1123
amit.ghoshae473032021-01-10 11:59:10 +01001124func (m *SetRemoteEndpointResponse) GetReason() SetRemoteEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001125 if m != nil {
1126 return m.Reason
1127 }
amit.ghoshae473032021-01-10 11:59:10 +01001128 return SetRemoteEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001129}
1130
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001131func (m *SetRemoteEndpointResponse) GetReasonDetail() string {
1132 if m != nil {
1133 return m.ReasonDetail
1134 }
1135 return ""
1136}
1137
amit.ghosh188a84f2020-09-27 20:59:25 +02001138type GetLoggingEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001139 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1140 Reason GetLoggingEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetLoggingEndpointResponse_Reason" json:"reason,omitempty"`
1141 LoggingEndpoint string `protobuf:"bytes,3,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1142 LoggingProtocol string `protobuf:"bytes,4,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001143 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001144 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1145 XXX_unrecognized []byte `json:"-"`
1146 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001147}
1148
1149func (m *GetLoggingEndpointResponse) Reset() { *m = GetLoggingEndpointResponse{} }
1150func (m *GetLoggingEndpointResponse) String() string { return proto.CompactTextString(m) }
1151func (*GetLoggingEndpointResponse) ProtoMessage() {}
1152func (*GetLoggingEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001153 return fileDescriptor_eae902e73066286d, []int{13}
amit.ghosh188a84f2020-09-27 20:59:25 +02001154}
1155
1156func (m *GetLoggingEndpointResponse) XXX_Unmarshal(b []byte) error {
1157 return xxx_messageInfo_GetLoggingEndpointResponse.Unmarshal(m, b)
1158}
1159func (m *GetLoggingEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1160 return xxx_messageInfo_GetLoggingEndpointResponse.Marshal(b, m, deterministic)
1161}
1162func (m *GetLoggingEndpointResponse) XXX_Merge(src proto.Message) {
1163 xxx_messageInfo_GetLoggingEndpointResponse.Merge(m, src)
1164}
1165func (m *GetLoggingEndpointResponse) XXX_Size() int {
1166 return xxx_messageInfo_GetLoggingEndpointResponse.Size(m)
1167}
1168func (m *GetLoggingEndpointResponse) XXX_DiscardUnknown() {
1169 xxx_messageInfo_GetLoggingEndpointResponse.DiscardUnknown(m)
1170}
1171
1172var xxx_messageInfo_GetLoggingEndpointResponse proto.InternalMessageInfo
1173
1174func (m *GetLoggingEndpointResponse) GetStatus() Status {
1175 if m != nil {
1176 return m.Status
1177 }
1178 return Status_UNDEFINED_STATUS
1179}
1180
amit.ghoshae473032021-01-10 11:59:10 +01001181func (m *GetLoggingEndpointResponse) GetReason() GetLoggingEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001182 if m != nil {
1183 return m.Reason
1184 }
amit.ghoshae473032021-01-10 11:59:10 +01001185 return GetLoggingEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001186}
1187
1188func (m *GetLoggingEndpointResponse) GetLoggingEndpoint() string {
1189 if m != nil {
1190 return m.LoggingEndpoint
1191 }
1192 return ""
1193}
1194
1195func (m *GetLoggingEndpointResponse) GetLoggingProtocol() string {
1196 if m != nil {
1197 return m.LoggingProtocol
1198 }
1199 return ""
1200}
1201
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001202func (m *GetLoggingEndpointResponse) GetReasonDetail() string {
1203 if m != nil {
1204 return m.ReasonDetail
1205 }
1206 return ""
1207}
1208
amit.ghosh188a84f2020-09-27 20:59:25 +02001209type SetMsgBusEndpointRequest struct {
1210 MsgbusEndpoint string `protobuf:"bytes,1,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1211 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1212 XXX_unrecognized []byte `json:"-"`
1213 XXX_sizecache int32 `json:"-"`
1214}
1215
1216func (m *SetMsgBusEndpointRequest) Reset() { *m = SetMsgBusEndpointRequest{} }
1217func (m *SetMsgBusEndpointRequest) String() string { return proto.CompactTextString(m) }
1218func (*SetMsgBusEndpointRequest) ProtoMessage() {}
1219func (*SetMsgBusEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001220 return fileDescriptor_eae902e73066286d, []int{14}
amit.ghosh188a84f2020-09-27 20:59:25 +02001221}
1222
1223func (m *SetMsgBusEndpointRequest) XXX_Unmarshal(b []byte) error {
1224 return xxx_messageInfo_SetMsgBusEndpointRequest.Unmarshal(m, b)
1225}
1226func (m *SetMsgBusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1227 return xxx_messageInfo_SetMsgBusEndpointRequest.Marshal(b, m, deterministic)
1228}
1229func (m *SetMsgBusEndpointRequest) XXX_Merge(src proto.Message) {
1230 xxx_messageInfo_SetMsgBusEndpointRequest.Merge(m, src)
1231}
1232func (m *SetMsgBusEndpointRequest) XXX_Size() int {
1233 return xxx_messageInfo_SetMsgBusEndpointRequest.Size(m)
1234}
1235func (m *SetMsgBusEndpointRequest) XXX_DiscardUnknown() {
1236 xxx_messageInfo_SetMsgBusEndpointRequest.DiscardUnknown(m)
1237}
1238
1239var xxx_messageInfo_SetMsgBusEndpointRequest proto.InternalMessageInfo
1240
1241func (m *SetMsgBusEndpointRequest) GetMsgbusEndpoint() string {
1242 if m != nil {
1243 return m.MsgbusEndpoint
1244 }
1245 return ""
1246}
1247
1248type GetMsgBusEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001249 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1250 Reason GetMsgBusEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetMsgBusEndpointResponse_Reason" json:"reason,omitempty"`
1251 MsgbusEndpoint string `protobuf:"bytes,3,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001252 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001253 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1254 XXX_unrecognized []byte `json:"-"`
1255 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001256}
1257
1258func (m *GetMsgBusEndpointResponse) Reset() { *m = GetMsgBusEndpointResponse{} }
1259func (m *GetMsgBusEndpointResponse) String() string { return proto.CompactTextString(m) }
1260func (*GetMsgBusEndpointResponse) ProtoMessage() {}
1261func (*GetMsgBusEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001262 return fileDescriptor_eae902e73066286d, []int{15}
amit.ghosh188a84f2020-09-27 20:59:25 +02001263}
1264
1265func (m *GetMsgBusEndpointResponse) XXX_Unmarshal(b []byte) error {
1266 return xxx_messageInfo_GetMsgBusEndpointResponse.Unmarshal(m, b)
1267}
1268func (m *GetMsgBusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1269 return xxx_messageInfo_GetMsgBusEndpointResponse.Marshal(b, m, deterministic)
1270}
1271func (m *GetMsgBusEndpointResponse) XXX_Merge(src proto.Message) {
1272 xxx_messageInfo_GetMsgBusEndpointResponse.Merge(m, src)
1273}
1274func (m *GetMsgBusEndpointResponse) XXX_Size() int {
1275 return xxx_messageInfo_GetMsgBusEndpointResponse.Size(m)
1276}
1277func (m *GetMsgBusEndpointResponse) XXX_DiscardUnknown() {
1278 xxx_messageInfo_GetMsgBusEndpointResponse.DiscardUnknown(m)
1279}
1280
1281var xxx_messageInfo_GetMsgBusEndpointResponse proto.InternalMessageInfo
1282
1283func (m *GetMsgBusEndpointResponse) GetStatus() Status {
1284 if m != nil {
1285 return m.Status
1286 }
1287 return Status_UNDEFINED_STATUS
1288}
1289
amit.ghoshae473032021-01-10 11:59:10 +01001290func (m *GetMsgBusEndpointResponse) GetReason() GetMsgBusEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001291 if m != nil {
1292 return m.Reason
1293 }
amit.ghoshae473032021-01-10 11:59:10 +01001294 return GetMsgBusEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001295}
1296
1297func (m *GetMsgBusEndpointResponse) GetMsgbusEndpoint() string {
1298 if m != nil {
1299 return m.MsgbusEndpoint
1300 }
1301 return ""
1302}
1303
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001304func (m *GetMsgBusEndpointResponse) GetReasonDetail() string {
1305 if m != nil {
1306 return m.ReasonDetail
1307 }
1308 return ""
1309}
1310
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001311type EntitiesLogLevel struct {
1312 LogLevel LogLevel `protobuf:"varint,1,opt,name=logLevel,proto3,enum=dmi.LogLevel" json:"logLevel,omitempty"`
1313 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1314 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1315 XXX_unrecognized []byte `json:"-"`
1316 XXX_sizecache int32 `json:"-"`
1317}
1318
1319func (m *EntitiesLogLevel) Reset() { *m = EntitiesLogLevel{} }
1320func (m *EntitiesLogLevel) String() string { return proto.CompactTextString(m) }
1321func (*EntitiesLogLevel) ProtoMessage() {}
1322func (*EntitiesLogLevel) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001323 return fileDescriptor_eae902e73066286d, []int{16}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001324}
1325
1326func (m *EntitiesLogLevel) XXX_Unmarshal(b []byte) error {
1327 return xxx_messageInfo_EntitiesLogLevel.Unmarshal(m, b)
1328}
1329func (m *EntitiesLogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1330 return xxx_messageInfo_EntitiesLogLevel.Marshal(b, m, deterministic)
1331}
1332func (m *EntitiesLogLevel) XXX_Merge(src proto.Message) {
1333 xxx_messageInfo_EntitiesLogLevel.Merge(m, src)
1334}
1335func (m *EntitiesLogLevel) XXX_Size() int {
1336 return xxx_messageInfo_EntitiesLogLevel.Size(m)
1337}
1338func (m *EntitiesLogLevel) XXX_DiscardUnknown() {
1339 xxx_messageInfo_EntitiesLogLevel.DiscardUnknown(m)
1340}
1341
1342var xxx_messageInfo_EntitiesLogLevel proto.InternalMessageInfo
1343
1344func (m *EntitiesLogLevel) GetLogLevel() LogLevel {
1345 if m != nil {
1346 return m.LogLevel
1347 }
1348 return LogLevel_TRACE
1349}
1350
1351func (m *EntitiesLogLevel) GetEntities() []string {
1352 if m != nil {
1353 return m.Entities
1354 }
1355 return nil
1356}
1357
1358type SetLogLevelRequest struct {
1359 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1360 Loglevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=loglevels,proto3" json:"loglevels,omitempty"`
1361 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1362 XXX_unrecognized []byte `json:"-"`
1363 XXX_sizecache int32 `json:"-"`
1364}
1365
1366func (m *SetLogLevelRequest) Reset() { *m = SetLogLevelRequest{} }
1367func (m *SetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1368func (*SetLogLevelRequest) ProtoMessage() {}
1369func (*SetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001370 return fileDescriptor_eae902e73066286d, []int{17}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001371}
1372
1373func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1374 return xxx_messageInfo_SetLogLevelRequest.Unmarshal(m, b)
1375}
1376func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1377 return xxx_messageInfo_SetLogLevelRequest.Marshal(b, m, deterministic)
1378}
1379func (m *SetLogLevelRequest) XXX_Merge(src proto.Message) {
1380 xxx_messageInfo_SetLogLevelRequest.Merge(m, src)
1381}
1382func (m *SetLogLevelRequest) XXX_Size() int {
1383 return xxx_messageInfo_SetLogLevelRequest.Size(m)
1384}
1385func (m *SetLogLevelRequest) XXX_DiscardUnknown() {
1386 xxx_messageInfo_SetLogLevelRequest.DiscardUnknown(m)
1387}
1388
1389var xxx_messageInfo_SetLogLevelRequest proto.InternalMessageInfo
1390
1391func (m *SetLogLevelRequest) GetDeviceUuid() *Uuid {
1392 if m != nil {
1393 return m.DeviceUuid
1394 }
1395 return nil
1396}
1397
1398func (m *SetLogLevelRequest) GetLoglevels() []*EntitiesLogLevel {
1399 if m != nil {
1400 return m.Loglevels
1401 }
1402 return nil
1403}
1404
1405type SetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001406 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1407 Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1408 Reason SetLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.SetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001409 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001410 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1411 XXX_unrecognized []byte `json:"-"`
1412 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001413}
1414
1415func (m *SetLogLevelResponse) Reset() { *m = SetLogLevelResponse{} }
1416func (m *SetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1417func (*SetLogLevelResponse) ProtoMessage() {}
1418func (*SetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001419 return fileDescriptor_eae902e73066286d, []int{18}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001420}
1421
1422func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1423 return xxx_messageInfo_SetLogLevelResponse.Unmarshal(m, b)
1424}
1425func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1426 return xxx_messageInfo_SetLogLevelResponse.Marshal(b, m, deterministic)
1427}
1428func (m *SetLogLevelResponse) XXX_Merge(src proto.Message) {
1429 xxx_messageInfo_SetLogLevelResponse.Merge(m, src)
1430}
1431func (m *SetLogLevelResponse) XXX_Size() int {
1432 return xxx_messageInfo_SetLogLevelResponse.Size(m)
1433}
1434func (m *SetLogLevelResponse) XXX_DiscardUnknown() {
1435 xxx_messageInfo_SetLogLevelResponse.DiscardUnknown(m)
1436}
1437
1438var xxx_messageInfo_SetLogLevelResponse proto.InternalMessageInfo
1439
amit.ghosh5d97dba2020-11-12 16:45:27 +01001440func (m *SetLogLevelResponse) GetDeviceUuid() *Uuid {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001441 if m != nil {
1442 return m.DeviceUuid
1443 }
1444 return nil
1445}
1446
amit.ghosh5d97dba2020-11-12 16:45:27 +01001447func (m *SetLogLevelResponse) GetStatus() Status {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001448 if m != nil {
1449 return m.Status
1450 }
1451 return Status_UNDEFINED_STATUS
1452}
1453
amit.ghoshae473032021-01-10 11:59:10 +01001454func (m *SetLogLevelResponse) GetReason() SetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001455 if m != nil {
1456 return m.Reason
1457 }
amit.ghoshae473032021-01-10 11:59:10 +01001458 return SetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001459}
1460
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001461func (m *SetLogLevelResponse) GetReasonDetail() string {
1462 if m != nil {
1463 return m.ReasonDetail
1464 }
1465 return ""
1466}
1467
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001468type GetLogLevelRequest struct {
1469 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1470 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1471 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1472 XXX_unrecognized []byte `json:"-"`
1473 XXX_sizecache int32 `json:"-"`
1474}
1475
1476func (m *GetLogLevelRequest) Reset() { *m = GetLogLevelRequest{} }
1477func (m *GetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1478func (*GetLogLevelRequest) ProtoMessage() {}
1479func (*GetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001480 return fileDescriptor_eae902e73066286d, []int{19}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001481}
1482
1483func (m *GetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1484 return xxx_messageInfo_GetLogLevelRequest.Unmarshal(m, b)
1485}
1486func (m *GetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1487 return xxx_messageInfo_GetLogLevelRequest.Marshal(b, m, deterministic)
1488}
1489func (m *GetLogLevelRequest) XXX_Merge(src proto.Message) {
1490 xxx_messageInfo_GetLogLevelRequest.Merge(m, src)
1491}
1492func (m *GetLogLevelRequest) XXX_Size() int {
1493 return xxx_messageInfo_GetLogLevelRequest.Size(m)
1494}
1495func (m *GetLogLevelRequest) XXX_DiscardUnknown() {
1496 xxx_messageInfo_GetLogLevelRequest.DiscardUnknown(m)
1497}
1498
1499var xxx_messageInfo_GetLogLevelRequest proto.InternalMessageInfo
1500
1501func (m *GetLogLevelRequest) GetDeviceUuid() *Uuid {
1502 if m != nil {
1503 return m.DeviceUuid
1504 }
1505 return nil
1506}
1507
1508func (m *GetLogLevelRequest) GetEntities() []string {
1509 if m != nil {
1510 return m.Entities
1511 }
1512 return nil
1513}
1514
1515type GetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001516 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1517 LogLevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=logLevels,proto3" json:"logLevels,omitempty"`
1518 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1519 Reason GetLogLevelResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.GetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001520 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001521 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1522 XXX_unrecognized []byte `json:"-"`
1523 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001524}
1525
1526func (m *GetLogLevelResponse) Reset() { *m = GetLogLevelResponse{} }
1527func (m *GetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1528func (*GetLogLevelResponse) ProtoMessage() {}
1529func (*GetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001530 return fileDescriptor_eae902e73066286d, []int{20}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001531}
1532
1533func (m *GetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1534 return xxx_messageInfo_GetLogLevelResponse.Unmarshal(m, b)
1535}
1536func (m *GetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1537 return xxx_messageInfo_GetLogLevelResponse.Marshal(b, m, deterministic)
1538}
1539func (m *GetLogLevelResponse) XXX_Merge(src proto.Message) {
1540 xxx_messageInfo_GetLogLevelResponse.Merge(m, src)
1541}
1542func (m *GetLogLevelResponse) XXX_Size() int {
1543 return xxx_messageInfo_GetLogLevelResponse.Size(m)
1544}
1545func (m *GetLogLevelResponse) XXX_DiscardUnknown() {
1546 xxx_messageInfo_GetLogLevelResponse.DiscardUnknown(m)
1547}
1548
1549var xxx_messageInfo_GetLogLevelResponse proto.InternalMessageInfo
1550
1551func (m *GetLogLevelResponse) GetDeviceUuid() *Uuid {
1552 if m != nil {
1553 return m.DeviceUuid
1554 }
1555 return nil
1556}
1557
1558func (m *GetLogLevelResponse) GetLogLevels() []*EntitiesLogLevel {
1559 if m != nil {
1560 return m.LogLevels
1561 }
1562 return nil
1563}
1564
1565func (m *GetLogLevelResponse) GetStatus() Status {
1566 if m != nil {
1567 return m.Status
1568 }
1569 return Status_UNDEFINED_STATUS
1570}
1571
amit.ghoshae473032021-01-10 11:59:10 +01001572func (m *GetLogLevelResponse) GetReason() GetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001573 if m != nil {
1574 return m.Reason
1575 }
amit.ghoshae473032021-01-10 11:59:10 +01001576 return GetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001577}
1578
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001579func (m *GetLogLevelResponse) GetReasonDetail() string {
1580 if m != nil {
1581 return m.ReasonDetail
1582 }
1583 return ""
1584}
1585
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001586type GetLoggableEntitiesRequest struct {
1587 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1588 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1589 XXX_unrecognized []byte `json:"-"`
1590 XXX_sizecache int32 `json:"-"`
1591}
1592
1593func (m *GetLoggableEntitiesRequest) Reset() { *m = GetLoggableEntitiesRequest{} }
1594func (m *GetLoggableEntitiesRequest) String() string { return proto.CompactTextString(m) }
1595func (*GetLoggableEntitiesRequest) ProtoMessage() {}
1596func (*GetLoggableEntitiesRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001597 return fileDescriptor_eae902e73066286d, []int{21}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001598}
1599
1600func (m *GetLoggableEntitiesRequest) XXX_Unmarshal(b []byte) error {
1601 return xxx_messageInfo_GetLoggableEntitiesRequest.Unmarshal(m, b)
1602}
1603func (m *GetLoggableEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1604 return xxx_messageInfo_GetLoggableEntitiesRequest.Marshal(b, m, deterministic)
1605}
1606func (m *GetLoggableEntitiesRequest) XXX_Merge(src proto.Message) {
1607 xxx_messageInfo_GetLoggableEntitiesRequest.Merge(m, src)
1608}
1609func (m *GetLoggableEntitiesRequest) XXX_Size() int {
1610 return xxx_messageInfo_GetLoggableEntitiesRequest.Size(m)
1611}
1612func (m *GetLoggableEntitiesRequest) XXX_DiscardUnknown() {
1613 xxx_messageInfo_GetLoggableEntitiesRequest.DiscardUnknown(m)
1614}
1615
1616var xxx_messageInfo_GetLoggableEntitiesRequest proto.InternalMessageInfo
1617
1618func (m *GetLoggableEntitiesRequest) GetDeviceUuid() *Uuid {
1619 if m != nil {
1620 return m.DeviceUuid
1621 }
1622 return nil
1623}
1624
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301625type Heartbeat struct {
1626 HeartbeatSignature uint32 `protobuf:"fixed32,1,opt,name=heartbeat_signature,json=heartbeatSignature,proto3" json:"heartbeat_signature,omitempty"`
1627 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1628 XXX_unrecognized []byte `json:"-"`
1629 XXX_sizecache int32 `json:"-"`
1630}
1631
1632func (m *Heartbeat) Reset() { *m = Heartbeat{} }
1633func (m *Heartbeat) String() string { return proto.CompactTextString(m) }
1634func (*Heartbeat) ProtoMessage() {}
1635func (*Heartbeat) Descriptor() ([]byte, []int) {
1636 return fileDescriptor_eae902e73066286d, []int{22}
1637}
1638
1639func (m *Heartbeat) XXX_Unmarshal(b []byte) error {
1640 return xxx_messageInfo_Heartbeat.Unmarshal(m, b)
1641}
1642func (m *Heartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1643 return xxx_messageInfo_Heartbeat.Marshal(b, m, deterministic)
1644}
1645func (m *Heartbeat) XXX_Merge(src proto.Message) {
1646 xxx_messageInfo_Heartbeat.Merge(m, src)
1647}
1648func (m *Heartbeat) XXX_Size() int {
1649 return xxx_messageInfo_Heartbeat.Size(m)
1650}
1651func (m *Heartbeat) XXX_DiscardUnknown() {
1652 xxx_messageInfo_Heartbeat.DiscardUnknown(m)
1653}
1654
1655var xxx_messageInfo_Heartbeat proto.InternalMessageInfo
1656
1657func (m *Heartbeat) GetHeartbeatSignature() uint32 {
1658 if m != nil {
1659 return m.HeartbeatSignature
1660 }
1661 return 0
1662}
1663
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301664type RebootDeviceRequest struct {
1665 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1666 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1667 XXX_unrecognized []byte `json:"-"`
1668 XXX_sizecache int32 `json:"-"`
1669}
1670
1671func (m *RebootDeviceRequest) Reset() { *m = RebootDeviceRequest{} }
1672func (m *RebootDeviceRequest) String() string { return proto.CompactTextString(m) }
1673func (*RebootDeviceRequest) ProtoMessage() {}
1674func (*RebootDeviceRequest) Descriptor() ([]byte, []int) {
1675 return fileDescriptor_eae902e73066286d, []int{23}
1676}
1677
1678func (m *RebootDeviceRequest) XXX_Unmarshal(b []byte) error {
1679 return xxx_messageInfo_RebootDeviceRequest.Unmarshal(m, b)
1680}
1681func (m *RebootDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1682 return xxx_messageInfo_RebootDeviceRequest.Marshal(b, m, deterministic)
1683}
1684func (m *RebootDeviceRequest) XXX_Merge(src proto.Message) {
1685 xxx_messageInfo_RebootDeviceRequest.Merge(m, src)
1686}
1687func (m *RebootDeviceRequest) XXX_Size() int {
1688 return xxx_messageInfo_RebootDeviceRequest.Size(m)
1689}
1690func (m *RebootDeviceRequest) XXX_DiscardUnknown() {
1691 xxx_messageInfo_RebootDeviceRequest.DiscardUnknown(m)
1692}
1693
1694var xxx_messageInfo_RebootDeviceRequest proto.InternalMessageInfo
1695
1696func (m *RebootDeviceRequest) GetDeviceUuid() *Uuid {
1697 if m != nil {
1698 return m.DeviceUuid
1699 }
1700 return nil
1701}
1702
1703type RebootDeviceResponse struct {
1704 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1705 Reason RebootDeviceResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.RebootDeviceResponse_Reason" json:"reason,omitempty"`
1706 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1707 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1708 XXX_unrecognized []byte `json:"-"`
1709 XXX_sizecache int32 `json:"-"`
1710}
1711
1712func (m *RebootDeviceResponse) Reset() { *m = RebootDeviceResponse{} }
1713func (m *RebootDeviceResponse) String() string { return proto.CompactTextString(m) }
1714func (*RebootDeviceResponse) ProtoMessage() {}
1715func (*RebootDeviceResponse) Descriptor() ([]byte, []int) {
1716 return fileDescriptor_eae902e73066286d, []int{24}
1717}
1718
1719func (m *RebootDeviceResponse) XXX_Unmarshal(b []byte) error {
1720 return xxx_messageInfo_RebootDeviceResponse.Unmarshal(m, b)
1721}
1722func (m *RebootDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1723 return xxx_messageInfo_RebootDeviceResponse.Marshal(b, m, deterministic)
1724}
1725func (m *RebootDeviceResponse) XXX_Merge(src proto.Message) {
1726 xxx_messageInfo_RebootDeviceResponse.Merge(m, src)
1727}
1728func (m *RebootDeviceResponse) XXX_Size() int {
1729 return xxx_messageInfo_RebootDeviceResponse.Size(m)
1730}
1731func (m *RebootDeviceResponse) XXX_DiscardUnknown() {
1732 xxx_messageInfo_RebootDeviceResponse.DiscardUnknown(m)
1733}
1734
1735var xxx_messageInfo_RebootDeviceResponse proto.InternalMessageInfo
1736
1737func (m *RebootDeviceResponse) GetStatus() Status {
1738 if m != nil {
1739 return m.Status
1740 }
1741 return Status_UNDEFINED_STATUS
1742}
1743
1744func (m *RebootDeviceResponse) GetReason() RebootDeviceResponse_Reason {
1745 if m != nil {
1746 return m.Reason
1747 }
1748 return RebootDeviceResponse_UNDEFINED_REASON
1749}
1750
1751func (m *RebootDeviceResponse) GetReasonDetail() string {
1752 if m != nil {
1753 return m.ReasonDetail
1754 }
1755 return ""
1756}
1757
Amit Ghosh09f28362020-06-12 21:52:19 +01001758func init() {
amit.ghoshae473032021-01-10 11:59:10 +01001759 proto.RegisterEnum("dmi.PhysicalInventoryResponse_Reason", PhysicalInventoryResponse_Reason_name, PhysicalInventoryResponse_Reason_value)
1760 proto.RegisterEnum("dmi.HWComponentInfoGetResponse_Reason", HWComponentInfoGetResponse_Reason_name, HWComponentInfoGetResponse_Reason_value)
1761 proto.RegisterEnum("dmi.HWComponentInfoSetResponse_Reason", HWComponentInfoSetResponse_Reason_name, HWComponentInfoSetResponse_Reason_value)
1762 proto.RegisterEnum("dmi.StartManagingDeviceResponse_Reason", StartManagingDeviceResponse_Reason_name, StartManagingDeviceResponse_Reason_value)
1763 proto.RegisterEnum("dmi.StopManagingDeviceResponse_Reason", StopManagingDeviceResponse_Reason_name, StopManagingDeviceResponse_Reason_value)
amit.ghosh0c687412021-03-24 19:01:08 +01001764 proto.RegisterEnum("dmi.ManagedDevicesResponse_Reason", ManagedDevicesResponse_Reason_name, ManagedDevicesResponse_Reason_value)
amit.ghoshae473032021-01-10 11:59:10 +01001765 proto.RegisterEnum("dmi.SetRemoteEndpointResponse_Reason", SetRemoteEndpointResponse_Reason_name, SetRemoteEndpointResponse_Reason_value)
1766 proto.RegisterEnum("dmi.GetLoggingEndpointResponse_Reason", GetLoggingEndpointResponse_Reason_name, GetLoggingEndpointResponse_Reason_value)
1767 proto.RegisterEnum("dmi.GetMsgBusEndpointResponse_Reason", GetMsgBusEndpointResponse_Reason_name, GetMsgBusEndpointResponse_Reason_value)
1768 proto.RegisterEnum("dmi.SetLogLevelResponse_Reason", SetLogLevelResponse_Reason_name, SetLogLevelResponse_Reason_value)
1769 proto.RegisterEnum("dmi.GetLogLevelResponse_Reason", GetLogLevelResponse_Reason_name, GetLogLevelResponse_Reason_value)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301770 proto.RegisterEnum("dmi.RebootDeviceResponse_Reason", RebootDeviceResponse_Reason_name, RebootDeviceResponse_Reason_value)
Amit Ghosh09f28362020-06-12 21:52:19 +01001771 proto.RegisterType((*PhysicalInventoryRequest)(nil), "dmi.PhysicalInventoryRequest")
1772 proto.RegisterType((*PhysicalInventoryResponse)(nil), "dmi.PhysicalInventoryResponse")
1773 proto.RegisterType((*HWComponentInfoGetRequest)(nil), "dmi.HWComponentInfoGetRequest")
aghoshc301dcd2020-09-03 16:55:34 +01001774 proto.RegisterType((*HWComponentInfoGetResponse)(nil), "dmi.HWComponentInfoGetResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001775 proto.RegisterType((*HWComponentInfoSetRequest)(nil), "dmi.HWComponentInfoSetRequest")
1776 proto.RegisterType((*HWComponentInfoSetResponse)(nil), "dmi.HWComponentInfoSetResponse")
1777 proto.RegisterType((*StartManagingDeviceResponse)(nil), "dmi.StartManagingDeviceResponse")
Amit Ghosh366228e2020-07-06 13:46:42 +01001778 proto.RegisterType((*StopManagingDeviceRequest)(nil), "dmi.StopManagingDeviceRequest")
1779 proto.RegisterType((*StopManagingDeviceResponse)(nil), "dmi.StopManagingDeviceResponse")
amit.ghosh0c687412021-03-24 19:01:08 +01001780 proto.RegisterType((*ManagedDeviceInfo)(nil), "dmi.ManagedDeviceInfo")
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001781 proto.RegisterType((*ManagedDevicesResponse)(nil), "dmi.ManagedDevicesResponse")
amit.ghosh188a84f2020-09-27 20:59:25 +02001782 proto.RegisterType((*SetLoggingEndpointRequest)(nil), "dmi.SetLoggingEndpointRequest")
1783 proto.RegisterType((*SetRemoteEndpointResponse)(nil), "dmi.SetRemoteEndpointResponse")
1784 proto.RegisterType((*GetLoggingEndpointResponse)(nil), "dmi.GetLoggingEndpointResponse")
1785 proto.RegisterType((*SetMsgBusEndpointRequest)(nil), "dmi.SetMsgBusEndpointRequest")
1786 proto.RegisterType((*GetMsgBusEndpointResponse)(nil), "dmi.GetMsgBusEndpointResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001787 proto.RegisterType((*EntitiesLogLevel)(nil), "dmi.EntitiesLogLevel")
1788 proto.RegisterType((*SetLogLevelRequest)(nil), "dmi.SetLogLevelRequest")
1789 proto.RegisterType((*SetLogLevelResponse)(nil), "dmi.SetLogLevelResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001790 proto.RegisterType((*GetLogLevelRequest)(nil), "dmi.GetLogLevelRequest")
1791 proto.RegisterType((*GetLogLevelResponse)(nil), "dmi.GetLogLevelResponse")
1792 proto.RegisterType((*GetLoggableEntitiesRequest)(nil), "dmi.GetLoggableEntitiesRequest")
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301793 proto.RegisterType((*Heartbeat)(nil), "dmi.Heartbeat")
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301794 proto.RegisterType((*RebootDeviceRequest)(nil), "dmi.RebootDeviceRequest")
1795 proto.RegisterType((*RebootDeviceResponse)(nil), "dmi.RebootDeviceResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001796}
1797
1798func init() { proto.RegisterFile("dmi/hw_management_service.proto", fileDescriptor_eae902e73066286d) }
1799
1800var fileDescriptor_eae902e73066286d = []byte{
amit.ghosh6bdb0f72021-06-02 14:42:29 +02001801 // 1571 bytes of a gzipped FileDescriptorProto
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301802 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xcd, 0x6e, 0xdb, 0xc6,
amit.ghosh6bdb0f72021-06-02 14:42:29 +02001803 0x16, 0xbe, 0x94, 0x6c, 0x27, 0x3a, 0x4e, 0x1c, 0x79, 0x9c, 0x38, 0x12, 0x83, 0xd8, 0xbe, 0x0c,
1804 0x72, 0xe3, 0xdc, 0x9b, 0x48, 0x86, 0xb2, 0xb8, 0xb9, 0xff, 0x97, 0x96, 0x68, 0x8a, 0x8d, 0x44,
1805 0x09, 0x43, 0x29, 0x46, 0x8a, 0xa2, 0x02, 0x2d, 0x8d, 0x65, 0xa2, 0x22, 0xa9, 0x8a, 0x94, 0x03,
1806 0x3f, 0x42, 0x97, 0x5d, 0x76, 0x51, 0xa0, 0x4f, 0x50, 0xa0, 0x5d, 0x06, 0x7d, 0x83, 0x6e, 0xbb,
1807 0x2a, 0x0a, 0x14, 0x7d, 0x84, 0x6e, 0xbb, 0x2a, 0x34, 0x43, 0xea, 0x87, 0x22, 0x65, 0x49, 0x4e,
1808 0xd0, 0xec, 0xc4, 0x99, 0x33, 0x1f, 0x0f, 0xcf, 0xf7, 0xcd, 0x99, 0x33, 0x47, 0xb0, 0xdb, 0x32,
1809 0x8d, 0xec, 0xd9, 0xeb, 0x86, 0xa9, 0x5b, 0x7a, 0x9b, 0x98, 0xc4, 0x72, 0x1b, 0x0e, 0xe9, 0x9d,
1810 0x1b, 0x4d, 0x92, 0xe9, 0xf6, 0x6c, 0xd7, 0x46, 0xf1, 0x96, 0x69, 0xf0, 0x9b, 0x03, 0xab, 0xa6,
1811 0x6d, 0x9a, 0xb6, 0xe5, 0xb0, 0x71, 0xfe, 0x06, 0x5b, 0xe8, 0x3d, 0xdd, 0x6b, 0xdb, 0x76, 0xbb,
1812 0x43, 0xb2, 0xf4, 0xe9, 0xa4, 0x7f, 0x9a, 0x25, 0x66, 0xd7, 0xbd, 0x60, 0x93, 0xc2, 0x11, 0xa4,
1813 0xaa, 0x67, 0x17, 0x8e, 0xd1, 0xd4, 0x3b, 0x8a, 0x75, 0x4e, 0x2c, 0xd7, 0xee, 0x5d, 0x60, 0xf2,
1814 0x69, 0x9f, 0x38, 0x2e, 0xfa, 0x2b, 0xac, 0xb7, 0xc8, 0xe0, 0x75, 0x8d, 0x7e, 0xdf, 0x68, 0xa5,
1815 0xb8, 0x3d, 0x6e, 0x7f, 0x3d, 0x97, 0xc8, 0xb4, 0x4c, 0x23, 0x53, 0xef, 0x1b, 0x2d, 0x0c, 0x6c,
1816 0x76, 0xf0, 0x5b, 0xf8, 0x26, 0x06, 0xe9, 0x10, 0x20, 0xa7, 0x6b, 0x5b, 0x0e, 0x41, 0x0f, 0x60,
1817 0xcd, 0x71, 0x75, 0xb7, 0xef, 0x50, 0x90, 0x8d, 0xdc, 0x3a, 0x05, 0xd1, 0xe8, 0x10, 0xf6, 0xa6,
1818 0xd0, 0x7f, 0x60, 0xad, 0x47, 0x74, 0xc7, 0xb6, 0x52, 0x31, 0x6a, 0xf4, 0x90, 0x1a, 0x45, 0x82,
1819 0x66, 0x30, 0x35, 0xc6, 0xde, 0x22, 0xf4, 0x37, 0x48, 0x18, 0xbe, 0x4d, 0x2a, 0x4e, 0x7d, 0xbd,
1820 0x49, 0x11, 0x8a, 0x7a, 0xaf, 0xf5, 0x5a, 0xef, 0x11, 0x3c, 0x9a, 0x47, 0x0f, 0xe0, 0x26, 0x5b,
1821 0xd6, 0x68, 0x11, 0x57, 0x37, 0x3a, 0xa9, 0x95, 0x3d, 0x6e, 0x3f, 0x81, 0x6f, 0xb0, 0xc1, 0x02,
1822 0x1d, 0x13, 0x3e, 0x86, 0x35, 0xf6, 0x0e, 0x74, 0x1b, 0x92, 0x75, 0xb5, 0x20, 0x1d, 0x29, 0xaa,
1823 0x54, 0x68, 0x60, 0x49, 0xd4, 0x2a, 0x6a, 0xf2, 0x4f, 0x08, 0xc1, 0x46, 0x5d, 0x7d, 0xa1, 0x56,
1824 0x8e, 0xd5, 0x46, 0x41, 0x7a, 0xa9, 0xe4, 0xa5, 0x24, 0x37, 0x18, 0x53, 0xd4, 0x9a, 0x84, 0x55,
1825 0xb1, 0xd4, 0x90, 0x30, 0xae, 0xe0, 0x64, 0x0c, 0x6d, 0x03, 0x62, 0xf3, 0x8d, 0xba, 0x8a, 0x25,
1826 0x31, 0x5f, 0x14, 0x0f, 0x4b, 0x52, 0x32, 0x2e, 0x7c, 0xc5, 0x41, 0xba, 0x78, 0x9c, 0xb7, 0xcd,
1827 0xae, 0x6d, 0x11, 0xcb, 0x55, 0xac, 0x53, 0x5b, 0x26, 0xee, 0x12, 0xd1, 0x47, 0x07, 0xb0, 0xd1,
1828 0xf4, 0x61, 0x98, 0x79, 0x2c, 0x68, 0x7e, 0x73, 0x68, 0x40, 0x57, 0x3c, 0x1c, 0x5f, 0x61, 0xe9,
1829 0x26, 0xa1, 0x21, 0x4b, 0x8c, 0x99, 0xa9, 0xba, 0x49, 0x84, 0xef, 0x63, 0xc0, 0x87, 0xb9, 0xb8,
1830 0x08, 0xaf, 0xff, 0x0d, 0xf0, 0xfa, 0x17, 0xc6, 0x4a, 0x24, 0x6a, 0x90, 0xd8, 0x27, 0x90, 0x18,
1831 0x3a, 0xe5, 0x11, 0xbb, 0x41, 0x21, 0x86, 0x00, 0x78, 0x64, 0x30, 0x1f, 0xb3, 0xfd, 0x25, 0x98,
1832 0xbd, 0x03, 0x9b, 0xfe, 0x58, 0xbe, 0x52, 0xae, 0x56, 0x54, 0x49, 0xad, 0x25, 0x63, 0x21, 0x84,
1833 0xc7, 0x23, 0x08, 0x5f, 0x11, 0x7e, 0x98, 0x26, 0x5c, 0x7b, 0xbf, 0x08, 0x47, 0x39, 0xb8, 0xd6,
1834 0x3c, 0xd3, 0xad, 0x36, 0x71, 0x68, 0xe0, 0xd6, 0x73, 0x29, 0x8a, 0x58, 0xb6, 0x5b, 0xc6, 0xa9,
1835 0xa1, 0x9f, 0x74, 0xc8, 0x28, 0xe8, 0xbe, 0xa1, 0xf0, 0xed, 0xb4, 0x48, 0xb4, 0x77, 0x22, 0x12,
1836 0x2d, 0x5a, 0x24, 0x53, 0xb4, 0xc7, 0x43, 0x68, 0xff, 0x8c, 0x7b, 0xcb, 0xbc, 0xbf, 0x14, 0x4b,
1837 0x4a, 0xa1, 0x51, 0x15, 0xb1, 0x58, 0xd6, 0x92, 0xf1, 0x10, 0x2d, 0xac, 0x44, 0x68, 0x61, 0x55,
1838 0xf8, 0x3c, 0x0e, 0xf7, 0x34, 0x57, 0xef, 0xb9, 0xe5, 0x41, 0x76, 0x37, 0xac, 0x76, 0x81, 0xb2,
1839 0xbb, 0x58, 0xd4, 0xfe, 0x17, 0x88, 0xda, 0x23, 0xdf, 0x28, 0x0a, 0x36, 0x18, 0xb6, 0x80, 0xe6,
1840 0xe2, 0xb3, 0x34, 0x37, 0xd7, 0xce, 0x7a, 0x73, 0x59, 0x88, 0x79, 0xd8, 0xf6, 0xe2, 0x21, 0x96,
1841 0xb0, 0x24, 0x16, 0x5e, 0x35, 0xca, 0xa2, 0x2a, 0xca, 0x52, 0x21, 0xc9, 0xa1, 0x3f, 0xc3, 0xfd,
1842 0x4a, 0x55, 0xc2, 0x62, 0x4d, 0xa9, 0xa8, 0xc3, 0x69, 0x45, 0x6d, 0x54, 0x71, 0x45, 0xc6, 0x92,
1843 0xa6, 0x2d, 0x10, 0x76, 0x1e, 0xb6, 0xc5, 0x7a, 0xad, 0x28, 0xa9, 0x35, 0x25, 0xcf, 0xf0, 0x8e,
1844 0x44, 0xa5, 0x54, 0xc7, 0x52, 0x72, 0x15, 0xdd, 0x85, 0x2d, 0x45, 0x1d, 0x70, 0x29, 0xd6, 0x94,
1845 0xc3, 0x92, 0xe4, 0x53, 0xbd, 0x26, 0x64, 0x21, 0xad, 0xb9, 0x76, 0x37, 0x18, 0x3a, 0xb6, 0x3d,
1846 0x11, 0xac, 0xd0, 0x6d, 0xc3, 0xd1, 0xaf, 0xa6, 0xbf, 0x85, 0x1f, 0x39, 0xe0, 0xc3, 0x56, 0x5c,
1847 0x5d, 0xf9, 0xd1, 0xa8, 0x4b, 0x29, 0x3f, 0xb7, 0xb8, 0xf0, 0x05, 0x13, 0x36, 0xa9, 0x07, 0xa4,
1848 0xc5, 0x1c, 0x18, 0xec, 0x40, 0xf4, 0x04, 0x56, 0x0c, 0xeb, 0xd4, 0xf6, 0xb2, 0x53, 0x74, 0x72,
1849 0xa0, 0x56, 0x41, 0x79, 0xc5, 0x66, 0x55, 0x10, 0x3f, 0x73, 0xb0, 0x3d, 0xf1, 0x3e, 0x67, 0xb1,
1850 0x38, 0xfe, 0x33, 0x10, 0x47, 0x81, 0xf9, 0x16, 0x8a, 0x18, 0x8c, 0xe1, 0x01, 0x5c, 0x63, 0x9e,
1851 0x38, 0xa9, 0xf8, 0x5e, 0x7c, 0x7f, 0x3d, 0xb7, 0x3d, 0xbd, 0x78, 0xf0, 0xf9, 0xd8, 0x37, 0x9b,
1852 0x27, 0xa0, 0x01, 0x4d, 0x72, 0xc2, 0x97, 0x1c, 0xa4, 0x35, 0xe2, 0x96, 0xec, 0xf6, 0x80, 0x55,
1853 0xc9, 0x6a, 0x75, 0x6d, 0xc3, 0x5a, 0x2a, 0xfd, 0x3f, 0x86, 0x64, 0x87, 0xa1, 0x34, 0x88, 0x07,
1854 0x43, 0xbf, 0x3a, 0x81, 0x6f, 0x75, 0x26, 0xd1, 0xc7, 0x4d, 0x69, 0xc5, 0xd7, 0xb4, 0x7d, 0x85,
1855 0xf8, 0xa6, 0x55, 0x6f, 0x58, 0xf8, 0x25, 0x46, 0xfd, 0xc3, 0xc4, 0xb4, 0x5d, 0x32, 0x72, 0xef,
1856 0xea, 0x35, 0x5c, 0x24, 0xe8, 0x52, 0x5a, 0x7e, 0xc3, 0xbd, 0xa5, 0xba, 0x8c, 0x87, 0xed, 0x52,
1857 0x45, 0x96, 0x15, 0x55, 0x6e, 0x48, 0x6a, 0xa1, 0x5a, 0x51, 0xd4, 0xda, 0xf0, 0x08, 0x7f, 0x00,
1858 0xbb, 0x53, 0x73, 0x55, 0x5c, 0xa9, 0x55, 0xf2, 0x95, 0x51, 0x92, 0x49, 0xc3, 0x9d, 0xb2, 0x26,
1859 0x1f, 0xd6, 0xb5, 0xe0, 0xfa, 0xd5, 0x88, 0xb4, 0xbf, 0x26, 0xfc, 0x14, 0x03, 0x5e, 0x0e, 0xd1,
1860 0xc0, 0xd5, 0x33, 0x46, 0x34, 0x6a, 0x30, 0xca, 0x61, 0xea, 0x89, 0xcf, 0xaf, 0x9e, 0x95, 0x50,
1861 0xf5, 0x4c, 0x73, 0xb7, 0xfa, 0x07, 0x94, 0xd4, 0x79, 0x48, 0x69, 0xc4, 0x2d, 0x3b, 0xed, 0xc3,
1862 0xbe, 0x13, 0xdc, 0x60, 0x8f, 0xe0, 0x96, 0xe9, 0xb4, 0x4f, 0xfa, 0xce, 0xe8, 0xab, 0x59, 0x2e,
1863 0xdf, 0x60, 0xc3, 0xbe, 0xbd, 0xf0, 0x45, 0x0c, 0xd2, 0xf2, 0x34, 0xca, 0xd5, 0xf7, 0x41, 0x24,
1864 0x68, 0x90, 0xa1, 0x10, 0x57, 0xe3, 0x61, 0xae, 0xce, 0x77, 0x26, 0x7f, 0xb0, 0x78, 0xae, 0x8a,
1865 0x08, 0x70, 0x4c, 0x78, 0x05, 0x49, 0xc9, 0x72, 0x0d, 0xd7, 0x20, 0x4e, 0xc9, 0x6e, 0x97, 0xc8,
1866 0x39, 0xe9, 0xa0, 0xc7, 0x70, 0xbd, 0xe3, 0xfd, 0xf6, 0x62, 0xc2, 0x2e, 0x5e, 0xbe, 0x01, 0x1e,
1867 0x4e, 0x23, 0x1e, 0xae, 0x13, 0x6f, 0x79, 0x2a, 0xb6, 0x17, 0xdf, 0x4f, 0xe0, 0xe1, 0xb3, 0xd0,
1868 0x07, 0xc4, 0xb2, 0x23, 0x5b, 0xb4, 0x44, 0x5a, 0x7c, 0x06, 0x89, 0xce, 0xe0, 0xaa, 0x7b, 0x4e,
1869 0x3a, 0x0c, 0x7e, 0x3d, 0x77, 0x87, 0x5a, 0x06, 0x5d, 0xc6, 0x23, 0x3b, 0xe1, 0xbb, 0x18, 0x6c,
1870 0x4d, 0xbc, 0xd7, 0xe3, 0x79, 0x91, 0x17, 0x8f, 0x34, 0x11, 0x8b, 0xd6, 0xc4, 0xdf, 0x87, 0x9a,
1871 0x88, 0x53, 0xa3, 0x5d, 0x3f, 0x37, 0x06, 0x5f, 0x7d, 0x69, 0x56, 0x0c, 0x23, 0xf9, 0xfc, 0xed,
1872 0xed, 0x2c, 0xdf, 0xae, 0x54, 0x19, 0x24, 0xbf, 0x9a, 0x52, 0x7b, 0x35, 0xe3, 0x4e, 0xf3, 0x11,
1873 0x20, 0xf9, 0x6a, 0xac, 0xcd, 0xd2, 0xc4, 0xaf, 0x31, 0xd8, 0x92, 0xaf, 0x48, 0x0e, 0x53, 0x45,
1874 0x69, 0x4e, 0x55, 0x30, 0xbb, 0x31, 0x46, 0xe3, 0xf3, 0x30, 0xba, 0x32, 0xc6, 0xa8, 0xbc, 0x04,
1875 0xa3, 0xab, 0xef, 0x11, 0xa3, 0xc5, 0xe1, 0x09, 0x35, 0x28, 0xe9, 0xfc, 0x20, 0x2d, 0xd3, 0x14,
1876 0xfa, 0x37, 0x24, 0x8a, 0x44, 0xef, 0xb9, 0x27, 0x44, 0x77, 0x51, 0x16, 0xb6, 0xce, 0xfc, 0x87,
1877 0x86, 0x63, 0xb4, 0x2d, 0xdd, 0xed, 0xf7, 0x58, 0x39, 0x7d, 0x0d, 0xa3, 0xe1, 0x94, 0xe6, 0xcf,
1878 0x08, 0x22, 0x6c, 0x61, 0x72, 0x62, 0xdb, 0xee, 0x64, 0x1d, 0xbe, 0x88, 0x03, 0xbf, 0x71, 0x70,
1879 0x7b, 0x12, 0x63, 0x2a, 0x89, 0xcf, 0xa0, 0xf7, 0x79, 0x80, 0xde, 0x3d, 0x6a, 0x14, 0x86, 0xb7,
1880 0x14, 0xbf, 0xef, 0xf8, 0x2c, 0xcc, 0x7d, 0x9d, 0x80, 0xb4, 0xaa, 0xbb, 0xc6, 0x39, 0x29, 0x1e,
1881 0x97, 0x87, 0x2d, 0x44, 0x8d, 0x75, 0x10, 0x91, 0x06, 0x5b, 0x21, 0xf7, 0x44, 0x14, 0x59, 0xd1,
1882 0xf3, 0x7b, 0x97, 0xdd, 0x2d, 0x0f, 0x38, 0x54, 0x07, 0x34, 0x7d, 0x71, 0x41, 0x3b, 0x91, 0x37,
1883 0x1a, 0xca, 0x28, 0xbf, 0x7b, 0xc9, 0x8d, 0x07, 0x15, 0x61, 0x73, 0x70, 0x74, 0x4e, 0x94, 0xf2,
1884 0x68, 0x3b, 0xc3, 0xfa, 0x9a, 0x19, 0xbf, 0xaf, 0x99, 0x91, 0xcc, 0xae, 0x7b, 0xc1, 0xdf, 0x9b,
1885 0x51, 0xf7, 0xa3, 0x63, 0xb8, 0x2d, 0x13, 0x77, 0xaa, 0xa7, 0x88, 0xee, 0x47, 0xf5, 0x1a, 0x99,
1886 0x87, 0x3b, 0xb3, 0x5b, 0x91, 0x07, 0x1c, 0x3a, 0xa6, 0x69, 0x30, 0xd0, 0xaf, 0xf0, 0xbe, 0x3c,
1887 0xb2, 0xc7, 0xe7, 0x7d, 0x79, 0x74, 0x2b, 0xcc, 0x0b, 0xe9, 0x9c, 0xc0, 0xda, 0x25, 0xc0, 0xe3,
1888 0x4d, 0x99, 0x9a, 0x7f, 0xd8, 0x4e, 0x94, 0x7b, 0x3b, 0x63, 0x47, 0x52, 0xc8, 0x1d, 0x85, 0xdf,
1889 0x99, 0x5d, 0xce, 0xa3, 0x23, 0xff, 0x30, 0x98, 0x40, 0xbd, 0x35, 0xd1, 0x86, 0x55, 0x0a, 0xfc,
1890 0xee, 0x25, 0x05, 0x2b, 0xc2, 0xb0, 0x39, 0x55, 0xc6, 0x79, 0x1c, 0x45, 0x95, 0x77, 0x97, 0xfa,
1891 0xf6, 0x82, 0x89, 0x68, 0x12, 0x33, 0x4a, 0x44, 0x3b, 0xb3, 0xeb, 0x35, 0x54, 0xf5, 0x8f, 0xa5,
1892 0x89, 0x1c, 0x89, 0x26, 0x3e, 0x2c, 0x24, 0x7b, 0xf2, 0xa9, 0xa8, 0x13, 0x02, 0xfd, 0x1f, 0xd6,
1893 0xc7, 0x4a, 0x01, 0x74, 0x77, 0xba, 0x38, 0x18, 0x47, 0xd0, 0xc2, 0x11, 0xe4, 0x29, 0x04, 0x39,
1894 0x0a, 0x21, 0xcc, 0x87, 0xe7, 0xb0, 0x31, 0xcc, 0xd7, 0xf9, 0x33, 0xd2, 0xfc, 0x24, 0x32, 0x3e,
1895 0xac, 0x01, 0x3b, 0x4a, 0xee, 0x79, 0xb8, 0x31, 0x9e, 0x17, 0xbd, 0x34, 0x12, 0x92, 0xbe, 0xf9,
1896 0x74, 0x64, 0x12, 0x3d, 0xfc, 0xd7, 0x87, 0xff, 0x68, 0x1b, 0xee, 0x59, 0xff, 0x24, 0xd3, 0xb4,
1897 0xcd, 0xac, 0xdd, 0x25, 0x56, 0xd3, 0xee, 0xb5, 0xb2, 0x2c, 0x9f, 0x3f, 0x1d, 0xfd, 0x0b, 0xf2,
1898 0xd4, 0xb0, 0x5c, 0xd2, 0x3b, 0xd5, 0x9b, 0x24, 0x7b, 0xfe, 0x2c, 0xdb, 0xb6, 0xb3, 0x2d, 0xd3,
1899 0x38, 0x59, 0xa3, 0x1e, 0x3e, 0xfb, 0x3d, 0x00, 0x00, 0xff, 0xff, 0x80, 0x19, 0x9e, 0xf1, 0x35,
1900 0x19, 0x00, 0x00,
Amit Ghosh09f28362020-06-12 21:52:19 +01001901}
1902
1903// Reference imports to suppress errors if they are not otherwise used.
1904var _ context.Context
1905var _ grpc.ClientConn
1906
1907// This is a compile-time assertion to ensure that this generated file
1908// is compatible with the grpc package it is being compiled against.
1909const _ = grpc.SupportPackageIsVersion4
1910
1911// NativeHWManagementServiceClient is the client API for NativeHWManagementService service.
1912//
1913// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1914type NativeHWManagementServiceClient interface {
1915 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001916 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1917 // and their meanings in this context is mentioned below:
1918 // name = The unique name that needs to be assigned to this hardware;
1919 // class = COMPONENT_TYPE_UNDEFINED;
1920 // parent = nil;
1921 // alias = Optional;
1922 // asset_id = Optional;
1923 // uri = IP Address of the Hardware;
1924 StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error)
Amit Ghosh366228e2020-07-06 13:46:42 +01001925 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001926 // This rpc can be called at any time, even before the StartManagingDevice operation
1927 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001928 StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001929 // Returns an object containing a list of devices managed by this entity
1930 GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001931 // Get the HW inventory details of the Device
1932 GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error)
1933 // Get the details of a particular HW component
1934 GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error)
1935 // Sets the permissible attributes of a HW component
1936 SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001937 // Sets the location to which logs need to be shipped
1938 SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1939 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001940 GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001941 // Sets the location of the Message Bus to which events and metrics are shipped
1942 SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1943 // Gets the configured location to which the events and metrics are being shipped
1944 GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001945 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1946 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1947 // interface, package etc.
1948 GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01001949 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001950 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
1951 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
1952 SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
1953 // Gets the configured log level for a certain entity on a certain device.
1954 // If no entity is specified in the request all the entities with their log level should be returned.
1955 GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301956 // Performs the heartbeat check
1957 HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301958 // Performs the reboot of the device
1959 RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001960}
1961
1962type nativeHWManagementServiceClient struct {
1963 cc *grpc.ClientConn
1964}
1965
1966func NewNativeHWManagementServiceClient(cc *grpc.ClientConn) NativeHWManagementServiceClient {
1967 return &nativeHWManagementServiceClient{cc}
1968}
1969
Amit Ghosh704462f2020-06-24 16:44:56 +01001970func (c *nativeHWManagementServiceClient) StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error) {
Amit Ghosh09f28362020-06-12 21:52:19 +01001971 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[0], "/dmi.NativeHWManagementService/StartManagingDevice", opts...)
1972 if err != nil {
1973 return nil, err
1974 }
1975 x := &nativeHWManagementServiceStartManagingDeviceClient{stream}
1976 if err := x.ClientStream.SendMsg(in); err != nil {
1977 return nil, err
1978 }
1979 if err := x.ClientStream.CloseSend(); err != nil {
1980 return nil, err
1981 }
1982 return x, nil
1983}
1984
1985type NativeHWManagementService_StartManagingDeviceClient interface {
1986 Recv() (*StartManagingDeviceResponse, error)
1987 grpc.ClientStream
1988}
1989
1990type nativeHWManagementServiceStartManagingDeviceClient struct {
1991 grpc.ClientStream
1992}
1993
1994func (x *nativeHWManagementServiceStartManagingDeviceClient) Recv() (*StartManagingDeviceResponse, error) {
1995 m := new(StartManagingDeviceResponse)
1996 if err := x.ClientStream.RecvMsg(m); err != nil {
1997 return nil, err
1998 }
1999 return m, nil
2000}
2001
Amit Ghosh366228e2020-07-06 13:46:42 +01002002func (c *nativeHWManagementServiceClient) StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) {
2003 out := new(StopManagingDeviceResponse)
2004 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/StopManagingDevice", in, out, opts...)
2005 if err != nil {
2006 return nil, err
2007 }
2008 return out, nil
2009}
2010
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002011func (c *nativeHWManagementServiceClient) GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) {
2012 out := new(ManagedDevicesResponse)
2013 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetManagedDevices", in, out, opts...)
2014 if err != nil {
2015 return nil, err
2016 }
2017 return out, nil
2018}
2019
Amit Ghosh09f28362020-06-12 21:52:19 +01002020func (c *nativeHWManagementServiceClient) GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) {
2021 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[1], "/dmi.NativeHWManagementService/GetPhysicalInventory", opts...)
2022 if err != nil {
2023 return nil, err
2024 }
2025 x := &nativeHWManagementServiceGetPhysicalInventoryClient{stream}
2026 if err := x.ClientStream.SendMsg(in); err != nil {
2027 return nil, err
2028 }
2029 if err := x.ClientStream.CloseSend(); err != nil {
2030 return nil, err
2031 }
2032 return x, nil
2033}
2034
2035type NativeHWManagementService_GetPhysicalInventoryClient interface {
2036 Recv() (*PhysicalInventoryResponse, error)
2037 grpc.ClientStream
2038}
2039
2040type nativeHWManagementServiceGetPhysicalInventoryClient struct {
2041 grpc.ClientStream
2042}
2043
2044func (x *nativeHWManagementServiceGetPhysicalInventoryClient) Recv() (*PhysicalInventoryResponse, error) {
2045 m := new(PhysicalInventoryResponse)
2046 if err := x.ClientStream.RecvMsg(m); err != nil {
2047 return nil, err
2048 }
2049 return m, nil
2050}
2051
2052func (c *nativeHWManagementServiceClient) GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) {
2053 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[2], "/dmi.NativeHWManagementService/GetHWComponentInfo", opts...)
2054 if err != nil {
2055 return nil, err
2056 }
2057 x := &nativeHWManagementServiceGetHWComponentInfoClient{stream}
2058 if err := x.ClientStream.SendMsg(in); err != nil {
2059 return nil, err
2060 }
2061 if err := x.ClientStream.CloseSend(); err != nil {
2062 return nil, err
2063 }
2064 return x, nil
2065}
2066
2067type NativeHWManagementService_GetHWComponentInfoClient interface {
aghoshc301dcd2020-09-03 16:55:34 +01002068 Recv() (*HWComponentInfoGetResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002069 grpc.ClientStream
2070}
2071
2072type nativeHWManagementServiceGetHWComponentInfoClient struct {
2073 grpc.ClientStream
2074}
2075
aghoshc301dcd2020-09-03 16:55:34 +01002076func (x *nativeHWManagementServiceGetHWComponentInfoClient) Recv() (*HWComponentInfoGetResponse, error) {
2077 m := new(HWComponentInfoGetResponse)
Amit Ghosh09f28362020-06-12 21:52:19 +01002078 if err := x.ClientStream.RecvMsg(m); err != nil {
2079 return nil, err
2080 }
2081 return m, nil
2082}
2083
2084func (c *nativeHWManagementServiceClient) SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) {
2085 out := new(HWComponentInfoSetResponse)
2086 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetHWComponentInfo", in, out, opts...)
2087 if err != nil {
2088 return nil, err
2089 }
2090 return out, nil
2091}
2092
amit.ghosh188a84f2020-09-27 20:59:25 +02002093func (c *nativeHWManagementServiceClient) SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
2094 out := new(SetRemoteEndpointResponse)
2095 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLoggingEndpoint", in, out, opts...)
2096 if err != nil {
2097 return nil, err
2098 }
2099 return out, nil
2100}
2101
amit.ghosh5d97dba2020-11-12 16:45:27 +01002102func (c *nativeHWManagementServiceClient) GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error) {
amit.ghosh188a84f2020-09-27 20:59:25 +02002103 out := new(GetLoggingEndpointResponse)
2104 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggingEndpoint", in, out, opts...)
2105 if err != nil {
2106 return nil, err
2107 }
2108 return out, nil
2109}
2110
2111func (c *nativeHWManagementServiceClient) SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
2112 out := new(SetRemoteEndpointResponse)
2113 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetMsgBusEndpoint", in, out, opts...)
2114 if err != nil {
2115 return nil, err
2116 }
2117 return out, nil
2118}
2119
2120func (c *nativeHWManagementServiceClient) GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) {
2121 out := new(GetMsgBusEndpointResponse)
2122 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetMsgBusEndpoint", in, out, opts...)
2123 if err != nil {
2124 return nil, err
2125 }
2126 return out, nil
2127}
2128
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002129func (c *nativeHWManagementServiceClient) GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2130 out := new(GetLogLevelResponse)
2131 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggableEntities", in, out, opts...)
2132 if err != nil {
2133 return nil, err
2134 }
2135 return out, nil
2136}
2137
2138func (c *nativeHWManagementServiceClient) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) {
2139 out := new(SetLogLevelResponse)
2140 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLogLevel", in, out, opts...)
2141 if err != nil {
2142 return nil, err
2143 }
2144 return out, nil
2145}
2146
2147func (c *nativeHWManagementServiceClient) GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2148 out := new(GetLogLevelResponse)
2149 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLogLevel", in, out, opts...)
2150 if err != nil {
2151 return nil, err
2152 }
2153 return out, nil
2154}
2155
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302156func (c *nativeHWManagementServiceClient) HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error) {
2157 out := new(Heartbeat)
2158 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/HeartbeatCheck", in, out, opts...)
2159 if err != nil {
2160 return nil, err
2161 }
2162 return out, nil
2163}
2164
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302165func (c *nativeHWManagementServiceClient) RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error) {
2166 out := new(RebootDeviceResponse)
2167 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/RebootDevice", in, out, opts...)
2168 if err != nil {
2169 return nil, err
2170 }
2171 return out, nil
2172}
2173
Amit Ghosh09f28362020-06-12 21:52:19 +01002174// NativeHWManagementServiceServer is the server API for NativeHWManagementService service.
2175type NativeHWManagementServiceServer interface {
2176 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01002177 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
2178 // and their meanings in this context is mentioned below:
2179 // name = The unique name that needs to be assigned to this hardware;
2180 // class = COMPONENT_TYPE_UNDEFINED;
2181 // parent = nil;
2182 // alias = Optional;
2183 // asset_id = Optional;
2184 // uri = IP Address of the Hardware;
2185 StartManagingDevice(*ModifiableComponent, NativeHWManagementService_StartManagingDeviceServer) error
Amit Ghosh366228e2020-07-06 13:46:42 +01002186 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01002187 // This rpc can be called at any time, even before the StartManagingDevice operation
2188 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01002189 StopManagingDevice(context.Context, *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002190 // Returns an object containing a list of devices managed by this entity
2191 GetManagedDevices(context.Context, *empty.Empty) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002192 // Get the HW inventory details of the Device
2193 GetPhysicalInventory(*PhysicalInventoryRequest, NativeHWManagementService_GetPhysicalInventoryServer) error
2194 // Get the details of a particular HW component
2195 GetHWComponentInfo(*HWComponentInfoGetRequest, NativeHWManagementService_GetHWComponentInfoServer) error
2196 // Sets the permissible attributes of a HW component
2197 SetHWComponentInfo(context.Context, *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002198 // Sets the location to which logs need to be shipped
2199 SetLoggingEndpoint(context.Context, *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error)
2200 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01002201 GetLoggingEndpoint(context.Context, *HardwareID) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002202 // Sets the location of the Message Bus to which events and metrics are shipped
2203 SetMsgBusEndpoint(context.Context, *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error)
2204 // Gets the configured location to which the events and metrics are being shipped
2205 GetMsgBusEndpoint(context.Context, *empty.Empty) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002206 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
2207 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
2208 // interface, package etc.
2209 GetLoggableEntities(context.Context, *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01002210 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002211 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
2212 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
2213 SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
2214 // Gets the configured log level for a certain entity on a certain device.
2215 // If no entity is specified in the request all the entities with their log level should be returned.
2216 GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302217 // Performs the heartbeat check
2218 HeartbeatCheck(context.Context, *empty.Empty) (*Heartbeat, error)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302219 // Performs the reboot of the device
2220 RebootDevice(context.Context, *RebootDeviceRequest) (*RebootDeviceResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002221}
2222
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002223// UnimplementedNativeHWManagementServiceServer can be embedded to have forward compatible implementations.
2224type UnimplementedNativeHWManagementServiceServer struct {
2225}
2226
2227func (*UnimplementedNativeHWManagementServiceServer) StartManagingDevice(req *ModifiableComponent, srv NativeHWManagementService_StartManagingDeviceServer) error {
2228 return status.Errorf(codes.Unimplemented, "method StartManagingDevice not implemented")
2229}
2230func (*UnimplementedNativeHWManagementServiceServer) StopManagingDevice(ctx context.Context, req *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error) {
2231 return nil, status.Errorf(codes.Unimplemented, "method StopManagingDevice not implemented")
2232}
2233func (*UnimplementedNativeHWManagementServiceServer) GetManagedDevices(ctx context.Context, req *empty.Empty) (*ManagedDevicesResponse, error) {
2234 return nil, status.Errorf(codes.Unimplemented, "method GetManagedDevices not implemented")
2235}
2236func (*UnimplementedNativeHWManagementServiceServer) GetPhysicalInventory(req *PhysicalInventoryRequest, srv NativeHWManagementService_GetPhysicalInventoryServer) error {
2237 return status.Errorf(codes.Unimplemented, "method GetPhysicalInventory not implemented")
2238}
2239func (*UnimplementedNativeHWManagementServiceServer) GetHWComponentInfo(req *HWComponentInfoGetRequest, srv NativeHWManagementService_GetHWComponentInfoServer) error {
2240 return status.Errorf(codes.Unimplemented, "method GetHWComponentInfo not implemented")
2241}
2242func (*UnimplementedNativeHWManagementServiceServer) SetHWComponentInfo(ctx context.Context, req *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error) {
2243 return nil, status.Errorf(codes.Unimplemented, "method SetHWComponentInfo not implemented")
2244}
2245func (*UnimplementedNativeHWManagementServiceServer) SetLoggingEndpoint(ctx context.Context, req *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error) {
2246 return nil, status.Errorf(codes.Unimplemented, "method SetLoggingEndpoint not implemented")
2247}
2248func (*UnimplementedNativeHWManagementServiceServer) GetLoggingEndpoint(ctx context.Context, req *HardwareID) (*GetLoggingEndpointResponse, error) {
2249 return nil, status.Errorf(codes.Unimplemented, "method GetLoggingEndpoint not implemented")
2250}
2251func (*UnimplementedNativeHWManagementServiceServer) SetMsgBusEndpoint(ctx context.Context, req *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error) {
2252 return nil, status.Errorf(codes.Unimplemented, "method SetMsgBusEndpoint not implemented")
2253}
2254func (*UnimplementedNativeHWManagementServiceServer) GetMsgBusEndpoint(ctx context.Context, req *empty.Empty) (*GetMsgBusEndpointResponse, error) {
2255 return nil, status.Errorf(codes.Unimplemented, "method GetMsgBusEndpoint not implemented")
2256}
2257func (*UnimplementedNativeHWManagementServiceServer) GetLoggableEntities(ctx context.Context, req *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error) {
2258 return nil, status.Errorf(codes.Unimplemented, "method GetLoggableEntities not implemented")
2259}
2260func (*UnimplementedNativeHWManagementServiceServer) SetLogLevel(ctx context.Context, req *SetLogLevelRequest) (*SetLogLevelResponse, error) {
2261 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2262}
2263func (*UnimplementedNativeHWManagementServiceServer) GetLogLevel(ctx context.Context, req *GetLogLevelRequest) (*GetLogLevelResponse, error) {
2264 return nil, status.Errorf(codes.Unimplemented, "method GetLogLevel not implemented")
2265}
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302266func (*UnimplementedNativeHWManagementServiceServer) HeartbeatCheck(ctx context.Context, req *empty.Empty) (*Heartbeat, error) {
2267 return nil, status.Errorf(codes.Unimplemented, "method HeartbeatCheck not implemented")
2268}
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302269func (*UnimplementedNativeHWManagementServiceServer) RebootDevice(ctx context.Context, req *RebootDeviceRequest) (*RebootDeviceResponse, error) {
2270 return nil, status.Errorf(codes.Unimplemented, "method RebootDevice not implemented")
2271}
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002272
Amit Ghosh09f28362020-06-12 21:52:19 +01002273func RegisterNativeHWManagementServiceServer(s *grpc.Server, srv NativeHWManagementServiceServer) {
2274 s.RegisterService(&_NativeHWManagementService_serviceDesc, srv)
2275}
2276
2277func _NativeHWManagementService_StartManagingDevice_Handler(srv interface{}, stream grpc.ServerStream) error {
Amit Ghosh704462f2020-06-24 16:44:56 +01002278 m := new(ModifiableComponent)
Amit Ghosh09f28362020-06-12 21:52:19 +01002279 if err := stream.RecvMsg(m); err != nil {
2280 return err
2281 }
2282 return srv.(NativeHWManagementServiceServer).StartManagingDevice(m, &nativeHWManagementServiceStartManagingDeviceServer{stream})
2283}
2284
2285type NativeHWManagementService_StartManagingDeviceServer interface {
2286 Send(*StartManagingDeviceResponse) error
2287 grpc.ServerStream
2288}
2289
2290type nativeHWManagementServiceStartManagingDeviceServer struct {
2291 grpc.ServerStream
2292}
2293
2294func (x *nativeHWManagementServiceStartManagingDeviceServer) Send(m *StartManagingDeviceResponse) error {
2295 return x.ServerStream.SendMsg(m)
2296}
2297
Amit Ghosh366228e2020-07-06 13:46:42 +01002298func _NativeHWManagementService_StopManagingDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2299 in := new(StopManagingDeviceRequest)
2300 if err := dec(in); err != nil {
2301 return nil, err
2302 }
2303 if interceptor == nil {
2304 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, in)
2305 }
2306 info := &grpc.UnaryServerInfo{
2307 Server: srv,
2308 FullMethod: "/dmi.NativeHWManagementService/StopManagingDevice",
2309 }
2310 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2311 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, req.(*StopManagingDeviceRequest))
2312 }
2313 return interceptor(ctx, in, info, handler)
2314}
2315
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002316func _NativeHWManagementService_GetManagedDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2317 in := new(empty.Empty)
2318 if err := dec(in); err != nil {
2319 return nil, err
2320 }
2321 if interceptor == nil {
2322 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, in)
2323 }
2324 info := &grpc.UnaryServerInfo{
2325 Server: srv,
2326 FullMethod: "/dmi.NativeHWManagementService/GetManagedDevices",
2327 }
2328 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2329 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, req.(*empty.Empty))
2330 }
2331 return interceptor(ctx, in, info, handler)
2332}
2333
Amit Ghosh09f28362020-06-12 21:52:19 +01002334func _NativeHWManagementService_GetPhysicalInventory_Handler(srv interface{}, stream grpc.ServerStream) error {
2335 m := new(PhysicalInventoryRequest)
2336 if err := stream.RecvMsg(m); err != nil {
2337 return err
2338 }
2339 return srv.(NativeHWManagementServiceServer).GetPhysicalInventory(m, &nativeHWManagementServiceGetPhysicalInventoryServer{stream})
2340}
2341
2342type NativeHWManagementService_GetPhysicalInventoryServer interface {
2343 Send(*PhysicalInventoryResponse) error
2344 grpc.ServerStream
2345}
2346
2347type nativeHWManagementServiceGetPhysicalInventoryServer struct {
2348 grpc.ServerStream
2349}
2350
2351func (x *nativeHWManagementServiceGetPhysicalInventoryServer) Send(m *PhysicalInventoryResponse) error {
2352 return x.ServerStream.SendMsg(m)
2353}
2354
2355func _NativeHWManagementService_GetHWComponentInfo_Handler(srv interface{}, stream grpc.ServerStream) error {
2356 m := new(HWComponentInfoGetRequest)
2357 if err := stream.RecvMsg(m); err != nil {
2358 return err
2359 }
2360 return srv.(NativeHWManagementServiceServer).GetHWComponentInfo(m, &nativeHWManagementServiceGetHWComponentInfoServer{stream})
2361}
2362
2363type NativeHWManagementService_GetHWComponentInfoServer interface {
aghoshc301dcd2020-09-03 16:55:34 +01002364 Send(*HWComponentInfoGetResponse) error
Amit Ghosh09f28362020-06-12 21:52:19 +01002365 grpc.ServerStream
2366}
2367
2368type nativeHWManagementServiceGetHWComponentInfoServer struct {
2369 grpc.ServerStream
2370}
2371
aghoshc301dcd2020-09-03 16:55:34 +01002372func (x *nativeHWManagementServiceGetHWComponentInfoServer) Send(m *HWComponentInfoGetResponse) error {
Amit Ghosh09f28362020-06-12 21:52:19 +01002373 return x.ServerStream.SendMsg(m)
2374}
2375
2376func _NativeHWManagementService_SetHWComponentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2377 in := new(HWComponentInfoSetRequest)
2378 if err := dec(in); err != nil {
2379 return nil, err
2380 }
2381 if interceptor == nil {
2382 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, in)
2383 }
2384 info := &grpc.UnaryServerInfo{
2385 Server: srv,
2386 FullMethod: "/dmi.NativeHWManagementService/SetHWComponentInfo",
2387 }
2388 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2389 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, req.(*HWComponentInfoSetRequest))
2390 }
2391 return interceptor(ctx, in, info, handler)
2392}
2393
amit.ghosh188a84f2020-09-27 20:59:25 +02002394func _NativeHWManagementService_SetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2395 in := new(SetLoggingEndpointRequest)
2396 if err := dec(in); err != nil {
2397 return nil, err
2398 }
2399 if interceptor == nil {
2400 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, in)
2401 }
2402 info := &grpc.UnaryServerInfo{
2403 Server: srv,
2404 FullMethod: "/dmi.NativeHWManagementService/SetLoggingEndpoint",
2405 }
2406 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2407 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, req.(*SetLoggingEndpointRequest))
2408 }
2409 return interceptor(ctx, in, info, handler)
2410}
2411
2412func _NativeHWManagementService_GetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002413 in := new(HardwareID)
amit.ghosh188a84f2020-09-27 20:59:25 +02002414 if err := dec(in); err != nil {
2415 return nil, err
2416 }
2417 if interceptor == nil {
2418 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, in)
2419 }
2420 info := &grpc.UnaryServerInfo{
2421 Server: srv,
2422 FullMethod: "/dmi.NativeHWManagementService/GetLoggingEndpoint",
2423 }
2424 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002425 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, req.(*HardwareID))
amit.ghosh188a84f2020-09-27 20:59:25 +02002426 }
2427 return interceptor(ctx, in, info, handler)
2428}
2429
2430func _NativeHWManagementService_SetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2431 in := new(SetMsgBusEndpointRequest)
2432 if err := dec(in); err != nil {
2433 return nil, err
2434 }
2435 if interceptor == nil {
2436 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, in)
2437 }
2438 info := &grpc.UnaryServerInfo{
2439 Server: srv,
2440 FullMethod: "/dmi.NativeHWManagementService/SetMsgBusEndpoint",
2441 }
2442 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2443 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, req.(*SetMsgBusEndpointRequest))
2444 }
2445 return interceptor(ctx, in, info, handler)
2446}
2447
2448func _NativeHWManagementService_GetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2449 in := new(empty.Empty)
2450 if err := dec(in); err != nil {
2451 return nil, err
2452 }
2453 if interceptor == nil {
2454 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, in)
2455 }
2456 info := &grpc.UnaryServerInfo{
2457 Server: srv,
2458 FullMethod: "/dmi.NativeHWManagementService/GetMsgBusEndpoint",
2459 }
2460 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2461 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, req.(*empty.Empty))
2462 }
2463 return interceptor(ctx, in, info, handler)
2464}
2465
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002466func _NativeHWManagementService_GetLoggableEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2467 in := new(GetLoggableEntitiesRequest)
2468 if err := dec(in); err != nil {
2469 return nil, err
2470 }
2471 if interceptor == nil {
2472 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, in)
2473 }
2474 info := &grpc.UnaryServerInfo{
2475 Server: srv,
2476 FullMethod: "/dmi.NativeHWManagementService/GetLoggableEntities",
2477 }
2478 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2479 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, req.(*GetLoggableEntitiesRequest))
2480 }
2481 return interceptor(ctx, in, info, handler)
2482}
2483
2484func _NativeHWManagementService_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2485 in := new(SetLogLevelRequest)
2486 if err := dec(in); err != nil {
2487 return nil, err
2488 }
2489 if interceptor == nil {
2490 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, in)
2491 }
2492 info := &grpc.UnaryServerInfo{
2493 Server: srv,
2494 FullMethod: "/dmi.NativeHWManagementService/SetLogLevel",
2495 }
2496 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2497 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, req.(*SetLogLevelRequest))
2498 }
2499 return interceptor(ctx, in, info, handler)
2500}
2501
2502func _NativeHWManagementService_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2503 in := new(GetLogLevelRequest)
2504 if err := dec(in); err != nil {
2505 return nil, err
2506 }
2507 if interceptor == nil {
2508 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, in)
2509 }
2510 info := &grpc.UnaryServerInfo{
2511 Server: srv,
2512 FullMethod: "/dmi.NativeHWManagementService/GetLogLevel",
2513 }
2514 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2515 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, req.(*GetLogLevelRequest))
2516 }
2517 return interceptor(ctx, in, info, handler)
2518}
2519
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302520func _NativeHWManagementService_HeartbeatCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2521 in := new(empty.Empty)
2522 if err := dec(in); err != nil {
2523 return nil, err
2524 }
2525 if interceptor == nil {
2526 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, in)
2527 }
2528 info := &grpc.UnaryServerInfo{
2529 Server: srv,
2530 FullMethod: "/dmi.NativeHWManagementService/HeartbeatCheck",
2531 }
2532 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2533 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, req.(*empty.Empty))
2534 }
2535 return interceptor(ctx, in, info, handler)
2536}
2537
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302538func _NativeHWManagementService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2539 in := new(RebootDeviceRequest)
2540 if err := dec(in); err != nil {
2541 return nil, err
2542 }
2543 if interceptor == nil {
2544 return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, in)
2545 }
2546 info := &grpc.UnaryServerInfo{
2547 Server: srv,
2548 FullMethod: "/dmi.NativeHWManagementService/RebootDevice",
2549 }
2550 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2551 return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, req.(*RebootDeviceRequest))
2552 }
2553 return interceptor(ctx, in, info, handler)
2554}
2555
Amit Ghosh09f28362020-06-12 21:52:19 +01002556var _NativeHWManagementService_serviceDesc = grpc.ServiceDesc{
2557 ServiceName: "dmi.NativeHWManagementService",
2558 HandlerType: (*NativeHWManagementServiceServer)(nil),
2559 Methods: []grpc.MethodDesc{
2560 {
Amit Ghosh366228e2020-07-06 13:46:42 +01002561 MethodName: "StopManagingDevice",
2562 Handler: _NativeHWManagementService_StopManagingDevice_Handler,
2563 },
2564 {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002565 MethodName: "GetManagedDevices",
2566 Handler: _NativeHWManagementService_GetManagedDevices_Handler,
2567 },
2568 {
Amit Ghosh09f28362020-06-12 21:52:19 +01002569 MethodName: "SetHWComponentInfo",
2570 Handler: _NativeHWManagementService_SetHWComponentInfo_Handler,
2571 },
amit.ghosh188a84f2020-09-27 20:59:25 +02002572 {
2573 MethodName: "SetLoggingEndpoint",
2574 Handler: _NativeHWManagementService_SetLoggingEndpoint_Handler,
2575 },
2576 {
2577 MethodName: "GetLoggingEndpoint",
2578 Handler: _NativeHWManagementService_GetLoggingEndpoint_Handler,
2579 },
2580 {
2581 MethodName: "SetMsgBusEndpoint",
2582 Handler: _NativeHWManagementService_SetMsgBusEndpoint_Handler,
2583 },
2584 {
2585 MethodName: "GetMsgBusEndpoint",
2586 Handler: _NativeHWManagementService_GetMsgBusEndpoint_Handler,
2587 },
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002588 {
2589 MethodName: "GetLoggableEntities",
2590 Handler: _NativeHWManagementService_GetLoggableEntities_Handler,
2591 },
2592 {
2593 MethodName: "SetLogLevel",
2594 Handler: _NativeHWManagementService_SetLogLevel_Handler,
2595 },
2596 {
2597 MethodName: "GetLogLevel",
2598 Handler: _NativeHWManagementService_GetLogLevel_Handler,
2599 },
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302600 {
2601 MethodName: "HeartbeatCheck",
2602 Handler: _NativeHWManagementService_HeartbeatCheck_Handler,
2603 },
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302604 {
2605 MethodName: "RebootDevice",
2606 Handler: _NativeHWManagementService_RebootDevice_Handler,
2607 },
Amit Ghosh09f28362020-06-12 21:52:19 +01002608 },
2609 Streams: []grpc.StreamDesc{
2610 {
2611 StreamName: "StartManagingDevice",
2612 Handler: _NativeHWManagementService_StartManagingDevice_Handler,
2613 ServerStreams: true,
2614 },
2615 {
2616 StreamName: "GetPhysicalInventory",
2617 Handler: _NativeHWManagementService_GetPhysicalInventory_Handler,
2618 ServerStreams: true,
2619 },
2620 {
2621 StreamName: "GetHWComponentInfo",
2622 Handler: _NativeHWManagementService_GetHWComponentInfo_Handler,
2623 ServerStreams: true,
2624 },
2625 },
2626 Metadata: "dmi/hw_management_service.proto",
2627}