blob: 645dace7b8a8a124bb9ec2251acac4544ec019b1 [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
142)
143
144var StartManagingDeviceResponse_Reason_name = map[int32]string{
145 0: "UNDEFINED_REASON",
146 1: "DEVICE_ALREADY_MANAGED",
147 2: "OPERATION_ALREADY_IN_PROGRESS",
148 3: "INVALID_PARAMS",
149 4: "INTERNAL_ERROR",
150}
151
152var StartManagingDeviceResponse_Reason_value = map[string]int32{
153 "UNDEFINED_REASON": 0,
154 "DEVICE_ALREADY_MANAGED": 1,
155 "OPERATION_ALREADY_IN_PROGRESS": 2,
156 "INVALID_PARAMS": 3,
157 "INTERNAL_ERROR": 4,
158}
159
160func (x StartManagingDeviceResponse_Reason) String() string {
161 return proto.EnumName(StartManagingDeviceResponse_Reason_name, int32(x))
162}
163
164func (StartManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
165 return fileDescriptor_eae902e73066286d, []int{6, 0}
166}
167
168// The only case in which an error is expected is if the name of the
169// device to be stopped is not found
170type StopManagingDeviceResponse_Reason int32
171
172const (
173 StopManagingDeviceResponse_UNDEFINED_REASON StopManagingDeviceResponse_Reason = 0
174 StopManagingDeviceResponse_UNKNOWN_DEVICE StopManagingDeviceResponse_Reason = 1
175)
176
177var StopManagingDeviceResponse_Reason_name = map[int32]string{
178 0: "UNDEFINED_REASON",
179 1: "UNKNOWN_DEVICE",
180}
181
182var StopManagingDeviceResponse_Reason_value = map[string]int32{
183 "UNDEFINED_REASON": 0,
184 "UNKNOWN_DEVICE": 1,
185}
186
187func (x StopManagingDeviceResponse_Reason) String() string {
188 return proto.EnumName(StopManagingDeviceResponse_Reason_name, int32(x))
189}
190
191func (StopManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
192 return fileDescriptor_eae902e73066286d, []int{8, 0}
193}
194
amit.ghosh0c687412021-03-24 19:01:08 +0100195type ManagedDevicesResponse_Reason int32
196
197const (
198 ManagedDevicesResponse_UNDEFINED_REASON ManagedDevicesResponse_Reason = 0
199 ManagedDevicesResponse_INTERNAL_ERROR ManagedDevicesResponse_Reason = 1
200)
201
202var ManagedDevicesResponse_Reason_name = map[int32]string{
203 0: "UNDEFINED_REASON",
204 1: "INTERNAL_ERROR",
205}
206
207var ManagedDevicesResponse_Reason_value = map[string]int32{
208 "UNDEFINED_REASON": 0,
209 "INTERNAL_ERROR": 1,
210}
211
212func (x ManagedDevicesResponse_Reason) String() string {
213 return proto.EnumName(ManagedDevicesResponse_Reason_name, int32(x))
214}
215
216func (ManagedDevicesResponse_Reason) EnumDescriptor() ([]byte, []int) {
217 return fileDescriptor_eae902e73066286d, []int{10, 0}
218}
219
amit.ghoshae473032021-01-10 11:59:10 +0100220type SetRemoteEndpointResponse_Reason int32
221
222const (
223 SetRemoteEndpointResponse_UNDEFINED_REASON SetRemoteEndpointResponse_Reason = 0
224 SetRemoteEndpointResponse_UNKNOWN_DEVICE SetRemoteEndpointResponse_Reason = 1
225 SetRemoteEndpointResponse_INTERNAL_ERROR SetRemoteEndpointResponse_Reason = 2
226 SetRemoteEndpointResponse_LOGGING_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 3
227 SetRemoteEndpointResponse_LOGGING_ENDPOINT_PROTOCOL_ERROR SetRemoteEndpointResponse_Reason = 4
228 SetRemoteEndpointResponse_MSGBUS_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 5
amit.ghoshbd2022e2021-02-22 05:58:53 +0100229 SetRemoteEndpointResponse_DEVICE_UNREACHABLE SetRemoteEndpointResponse_Reason = 6
amit.ghoshae473032021-01-10 11:59:10 +0100230)
231
232var SetRemoteEndpointResponse_Reason_name = map[int32]string{
233 0: "UNDEFINED_REASON",
234 1: "UNKNOWN_DEVICE",
235 2: "INTERNAL_ERROR",
236 3: "LOGGING_ENDPOINT_ERROR",
237 4: "LOGGING_ENDPOINT_PROTOCOL_ERROR",
238 5: "MSGBUS_ENDPOINT_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100239 6: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100240}
241
242var SetRemoteEndpointResponse_Reason_value = map[string]int32{
243 "UNDEFINED_REASON": 0,
244 "UNKNOWN_DEVICE": 1,
245 "INTERNAL_ERROR": 2,
246 "LOGGING_ENDPOINT_ERROR": 3,
247 "LOGGING_ENDPOINT_PROTOCOL_ERROR": 4,
248 "MSGBUS_ENDPOINT_ERROR": 5,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100249 "DEVICE_UNREACHABLE": 6,
amit.ghoshae473032021-01-10 11:59:10 +0100250}
251
252func (x SetRemoteEndpointResponse_Reason) String() string {
253 return proto.EnumName(SetRemoteEndpointResponse_Reason_name, int32(x))
254}
255
256func (SetRemoteEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100257 return fileDescriptor_eae902e73066286d, []int{12, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100258}
259
260type GetLoggingEndpointResponse_Reason int32
261
262const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100263 GetLoggingEndpointResponse_UNDEFINED_REASON GetLoggingEndpointResponse_Reason = 0
264 GetLoggingEndpointResponse_UNKNOWN_DEVICE GetLoggingEndpointResponse_Reason = 1
265 GetLoggingEndpointResponse_INTERNAL_ERROR GetLoggingEndpointResponse_Reason = 2
266 GetLoggingEndpointResponse_DEVICE_UNREACHABLE GetLoggingEndpointResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +0100267)
268
269var GetLoggingEndpointResponse_Reason_name = map[int32]string{
270 0: "UNDEFINED_REASON",
271 1: "UNKNOWN_DEVICE",
272 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100273 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100274}
275
276var GetLoggingEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100277 "UNDEFINED_REASON": 0,
278 "UNKNOWN_DEVICE": 1,
279 "INTERNAL_ERROR": 2,
280 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +0100281}
282
283func (x GetLoggingEndpointResponse_Reason) String() string {
284 return proto.EnumName(GetLoggingEndpointResponse_Reason_name, int32(x))
285}
286
287func (GetLoggingEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100288 return fileDescriptor_eae902e73066286d, []int{13, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100289}
290
291type GetMsgBusEndpointResponse_Reason int32
292
293const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100294 GetMsgBusEndpointResponse_UNDEFINED_REASON GetMsgBusEndpointResponse_Reason = 0
295 GetMsgBusEndpointResponse_INTERNAL_ERROR GetMsgBusEndpointResponse_Reason = 1
296 GetMsgBusEndpointResponse_DEVICE_UNREACHABLE GetMsgBusEndpointResponse_Reason = 2
amit.ghoshae473032021-01-10 11:59:10 +0100297)
298
299var GetMsgBusEndpointResponse_Reason_name = map[int32]string{
300 0: "UNDEFINED_REASON",
301 1: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100302 2: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100303}
304
305var GetMsgBusEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100306 "UNDEFINED_REASON": 0,
307 "INTERNAL_ERROR": 1,
308 "DEVICE_UNREACHABLE": 2,
amit.ghoshae473032021-01-10 11:59:10 +0100309}
310
311func (x GetMsgBusEndpointResponse_Reason) String() string {
312 return proto.EnumName(GetMsgBusEndpointResponse_Reason_name, int32(x))
313}
314
315func (GetMsgBusEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100316 return fileDescriptor_eae902e73066286d, []int{15, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100317}
318
319type SetLogLevelResponse_Reason int32
320
321const (
322 SetLogLevelResponse_UNDEFINED_REASON SetLogLevelResponse_Reason = 0
323 SetLogLevelResponse_UNKNOWN_DEVICE SetLogLevelResponse_Reason = 1
324 SetLogLevelResponse_INTERNAL_ERROR SetLogLevelResponse_Reason = 2
325 SetLogLevelResponse_UNKNOWN_LOG_ENTITY SetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100326 SetLogLevelResponse_DEVICE_UNREACHABLE SetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100327)
328
329var SetLogLevelResponse_Reason_name = map[int32]string{
330 0: "UNDEFINED_REASON",
331 1: "UNKNOWN_DEVICE",
332 2: "INTERNAL_ERROR",
333 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100334 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100335}
336
337var SetLogLevelResponse_Reason_value = map[string]int32{
338 "UNDEFINED_REASON": 0,
339 "UNKNOWN_DEVICE": 1,
340 "INTERNAL_ERROR": 2,
341 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100342 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100343}
344
345func (x SetLogLevelResponse_Reason) String() string {
346 return proto.EnumName(SetLogLevelResponse_Reason_name, int32(x))
347}
348
349func (SetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100350 return fileDescriptor_eae902e73066286d, []int{18, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100351}
352
353type GetLogLevelResponse_Reason int32
354
355const (
356 GetLogLevelResponse_UNDEFINED_REASON GetLogLevelResponse_Reason = 0
357 GetLogLevelResponse_UNKNOWN_DEVICE GetLogLevelResponse_Reason = 1
358 GetLogLevelResponse_INTERNAL_ERROR GetLogLevelResponse_Reason = 2
359 GetLogLevelResponse_UNKNOWN_LOG_ENTITY GetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100360 GetLogLevelResponse_DEVICE_UNREACHABLE GetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100361)
362
363var GetLogLevelResponse_Reason_name = map[int32]string{
364 0: "UNDEFINED_REASON",
365 1: "UNKNOWN_DEVICE",
366 2: "INTERNAL_ERROR",
367 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100368 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100369}
370
371var GetLogLevelResponse_Reason_value = map[string]int32{
372 "UNDEFINED_REASON": 0,
373 "UNKNOWN_DEVICE": 1,
374 "INTERNAL_ERROR": 2,
375 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100376 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100377}
378
379func (x GetLogLevelResponse_Reason) String() string {
380 return proto.EnumName(GetLogLevelResponse_Reason_name, int32(x))
381}
382
383func (GetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100384 return fileDescriptor_eae902e73066286d, []int{20, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100385}
386
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530387type RebootDeviceResponse_Reason int32
388
389const (
390 RebootDeviceResponse_UNDEFINED_REASON RebootDeviceResponse_Reason = 0
391 RebootDeviceResponse_UNKNOWN_DEVICE RebootDeviceResponse_Reason = 1
392 RebootDeviceResponse_INTERNAL_ERROR RebootDeviceResponse_Reason = 2
393 RebootDeviceResponse_DEVICE_UNREACHABLE RebootDeviceResponse_Reason = 3
394)
395
396var RebootDeviceResponse_Reason_name = map[int32]string{
397 0: "UNDEFINED_REASON",
398 1: "UNKNOWN_DEVICE",
399 2: "INTERNAL_ERROR",
400 3: "DEVICE_UNREACHABLE",
401}
402
403var RebootDeviceResponse_Reason_value = map[string]int32{
404 "UNDEFINED_REASON": 0,
405 "UNKNOWN_DEVICE": 1,
406 "INTERNAL_ERROR": 2,
407 "DEVICE_UNREACHABLE": 3,
408}
409
410func (x RebootDeviceResponse_Reason) String() string {
411 return proto.EnumName(RebootDeviceResponse_Reason_name, int32(x))
412}
413
414func (RebootDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
415 return fileDescriptor_eae902e73066286d, []int{24, 0}
416}
417
Amit Ghosh09f28362020-06-12 21:52:19 +0100418type PhysicalInventoryRequest struct {
419 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
420 XXX_NoUnkeyedLiteral struct{} `json:"-"`
421 XXX_unrecognized []byte `json:"-"`
422 XXX_sizecache int32 `json:"-"`
423}
424
425func (m *PhysicalInventoryRequest) Reset() { *m = PhysicalInventoryRequest{} }
426func (m *PhysicalInventoryRequest) String() string { return proto.CompactTextString(m) }
427func (*PhysicalInventoryRequest) ProtoMessage() {}
428func (*PhysicalInventoryRequest) Descriptor() ([]byte, []int) {
429 return fileDescriptor_eae902e73066286d, []int{0}
430}
431
432func (m *PhysicalInventoryRequest) XXX_Unmarshal(b []byte) error {
433 return xxx_messageInfo_PhysicalInventoryRequest.Unmarshal(m, b)
434}
435func (m *PhysicalInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
436 return xxx_messageInfo_PhysicalInventoryRequest.Marshal(b, m, deterministic)
437}
438func (m *PhysicalInventoryRequest) XXX_Merge(src proto.Message) {
439 xxx_messageInfo_PhysicalInventoryRequest.Merge(m, src)
440}
441func (m *PhysicalInventoryRequest) XXX_Size() int {
442 return xxx_messageInfo_PhysicalInventoryRequest.Size(m)
443}
444func (m *PhysicalInventoryRequest) XXX_DiscardUnknown() {
445 xxx_messageInfo_PhysicalInventoryRequest.DiscardUnknown(m)
446}
447
448var xxx_messageInfo_PhysicalInventoryRequest proto.InternalMessageInfo
449
450func (m *PhysicalInventoryRequest) GetDeviceUuid() *Uuid {
451 if m != nil {
452 return m.DeviceUuid
453 }
454 return nil
455}
456
457type PhysicalInventoryResponse struct {
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100458 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
459 Reason PhysicalInventoryResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.PhysicalInventoryResponse_Reason" json:"reason,omitempty"`
460 Inventory *Hardware `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
461 // It is recommended that upstream components/users of the DMI interface
462 // do not really interpret/parse the reson_detail, but rather use it for
463 // display purposes to the end user or use it for logging the error
464 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
465 XXX_NoUnkeyedLiteral struct{} `json:"-"`
466 XXX_unrecognized []byte `json:"-"`
467 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100468}
469
470func (m *PhysicalInventoryResponse) Reset() { *m = PhysicalInventoryResponse{} }
471func (m *PhysicalInventoryResponse) String() string { return proto.CompactTextString(m) }
472func (*PhysicalInventoryResponse) ProtoMessage() {}
473func (*PhysicalInventoryResponse) Descriptor() ([]byte, []int) {
474 return fileDescriptor_eae902e73066286d, []int{1}
475}
476
477func (m *PhysicalInventoryResponse) XXX_Unmarshal(b []byte) error {
478 return xxx_messageInfo_PhysicalInventoryResponse.Unmarshal(m, b)
479}
480func (m *PhysicalInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
481 return xxx_messageInfo_PhysicalInventoryResponse.Marshal(b, m, deterministic)
482}
483func (m *PhysicalInventoryResponse) XXX_Merge(src proto.Message) {
484 xxx_messageInfo_PhysicalInventoryResponse.Merge(m, src)
485}
486func (m *PhysicalInventoryResponse) XXX_Size() int {
487 return xxx_messageInfo_PhysicalInventoryResponse.Size(m)
488}
489func (m *PhysicalInventoryResponse) XXX_DiscardUnknown() {
490 xxx_messageInfo_PhysicalInventoryResponse.DiscardUnknown(m)
491}
492
493var xxx_messageInfo_PhysicalInventoryResponse proto.InternalMessageInfo
494
495func (m *PhysicalInventoryResponse) GetStatus() Status {
496 if m != nil {
497 return m.Status
498 }
499 return Status_UNDEFINED_STATUS
500}
501
amit.ghoshae473032021-01-10 11:59:10 +0100502func (m *PhysicalInventoryResponse) GetReason() PhysicalInventoryResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100503 if m != nil {
504 return m.Reason
505 }
amit.ghoshae473032021-01-10 11:59:10 +0100506 return PhysicalInventoryResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100507}
508
509func (m *PhysicalInventoryResponse) GetInventory() *Hardware {
510 if m != nil {
511 return m.Inventory
512 }
513 return nil
514}
515
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100516func (m *PhysicalInventoryResponse) GetReasonDetail() string {
517 if m != nil {
518 return m.ReasonDetail
519 }
520 return ""
521}
522
Amit Ghosh09f28362020-06-12 21:52:19 +0100523type HWComponentInfoGetRequest struct {
524 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
525 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
526 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
527 XXX_NoUnkeyedLiteral struct{} `json:"-"`
528 XXX_unrecognized []byte `json:"-"`
529 XXX_sizecache int32 `json:"-"`
530}
531
532func (m *HWComponentInfoGetRequest) Reset() { *m = HWComponentInfoGetRequest{} }
533func (m *HWComponentInfoGetRequest) String() string { return proto.CompactTextString(m) }
534func (*HWComponentInfoGetRequest) ProtoMessage() {}
535func (*HWComponentInfoGetRequest) Descriptor() ([]byte, []int) {
536 return fileDescriptor_eae902e73066286d, []int{2}
537}
538
539func (m *HWComponentInfoGetRequest) XXX_Unmarshal(b []byte) error {
540 return xxx_messageInfo_HWComponentInfoGetRequest.Unmarshal(m, b)
541}
542func (m *HWComponentInfoGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
543 return xxx_messageInfo_HWComponentInfoGetRequest.Marshal(b, m, deterministic)
544}
545func (m *HWComponentInfoGetRequest) XXX_Merge(src proto.Message) {
546 xxx_messageInfo_HWComponentInfoGetRequest.Merge(m, src)
547}
548func (m *HWComponentInfoGetRequest) XXX_Size() int {
549 return xxx_messageInfo_HWComponentInfoGetRequest.Size(m)
550}
551func (m *HWComponentInfoGetRequest) XXX_DiscardUnknown() {
552 xxx_messageInfo_HWComponentInfoGetRequest.DiscardUnknown(m)
553}
554
555var xxx_messageInfo_HWComponentInfoGetRequest proto.InternalMessageInfo
556
557func (m *HWComponentInfoGetRequest) GetDeviceUuid() *Uuid {
558 if m != nil {
559 return m.DeviceUuid
560 }
561 return nil
562}
563
564func (m *HWComponentInfoGetRequest) GetComponentUuid() *Uuid {
565 if m != nil {
566 return m.ComponentUuid
567 }
568 return nil
569}
570
571func (m *HWComponentInfoGetRequest) GetComponentName() string {
572 if m != nil {
573 return m.ComponentName
574 }
575 return ""
576}
577
aghoshc301dcd2020-09-03 16:55:34 +0100578type HWComponentInfoGetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100579 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
580 Reason HWComponentInfoGetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoGetResponse_Reason" json:"reason,omitempty"`
581 Component *Component `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100582 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100583 XXX_NoUnkeyedLiteral struct{} `json:"-"`
584 XXX_unrecognized []byte `json:"-"`
585 XXX_sizecache int32 `json:"-"`
aghoshc301dcd2020-09-03 16:55:34 +0100586}
587
588func (m *HWComponentInfoGetResponse) Reset() { *m = HWComponentInfoGetResponse{} }
589func (m *HWComponentInfoGetResponse) String() string { return proto.CompactTextString(m) }
590func (*HWComponentInfoGetResponse) ProtoMessage() {}
591func (*HWComponentInfoGetResponse) Descriptor() ([]byte, []int) {
592 return fileDescriptor_eae902e73066286d, []int{3}
593}
594
595func (m *HWComponentInfoGetResponse) XXX_Unmarshal(b []byte) error {
596 return xxx_messageInfo_HWComponentInfoGetResponse.Unmarshal(m, b)
597}
598func (m *HWComponentInfoGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
599 return xxx_messageInfo_HWComponentInfoGetResponse.Marshal(b, m, deterministic)
600}
601func (m *HWComponentInfoGetResponse) XXX_Merge(src proto.Message) {
602 xxx_messageInfo_HWComponentInfoGetResponse.Merge(m, src)
603}
604func (m *HWComponentInfoGetResponse) XXX_Size() int {
605 return xxx_messageInfo_HWComponentInfoGetResponse.Size(m)
606}
607func (m *HWComponentInfoGetResponse) XXX_DiscardUnknown() {
608 xxx_messageInfo_HWComponentInfoGetResponse.DiscardUnknown(m)
609}
610
611var xxx_messageInfo_HWComponentInfoGetResponse proto.InternalMessageInfo
612
613func (m *HWComponentInfoGetResponse) GetStatus() Status {
614 if m != nil {
615 return m.Status
616 }
617 return Status_UNDEFINED_STATUS
618}
619
amit.ghoshae473032021-01-10 11:59:10 +0100620func (m *HWComponentInfoGetResponse) GetReason() HWComponentInfoGetResponse_Reason {
aghoshc301dcd2020-09-03 16:55:34 +0100621 if m != nil {
622 return m.Reason
623 }
amit.ghoshae473032021-01-10 11:59:10 +0100624 return HWComponentInfoGetResponse_UNDEFINED_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100625}
626
627func (m *HWComponentInfoGetResponse) GetComponent() *Component {
628 if m != nil {
629 return m.Component
630 }
631 return nil
632}
633
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100634func (m *HWComponentInfoGetResponse) GetReasonDetail() string {
635 if m != nil {
636 return m.ReasonDetail
637 }
638 return ""
639}
640
Amit Ghosh09f28362020-06-12 21:52:19 +0100641type HWComponentInfoSetRequest struct {
642 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
643 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
644 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
645 Changes *ModifiableComponent `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"`
646 XXX_NoUnkeyedLiteral struct{} `json:"-"`
647 XXX_unrecognized []byte `json:"-"`
648 XXX_sizecache int32 `json:"-"`
649}
650
651func (m *HWComponentInfoSetRequest) Reset() { *m = HWComponentInfoSetRequest{} }
652func (m *HWComponentInfoSetRequest) String() string { return proto.CompactTextString(m) }
653func (*HWComponentInfoSetRequest) ProtoMessage() {}
654func (*HWComponentInfoSetRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100655 return fileDescriptor_eae902e73066286d, []int{4}
Amit Ghosh09f28362020-06-12 21:52:19 +0100656}
657
658func (m *HWComponentInfoSetRequest) XXX_Unmarshal(b []byte) error {
659 return xxx_messageInfo_HWComponentInfoSetRequest.Unmarshal(m, b)
660}
661func (m *HWComponentInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
662 return xxx_messageInfo_HWComponentInfoSetRequest.Marshal(b, m, deterministic)
663}
664func (m *HWComponentInfoSetRequest) XXX_Merge(src proto.Message) {
665 xxx_messageInfo_HWComponentInfoSetRequest.Merge(m, src)
666}
667func (m *HWComponentInfoSetRequest) XXX_Size() int {
668 return xxx_messageInfo_HWComponentInfoSetRequest.Size(m)
669}
670func (m *HWComponentInfoSetRequest) XXX_DiscardUnknown() {
671 xxx_messageInfo_HWComponentInfoSetRequest.DiscardUnknown(m)
672}
673
674var xxx_messageInfo_HWComponentInfoSetRequest proto.InternalMessageInfo
675
676func (m *HWComponentInfoSetRequest) GetDeviceUuid() *Uuid {
677 if m != nil {
678 return m.DeviceUuid
679 }
680 return nil
681}
682
683func (m *HWComponentInfoSetRequest) GetComponentUuid() *Uuid {
684 if m != nil {
685 return m.ComponentUuid
686 }
687 return nil
688}
689
690func (m *HWComponentInfoSetRequest) GetComponentName() string {
691 if m != nil {
692 return m.ComponentName
693 }
694 return ""
695}
696
697func (m *HWComponentInfoSetRequest) GetChanges() *ModifiableComponent {
698 if m != nil {
699 return m.Changes
700 }
701 return nil
702}
703
704type HWComponentInfoSetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100705 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
706 Reason HWComponentInfoSetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoSetResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100707 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100708 XXX_NoUnkeyedLiteral struct{} `json:"-"`
709 XXX_unrecognized []byte `json:"-"`
710 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100711}
712
713func (m *HWComponentInfoSetResponse) Reset() { *m = HWComponentInfoSetResponse{} }
714func (m *HWComponentInfoSetResponse) String() string { return proto.CompactTextString(m) }
715func (*HWComponentInfoSetResponse) ProtoMessage() {}
716func (*HWComponentInfoSetResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100717 return fileDescriptor_eae902e73066286d, []int{5}
Amit Ghosh09f28362020-06-12 21:52:19 +0100718}
719
720func (m *HWComponentInfoSetResponse) XXX_Unmarshal(b []byte) error {
721 return xxx_messageInfo_HWComponentInfoSetResponse.Unmarshal(m, b)
722}
723func (m *HWComponentInfoSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
724 return xxx_messageInfo_HWComponentInfoSetResponse.Marshal(b, m, deterministic)
725}
726func (m *HWComponentInfoSetResponse) XXX_Merge(src proto.Message) {
727 xxx_messageInfo_HWComponentInfoSetResponse.Merge(m, src)
728}
729func (m *HWComponentInfoSetResponse) XXX_Size() int {
730 return xxx_messageInfo_HWComponentInfoSetResponse.Size(m)
731}
732func (m *HWComponentInfoSetResponse) XXX_DiscardUnknown() {
733 xxx_messageInfo_HWComponentInfoSetResponse.DiscardUnknown(m)
734}
735
736var xxx_messageInfo_HWComponentInfoSetResponse proto.InternalMessageInfo
737
738func (m *HWComponentInfoSetResponse) GetStatus() Status {
739 if m != nil {
740 return m.Status
741 }
742 return Status_UNDEFINED_STATUS
743}
744
amit.ghoshae473032021-01-10 11:59:10 +0100745func (m *HWComponentInfoSetResponse) GetReason() HWComponentInfoSetResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100746 if m != nil {
747 return m.Reason
748 }
amit.ghoshae473032021-01-10 11:59:10 +0100749 return HWComponentInfoSetResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100750}
751
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100752func (m *HWComponentInfoSetResponse) GetReasonDetail() string {
753 if m != nil {
754 return m.ReasonDetail
755 }
756 return ""
757}
758
Amit Ghosh09f28362020-06-12 21:52:19 +0100759type StartManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100760 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
761 Reason StartManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartManagingDeviceResponse_Reason" json:"reason,omitempty"`
762 DeviceUuid *Uuid `protobuf:"bytes,3,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100763 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100764 XXX_NoUnkeyedLiteral struct{} `json:"-"`
765 XXX_unrecognized []byte `json:"-"`
766 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100767}
768
769func (m *StartManagingDeviceResponse) Reset() { *m = StartManagingDeviceResponse{} }
770func (m *StartManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
771func (*StartManagingDeviceResponse) ProtoMessage() {}
772func (*StartManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100773 return fileDescriptor_eae902e73066286d, []int{6}
Amit Ghosh09f28362020-06-12 21:52:19 +0100774}
775
776func (m *StartManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
777 return xxx_messageInfo_StartManagingDeviceResponse.Unmarshal(m, b)
778}
779func (m *StartManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
780 return xxx_messageInfo_StartManagingDeviceResponse.Marshal(b, m, deterministic)
781}
782func (m *StartManagingDeviceResponse) XXX_Merge(src proto.Message) {
783 xxx_messageInfo_StartManagingDeviceResponse.Merge(m, src)
784}
785func (m *StartManagingDeviceResponse) XXX_Size() int {
786 return xxx_messageInfo_StartManagingDeviceResponse.Size(m)
787}
788func (m *StartManagingDeviceResponse) XXX_DiscardUnknown() {
789 xxx_messageInfo_StartManagingDeviceResponse.DiscardUnknown(m)
790}
791
792var xxx_messageInfo_StartManagingDeviceResponse proto.InternalMessageInfo
793
794func (m *StartManagingDeviceResponse) GetStatus() Status {
795 if m != nil {
796 return m.Status
797 }
798 return Status_UNDEFINED_STATUS
799}
800
amit.ghoshae473032021-01-10 11:59:10 +0100801func (m *StartManagingDeviceResponse) GetReason() StartManagingDeviceResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100802 if m != nil {
803 return m.Reason
804 }
amit.ghoshae473032021-01-10 11:59:10 +0100805 return StartManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100806}
807
808func (m *StartManagingDeviceResponse) GetDeviceUuid() *Uuid {
809 if m != nil {
810 return m.DeviceUuid
811 }
812 return nil
813}
814
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100815func (m *StartManagingDeviceResponse) GetReasonDetail() string {
816 if m != nil {
817 return m.ReasonDetail
818 }
819 return ""
820}
821
Amit Ghosh366228e2020-07-06 13:46:42 +0100822type StopManagingDeviceRequest struct {
823 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
824 XXX_NoUnkeyedLiteral struct{} `json:"-"`
825 XXX_unrecognized []byte `json:"-"`
826 XXX_sizecache int32 `json:"-"`
827}
828
829func (m *StopManagingDeviceRequest) Reset() { *m = StopManagingDeviceRequest{} }
830func (m *StopManagingDeviceRequest) String() string { return proto.CompactTextString(m) }
831func (*StopManagingDeviceRequest) ProtoMessage() {}
832func (*StopManagingDeviceRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100833 return fileDescriptor_eae902e73066286d, []int{7}
Amit Ghosh366228e2020-07-06 13:46:42 +0100834}
835
836func (m *StopManagingDeviceRequest) XXX_Unmarshal(b []byte) error {
837 return xxx_messageInfo_StopManagingDeviceRequest.Unmarshal(m, b)
838}
839func (m *StopManagingDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
840 return xxx_messageInfo_StopManagingDeviceRequest.Marshal(b, m, deterministic)
841}
842func (m *StopManagingDeviceRequest) XXX_Merge(src proto.Message) {
843 xxx_messageInfo_StopManagingDeviceRequest.Merge(m, src)
844}
845func (m *StopManagingDeviceRequest) XXX_Size() int {
846 return xxx_messageInfo_StopManagingDeviceRequest.Size(m)
847}
848func (m *StopManagingDeviceRequest) XXX_DiscardUnknown() {
849 xxx_messageInfo_StopManagingDeviceRequest.DiscardUnknown(m)
850}
851
852var xxx_messageInfo_StopManagingDeviceRequest proto.InternalMessageInfo
853
854func (m *StopManagingDeviceRequest) GetName() string {
855 if m != nil {
856 return m.Name
857 }
858 return ""
859}
860
861type StopManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100862 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
863 Reason StopManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StopManagingDeviceResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100864 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100865 XXX_NoUnkeyedLiteral struct{} `json:"-"`
866 XXX_unrecognized []byte `json:"-"`
867 XXX_sizecache int32 `json:"-"`
Amit Ghosh366228e2020-07-06 13:46:42 +0100868}
869
870func (m *StopManagingDeviceResponse) Reset() { *m = StopManagingDeviceResponse{} }
871func (m *StopManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
872func (*StopManagingDeviceResponse) ProtoMessage() {}
873func (*StopManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100874 return fileDescriptor_eae902e73066286d, []int{8}
Amit Ghosh366228e2020-07-06 13:46:42 +0100875}
876
877func (m *StopManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
878 return xxx_messageInfo_StopManagingDeviceResponse.Unmarshal(m, b)
879}
880func (m *StopManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
881 return xxx_messageInfo_StopManagingDeviceResponse.Marshal(b, m, deterministic)
882}
883func (m *StopManagingDeviceResponse) XXX_Merge(src proto.Message) {
884 xxx_messageInfo_StopManagingDeviceResponse.Merge(m, src)
885}
886func (m *StopManagingDeviceResponse) XXX_Size() int {
887 return xxx_messageInfo_StopManagingDeviceResponse.Size(m)
888}
889func (m *StopManagingDeviceResponse) XXX_DiscardUnknown() {
890 xxx_messageInfo_StopManagingDeviceResponse.DiscardUnknown(m)
891}
892
893var xxx_messageInfo_StopManagingDeviceResponse proto.InternalMessageInfo
894
895func (m *StopManagingDeviceResponse) GetStatus() Status {
896 if m != nil {
897 return m.Status
898 }
899 return Status_UNDEFINED_STATUS
900}
901
amit.ghoshae473032021-01-10 11:59:10 +0100902func (m *StopManagingDeviceResponse) GetReason() StopManagingDeviceResponse_Reason {
Amit Ghosh366228e2020-07-06 13:46:42 +0100903 if m != nil {
904 return m.Reason
905 }
amit.ghoshae473032021-01-10 11:59:10 +0100906 return StopManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh366228e2020-07-06 13:46:42 +0100907}
908
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100909func (m *StopManagingDeviceResponse) GetReasonDetail() string {
910 if m != nil {
911 return m.ReasonDetail
912 }
913 return ""
914}
915
amit.ghosh0c687412021-03-24 19:01:08 +0100916type ManagedDeviceInfo struct {
917 Info *ModifiableComponent `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
918 DeviceUuid *Uuid `protobuf:"bytes,2,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
919 XXX_NoUnkeyedLiteral struct{} `json:"-"`
920 XXX_unrecognized []byte `json:"-"`
921 XXX_sizecache int32 `json:"-"`
922}
923
924func (m *ManagedDeviceInfo) Reset() { *m = ManagedDeviceInfo{} }
925func (m *ManagedDeviceInfo) String() string { return proto.CompactTextString(m) }
926func (*ManagedDeviceInfo) ProtoMessage() {}
927func (*ManagedDeviceInfo) Descriptor() ([]byte, []int) {
928 return fileDescriptor_eae902e73066286d, []int{9}
929}
930
931func (m *ManagedDeviceInfo) XXX_Unmarshal(b []byte) error {
932 return xxx_messageInfo_ManagedDeviceInfo.Unmarshal(m, b)
933}
934func (m *ManagedDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
935 return xxx_messageInfo_ManagedDeviceInfo.Marshal(b, m, deterministic)
936}
937func (m *ManagedDeviceInfo) XXX_Merge(src proto.Message) {
938 xxx_messageInfo_ManagedDeviceInfo.Merge(m, src)
939}
940func (m *ManagedDeviceInfo) XXX_Size() int {
941 return xxx_messageInfo_ManagedDeviceInfo.Size(m)
942}
943func (m *ManagedDeviceInfo) XXX_DiscardUnknown() {
944 xxx_messageInfo_ManagedDeviceInfo.DiscardUnknown(m)
945}
946
947var xxx_messageInfo_ManagedDeviceInfo proto.InternalMessageInfo
948
949func (m *ManagedDeviceInfo) GetInfo() *ModifiableComponent {
950 if m != nil {
951 return m.Info
952 }
953 return nil
954}
955
956func (m *ManagedDeviceInfo) GetDeviceUuid() *Uuid {
957 if m != nil {
958 return m.DeviceUuid
959 }
960 return nil
961}
962
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200963type ManagedDevicesResponse struct {
amit.ghosh0c687412021-03-24 19:01:08 +0100964 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
965 Reason ManagedDevicesResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.ManagedDevicesResponse_Reason" json:"reason,omitempty"`
966 Devices []*ManagedDeviceInfo `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
967 XXX_NoUnkeyedLiteral struct{} `json:"-"`
968 XXX_unrecognized []byte `json:"-"`
969 XXX_sizecache int32 `json:"-"`
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200970}
971
972func (m *ManagedDevicesResponse) Reset() { *m = ManagedDevicesResponse{} }
973func (m *ManagedDevicesResponse) String() string { return proto.CompactTextString(m) }
974func (*ManagedDevicesResponse) ProtoMessage() {}
975func (*ManagedDevicesResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100976 return fileDescriptor_eae902e73066286d, []int{10}
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200977}
978
979func (m *ManagedDevicesResponse) XXX_Unmarshal(b []byte) error {
980 return xxx_messageInfo_ManagedDevicesResponse.Unmarshal(m, b)
981}
982func (m *ManagedDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
983 return xxx_messageInfo_ManagedDevicesResponse.Marshal(b, m, deterministic)
984}
985func (m *ManagedDevicesResponse) XXX_Merge(src proto.Message) {
986 xxx_messageInfo_ManagedDevicesResponse.Merge(m, src)
987}
988func (m *ManagedDevicesResponse) XXX_Size() int {
989 return xxx_messageInfo_ManagedDevicesResponse.Size(m)
990}
991func (m *ManagedDevicesResponse) XXX_DiscardUnknown() {
992 xxx_messageInfo_ManagedDevicesResponse.DiscardUnknown(m)
993}
994
995var xxx_messageInfo_ManagedDevicesResponse proto.InternalMessageInfo
996
amit.ghosh0c687412021-03-24 19:01:08 +0100997func (m *ManagedDevicesResponse) GetStatus() Status {
998 if m != nil {
999 return m.Status
1000 }
1001 return Status_UNDEFINED_STATUS
1002}
1003
1004func (m *ManagedDevicesResponse) GetReason() ManagedDevicesResponse_Reason {
1005 if m != nil {
1006 return m.Reason
1007 }
1008 return ManagedDevicesResponse_UNDEFINED_REASON
1009}
1010
1011func (m *ManagedDevicesResponse) GetDevices() []*ManagedDeviceInfo {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001012 if m != nil {
1013 return m.Devices
1014 }
1015 return nil
1016}
1017
amit.ghosh188a84f2020-09-27 20:59:25 +02001018type SetLoggingEndpointRequest struct {
1019 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1020 LoggingEndpoint string `protobuf:"bytes,2,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1021 LoggingProtocol string `protobuf:"bytes,3,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
1022 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1023 XXX_unrecognized []byte `json:"-"`
1024 XXX_sizecache int32 `json:"-"`
1025}
1026
1027func (m *SetLoggingEndpointRequest) Reset() { *m = SetLoggingEndpointRequest{} }
1028func (m *SetLoggingEndpointRequest) String() string { return proto.CompactTextString(m) }
1029func (*SetLoggingEndpointRequest) ProtoMessage() {}
1030func (*SetLoggingEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001031 return fileDescriptor_eae902e73066286d, []int{11}
amit.ghosh188a84f2020-09-27 20:59:25 +02001032}
1033
1034func (m *SetLoggingEndpointRequest) XXX_Unmarshal(b []byte) error {
1035 return xxx_messageInfo_SetLoggingEndpointRequest.Unmarshal(m, b)
1036}
1037func (m *SetLoggingEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1038 return xxx_messageInfo_SetLoggingEndpointRequest.Marshal(b, m, deterministic)
1039}
1040func (m *SetLoggingEndpointRequest) XXX_Merge(src proto.Message) {
1041 xxx_messageInfo_SetLoggingEndpointRequest.Merge(m, src)
1042}
1043func (m *SetLoggingEndpointRequest) XXX_Size() int {
1044 return xxx_messageInfo_SetLoggingEndpointRequest.Size(m)
1045}
1046func (m *SetLoggingEndpointRequest) XXX_DiscardUnknown() {
1047 xxx_messageInfo_SetLoggingEndpointRequest.DiscardUnknown(m)
1048}
1049
1050var xxx_messageInfo_SetLoggingEndpointRequest proto.InternalMessageInfo
1051
1052func (m *SetLoggingEndpointRequest) GetDeviceUuid() *Uuid {
1053 if m != nil {
1054 return m.DeviceUuid
1055 }
1056 return nil
1057}
1058
1059func (m *SetLoggingEndpointRequest) GetLoggingEndpoint() string {
1060 if m != nil {
1061 return m.LoggingEndpoint
1062 }
1063 return ""
1064}
1065
1066func (m *SetLoggingEndpointRequest) GetLoggingProtocol() string {
1067 if m != nil {
1068 return m.LoggingProtocol
1069 }
1070 return ""
1071}
1072
1073type SetRemoteEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001074 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1075 Reason SetRemoteEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetRemoteEndpointResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001076 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001077 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1078 XXX_unrecognized []byte `json:"-"`
1079 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001080}
1081
1082func (m *SetRemoteEndpointResponse) Reset() { *m = SetRemoteEndpointResponse{} }
1083func (m *SetRemoteEndpointResponse) String() string { return proto.CompactTextString(m) }
1084func (*SetRemoteEndpointResponse) ProtoMessage() {}
1085func (*SetRemoteEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001086 return fileDescriptor_eae902e73066286d, []int{12}
amit.ghosh188a84f2020-09-27 20:59:25 +02001087}
1088
1089func (m *SetRemoteEndpointResponse) XXX_Unmarshal(b []byte) error {
1090 return xxx_messageInfo_SetRemoteEndpointResponse.Unmarshal(m, b)
1091}
1092func (m *SetRemoteEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1093 return xxx_messageInfo_SetRemoteEndpointResponse.Marshal(b, m, deterministic)
1094}
1095func (m *SetRemoteEndpointResponse) XXX_Merge(src proto.Message) {
1096 xxx_messageInfo_SetRemoteEndpointResponse.Merge(m, src)
1097}
1098func (m *SetRemoteEndpointResponse) XXX_Size() int {
1099 return xxx_messageInfo_SetRemoteEndpointResponse.Size(m)
1100}
1101func (m *SetRemoteEndpointResponse) XXX_DiscardUnknown() {
1102 xxx_messageInfo_SetRemoteEndpointResponse.DiscardUnknown(m)
1103}
1104
1105var xxx_messageInfo_SetRemoteEndpointResponse proto.InternalMessageInfo
1106
1107func (m *SetRemoteEndpointResponse) GetStatus() Status {
1108 if m != nil {
1109 return m.Status
1110 }
1111 return Status_UNDEFINED_STATUS
1112}
1113
amit.ghoshae473032021-01-10 11:59:10 +01001114func (m *SetRemoteEndpointResponse) GetReason() SetRemoteEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001115 if m != nil {
1116 return m.Reason
1117 }
amit.ghoshae473032021-01-10 11:59:10 +01001118 return SetRemoteEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001119}
1120
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001121func (m *SetRemoteEndpointResponse) GetReasonDetail() string {
1122 if m != nil {
1123 return m.ReasonDetail
1124 }
1125 return ""
1126}
1127
amit.ghosh188a84f2020-09-27 20:59:25 +02001128type GetLoggingEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001129 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1130 Reason GetLoggingEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetLoggingEndpointResponse_Reason" json:"reason,omitempty"`
1131 LoggingEndpoint string `protobuf:"bytes,3,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1132 LoggingProtocol string `protobuf:"bytes,4,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001133 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001134 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1135 XXX_unrecognized []byte `json:"-"`
1136 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001137}
1138
1139func (m *GetLoggingEndpointResponse) Reset() { *m = GetLoggingEndpointResponse{} }
1140func (m *GetLoggingEndpointResponse) String() string { return proto.CompactTextString(m) }
1141func (*GetLoggingEndpointResponse) ProtoMessage() {}
1142func (*GetLoggingEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001143 return fileDescriptor_eae902e73066286d, []int{13}
amit.ghosh188a84f2020-09-27 20:59:25 +02001144}
1145
1146func (m *GetLoggingEndpointResponse) XXX_Unmarshal(b []byte) error {
1147 return xxx_messageInfo_GetLoggingEndpointResponse.Unmarshal(m, b)
1148}
1149func (m *GetLoggingEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1150 return xxx_messageInfo_GetLoggingEndpointResponse.Marshal(b, m, deterministic)
1151}
1152func (m *GetLoggingEndpointResponse) XXX_Merge(src proto.Message) {
1153 xxx_messageInfo_GetLoggingEndpointResponse.Merge(m, src)
1154}
1155func (m *GetLoggingEndpointResponse) XXX_Size() int {
1156 return xxx_messageInfo_GetLoggingEndpointResponse.Size(m)
1157}
1158func (m *GetLoggingEndpointResponse) XXX_DiscardUnknown() {
1159 xxx_messageInfo_GetLoggingEndpointResponse.DiscardUnknown(m)
1160}
1161
1162var xxx_messageInfo_GetLoggingEndpointResponse proto.InternalMessageInfo
1163
1164func (m *GetLoggingEndpointResponse) GetStatus() Status {
1165 if m != nil {
1166 return m.Status
1167 }
1168 return Status_UNDEFINED_STATUS
1169}
1170
amit.ghoshae473032021-01-10 11:59:10 +01001171func (m *GetLoggingEndpointResponse) GetReason() GetLoggingEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001172 if m != nil {
1173 return m.Reason
1174 }
amit.ghoshae473032021-01-10 11:59:10 +01001175 return GetLoggingEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001176}
1177
1178func (m *GetLoggingEndpointResponse) GetLoggingEndpoint() string {
1179 if m != nil {
1180 return m.LoggingEndpoint
1181 }
1182 return ""
1183}
1184
1185func (m *GetLoggingEndpointResponse) GetLoggingProtocol() string {
1186 if m != nil {
1187 return m.LoggingProtocol
1188 }
1189 return ""
1190}
1191
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001192func (m *GetLoggingEndpointResponse) GetReasonDetail() string {
1193 if m != nil {
1194 return m.ReasonDetail
1195 }
1196 return ""
1197}
1198
amit.ghosh188a84f2020-09-27 20:59:25 +02001199type SetMsgBusEndpointRequest struct {
1200 MsgbusEndpoint string `protobuf:"bytes,1,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1201 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1202 XXX_unrecognized []byte `json:"-"`
1203 XXX_sizecache int32 `json:"-"`
1204}
1205
1206func (m *SetMsgBusEndpointRequest) Reset() { *m = SetMsgBusEndpointRequest{} }
1207func (m *SetMsgBusEndpointRequest) String() string { return proto.CompactTextString(m) }
1208func (*SetMsgBusEndpointRequest) ProtoMessage() {}
1209func (*SetMsgBusEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001210 return fileDescriptor_eae902e73066286d, []int{14}
amit.ghosh188a84f2020-09-27 20:59:25 +02001211}
1212
1213func (m *SetMsgBusEndpointRequest) XXX_Unmarshal(b []byte) error {
1214 return xxx_messageInfo_SetMsgBusEndpointRequest.Unmarshal(m, b)
1215}
1216func (m *SetMsgBusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1217 return xxx_messageInfo_SetMsgBusEndpointRequest.Marshal(b, m, deterministic)
1218}
1219func (m *SetMsgBusEndpointRequest) XXX_Merge(src proto.Message) {
1220 xxx_messageInfo_SetMsgBusEndpointRequest.Merge(m, src)
1221}
1222func (m *SetMsgBusEndpointRequest) XXX_Size() int {
1223 return xxx_messageInfo_SetMsgBusEndpointRequest.Size(m)
1224}
1225func (m *SetMsgBusEndpointRequest) XXX_DiscardUnknown() {
1226 xxx_messageInfo_SetMsgBusEndpointRequest.DiscardUnknown(m)
1227}
1228
1229var xxx_messageInfo_SetMsgBusEndpointRequest proto.InternalMessageInfo
1230
1231func (m *SetMsgBusEndpointRequest) GetMsgbusEndpoint() string {
1232 if m != nil {
1233 return m.MsgbusEndpoint
1234 }
1235 return ""
1236}
1237
1238type GetMsgBusEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001239 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1240 Reason GetMsgBusEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetMsgBusEndpointResponse_Reason" json:"reason,omitempty"`
1241 MsgbusEndpoint string `protobuf:"bytes,3,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001242 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001243 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1244 XXX_unrecognized []byte `json:"-"`
1245 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001246}
1247
1248func (m *GetMsgBusEndpointResponse) Reset() { *m = GetMsgBusEndpointResponse{} }
1249func (m *GetMsgBusEndpointResponse) String() string { return proto.CompactTextString(m) }
1250func (*GetMsgBusEndpointResponse) ProtoMessage() {}
1251func (*GetMsgBusEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001252 return fileDescriptor_eae902e73066286d, []int{15}
amit.ghosh188a84f2020-09-27 20:59:25 +02001253}
1254
1255func (m *GetMsgBusEndpointResponse) XXX_Unmarshal(b []byte) error {
1256 return xxx_messageInfo_GetMsgBusEndpointResponse.Unmarshal(m, b)
1257}
1258func (m *GetMsgBusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1259 return xxx_messageInfo_GetMsgBusEndpointResponse.Marshal(b, m, deterministic)
1260}
1261func (m *GetMsgBusEndpointResponse) XXX_Merge(src proto.Message) {
1262 xxx_messageInfo_GetMsgBusEndpointResponse.Merge(m, src)
1263}
1264func (m *GetMsgBusEndpointResponse) XXX_Size() int {
1265 return xxx_messageInfo_GetMsgBusEndpointResponse.Size(m)
1266}
1267func (m *GetMsgBusEndpointResponse) XXX_DiscardUnknown() {
1268 xxx_messageInfo_GetMsgBusEndpointResponse.DiscardUnknown(m)
1269}
1270
1271var xxx_messageInfo_GetMsgBusEndpointResponse proto.InternalMessageInfo
1272
1273func (m *GetMsgBusEndpointResponse) GetStatus() Status {
1274 if m != nil {
1275 return m.Status
1276 }
1277 return Status_UNDEFINED_STATUS
1278}
1279
amit.ghoshae473032021-01-10 11:59:10 +01001280func (m *GetMsgBusEndpointResponse) GetReason() GetMsgBusEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001281 if m != nil {
1282 return m.Reason
1283 }
amit.ghoshae473032021-01-10 11:59:10 +01001284 return GetMsgBusEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001285}
1286
1287func (m *GetMsgBusEndpointResponse) GetMsgbusEndpoint() string {
1288 if m != nil {
1289 return m.MsgbusEndpoint
1290 }
1291 return ""
1292}
1293
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001294func (m *GetMsgBusEndpointResponse) GetReasonDetail() string {
1295 if m != nil {
1296 return m.ReasonDetail
1297 }
1298 return ""
1299}
1300
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001301type EntitiesLogLevel struct {
1302 LogLevel LogLevel `protobuf:"varint,1,opt,name=logLevel,proto3,enum=dmi.LogLevel" json:"logLevel,omitempty"`
1303 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1304 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1305 XXX_unrecognized []byte `json:"-"`
1306 XXX_sizecache int32 `json:"-"`
1307}
1308
1309func (m *EntitiesLogLevel) Reset() { *m = EntitiesLogLevel{} }
1310func (m *EntitiesLogLevel) String() string { return proto.CompactTextString(m) }
1311func (*EntitiesLogLevel) ProtoMessage() {}
1312func (*EntitiesLogLevel) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001313 return fileDescriptor_eae902e73066286d, []int{16}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001314}
1315
1316func (m *EntitiesLogLevel) XXX_Unmarshal(b []byte) error {
1317 return xxx_messageInfo_EntitiesLogLevel.Unmarshal(m, b)
1318}
1319func (m *EntitiesLogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1320 return xxx_messageInfo_EntitiesLogLevel.Marshal(b, m, deterministic)
1321}
1322func (m *EntitiesLogLevel) XXX_Merge(src proto.Message) {
1323 xxx_messageInfo_EntitiesLogLevel.Merge(m, src)
1324}
1325func (m *EntitiesLogLevel) XXX_Size() int {
1326 return xxx_messageInfo_EntitiesLogLevel.Size(m)
1327}
1328func (m *EntitiesLogLevel) XXX_DiscardUnknown() {
1329 xxx_messageInfo_EntitiesLogLevel.DiscardUnknown(m)
1330}
1331
1332var xxx_messageInfo_EntitiesLogLevel proto.InternalMessageInfo
1333
1334func (m *EntitiesLogLevel) GetLogLevel() LogLevel {
1335 if m != nil {
1336 return m.LogLevel
1337 }
1338 return LogLevel_TRACE
1339}
1340
1341func (m *EntitiesLogLevel) GetEntities() []string {
1342 if m != nil {
1343 return m.Entities
1344 }
1345 return nil
1346}
1347
1348type SetLogLevelRequest struct {
1349 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1350 Loglevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=loglevels,proto3" json:"loglevels,omitempty"`
1351 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1352 XXX_unrecognized []byte `json:"-"`
1353 XXX_sizecache int32 `json:"-"`
1354}
1355
1356func (m *SetLogLevelRequest) Reset() { *m = SetLogLevelRequest{} }
1357func (m *SetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1358func (*SetLogLevelRequest) ProtoMessage() {}
1359func (*SetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001360 return fileDescriptor_eae902e73066286d, []int{17}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001361}
1362
1363func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1364 return xxx_messageInfo_SetLogLevelRequest.Unmarshal(m, b)
1365}
1366func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1367 return xxx_messageInfo_SetLogLevelRequest.Marshal(b, m, deterministic)
1368}
1369func (m *SetLogLevelRequest) XXX_Merge(src proto.Message) {
1370 xxx_messageInfo_SetLogLevelRequest.Merge(m, src)
1371}
1372func (m *SetLogLevelRequest) XXX_Size() int {
1373 return xxx_messageInfo_SetLogLevelRequest.Size(m)
1374}
1375func (m *SetLogLevelRequest) XXX_DiscardUnknown() {
1376 xxx_messageInfo_SetLogLevelRequest.DiscardUnknown(m)
1377}
1378
1379var xxx_messageInfo_SetLogLevelRequest proto.InternalMessageInfo
1380
1381func (m *SetLogLevelRequest) GetDeviceUuid() *Uuid {
1382 if m != nil {
1383 return m.DeviceUuid
1384 }
1385 return nil
1386}
1387
1388func (m *SetLogLevelRequest) GetLoglevels() []*EntitiesLogLevel {
1389 if m != nil {
1390 return m.Loglevels
1391 }
1392 return nil
1393}
1394
1395type SetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001396 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1397 Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1398 Reason SetLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.SetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001399 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001400 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1401 XXX_unrecognized []byte `json:"-"`
1402 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001403}
1404
1405func (m *SetLogLevelResponse) Reset() { *m = SetLogLevelResponse{} }
1406func (m *SetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1407func (*SetLogLevelResponse) ProtoMessage() {}
1408func (*SetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001409 return fileDescriptor_eae902e73066286d, []int{18}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001410}
1411
1412func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1413 return xxx_messageInfo_SetLogLevelResponse.Unmarshal(m, b)
1414}
1415func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1416 return xxx_messageInfo_SetLogLevelResponse.Marshal(b, m, deterministic)
1417}
1418func (m *SetLogLevelResponse) XXX_Merge(src proto.Message) {
1419 xxx_messageInfo_SetLogLevelResponse.Merge(m, src)
1420}
1421func (m *SetLogLevelResponse) XXX_Size() int {
1422 return xxx_messageInfo_SetLogLevelResponse.Size(m)
1423}
1424func (m *SetLogLevelResponse) XXX_DiscardUnknown() {
1425 xxx_messageInfo_SetLogLevelResponse.DiscardUnknown(m)
1426}
1427
1428var xxx_messageInfo_SetLogLevelResponse proto.InternalMessageInfo
1429
amit.ghosh5d97dba2020-11-12 16:45:27 +01001430func (m *SetLogLevelResponse) GetDeviceUuid() *Uuid {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001431 if m != nil {
1432 return m.DeviceUuid
1433 }
1434 return nil
1435}
1436
amit.ghosh5d97dba2020-11-12 16:45:27 +01001437func (m *SetLogLevelResponse) GetStatus() Status {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001438 if m != nil {
1439 return m.Status
1440 }
1441 return Status_UNDEFINED_STATUS
1442}
1443
amit.ghoshae473032021-01-10 11:59:10 +01001444func (m *SetLogLevelResponse) GetReason() SetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001445 if m != nil {
1446 return m.Reason
1447 }
amit.ghoshae473032021-01-10 11:59:10 +01001448 return SetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001449}
1450
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001451func (m *SetLogLevelResponse) GetReasonDetail() string {
1452 if m != nil {
1453 return m.ReasonDetail
1454 }
1455 return ""
1456}
1457
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001458type GetLogLevelRequest struct {
1459 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1460 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1461 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1462 XXX_unrecognized []byte `json:"-"`
1463 XXX_sizecache int32 `json:"-"`
1464}
1465
1466func (m *GetLogLevelRequest) Reset() { *m = GetLogLevelRequest{} }
1467func (m *GetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1468func (*GetLogLevelRequest) ProtoMessage() {}
1469func (*GetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001470 return fileDescriptor_eae902e73066286d, []int{19}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001471}
1472
1473func (m *GetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1474 return xxx_messageInfo_GetLogLevelRequest.Unmarshal(m, b)
1475}
1476func (m *GetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1477 return xxx_messageInfo_GetLogLevelRequest.Marshal(b, m, deterministic)
1478}
1479func (m *GetLogLevelRequest) XXX_Merge(src proto.Message) {
1480 xxx_messageInfo_GetLogLevelRequest.Merge(m, src)
1481}
1482func (m *GetLogLevelRequest) XXX_Size() int {
1483 return xxx_messageInfo_GetLogLevelRequest.Size(m)
1484}
1485func (m *GetLogLevelRequest) XXX_DiscardUnknown() {
1486 xxx_messageInfo_GetLogLevelRequest.DiscardUnknown(m)
1487}
1488
1489var xxx_messageInfo_GetLogLevelRequest proto.InternalMessageInfo
1490
1491func (m *GetLogLevelRequest) GetDeviceUuid() *Uuid {
1492 if m != nil {
1493 return m.DeviceUuid
1494 }
1495 return nil
1496}
1497
1498func (m *GetLogLevelRequest) GetEntities() []string {
1499 if m != nil {
1500 return m.Entities
1501 }
1502 return nil
1503}
1504
1505type GetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001506 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1507 LogLevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=logLevels,proto3" json:"logLevels,omitempty"`
1508 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1509 Reason GetLogLevelResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.GetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001510 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001511 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1512 XXX_unrecognized []byte `json:"-"`
1513 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001514}
1515
1516func (m *GetLogLevelResponse) Reset() { *m = GetLogLevelResponse{} }
1517func (m *GetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1518func (*GetLogLevelResponse) ProtoMessage() {}
1519func (*GetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001520 return fileDescriptor_eae902e73066286d, []int{20}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001521}
1522
1523func (m *GetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1524 return xxx_messageInfo_GetLogLevelResponse.Unmarshal(m, b)
1525}
1526func (m *GetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1527 return xxx_messageInfo_GetLogLevelResponse.Marshal(b, m, deterministic)
1528}
1529func (m *GetLogLevelResponse) XXX_Merge(src proto.Message) {
1530 xxx_messageInfo_GetLogLevelResponse.Merge(m, src)
1531}
1532func (m *GetLogLevelResponse) XXX_Size() int {
1533 return xxx_messageInfo_GetLogLevelResponse.Size(m)
1534}
1535func (m *GetLogLevelResponse) XXX_DiscardUnknown() {
1536 xxx_messageInfo_GetLogLevelResponse.DiscardUnknown(m)
1537}
1538
1539var xxx_messageInfo_GetLogLevelResponse proto.InternalMessageInfo
1540
1541func (m *GetLogLevelResponse) GetDeviceUuid() *Uuid {
1542 if m != nil {
1543 return m.DeviceUuid
1544 }
1545 return nil
1546}
1547
1548func (m *GetLogLevelResponse) GetLogLevels() []*EntitiesLogLevel {
1549 if m != nil {
1550 return m.LogLevels
1551 }
1552 return nil
1553}
1554
1555func (m *GetLogLevelResponse) GetStatus() Status {
1556 if m != nil {
1557 return m.Status
1558 }
1559 return Status_UNDEFINED_STATUS
1560}
1561
amit.ghoshae473032021-01-10 11:59:10 +01001562func (m *GetLogLevelResponse) GetReason() GetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001563 if m != nil {
1564 return m.Reason
1565 }
amit.ghoshae473032021-01-10 11:59:10 +01001566 return GetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001567}
1568
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001569func (m *GetLogLevelResponse) GetReasonDetail() string {
1570 if m != nil {
1571 return m.ReasonDetail
1572 }
1573 return ""
1574}
1575
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001576type GetLoggableEntitiesRequest struct {
1577 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1578 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1579 XXX_unrecognized []byte `json:"-"`
1580 XXX_sizecache int32 `json:"-"`
1581}
1582
1583func (m *GetLoggableEntitiesRequest) Reset() { *m = GetLoggableEntitiesRequest{} }
1584func (m *GetLoggableEntitiesRequest) String() string { return proto.CompactTextString(m) }
1585func (*GetLoggableEntitiesRequest) ProtoMessage() {}
1586func (*GetLoggableEntitiesRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001587 return fileDescriptor_eae902e73066286d, []int{21}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001588}
1589
1590func (m *GetLoggableEntitiesRequest) XXX_Unmarshal(b []byte) error {
1591 return xxx_messageInfo_GetLoggableEntitiesRequest.Unmarshal(m, b)
1592}
1593func (m *GetLoggableEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1594 return xxx_messageInfo_GetLoggableEntitiesRequest.Marshal(b, m, deterministic)
1595}
1596func (m *GetLoggableEntitiesRequest) XXX_Merge(src proto.Message) {
1597 xxx_messageInfo_GetLoggableEntitiesRequest.Merge(m, src)
1598}
1599func (m *GetLoggableEntitiesRequest) XXX_Size() int {
1600 return xxx_messageInfo_GetLoggableEntitiesRequest.Size(m)
1601}
1602func (m *GetLoggableEntitiesRequest) XXX_DiscardUnknown() {
1603 xxx_messageInfo_GetLoggableEntitiesRequest.DiscardUnknown(m)
1604}
1605
1606var xxx_messageInfo_GetLoggableEntitiesRequest proto.InternalMessageInfo
1607
1608func (m *GetLoggableEntitiesRequest) GetDeviceUuid() *Uuid {
1609 if m != nil {
1610 return m.DeviceUuid
1611 }
1612 return nil
1613}
1614
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301615type Heartbeat struct {
1616 HeartbeatSignature uint32 `protobuf:"fixed32,1,opt,name=heartbeat_signature,json=heartbeatSignature,proto3" json:"heartbeat_signature,omitempty"`
1617 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1618 XXX_unrecognized []byte `json:"-"`
1619 XXX_sizecache int32 `json:"-"`
1620}
1621
1622func (m *Heartbeat) Reset() { *m = Heartbeat{} }
1623func (m *Heartbeat) String() string { return proto.CompactTextString(m) }
1624func (*Heartbeat) ProtoMessage() {}
1625func (*Heartbeat) Descriptor() ([]byte, []int) {
1626 return fileDescriptor_eae902e73066286d, []int{22}
1627}
1628
1629func (m *Heartbeat) XXX_Unmarshal(b []byte) error {
1630 return xxx_messageInfo_Heartbeat.Unmarshal(m, b)
1631}
1632func (m *Heartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1633 return xxx_messageInfo_Heartbeat.Marshal(b, m, deterministic)
1634}
1635func (m *Heartbeat) XXX_Merge(src proto.Message) {
1636 xxx_messageInfo_Heartbeat.Merge(m, src)
1637}
1638func (m *Heartbeat) XXX_Size() int {
1639 return xxx_messageInfo_Heartbeat.Size(m)
1640}
1641func (m *Heartbeat) XXX_DiscardUnknown() {
1642 xxx_messageInfo_Heartbeat.DiscardUnknown(m)
1643}
1644
1645var xxx_messageInfo_Heartbeat proto.InternalMessageInfo
1646
1647func (m *Heartbeat) GetHeartbeatSignature() uint32 {
1648 if m != nil {
1649 return m.HeartbeatSignature
1650 }
1651 return 0
1652}
1653
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301654type RebootDeviceRequest struct {
1655 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1656 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1657 XXX_unrecognized []byte `json:"-"`
1658 XXX_sizecache int32 `json:"-"`
1659}
1660
1661func (m *RebootDeviceRequest) Reset() { *m = RebootDeviceRequest{} }
1662func (m *RebootDeviceRequest) String() string { return proto.CompactTextString(m) }
1663func (*RebootDeviceRequest) ProtoMessage() {}
1664func (*RebootDeviceRequest) Descriptor() ([]byte, []int) {
1665 return fileDescriptor_eae902e73066286d, []int{23}
1666}
1667
1668func (m *RebootDeviceRequest) XXX_Unmarshal(b []byte) error {
1669 return xxx_messageInfo_RebootDeviceRequest.Unmarshal(m, b)
1670}
1671func (m *RebootDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1672 return xxx_messageInfo_RebootDeviceRequest.Marshal(b, m, deterministic)
1673}
1674func (m *RebootDeviceRequest) XXX_Merge(src proto.Message) {
1675 xxx_messageInfo_RebootDeviceRequest.Merge(m, src)
1676}
1677func (m *RebootDeviceRequest) XXX_Size() int {
1678 return xxx_messageInfo_RebootDeviceRequest.Size(m)
1679}
1680func (m *RebootDeviceRequest) XXX_DiscardUnknown() {
1681 xxx_messageInfo_RebootDeviceRequest.DiscardUnknown(m)
1682}
1683
1684var xxx_messageInfo_RebootDeviceRequest proto.InternalMessageInfo
1685
1686func (m *RebootDeviceRequest) GetDeviceUuid() *Uuid {
1687 if m != nil {
1688 return m.DeviceUuid
1689 }
1690 return nil
1691}
1692
1693type RebootDeviceResponse struct {
1694 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1695 Reason RebootDeviceResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.RebootDeviceResponse_Reason" json:"reason,omitempty"`
1696 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
1697 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1698 XXX_unrecognized []byte `json:"-"`
1699 XXX_sizecache int32 `json:"-"`
1700}
1701
1702func (m *RebootDeviceResponse) Reset() { *m = RebootDeviceResponse{} }
1703func (m *RebootDeviceResponse) String() string { return proto.CompactTextString(m) }
1704func (*RebootDeviceResponse) ProtoMessage() {}
1705func (*RebootDeviceResponse) Descriptor() ([]byte, []int) {
1706 return fileDescriptor_eae902e73066286d, []int{24}
1707}
1708
1709func (m *RebootDeviceResponse) XXX_Unmarshal(b []byte) error {
1710 return xxx_messageInfo_RebootDeviceResponse.Unmarshal(m, b)
1711}
1712func (m *RebootDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1713 return xxx_messageInfo_RebootDeviceResponse.Marshal(b, m, deterministic)
1714}
1715func (m *RebootDeviceResponse) XXX_Merge(src proto.Message) {
1716 xxx_messageInfo_RebootDeviceResponse.Merge(m, src)
1717}
1718func (m *RebootDeviceResponse) XXX_Size() int {
1719 return xxx_messageInfo_RebootDeviceResponse.Size(m)
1720}
1721func (m *RebootDeviceResponse) XXX_DiscardUnknown() {
1722 xxx_messageInfo_RebootDeviceResponse.DiscardUnknown(m)
1723}
1724
1725var xxx_messageInfo_RebootDeviceResponse proto.InternalMessageInfo
1726
1727func (m *RebootDeviceResponse) GetStatus() Status {
1728 if m != nil {
1729 return m.Status
1730 }
1731 return Status_UNDEFINED_STATUS
1732}
1733
1734func (m *RebootDeviceResponse) GetReason() RebootDeviceResponse_Reason {
1735 if m != nil {
1736 return m.Reason
1737 }
1738 return RebootDeviceResponse_UNDEFINED_REASON
1739}
1740
1741func (m *RebootDeviceResponse) GetReasonDetail() string {
1742 if m != nil {
1743 return m.ReasonDetail
1744 }
1745 return ""
1746}
1747
Amit Ghosh09f28362020-06-12 21:52:19 +01001748func init() {
amit.ghoshae473032021-01-10 11:59:10 +01001749 proto.RegisterEnum("dmi.PhysicalInventoryResponse_Reason", PhysicalInventoryResponse_Reason_name, PhysicalInventoryResponse_Reason_value)
1750 proto.RegisterEnum("dmi.HWComponentInfoGetResponse_Reason", HWComponentInfoGetResponse_Reason_name, HWComponentInfoGetResponse_Reason_value)
1751 proto.RegisterEnum("dmi.HWComponentInfoSetResponse_Reason", HWComponentInfoSetResponse_Reason_name, HWComponentInfoSetResponse_Reason_value)
1752 proto.RegisterEnum("dmi.StartManagingDeviceResponse_Reason", StartManagingDeviceResponse_Reason_name, StartManagingDeviceResponse_Reason_value)
1753 proto.RegisterEnum("dmi.StopManagingDeviceResponse_Reason", StopManagingDeviceResponse_Reason_name, StopManagingDeviceResponse_Reason_value)
amit.ghosh0c687412021-03-24 19:01:08 +01001754 proto.RegisterEnum("dmi.ManagedDevicesResponse_Reason", ManagedDevicesResponse_Reason_name, ManagedDevicesResponse_Reason_value)
amit.ghoshae473032021-01-10 11:59:10 +01001755 proto.RegisterEnum("dmi.SetRemoteEndpointResponse_Reason", SetRemoteEndpointResponse_Reason_name, SetRemoteEndpointResponse_Reason_value)
1756 proto.RegisterEnum("dmi.GetLoggingEndpointResponse_Reason", GetLoggingEndpointResponse_Reason_name, GetLoggingEndpointResponse_Reason_value)
1757 proto.RegisterEnum("dmi.GetMsgBusEndpointResponse_Reason", GetMsgBusEndpointResponse_Reason_name, GetMsgBusEndpointResponse_Reason_value)
1758 proto.RegisterEnum("dmi.SetLogLevelResponse_Reason", SetLogLevelResponse_Reason_name, SetLogLevelResponse_Reason_value)
1759 proto.RegisterEnum("dmi.GetLogLevelResponse_Reason", GetLogLevelResponse_Reason_name, GetLogLevelResponse_Reason_value)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301760 proto.RegisterEnum("dmi.RebootDeviceResponse_Reason", RebootDeviceResponse_Reason_name, RebootDeviceResponse_Reason_value)
Amit Ghosh09f28362020-06-12 21:52:19 +01001761 proto.RegisterType((*PhysicalInventoryRequest)(nil), "dmi.PhysicalInventoryRequest")
1762 proto.RegisterType((*PhysicalInventoryResponse)(nil), "dmi.PhysicalInventoryResponse")
1763 proto.RegisterType((*HWComponentInfoGetRequest)(nil), "dmi.HWComponentInfoGetRequest")
aghoshc301dcd2020-09-03 16:55:34 +01001764 proto.RegisterType((*HWComponentInfoGetResponse)(nil), "dmi.HWComponentInfoGetResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001765 proto.RegisterType((*HWComponentInfoSetRequest)(nil), "dmi.HWComponentInfoSetRequest")
1766 proto.RegisterType((*HWComponentInfoSetResponse)(nil), "dmi.HWComponentInfoSetResponse")
1767 proto.RegisterType((*StartManagingDeviceResponse)(nil), "dmi.StartManagingDeviceResponse")
Amit Ghosh366228e2020-07-06 13:46:42 +01001768 proto.RegisterType((*StopManagingDeviceRequest)(nil), "dmi.StopManagingDeviceRequest")
1769 proto.RegisterType((*StopManagingDeviceResponse)(nil), "dmi.StopManagingDeviceResponse")
amit.ghosh0c687412021-03-24 19:01:08 +01001770 proto.RegisterType((*ManagedDeviceInfo)(nil), "dmi.ManagedDeviceInfo")
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001771 proto.RegisterType((*ManagedDevicesResponse)(nil), "dmi.ManagedDevicesResponse")
amit.ghosh188a84f2020-09-27 20:59:25 +02001772 proto.RegisterType((*SetLoggingEndpointRequest)(nil), "dmi.SetLoggingEndpointRequest")
1773 proto.RegisterType((*SetRemoteEndpointResponse)(nil), "dmi.SetRemoteEndpointResponse")
1774 proto.RegisterType((*GetLoggingEndpointResponse)(nil), "dmi.GetLoggingEndpointResponse")
1775 proto.RegisterType((*SetMsgBusEndpointRequest)(nil), "dmi.SetMsgBusEndpointRequest")
1776 proto.RegisterType((*GetMsgBusEndpointResponse)(nil), "dmi.GetMsgBusEndpointResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001777 proto.RegisterType((*EntitiesLogLevel)(nil), "dmi.EntitiesLogLevel")
1778 proto.RegisterType((*SetLogLevelRequest)(nil), "dmi.SetLogLevelRequest")
1779 proto.RegisterType((*SetLogLevelResponse)(nil), "dmi.SetLogLevelResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001780 proto.RegisterType((*GetLogLevelRequest)(nil), "dmi.GetLogLevelRequest")
1781 proto.RegisterType((*GetLogLevelResponse)(nil), "dmi.GetLogLevelResponse")
1782 proto.RegisterType((*GetLoggableEntitiesRequest)(nil), "dmi.GetLoggableEntitiesRequest")
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301783 proto.RegisterType((*Heartbeat)(nil), "dmi.Heartbeat")
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301784 proto.RegisterType((*RebootDeviceRequest)(nil), "dmi.RebootDeviceRequest")
1785 proto.RegisterType((*RebootDeviceResponse)(nil), "dmi.RebootDeviceResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001786}
1787
1788func init() { proto.RegisterFile("dmi/hw_management_service.proto", fileDescriptor_eae902e73066286d) }
1789
1790var fileDescriptor_eae902e73066286d = []byte{
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301791 // 1536 bytes of a gzipped FileDescriptorProto
1792 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xcd, 0x6e, 0xdb, 0xc6,
1793 0x16, 0xbe, 0xa4, 0x6c, 0x27, 0x3a, 0x4e, 0x1c, 0x79, 0x9c, 0xf8, 0x4a, 0x0c, 0x62, 0xfb, 0x32,
1794 0xc8, 0x8d, 0x73, 0x6f, 0x22, 0x19, 0xca, 0xa2, 0xe9, 0x7f, 0x65, 0x89, 0xa1, 0xd5, 0x48, 0xa4,
1795 0x30, 0x94, 0x63, 0xa4, 0x28, 0x4a, 0xd0, 0xd2, 0x58, 0x26, 0x2a, 0x92, 0xaa, 0x48, 0x39, 0xf0,
1796 0x03, 0x74, 0xd1, 0x47, 0xe8, 0xa2, 0x40, 0x9f, 0xa0, 0x40, 0xbb, 0x2c, 0xfa, 0x06, 0xdd, 0x76,
1797 0x55, 0x14, 0x28, 0xfa, 0x08, 0xdd, 0x76, 0x55, 0x68, 0x86, 0xd4, 0x0f, 0x45, 0xca, 0x92, 0x9c,
1798 0xa0, 0xd9, 0x89, 0x33, 0x67, 0x3e, 0x1e, 0x9e, 0xef, 0x9b, 0x33, 0x67, 0x8e, 0x60, 0xbb, 0x69,
1799 0x99, 0xb9, 0xd3, 0x97, 0xba, 0x65, 0xd8, 0x46, 0x8b, 0x58, 0xc4, 0xf6, 0x74, 0x97, 0x74, 0xcf,
1800 0xcc, 0x06, 0xc9, 0x76, 0xba, 0x8e, 0xe7, 0xa0, 0x44, 0xd3, 0x32, 0x85, 0xf5, 0xbe, 0x55, 0xc3,
1801 0xb1, 0x2c, 0xc7, 0x76, 0xd9, 0xb8, 0x70, 0x8d, 0x2d, 0xf4, 0x9f, 0x6e, 0xb7, 0x1c, 0xa7, 0xd5,
1802 0x26, 0x39, 0xfa, 0x74, 0xdc, 0x3b, 0xc9, 0x11, 0xab, 0xe3, 0x9d, 0xb3, 0x49, 0xf1, 0x29, 0xa4,
1803 0x6b, 0xa7, 0xe7, 0xae, 0xd9, 0x30, 0xda, 0x65, 0xfb, 0x8c, 0xd8, 0x9e, 0xd3, 0x3d, 0xc7, 0xe4,
1804 0x8b, 0x1e, 0x71, 0x3d, 0xf4, 0x3f, 0x58, 0x6d, 0x92, 0xfe, 0xeb, 0xf4, 0x5e, 0xcf, 0x6c, 0xa6,
1805 0xb9, 0x1d, 0x6e, 0x77, 0x35, 0x9f, 0xcc, 0x36, 0x2d, 0x33, 0x7b, 0xd8, 0x33, 0x9b, 0x18, 0xd8,
1806 0x6c, 0xff, 0xb7, 0xf8, 0x3d, 0x0f, 0x99, 0x08, 0x20, 0xb7, 0xe3, 0xd8, 0x2e, 0x41, 0x77, 0x61,
1807 0xc5, 0xf5, 0x0c, 0xaf, 0xe7, 0x52, 0x90, 0xb5, 0xfc, 0x2a, 0x05, 0xd1, 0xe8, 0x10, 0xf6, 0xa7,
1808 0xd0, 0xfb, 0xb0, 0xd2, 0x25, 0x86, 0xeb, 0xd8, 0x69, 0x9e, 0x1a, 0xdd, 0xa3, 0x46, 0xb1, 0xa0,
1809 0x59, 0x4c, 0x8d, 0xb1, 0xbf, 0x08, 0xfd, 0x1f, 0x92, 0x66, 0x60, 0x93, 0x4e, 0x50, 0x5f, 0xaf,
1810 0x53, 0x84, 0x03, 0xa3, 0xdb, 0x7c, 0x69, 0x74, 0x09, 0x1e, 0xce, 0xa3, 0xbb, 0x70, 0x9d, 0x2d,
1811 0xd3, 0x9b, 0xc4, 0x33, 0xcc, 0x76, 0x7a, 0x69, 0x87, 0xdb, 0x4d, 0xe2, 0x6b, 0x6c, 0xb0, 0x44,
1812 0xc7, 0xc4, 0xcf, 0x60, 0x85, 0xbd, 0x03, 0xdd, 0x84, 0xd4, 0xa1, 0x52, 0x92, 0x9e, 0x96, 0x15,
1813 0xa9, 0xa4, 0x63, 0xa9, 0xa0, 0xa9, 0x4a, 0xea, 0x5f, 0x08, 0xc1, 0xda, 0xa1, 0xf2, 0x4c, 0x51,
1814 0x8f, 0x14, 0xbd, 0x24, 0x3d, 0x2f, 0x17, 0xa5, 0x14, 0xd7, 0x1f, 0x2b, 0x2b, 0x75, 0x09, 0x2b,
1815 0x85, 0x8a, 0x2e, 0x61, 0xac, 0xe2, 0x14, 0x8f, 0x36, 0x01, 0xb1, 0x79, 0xfd, 0x50, 0xc1, 0x52,
1816 0xa1, 0x78, 0x50, 0xd8, 0xaf, 0x48, 0xa9, 0x84, 0xf8, 0x2d, 0x07, 0x99, 0x83, 0xa3, 0xa2, 0x63,
1817 0x75, 0x1c, 0x9b, 0xd8, 0x5e, 0xd9, 0x3e, 0x71, 0x64, 0xe2, 0x2d, 0x10, 0x7d, 0xb4, 0x07, 0x6b,
1818 0x8d, 0x00, 0x86, 0x99, 0xf3, 0x61, 0xf3, 0xeb, 0x03, 0x03, 0xba, 0xe2, 0xde, 0xe8, 0x0a, 0xdb,
1819 0xb0, 0x08, 0x0d, 0x59, 0x72, 0xc4, 0x4c, 0x31, 0x2c, 0x22, 0xfe, 0xcc, 0x83, 0x10, 0xe5, 0xe2,
1820 0x3c, 0xbc, 0x7e, 0x10, 0xe2, 0xf5, 0xbf, 0x8c, 0x95, 0x58, 0xd4, 0x30, 0xb1, 0x0f, 0x21, 0x39,
1821 0x70, 0xca, 0x27, 0x76, 0x8d, 0x42, 0x0c, 0x00, 0xf0, 0xd0, 0x60, 0x36, 0x66, 0x7b, 0x0b, 0x30,
1822 0x7b, 0x0b, 0xd6, 0x83, 0xb1, 0xa2, 0x5a, 0xad, 0xa9, 0x8a, 0xa4, 0xd4, 0x53, 0x7c, 0x04, 0xe1,
1823 0x89, 0x18, 0xc2, 0x97, 0xc4, 0x5f, 0x26, 0x09, 0xd7, 0xde, 0x2c, 0xc2, 0x51, 0x1e, 0xae, 0x34,
1824 0x4e, 0x0d, 0xbb, 0x45, 0x5c, 0x1a, 0xb8, 0xd5, 0x7c, 0x9a, 0x22, 0x56, 0x9d, 0xa6, 0x79, 0x62,
1825 0x1a, 0xc7, 0x6d, 0x32, 0x0c, 0x7a, 0x60, 0x28, 0xfe, 0x30, 0x29, 0x12, 0xed, 0xb5, 0x88, 0x44,
1826 0x8b, 0x17, 0xc9, 0x04, 0xed, 0x89, 0x08, 0xda, 0xbf, 0xe2, 0x5e, 0x31, 0xef, 0xcf, 0x0b, 0x95,
1827 0x72, 0x49, 0xaf, 0x15, 0x70, 0xa1, 0xaa, 0xa5, 0x12, 0x11, 0x5a, 0x58, 0x8a, 0xd1, 0xc2, 0xb2,
1828 0xf8, 0x1b, 0x0f, 0xb7, 0x35, 0xcf, 0xe8, 0x7a, 0xd5, 0x7e, 0x76, 0x37, 0xed, 0x56, 0x89, 0xb2,
1829 0x3b, 0x5f, 0xd4, 0x3e, 0x0c, 0x45, 0xed, 0x7e, 0x60, 0x14, 0x07, 0x1b, 0x0e, 0x5b, 0x48, 0x73,
1830 0x89, 0x69, 0x9a, 0x9b, 0x69, 0x67, 0x7d, 0x79, 0x51, 0x88, 0x05, 0xd8, 0xf4, 0xe3, 0x51, 0xa8,
1831 0x60, 0xa9, 0x50, 0x7a, 0xa1, 0x57, 0x0b, 0x4a, 0x41, 0x96, 0x4a, 0x29, 0x0e, 0xfd, 0x07, 0xee,
1832 0xa8, 0x35, 0x09, 0x17, 0xea, 0x65, 0x55, 0x19, 0x4c, 0x97, 0x15, 0xbd, 0x86, 0x55, 0x19, 0x4b,
1833 0x9a, 0x36, 0x7b, 0xd8, 0xc5, 0x1c, 0x64, 0x34, 0xcf, 0xe9, 0x84, 0xa3, 0xc0, 0x76, 0x1a, 0x82,
1834 0x25, 0xba, 0x03, 0x38, 0xfa, 0x01, 0xf4, 0xb7, 0xf8, 0x2b, 0x07, 0x42, 0xd4, 0x8a, 0xcb, 0x8b,
1835 0x38, 0x1e, 0x75, 0x21, 0x11, 0xe7, 0xe7, 0xd7, 0xb0, 0x68, 0xc1, 0x3a, 0xf5, 0x80, 0x34, 0x99,
1836 0x03, 0xfd, 0xcd, 0x84, 0x1e, 0xc2, 0x92, 0x69, 0x9f, 0x38, 0x7e, 0xa2, 0x89, 0xdf, 0xe7, 0xd4,
1837 0x2a, 0xac, 0x14, 0x7e, 0x5a, 0x31, 0xf0, 0x3b, 0x07, 0x9b, 0x63, 0xef, 0x73, 0xe7, 0x8b, 0xe3,
1838 0x3b, 0xa1, 0x38, 0x8a, 0xcc, 0xb7, 0x48, 0xc4, 0x70, 0x0c, 0xf7, 0xe0, 0x0a, 0xf3, 0xc4, 0x4d,
1839 0x27, 0x76, 0x12, 0xbb, 0xab, 0xf9, 0xcd, 0xc9, 0xc5, 0xfd, 0xcf, 0xc7, 0x81, 0xd9, 0x2c, 0x01,
1840 0x0d, 0xc9, 0x8b, 0x13, 0xbf, 0xe1, 0x20, 0xa3, 0x11, 0xaf, 0xe2, 0xb4, 0xfa, 0xac, 0x4a, 0x76,
1841 0xb3, 0xe3, 0x98, 0xf6, 0x42, 0x99, 0xfc, 0x01, 0xa4, 0xda, 0x0c, 0x45, 0x27, 0x3e, 0x0c, 0xfd,
1842 0xea, 0x24, 0xbe, 0xd1, 0x1e, 0x47, 0x1f, 0x35, 0xa5, 0xc5, 0x5b, 0xc3, 0x09, 0x14, 0x12, 0x98,
1843 0xd6, 0xfc, 0x61, 0xf1, 0x0f, 0x9e, 0xfa, 0x87, 0x89, 0xe5, 0x78, 0x64, 0xe8, 0xde, 0xe5, 0xcb,
1844 0xb1, 0x58, 0xd0, 0x85, 0xb4, 0xfc, 0x23, 0xf7, 0x8a, 0x4a, 0x2c, 0x01, 0x36, 0x2b, 0xaa, 0x2c,
1845 0x97, 0x15, 0x59, 0x97, 0x94, 0x52, 0x4d, 0x2d, 0x2b, 0xf5, 0xc1, 0x69, 0x7c, 0x17, 0xb6, 0x27,
1846 0xe6, 0x6a, 0x58, 0xad, 0xab, 0x45, 0x75, 0x98, 0xa6, 0x33, 0x70, 0xab, 0xaa, 0xc9, 0xfb, 0x87,
1847 0x5a, 0x78, 0xfd, 0x72, 0x4c, 0x06, 0x5f, 0xe9, 0x67, 0x70, 0x41, 0x8e, 0xd0, 0xc0, 0xe5, 0x33,
1848 0x46, 0x3c, 0x6a, 0x38, 0xca, 0x51, 0xea, 0x49, 0xcc, 0xae, 0x9e, 0xa5, 0x48, 0xf5, 0x4c, 0x72,
1849 0xb7, 0xfc, 0x0f, 0x54, 0xc7, 0x45, 0x48, 0x6b, 0xc4, 0xab, 0xba, 0xad, 0xfd, 0x9e, 0x1b, 0xde,
1850 0x60, 0xf7, 0xe1, 0x86, 0xe5, 0xb6, 0x8e, 0x7b, 0xee, 0xf0, 0xab, 0x59, 0x2e, 0x5f, 0x63, 0xc3,
1851 0x81, 0xbd, 0xf8, 0x35, 0x0f, 0x19, 0x79, 0x12, 0xe5, 0xf2, 0xfb, 0x20, 0x16, 0x34, 0xcc, 0x50,
1852 0x84, 0xab, 0x89, 0x28, 0x57, 0x67, 0x3b, 0x5e, 0x3f, 0x9e, 0x3f, 0x57, 0xc5, 0x04, 0x98, 0x17,
1853 0x5f, 0x40, 0x4a, 0xb2, 0x3d, 0xd3, 0x33, 0x89, 0x5b, 0x71, 0x5a, 0x15, 0x72, 0x46, 0xda, 0xe8,
1854 0x01, 0x5c, 0x6d, 0xfb, 0xbf, 0xfd, 0x98, 0xb0, 0x3b, 0x54, 0x60, 0x80, 0x07, 0xd3, 0x48, 0x80,
1855 0xab, 0xc4, 0x5f, 0x9e, 0xe6, 0x77, 0x12, 0xbb, 0x49, 0x3c, 0x78, 0x16, 0x7b, 0x80, 0x58, 0x76,
1856 0x64, 0x8b, 0x16, 0x48, 0x8b, 0x8f, 0x21, 0xd9, 0xee, 0xdf, 0x5a, 0xcf, 0x48, 0x9b, 0xc1, 0xaf,
1857 0xe6, 0x6f, 0x51, 0xcb, 0xb0, 0xcb, 0x78, 0x68, 0x27, 0xfe, 0xc4, 0xc3, 0xc6, 0xd8, 0x7b, 0x7d,
1858 0x9e, 0xe7, 0x79, 0xf1, 0x50, 0x13, 0x7c, 0xbc, 0x26, 0xde, 0x1a, 0x68, 0x22, 0x41, 0x8d, 0xb6,
1859 0x83, 0xdc, 0x18, 0x7e, 0xf5, 0x85, 0x59, 0x31, 0x8a, 0xe4, 0xb3, 0x57, 0xb7, 0xb3, 0x02, 0xbb,
1860 0x8a, 0xda, 0x4f, 0x7e, 0xf5, 0x72, 0xfd, 0xc5, 0x94, 0xeb, 0xc9, 0xa7, 0x80, 0xe4, 0xcb, 0xb1,
1861 0x36, 0x4d, 0x13, 0x7f, 0xf2, 0xb0, 0x21, 0x5f, 0x92, 0x1c, 0xa6, 0x8a, 0xca, 0x8c, 0xaa, 0x60,
1862 0x76, 0x23, 0x8c, 0x26, 0x66, 0x61, 0x74, 0x69, 0x84, 0x51, 0x79, 0x01, 0x46, 0x97, 0xdf, 0x20,
1863 0x46, 0x0f, 0x06, 0x27, 0x54, 0xbf, 0xa4, 0x0b, 0x82, 0xb4, 0x48, 0x7f, 0xe7, 0x3d, 0x48, 0x1e,
1864 0x10, 0xa3, 0xeb, 0x1d, 0x13, 0xc3, 0x43, 0x39, 0xd8, 0x38, 0x0d, 0x1e, 0x74, 0xd7, 0x6c, 0xd9,
1865 0x86, 0xd7, 0xeb, 0xb2, 0x72, 0xfa, 0x0a, 0x46, 0x83, 0x29, 0x2d, 0x98, 0x11, 0x0b, 0xb0, 0x81,
1866 0xc9, 0xb1, 0xe3, 0x78, 0xe3, 0x75, 0xf8, 0x3c, 0x0e, 0xfc, 0xc5, 0xc1, 0xcd, 0x71, 0x8c, 0x89,
1867 0x24, 0x3e, 0x85, 0xde, 0x27, 0x21, 0x7a, 0x77, 0xa8, 0x51, 0x14, 0xde, 0x42, 0xfc, 0xbe, 0xe6,
1868 0xb3, 0x30, 0xff, 0x5d, 0x12, 0x32, 0x8a, 0xe1, 0x99, 0x67, 0xe4, 0xe0, 0xa8, 0x3a, 0xe8, 0x06,
1869 0x6a, 0xac, 0x19, 0x88, 0x34, 0xd8, 0x88, 0xb8, 0xf2, 0xa1, 0xd8, 0x8a, 0x5e, 0xd8, 0xb9, 0xe8,
1870 0x9a, 0xb8, 0xc7, 0xa1, 0x43, 0x40, 0x93, 0x17, 0x17, 0xb4, 0x15, 0x7b, 0xa3, 0xa1, 0x8c, 0x0a,
1871 0xdb, 0x17, 0xdc, 0x78, 0xd0, 0x01, 0xac, 0xf7, 0x8f, 0xce, 0xb1, 0x52, 0x1e, 0x6d, 0x66, 0x59,
1872 0x8b, 0x32, 0x1b, 0xb4, 0x28, 0xb3, 0x92, 0xd5, 0xf1, 0xce, 0x85, 0xdb, 0x53, 0xea, 0x7e, 0x74,
1873 0x04, 0x37, 0x65, 0xe2, 0x4d, 0xb4, 0x07, 0xd1, 0x9d, 0xb8, 0xb6, 0x21, 0xf3, 0x70, 0x6b, 0x7a,
1874 0x57, 0x71, 0x8f, 0x43, 0x47, 0x34, 0x0d, 0x86, 0x5a, 0x0f, 0xfe, 0x97, 0xc7, 0xb6, 0xeb, 0xfc,
1875 0x2f, 0x8f, 0xef, 0x6a, 0xf9, 0x21, 0x9d, 0x11, 0x58, 0xbb, 0x00, 0x78, 0xb4, 0xbf, 0x52, 0x0f,
1876 0x0e, 0xdb, 0xb1, 0x72, 0x6f, 0x6b, 0xe4, 0x48, 0x8a, 0xb8, 0xa3, 0x08, 0x5b, 0xd3, 0xcb, 0x79,
1877 0xf4, 0x34, 0x38, 0x0c, 0xc6, 0x50, 0x6f, 0x8c, 0x75, 0x54, 0xcb, 0x25, 0x61, 0xfb, 0x82, 0x82,
1878 0x15, 0x61, 0x58, 0x9f, 0x28, 0xe3, 0x7c, 0x8e, 0xe2, 0xca, 0xbb, 0x0b, 0x7d, 0x7b, 0xc6, 0x44,
1879 0x34, 0x8e, 0x19, 0x27, 0xa2, 0xad, 0xe9, 0xf5, 0x1a, 0xaa, 0x05, 0xc7, 0xd2, 0x58, 0x8e, 0x44,
1880 0x63, 0x1f, 0x16, 0x91, 0x3d, 0x85, 0x74, 0xdc, 0x09, 0x81, 0x3e, 0x82, 0xd5, 0x91, 0x52, 0x00,
1881 0xfd, 0x7b, 0xb2, 0x38, 0x18, 0x45, 0xd0, 0xa2, 0x11, 0xe4, 0x09, 0x04, 0x39, 0x0e, 0x21, 0xca,
1882 0x87, 0x27, 0xb0, 0x36, 0xc8, 0xd7, 0xc5, 0x53, 0xd2, 0xf8, 0x3c, 0x36, 0x3e, 0xac, 0x97, 0x3a,
1883 0x4c, 0xee, 0x45, 0xb8, 0x36, 0x9a, 0x17, 0xfd, 0x34, 0x12, 0x91, 0xbe, 0x85, 0x4c, 0x6c, 0x12,
1884 0xdd, 0x7f, 0xf7, 0x93, 0xb7, 0x5b, 0xa6, 0x77, 0xda, 0x3b, 0xce, 0x36, 0x1c, 0x2b, 0xe7, 0x74,
1885 0x88, 0xdd, 0x70, 0xba, 0xcd, 0x1c, 0xcb, 0xe7, 0x8f, 0x86, 0x7f, 0x68, 0x3c, 0x32, 0x6d, 0x8f,
1886 0x74, 0x4f, 0x8c, 0x06, 0xc9, 0x9d, 0x3d, 0xce, 0xb5, 0x9c, 0x5c, 0xd3, 0x32, 0x8f, 0x57, 0xa8,
1887 0x87, 0x8f, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x01, 0xc5, 0x3c, 0x86, 0x00, 0x19, 0x00, 0x00,
Amit Ghosh09f28362020-06-12 21:52:19 +01001888}
1889
1890// Reference imports to suppress errors if they are not otherwise used.
1891var _ context.Context
1892var _ grpc.ClientConn
1893
1894// This is a compile-time assertion to ensure that this generated file
1895// is compatible with the grpc package it is being compiled against.
1896const _ = grpc.SupportPackageIsVersion4
1897
1898// NativeHWManagementServiceClient is the client API for NativeHWManagementService service.
1899//
1900// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1901type NativeHWManagementServiceClient interface {
1902 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001903 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1904 // and their meanings in this context is mentioned below:
1905 // name = The unique name that needs to be assigned to this hardware;
1906 // class = COMPONENT_TYPE_UNDEFINED;
1907 // parent = nil;
1908 // alias = Optional;
1909 // asset_id = Optional;
1910 // uri = IP Address of the Hardware;
1911 StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error)
Amit Ghosh366228e2020-07-06 13:46:42 +01001912 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001913 // This rpc can be called at any time, even before the StartManagingDevice operation
1914 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001915 StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001916 // Returns an object containing a list of devices managed by this entity
1917 GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001918 // Get the HW inventory details of the Device
1919 GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error)
1920 // Get the details of a particular HW component
1921 GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error)
1922 // Sets the permissible attributes of a HW component
1923 SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001924 // Sets the location to which logs need to be shipped
1925 SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1926 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001927 GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001928 // Sets the location of the Message Bus to which events and metrics are shipped
1929 SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1930 // Gets the configured location to which the events and metrics are being shipped
1931 GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001932 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1933 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1934 // interface, package etc.
1935 GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01001936 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001937 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
1938 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
1939 SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
1940 // Gets the configured log level for a certain entity on a certain device.
1941 // If no entity is specified in the request all the entities with their log level should be returned.
1942 GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301943 // Performs the heartbeat check
1944 HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05301945 // Performs the reboot of the device
1946 RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001947}
1948
1949type nativeHWManagementServiceClient struct {
1950 cc *grpc.ClientConn
1951}
1952
1953func NewNativeHWManagementServiceClient(cc *grpc.ClientConn) NativeHWManagementServiceClient {
1954 return &nativeHWManagementServiceClient{cc}
1955}
1956
Amit Ghosh704462f2020-06-24 16:44:56 +01001957func (c *nativeHWManagementServiceClient) StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error) {
Amit Ghosh09f28362020-06-12 21:52:19 +01001958 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[0], "/dmi.NativeHWManagementService/StartManagingDevice", opts...)
1959 if err != nil {
1960 return nil, err
1961 }
1962 x := &nativeHWManagementServiceStartManagingDeviceClient{stream}
1963 if err := x.ClientStream.SendMsg(in); err != nil {
1964 return nil, err
1965 }
1966 if err := x.ClientStream.CloseSend(); err != nil {
1967 return nil, err
1968 }
1969 return x, nil
1970}
1971
1972type NativeHWManagementService_StartManagingDeviceClient interface {
1973 Recv() (*StartManagingDeviceResponse, error)
1974 grpc.ClientStream
1975}
1976
1977type nativeHWManagementServiceStartManagingDeviceClient struct {
1978 grpc.ClientStream
1979}
1980
1981func (x *nativeHWManagementServiceStartManagingDeviceClient) Recv() (*StartManagingDeviceResponse, error) {
1982 m := new(StartManagingDeviceResponse)
1983 if err := x.ClientStream.RecvMsg(m); err != nil {
1984 return nil, err
1985 }
1986 return m, nil
1987}
1988
Amit Ghosh366228e2020-07-06 13:46:42 +01001989func (c *nativeHWManagementServiceClient) StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) {
1990 out := new(StopManagingDeviceResponse)
1991 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/StopManagingDevice", in, out, opts...)
1992 if err != nil {
1993 return nil, err
1994 }
1995 return out, nil
1996}
1997
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001998func (c *nativeHWManagementServiceClient) GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) {
1999 out := new(ManagedDevicesResponse)
2000 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetManagedDevices", in, out, opts...)
2001 if err != nil {
2002 return nil, err
2003 }
2004 return out, nil
2005}
2006
Amit Ghosh09f28362020-06-12 21:52:19 +01002007func (c *nativeHWManagementServiceClient) GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) {
2008 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[1], "/dmi.NativeHWManagementService/GetPhysicalInventory", opts...)
2009 if err != nil {
2010 return nil, err
2011 }
2012 x := &nativeHWManagementServiceGetPhysicalInventoryClient{stream}
2013 if err := x.ClientStream.SendMsg(in); err != nil {
2014 return nil, err
2015 }
2016 if err := x.ClientStream.CloseSend(); err != nil {
2017 return nil, err
2018 }
2019 return x, nil
2020}
2021
2022type NativeHWManagementService_GetPhysicalInventoryClient interface {
2023 Recv() (*PhysicalInventoryResponse, error)
2024 grpc.ClientStream
2025}
2026
2027type nativeHWManagementServiceGetPhysicalInventoryClient struct {
2028 grpc.ClientStream
2029}
2030
2031func (x *nativeHWManagementServiceGetPhysicalInventoryClient) Recv() (*PhysicalInventoryResponse, error) {
2032 m := new(PhysicalInventoryResponse)
2033 if err := x.ClientStream.RecvMsg(m); err != nil {
2034 return nil, err
2035 }
2036 return m, nil
2037}
2038
2039func (c *nativeHWManagementServiceClient) GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) {
2040 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[2], "/dmi.NativeHWManagementService/GetHWComponentInfo", opts...)
2041 if err != nil {
2042 return nil, err
2043 }
2044 x := &nativeHWManagementServiceGetHWComponentInfoClient{stream}
2045 if err := x.ClientStream.SendMsg(in); err != nil {
2046 return nil, err
2047 }
2048 if err := x.ClientStream.CloseSend(); err != nil {
2049 return nil, err
2050 }
2051 return x, nil
2052}
2053
2054type NativeHWManagementService_GetHWComponentInfoClient interface {
aghoshc301dcd2020-09-03 16:55:34 +01002055 Recv() (*HWComponentInfoGetResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002056 grpc.ClientStream
2057}
2058
2059type nativeHWManagementServiceGetHWComponentInfoClient struct {
2060 grpc.ClientStream
2061}
2062
aghoshc301dcd2020-09-03 16:55:34 +01002063func (x *nativeHWManagementServiceGetHWComponentInfoClient) Recv() (*HWComponentInfoGetResponse, error) {
2064 m := new(HWComponentInfoGetResponse)
Amit Ghosh09f28362020-06-12 21:52:19 +01002065 if err := x.ClientStream.RecvMsg(m); err != nil {
2066 return nil, err
2067 }
2068 return m, nil
2069}
2070
2071func (c *nativeHWManagementServiceClient) SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) {
2072 out := new(HWComponentInfoSetResponse)
2073 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetHWComponentInfo", in, out, opts...)
2074 if err != nil {
2075 return nil, err
2076 }
2077 return out, nil
2078}
2079
amit.ghosh188a84f2020-09-27 20:59:25 +02002080func (c *nativeHWManagementServiceClient) SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
2081 out := new(SetRemoteEndpointResponse)
2082 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLoggingEndpoint", in, out, opts...)
2083 if err != nil {
2084 return nil, err
2085 }
2086 return out, nil
2087}
2088
amit.ghosh5d97dba2020-11-12 16:45:27 +01002089func (c *nativeHWManagementServiceClient) GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error) {
amit.ghosh188a84f2020-09-27 20:59:25 +02002090 out := new(GetLoggingEndpointResponse)
2091 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggingEndpoint", in, out, opts...)
2092 if err != nil {
2093 return nil, err
2094 }
2095 return out, nil
2096}
2097
2098func (c *nativeHWManagementServiceClient) SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
2099 out := new(SetRemoteEndpointResponse)
2100 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetMsgBusEndpoint", in, out, opts...)
2101 if err != nil {
2102 return nil, err
2103 }
2104 return out, nil
2105}
2106
2107func (c *nativeHWManagementServiceClient) GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) {
2108 out := new(GetMsgBusEndpointResponse)
2109 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetMsgBusEndpoint", in, out, opts...)
2110 if err != nil {
2111 return nil, err
2112 }
2113 return out, nil
2114}
2115
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002116func (c *nativeHWManagementServiceClient) GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2117 out := new(GetLogLevelResponse)
2118 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggableEntities", in, out, opts...)
2119 if err != nil {
2120 return nil, err
2121 }
2122 return out, nil
2123}
2124
2125func (c *nativeHWManagementServiceClient) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) {
2126 out := new(SetLogLevelResponse)
2127 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLogLevel", in, out, opts...)
2128 if err != nil {
2129 return nil, err
2130 }
2131 return out, nil
2132}
2133
2134func (c *nativeHWManagementServiceClient) GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2135 out := new(GetLogLevelResponse)
2136 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLogLevel", in, out, opts...)
2137 if err != nil {
2138 return nil, err
2139 }
2140 return out, nil
2141}
2142
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302143func (c *nativeHWManagementServiceClient) HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error) {
2144 out := new(Heartbeat)
2145 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/HeartbeatCheck", in, out, opts...)
2146 if err != nil {
2147 return nil, err
2148 }
2149 return out, nil
2150}
2151
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302152func (c *nativeHWManagementServiceClient) RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error) {
2153 out := new(RebootDeviceResponse)
2154 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/RebootDevice", in, out, opts...)
2155 if err != nil {
2156 return nil, err
2157 }
2158 return out, nil
2159}
2160
Amit Ghosh09f28362020-06-12 21:52:19 +01002161// NativeHWManagementServiceServer is the server API for NativeHWManagementService service.
2162type NativeHWManagementServiceServer interface {
2163 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01002164 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
2165 // and their meanings in this context is mentioned below:
2166 // name = The unique name that needs to be assigned to this hardware;
2167 // class = COMPONENT_TYPE_UNDEFINED;
2168 // parent = nil;
2169 // alias = Optional;
2170 // asset_id = Optional;
2171 // uri = IP Address of the Hardware;
2172 StartManagingDevice(*ModifiableComponent, NativeHWManagementService_StartManagingDeviceServer) error
Amit Ghosh366228e2020-07-06 13:46:42 +01002173 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01002174 // This rpc can be called at any time, even before the StartManagingDevice operation
2175 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01002176 StopManagingDevice(context.Context, *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002177 // Returns an object containing a list of devices managed by this entity
2178 GetManagedDevices(context.Context, *empty.Empty) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002179 // Get the HW inventory details of the Device
2180 GetPhysicalInventory(*PhysicalInventoryRequest, NativeHWManagementService_GetPhysicalInventoryServer) error
2181 // Get the details of a particular HW component
2182 GetHWComponentInfo(*HWComponentInfoGetRequest, NativeHWManagementService_GetHWComponentInfoServer) error
2183 // Sets the permissible attributes of a HW component
2184 SetHWComponentInfo(context.Context, *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002185 // Sets the location to which logs need to be shipped
2186 SetLoggingEndpoint(context.Context, *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error)
2187 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01002188 GetLoggingEndpoint(context.Context, *HardwareID) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002189 // Sets the location of the Message Bus to which events and metrics are shipped
2190 SetMsgBusEndpoint(context.Context, *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error)
2191 // Gets the configured location to which the events and metrics are being shipped
2192 GetMsgBusEndpoint(context.Context, *empty.Empty) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002193 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
2194 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
2195 // interface, package etc.
2196 GetLoggableEntities(context.Context, *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01002197 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002198 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
2199 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
2200 SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
2201 // Gets the configured log level for a certain entity on a certain device.
2202 // If no entity is specified in the request all the entities with their log level should be returned.
2203 GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302204 // Performs the heartbeat check
2205 HeartbeatCheck(context.Context, *empty.Empty) (*Heartbeat, error)
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302206 // Performs the reboot of the device
2207 RebootDevice(context.Context, *RebootDeviceRequest) (*RebootDeviceResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002208}
2209
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002210// UnimplementedNativeHWManagementServiceServer can be embedded to have forward compatible implementations.
2211type UnimplementedNativeHWManagementServiceServer struct {
2212}
2213
2214func (*UnimplementedNativeHWManagementServiceServer) StartManagingDevice(req *ModifiableComponent, srv NativeHWManagementService_StartManagingDeviceServer) error {
2215 return status.Errorf(codes.Unimplemented, "method StartManagingDevice not implemented")
2216}
2217func (*UnimplementedNativeHWManagementServiceServer) StopManagingDevice(ctx context.Context, req *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error) {
2218 return nil, status.Errorf(codes.Unimplemented, "method StopManagingDevice not implemented")
2219}
2220func (*UnimplementedNativeHWManagementServiceServer) GetManagedDevices(ctx context.Context, req *empty.Empty) (*ManagedDevicesResponse, error) {
2221 return nil, status.Errorf(codes.Unimplemented, "method GetManagedDevices not implemented")
2222}
2223func (*UnimplementedNativeHWManagementServiceServer) GetPhysicalInventory(req *PhysicalInventoryRequest, srv NativeHWManagementService_GetPhysicalInventoryServer) error {
2224 return status.Errorf(codes.Unimplemented, "method GetPhysicalInventory not implemented")
2225}
2226func (*UnimplementedNativeHWManagementServiceServer) GetHWComponentInfo(req *HWComponentInfoGetRequest, srv NativeHWManagementService_GetHWComponentInfoServer) error {
2227 return status.Errorf(codes.Unimplemented, "method GetHWComponentInfo not implemented")
2228}
2229func (*UnimplementedNativeHWManagementServiceServer) SetHWComponentInfo(ctx context.Context, req *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error) {
2230 return nil, status.Errorf(codes.Unimplemented, "method SetHWComponentInfo not implemented")
2231}
2232func (*UnimplementedNativeHWManagementServiceServer) SetLoggingEndpoint(ctx context.Context, req *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error) {
2233 return nil, status.Errorf(codes.Unimplemented, "method SetLoggingEndpoint not implemented")
2234}
2235func (*UnimplementedNativeHWManagementServiceServer) GetLoggingEndpoint(ctx context.Context, req *HardwareID) (*GetLoggingEndpointResponse, error) {
2236 return nil, status.Errorf(codes.Unimplemented, "method GetLoggingEndpoint not implemented")
2237}
2238func (*UnimplementedNativeHWManagementServiceServer) SetMsgBusEndpoint(ctx context.Context, req *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error) {
2239 return nil, status.Errorf(codes.Unimplemented, "method SetMsgBusEndpoint not implemented")
2240}
2241func (*UnimplementedNativeHWManagementServiceServer) GetMsgBusEndpoint(ctx context.Context, req *empty.Empty) (*GetMsgBusEndpointResponse, error) {
2242 return nil, status.Errorf(codes.Unimplemented, "method GetMsgBusEndpoint not implemented")
2243}
2244func (*UnimplementedNativeHWManagementServiceServer) GetLoggableEntities(ctx context.Context, req *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error) {
2245 return nil, status.Errorf(codes.Unimplemented, "method GetLoggableEntities not implemented")
2246}
2247func (*UnimplementedNativeHWManagementServiceServer) SetLogLevel(ctx context.Context, req *SetLogLevelRequest) (*SetLogLevelResponse, error) {
2248 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2249}
2250func (*UnimplementedNativeHWManagementServiceServer) GetLogLevel(ctx context.Context, req *GetLogLevelRequest) (*GetLogLevelResponse, error) {
2251 return nil, status.Errorf(codes.Unimplemented, "method GetLogLevel not implemented")
2252}
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302253func (*UnimplementedNativeHWManagementServiceServer) HeartbeatCheck(ctx context.Context, req *empty.Empty) (*Heartbeat, error) {
2254 return nil, status.Errorf(codes.Unimplemented, "method HeartbeatCheck not implemented")
2255}
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302256func (*UnimplementedNativeHWManagementServiceServer) RebootDevice(ctx context.Context, req *RebootDeviceRequest) (*RebootDeviceResponse, error) {
2257 return nil, status.Errorf(codes.Unimplemented, "method RebootDevice not implemented")
2258}
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002259
Amit Ghosh09f28362020-06-12 21:52:19 +01002260func RegisterNativeHWManagementServiceServer(s *grpc.Server, srv NativeHWManagementServiceServer) {
2261 s.RegisterService(&_NativeHWManagementService_serviceDesc, srv)
2262}
2263
2264func _NativeHWManagementService_StartManagingDevice_Handler(srv interface{}, stream grpc.ServerStream) error {
Amit Ghosh704462f2020-06-24 16:44:56 +01002265 m := new(ModifiableComponent)
Amit Ghosh09f28362020-06-12 21:52:19 +01002266 if err := stream.RecvMsg(m); err != nil {
2267 return err
2268 }
2269 return srv.(NativeHWManagementServiceServer).StartManagingDevice(m, &nativeHWManagementServiceStartManagingDeviceServer{stream})
2270}
2271
2272type NativeHWManagementService_StartManagingDeviceServer interface {
2273 Send(*StartManagingDeviceResponse) error
2274 grpc.ServerStream
2275}
2276
2277type nativeHWManagementServiceStartManagingDeviceServer struct {
2278 grpc.ServerStream
2279}
2280
2281func (x *nativeHWManagementServiceStartManagingDeviceServer) Send(m *StartManagingDeviceResponse) error {
2282 return x.ServerStream.SendMsg(m)
2283}
2284
Amit Ghosh366228e2020-07-06 13:46:42 +01002285func _NativeHWManagementService_StopManagingDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2286 in := new(StopManagingDeviceRequest)
2287 if err := dec(in); err != nil {
2288 return nil, err
2289 }
2290 if interceptor == nil {
2291 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, in)
2292 }
2293 info := &grpc.UnaryServerInfo{
2294 Server: srv,
2295 FullMethod: "/dmi.NativeHWManagementService/StopManagingDevice",
2296 }
2297 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2298 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, req.(*StopManagingDeviceRequest))
2299 }
2300 return interceptor(ctx, in, info, handler)
2301}
2302
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002303func _NativeHWManagementService_GetManagedDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2304 in := new(empty.Empty)
2305 if err := dec(in); err != nil {
2306 return nil, err
2307 }
2308 if interceptor == nil {
2309 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, in)
2310 }
2311 info := &grpc.UnaryServerInfo{
2312 Server: srv,
2313 FullMethod: "/dmi.NativeHWManagementService/GetManagedDevices",
2314 }
2315 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2316 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, req.(*empty.Empty))
2317 }
2318 return interceptor(ctx, in, info, handler)
2319}
2320
Amit Ghosh09f28362020-06-12 21:52:19 +01002321func _NativeHWManagementService_GetPhysicalInventory_Handler(srv interface{}, stream grpc.ServerStream) error {
2322 m := new(PhysicalInventoryRequest)
2323 if err := stream.RecvMsg(m); err != nil {
2324 return err
2325 }
2326 return srv.(NativeHWManagementServiceServer).GetPhysicalInventory(m, &nativeHWManagementServiceGetPhysicalInventoryServer{stream})
2327}
2328
2329type NativeHWManagementService_GetPhysicalInventoryServer interface {
2330 Send(*PhysicalInventoryResponse) error
2331 grpc.ServerStream
2332}
2333
2334type nativeHWManagementServiceGetPhysicalInventoryServer struct {
2335 grpc.ServerStream
2336}
2337
2338func (x *nativeHWManagementServiceGetPhysicalInventoryServer) Send(m *PhysicalInventoryResponse) error {
2339 return x.ServerStream.SendMsg(m)
2340}
2341
2342func _NativeHWManagementService_GetHWComponentInfo_Handler(srv interface{}, stream grpc.ServerStream) error {
2343 m := new(HWComponentInfoGetRequest)
2344 if err := stream.RecvMsg(m); err != nil {
2345 return err
2346 }
2347 return srv.(NativeHWManagementServiceServer).GetHWComponentInfo(m, &nativeHWManagementServiceGetHWComponentInfoServer{stream})
2348}
2349
2350type NativeHWManagementService_GetHWComponentInfoServer interface {
aghoshc301dcd2020-09-03 16:55:34 +01002351 Send(*HWComponentInfoGetResponse) error
Amit Ghosh09f28362020-06-12 21:52:19 +01002352 grpc.ServerStream
2353}
2354
2355type nativeHWManagementServiceGetHWComponentInfoServer struct {
2356 grpc.ServerStream
2357}
2358
aghoshc301dcd2020-09-03 16:55:34 +01002359func (x *nativeHWManagementServiceGetHWComponentInfoServer) Send(m *HWComponentInfoGetResponse) error {
Amit Ghosh09f28362020-06-12 21:52:19 +01002360 return x.ServerStream.SendMsg(m)
2361}
2362
2363func _NativeHWManagementService_SetHWComponentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2364 in := new(HWComponentInfoSetRequest)
2365 if err := dec(in); err != nil {
2366 return nil, err
2367 }
2368 if interceptor == nil {
2369 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, in)
2370 }
2371 info := &grpc.UnaryServerInfo{
2372 Server: srv,
2373 FullMethod: "/dmi.NativeHWManagementService/SetHWComponentInfo",
2374 }
2375 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2376 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, req.(*HWComponentInfoSetRequest))
2377 }
2378 return interceptor(ctx, in, info, handler)
2379}
2380
amit.ghosh188a84f2020-09-27 20:59:25 +02002381func _NativeHWManagementService_SetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2382 in := new(SetLoggingEndpointRequest)
2383 if err := dec(in); err != nil {
2384 return nil, err
2385 }
2386 if interceptor == nil {
2387 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, in)
2388 }
2389 info := &grpc.UnaryServerInfo{
2390 Server: srv,
2391 FullMethod: "/dmi.NativeHWManagementService/SetLoggingEndpoint",
2392 }
2393 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2394 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, req.(*SetLoggingEndpointRequest))
2395 }
2396 return interceptor(ctx, in, info, handler)
2397}
2398
2399func _NativeHWManagementService_GetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002400 in := new(HardwareID)
amit.ghosh188a84f2020-09-27 20:59:25 +02002401 if err := dec(in); err != nil {
2402 return nil, err
2403 }
2404 if interceptor == nil {
2405 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, in)
2406 }
2407 info := &grpc.UnaryServerInfo{
2408 Server: srv,
2409 FullMethod: "/dmi.NativeHWManagementService/GetLoggingEndpoint",
2410 }
2411 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002412 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, req.(*HardwareID))
amit.ghosh188a84f2020-09-27 20:59:25 +02002413 }
2414 return interceptor(ctx, in, info, handler)
2415}
2416
2417func _NativeHWManagementService_SetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2418 in := new(SetMsgBusEndpointRequest)
2419 if err := dec(in); err != nil {
2420 return nil, err
2421 }
2422 if interceptor == nil {
2423 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, in)
2424 }
2425 info := &grpc.UnaryServerInfo{
2426 Server: srv,
2427 FullMethod: "/dmi.NativeHWManagementService/SetMsgBusEndpoint",
2428 }
2429 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2430 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, req.(*SetMsgBusEndpointRequest))
2431 }
2432 return interceptor(ctx, in, info, handler)
2433}
2434
2435func _NativeHWManagementService_GetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2436 in := new(empty.Empty)
2437 if err := dec(in); err != nil {
2438 return nil, err
2439 }
2440 if interceptor == nil {
2441 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, in)
2442 }
2443 info := &grpc.UnaryServerInfo{
2444 Server: srv,
2445 FullMethod: "/dmi.NativeHWManagementService/GetMsgBusEndpoint",
2446 }
2447 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2448 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, req.(*empty.Empty))
2449 }
2450 return interceptor(ctx, in, info, handler)
2451}
2452
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002453func _NativeHWManagementService_GetLoggableEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2454 in := new(GetLoggableEntitiesRequest)
2455 if err := dec(in); err != nil {
2456 return nil, err
2457 }
2458 if interceptor == nil {
2459 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, in)
2460 }
2461 info := &grpc.UnaryServerInfo{
2462 Server: srv,
2463 FullMethod: "/dmi.NativeHWManagementService/GetLoggableEntities",
2464 }
2465 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2466 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, req.(*GetLoggableEntitiesRequest))
2467 }
2468 return interceptor(ctx, in, info, handler)
2469}
2470
2471func _NativeHWManagementService_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2472 in := new(SetLogLevelRequest)
2473 if err := dec(in); err != nil {
2474 return nil, err
2475 }
2476 if interceptor == nil {
2477 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, in)
2478 }
2479 info := &grpc.UnaryServerInfo{
2480 Server: srv,
2481 FullMethod: "/dmi.NativeHWManagementService/SetLogLevel",
2482 }
2483 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2484 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, req.(*SetLogLevelRequest))
2485 }
2486 return interceptor(ctx, in, info, handler)
2487}
2488
2489func _NativeHWManagementService_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2490 in := new(GetLogLevelRequest)
2491 if err := dec(in); err != nil {
2492 return nil, err
2493 }
2494 if interceptor == nil {
2495 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, in)
2496 }
2497 info := &grpc.UnaryServerInfo{
2498 Server: srv,
2499 FullMethod: "/dmi.NativeHWManagementService/GetLogLevel",
2500 }
2501 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2502 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, req.(*GetLogLevelRequest))
2503 }
2504 return interceptor(ctx, in, info, handler)
2505}
2506
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302507func _NativeHWManagementService_HeartbeatCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2508 in := new(empty.Empty)
2509 if err := dec(in); err != nil {
2510 return nil, err
2511 }
2512 if interceptor == nil {
2513 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, in)
2514 }
2515 info := &grpc.UnaryServerInfo{
2516 Server: srv,
2517 FullMethod: "/dmi.NativeHWManagementService/HeartbeatCheck",
2518 }
2519 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2520 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, req.(*empty.Empty))
2521 }
2522 return interceptor(ctx, in, info, handler)
2523}
2524
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302525func _NativeHWManagementService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2526 in := new(RebootDeviceRequest)
2527 if err := dec(in); err != nil {
2528 return nil, err
2529 }
2530 if interceptor == nil {
2531 return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, in)
2532 }
2533 info := &grpc.UnaryServerInfo{
2534 Server: srv,
2535 FullMethod: "/dmi.NativeHWManagementService/RebootDevice",
2536 }
2537 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2538 return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, req.(*RebootDeviceRequest))
2539 }
2540 return interceptor(ctx, in, info, handler)
2541}
2542
Amit Ghosh09f28362020-06-12 21:52:19 +01002543var _NativeHWManagementService_serviceDesc = grpc.ServiceDesc{
2544 ServiceName: "dmi.NativeHWManagementService",
2545 HandlerType: (*NativeHWManagementServiceServer)(nil),
2546 Methods: []grpc.MethodDesc{
2547 {
Amit Ghosh366228e2020-07-06 13:46:42 +01002548 MethodName: "StopManagingDevice",
2549 Handler: _NativeHWManagementService_StopManagingDevice_Handler,
2550 },
2551 {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002552 MethodName: "GetManagedDevices",
2553 Handler: _NativeHWManagementService_GetManagedDevices_Handler,
2554 },
2555 {
Amit Ghosh09f28362020-06-12 21:52:19 +01002556 MethodName: "SetHWComponentInfo",
2557 Handler: _NativeHWManagementService_SetHWComponentInfo_Handler,
2558 },
amit.ghosh188a84f2020-09-27 20:59:25 +02002559 {
2560 MethodName: "SetLoggingEndpoint",
2561 Handler: _NativeHWManagementService_SetLoggingEndpoint_Handler,
2562 },
2563 {
2564 MethodName: "GetLoggingEndpoint",
2565 Handler: _NativeHWManagementService_GetLoggingEndpoint_Handler,
2566 },
2567 {
2568 MethodName: "SetMsgBusEndpoint",
2569 Handler: _NativeHWManagementService_SetMsgBusEndpoint_Handler,
2570 },
2571 {
2572 MethodName: "GetMsgBusEndpoint",
2573 Handler: _NativeHWManagementService_GetMsgBusEndpoint_Handler,
2574 },
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002575 {
2576 MethodName: "GetLoggableEntities",
2577 Handler: _NativeHWManagementService_GetLoggableEntities_Handler,
2578 },
2579 {
2580 MethodName: "SetLogLevel",
2581 Handler: _NativeHWManagementService_SetLogLevel_Handler,
2582 },
2583 {
2584 MethodName: "GetLogLevel",
2585 Handler: _NativeHWManagementService_GetLogLevel_Handler,
2586 },
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302587 {
2588 MethodName: "HeartbeatCheck",
2589 Handler: _NativeHWManagementService_HeartbeatCheck_Handler,
2590 },
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +05302591 {
2592 MethodName: "RebootDevice",
2593 Handler: _NativeHWManagementService_RebootDevice_Handler,
2594 },
Amit Ghosh09f28362020-06-12 21:52:19 +01002595 },
2596 Streams: []grpc.StreamDesc{
2597 {
2598 StreamName: "StartManagingDevice",
2599 Handler: _NativeHWManagementService_StartManagingDevice_Handler,
2600 ServerStreams: true,
2601 },
2602 {
2603 StreamName: "GetPhysicalInventory",
2604 Handler: _NativeHWManagementService_GetPhysicalInventory_Handler,
2605 ServerStreams: true,
2606 },
2607 {
2608 StreamName: "GetHWComponentInfo",
2609 Handler: _NativeHWManagementService_GetHWComponentInfo_Handler,
2610 ServerStreams: true,
2611 },
2612 },
2613 Metadata: "dmi/hw_management_service.proto",
2614}