blob: 251ab43ec0da98ae97c0d7fdcbeba64db05d8619 [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"
12 math "math"
13)
14
15// Reference imports to suppress errors if they are not otherwise used.
16var _ = proto.Marshal
17var _ = fmt.Errorf
18var _ = math.Inf
19
20// This is a compile-time assertion to ensure that this generated file
21// is compatible with the proto package it is being compiled against.
22// A compilation error at this line likely means your copy of the
23// proto package needs to be updated.
24const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
25
amit.ghoshae473032021-01-10 11:59:10 +010026type PhysicalInventoryResponse_Reason int32
27
28const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010029 PhysicalInventoryResponse_UNDEFINED_REASON PhysicalInventoryResponse_Reason = 0
30 PhysicalInventoryResponse_UNKNOWN_DEVICE PhysicalInventoryResponse_Reason = 1
31 PhysicalInventoryResponse_INTERNAL_ERROR PhysicalInventoryResponse_Reason = 2
32 PhysicalInventoryResponse_DEVICE_UNREACHABLE PhysicalInventoryResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +010033)
34
35var PhysicalInventoryResponse_Reason_name = map[int32]string{
36 0: "UNDEFINED_REASON",
37 1: "UNKNOWN_DEVICE",
38 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +010039 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +010040}
41
42var PhysicalInventoryResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +010043 "UNDEFINED_REASON": 0,
44 "UNKNOWN_DEVICE": 1,
45 "INTERNAL_ERROR": 2,
46 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +010047}
48
49func (x PhysicalInventoryResponse_Reason) String() string {
50 return proto.EnumName(PhysicalInventoryResponse_Reason_name, int32(x))
51}
52
53func (PhysicalInventoryResponse_Reason) EnumDescriptor() ([]byte, []int) {
54 return fileDescriptor_eae902e73066286d, []int{1, 0}
55}
56
57type HWComponentInfoGetResponse_Reason int32
58
59const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010060 HWComponentInfoGetResponse_UNDEFINED_REASON HWComponentInfoGetResponse_Reason = 0
61 HWComponentInfoGetResponse_UNKNOWN_DEVICE HWComponentInfoGetResponse_Reason = 1
62 HWComponentInfoGetResponse_UNKNOWN_COMPONENT HWComponentInfoGetResponse_Reason = 2
63 HWComponentInfoGetResponse_INTERNAL_ERROR HWComponentInfoGetResponse_Reason = 3
64 HWComponentInfoGetResponse_DEVICE_UNREACHABLE HWComponentInfoGetResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +010065)
66
67var HWComponentInfoGetResponse_Reason_name = map[int32]string{
68 0: "UNDEFINED_REASON",
69 1: "UNKNOWN_DEVICE",
70 2: "UNKNOWN_COMPONENT",
71 3: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +010072 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +010073}
74
75var HWComponentInfoGetResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +010076 "UNDEFINED_REASON": 0,
77 "UNKNOWN_DEVICE": 1,
78 "UNKNOWN_COMPONENT": 2,
79 "INTERNAL_ERROR": 3,
80 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +010081}
82
83func (x HWComponentInfoGetResponse_Reason) String() string {
84 return proto.EnumName(HWComponentInfoGetResponse_Reason_name, int32(x))
85}
86
87func (HWComponentInfoGetResponse_Reason) EnumDescriptor() ([]byte, []int) {
88 return fileDescriptor_eae902e73066286d, []int{3, 0}
89}
90
91type HWComponentInfoSetResponse_Reason int32
92
93const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010094 HWComponentInfoSetResponse_UNDEFINED_REASON HWComponentInfoSetResponse_Reason = 0
95 HWComponentInfoSetResponse_UNKNOWN_DEVICE HWComponentInfoSetResponse_Reason = 1
96 HWComponentInfoSetResponse_UNKNOWN_COMPONENT HWComponentInfoSetResponse_Reason = 2
97 HWComponentInfoSetResponse_INVALID_PARAMS HWComponentInfoSetResponse_Reason = 3
98 HWComponentInfoSetResponse_INTERNAL_ERROR HWComponentInfoSetResponse_Reason = 4
99 HWComponentInfoSetResponse_DEVICE_UNREACHABLE HWComponentInfoSetResponse_Reason = 5
amit.ghoshae473032021-01-10 11:59:10 +0100100)
101
102var HWComponentInfoSetResponse_Reason_name = map[int32]string{
103 0: "UNDEFINED_REASON",
104 1: "UNKNOWN_DEVICE",
105 2: "UNKNOWN_COMPONENT",
106 3: "INVALID_PARAMS",
107 4: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100108 5: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100109}
110
111var HWComponentInfoSetResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100112 "UNDEFINED_REASON": 0,
113 "UNKNOWN_DEVICE": 1,
114 "UNKNOWN_COMPONENT": 2,
115 "INVALID_PARAMS": 3,
116 "INTERNAL_ERROR": 4,
117 "DEVICE_UNREACHABLE": 5,
amit.ghoshae473032021-01-10 11:59:10 +0100118}
119
120func (x HWComponentInfoSetResponse_Reason) String() string {
121 return proto.EnumName(HWComponentInfoSetResponse_Reason_name, int32(x))
122}
123
124func (HWComponentInfoSetResponse_Reason) EnumDescriptor() ([]byte, []int) {
125 return fileDescriptor_eae902e73066286d, []int{5, 0}
126}
127
128type StartManagingDeviceResponse_Reason int32
129
130const (
131 StartManagingDeviceResponse_UNDEFINED_REASON StartManagingDeviceResponse_Reason = 0
132 // DEVICE_ALREADY_MANAGED is returned when StartManagingDevice is called again for the same name AFTER a previously
133 // successful StartManagingDevice operation
134 StartManagingDeviceResponse_DEVICE_ALREADY_MANAGED StartManagingDeviceResponse_Reason = 1
135 // OPERATION_ALREADY_IN_PROGRESS is returned when StartManagingDevice is called again for the same name BEFORE
136 // a previous StartManagingDevice operation has completed
137 StartManagingDeviceResponse_OPERATION_ALREADY_IN_PROGRESS StartManagingDeviceResponse_Reason = 2
138 StartManagingDeviceResponse_INVALID_PARAMS StartManagingDeviceResponse_Reason = 3
139 StartManagingDeviceResponse_INTERNAL_ERROR StartManagingDeviceResponse_Reason = 4
140)
141
142var StartManagingDeviceResponse_Reason_name = map[int32]string{
143 0: "UNDEFINED_REASON",
144 1: "DEVICE_ALREADY_MANAGED",
145 2: "OPERATION_ALREADY_IN_PROGRESS",
146 3: "INVALID_PARAMS",
147 4: "INTERNAL_ERROR",
148}
149
150var StartManagingDeviceResponse_Reason_value = map[string]int32{
151 "UNDEFINED_REASON": 0,
152 "DEVICE_ALREADY_MANAGED": 1,
153 "OPERATION_ALREADY_IN_PROGRESS": 2,
154 "INVALID_PARAMS": 3,
155 "INTERNAL_ERROR": 4,
156}
157
158func (x StartManagingDeviceResponse_Reason) String() string {
159 return proto.EnumName(StartManagingDeviceResponse_Reason_name, int32(x))
160}
161
162func (StartManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
163 return fileDescriptor_eae902e73066286d, []int{6, 0}
164}
165
166// The only case in which an error is expected is if the name of the
167// device to be stopped is not found
168type StopManagingDeviceResponse_Reason int32
169
170const (
171 StopManagingDeviceResponse_UNDEFINED_REASON StopManagingDeviceResponse_Reason = 0
172 StopManagingDeviceResponse_UNKNOWN_DEVICE StopManagingDeviceResponse_Reason = 1
173)
174
175var StopManagingDeviceResponse_Reason_name = map[int32]string{
176 0: "UNDEFINED_REASON",
177 1: "UNKNOWN_DEVICE",
178}
179
180var StopManagingDeviceResponse_Reason_value = map[string]int32{
181 "UNDEFINED_REASON": 0,
182 "UNKNOWN_DEVICE": 1,
183}
184
185func (x StopManagingDeviceResponse_Reason) String() string {
186 return proto.EnumName(StopManagingDeviceResponse_Reason_name, int32(x))
187}
188
189func (StopManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
190 return fileDescriptor_eae902e73066286d, []int{8, 0}
191}
192
amit.ghosh0c687412021-03-24 19:01:08 +0100193type ManagedDevicesResponse_Reason int32
194
195const (
196 ManagedDevicesResponse_UNDEFINED_REASON ManagedDevicesResponse_Reason = 0
197 ManagedDevicesResponse_INTERNAL_ERROR ManagedDevicesResponse_Reason = 1
198)
199
200var ManagedDevicesResponse_Reason_name = map[int32]string{
201 0: "UNDEFINED_REASON",
202 1: "INTERNAL_ERROR",
203}
204
205var ManagedDevicesResponse_Reason_value = map[string]int32{
206 "UNDEFINED_REASON": 0,
207 "INTERNAL_ERROR": 1,
208}
209
210func (x ManagedDevicesResponse_Reason) String() string {
211 return proto.EnumName(ManagedDevicesResponse_Reason_name, int32(x))
212}
213
214func (ManagedDevicesResponse_Reason) EnumDescriptor() ([]byte, []int) {
215 return fileDescriptor_eae902e73066286d, []int{10, 0}
216}
217
amit.ghoshae473032021-01-10 11:59:10 +0100218type SetRemoteEndpointResponse_Reason int32
219
220const (
221 SetRemoteEndpointResponse_UNDEFINED_REASON SetRemoteEndpointResponse_Reason = 0
222 SetRemoteEndpointResponse_UNKNOWN_DEVICE SetRemoteEndpointResponse_Reason = 1
223 SetRemoteEndpointResponse_INTERNAL_ERROR SetRemoteEndpointResponse_Reason = 2
224 SetRemoteEndpointResponse_LOGGING_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 3
225 SetRemoteEndpointResponse_LOGGING_ENDPOINT_PROTOCOL_ERROR SetRemoteEndpointResponse_Reason = 4
226 SetRemoteEndpointResponse_MSGBUS_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 5
amit.ghoshbd2022e2021-02-22 05:58:53 +0100227 SetRemoteEndpointResponse_DEVICE_UNREACHABLE SetRemoteEndpointResponse_Reason = 6
amit.ghoshae473032021-01-10 11:59:10 +0100228)
229
230var SetRemoteEndpointResponse_Reason_name = map[int32]string{
231 0: "UNDEFINED_REASON",
232 1: "UNKNOWN_DEVICE",
233 2: "INTERNAL_ERROR",
234 3: "LOGGING_ENDPOINT_ERROR",
235 4: "LOGGING_ENDPOINT_PROTOCOL_ERROR",
236 5: "MSGBUS_ENDPOINT_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100237 6: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100238}
239
240var SetRemoteEndpointResponse_Reason_value = map[string]int32{
241 "UNDEFINED_REASON": 0,
242 "UNKNOWN_DEVICE": 1,
243 "INTERNAL_ERROR": 2,
244 "LOGGING_ENDPOINT_ERROR": 3,
245 "LOGGING_ENDPOINT_PROTOCOL_ERROR": 4,
246 "MSGBUS_ENDPOINT_ERROR": 5,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100247 "DEVICE_UNREACHABLE": 6,
amit.ghoshae473032021-01-10 11:59:10 +0100248}
249
250func (x SetRemoteEndpointResponse_Reason) String() string {
251 return proto.EnumName(SetRemoteEndpointResponse_Reason_name, int32(x))
252}
253
254func (SetRemoteEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100255 return fileDescriptor_eae902e73066286d, []int{12, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100256}
257
258type GetLoggingEndpointResponse_Reason int32
259
260const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100261 GetLoggingEndpointResponse_UNDEFINED_REASON GetLoggingEndpointResponse_Reason = 0
262 GetLoggingEndpointResponse_UNKNOWN_DEVICE GetLoggingEndpointResponse_Reason = 1
263 GetLoggingEndpointResponse_INTERNAL_ERROR GetLoggingEndpointResponse_Reason = 2
264 GetLoggingEndpointResponse_DEVICE_UNREACHABLE GetLoggingEndpointResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +0100265)
266
267var GetLoggingEndpointResponse_Reason_name = map[int32]string{
268 0: "UNDEFINED_REASON",
269 1: "UNKNOWN_DEVICE",
270 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100271 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100272}
273
274var GetLoggingEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100275 "UNDEFINED_REASON": 0,
276 "UNKNOWN_DEVICE": 1,
277 "INTERNAL_ERROR": 2,
278 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +0100279}
280
281func (x GetLoggingEndpointResponse_Reason) String() string {
282 return proto.EnumName(GetLoggingEndpointResponse_Reason_name, int32(x))
283}
284
285func (GetLoggingEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100286 return fileDescriptor_eae902e73066286d, []int{13, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100287}
288
289type GetMsgBusEndpointResponse_Reason int32
290
291const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100292 GetMsgBusEndpointResponse_UNDEFINED_REASON GetMsgBusEndpointResponse_Reason = 0
293 GetMsgBusEndpointResponse_INTERNAL_ERROR GetMsgBusEndpointResponse_Reason = 1
294 GetMsgBusEndpointResponse_DEVICE_UNREACHABLE GetMsgBusEndpointResponse_Reason = 2
amit.ghoshae473032021-01-10 11:59:10 +0100295)
296
297var GetMsgBusEndpointResponse_Reason_name = map[int32]string{
298 0: "UNDEFINED_REASON",
299 1: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100300 2: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100301}
302
303var GetMsgBusEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100304 "UNDEFINED_REASON": 0,
305 "INTERNAL_ERROR": 1,
306 "DEVICE_UNREACHABLE": 2,
amit.ghoshae473032021-01-10 11:59:10 +0100307}
308
309func (x GetMsgBusEndpointResponse_Reason) String() string {
310 return proto.EnumName(GetMsgBusEndpointResponse_Reason_name, int32(x))
311}
312
313func (GetMsgBusEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100314 return fileDescriptor_eae902e73066286d, []int{15, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100315}
316
317type SetLogLevelResponse_Reason int32
318
319const (
320 SetLogLevelResponse_UNDEFINED_REASON SetLogLevelResponse_Reason = 0
321 SetLogLevelResponse_UNKNOWN_DEVICE SetLogLevelResponse_Reason = 1
322 SetLogLevelResponse_INTERNAL_ERROR SetLogLevelResponse_Reason = 2
323 SetLogLevelResponse_UNKNOWN_LOG_ENTITY SetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100324 SetLogLevelResponse_DEVICE_UNREACHABLE SetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100325)
326
327var SetLogLevelResponse_Reason_name = map[int32]string{
328 0: "UNDEFINED_REASON",
329 1: "UNKNOWN_DEVICE",
330 2: "INTERNAL_ERROR",
331 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100332 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100333}
334
335var SetLogLevelResponse_Reason_value = map[string]int32{
336 "UNDEFINED_REASON": 0,
337 "UNKNOWN_DEVICE": 1,
338 "INTERNAL_ERROR": 2,
339 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100340 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100341}
342
343func (x SetLogLevelResponse_Reason) String() string {
344 return proto.EnumName(SetLogLevelResponse_Reason_name, int32(x))
345}
346
347func (SetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100348 return fileDescriptor_eae902e73066286d, []int{18, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100349}
350
351type GetLogLevelResponse_Reason int32
352
353const (
354 GetLogLevelResponse_UNDEFINED_REASON GetLogLevelResponse_Reason = 0
355 GetLogLevelResponse_UNKNOWN_DEVICE GetLogLevelResponse_Reason = 1
356 GetLogLevelResponse_INTERNAL_ERROR GetLogLevelResponse_Reason = 2
357 GetLogLevelResponse_UNKNOWN_LOG_ENTITY GetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100358 GetLogLevelResponse_DEVICE_UNREACHABLE GetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100359)
360
361var GetLogLevelResponse_Reason_name = map[int32]string{
362 0: "UNDEFINED_REASON",
363 1: "UNKNOWN_DEVICE",
364 2: "INTERNAL_ERROR",
365 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100366 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100367}
368
369var GetLogLevelResponse_Reason_value = map[string]int32{
370 "UNDEFINED_REASON": 0,
371 "UNKNOWN_DEVICE": 1,
372 "INTERNAL_ERROR": 2,
373 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100374 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100375}
376
377func (x GetLogLevelResponse_Reason) String() string {
378 return proto.EnumName(GetLogLevelResponse_Reason_name, int32(x))
379}
380
381func (GetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100382 return fileDescriptor_eae902e73066286d, []int{20, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100383}
384
Amit Ghosh09f28362020-06-12 21:52:19 +0100385type PhysicalInventoryRequest struct {
386 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
387 XXX_NoUnkeyedLiteral struct{} `json:"-"`
388 XXX_unrecognized []byte `json:"-"`
389 XXX_sizecache int32 `json:"-"`
390}
391
392func (m *PhysicalInventoryRequest) Reset() { *m = PhysicalInventoryRequest{} }
393func (m *PhysicalInventoryRequest) String() string { return proto.CompactTextString(m) }
394func (*PhysicalInventoryRequest) ProtoMessage() {}
395func (*PhysicalInventoryRequest) Descriptor() ([]byte, []int) {
396 return fileDescriptor_eae902e73066286d, []int{0}
397}
398
399func (m *PhysicalInventoryRequest) XXX_Unmarshal(b []byte) error {
400 return xxx_messageInfo_PhysicalInventoryRequest.Unmarshal(m, b)
401}
402func (m *PhysicalInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
403 return xxx_messageInfo_PhysicalInventoryRequest.Marshal(b, m, deterministic)
404}
405func (m *PhysicalInventoryRequest) XXX_Merge(src proto.Message) {
406 xxx_messageInfo_PhysicalInventoryRequest.Merge(m, src)
407}
408func (m *PhysicalInventoryRequest) XXX_Size() int {
409 return xxx_messageInfo_PhysicalInventoryRequest.Size(m)
410}
411func (m *PhysicalInventoryRequest) XXX_DiscardUnknown() {
412 xxx_messageInfo_PhysicalInventoryRequest.DiscardUnknown(m)
413}
414
415var xxx_messageInfo_PhysicalInventoryRequest proto.InternalMessageInfo
416
417func (m *PhysicalInventoryRequest) GetDeviceUuid() *Uuid {
418 if m != nil {
419 return m.DeviceUuid
420 }
421 return nil
422}
423
424type PhysicalInventoryResponse struct {
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100425 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
426 Reason PhysicalInventoryResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.PhysicalInventoryResponse_Reason" json:"reason,omitempty"`
427 Inventory *Hardware `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
428 // It is recommended that upstream components/users of the DMI interface
429 // do not really interpret/parse the reson_detail, but rather use it for
430 // display purposes to the end user or use it for logging the error
431 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
432 XXX_NoUnkeyedLiteral struct{} `json:"-"`
433 XXX_unrecognized []byte `json:"-"`
434 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100435}
436
437func (m *PhysicalInventoryResponse) Reset() { *m = PhysicalInventoryResponse{} }
438func (m *PhysicalInventoryResponse) String() string { return proto.CompactTextString(m) }
439func (*PhysicalInventoryResponse) ProtoMessage() {}
440func (*PhysicalInventoryResponse) Descriptor() ([]byte, []int) {
441 return fileDescriptor_eae902e73066286d, []int{1}
442}
443
444func (m *PhysicalInventoryResponse) XXX_Unmarshal(b []byte) error {
445 return xxx_messageInfo_PhysicalInventoryResponse.Unmarshal(m, b)
446}
447func (m *PhysicalInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
448 return xxx_messageInfo_PhysicalInventoryResponse.Marshal(b, m, deterministic)
449}
450func (m *PhysicalInventoryResponse) XXX_Merge(src proto.Message) {
451 xxx_messageInfo_PhysicalInventoryResponse.Merge(m, src)
452}
453func (m *PhysicalInventoryResponse) XXX_Size() int {
454 return xxx_messageInfo_PhysicalInventoryResponse.Size(m)
455}
456func (m *PhysicalInventoryResponse) XXX_DiscardUnknown() {
457 xxx_messageInfo_PhysicalInventoryResponse.DiscardUnknown(m)
458}
459
460var xxx_messageInfo_PhysicalInventoryResponse proto.InternalMessageInfo
461
462func (m *PhysicalInventoryResponse) GetStatus() Status {
463 if m != nil {
464 return m.Status
465 }
466 return Status_UNDEFINED_STATUS
467}
468
amit.ghoshae473032021-01-10 11:59:10 +0100469func (m *PhysicalInventoryResponse) GetReason() PhysicalInventoryResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100470 if m != nil {
471 return m.Reason
472 }
amit.ghoshae473032021-01-10 11:59:10 +0100473 return PhysicalInventoryResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100474}
475
476func (m *PhysicalInventoryResponse) GetInventory() *Hardware {
477 if m != nil {
478 return m.Inventory
479 }
480 return nil
481}
482
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100483func (m *PhysicalInventoryResponse) GetReasonDetail() string {
484 if m != nil {
485 return m.ReasonDetail
486 }
487 return ""
488}
489
Amit Ghosh09f28362020-06-12 21:52:19 +0100490type HWComponentInfoGetRequest struct {
491 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
492 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
493 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
494 XXX_NoUnkeyedLiteral struct{} `json:"-"`
495 XXX_unrecognized []byte `json:"-"`
496 XXX_sizecache int32 `json:"-"`
497}
498
499func (m *HWComponentInfoGetRequest) Reset() { *m = HWComponentInfoGetRequest{} }
500func (m *HWComponentInfoGetRequest) String() string { return proto.CompactTextString(m) }
501func (*HWComponentInfoGetRequest) ProtoMessage() {}
502func (*HWComponentInfoGetRequest) Descriptor() ([]byte, []int) {
503 return fileDescriptor_eae902e73066286d, []int{2}
504}
505
506func (m *HWComponentInfoGetRequest) XXX_Unmarshal(b []byte) error {
507 return xxx_messageInfo_HWComponentInfoGetRequest.Unmarshal(m, b)
508}
509func (m *HWComponentInfoGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
510 return xxx_messageInfo_HWComponentInfoGetRequest.Marshal(b, m, deterministic)
511}
512func (m *HWComponentInfoGetRequest) XXX_Merge(src proto.Message) {
513 xxx_messageInfo_HWComponentInfoGetRequest.Merge(m, src)
514}
515func (m *HWComponentInfoGetRequest) XXX_Size() int {
516 return xxx_messageInfo_HWComponentInfoGetRequest.Size(m)
517}
518func (m *HWComponentInfoGetRequest) XXX_DiscardUnknown() {
519 xxx_messageInfo_HWComponentInfoGetRequest.DiscardUnknown(m)
520}
521
522var xxx_messageInfo_HWComponentInfoGetRequest proto.InternalMessageInfo
523
524func (m *HWComponentInfoGetRequest) GetDeviceUuid() *Uuid {
525 if m != nil {
526 return m.DeviceUuid
527 }
528 return nil
529}
530
531func (m *HWComponentInfoGetRequest) GetComponentUuid() *Uuid {
532 if m != nil {
533 return m.ComponentUuid
534 }
535 return nil
536}
537
538func (m *HWComponentInfoGetRequest) GetComponentName() string {
539 if m != nil {
540 return m.ComponentName
541 }
542 return ""
543}
544
aghoshc301dcd2020-09-03 16:55:34 +0100545type HWComponentInfoGetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100546 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
547 Reason HWComponentInfoGetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoGetResponse_Reason" json:"reason,omitempty"`
548 Component *Component `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100549 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100550 XXX_NoUnkeyedLiteral struct{} `json:"-"`
551 XXX_unrecognized []byte `json:"-"`
552 XXX_sizecache int32 `json:"-"`
aghoshc301dcd2020-09-03 16:55:34 +0100553}
554
555func (m *HWComponentInfoGetResponse) Reset() { *m = HWComponentInfoGetResponse{} }
556func (m *HWComponentInfoGetResponse) String() string { return proto.CompactTextString(m) }
557func (*HWComponentInfoGetResponse) ProtoMessage() {}
558func (*HWComponentInfoGetResponse) Descriptor() ([]byte, []int) {
559 return fileDescriptor_eae902e73066286d, []int{3}
560}
561
562func (m *HWComponentInfoGetResponse) XXX_Unmarshal(b []byte) error {
563 return xxx_messageInfo_HWComponentInfoGetResponse.Unmarshal(m, b)
564}
565func (m *HWComponentInfoGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
566 return xxx_messageInfo_HWComponentInfoGetResponse.Marshal(b, m, deterministic)
567}
568func (m *HWComponentInfoGetResponse) XXX_Merge(src proto.Message) {
569 xxx_messageInfo_HWComponentInfoGetResponse.Merge(m, src)
570}
571func (m *HWComponentInfoGetResponse) XXX_Size() int {
572 return xxx_messageInfo_HWComponentInfoGetResponse.Size(m)
573}
574func (m *HWComponentInfoGetResponse) XXX_DiscardUnknown() {
575 xxx_messageInfo_HWComponentInfoGetResponse.DiscardUnknown(m)
576}
577
578var xxx_messageInfo_HWComponentInfoGetResponse proto.InternalMessageInfo
579
580func (m *HWComponentInfoGetResponse) GetStatus() Status {
581 if m != nil {
582 return m.Status
583 }
584 return Status_UNDEFINED_STATUS
585}
586
amit.ghoshae473032021-01-10 11:59:10 +0100587func (m *HWComponentInfoGetResponse) GetReason() HWComponentInfoGetResponse_Reason {
aghoshc301dcd2020-09-03 16:55:34 +0100588 if m != nil {
589 return m.Reason
590 }
amit.ghoshae473032021-01-10 11:59:10 +0100591 return HWComponentInfoGetResponse_UNDEFINED_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100592}
593
594func (m *HWComponentInfoGetResponse) GetComponent() *Component {
595 if m != nil {
596 return m.Component
597 }
598 return nil
599}
600
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100601func (m *HWComponentInfoGetResponse) GetReasonDetail() string {
602 if m != nil {
603 return m.ReasonDetail
604 }
605 return ""
606}
607
Amit Ghosh09f28362020-06-12 21:52:19 +0100608type HWComponentInfoSetRequest struct {
609 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
610 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
611 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
612 Changes *ModifiableComponent `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"`
613 XXX_NoUnkeyedLiteral struct{} `json:"-"`
614 XXX_unrecognized []byte `json:"-"`
615 XXX_sizecache int32 `json:"-"`
616}
617
618func (m *HWComponentInfoSetRequest) Reset() { *m = HWComponentInfoSetRequest{} }
619func (m *HWComponentInfoSetRequest) String() string { return proto.CompactTextString(m) }
620func (*HWComponentInfoSetRequest) ProtoMessage() {}
621func (*HWComponentInfoSetRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100622 return fileDescriptor_eae902e73066286d, []int{4}
Amit Ghosh09f28362020-06-12 21:52:19 +0100623}
624
625func (m *HWComponentInfoSetRequest) XXX_Unmarshal(b []byte) error {
626 return xxx_messageInfo_HWComponentInfoSetRequest.Unmarshal(m, b)
627}
628func (m *HWComponentInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
629 return xxx_messageInfo_HWComponentInfoSetRequest.Marshal(b, m, deterministic)
630}
631func (m *HWComponentInfoSetRequest) XXX_Merge(src proto.Message) {
632 xxx_messageInfo_HWComponentInfoSetRequest.Merge(m, src)
633}
634func (m *HWComponentInfoSetRequest) XXX_Size() int {
635 return xxx_messageInfo_HWComponentInfoSetRequest.Size(m)
636}
637func (m *HWComponentInfoSetRequest) XXX_DiscardUnknown() {
638 xxx_messageInfo_HWComponentInfoSetRequest.DiscardUnknown(m)
639}
640
641var xxx_messageInfo_HWComponentInfoSetRequest proto.InternalMessageInfo
642
643func (m *HWComponentInfoSetRequest) GetDeviceUuid() *Uuid {
644 if m != nil {
645 return m.DeviceUuid
646 }
647 return nil
648}
649
650func (m *HWComponentInfoSetRequest) GetComponentUuid() *Uuid {
651 if m != nil {
652 return m.ComponentUuid
653 }
654 return nil
655}
656
657func (m *HWComponentInfoSetRequest) GetComponentName() string {
658 if m != nil {
659 return m.ComponentName
660 }
661 return ""
662}
663
664func (m *HWComponentInfoSetRequest) GetChanges() *ModifiableComponent {
665 if m != nil {
666 return m.Changes
667 }
668 return nil
669}
670
671type HWComponentInfoSetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100672 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
673 Reason HWComponentInfoSetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoSetResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100674 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100675 XXX_NoUnkeyedLiteral struct{} `json:"-"`
676 XXX_unrecognized []byte `json:"-"`
677 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100678}
679
680func (m *HWComponentInfoSetResponse) Reset() { *m = HWComponentInfoSetResponse{} }
681func (m *HWComponentInfoSetResponse) String() string { return proto.CompactTextString(m) }
682func (*HWComponentInfoSetResponse) ProtoMessage() {}
683func (*HWComponentInfoSetResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100684 return fileDescriptor_eae902e73066286d, []int{5}
Amit Ghosh09f28362020-06-12 21:52:19 +0100685}
686
687func (m *HWComponentInfoSetResponse) XXX_Unmarshal(b []byte) error {
688 return xxx_messageInfo_HWComponentInfoSetResponse.Unmarshal(m, b)
689}
690func (m *HWComponentInfoSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
691 return xxx_messageInfo_HWComponentInfoSetResponse.Marshal(b, m, deterministic)
692}
693func (m *HWComponentInfoSetResponse) XXX_Merge(src proto.Message) {
694 xxx_messageInfo_HWComponentInfoSetResponse.Merge(m, src)
695}
696func (m *HWComponentInfoSetResponse) XXX_Size() int {
697 return xxx_messageInfo_HWComponentInfoSetResponse.Size(m)
698}
699func (m *HWComponentInfoSetResponse) XXX_DiscardUnknown() {
700 xxx_messageInfo_HWComponentInfoSetResponse.DiscardUnknown(m)
701}
702
703var xxx_messageInfo_HWComponentInfoSetResponse proto.InternalMessageInfo
704
705func (m *HWComponentInfoSetResponse) GetStatus() Status {
706 if m != nil {
707 return m.Status
708 }
709 return Status_UNDEFINED_STATUS
710}
711
amit.ghoshae473032021-01-10 11:59:10 +0100712func (m *HWComponentInfoSetResponse) GetReason() HWComponentInfoSetResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100713 if m != nil {
714 return m.Reason
715 }
amit.ghoshae473032021-01-10 11:59:10 +0100716 return HWComponentInfoSetResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100717}
718
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100719func (m *HWComponentInfoSetResponse) GetReasonDetail() string {
720 if m != nil {
721 return m.ReasonDetail
722 }
723 return ""
724}
725
Amit Ghosh09f28362020-06-12 21:52:19 +0100726type StartManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100727 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
728 Reason StartManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartManagingDeviceResponse_Reason" json:"reason,omitempty"`
729 DeviceUuid *Uuid `protobuf:"bytes,3,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100730 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100731 XXX_NoUnkeyedLiteral struct{} `json:"-"`
732 XXX_unrecognized []byte `json:"-"`
733 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100734}
735
736func (m *StartManagingDeviceResponse) Reset() { *m = StartManagingDeviceResponse{} }
737func (m *StartManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
738func (*StartManagingDeviceResponse) ProtoMessage() {}
739func (*StartManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100740 return fileDescriptor_eae902e73066286d, []int{6}
Amit Ghosh09f28362020-06-12 21:52:19 +0100741}
742
743func (m *StartManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
744 return xxx_messageInfo_StartManagingDeviceResponse.Unmarshal(m, b)
745}
746func (m *StartManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
747 return xxx_messageInfo_StartManagingDeviceResponse.Marshal(b, m, deterministic)
748}
749func (m *StartManagingDeviceResponse) XXX_Merge(src proto.Message) {
750 xxx_messageInfo_StartManagingDeviceResponse.Merge(m, src)
751}
752func (m *StartManagingDeviceResponse) XXX_Size() int {
753 return xxx_messageInfo_StartManagingDeviceResponse.Size(m)
754}
755func (m *StartManagingDeviceResponse) XXX_DiscardUnknown() {
756 xxx_messageInfo_StartManagingDeviceResponse.DiscardUnknown(m)
757}
758
759var xxx_messageInfo_StartManagingDeviceResponse proto.InternalMessageInfo
760
761func (m *StartManagingDeviceResponse) GetStatus() Status {
762 if m != nil {
763 return m.Status
764 }
765 return Status_UNDEFINED_STATUS
766}
767
amit.ghoshae473032021-01-10 11:59:10 +0100768func (m *StartManagingDeviceResponse) GetReason() StartManagingDeviceResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100769 if m != nil {
770 return m.Reason
771 }
amit.ghoshae473032021-01-10 11:59:10 +0100772 return StartManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100773}
774
775func (m *StartManagingDeviceResponse) GetDeviceUuid() *Uuid {
776 if m != nil {
777 return m.DeviceUuid
778 }
779 return nil
780}
781
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100782func (m *StartManagingDeviceResponse) GetReasonDetail() string {
783 if m != nil {
784 return m.ReasonDetail
785 }
786 return ""
787}
788
Amit Ghosh366228e2020-07-06 13:46:42 +0100789type StopManagingDeviceRequest struct {
790 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
791 XXX_NoUnkeyedLiteral struct{} `json:"-"`
792 XXX_unrecognized []byte `json:"-"`
793 XXX_sizecache int32 `json:"-"`
794}
795
796func (m *StopManagingDeviceRequest) Reset() { *m = StopManagingDeviceRequest{} }
797func (m *StopManagingDeviceRequest) String() string { return proto.CompactTextString(m) }
798func (*StopManagingDeviceRequest) ProtoMessage() {}
799func (*StopManagingDeviceRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100800 return fileDescriptor_eae902e73066286d, []int{7}
Amit Ghosh366228e2020-07-06 13:46:42 +0100801}
802
803func (m *StopManagingDeviceRequest) XXX_Unmarshal(b []byte) error {
804 return xxx_messageInfo_StopManagingDeviceRequest.Unmarshal(m, b)
805}
806func (m *StopManagingDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
807 return xxx_messageInfo_StopManagingDeviceRequest.Marshal(b, m, deterministic)
808}
809func (m *StopManagingDeviceRequest) XXX_Merge(src proto.Message) {
810 xxx_messageInfo_StopManagingDeviceRequest.Merge(m, src)
811}
812func (m *StopManagingDeviceRequest) XXX_Size() int {
813 return xxx_messageInfo_StopManagingDeviceRequest.Size(m)
814}
815func (m *StopManagingDeviceRequest) XXX_DiscardUnknown() {
816 xxx_messageInfo_StopManagingDeviceRequest.DiscardUnknown(m)
817}
818
819var xxx_messageInfo_StopManagingDeviceRequest proto.InternalMessageInfo
820
821func (m *StopManagingDeviceRequest) GetName() string {
822 if m != nil {
823 return m.Name
824 }
825 return ""
826}
827
828type StopManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100829 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
830 Reason StopManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StopManagingDeviceResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100831 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100832 XXX_NoUnkeyedLiteral struct{} `json:"-"`
833 XXX_unrecognized []byte `json:"-"`
834 XXX_sizecache int32 `json:"-"`
Amit Ghosh366228e2020-07-06 13:46:42 +0100835}
836
837func (m *StopManagingDeviceResponse) Reset() { *m = StopManagingDeviceResponse{} }
838func (m *StopManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
839func (*StopManagingDeviceResponse) ProtoMessage() {}
840func (*StopManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100841 return fileDescriptor_eae902e73066286d, []int{8}
Amit Ghosh366228e2020-07-06 13:46:42 +0100842}
843
844func (m *StopManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
845 return xxx_messageInfo_StopManagingDeviceResponse.Unmarshal(m, b)
846}
847func (m *StopManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
848 return xxx_messageInfo_StopManagingDeviceResponse.Marshal(b, m, deterministic)
849}
850func (m *StopManagingDeviceResponse) XXX_Merge(src proto.Message) {
851 xxx_messageInfo_StopManagingDeviceResponse.Merge(m, src)
852}
853func (m *StopManagingDeviceResponse) XXX_Size() int {
854 return xxx_messageInfo_StopManagingDeviceResponse.Size(m)
855}
856func (m *StopManagingDeviceResponse) XXX_DiscardUnknown() {
857 xxx_messageInfo_StopManagingDeviceResponse.DiscardUnknown(m)
858}
859
860var xxx_messageInfo_StopManagingDeviceResponse proto.InternalMessageInfo
861
862func (m *StopManagingDeviceResponse) GetStatus() Status {
863 if m != nil {
864 return m.Status
865 }
866 return Status_UNDEFINED_STATUS
867}
868
amit.ghoshae473032021-01-10 11:59:10 +0100869func (m *StopManagingDeviceResponse) GetReason() StopManagingDeviceResponse_Reason {
Amit Ghosh366228e2020-07-06 13:46:42 +0100870 if m != nil {
871 return m.Reason
872 }
amit.ghoshae473032021-01-10 11:59:10 +0100873 return StopManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh366228e2020-07-06 13:46:42 +0100874}
875
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100876func (m *StopManagingDeviceResponse) GetReasonDetail() string {
877 if m != nil {
878 return m.ReasonDetail
879 }
880 return ""
881}
882
amit.ghosh0c687412021-03-24 19:01:08 +0100883type ManagedDeviceInfo struct {
884 Info *ModifiableComponent `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
885 DeviceUuid *Uuid `protobuf:"bytes,2,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
886 XXX_NoUnkeyedLiteral struct{} `json:"-"`
887 XXX_unrecognized []byte `json:"-"`
888 XXX_sizecache int32 `json:"-"`
889}
890
891func (m *ManagedDeviceInfo) Reset() { *m = ManagedDeviceInfo{} }
892func (m *ManagedDeviceInfo) String() string { return proto.CompactTextString(m) }
893func (*ManagedDeviceInfo) ProtoMessage() {}
894func (*ManagedDeviceInfo) Descriptor() ([]byte, []int) {
895 return fileDescriptor_eae902e73066286d, []int{9}
896}
897
898func (m *ManagedDeviceInfo) XXX_Unmarshal(b []byte) error {
899 return xxx_messageInfo_ManagedDeviceInfo.Unmarshal(m, b)
900}
901func (m *ManagedDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
902 return xxx_messageInfo_ManagedDeviceInfo.Marshal(b, m, deterministic)
903}
904func (m *ManagedDeviceInfo) XXX_Merge(src proto.Message) {
905 xxx_messageInfo_ManagedDeviceInfo.Merge(m, src)
906}
907func (m *ManagedDeviceInfo) XXX_Size() int {
908 return xxx_messageInfo_ManagedDeviceInfo.Size(m)
909}
910func (m *ManagedDeviceInfo) XXX_DiscardUnknown() {
911 xxx_messageInfo_ManagedDeviceInfo.DiscardUnknown(m)
912}
913
914var xxx_messageInfo_ManagedDeviceInfo proto.InternalMessageInfo
915
916func (m *ManagedDeviceInfo) GetInfo() *ModifiableComponent {
917 if m != nil {
918 return m.Info
919 }
920 return nil
921}
922
923func (m *ManagedDeviceInfo) GetDeviceUuid() *Uuid {
924 if m != nil {
925 return m.DeviceUuid
926 }
927 return nil
928}
929
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200930type ManagedDevicesResponse struct {
amit.ghosh0c687412021-03-24 19:01:08 +0100931 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
932 Reason ManagedDevicesResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.ManagedDevicesResponse_Reason" json:"reason,omitempty"`
933 Devices []*ManagedDeviceInfo `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
934 XXX_NoUnkeyedLiteral struct{} `json:"-"`
935 XXX_unrecognized []byte `json:"-"`
936 XXX_sizecache int32 `json:"-"`
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200937}
938
939func (m *ManagedDevicesResponse) Reset() { *m = ManagedDevicesResponse{} }
940func (m *ManagedDevicesResponse) String() string { return proto.CompactTextString(m) }
941func (*ManagedDevicesResponse) ProtoMessage() {}
942func (*ManagedDevicesResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100943 return fileDescriptor_eae902e73066286d, []int{10}
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200944}
945
946func (m *ManagedDevicesResponse) XXX_Unmarshal(b []byte) error {
947 return xxx_messageInfo_ManagedDevicesResponse.Unmarshal(m, b)
948}
949func (m *ManagedDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
950 return xxx_messageInfo_ManagedDevicesResponse.Marshal(b, m, deterministic)
951}
952func (m *ManagedDevicesResponse) XXX_Merge(src proto.Message) {
953 xxx_messageInfo_ManagedDevicesResponse.Merge(m, src)
954}
955func (m *ManagedDevicesResponse) XXX_Size() int {
956 return xxx_messageInfo_ManagedDevicesResponse.Size(m)
957}
958func (m *ManagedDevicesResponse) XXX_DiscardUnknown() {
959 xxx_messageInfo_ManagedDevicesResponse.DiscardUnknown(m)
960}
961
962var xxx_messageInfo_ManagedDevicesResponse proto.InternalMessageInfo
963
amit.ghosh0c687412021-03-24 19:01:08 +0100964func (m *ManagedDevicesResponse) GetStatus() Status {
965 if m != nil {
966 return m.Status
967 }
968 return Status_UNDEFINED_STATUS
969}
970
971func (m *ManagedDevicesResponse) GetReason() ManagedDevicesResponse_Reason {
972 if m != nil {
973 return m.Reason
974 }
975 return ManagedDevicesResponse_UNDEFINED_REASON
976}
977
978func (m *ManagedDevicesResponse) GetDevices() []*ManagedDeviceInfo {
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200979 if m != nil {
980 return m.Devices
981 }
982 return nil
983}
984
amit.ghosh188a84f2020-09-27 20:59:25 +0200985type SetLoggingEndpointRequest struct {
986 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
987 LoggingEndpoint string `protobuf:"bytes,2,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
988 LoggingProtocol string `protobuf:"bytes,3,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
989 XXX_NoUnkeyedLiteral struct{} `json:"-"`
990 XXX_unrecognized []byte `json:"-"`
991 XXX_sizecache int32 `json:"-"`
992}
993
994func (m *SetLoggingEndpointRequest) Reset() { *m = SetLoggingEndpointRequest{} }
995func (m *SetLoggingEndpointRequest) String() string { return proto.CompactTextString(m) }
996func (*SetLoggingEndpointRequest) ProtoMessage() {}
997func (*SetLoggingEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100998 return fileDescriptor_eae902e73066286d, []int{11}
amit.ghosh188a84f2020-09-27 20:59:25 +0200999}
1000
1001func (m *SetLoggingEndpointRequest) XXX_Unmarshal(b []byte) error {
1002 return xxx_messageInfo_SetLoggingEndpointRequest.Unmarshal(m, b)
1003}
1004func (m *SetLoggingEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1005 return xxx_messageInfo_SetLoggingEndpointRequest.Marshal(b, m, deterministic)
1006}
1007func (m *SetLoggingEndpointRequest) XXX_Merge(src proto.Message) {
1008 xxx_messageInfo_SetLoggingEndpointRequest.Merge(m, src)
1009}
1010func (m *SetLoggingEndpointRequest) XXX_Size() int {
1011 return xxx_messageInfo_SetLoggingEndpointRequest.Size(m)
1012}
1013func (m *SetLoggingEndpointRequest) XXX_DiscardUnknown() {
1014 xxx_messageInfo_SetLoggingEndpointRequest.DiscardUnknown(m)
1015}
1016
1017var xxx_messageInfo_SetLoggingEndpointRequest proto.InternalMessageInfo
1018
1019func (m *SetLoggingEndpointRequest) GetDeviceUuid() *Uuid {
1020 if m != nil {
1021 return m.DeviceUuid
1022 }
1023 return nil
1024}
1025
1026func (m *SetLoggingEndpointRequest) GetLoggingEndpoint() string {
1027 if m != nil {
1028 return m.LoggingEndpoint
1029 }
1030 return ""
1031}
1032
1033func (m *SetLoggingEndpointRequest) GetLoggingProtocol() string {
1034 if m != nil {
1035 return m.LoggingProtocol
1036 }
1037 return ""
1038}
1039
1040type SetRemoteEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001041 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1042 Reason SetRemoteEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetRemoteEndpointResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001043 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001044 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1045 XXX_unrecognized []byte `json:"-"`
1046 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001047}
1048
1049func (m *SetRemoteEndpointResponse) Reset() { *m = SetRemoteEndpointResponse{} }
1050func (m *SetRemoteEndpointResponse) String() string { return proto.CompactTextString(m) }
1051func (*SetRemoteEndpointResponse) ProtoMessage() {}
1052func (*SetRemoteEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001053 return fileDescriptor_eae902e73066286d, []int{12}
amit.ghosh188a84f2020-09-27 20:59:25 +02001054}
1055
1056func (m *SetRemoteEndpointResponse) XXX_Unmarshal(b []byte) error {
1057 return xxx_messageInfo_SetRemoteEndpointResponse.Unmarshal(m, b)
1058}
1059func (m *SetRemoteEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1060 return xxx_messageInfo_SetRemoteEndpointResponse.Marshal(b, m, deterministic)
1061}
1062func (m *SetRemoteEndpointResponse) XXX_Merge(src proto.Message) {
1063 xxx_messageInfo_SetRemoteEndpointResponse.Merge(m, src)
1064}
1065func (m *SetRemoteEndpointResponse) XXX_Size() int {
1066 return xxx_messageInfo_SetRemoteEndpointResponse.Size(m)
1067}
1068func (m *SetRemoteEndpointResponse) XXX_DiscardUnknown() {
1069 xxx_messageInfo_SetRemoteEndpointResponse.DiscardUnknown(m)
1070}
1071
1072var xxx_messageInfo_SetRemoteEndpointResponse proto.InternalMessageInfo
1073
1074func (m *SetRemoteEndpointResponse) GetStatus() Status {
1075 if m != nil {
1076 return m.Status
1077 }
1078 return Status_UNDEFINED_STATUS
1079}
1080
amit.ghoshae473032021-01-10 11:59:10 +01001081func (m *SetRemoteEndpointResponse) GetReason() SetRemoteEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001082 if m != nil {
1083 return m.Reason
1084 }
amit.ghoshae473032021-01-10 11:59:10 +01001085 return SetRemoteEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001086}
1087
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001088func (m *SetRemoteEndpointResponse) GetReasonDetail() string {
1089 if m != nil {
1090 return m.ReasonDetail
1091 }
1092 return ""
1093}
1094
amit.ghosh188a84f2020-09-27 20:59:25 +02001095type GetLoggingEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001096 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1097 Reason GetLoggingEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetLoggingEndpointResponse_Reason" json:"reason,omitempty"`
1098 LoggingEndpoint string `protobuf:"bytes,3,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1099 LoggingProtocol string `protobuf:"bytes,4,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001100 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001101 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1102 XXX_unrecognized []byte `json:"-"`
1103 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001104}
1105
1106func (m *GetLoggingEndpointResponse) Reset() { *m = GetLoggingEndpointResponse{} }
1107func (m *GetLoggingEndpointResponse) String() string { return proto.CompactTextString(m) }
1108func (*GetLoggingEndpointResponse) ProtoMessage() {}
1109func (*GetLoggingEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001110 return fileDescriptor_eae902e73066286d, []int{13}
amit.ghosh188a84f2020-09-27 20:59:25 +02001111}
1112
1113func (m *GetLoggingEndpointResponse) XXX_Unmarshal(b []byte) error {
1114 return xxx_messageInfo_GetLoggingEndpointResponse.Unmarshal(m, b)
1115}
1116func (m *GetLoggingEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1117 return xxx_messageInfo_GetLoggingEndpointResponse.Marshal(b, m, deterministic)
1118}
1119func (m *GetLoggingEndpointResponse) XXX_Merge(src proto.Message) {
1120 xxx_messageInfo_GetLoggingEndpointResponse.Merge(m, src)
1121}
1122func (m *GetLoggingEndpointResponse) XXX_Size() int {
1123 return xxx_messageInfo_GetLoggingEndpointResponse.Size(m)
1124}
1125func (m *GetLoggingEndpointResponse) XXX_DiscardUnknown() {
1126 xxx_messageInfo_GetLoggingEndpointResponse.DiscardUnknown(m)
1127}
1128
1129var xxx_messageInfo_GetLoggingEndpointResponse proto.InternalMessageInfo
1130
1131func (m *GetLoggingEndpointResponse) GetStatus() Status {
1132 if m != nil {
1133 return m.Status
1134 }
1135 return Status_UNDEFINED_STATUS
1136}
1137
amit.ghoshae473032021-01-10 11:59:10 +01001138func (m *GetLoggingEndpointResponse) GetReason() GetLoggingEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001139 if m != nil {
1140 return m.Reason
1141 }
amit.ghoshae473032021-01-10 11:59:10 +01001142 return GetLoggingEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001143}
1144
1145func (m *GetLoggingEndpointResponse) GetLoggingEndpoint() string {
1146 if m != nil {
1147 return m.LoggingEndpoint
1148 }
1149 return ""
1150}
1151
1152func (m *GetLoggingEndpointResponse) GetLoggingProtocol() string {
1153 if m != nil {
1154 return m.LoggingProtocol
1155 }
1156 return ""
1157}
1158
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001159func (m *GetLoggingEndpointResponse) GetReasonDetail() string {
1160 if m != nil {
1161 return m.ReasonDetail
1162 }
1163 return ""
1164}
1165
amit.ghosh188a84f2020-09-27 20:59:25 +02001166type SetMsgBusEndpointRequest struct {
1167 MsgbusEndpoint string `protobuf:"bytes,1,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1168 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1169 XXX_unrecognized []byte `json:"-"`
1170 XXX_sizecache int32 `json:"-"`
1171}
1172
1173func (m *SetMsgBusEndpointRequest) Reset() { *m = SetMsgBusEndpointRequest{} }
1174func (m *SetMsgBusEndpointRequest) String() string { return proto.CompactTextString(m) }
1175func (*SetMsgBusEndpointRequest) ProtoMessage() {}
1176func (*SetMsgBusEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001177 return fileDescriptor_eae902e73066286d, []int{14}
amit.ghosh188a84f2020-09-27 20:59:25 +02001178}
1179
1180func (m *SetMsgBusEndpointRequest) XXX_Unmarshal(b []byte) error {
1181 return xxx_messageInfo_SetMsgBusEndpointRequest.Unmarshal(m, b)
1182}
1183func (m *SetMsgBusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1184 return xxx_messageInfo_SetMsgBusEndpointRequest.Marshal(b, m, deterministic)
1185}
1186func (m *SetMsgBusEndpointRequest) XXX_Merge(src proto.Message) {
1187 xxx_messageInfo_SetMsgBusEndpointRequest.Merge(m, src)
1188}
1189func (m *SetMsgBusEndpointRequest) XXX_Size() int {
1190 return xxx_messageInfo_SetMsgBusEndpointRequest.Size(m)
1191}
1192func (m *SetMsgBusEndpointRequest) XXX_DiscardUnknown() {
1193 xxx_messageInfo_SetMsgBusEndpointRequest.DiscardUnknown(m)
1194}
1195
1196var xxx_messageInfo_SetMsgBusEndpointRequest proto.InternalMessageInfo
1197
1198func (m *SetMsgBusEndpointRequest) GetMsgbusEndpoint() string {
1199 if m != nil {
1200 return m.MsgbusEndpoint
1201 }
1202 return ""
1203}
1204
1205type GetMsgBusEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001206 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1207 Reason GetMsgBusEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetMsgBusEndpointResponse_Reason" json:"reason,omitempty"`
1208 MsgbusEndpoint string `protobuf:"bytes,3,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001209 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001210 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1211 XXX_unrecognized []byte `json:"-"`
1212 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001213}
1214
1215func (m *GetMsgBusEndpointResponse) Reset() { *m = GetMsgBusEndpointResponse{} }
1216func (m *GetMsgBusEndpointResponse) String() string { return proto.CompactTextString(m) }
1217func (*GetMsgBusEndpointResponse) ProtoMessage() {}
1218func (*GetMsgBusEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001219 return fileDescriptor_eae902e73066286d, []int{15}
amit.ghosh188a84f2020-09-27 20:59:25 +02001220}
1221
1222func (m *GetMsgBusEndpointResponse) XXX_Unmarshal(b []byte) error {
1223 return xxx_messageInfo_GetMsgBusEndpointResponse.Unmarshal(m, b)
1224}
1225func (m *GetMsgBusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1226 return xxx_messageInfo_GetMsgBusEndpointResponse.Marshal(b, m, deterministic)
1227}
1228func (m *GetMsgBusEndpointResponse) XXX_Merge(src proto.Message) {
1229 xxx_messageInfo_GetMsgBusEndpointResponse.Merge(m, src)
1230}
1231func (m *GetMsgBusEndpointResponse) XXX_Size() int {
1232 return xxx_messageInfo_GetMsgBusEndpointResponse.Size(m)
1233}
1234func (m *GetMsgBusEndpointResponse) XXX_DiscardUnknown() {
1235 xxx_messageInfo_GetMsgBusEndpointResponse.DiscardUnknown(m)
1236}
1237
1238var xxx_messageInfo_GetMsgBusEndpointResponse proto.InternalMessageInfo
1239
1240func (m *GetMsgBusEndpointResponse) GetStatus() Status {
1241 if m != nil {
1242 return m.Status
1243 }
1244 return Status_UNDEFINED_STATUS
1245}
1246
amit.ghoshae473032021-01-10 11:59:10 +01001247func (m *GetMsgBusEndpointResponse) GetReason() GetMsgBusEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001248 if m != nil {
1249 return m.Reason
1250 }
amit.ghoshae473032021-01-10 11:59:10 +01001251 return GetMsgBusEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001252}
1253
1254func (m *GetMsgBusEndpointResponse) GetMsgbusEndpoint() string {
1255 if m != nil {
1256 return m.MsgbusEndpoint
1257 }
1258 return ""
1259}
1260
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001261func (m *GetMsgBusEndpointResponse) GetReasonDetail() string {
1262 if m != nil {
1263 return m.ReasonDetail
1264 }
1265 return ""
1266}
1267
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001268type EntitiesLogLevel struct {
1269 LogLevel LogLevel `protobuf:"varint,1,opt,name=logLevel,proto3,enum=dmi.LogLevel" json:"logLevel,omitempty"`
1270 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1271 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1272 XXX_unrecognized []byte `json:"-"`
1273 XXX_sizecache int32 `json:"-"`
1274}
1275
1276func (m *EntitiesLogLevel) Reset() { *m = EntitiesLogLevel{} }
1277func (m *EntitiesLogLevel) String() string { return proto.CompactTextString(m) }
1278func (*EntitiesLogLevel) ProtoMessage() {}
1279func (*EntitiesLogLevel) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001280 return fileDescriptor_eae902e73066286d, []int{16}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001281}
1282
1283func (m *EntitiesLogLevel) XXX_Unmarshal(b []byte) error {
1284 return xxx_messageInfo_EntitiesLogLevel.Unmarshal(m, b)
1285}
1286func (m *EntitiesLogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1287 return xxx_messageInfo_EntitiesLogLevel.Marshal(b, m, deterministic)
1288}
1289func (m *EntitiesLogLevel) XXX_Merge(src proto.Message) {
1290 xxx_messageInfo_EntitiesLogLevel.Merge(m, src)
1291}
1292func (m *EntitiesLogLevel) XXX_Size() int {
1293 return xxx_messageInfo_EntitiesLogLevel.Size(m)
1294}
1295func (m *EntitiesLogLevel) XXX_DiscardUnknown() {
1296 xxx_messageInfo_EntitiesLogLevel.DiscardUnknown(m)
1297}
1298
1299var xxx_messageInfo_EntitiesLogLevel proto.InternalMessageInfo
1300
1301func (m *EntitiesLogLevel) GetLogLevel() LogLevel {
1302 if m != nil {
1303 return m.LogLevel
1304 }
1305 return LogLevel_TRACE
1306}
1307
1308func (m *EntitiesLogLevel) GetEntities() []string {
1309 if m != nil {
1310 return m.Entities
1311 }
1312 return nil
1313}
1314
1315type SetLogLevelRequest struct {
1316 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1317 Loglevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=loglevels,proto3" json:"loglevels,omitempty"`
1318 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1319 XXX_unrecognized []byte `json:"-"`
1320 XXX_sizecache int32 `json:"-"`
1321}
1322
1323func (m *SetLogLevelRequest) Reset() { *m = SetLogLevelRequest{} }
1324func (m *SetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1325func (*SetLogLevelRequest) ProtoMessage() {}
1326func (*SetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001327 return fileDescriptor_eae902e73066286d, []int{17}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001328}
1329
1330func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1331 return xxx_messageInfo_SetLogLevelRequest.Unmarshal(m, b)
1332}
1333func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1334 return xxx_messageInfo_SetLogLevelRequest.Marshal(b, m, deterministic)
1335}
1336func (m *SetLogLevelRequest) XXX_Merge(src proto.Message) {
1337 xxx_messageInfo_SetLogLevelRequest.Merge(m, src)
1338}
1339func (m *SetLogLevelRequest) XXX_Size() int {
1340 return xxx_messageInfo_SetLogLevelRequest.Size(m)
1341}
1342func (m *SetLogLevelRequest) XXX_DiscardUnknown() {
1343 xxx_messageInfo_SetLogLevelRequest.DiscardUnknown(m)
1344}
1345
1346var xxx_messageInfo_SetLogLevelRequest proto.InternalMessageInfo
1347
1348func (m *SetLogLevelRequest) GetDeviceUuid() *Uuid {
1349 if m != nil {
1350 return m.DeviceUuid
1351 }
1352 return nil
1353}
1354
1355func (m *SetLogLevelRequest) GetLoglevels() []*EntitiesLogLevel {
1356 if m != nil {
1357 return m.Loglevels
1358 }
1359 return nil
1360}
1361
1362type SetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001363 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1364 Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1365 Reason SetLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.SetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001366 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001367 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1368 XXX_unrecognized []byte `json:"-"`
1369 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001370}
1371
1372func (m *SetLogLevelResponse) Reset() { *m = SetLogLevelResponse{} }
1373func (m *SetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1374func (*SetLogLevelResponse) ProtoMessage() {}
1375func (*SetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001376 return fileDescriptor_eae902e73066286d, []int{18}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001377}
1378
1379func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1380 return xxx_messageInfo_SetLogLevelResponse.Unmarshal(m, b)
1381}
1382func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1383 return xxx_messageInfo_SetLogLevelResponse.Marshal(b, m, deterministic)
1384}
1385func (m *SetLogLevelResponse) XXX_Merge(src proto.Message) {
1386 xxx_messageInfo_SetLogLevelResponse.Merge(m, src)
1387}
1388func (m *SetLogLevelResponse) XXX_Size() int {
1389 return xxx_messageInfo_SetLogLevelResponse.Size(m)
1390}
1391func (m *SetLogLevelResponse) XXX_DiscardUnknown() {
1392 xxx_messageInfo_SetLogLevelResponse.DiscardUnknown(m)
1393}
1394
1395var xxx_messageInfo_SetLogLevelResponse proto.InternalMessageInfo
1396
amit.ghosh5d97dba2020-11-12 16:45:27 +01001397func (m *SetLogLevelResponse) GetDeviceUuid() *Uuid {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001398 if m != nil {
1399 return m.DeviceUuid
1400 }
1401 return nil
1402}
1403
amit.ghosh5d97dba2020-11-12 16:45:27 +01001404func (m *SetLogLevelResponse) GetStatus() Status {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001405 if m != nil {
1406 return m.Status
1407 }
1408 return Status_UNDEFINED_STATUS
1409}
1410
amit.ghoshae473032021-01-10 11:59:10 +01001411func (m *SetLogLevelResponse) GetReason() SetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001412 if m != nil {
1413 return m.Reason
1414 }
amit.ghoshae473032021-01-10 11:59:10 +01001415 return SetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001416}
1417
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001418func (m *SetLogLevelResponse) GetReasonDetail() string {
1419 if m != nil {
1420 return m.ReasonDetail
1421 }
1422 return ""
1423}
1424
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001425type GetLogLevelRequest struct {
1426 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1427 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1428 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1429 XXX_unrecognized []byte `json:"-"`
1430 XXX_sizecache int32 `json:"-"`
1431}
1432
1433func (m *GetLogLevelRequest) Reset() { *m = GetLogLevelRequest{} }
1434func (m *GetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1435func (*GetLogLevelRequest) ProtoMessage() {}
1436func (*GetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001437 return fileDescriptor_eae902e73066286d, []int{19}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001438}
1439
1440func (m *GetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1441 return xxx_messageInfo_GetLogLevelRequest.Unmarshal(m, b)
1442}
1443func (m *GetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1444 return xxx_messageInfo_GetLogLevelRequest.Marshal(b, m, deterministic)
1445}
1446func (m *GetLogLevelRequest) XXX_Merge(src proto.Message) {
1447 xxx_messageInfo_GetLogLevelRequest.Merge(m, src)
1448}
1449func (m *GetLogLevelRequest) XXX_Size() int {
1450 return xxx_messageInfo_GetLogLevelRequest.Size(m)
1451}
1452func (m *GetLogLevelRequest) XXX_DiscardUnknown() {
1453 xxx_messageInfo_GetLogLevelRequest.DiscardUnknown(m)
1454}
1455
1456var xxx_messageInfo_GetLogLevelRequest proto.InternalMessageInfo
1457
1458func (m *GetLogLevelRequest) GetDeviceUuid() *Uuid {
1459 if m != nil {
1460 return m.DeviceUuid
1461 }
1462 return nil
1463}
1464
1465func (m *GetLogLevelRequest) GetEntities() []string {
1466 if m != nil {
1467 return m.Entities
1468 }
1469 return nil
1470}
1471
1472type GetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001473 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1474 LogLevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=logLevels,proto3" json:"logLevels,omitempty"`
1475 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1476 Reason GetLogLevelResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.GetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001477 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001478 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1479 XXX_unrecognized []byte `json:"-"`
1480 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001481}
1482
1483func (m *GetLogLevelResponse) Reset() { *m = GetLogLevelResponse{} }
1484func (m *GetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1485func (*GetLogLevelResponse) ProtoMessage() {}
1486func (*GetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001487 return fileDescriptor_eae902e73066286d, []int{20}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001488}
1489
1490func (m *GetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1491 return xxx_messageInfo_GetLogLevelResponse.Unmarshal(m, b)
1492}
1493func (m *GetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1494 return xxx_messageInfo_GetLogLevelResponse.Marshal(b, m, deterministic)
1495}
1496func (m *GetLogLevelResponse) XXX_Merge(src proto.Message) {
1497 xxx_messageInfo_GetLogLevelResponse.Merge(m, src)
1498}
1499func (m *GetLogLevelResponse) XXX_Size() int {
1500 return xxx_messageInfo_GetLogLevelResponse.Size(m)
1501}
1502func (m *GetLogLevelResponse) XXX_DiscardUnknown() {
1503 xxx_messageInfo_GetLogLevelResponse.DiscardUnknown(m)
1504}
1505
1506var xxx_messageInfo_GetLogLevelResponse proto.InternalMessageInfo
1507
1508func (m *GetLogLevelResponse) GetDeviceUuid() *Uuid {
1509 if m != nil {
1510 return m.DeviceUuid
1511 }
1512 return nil
1513}
1514
1515func (m *GetLogLevelResponse) GetLogLevels() []*EntitiesLogLevel {
1516 if m != nil {
1517 return m.LogLevels
1518 }
1519 return nil
1520}
1521
1522func (m *GetLogLevelResponse) GetStatus() Status {
1523 if m != nil {
1524 return m.Status
1525 }
1526 return Status_UNDEFINED_STATUS
1527}
1528
amit.ghoshae473032021-01-10 11:59:10 +01001529func (m *GetLogLevelResponse) GetReason() GetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001530 if m != nil {
1531 return m.Reason
1532 }
amit.ghoshae473032021-01-10 11:59:10 +01001533 return GetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001534}
1535
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001536func (m *GetLogLevelResponse) GetReasonDetail() string {
1537 if m != nil {
1538 return m.ReasonDetail
1539 }
1540 return ""
1541}
1542
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001543type GetLoggableEntitiesRequest struct {
1544 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1545 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1546 XXX_unrecognized []byte `json:"-"`
1547 XXX_sizecache int32 `json:"-"`
1548}
1549
1550func (m *GetLoggableEntitiesRequest) Reset() { *m = GetLoggableEntitiesRequest{} }
1551func (m *GetLoggableEntitiesRequest) String() string { return proto.CompactTextString(m) }
1552func (*GetLoggableEntitiesRequest) ProtoMessage() {}
1553func (*GetLoggableEntitiesRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001554 return fileDescriptor_eae902e73066286d, []int{21}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001555}
1556
1557func (m *GetLoggableEntitiesRequest) XXX_Unmarshal(b []byte) error {
1558 return xxx_messageInfo_GetLoggableEntitiesRequest.Unmarshal(m, b)
1559}
1560func (m *GetLoggableEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1561 return xxx_messageInfo_GetLoggableEntitiesRequest.Marshal(b, m, deterministic)
1562}
1563func (m *GetLoggableEntitiesRequest) XXX_Merge(src proto.Message) {
1564 xxx_messageInfo_GetLoggableEntitiesRequest.Merge(m, src)
1565}
1566func (m *GetLoggableEntitiesRequest) XXX_Size() int {
1567 return xxx_messageInfo_GetLoggableEntitiesRequest.Size(m)
1568}
1569func (m *GetLoggableEntitiesRequest) XXX_DiscardUnknown() {
1570 xxx_messageInfo_GetLoggableEntitiesRequest.DiscardUnknown(m)
1571}
1572
1573var xxx_messageInfo_GetLoggableEntitiesRequest proto.InternalMessageInfo
1574
1575func (m *GetLoggableEntitiesRequest) GetDeviceUuid() *Uuid {
1576 if m != nil {
1577 return m.DeviceUuid
1578 }
1579 return nil
1580}
1581
Amit Ghosh09f28362020-06-12 21:52:19 +01001582func init() {
amit.ghoshae473032021-01-10 11:59:10 +01001583 proto.RegisterEnum("dmi.PhysicalInventoryResponse_Reason", PhysicalInventoryResponse_Reason_name, PhysicalInventoryResponse_Reason_value)
1584 proto.RegisterEnum("dmi.HWComponentInfoGetResponse_Reason", HWComponentInfoGetResponse_Reason_name, HWComponentInfoGetResponse_Reason_value)
1585 proto.RegisterEnum("dmi.HWComponentInfoSetResponse_Reason", HWComponentInfoSetResponse_Reason_name, HWComponentInfoSetResponse_Reason_value)
1586 proto.RegisterEnum("dmi.StartManagingDeviceResponse_Reason", StartManagingDeviceResponse_Reason_name, StartManagingDeviceResponse_Reason_value)
1587 proto.RegisterEnum("dmi.StopManagingDeviceResponse_Reason", StopManagingDeviceResponse_Reason_name, StopManagingDeviceResponse_Reason_value)
amit.ghosh0c687412021-03-24 19:01:08 +01001588 proto.RegisterEnum("dmi.ManagedDevicesResponse_Reason", ManagedDevicesResponse_Reason_name, ManagedDevicesResponse_Reason_value)
amit.ghoshae473032021-01-10 11:59:10 +01001589 proto.RegisterEnum("dmi.SetRemoteEndpointResponse_Reason", SetRemoteEndpointResponse_Reason_name, SetRemoteEndpointResponse_Reason_value)
1590 proto.RegisterEnum("dmi.GetLoggingEndpointResponse_Reason", GetLoggingEndpointResponse_Reason_name, GetLoggingEndpointResponse_Reason_value)
1591 proto.RegisterEnum("dmi.GetMsgBusEndpointResponse_Reason", GetMsgBusEndpointResponse_Reason_name, GetMsgBusEndpointResponse_Reason_value)
1592 proto.RegisterEnum("dmi.SetLogLevelResponse_Reason", SetLogLevelResponse_Reason_name, SetLogLevelResponse_Reason_value)
1593 proto.RegisterEnum("dmi.GetLogLevelResponse_Reason", GetLogLevelResponse_Reason_name, GetLogLevelResponse_Reason_value)
Amit Ghosh09f28362020-06-12 21:52:19 +01001594 proto.RegisterType((*PhysicalInventoryRequest)(nil), "dmi.PhysicalInventoryRequest")
1595 proto.RegisterType((*PhysicalInventoryResponse)(nil), "dmi.PhysicalInventoryResponse")
1596 proto.RegisterType((*HWComponentInfoGetRequest)(nil), "dmi.HWComponentInfoGetRequest")
aghoshc301dcd2020-09-03 16:55:34 +01001597 proto.RegisterType((*HWComponentInfoGetResponse)(nil), "dmi.HWComponentInfoGetResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001598 proto.RegisterType((*HWComponentInfoSetRequest)(nil), "dmi.HWComponentInfoSetRequest")
1599 proto.RegisterType((*HWComponentInfoSetResponse)(nil), "dmi.HWComponentInfoSetResponse")
1600 proto.RegisterType((*StartManagingDeviceResponse)(nil), "dmi.StartManagingDeviceResponse")
Amit Ghosh366228e2020-07-06 13:46:42 +01001601 proto.RegisterType((*StopManagingDeviceRequest)(nil), "dmi.StopManagingDeviceRequest")
1602 proto.RegisterType((*StopManagingDeviceResponse)(nil), "dmi.StopManagingDeviceResponse")
amit.ghosh0c687412021-03-24 19:01:08 +01001603 proto.RegisterType((*ManagedDeviceInfo)(nil), "dmi.ManagedDeviceInfo")
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001604 proto.RegisterType((*ManagedDevicesResponse)(nil), "dmi.ManagedDevicesResponse")
amit.ghosh188a84f2020-09-27 20:59:25 +02001605 proto.RegisterType((*SetLoggingEndpointRequest)(nil), "dmi.SetLoggingEndpointRequest")
1606 proto.RegisterType((*SetRemoteEndpointResponse)(nil), "dmi.SetRemoteEndpointResponse")
1607 proto.RegisterType((*GetLoggingEndpointResponse)(nil), "dmi.GetLoggingEndpointResponse")
1608 proto.RegisterType((*SetMsgBusEndpointRequest)(nil), "dmi.SetMsgBusEndpointRequest")
1609 proto.RegisterType((*GetMsgBusEndpointResponse)(nil), "dmi.GetMsgBusEndpointResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001610 proto.RegisterType((*EntitiesLogLevel)(nil), "dmi.EntitiesLogLevel")
1611 proto.RegisterType((*SetLogLevelRequest)(nil), "dmi.SetLogLevelRequest")
1612 proto.RegisterType((*SetLogLevelResponse)(nil), "dmi.SetLogLevelResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001613 proto.RegisterType((*GetLogLevelRequest)(nil), "dmi.GetLogLevelRequest")
1614 proto.RegisterType((*GetLogLevelResponse)(nil), "dmi.GetLogLevelResponse")
1615 proto.RegisterType((*GetLoggableEntitiesRequest)(nil), "dmi.GetLoggableEntitiesRequest")
Amit Ghosh09f28362020-06-12 21:52:19 +01001616}
1617
1618func init() { proto.RegisterFile("dmi/hw_management_service.proto", fileDescriptor_eae902e73066286d) }
1619
1620var fileDescriptor_eae902e73066286d = []byte{
amit.ghosh0c687412021-03-24 19:01:08 +01001621 // 1432 bytes of a gzipped FileDescriptorProto
1622 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6e, 0xdb, 0xc6,
1623 0x16, 0xbe, 0x24, 0x65, 0x27, 0x3a, 0x4a, 0x1c, 0x79, 0x92, 0xf8, 0x4a, 0x0c, 0x62, 0xfb, 0x32,
1624 0xc8, 0x8d, 0x73, 0x6f, 0x22, 0x19, 0xca, 0xa2, 0x68, 0x8b, 0xfe, 0xc8, 0x16, 0x43, 0xab, 0x91,
1625 0x48, 0x61, 0x28, 0xc7, 0x48, 0x51, 0x54, 0xa0, 0xa5, 0xb1, 0x4c, 0x40, 0x24, 0x55, 0x91, 0x52,
1626 0xe0, 0x07, 0xe8, 0xa2, 0x8f, 0xd0, 0x45, 0x81, 0xbe, 0x41, 0xd1, 0x2e, 0x8b, 0xbe, 0x41, 0xb7,
1627 0x5d, 0x15, 0x05, 0x8a, 0x3e, 0x42, 0xdf, 0xa0, 0xd0, 0x0c, 0xa9, 0x1f, 0x8a, 0x94, 0x64, 0x39,
1628 0x45, 0xb3, 0x93, 0x66, 0xce, 0x7c, 0x73, 0xe6, 0x7c, 0xdf, 0x1c, 0x9e, 0x39, 0xb0, 0xd3, 0xb2,
1629 0xcc, 0xfc, 0xf9, 0xeb, 0x86, 0x65, 0xd8, 0x46, 0x9b, 0x58, 0xc4, 0xf6, 0x1a, 0x2e, 0xe9, 0x0d,
1630 0xcc, 0x26, 0xc9, 0x75, 0x7b, 0x8e, 0xe7, 0x20, 0xa1, 0x65, 0x99, 0xe2, 0xe6, 0xd0, 0xaa, 0xe9,
1631 0x58, 0x96, 0x63, 0xbb, 0x6c, 0x5c, 0xbc, 0xc1, 0x16, 0xfa, 0xff, 0xee, 0xb5, 0x1d, 0xa7, 0xdd,
1632 0x21, 0x79, 0xfa, 0xef, 0xb4, 0x7f, 0x96, 0x27, 0x56, 0xd7, 0xbb, 0x60, 0x93, 0xd2, 0x73, 0xc8,
1633 0xd4, 0xce, 0x2f, 0x5c, 0xb3, 0x69, 0x74, 0xca, 0xf6, 0x80, 0xd8, 0x9e, 0xd3, 0xbb, 0xc0, 0xe4,
1634 0x8b, 0x3e, 0x71, 0x3d, 0xf4, 0x3f, 0x48, 0xb5, 0xc8, 0x70, 0xbb, 0x46, 0xbf, 0x6f, 0xb6, 0x32,
1635 0xdc, 0x2e, 0xb7, 0x97, 0x2a, 0x24, 0x73, 0x2d, 0xcb, 0xcc, 0x1d, 0xf7, 0xcd, 0x16, 0x06, 0x36,
1636 0x3b, 0xfc, 0x2d, 0x7d, 0xcf, 0x43, 0x36, 0x02, 0xc8, 0xed, 0x3a, 0xb6, 0x4b, 0xd0, 0x03, 0x58,
1637 0x77, 0x3d, 0xc3, 0xeb, 0xbb, 0x14, 0x64, 0xa3, 0x90, 0xa2, 0x20, 0x3a, 0x1d, 0xc2, 0xfe, 0x14,
1638 0xfa, 0x00, 0xd6, 0x7b, 0xc4, 0x70, 0x1d, 0x3b, 0xc3, 0x53, 0xa3, 0x87, 0xd4, 0x28, 0x16, 0x34,
1639 0x87, 0xa9, 0x31, 0xf6, 0x17, 0xa1, 0xff, 0x43, 0xd2, 0x0c, 0x6c, 0x32, 0x02, 0xf5, 0xf5, 0x26,
1640 0x45, 0x38, 0x32, 0x7a, 0xad, 0xd7, 0x46, 0x8f, 0xe0, 0xf1, 0x3c, 0x7a, 0x00, 0x37, 0xd9, 0xb2,
1641 0x46, 0x8b, 0x78, 0x86, 0xd9, 0xc9, 0x24, 0x76, 0xb9, 0xbd, 0x24, 0xbe, 0xc1, 0x06, 0x4b, 0x74,
1642 0x4c, 0xfa, 0x1c, 0xd6, 0xd9, 0x1e, 0xe8, 0x0e, 0xa4, 0x8f, 0xd5, 0x92, 0xfc, 0xbc, 0xac, 0xca,
1643 0xa5, 0x06, 0x96, 0x8b, 0xba, 0xa6, 0xa6, 0xff, 0x85, 0x10, 0x6c, 0x1c, 0xab, 0x2f, 0x54, 0xed,
1644 0x44, 0x6d, 0x94, 0xe4, 0x97, 0xe5, 0x43, 0x39, 0xcd, 0x0d, 0xc7, 0xca, 0x6a, 0x5d, 0xc6, 0x6a,
1645 0xb1, 0xd2, 0x90, 0x31, 0xd6, 0x70, 0x9a, 0x47, 0x5b, 0x80, 0xd8, 0x7c, 0xe3, 0x58, 0xc5, 0x72,
1646 0xf1, 0xf0, 0xa8, 0x78, 0x50, 0x91, 0xd3, 0x82, 0xf4, 0x2d, 0x07, 0xd9, 0xa3, 0x93, 0x43, 0xc7,
1647 0xea, 0x3a, 0x36, 0xb1, 0xbd, 0xb2, 0x7d, 0xe6, 0x28, 0xc4, 0x5b, 0x21, 0xfa, 0x68, 0x1f, 0x36,
1648 0x9a, 0x01, 0x0c, 0x33, 0xe7, 0xc3, 0xe6, 0x37, 0x47, 0x06, 0x74, 0xc5, 0xc3, 0xc9, 0x15, 0xb6,
1649 0x61, 0x11, 0x1a, 0xb2, 0xe4, 0x84, 0x99, 0x6a, 0x58, 0x44, 0xfa, 0x99, 0x07, 0x31, 0xca, 0xc5,
1650 0xcb, 0xf0, 0xfa, 0x61, 0x88, 0xd7, 0xff, 0x32, 0x56, 0x62, 0x51, 0xc3, 0xc4, 0x3e, 0x81, 0xe4,
1651 0xc8, 0x29, 0x9f, 0xd8, 0x0d, 0x0a, 0x31, 0x02, 0xc0, 0x63, 0x83, 0xe5, 0x98, 0xed, 0xaf, 0xc0,
1652 0xec, 0x5d, 0xd8, 0x0c, 0xc6, 0x0e, 0xb5, 0x6a, 0x4d, 0x53, 0x65, 0xb5, 0x9e, 0xe6, 0x23, 0x08,
1653 0x17, 0x62, 0x08, 0x4f, 0x48, 0xbf, 0xcc, 0x12, 0xae, 0xbf, 0x5d, 0x84, 0xa3, 0x02, 0x5c, 0x6b,
1654 0x9e, 0x1b, 0x76, 0x9b, 0xb8, 0x34, 0x70, 0xa9, 0x42, 0x86, 0x22, 0x56, 0x9d, 0x96, 0x79, 0x66,
1655 0x1a, 0xa7, 0x1d, 0x32, 0x0e, 0x7a, 0x60, 0x28, 0xfd, 0x30, 0x2b, 0x12, 0xfd, 0x6f, 0x11, 0x89,
1656 0x1e, 0x2f, 0x92, 0x19, 0xda, 0x85, 0x08, 0xda, 0xbf, 0xe2, 0xde, 0x30, 0xef, 0x2f, 0x8b, 0x95,
1657 0x72, 0xa9, 0x51, 0x2b, 0xe2, 0x62, 0x55, 0x4f, 0x0b, 0x11, 0x5a, 0x48, 0xc4, 0x68, 0x61, 0x4d,
1658 0xfa, 0x8d, 0x87, 0x7b, 0xba, 0x67, 0xf4, 0xbc, 0xea, 0x30, 0xbb, 0x9b, 0x76, 0xbb, 0x44, 0xd9,
1659 0xbd, 0x5c, 0xd4, 0x3e, 0x0a, 0x45, 0xed, 0x51, 0x60, 0x14, 0x07, 0x1b, 0x0e, 0x5b, 0x48, 0x73,
1660 0xc2, 0x3c, 0xcd, 0x2d, 0x75, 0xb3, 0xbe, 0x5c, 0x14, 0x62, 0x11, 0xb6, 0xfc, 0x78, 0x14, 0x2b,
1661 0x58, 0x2e, 0x96, 0x5e, 0x35, 0xaa, 0x45, 0xb5, 0xa8, 0xc8, 0xa5, 0x34, 0x87, 0xfe, 0x03, 0xf7,
1662 0xb5, 0x9a, 0x8c, 0x8b, 0xf5, 0xb2, 0xa6, 0x8e, 0xa6, 0xcb, 0x6a, 0xa3, 0x86, 0x35, 0x05, 0xcb,
1663 0xba, 0xbe, 0x7c, 0xd8, 0xa5, 0x3c, 0x64, 0x75, 0xcf, 0xe9, 0x86, 0xa3, 0xc0, 0x6e, 0x1a, 0x82,
1664 0x04, 0xbd, 0x01, 0x1c, 0x3d, 0x00, 0xfd, 0x2d, 0xfd, 0xca, 0x81, 0x18, 0xb5, 0xe2, 0xea, 0x22,
1665 0x8e, 0x47, 0x5d, 0x49, 0xc4, 0x85, 0xcb, 0x6b, 0x58, 0xb2, 0x60, 0x93, 0x7a, 0x40, 0x5a, 0xcc,
1666 0x81, 0xe1, 0x65, 0x42, 0x4f, 0x20, 0x61, 0xda, 0x67, 0x8e, 0x9f, 0x68, 0xe2, 0xef, 0x39, 0xb5,
1667 0x0a, 0x2b, 0x85, 0x9f, 0x57, 0x0c, 0xfc, 0xce, 0xc1, 0xd6, 0xd4, 0x7e, 0xee, 0xe5, 0xe2, 0xf8,
1668 0x5e, 0x28, 0x8e, 0x12, 0xf3, 0x2d, 0x12, 0x31, 0x1c, 0xc3, 0x7d, 0xb8, 0xc6, 0x3c, 0x71, 0x33,
1669 0xc2, 0xae, 0xb0, 0x97, 0x2a, 0x6c, 0xcd, 0x2e, 0x1e, 0x1e, 0x1f, 0x07, 0x66, 0xcb, 0x04, 0x34,
1670 0x24, 0x2f, 0x4e, 0xfa, 0x86, 0x83, 0xac, 0x4e, 0xbc, 0x8a, 0xd3, 0x1e, 0xb2, 0x2a, 0xdb, 0xad,
1671 0xae, 0x63, 0xda, 0x2b, 0x65, 0xf2, 0xc7, 0x90, 0xee, 0x30, 0x94, 0x06, 0xf1, 0x61, 0xe8, 0xa9,
1672 0x93, 0xf8, 0x56, 0x67, 0x1a, 0x7d, 0xd2, 0x94, 0x16, 0x6f, 0x4d, 0x27, 0x50, 0x48, 0x60, 0x5a,
1673 0xf3, 0x87, 0xa5, 0x3f, 0x78, 0xea, 0x1f, 0x26, 0x96, 0xe3, 0x91, 0xb1, 0x7b, 0x57, 0x2f, 0xc7,
1674 0x62, 0x41, 0x57, 0xd2, 0xf2, 0x8f, 0xdc, 0x1b, 0x2a, 0xb1, 0x44, 0xd8, 0xaa, 0x68, 0x8a, 0x52,
1675 0x56, 0x95, 0x86, 0xac, 0x96, 0x6a, 0x5a, 0x59, 0xad, 0x8f, 0xbe, 0xc6, 0x0f, 0x60, 0x67, 0x66,
1676 0xae, 0x86, 0xb5, 0xba, 0x76, 0xa8, 0x8d, 0xd3, 0x74, 0x16, 0xee, 0x56, 0x75, 0xe5, 0xe0, 0x58,
1677 0x0f, 0xaf, 0x5f, 0x8b, 0xc9, 0xe0, 0xeb, 0xc3, 0x0c, 0x2e, 0x2a, 0x11, 0x1a, 0xb8, 0x7a, 0xc6,
1678 0x88, 0x47, 0x0d, 0x47, 0x39, 0x4a, 0x3d, 0xc2, 0xf2, 0xea, 0x49, 0x44, 0xaa, 0x67, 0x96, 0xbb,
1679 0xb5, 0x7f, 0xa0, 0x3a, 0x3e, 0x84, 0x8c, 0x4e, 0xbc, 0xaa, 0xdb, 0x3e, 0xe8, 0xbb, 0xe1, 0x0b,
1680 0xf6, 0x08, 0x6e, 0x59, 0x6e, 0xfb, 0xb4, 0xef, 0x8e, 0x4f, 0xcd, 0x72, 0xf9, 0x06, 0x1b, 0x0e,
1681 0xec, 0xa5, 0xaf, 0x79, 0xc8, 0x2a, 0xb3, 0x28, 0x57, 0xbf, 0x07, 0xb1, 0xa0, 0x61, 0x86, 0x22,
1682 0x5c, 0x15, 0xa2, 0x5c, 0x5d, 0xee, 0xf3, 0xfa, 0xc9, 0xe5, 0x73, 0x55, 0x4c, 0x80, 0x79, 0xe9,
1683 0x15, 0xa4, 0x65, 0xdb, 0x33, 0x3d, 0x93, 0xb8, 0x15, 0xa7, 0x5d, 0x21, 0x03, 0xd2, 0x41, 0x8f,
1684 0xe1, 0x7a, 0xc7, 0xff, 0xed, 0xc7, 0x84, 0xbd, 0xa1, 0x02, 0x03, 0x3c, 0x9a, 0x46, 0x22, 0x5c,
1685 0x27, 0xfe, 0xf2, 0x0c, 0xbf, 0x2b, 0xec, 0x25, 0xf1, 0xe8, 0xbf, 0xd4, 0x07, 0xc4, 0xb2, 0x23,
1686 0x5b, 0xb4, 0x42, 0x5a, 0x7c, 0x06, 0xc9, 0xce, 0xf0, 0xd5, 0x3a, 0x20, 0x1d, 0x06, 0x9f, 0x2a,
1687 0xdc, 0xa5, 0x96, 0x61, 0x97, 0xf1, 0xd8, 0x4e, 0xfa, 0x89, 0x87, 0xdb, 0x53, 0xfb, 0xfa, 0x3c,
1688 0x5f, 0x66, 0xe3, 0xb1, 0x26, 0xf8, 0x78, 0x4d, 0xbc, 0x33, 0xd2, 0x84, 0x40, 0x8d, 0x76, 0x82,
1689 0xdc, 0x18, 0xde, 0x7a, 0x61, 0x56, 0x8c, 0x22, 0x79, 0xf0, 0xe6, 0x6e, 0x56, 0x60, 0x57, 0xd1,
1690 0x86, 0xc9, 0xaf, 0x5e, 0xae, 0xbf, 0x9a, 0xf3, 0x3c, 0xf9, 0x0c, 0x90, 0x72, 0x35, 0xd6, 0xe6,
1691 0x69, 0xe2, 0x4f, 0x1e, 0x6e, 0x2b, 0x57, 0x24, 0x87, 0xa9, 0xa2, 0xb2, 0xa4, 0x2a, 0x98, 0xdd,
1692 0x04, 0xa3, 0xc2, 0x32, 0x8c, 0x26, 0x26, 0x18, 0x55, 0x56, 0x60, 0x74, 0xed, 0x2d, 0x62, 0xf4,
1693 0x68, 0xf4, 0x85, 0x1a, 0x96, 0x74, 0x41, 0x90, 0x56, 0x60, 0xb6, 0xf0, 0xdd, 0x75, 0xc8, 0xaa,
1694 0x86, 0x67, 0x0e, 0xc8, 0xd1, 0x49, 0x75, 0xd4, 0x8f, 0xd2, 0x59, 0x3b, 0x0a, 0xe9, 0x70, 0x3b,
1695 0xe2, 0xd1, 0x81, 0x62, 0x6b, 0x4a, 0x71, 0x77, 0xd1, 0x43, 0x65, 0x9f, 0x43, 0xc7, 0x80, 0x66,
1696 0x4b, 0x67, 0xb4, 0x1d, 0x5b, 0x53, 0xd3, 0x43, 0x89, 0x3b, 0x0b, 0x6a, 0x6e, 0x74, 0x04, 0x9b,
1697 0xc3, 0xe4, 0x3d, 0x55, 0x4c, 0xa2, 0xad, 0x1c, 0x6b, 0x92, 0xe5, 0x82, 0x26, 0x59, 0x4e, 0xb6,
1698 0xba, 0xde, 0x85, 0x78, 0x6f, 0x4e, 0xe5, 0x89, 0x4e, 0xe0, 0x8e, 0x42, 0xbc, 0x99, 0x06, 0x15,
1699 0xba, 0x1f, 0xd7, 0xb8, 0x62, 0x1e, 0x6e, 0xcf, 0xef, 0x6b, 0xed, 0x73, 0xe8, 0x84, 0x5e, 0xc4,
1700 0xd0, 0xe3, 0xd7, 0x3f, 0x79, 0x6c, 0xc3, 0xc8, 0x3f, 0x79, 0x7c, 0x5f, 0xc5, 0x0f, 0xe9, 0x92,
1701 0xc0, 0xfa, 0x02, 0xe0, 0xc9, 0x17, 0x7e, 0x3d, 0x48, 0xf7, 0x53, 0x05, 0xc7, 0xf6, 0x44, 0x52,
1702 0x8c, 0xa8, 0x92, 0xc5, 0xed, 0xf9, 0x05, 0x25, 0x7a, 0x1e, 0xa4, 0xa3, 0x29, 0xd4, 0x5b, 0x53,
1703 0x3d, 0xbd, 0x72, 0x49, 0xdc, 0x59, 0x50, 0x32, 0x21, 0x0c, 0x9b, 0x33, 0x85, 0x84, 0xcf, 0x51,
1704 0x5c, 0x81, 0xb1, 0xd0, 0xb7, 0x17, 0x4c, 0x44, 0xd3, 0x98, 0x71, 0x22, 0xda, 0x9e, 0x5f, 0x31,
1705 0xa0, 0x5a, 0x90, 0x18, 0xa7, 0x6e, 0x29, 0x9a, 0x3a, 0x58, 0xc4, 0xfd, 0x15, 0x33, 0x71, 0x39,
1706 0x0a, 0x7d, 0x0c, 0xa9, 0x89, 0x8f, 0x11, 0xfa, 0xf7, 0xec, 0xe7, 0x69, 0x12, 0x41, 0x8f, 0x46,
1707 0x50, 0x66, 0x10, 0x94, 0x38, 0x84, 0x08, 0x1f, 0x0e, 0xde, 0xff, 0xf4, 0xdd, 0xb6, 0xe9, 0x9d,
1708 0xf7, 0x4f, 0x73, 0x4d, 0xc7, 0xca, 0x3b, 0x5d, 0x62, 0x37, 0x9d, 0x5e, 0x2b, 0xcf, 0x72, 0xca,
1709 0xd3, 0x71, 0x4f, 0xfb, 0xa9, 0x69, 0x7b, 0xa4, 0x77, 0x66, 0x34, 0x49, 0x7e, 0xf0, 0x2c, 0xdf,
1710 0x76, 0xf2, 0x2d, 0xcb, 0x3c, 0x5d, 0xa7, 0x21, 0x7c, 0xf6, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff,
1711 0x54, 0xa0, 0x5f, 0x10, 0x03, 0x17, 0x00, 0x00,
Amit Ghosh09f28362020-06-12 21:52:19 +01001712}
1713
1714// Reference imports to suppress errors if they are not otherwise used.
1715var _ context.Context
1716var _ grpc.ClientConn
1717
1718// This is a compile-time assertion to ensure that this generated file
1719// is compatible with the grpc package it is being compiled against.
1720const _ = grpc.SupportPackageIsVersion4
1721
1722// NativeHWManagementServiceClient is the client API for NativeHWManagementService service.
1723//
1724// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1725type NativeHWManagementServiceClient interface {
1726 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001727 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1728 // and their meanings in this context is mentioned below:
1729 // name = The unique name that needs to be assigned to this hardware;
1730 // class = COMPONENT_TYPE_UNDEFINED;
1731 // parent = nil;
1732 // alias = Optional;
1733 // asset_id = Optional;
1734 // uri = IP Address of the Hardware;
1735 StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error)
Amit Ghosh366228e2020-07-06 13:46:42 +01001736 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001737 // This rpc can be called at any time, even before the StartManagingDevice operation
1738 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001739 StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001740 // Returns an object containing a list of devices managed by this entity
1741 GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001742 // Get the HW inventory details of the Device
1743 GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error)
1744 // Get the details of a particular HW component
1745 GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error)
1746 // Sets the permissible attributes of a HW component
1747 SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001748 // Sets the location to which logs need to be shipped
1749 SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1750 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001751 GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001752 // Sets the location of the Message Bus to which events and metrics are shipped
1753 SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1754 // Gets the configured location to which the events and metrics are being shipped
1755 GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001756 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1757 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1758 // interface, package etc.
1759 GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01001760 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001761 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
1762 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
1763 SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
1764 // Gets the configured log level for a certain entity on a certain device.
1765 // If no entity is specified in the request all the entities with their log level should be returned.
1766 GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001767}
1768
1769type nativeHWManagementServiceClient struct {
1770 cc *grpc.ClientConn
1771}
1772
1773func NewNativeHWManagementServiceClient(cc *grpc.ClientConn) NativeHWManagementServiceClient {
1774 return &nativeHWManagementServiceClient{cc}
1775}
1776
Amit Ghosh704462f2020-06-24 16:44:56 +01001777func (c *nativeHWManagementServiceClient) StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error) {
Amit Ghosh09f28362020-06-12 21:52:19 +01001778 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[0], "/dmi.NativeHWManagementService/StartManagingDevice", opts...)
1779 if err != nil {
1780 return nil, err
1781 }
1782 x := &nativeHWManagementServiceStartManagingDeviceClient{stream}
1783 if err := x.ClientStream.SendMsg(in); err != nil {
1784 return nil, err
1785 }
1786 if err := x.ClientStream.CloseSend(); err != nil {
1787 return nil, err
1788 }
1789 return x, nil
1790}
1791
1792type NativeHWManagementService_StartManagingDeviceClient interface {
1793 Recv() (*StartManagingDeviceResponse, error)
1794 grpc.ClientStream
1795}
1796
1797type nativeHWManagementServiceStartManagingDeviceClient struct {
1798 grpc.ClientStream
1799}
1800
1801func (x *nativeHWManagementServiceStartManagingDeviceClient) Recv() (*StartManagingDeviceResponse, error) {
1802 m := new(StartManagingDeviceResponse)
1803 if err := x.ClientStream.RecvMsg(m); err != nil {
1804 return nil, err
1805 }
1806 return m, nil
1807}
1808
Amit Ghosh366228e2020-07-06 13:46:42 +01001809func (c *nativeHWManagementServiceClient) StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) {
1810 out := new(StopManagingDeviceResponse)
1811 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/StopManagingDevice", in, out, opts...)
1812 if err != nil {
1813 return nil, err
1814 }
1815 return out, nil
1816}
1817
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001818func (c *nativeHWManagementServiceClient) GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) {
1819 out := new(ManagedDevicesResponse)
1820 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetManagedDevices", in, out, opts...)
1821 if err != nil {
1822 return nil, err
1823 }
1824 return out, nil
1825}
1826
Amit Ghosh09f28362020-06-12 21:52:19 +01001827func (c *nativeHWManagementServiceClient) GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) {
1828 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[1], "/dmi.NativeHWManagementService/GetPhysicalInventory", opts...)
1829 if err != nil {
1830 return nil, err
1831 }
1832 x := &nativeHWManagementServiceGetPhysicalInventoryClient{stream}
1833 if err := x.ClientStream.SendMsg(in); err != nil {
1834 return nil, err
1835 }
1836 if err := x.ClientStream.CloseSend(); err != nil {
1837 return nil, err
1838 }
1839 return x, nil
1840}
1841
1842type NativeHWManagementService_GetPhysicalInventoryClient interface {
1843 Recv() (*PhysicalInventoryResponse, error)
1844 grpc.ClientStream
1845}
1846
1847type nativeHWManagementServiceGetPhysicalInventoryClient struct {
1848 grpc.ClientStream
1849}
1850
1851func (x *nativeHWManagementServiceGetPhysicalInventoryClient) Recv() (*PhysicalInventoryResponse, error) {
1852 m := new(PhysicalInventoryResponse)
1853 if err := x.ClientStream.RecvMsg(m); err != nil {
1854 return nil, err
1855 }
1856 return m, nil
1857}
1858
1859func (c *nativeHWManagementServiceClient) GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) {
1860 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[2], "/dmi.NativeHWManagementService/GetHWComponentInfo", opts...)
1861 if err != nil {
1862 return nil, err
1863 }
1864 x := &nativeHWManagementServiceGetHWComponentInfoClient{stream}
1865 if err := x.ClientStream.SendMsg(in); err != nil {
1866 return nil, err
1867 }
1868 if err := x.ClientStream.CloseSend(); err != nil {
1869 return nil, err
1870 }
1871 return x, nil
1872}
1873
1874type NativeHWManagementService_GetHWComponentInfoClient interface {
aghoshc301dcd2020-09-03 16:55:34 +01001875 Recv() (*HWComponentInfoGetResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001876 grpc.ClientStream
1877}
1878
1879type nativeHWManagementServiceGetHWComponentInfoClient struct {
1880 grpc.ClientStream
1881}
1882
aghoshc301dcd2020-09-03 16:55:34 +01001883func (x *nativeHWManagementServiceGetHWComponentInfoClient) Recv() (*HWComponentInfoGetResponse, error) {
1884 m := new(HWComponentInfoGetResponse)
Amit Ghosh09f28362020-06-12 21:52:19 +01001885 if err := x.ClientStream.RecvMsg(m); err != nil {
1886 return nil, err
1887 }
1888 return m, nil
1889}
1890
1891func (c *nativeHWManagementServiceClient) SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) {
1892 out := new(HWComponentInfoSetResponse)
1893 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetHWComponentInfo", in, out, opts...)
1894 if err != nil {
1895 return nil, err
1896 }
1897 return out, nil
1898}
1899
amit.ghosh188a84f2020-09-27 20:59:25 +02001900func (c *nativeHWManagementServiceClient) SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
1901 out := new(SetRemoteEndpointResponse)
1902 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLoggingEndpoint", in, out, opts...)
1903 if err != nil {
1904 return nil, err
1905 }
1906 return out, nil
1907}
1908
amit.ghosh5d97dba2020-11-12 16:45:27 +01001909func (c *nativeHWManagementServiceClient) GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error) {
amit.ghosh188a84f2020-09-27 20:59:25 +02001910 out := new(GetLoggingEndpointResponse)
1911 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggingEndpoint", in, out, opts...)
1912 if err != nil {
1913 return nil, err
1914 }
1915 return out, nil
1916}
1917
1918func (c *nativeHWManagementServiceClient) SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
1919 out := new(SetRemoteEndpointResponse)
1920 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetMsgBusEndpoint", in, out, opts...)
1921 if err != nil {
1922 return nil, err
1923 }
1924 return out, nil
1925}
1926
1927func (c *nativeHWManagementServiceClient) GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) {
1928 out := new(GetMsgBusEndpointResponse)
1929 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetMsgBusEndpoint", in, out, opts...)
1930 if err != nil {
1931 return nil, err
1932 }
1933 return out, nil
1934}
1935
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001936func (c *nativeHWManagementServiceClient) GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
1937 out := new(GetLogLevelResponse)
1938 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggableEntities", in, out, opts...)
1939 if err != nil {
1940 return nil, err
1941 }
1942 return out, nil
1943}
1944
1945func (c *nativeHWManagementServiceClient) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) {
1946 out := new(SetLogLevelResponse)
1947 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLogLevel", in, out, opts...)
1948 if err != nil {
1949 return nil, err
1950 }
1951 return out, nil
1952}
1953
1954func (c *nativeHWManagementServiceClient) GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
1955 out := new(GetLogLevelResponse)
1956 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLogLevel", in, out, opts...)
1957 if err != nil {
1958 return nil, err
1959 }
1960 return out, nil
1961}
1962
Amit Ghosh09f28362020-06-12 21:52:19 +01001963// NativeHWManagementServiceServer is the server API for NativeHWManagementService service.
1964type NativeHWManagementServiceServer interface {
1965 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001966 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1967 // and their meanings in this context is mentioned below:
1968 // name = The unique name that needs to be assigned to this hardware;
1969 // class = COMPONENT_TYPE_UNDEFINED;
1970 // parent = nil;
1971 // alias = Optional;
1972 // asset_id = Optional;
1973 // uri = IP Address of the Hardware;
1974 StartManagingDevice(*ModifiableComponent, NativeHWManagementService_StartManagingDeviceServer) error
Amit Ghosh366228e2020-07-06 13:46:42 +01001975 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001976 // This rpc can be called at any time, even before the StartManagingDevice operation
1977 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001978 StopManagingDevice(context.Context, *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001979 // Returns an object containing a list of devices managed by this entity
1980 GetManagedDevices(context.Context, *empty.Empty) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001981 // Get the HW inventory details of the Device
1982 GetPhysicalInventory(*PhysicalInventoryRequest, NativeHWManagementService_GetPhysicalInventoryServer) error
1983 // Get the details of a particular HW component
1984 GetHWComponentInfo(*HWComponentInfoGetRequest, NativeHWManagementService_GetHWComponentInfoServer) error
1985 // Sets the permissible attributes of a HW component
1986 SetHWComponentInfo(context.Context, *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001987 // Sets the location to which logs need to be shipped
1988 SetLoggingEndpoint(context.Context, *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error)
1989 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001990 GetLoggingEndpoint(context.Context, *HardwareID) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001991 // Sets the location of the Message Bus to which events and metrics are shipped
1992 SetMsgBusEndpoint(context.Context, *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error)
1993 // Gets the configured location to which the events and metrics are being shipped
1994 GetMsgBusEndpoint(context.Context, *empty.Empty) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001995 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1996 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1997 // interface, package etc.
1998 GetLoggableEntities(context.Context, *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01001999 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002000 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
2001 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
2002 SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
2003 // Gets the configured log level for a certain entity on a certain device.
2004 // If no entity is specified in the request all the entities with their log level should be returned.
2005 GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002006}
2007
2008func RegisterNativeHWManagementServiceServer(s *grpc.Server, srv NativeHWManagementServiceServer) {
2009 s.RegisterService(&_NativeHWManagementService_serviceDesc, srv)
2010}
2011
2012func _NativeHWManagementService_StartManagingDevice_Handler(srv interface{}, stream grpc.ServerStream) error {
Amit Ghosh704462f2020-06-24 16:44:56 +01002013 m := new(ModifiableComponent)
Amit Ghosh09f28362020-06-12 21:52:19 +01002014 if err := stream.RecvMsg(m); err != nil {
2015 return err
2016 }
2017 return srv.(NativeHWManagementServiceServer).StartManagingDevice(m, &nativeHWManagementServiceStartManagingDeviceServer{stream})
2018}
2019
2020type NativeHWManagementService_StartManagingDeviceServer interface {
2021 Send(*StartManagingDeviceResponse) error
2022 grpc.ServerStream
2023}
2024
2025type nativeHWManagementServiceStartManagingDeviceServer struct {
2026 grpc.ServerStream
2027}
2028
2029func (x *nativeHWManagementServiceStartManagingDeviceServer) Send(m *StartManagingDeviceResponse) error {
2030 return x.ServerStream.SendMsg(m)
2031}
2032
Amit Ghosh366228e2020-07-06 13:46:42 +01002033func _NativeHWManagementService_StopManagingDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2034 in := new(StopManagingDeviceRequest)
2035 if err := dec(in); err != nil {
2036 return nil, err
2037 }
2038 if interceptor == nil {
2039 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, in)
2040 }
2041 info := &grpc.UnaryServerInfo{
2042 Server: srv,
2043 FullMethod: "/dmi.NativeHWManagementService/StopManagingDevice",
2044 }
2045 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2046 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, req.(*StopManagingDeviceRequest))
2047 }
2048 return interceptor(ctx, in, info, handler)
2049}
2050
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002051func _NativeHWManagementService_GetManagedDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2052 in := new(empty.Empty)
2053 if err := dec(in); err != nil {
2054 return nil, err
2055 }
2056 if interceptor == nil {
2057 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, in)
2058 }
2059 info := &grpc.UnaryServerInfo{
2060 Server: srv,
2061 FullMethod: "/dmi.NativeHWManagementService/GetManagedDevices",
2062 }
2063 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2064 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, req.(*empty.Empty))
2065 }
2066 return interceptor(ctx, in, info, handler)
2067}
2068
Amit Ghosh09f28362020-06-12 21:52:19 +01002069func _NativeHWManagementService_GetPhysicalInventory_Handler(srv interface{}, stream grpc.ServerStream) error {
2070 m := new(PhysicalInventoryRequest)
2071 if err := stream.RecvMsg(m); err != nil {
2072 return err
2073 }
2074 return srv.(NativeHWManagementServiceServer).GetPhysicalInventory(m, &nativeHWManagementServiceGetPhysicalInventoryServer{stream})
2075}
2076
2077type NativeHWManagementService_GetPhysicalInventoryServer interface {
2078 Send(*PhysicalInventoryResponse) error
2079 grpc.ServerStream
2080}
2081
2082type nativeHWManagementServiceGetPhysicalInventoryServer struct {
2083 grpc.ServerStream
2084}
2085
2086func (x *nativeHWManagementServiceGetPhysicalInventoryServer) Send(m *PhysicalInventoryResponse) error {
2087 return x.ServerStream.SendMsg(m)
2088}
2089
2090func _NativeHWManagementService_GetHWComponentInfo_Handler(srv interface{}, stream grpc.ServerStream) error {
2091 m := new(HWComponentInfoGetRequest)
2092 if err := stream.RecvMsg(m); err != nil {
2093 return err
2094 }
2095 return srv.(NativeHWManagementServiceServer).GetHWComponentInfo(m, &nativeHWManagementServiceGetHWComponentInfoServer{stream})
2096}
2097
2098type NativeHWManagementService_GetHWComponentInfoServer interface {
aghoshc301dcd2020-09-03 16:55:34 +01002099 Send(*HWComponentInfoGetResponse) error
Amit Ghosh09f28362020-06-12 21:52:19 +01002100 grpc.ServerStream
2101}
2102
2103type nativeHWManagementServiceGetHWComponentInfoServer struct {
2104 grpc.ServerStream
2105}
2106
aghoshc301dcd2020-09-03 16:55:34 +01002107func (x *nativeHWManagementServiceGetHWComponentInfoServer) Send(m *HWComponentInfoGetResponse) error {
Amit Ghosh09f28362020-06-12 21:52:19 +01002108 return x.ServerStream.SendMsg(m)
2109}
2110
2111func _NativeHWManagementService_SetHWComponentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2112 in := new(HWComponentInfoSetRequest)
2113 if err := dec(in); err != nil {
2114 return nil, err
2115 }
2116 if interceptor == nil {
2117 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, in)
2118 }
2119 info := &grpc.UnaryServerInfo{
2120 Server: srv,
2121 FullMethod: "/dmi.NativeHWManagementService/SetHWComponentInfo",
2122 }
2123 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2124 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, req.(*HWComponentInfoSetRequest))
2125 }
2126 return interceptor(ctx, in, info, handler)
2127}
2128
amit.ghosh188a84f2020-09-27 20:59:25 +02002129func _NativeHWManagementService_SetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2130 in := new(SetLoggingEndpointRequest)
2131 if err := dec(in); err != nil {
2132 return nil, err
2133 }
2134 if interceptor == nil {
2135 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, in)
2136 }
2137 info := &grpc.UnaryServerInfo{
2138 Server: srv,
2139 FullMethod: "/dmi.NativeHWManagementService/SetLoggingEndpoint",
2140 }
2141 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2142 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, req.(*SetLoggingEndpointRequest))
2143 }
2144 return interceptor(ctx, in, info, handler)
2145}
2146
2147func _NativeHWManagementService_GetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002148 in := new(HardwareID)
amit.ghosh188a84f2020-09-27 20:59:25 +02002149 if err := dec(in); err != nil {
2150 return nil, err
2151 }
2152 if interceptor == nil {
2153 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, in)
2154 }
2155 info := &grpc.UnaryServerInfo{
2156 Server: srv,
2157 FullMethod: "/dmi.NativeHWManagementService/GetLoggingEndpoint",
2158 }
2159 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002160 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, req.(*HardwareID))
amit.ghosh188a84f2020-09-27 20:59:25 +02002161 }
2162 return interceptor(ctx, in, info, handler)
2163}
2164
2165func _NativeHWManagementService_SetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2166 in := new(SetMsgBusEndpointRequest)
2167 if err := dec(in); err != nil {
2168 return nil, err
2169 }
2170 if interceptor == nil {
2171 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, in)
2172 }
2173 info := &grpc.UnaryServerInfo{
2174 Server: srv,
2175 FullMethod: "/dmi.NativeHWManagementService/SetMsgBusEndpoint",
2176 }
2177 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2178 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, req.(*SetMsgBusEndpointRequest))
2179 }
2180 return interceptor(ctx, in, info, handler)
2181}
2182
2183func _NativeHWManagementService_GetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2184 in := new(empty.Empty)
2185 if err := dec(in); err != nil {
2186 return nil, err
2187 }
2188 if interceptor == nil {
2189 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, in)
2190 }
2191 info := &grpc.UnaryServerInfo{
2192 Server: srv,
2193 FullMethod: "/dmi.NativeHWManagementService/GetMsgBusEndpoint",
2194 }
2195 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2196 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, req.(*empty.Empty))
2197 }
2198 return interceptor(ctx, in, info, handler)
2199}
2200
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002201func _NativeHWManagementService_GetLoggableEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2202 in := new(GetLoggableEntitiesRequest)
2203 if err := dec(in); err != nil {
2204 return nil, err
2205 }
2206 if interceptor == nil {
2207 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, in)
2208 }
2209 info := &grpc.UnaryServerInfo{
2210 Server: srv,
2211 FullMethod: "/dmi.NativeHWManagementService/GetLoggableEntities",
2212 }
2213 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2214 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, req.(*GetLoggableEntitiesRequest))
2215 }
2216 return interceptor(ctx, in, info, handler)
2217}
2218
2219func _NativeHWManagementService_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2220 in := new(SetLogLevelRequest)
2221 if err := dec(in); err != nil {
2222 return nil, err
2223 }
2224 if interceptor == nil {
2225 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, in)
2226 }
2227 info := &grpc.UnaryServerInfo{
2228 Server: srv,
2229 FullMethod: "/dmi.NativeHWManagementService/SetLogLevel",
2230 }
2231 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2232 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, req.(*SetLogLevelRequest))
2233 }
2234 return interceptor(ctx, in, info, handler)
2235}
2236
2237func _NativeHWManagementService_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2238 in := new(GetLogLevelRequest)
2239 if err := dec(in); err != nil {
2240 return nil, err
2241 }
2242 if interceptor == nil {
2243 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, in)
2244 }
2245 info := &grpc.UnaryServerInfo{
2246 Server: srv,
2247 FullMethod: "/dmi.NativeHWManagementService/GetLogLevel",
2248 }
2249 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2250 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, req.(*GetLogLevelRequest))
2251 }
2252 return interceptor(ctx, in, info, handler)
2253}
2254
Amit Ghosh09f28362020-06-12 21:52:19 +01002255var _NativeHWManagementService_serviceDesc = grpc.ServiceDesc{
2256 ServiceName: "dmi.NativeHWManagementService",
2257 HandlerType: (*NativeHWManagementServiceServer)(nil),
2258 Methods: []grpc.MethodDesc{
2259 {
Amit Ghosh366228e2020-07-06 13:46:42 +01002260 MethodName: "StopManagingDevice",
2261 Handler: _NativeHWManagementService_StopManagingDevice_Handler,
2262 },
2263 {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002264 MethodName: "GetManagedDevices",
2265 Handler: _NativeHWManagementService_GetManagedDevices_Handler,
2266 },
2267 {
Amit Ghosh09f28362020-06-12 21:52:19 +01002268 MethodName: "SetHWComponentInfo",
2269 Handler: _NativeHWManagementService_SetHWComponentInfo_Handler,
2270 },
amit.ghosh188a84f2020-09-27 20:59:25 +02002271 {
2272 MethodName: "SetLoggingEndpoint",
2273 Handler: _NativeHWManagementService_SetLoggingEndpoint_Handler,
2274 },
2275 {
2276 MethodName: "GetLoggingEndpoint",
2277 Handler: _NativeHWManagementService_GetLoggingEndpoint_Handler,
2278 },
2279 {
2280 MethodName: "SetMsgBusEndpoint",
2281 Handler: _NativeHWManagementService_SetMsgBusEndpoint_Handler,
2282 },
2283 {
2284 MethodName: "GetMsgBusEndpoint",
2285 Handler: _NativeHWManagementService_GetMsgBusEndpoint_Handler,
2286 },
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002287 {
2288 MethodName: "GetLoggableEntities",
2289 Handler: _NativeHWManagementService_GetLoggableEntities_Handler,
2290 },
2291 {
2292 MethodName: "SetLogLevel",
2293 Handler: _NativeHWManagementService_SetLogLevel_Handler,
2294 },
2295 {
2296 MethodName: "GetLogLevel",
2297 Handler: _NativeHWManagementService_GetLogLevel_Handler,
2298 },
Amit Ghosh09f28362020-06-12 21:52:19 +01002299 },
2300 Streams: []grpc.StreamDesc{
2301 {
2302 StreamName: "StartManagingDevice",
2303 Handler: _NativeHWManagementService_StartManagingDevice_Handler,
2304 ServerStreams: true,
2305 },
2306 {
2307 StreamName: "GetPhysicalInventory",
2308 Handler: _NativeHWManagementService_GetPhysicalInventory_Handler,
2309 ServerStreams: true,
2310 },
2311 {
2312 StreamName: "GetHWComponentInfo",
2313 Handler: _NativeHWManagementService_GetHWComponentInfo_Handler,
2314 ServerStreams: true,
2315 },
2316 },
2317 Metadata: "dmi/hw_management_service.proto",
2318}