blob: af6765f6a5a5373e0f3ccb9f62c292a7f3920537 [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
193type SetRemoteEndpointResponse_Reason int32
194
195const (
196 SetRemoteEndpointResponse_UNDEFINED_REASON SetRemoteEndpointResponse_Reason = 0
197 SetRemoteEndpointResponse_UNKNOWN_DEVICE SetRemoteEndpointResponse_Reason = 1
198 SetRemoteEndpointResponse_INTERNAL_ERROR SetRemoteEndpointResponse_Reason = 2
199 SetRemoteEndpointResponse_LOGGING_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 3
200 SetRemoteEndpointResponse_LOGGING_ENDPOINT_PROTOCOL_ERROR SetRemoteEndpointResponse_Reason = 4
201 SetRemoteEndpointResponse_MSGBUS_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 5
amit.ghoshbd2022e2021-02-22 05:58:53 +0100202 SetRemoteEndpointResponse_DEVICE_UNREACHABLE SetRemoteEndpointResponse_Reason = 6
amit.ghoshae473032021-01-10 11:59:10 +0100203)
204
205var SetRemoteEndpointResponse_Reason_name = map[int32]string{
206 0: "UNDEFINED_REASON",
207 1: "UNKNOWN_DEVICE",
208 2: "INTERNAL_ERROR",
209 3: "LOGGING_ENDPOINT_ERROR",
210 4: "LOGGING_ENDPOINT_PROTOCOL_ERROR",
211 5: "MSGBUS_ENDPOINT_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100212 6: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100213}
214
215var SetRemoteEndpointResponse_Reason_value = map[string]int32{
216 "UNDEFINED_REASON": 0,
217 "UNKNOWN_DEVICE": 1,
218 "INTERNAL_ERROR": 2,
219 "LOGGING_ENDPOINT_ERROR": 3,
220 "LOGGING_ENDPOINT_PROTOCOL_ERROR": 4,
221 "MSGBUS_ENDPOINT_ERROR": 5,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100222 "DEVICE_UNREACHABLE": 6,
amit.ghoshae473032021-01-10 11:59:10 +0100223}
224
225func (x SetRemoteEndpointResponse_Reason) String() string {
226 return proto.EnumName(SetRemoteEndpointResponse_Reason_name, int32(x))
227}
228
229func (SetRemoteEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
230 return fileDescriptor_eae902e73066286d, []int{11, 0}
231}
232
233type GetLoggingEndpointResponse_Reason int32
234
235const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100236 GetLoggingEndpointResponse_UNDEFINED_REASON GetLoggingEndpointResponse_Reason = 0
237 GetLoggingEndpointResponse_UNKNOWN_DEVICE GetLoggingEndpointResponse_Reason = 1
238 GetLoggingEndpointResponse_INTERNAL_ERROR GetLoggingEndpointResponse_Reason = 2
239 GetLoggingEndpointResponse_DEVICE_UNREACHABLE GetLoggingEndpointResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +0100240)
241
242var GetLoggingEndpointResponse_Reason_name = map[int32]string{
243 0: "UNDEFINED_REASON",
244 1: "UNKNOWN_DEVICE",
245 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100246 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100247}
248
249var GetLoggingEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100250 "UNDEFINED_REASON": 0,
251 "UNKNOWN_DEVICE": 1,
252 "INTERNAL_ERROR": 2,
253 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +0100254}
255
256func (x GetLoggingEndpointResponse_Reason) String() string {
257 return proto.EnumName(GetLoggingEndpointResponse_Reason_name, int32(x))
258}
259
260func (GetLoggingEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
261 return fileDescriptor_eae902e73066286d, []int{12, 0}
262}
263
264type GetMsgBusEndpointResponse_Reason int32
265
266const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100267 GetMsgBusEndpointResponse_UNDEFINED_REASON GetMsgBusEndpointResponse_Reason = 0
268 GetMsgBusEndpointResponse_INTERNAL_ERROR GetMsgBusEndpointResponse_Reason = 1
269 GetMsgBusEndpointResponse_DEVICE_UNREACHABLE GetMsgBusEndpointResponse_Reason = 2
amit.ghoshae473032021-01-10 11:59:10 +0100270)
271
272var GetMsgBusEndpointResponse_Reason_name = map[int32]string{
273 0: "UNDEFINED_REASON",
274 1: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100275 2: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100276}
277
278var GetMsgBusEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100279 "UNDEFINED_REASON": 0,
280 "INTERNAL_ERROR": 1,
281 "DEVICE_UNREACHABLE": 2,
amit.ghoshae473032021-01-10 11:59:10 +0100282}
283
284func (x GetMsgBusEndpointResponse_Reason) String() string {
285 return proto.EnumName(GetMsgBusEndpointResponse_Reason_name, int32(x))
286}
287
288func (GetMsgBusEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
289 return fileDescriptor_eae902e73066286d, []int{14, 0}
290}
291
292type SetLogLevelResponse_Reason int32
293
294const (
295 SetLogLevelResponse_UNDEFINED_REASON SetLogLevelResponse_Reason = 0
296 SetLogLevelResponse_UNKNOWN_DEVICE SetLogLevelResponse_Reason = 1
297 SetLogLevelResponse_INTERNAL_ERROR SetLogLevelResponse_Reason = 2
298 SetLogLevelResponse_UNKNOWN_LOG_ENTITY SetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100299 SetLogLevelResponse_DEVICE_UNREACHABLE SetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100300)
301
302var SetLogLevelResponse_Reason_name = map[int32]string{
303 0: "UNDEFINED_REASON",
304 1: "UNKNOWN_DEVICE",
305 2: "INTERNAL_ERROR",
306 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100307 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100308}
309
310var SetLogLevelResponse_Reason_value = map[string]int32{
311 "UNDEFINED_REASON": 0,
312 "UNKNOWN_DEVICE": 1,
313 "INTERNAL_ERROR": 2,
314 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100315 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100316}
317
318func (x SetLogLevelResponse_Reason) String() string {
319 return proto.EnumName(SetLogLevelResponse_Reason_name, int32(x))
320}
321
322func (SetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
323 return fileDescriptor_eae902e73066286d, []int{17, 0}
324}
325
326type GetLogLevelResponse_Reason int32
327
328const (
329 GetLogLevelResponse_UNDEFINED_REASON GetLogLevelResponse_Reason = 0
330 GetLogLevelResponse_UNKNOWN_DEVICE GetLogLevelResponse_Reason = 1
331 GetLogLevelResponse_INTERNAL_ERROR GetLogLevelResponse_Reason = 2
332 GetLogLevelResponse_UNKNOWN_LOG_ENTITY GetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100333 GetLogLevelResponse_DEVICE_UNREACHABLE GetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100334)
335
336var GetLogLevelResponse_Reason_name = map[int32]string{
337 0: "UNDEFINED_REASON",
338 1: "UNKNOWN_DEVICE",
339 2: "INTERNAL_ERROR",
340 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100341 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100342}
343
344var GetLogLevelResponse_Reason_value = map[string]int32{
345 "UNDEFINED_REASON": 0,
346 "UNKNOWN_DEVICE": 1,
347 "INTERNAL_ERROR": 2,
348 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100349 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100350}
351
352func (x GetLogLevelResponse_Reason) String() string {
353 return proto.EnumName(GetLogLevelResponse_Reason_name, int32(x))
354}
355
356func (GetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
357 return fileDescriptor_eae902e73066286d, []int{19, 0}
358}
359
Amit Ghosh09f28362020-06-12 21:52:19 +0100360type PhysicalInventoryRequest struct {
361 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
362 XXX_NoUnkeyedLiteral struct{} `json:"-"`
363 XXX_unrecognized []byte `json:"-"`
364 XXX_sizecache int32 `json:"-"`
365}
366
367func (m *PhysicalInventoryRequest) Reset() { *m = PhysicalInventoryRequest{} }
368func (m *PhysicalInventoryRequest) String() string { return proto.CompactTextString(m) }
369func (*PhysicalInventoryRequest) ProtoMessage() {}
370func (*PhysicalInventoryRequest) Descriptor() ([]byte, []int) {
371 return fileDescriptor_eae902e73066286d, []int{0}
372}
373
374func (m *PhysicalInventoryRequest) XXX_Unmarshal(b []byte) error {
375 return xxx_messageInfo_PhysicalInventoryRequest.Unmarshal(m, b)
376}
377func (m *PhysicalInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
378 return xxx_messageInfo_PhysicalInventoryRequest.Marshal(b, m, deterministic)
379}
380func (m *PhysicalInventoryRequest) XXX_Merge(src proto.Message) {
381 xxx_messageInfo_PhysicalInventoryRequest.Merge(m, src)
382}
383func (m *PhysicalInventoryRequest) XXX_Size() int {
384 return xxx_messageInfo_PhysicalInventoryRequest.Size(m)
385}
386func (m *PhysicalInventoryRequest) XXX_DiscardUnknown() {
387 xxx_messageInfo_PhysicalInventoryRequest.DiscardUnknown(m)
388}
389
390var xxx_messageInfo_PhysicalInventoryRequest proto.InternalMessageInfo
391
392func (m *PhysicalInventoryRequest) GetDeviceUuid() *Uuid {
393 if m != nil {
394 return m.DeviceUuid
395 }
396 return nil
397}
398
399type PhysicalInventoryResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100400 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
401 Reason PhysicalInventoryResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.PhysicalInventoryResponse_Reason" json:"reason,omitempty"`
402 Inventory *Hardware `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
403 XXX_NoUnkeyedLiteral struct{} `json:"-"`
404 XXX_unrecognized []byte `json:"-"`
405 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100406}
407
408func (m *PhysicalInventoryResponse) Reset() { *m = PhysicalInventoryResponse{} }
409func (m *PhysicalInventoryResponse) String() string { return proto.CompactTextString(m) }
410func (*PhysicalInventoryResponse) ProtoMessage() {}
411func (*PhysicalInventoryResponse) Descriptor() ([]byte, []int) {
412 return fileDescriptor_eae902e73066286d, []int{1}
413}
414
415func (m *PhysicalInventoryResponse) XXX_Unmarshal(b []byte) error {
416 return xxx_messageInfo_PhysicalInventoryResponse.Unmarshal(m, b)
417}
418func (m *PhysicalInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
419 return xxx_messageInfo_PhysicalInventoryResponse.Marshal(b, m, deterministic)
420}
421func (m *PhysicalInventoryResponse) XXX_Merge(src proto.Message) {
422 xxx_messageInfo_PhysicalInventoryResponse.Merge(m, src)
423}
424func (m *PhysicalInventoryResponse) XXX_Size() int {
425 return xxx_messageInfo_PhysicalInventoryResponse.Size(m)
426}
427func (m *PhysicalInventoryResponse) XXX_DiscardUnknown() {
428 xxx_messageInfo_PhysicalInventoryResponse.DiscardUnknown(m)
429}
430
431var xxx_messageInfo_PhysicalInventoryResponse proto.InternalMessageInfo
432
433func (m *PhysicalInventoryResponse) GetStatus() Status {
434 if m != nil {
435 return m.Status
436 }
437 return Status_UNDEFINED_STATUS
438}
439
amit.ghoshae473032021-01-10 11:59:10 +0100440func (m *PhysicalInventoryResponse) GetReason() PhysicalInventoryResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100441 if m != nil {
442 return m.Reason
443 }
amit.ghoshae473032021-01-10 11:59:10 +0100444 return PhysicalInventoryResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100445}
446
447func (m *PhysicalInventoryResponse) GetInventory() *Hardware {
448 if m != nil {
449 return m.Inventory
450 }
451 return nil
452}
453
454type HWComponentInfoGetRequest struct {
455 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
456 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
457 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
458 XXX_NoUnkeyedLiteral struct{} `json:"-"`
459 XXX_unrecognized []byte `json:"-"`
460 XXX_sizecache int32 `json:"-"`
461}
462
463func (m *HWComponentInfoGetRequest) Reset() { *m = HWComponentInfoGetRequest{} }
464func (m *HWComponentInfoGetRequest) String() string { return proto.CompactTextString(m) }
465func (*HWComponentInfoGetRequest) ProtoMessage() {}
466func (*HWComponentInfoGetRequest) Descriptor() ([]byte, []int) {
467 return fileDescriptor_eae902e73066286d, []int{2}
468}
469
470func (m *HWComponentInfoGetRequest) XXX_Unmarshal(b []byte) error {
471 return xxx_messageInfo_HWComponentInfoGetRequest.Unmarshal(m, b)
472}
473func (m *HWComponentInfoGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
474 return xxx_messageInfo_HWComponentInfoGetRequest.Marshal(b, m, deterministic)
475}
476func (m *HWComponentInfoGetRequest) XXX_Merge(src proto.Message) {
477 xxx_messageInfo_HWComponentInfoGetRequest.Merge(m, src)
478}
479func (m *HWComponentInfoGetRequest) XXX_Size() int {
480 return xxx_messageInfo_HWComponentInfoGetRequest.Size(m)
481}
482func (m *HWComponentInfoGetRequest) XXX_DiscardUnknown() {
483 xxx_messageInfo_HWComponentInfoGetRequest.DiscardUnknown(m)
484}
485
486var xxx_messageInfo_HWComponentInfoGetRequest proto.InternalMessageInfo
487
488func (m *HWComponentInfoGetRequest) GetDeviceUuid() *Uuid {
489 if m != nil {
490 return m.DeviceUuid
491 }
492 return nil
493}
494
495func (m *HWComponentInfoGetRequest) GetComponentUuid() *Uuid {
496 if m != nil {
497 return m.ComponentUuid
498 }
499 return nil
500}
501
502func (m *HWComponentInfoGetRequest) GetComponentName() string {
503 if m != nil {
504 return m.ComponentName
505 }
506 return ""
507}
508
aghoshc301dcd2020-09-03 16:55:34 +0100509type HWComponentInfoGetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100510 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
511 Reason HWComponentInfoGetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoGetResponse_Reason" json:"reason,omitempty"`
512 Component *Component `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
513 XXX_NoUnkeyedLiteral struct{} `json:"-"`
514 XXX_unrecognized []byte `json:"-"`
515 XXX_sizecache int32 `json:"-"`
aghoshc301dcd2020-09-03 16:55:34 +0100516}
517
518func (m *HWComponentInfoGetResponse) Reset() { *m = HWComponentInfoGetResponse{} }
519func (m *HWComponentInfoGetResponse) String() string { return proto.CompactTextString(m) }
520func (*HWComponentInfoGetResponse) ProtoMessage() {}
521func (*HWComponentInfoGetResponse) Descriptor() ([]byte, []int) {
522 return fileDescriptor_eae902e73066286d, []int{3}
523}
524
525func (m *HWComponentInfoGetResponse) XXX_Unmarshal(b []byte) error {
526 return xxx_messageInfo_HWComponentInfoGetResponse.Unmarshal(m, b)
527}
528func (m *HWComponentInfoGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
529 return xxx_messageInfo_HWComponentInfoGetResponse.Marshal(b, m, deterministic)
530}
531func (m *HWComponentInfoGetResponse) XXX_Merge(src proto.Message) {
532 xxx_messageInfo_HWComponentInfoGetResponse.Merge(m, src)
533}
534func (m *HWComponentInfoGetResponse) XXX_Size() int {
535 return xxx_messageInfo_HWComponentInfoGetResponse.Size(m)
536}
537func (m *HWComponentInfoGetResponse) XXX_DiscardUnknown() {
538 xxx_messageInfo_HWComponentInfoGetResponse.DiscardUnknown(m)
539}
540
541var xxx_messageInfo_HWComponentInfoGetResponse proto.InternalMessageInfo
542
543func (m *HWComponentInfoGetResponse) GetStatus() Status {
544 if m != nil {
545 return m.Status
546 }
547 return Status_UNDEFINED_STATUS
548}
549
amit.ghoshae473032021-01-10 11:59:10 +0100550func (m *HWComponentInfoGetResponse) GetReason() HWComponentInfoGetResponse_Reason {
aghoshc301dcd2020-09-03 16:55:34 +0100551 if m != nil {
552 return m.Reason
553 }
amit.ghoshae473032021-01-10 11:59:10 +0100554 return HWComponentInfoGetResponse_UNDEFINED_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100555}
556
557func (m *HWComponentInfoGetResponse) GetComponent() *Component {
558 if m != nil {
559 return m.Component
560 }
561 return nil
562}
563
Amit Ghosh09f28362020-06-12 21:52:19 +0100564type HWComponentInfoSetRequest struct {
565 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
566 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
567 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
568 Changes *ModifiableComponent `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"`
569 XXX_NoUnkeyedLiteral struct{} `json:"-"`
570 XXX_unrecognized []byte `json:"-"`
571 XXX_sizecache int32 `json:"-"`
572}
573
574func (m *HWComponentInfoSetRequest) Reset() { *m = HWComponentInfoSetRequest{} }
575func (m *HWComponentInfoSetRequest) String() string { return proto.CompactTextString(m) }
576func (*HWComponentInfoSetRequest) ProtoMessage() {}
577func (*HWComponentInfoSetRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100578 return fileDescriptor_eae902e73066286d, []int{4}
Amit Ghosh09f28362020-06-12 21:52:19 +0100579}
580
581func (m *HWComponentInfoSetRequest) XXX_Unmarshal(b []byte) error {
582 return xxx_messageInfo_HWComponentInfoSetRequest.Unmarshal(m, b)
583}
584func (m *HWComponentInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
585 return xxx_messageInfo_HWComponentInfoSetRequest.Marshal(b, m, deterministic)
586}
587func (m *HWComponentInfoSetRequest) XXX_Merge(src proto.Message) {
588 xxx_messageInfo_HWComponentInfoSetRequest.Merge(m, src)
589}
590func (m *HWComponentInfoSetRequest) XXX_Size() int {
591 return xxx_messageInfo_HWComponentInfoSetRequest.Size(m)
592}
593func (m *HWComponentInfoSetRequest) XXX_DiscardUnknown() {
594 xxx_messageInfo_HWComponentInfoSetRequest.DiscardUnknown(m)
595}
596
597var xxx_messageInfo_HWComponentInfoSetRequest proto.InternalMessageInfo
598
599func (m *HWComponentInfoSetRequest) GetDeviceUuid() *Uuid {
600 if m != nil {
601 return m.DeviceUuid
602 }
603 return nil
604}
605
606func (m *HWComponentInfoSetRequest) GetComponentUuid() *Uuid {
607 if m != nil {
608 return m.ComponentUuid
609 }
610 return nil
611}
612
613func (m *HWComponentInfoSetRequest) GetComponentName() string {
614 if m != nil {
615 return m.ComponentName
616 }
617 return ""
618}
619
620func (m *HWComponentInfoSetRequest) GetChanges() *ModifiableComponent {
621 if m != nil {
622 return m.Changes
623 }
624 return nil
625}
626
627type HWComponentInfoSetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100628 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
629 Reason HWComponentInfoSetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoSetResponse_Reason" json:"reason,omitempty"`
630 XXX_NoUnkeyedLiteral struct{} `json:"-"`
631 XXX_unrecognized []byte `json:"-"`
632 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100633}
634
635func (m *HWComponentInfoSetResponse) Reset() { *m = HWComponentInfoSetResponse{} }
636func (m *HWComponentInfoSetResponse) String() string { return proto.CompactTextString(m) }
637func (*HWComponentInfoSetResponse) ProtoMessage() {}
638func (*HWComponentInfoSetResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100639 return fileDescriptor_eae902e73066286d, []int{5}
Amit Ghosh09f28362020-06-12 21:52:19 +0100640}
641
642func (m *HWComponentInfoSetResponse) XXX_Unmarshal(b []byte) error {
643 return xxx_messageInfo_HWComponentInfoSetResponse.Unmarshal(m, b)
644}
645func (m *HWComponentInfoSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
646 return xxx_messageInfo_HWComponentInfoSetResponse.Marshal(b, m, deterministic)
647}
648func (m *HWComponentInfoSetResponse) XXX_Merge(src proto.Message) {
649 xxx_messageInfo_HWComponentInfoSetResponse.Merge(m, src)
650}
651func (m *HWComponentInfoSetResponse) XXX_Size() int {
652 return xxx_messageInfo_HWComponentInfoSetResponse.Size(m)
653}
654func (m *HWComponentInfoSetResponse) XXX_DiscardUnknown() {
655 xxx_messageInfo_HWComponentInfoSetResponse.DiscardUnknown(m)
656}
657
658var xxx_messageInfo_HWComponentInfoSetResponse proto.InternalMessageInfo
659
660func (m *HWComponentInfoSetResponse) GetStatus() Status {
661 if m != nil {
662 return m.Status
663 }
664 return Status_UNDEFINED_STATUS
665}
666
amit.ghoshae473032021-01-10 11:59:10 +0100667func (m *HWComponentInfoSetResponse) GetReason() HWComponentInfoSetResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100668 if m != nil {
669 return m.Reason
670 }
amit.ghoshae473032021-01-10 11:59:10 +0100671 return HWComponentInfoSetResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100672}
673
674type StartManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100675 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
676 Reason StartManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartManagingDeviceResponse_Reason" json:"reason,omitempty"`
677 DeviceUuid *Uuid `protobuf:"bytes,3,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
678 XXX_NoUnkeyedLiteral struct{} `json:"-"`
679 XXX_unrecognized []byte `json:"-"`
680 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100681}
682
683func (m *StartManagingDeviceResponse) Reset() { *m = StartManagingDeviceResponse{} }
684func (m *StartManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
685func (*StartManagingDeviceResponse) ProtoMessage() {}
686func (*StartManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100687 return fileDescriptor_eae902e73066286d, []int{6}
Amit Ghosh09f28362020-06-12 21:52:19 +0100688}
689
690func (m *StartManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
691 return xxx_messageInfo_StartManagingDeviceResponse.Unmarshal(m, b)
692}
693func (m *StartManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
694 return xxx_messageInfo_StartManagingDeviceResponse.Marshal(b, m, deterministic)
695}
696func (m *StartManagingDeviceResponse) XXX_Merge(src proto.Message) {
697 xxx_messageInfo_StartManagingDeviceResponse.Merge(m, src)
698}
699func (m *StartManagingDeviceResponse) XXX_Size() int {
700 return xxx_messageInfo_StartManagingDeviceResponse.Size(m)
701}
702func (m *StartManagingDeviceResponse) XXX_DiscardUnknown() {
703 xxx_messageInfo_StartManagingDeviceResponse.DiscardUnknown(m)
704}
705
706var xxx_messageInfo_StartManagingDeviceResponse proto.InternalMessageInfo
707
708func (m *StartManagingDeviceResponse) GetStatus() Status {
709 if m != nil {
710 return m.Status
711 }
712 return Status_UNDEFINED_STATUS
713}
714
amit.ghoshae473032021-01-10 11:59:10 +0100715func (m *StartManagingDeviceResponse) GetReason() StartManagingDeviceResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100716 if m != nil {
717 return m.Reason
718 }
amit.ghoshae473032021-01-10 11:59:10 +0100719 return StartManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100720}
721
722func (m *StartManagingDeviceResponse) GetDeviceUuid() *Uuid {
723 if m != nil {
724 return m.DeviceUuid
725 }
726 return nil
727}
728
Amit Ghosh366228e2020-07-06 13:46:42 +0100729type StopManagingDeviceRequest struct {
730 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
731 XXX_NoUnkeyedLiteral struct{} `json:"-"`
732 XXX_unrecognized []byte `json:"-"`
733 XXX_sizecache int32 `json:"-"`
734}
735
736func (m *StopManagingDeviceRequest) Reset() { *m = StopManagingDeviceRequest{} }
737func (m *StopManagingDeviceRequest) String() string { return proto.CompactTextString(m) }
738func (*StopManagingDeviceRequest) ProtoMessage() {}
739func (*StopManagingDeviceRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100740 return fileDescriptor_eae902e73066286d, []int{7}
Amit Ghosh366228e2020-07-06 13:46:42 +0100741}
742
743func (m *StopManagingDeviceRequest) XXX_Unmarshal(b []byte) error {
744 return xxx_messageInfo_StopManagingDeviceRequest.Unmarshal(m, b)
745}
746func (m *StopManagingDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
747 return xxx_messageInfo_StopManagingDeviceRequest.Marshal(b, m, deterministic)
748}
749func (m *StopManagingDeviceRequest) XXX_Merge(src proto.Message) {
750 xxx_messageInfo_StopManagingDeviceRequest.Merge(m, src)
751}
752func (m *StopManagingDeviceRequest) XXX_Size() int {
753 return xxx_messageInfo_StopManagingDeviceRequest.Size(m)
754}
755func (m *StopManagingDeviceRequest) XXX_DiscardUnknown() {
756 xxx_messageInfo_StopManagingDeviceRequest.DiscardUnknown(m)
757}
758
759var xxx_messageInfo_StopManagingDeviceRequest proto.InternalMessageInfo
760
761func (m *StopManagingDeviceRequest) GetName() string {
762 if m != nil {
763 return m.Name
764 }
765 return ""
766}
767
768type StopManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100769 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
770 Reason StopManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StopManagingDeviceResponse_Reason" json:"reason,omitempty"`
771 XXX_NoUnkeyedLiteral struct{} `json:"-"`
772 XXX_unrecognized []byte `json:"-"`
773 XXX_sizecache int32 `json:"-"`
Amit Ghosh366228e2020-07-06 13:46:42 +0100774}
775
776func (m *StopManagingDeviceResponse) Reset() { *m = StopManagingDeviceResponse{} }
777func (m *StopManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
778func (*StopManagingDeviceResponse) ProtoMessage() {}
779func (*StopManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100780 return fileDescriptor_eae902e73066286d, []int{8}
Amit Ghosh366228e2020-07-06 13:46:42 +0100781}
782
783func (m *StopManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
784 return xxx_messageInfo_StopManagingDeviceResponse.Unmarshal(m, b)
785}
786func (m *StopManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
787 return xxx_messageInfo_StopManagingDeviceResponse.Marshal(b, m, deterministic)
788}
789func (m *StopManagingDeviceResponse) XXX_Merge(src proto.Message) {
790 xxx_messageInfo_StopManagingDeviceResponse.Merge(m, src)
791}
792func (m *StopManagingDeviceResponse) XXX_Size() int {
793 return xxx_messageInfo_StopManagingDeviceResponse.Size(m)
794}
795func (m *StopManagingDeviceResponse) XXX_DiscardUnknown() {
796 xxx_messageInfo_StopManagingDeviceResponse.DiscardUnknown(m)
797}
798
799var xxx_messageInfo_StopManagingDeviceResponse proto.InternalMessageInfo
800
801func (m *StopManagingDeviceResponse) GetStatus() Status {
802 if m != nil {
803 return m.Status
804 }
805 return Status_UNDEFINED_STATUS
806}
807
amit.ghoshae473032021-01-10 11:59:10 +0100808func (m *StopManagingDeviceResponse) GetReason() StopManagingDeviceResponse_Reason {
Amit Ghosh366228e2020-07-06 13:46:42 +0100809 if m != nil {
810 return m.Reason
811 }
amit.ghoshae473032021-01-10 11:59:10 +0100812 return StopManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh366228e2020-07-06 13:46:42 +0100813}
814
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200815type ManagedDevicesResponse struct {
816 Devices []*ModifiableComponent `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
817 XXX_NoUnkeyedLiteral struct{} `json:"-"`
818 XXX_unrecognized []byte `json:"-"`
819 XXX_sizecache int32 `json:"-"`
820}
821
822func (m *ManagedDevicesResponse) Reset() { *m = ManagedDevicesResponse{} }
823func (m *ManagedDevicesResponse) String() string { return proto.CompactTextString(m) }
824func (*ManagedDevicesResponse) ProtoMessage() {}
825func (*ManagedDevicesResponse) Descriptor() ([]byte, []int) {
826 return fileDescriptor_eae902e73066286d, []int{9}
827}
828
829func (m *ManagedDevicesResponse) XXX_Unmarshal(b []byte) error {
830 return xxx_messageInfo_ManagedDevicesResponse.Unmarshal(m, b)
831}
832func (m *ManagedDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
833 return xxx_messageInfo_ManagedDevicesResponse.Marshal(b, m, deterministic)
834}
835func (m *ManagedDevicesResponse) XXX_Merge(src proto.Message) {
836 xxx_messageInfo_ManagedDevicesResponse.Merge(m, src)
837}
838func (m *ManagedDevicesResponse) XXX_Size() int {
839 return xxx_messageInfo_ManagedDevicesResponse.Size(m)
840}
841func (m *ManagedDevicesResponse) XXX_DiscardUnknown() {
842 xxx_messageInfo_ManagedDevicesResponse.DiscardUnknown(m)
843}
844
845var xxx_messageInfo_ManagedDevicesResponse proto.InternalMessageInfo
846
847func (m *ManagedDevicesResponse) GetDevices() []*ModifiableComponent {
848 if m != nil {
849 return m.Devices
850 }
851 return nil
852}
853
amit.ghosh188a84f2020-09-27 20:59:25 +0200854type SetLoggingEndpointRequest struct {
855 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
856 LoggingEndpoint string `protobuf:"bytes,2,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
857 LoggingProtocol string `protobuf:"bytes,3,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
858 XXX_NoUnkeyedLiteral struct{} `json:"-"`
859 XXX_unrecognized []byte `json:"-"`
860 XXX_sizecache int32 `json:"-"`
861}
862
863func (m *SetLoggingEndpointRequest) Reset() { *m = SetLoggingEndpointRequest{} }
864func (m *SetLoggingEndpointRequest) String() string { return proto.CompactTextString(m) }
865func (*SetLoggingEndpointRequest) ProtoMessage() {}
866func (*SetLoggingEndpointRequest) Descriptor() ([]byte, []int) {
867 return fileDescriptor_eae902e73066286d, []int{10}
868}
869
870func (m *SetLoggingEndpointRequest) XXX_Unmarshal(b []byte) error {
871 return xxx_messageInfo_SetLoggingEndpointRequest.Unmarshal(m, b)
872}
873func (m *SetLoggingEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
874 return xxx_messageInfo_SetLoggingEndpointRequest.Marshal(b, m, deterministic)
875}
876func (m *SetLoggingEndpointRequest) XXX_Merge(src proto.Message) {
877 xxx_messageInfo_SetLoggingEndpointRequest.Merge(m, src)
878}
879func (m *SetLoggingEndpointRequest) XXX_Size() int {
880 return xxx_messageInfo_SetLoggingEndpointRequest.Size(m)
881}
882func (m *SetLoggingEndpointRequest) XXX_DiscardUnknown() {
883 xxx_messageInfo_SetLoggingEndpointRequest.DiscardUnknown(m)
884}
885
886var xxx_messageInfo_SetLoggingEndpointRequest proto.InternalMessageInfo
887
888func (m *SetLoggingEndpointRequest) GetDeviceUuid() *Uuid {
889 if m != nil {
890 return m.DeviceUuid
891 }
892 return nil
893}
894
895func (m *SetLoggingEndpointRequest) GetLoggingEndpoint() string {
896 if m != nil {
897 return m.LoggingEndpoint
898 }
899 return ""
900}
901
902func (m *SetLoggingEndpointRequest) GetLoggingProtocol() string {
903 if m != nil {
904 return m.LoggingProtocol
905 }
906 return ""
907}
908
909type SetRemoteEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100910 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
911 Reason SetRemoteEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetRemoteEndpointResponse_Reason" json:"reason,omitempty"`
912 XXX_NoUnkeyedLiteral struct{} `json:"-"`
913 XXX_unrecognized []byte `json:"-"`
914 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +0200915}
916
917func (m *SetRemoteEndpointResponse) Reset() { *m = SetRemoteEndpointResponse{} }
918func (m *SetRemoteEndpointResponse) String() string { return proto.CompactTextString(m) }
919func (*SetRemoteEndpointResponse) ProtoMessage() {}
920func (*SetRemoteEndpointResponse) Descriptor() ([]byte, []int) {
921 return fileDescriptor_eae902e73066286d, []int{11}
922}
923
924func (m *SetRemoteEndpointResponse) XXX_Unmarshal(b []byte) error {
925 return xxx_messageInfo_SetRemoteEndpointResponse.Unmarshal(m, b)
926}
927func (m *SetRemoteEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
928 return xxx_messageInfo_SetRemoteEndpointResponse.Marshal(b, m, deterministic)
929}
930func (m *SetRemoteEndpointResponse) XXX_Merge(src proto.Message) {
931 xxx_messageInfo_SetRemoteEndpointResponse.Merge(m, src)
932}
933func (m *SetRemoteEndpointResponse) XXX_Size() int {
934 return xxx_messageInfo_SetRemoteEndpointResponse.Size(m)
935}
936func (m *SetRemoteEndpointResponse) XXX_DiscardUnknown() {
937 xxx_messageInfo_SetRemoteEndpointResponse.DiscardUnknown(m)
938}
939
940var xxx_messageInfo_SetRemoteEndpointResponse proto.InternalMessageInfo
941
942func (m *SetRemoteEndpointResponse) GetStatus() Status {
943 if m != nil {
944 return m.Status
945 }
946 return Status_UNDEFINED_STATUS
947}
948
amit.ghoshae473032021-01-10 11:59:10 +0100949func (m *SetRemoteEndpointResponse) GetReason() SetRemoteEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +0200950 if m != nil {
951 return m.Reason
952 }
amit.ghoshae473032021-01-10 11:59:10 +0100953 return SetRemoteEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +0200954}
955
956type GetLoggingEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100957 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
958 Reason GetLoggingEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetLoggingEndpointResponse_Reason" json:"reason,omitempty"`
959 LoggingEndpoint string `protobuf:"bytes,3,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
960 LoggingProtocol string `protobuf:"bytes,4,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
961 XXX_NoUnkeyedLiteral struct{} `json:"-"`
962 XXX_unrecognized []byte `json:"-"`
963 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +0200964}
965
966func (m *GetLoggingEndpointResponse) Reset() { *m = GetLoggingEndpointResponse{} }
967func (m *GetLoggingEndpointResponse) String() string { return proto.CompactTextString(m) }
968func (*GetLoggingEndpointResponse) ProtoMessage() {}
969func (*GetLoggingEndpointResponse) Descriptor() ([]byte, []int) {
970 return fileDescriptor_eae902e73066286d, []int{12}
971}
972
973func (m *GetLoggingEndpointResponse) XXX_Unmarshal(b []byte) error {
974 return xxx_messageInfo_GetLoggingEndpointResponse.Unmarshal(m, b)
975}
976func (m *GetLoggingEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
977 return xxx_messageInfo_GetLoggingEndpointResponse.Marshal(b, m, deterministic)
978}
979func (m *GetLoggingEndpointResponse) XXX_Merge(src proto.Message) {
980 xxx_messageInfo_GetLoggingEndpointResponse.Merge(m, src)
981}
982func (m *GetLoggingEndpointResponse) XXX_Size() int {
983 return xxx_messageInfo_GetLoggingEndpointResponse.Size(m)
984}
985func (m *GetLoggingEndpointResponse) XXX_DiscardUnknown() {
986 xxx_messageInfo_GetLoggingEndpointResponse.DiscardUnknown(m)
987}
988
989var xxx_messageInfo_GetLoggingEndpointResponse proto.InternalMessageInfo
990
991func (m *GetLoggingEndpointResponse) GetStatus() Status {
992 if m != nil {
993 return m.Status
994 }
995 return Status_UNDEFINED_STATUS
996}
997
amit.ghoshae473032021-01-10 11:59:10 +0100998func (m *GetLoggingEndpointResponse) GetReason() GetLoggingEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +0200999 if m != nil {
1000 return m.Reason
1001 }
amit.ghoshae473032021-01-10 11:59:10 +01001002 return GetLoggingEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001003}
1004
1005func (m *GetLoggingEndpointResponse) GetLoggingEndpoint() string {
1006 if m != nil {
1007 return m.LoggingEndpoint
1008 }
1009 return ""
1010}
1011
1012func (m *GetLoggingEndpointResponse) GetLoggingProtocol() string {
1013 if m != nil {
1014 return m.LoggingProtocol
1015 }
1016 return ""
1017}
1018
1019type SetMsgBusEndpointRequest struct {
1020 MsgbusEndpoint string `protobuf:"bytes,1,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1021 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1022 XXX_unrecognized []byte `json:"-"`
1023 XXX_sizecache int32 `json:"-"`
1024}
1025
1026func (m *SetMsgBusEndpointRequest) Reset() { *m = SetMsgBusEndpointRequest{} }
1027func (m *SetMsgBusEndpointRequest) String() string { return proto.CompactTextString(m) }
1028func (*SetMsgBusEndpointRequest) ProtoMessage() {}
1029func (*SetMsgBusEndpointRequest) Descriptor() ([]byte, []int) {
1030 return fileDescriptor_eae902e73066286d, []int{13}
1031}
1032
1033func (m *SetMsgBusEndpointRequest) XXX_Unmarshal(b []byte) error {
1034 return xxx_messageInfo_SetMsgBusEndpointRequest.Unmarshal(m, b)
1035}
1036func (m *SetMsgBusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1037 return xxx_messageInfo_SetMsgBusEndpointRequest.Marshal(b, m, deterministic)
1038}
1039func (m *SetMsgBusEndpointRequest) XXX_Merge(src proto.Message) {
1040 xxx_messageInfo_SetMsgBusEndpointRequest.Merge(m, src)
1041}
1042func (m *SetMsgBusEndpointRequest) XXX_Size() int {
1043 return xxx_messageInfo_SetMsgBusEndpointRequest.Size(m)
1044}
1045func (m *SetMsgBusEndpointRequest) XXX_DiscardUnknown() {
1046 xxx_messageInfo_SetMsgBusEndpointRequest.DiscardUnknown(m)
1047}
1048
1049var xxx_messageInfo_SetMsgBusEndpointRequest proto.InternalMessageInfo
1050
1051func (m *SetMsgBusEndpointRequest) GetMsgbusEndpoint() string {
1052 if m != nil {
1053 return m.MsgbusEndpoint
1054 }
1055 return ""
1056}
1057
1058type GetMsgBusEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001059 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1060 Reason GetMsgBusEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetMsgBusEndpointResponse_Reason" json:"reason,omitempty"`
1061 MsgbusEndpoint string `protobuf:"bytes,3,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1062 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1063 XXX_unrecognized []byte `json:"-"`
1064 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001065}
1066
1067func (m *GetMsgBusEndpointResponse) Reset() { *m = GetMsgBusEndpointResponse{} }
1068func (m *GetMsgBusEndpointResponse) String() string { return proto.CompactTextString(m) }
1069func (*GetMsgBusEndpointResponse) ProtoMessage() {}
1070func (*GetMsgBusEndpointResponse) Descriptor() ([]byte, []int) {
1071 return fileDescriptor_eae902e73066286d, []int{14}
1072}
1073
1074func (m *GetMsgBusEndpointResponse) XXX_Unmarshal(b []byte) error {
1075 return xxx_messageInfo_GetMsgBusEndpointResponse.Unmarshal(m, b)
1076}
1077func (m *GetMsgBusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1078 return xxx_messageInfo_GetMsgBusEndpointResponse.Marshal(b, m, deterministic)
1079}
1080func (m *GetMsgBusEndpointResponse) XXX_Merge(src proto.Message) {
1081 xxx_messageInfo_GetMsgBusEndpointResponse.Merge(m, src)
1082}
1083func (m *GetMsgBusEndpointResponse) XXX_Size() int {
1084 return xxx_messageInfo_GetMsgBusEndpointResponse.Size(m)
1085}
1086func (m *GetMsgBusEndpointResponse) XXX_DiscardUnknown() {
1087 xxx_messageInfo_GetMsgBusEndpointResponse.DiscardUnknown(m)
1088}
1089
1090var xxx_messageInfo_GetMsgBusEndpointResponse proto.InternalMessageInfo
1091
1092func (m *GetMsgBusEndpointResponse) GetStatus() Status {
1093 if m != nil {
1094 return m.Status
1095 }
1096 return Status_UNDEFINED_STATUS
1097}
1098
amit.ghoshae473032021-01-10 11:59:10 +01001099func (m *GetMsgBusEndpointResponse) GetReason() GetMsgBusEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001100 if m != nil {
1101 return m.Reason
1102 }
amit.ghoshae473032021-01-10 11:59:10 +01001103 return GetMsgBusEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001104}
1105
1106func (m *GetMsgBusEndpointResponse) GetMsgbusEndpoint() string {
1107 if m != nil {
1108 return m.MsgbusEndpoint
1109 }
1110 return ""
1111}
1112
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001113type EntitiesLogLevel struct {
1114 LogLevel LogLevel `protobuf:"varint,1,opt,name=logLevel,proto3,enum=dmi.LogLevel" json:"logLevel,omitempty"`
1115 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1116 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1117 XXX_unrecognized []byte `json:"-"`
1118 XXX_sizecache int32 `json:"-"`
1119}
1120
1121func (m *EntitiesLogLevel) Reset() { *m = EntitiesLogLevel{} }
1122func (m *EntitiesLogLevel) String() string { return proto.CompactTextString(m) }
1123func (*EntitiesLogLevel) ProtoMessage() {}
1124func (*EntitiesLogLevel) Descriptor() ([]byte, []int) {
1125 return fileDescriptor_eae902e73066286d, []int{15}
1126}
1127
1128func (m *EntitiesLogLevel) XXX_Unmarshal(b []byte) error {
1129 return xxx_messageInfo_EntitiesLogLevel.Unmarshal(m, b)
1130}
1131func (m *EntitiesLogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1132 return xxx_messageInfo_EntitiesLogLevel.Marshal(b, m, deterministic)
1133}
1134func (m *EntitiesLogLevel) XXX_Merge(src proto.Message) {
1135 xxx_messageInfo_EntitiesLogLevel.Merge(m, src)
1136}
1137func (m *EntitiesLogLevel) XXX_Size() int {
1138 return xxx_messageInfo_EntitiesLogLevel.Size(m)
1139}
1140func (m *EntitiesLogLevel) XXX_DiscardUnknown() {
1141 xxx_messageInfo_EntitiesLogLevel.DiscardUnknown(m)
1142}
1143
1144var xxx_messageInfo_EntitiesLogLevel proto.InternalMessageInfo
1145
1146func (m *EntitiesLogLevel) GetLogLevel() LogLevel {
1147 if m != nil {
1148 return m.LogLevel
1149 }
1150 return LogLevel_TRACE
1151}
1152
1153func (m *EntitiesLogLevel) GetEntities() []string {
1154 if m != nil {
1155 return m.Entities
1156 }
1157 return nil
1158}
1159
1160type SetLogLevelRequest struct {
1161 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1162 Loglevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=loglevels,proto3" json:"loglevels,omitempty"`
1163 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1164 XXX_unrecognized []byte `json:"-"`
1165 XXX_sizecache int32 `json:"-"`
1166}
1167
1168func (m *SetLogLevelRequest) Reset() { *m = SetLogLevelRequest{} }
1169func (m *SetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1170func (*SetLogLevelRequest) ProtoMessage() {}
1171func (*SetLogLevelRequest) Descriptor() ([]byte, []int) {
1172 return fileDescriptor_eae902e73066286d, []int{16}
1173}
1174
1175func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1176 return xxx_messageInfo_SetLogLevelRequest.Unmarshal(m, b)
1177}
1178func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1179 return xxx_messageInfo_SetLogLevelRequest.Marshal(b, m, deterministic)
1180}
1181func (m *SetLogLevelRequest) XXX_Merge(src proto.Message) {
1182 xxx_messageInfo_SetLogLevelRequest.Merge(m, src)
1183}
1184func (m *SetLogLevelRequest) XXX_Size() int {
1185 return xxx_messageInfo_SetLogLevelRequest.Size(m)
1186}
1187func (m *SetLogLevelRequest) XXX_DiscardUnknown() {
1188 xxx_messageInfo_SetLogLevelRequest.DiscardUnknown(m)
1189}
1190
1191var xxx_messageInfo_SetLogLevelRequest proto.InternalMessageInfo
1192
1193func (m *SetLogLevelRequest) GetDeviceUuid() *Uuid {
1194 if m != nil {
1195 return m.DeviceUuid
1196 }
1197 return nil
1198}
1199
1200func (m *SetLogLevelRequest) GetLoglevels() []*EntitiesLogLevel {
1201 if m != nil {
1202 return m.Loglevels
1203 }
1204 return nil
1205}
1206
1207type SetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001208 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1209 Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1210 Reason SetLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.SetLogLevelResponse_Reason" json:"reason,omitempty"`
1211 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1212 XXX_unrecognized []byte `json:"-"`
1213 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001214}
1215
1216func (m *SetLogLevelResponse) Reset() { *m = SetLogLevelResponse{} }
1217func (m *SetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1218func (*SetLogLevelResponse) ProtoMessage() {}
1219func (*SetLogLevelResponse) Descriptor() ([]byte, []int) {
1220 return fileDescriptor_eae902e73066286d, []int{17}
1221}
1222
1223func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1224 return xxx_messageInfo_SetLogLevelResponse.Unmarshal(m, b)
1225}
1226func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1227 return xxx_messageInfo_SetLogLevelResponse.Marshal(b, m, deterministic)
1228}
1229func (m *SetLogLevelResponse) XXX_Merge(src proto.Message) {
1230 xxx_messageInfo_SetLogLevelResponse.Merge(m, src)
1231}
1232func (m *SetLogLevelResponse) XXX_Size() int {
1233 return xxx_messageInfo_SetLogLevelResponse.Size(m)
1234}
1235func (m *SetLogLevelResponse) XXX_DiscardUnknown() {
1236 xxx_messageInfo_SetLogLevelResponse.DiscardUnknown(m)
1237}
1238
1239var xxx_messageInfo_SetLogLevelResponse proto.InternalMessageInfo
1240
amit.ghosh5d97dba2020-11-12 16:45:27 +01001241func (m *SetLogLevelResponse) GetDeviceUuid() *Uuid {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001242 if m != nil {
1243 return m.DeviceUuid
1244 }
1245 return nil
1246}
1247
amit.ghosh5d97dba2020-11-12 16:45:27 +01001248func (m *SetLogLevelResponse) GetStatus() Status {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001249 if m != nil {
1250 return m.Status
1251 }
1252 return Status_UNDEFINED_STATUS
1253}
1254
amit.ghoshae473032021-01-10 11:59:10 +01001255func (m *SetLogLevelResponse) GetReason() SetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001256 if m != nil {
1257 return m.Reason
1258 }
amit.ghoshae473032021-01-10 11:59:10 +01001259 return SetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001260}
1261
1262type GetLogLevelRequest struct {
1263 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1264 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1265 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1266 XXX_unrecognized []byte `json:"-"`
1267 XXX_sizecache int32 `json:"-"`
1268}
1269
1270func (m *GetLogLevelRequest) Reset() { *m = GetLogLevelRequest{} }
1271func (m *GetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1272func (*GetLogLevelRequest) ProtoMessage() {}
1273func (*GetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01001274 return fileDescriptor_eae902e73066286d, []int{18}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001275}
1276
1277func (m *GetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1278 return xxx_messageInfo_GetLogLevelRequest.Unmarshal(m, b)
1279}
1280func (m *GetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1281 return xxx_messageInfo_GetLogLevelRequest.Marshal(b, m, deterministic)
1282}
1283func (m *GetLogLevelRequest) XXX_Merge(src proto.Message) {
1284 xxx_messageInfo_GetLogLevelRequest.Merge(m, src)
1285}
1286func (m *GetLogLevelRequest) XXX_Size() int {
1287 return xxx_messageInfo_GetLogLevelRequest.Size(m)
1288}
1289func (m *GetLogLevelRequest) XXX_DiscardUnknown() {
1290 xxx_messageInfo_GetLogLevelRequest.DiscardUnknown(m)
1291}
1292
1293var xxx_messageInfo_GetLogLevelRequest proto.InternalMessageInfo
1294
1295func (m *GetLogLevelRequest) GetDeviceUuid() *Uuid {
1296 if m != nil {
1297 return m.DeviceUuid
1298 }
1299 return nil
1300}
1301
1302func (m *GetLogLevelRequest) GetEntities() []string {
1303 if m != nil {
1304 return m.Entities
1305 }
1306 return nil
1307}
1308
1309type GetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001310 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1311 LogLevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=logLevels,proto3" json:"logLevels,omitempty"`
1312 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1313 Reason GetLogLevelResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.GetLogLevelResponse_Reason" json:"reason,omitempty"`
1314 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1315 XXX_unrecognized []byte `json:"-"`
1316 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001317}
1318
1319func (m *GetLogLevelResponse) Reset() { *m = GetLogLevelResponse{} }
1320func (m *GetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1321func (*GetLogLevelResponse) ProtoMessage() {}
1322func (*GetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01001323 return fileDescriptor_eae902e73066286d, []int{19}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001324}
1325
1326func (m *GetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1327 return xxx_messageInfo_GetLogLevelResponse.Unmarshal(m, b)
1328}
1329func (m *GetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1330 return xxx_messageInfo_GetLogLevelResponse.Marshal(b, m, deterministic)
1331}
1332func (m *GetLogLevelResponse) XXX_Merge(src proto.Message) {
1333 xxx_messageInfo_GetLogLevelResponse.Merge(m, src)
1334}
1335func (m *GetLogLevelResponse) XXX_Size() int {
1336 return xxx_messageInfo_GetLogLevelResponse.Size(m)
1337}
1338func (m *GetLogLevelResponse) XXX_DiscardUnknown() {
1339 xxx_messageInfo_GetLogLevelResponse.DiscardUnknown(m)
1340}
1341
1342var xxx_messageInfo_GetLogLevelResponse proto.InternalMessageInfo
1343
1344func (m *GetLogLevelResponse) GetDeviceUuid() *Uuid {
1345 if m != nil {
1346 return m.DeviceUuid
1347 }
1348 return nil
1349}
1350
1351func (m *GetLogLevelResponse) GetLogLevels() []*EntitiesLogLevel {
1352 if m != nil {
1353 return m.LogLevels
1354 }
1355 return nil
1356}
1357
1358func (m *GetLogLevelResponse) GetStatus() Status {
1359 if m != nil {
1360 return m.Status
1361 }
1362 return Status_UNDEFINED_STATUS
1363}
1364
amit.ghoshae473032021-01-10 11:59:10 +01001365func (m *GetLogLevelResponse) GetReason() GetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001366 if m != nil {
1367 return m.Reason
1368 }
amit.ghoshae473032021-01-10 11:59:10 +01001369 return GetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001370}
1371
1372type GetLoggableEntitiesRequest struct {
1373 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1374 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1375 XXX_unrecognized []byte `json:"-"`
1376 XXX_sizecache int32 `json:"-"`
1377}
1378
1379func (m *GetLoggableEntitiesRequest) Reset() { *m = GetLoggableEntitiesRequest{} }
1380func (m *GetLoggableEntitiesRequest) String() string { return proto.CompactTextString(m) }
1381func (*GetLoggableEntitiesRequest) ProtoMessage() {}
1382func (*GetLoggableEntitiesRequest) Descriptor() ([]byte, []int) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01001383 return fileDescriptor_eae902e73066286d, []int{20}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001384}
1385
1386func (m *GetLoggableEntitiesRequest) XXX_Unmarshal(b []byte) error {
1387 return xxx_messageInfo_GetLoggableEntitiesRequest.Unmarshal(m, b)
1388}
1389func (m *GetLoggableEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1390 return xxx_messageInfo_GetLoggableEntitiesRequest.Marshal(b, m, deterministic)
1391}
1392func (m *GetLoggableEntitiesRequest) XXX_Merge(src proto.Message) {
1393 xxx_messageInfo_GetLoggableEntitiesRequest.Merge(m, src)
1394}
1395func (m *GetLoggableEntitiesRequest) XXX_Size() int {
1396 return xxx_messageInfo_GetLoggableEntitiesRequest.Size(m)
1397}
1398func (m *GetLoggableEntitiesRequest) XXX_DiscardUnknown() {
1399 xxx_messageInfo_GetLoggableEntitiesRequest.DiscardUnknown(m)
1400}
1401
1402var xxx_messageInfo_GetLoggableEntitiesRequest proto.InternalMessageInfo
1403
1404func (m *GetLoggableEntitiesRequest) GetDeviceUuid() *Uuid {
1405 if m != nil {
1406 return m.DeviceUuid
1407 }
1408 return nil
1409}
1410
Amit Ghosh09f28362020-06-12 21:52:19 +01001411func init() {
amit.ghoshae473032021-01-10 11:59:10 +01001412 proto.RegisterEnum("dmi.PhysicalInventoryResponse_Reason", PhysicalInventoryResponse_Reason_name, PhysicalInventoryResponse_Reason_value)
1413 proto.RegisterEnum("dmi.HWComponentInfoGetResponse_Reason", HWComponentInfoGetResponse_Reason_name, HWComponentInfoGetResponse_Reason_value)
1414 proto.RegisterEnum("dmi.HWComponentInfoSetResponse_Reason", HWComponentInfoSetResponse_Reason_name, HWComponentInfoSetResponse_Reason_value)
1415 proto.RegisterEnum("dmi.StartManagingDeviceResponse_Reason", StartManagingDeviceResponse_Reason_name, StartManagingDeviceResponse_Reason_value)
1416 proto.RegisterEnum("dmi.StopManagingDeviceResponse_Reason", StopManagingDeviceResponse_Reason_name, StopManagingDeviceResponse_Reason_value)
1417 proto.RegisterEnum("dmi.SetRemoteEndpointResponse_Reason", SetRemoteEndpointResponse_Reason_name, SetRemoteEndpointResponse_Reason_value)
1418 proto.RegisterEnum("dmi.GetLoggingEndpointResponse_Reason", GetLoggingEndpointResponse_Reason_name, GetLoggingEndpointResponse_Reason_value)
1419 proto.RegisterEnum("dmi.GetMsgBusEndpointResponse_Reason", GetMsgBusEndpointResponse_Reason_name, GetMsgBusEndpointResponse_Reason_value)
1420 proto.RegisterEnum("dmi.SetLogLevelResponse_Reason", SetLogLevelResponse_Reason_name, SetLogLevelResponse_Reason_value)
1421 proto.RegisterEnum("dmi.GetLogLevelResponse_Reason", GetLogLevelResponse_Reason_name, GetLogLevelResponse_Reason_value)
Amit Ghosh09f28362020-06-12 21:52:19 +01001422 proto.RegisterType((*PhysicalInventoryRequest)(nil), "dmi.PhysicalInventoryRequest")
1423 proto.RegisterType((*PhysicalInventoryResponse)(nil), "dmi.PhysicalInventoryResponse")
1424 proto.RegisterType((*HWComponentInfoGetRequest)(nil), "dmi.HWComponentInfoGetRequest")
aghoshc301dcd2020-09-03 16:55:34 +01001425 proto.RegisterType((*HWComponentInfoGetResponse)(nil), "dmi.HWComponentInfoGetResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001426 proto.RegisterType((*HWComponentInfoSetRequest)(nil), "dmi.HWComponentInfoSetRequest")
1427 proto.RegisterType((*HWComponentInfoSetResponse)(nil), "dmi.HWComponentInfoSetResponse")
1428 proto.RegisterType((*StartManagingDeviceResponse)(nil), "dmi.StartManagingDeviceResponse")
Amit Ghosh366228e2020-07-06 13:46:42 +01001429 proto.RegisterType((*StopManagingDeviceRequest)(nil), "dmi.StopManagingDeviceRequest")
1430 proto.RegisterType((*StopManagingDeviceResponse)(nil), "dmi.StopManagingDeviceResponse")
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001431 proto.RegisterType((*ManagedDevicesResponse)(nil), "dmi.ManagedDevicesResponse")
amit.ghosh188a84f2020-09-27 20:59:25 +02001432 proto.RegisterType((*SetLoggingEndpointRequest)(nil), "dmi.SetLoggingEndpointRequest")
1433 proto.RegisterType((*SetRemoteEndpointResponse)(nil), "dmi.SetRemoteEndpointResponse")
1434 proto.RegisterType((*GetLoggingEndpointResponse)(nil), "dmi.GetLoggingEndpointResponse")
1435 proto.RegisterType((*SetMsgBusEndpointRequest)(nil), "dmi.SetMsgBusEndpointRequest")
1436 proto.RegisterType((*GetMsgBusEndpointResponse)(nil), "dmi.GetMsgBusEndpointResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001437 proto.RegisterType((*EntitiesLogLevel)(nil), "dmi.EntitiesLogLevel")
1438 proto.RegisterType((*SetLogLevelRequest)(nil), "dmi.SetLogLevelRequest")
1439 proto.RegisterType((*SetLogLevelResponse)(nil), "dmi.SetLogLevelResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001440 proto.RegisterType((*GetLogLevelRequest)(nil), "dmi.GetLogLevelRequest")
1441 proto.RegisterType((*GetLogLevelResponse)(nil), "dmi.GetLogLevelResponse")
1442 proto.RegisterType((*GetLoggableEntitiesRequest)(nil), "dmi.GetLoggableEntitiesRequest")
Amit Ghosh09f28362020-06-12 21:52:19 +01001443}
1444
1445func init() { proto.RegisterFile("dmi/hw_management_service.proto", fileDescriptor_eae902e73066286d) }
1446
1447var fileDescriptor_eae902e73066286d = []byte{
amit.ghoshbd2022e2021-02-22 05:58:53 +01001448 // 1332 bytes of a gzipped FileDescriptorProto
1449 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6e, 0xdb, 0x46,
1450 0x17, 0xfd, 0x48, 0x39, 0x4e, 0x74, 0xfd, 0xc5, 0x91, 0x27, 0x89, 0x2b, 0x31, 0x88, 0x9d, 0x32,
1451 0x48, 0x93, 0xb4, 0x8d, 0x14, 0x28, 0x8b, 0xa2, 0x28, 0xfa, 0x23, 0x5b, 0x0c, 0xcd, 0x46, 0x22,
1452 0x85, 0xa1, 0x1c, 0x23, 0x45, 0x51, 0x82, 0x16, 0xc7, 0x32, 0x01, 0x91, 0x54, 0x45, 0x4a, 0x81,
1453 0x1f, 0xa0, 0x8b, 0x02, 0xed, 0xba, 0xab, 0x02, 0x5d, 0x75, 0xdb, 0x55, 0x51, 0xa0, 0xe8, 0x23,
1454 0x74, 0xd9, 0x47, 0xe9, 0x03, 0x14, 0x9c, 0x21, 0xf5, 0x43, 0x91, 0x92, 0xff, 0x02, 0x64, 0x27,
1455 0x71, 0xce, 0x1c, 0xde, 0xb9, 0xe7, 0xce, 0x99, 0xcb, 0x81, 0x6d, 0xcb, 0xb1, 0x2b, 0xc7, 0xaf,
1456 0x0d, 0xc7, 0x74, 0xcd, 0x2e, 0x71, 0x88, 0x1b, 0x18, 0x3e, 0x19, 0x8c, 0xec, 0x0e, 0x29, 0xf7,
1457 0x07, 0x5e, 0xe0, 0xa1, 0x9c, 0xe5, 0xd8, 0xc2, 0x46, 0x88, 0xea, 0x78, 0x8e, 0xe3, 0xb9, 0x3e,
1458 0x7b, 0x2e, 0xfc, 0x9f, 0x4d, 0x8c, 0xfe, 0xdd, 0xe9, 0x7a, 0x5e, 0xb7, 0x47, 0x2a, 0xf4, 0xdf,
1459 0xe1, 0xf0, 0xa8, 0x42, 0x9c, 0x7e, 0x70, 0xc2, 0x06, 0xc5, 0xe7, 0x50, 0x6c, 0x1d, 0x9f, 0xf8,
1460 0x76, 0xc7, 0xec, 0x29, 0xee, 0x88, 0xb8, 0x81, 0x37, 0x38, 0xc1, 0xe4, 0xdb, 0x21, 0xf1, 0x03,
1461 0xf4, 0x3e, 0xac, 0x59, 0x24, 0x7c, 0x9d, 0x31, 0x1c, 0xda, 0x56, 0x91, 0xbb, 0xc7, 0x3d, 0x5a,
1462 0xab, 0xe6, 0xcb, 0x96, 0x63, 0x97, 0xf7, 0x87, 0xb6, 0x85, 0x81, 0x8d, 0x86, 0xbf, 0xc5, 0x1f,
1463 0x78, 0x28, 0xa5, 0x10, 0xf9, 0x7d, 0xcf, 0xf5, 0x09, 0xba, 0x0f, 0xab, 0x7e, 0x60, 0x06, 0x43,
1464 0x9f, 0x92, 0xac, 0x57, 0xd7, 0x28, 0x89, 0x4e, 0x1f, 0xe1, 0x68, 0x08, 0x7d, 0x0a, 0xab, 0x03,
1465 0x62, 0xfa, 0x9e, 0x5b, 0xe4, 0x29, 0xe8, 0x01, 0x05, 0x65, 0x92, 0x96, 0x31, 0x05, 0xe3, 0x68,
1466 0x12, 0xfa, 0x00, 0xf2, 0x76, 0x8c, 0x29, 0xe6, 0x68, 0xac, 0xd7, 0x29, 0xc3, 0x9e, 0x39, 0xb0,
1467 0x5e, 0x9b, 0x03, 0x82, 0x27, 0xe3, 0xe2, 0x37, 0xb0, 0xca, 0xa6, 0xa3, 0x5b, 0x50, 0xd8, 0x57,
1468 0xeb, 0xd2, 0x73, 0x45, 0x95, 0xea, 0x06, 0x96, 0x6a, 0xba, 0xa6, 0x16, 0xfe, 0x87, 0x10, 0xac,
1469 0xef, 0xab, 0x2f, 0x54, 0xed, 0x40, 0x35, 0xea, 0xd2, 0x4b, 0x65, 0x57, 0x2a, 0x70, 0xe1, 0x33,
1470 0x45, 0x6d, 0x4b, 0x58, 0xad, 0x35, 0x0c, 0x09, 0x63, 0x0d, 0x17, 0x78, 0xb4, 0x09, 0x88, 0x8d,
1471 0x1b, 0xfb, 0x2a, 0x96, 0x6a, 0xbb, 0x7b, 0xb5, 0x9d, 0x86, 0x54, 0xc8, 0x89, 0xbf, 0x70, 0x50,
1472 0xda, 0x3b, 0xd8, 0xf5, 0x9c, 0xbe, 0xe7, 0x12, 0x37, 0x50, 0xdc, 0x23, 0x4f, 0x26, 0xc1, 0x39,
1473 0x12, 0x8b, 0x9e, 0xc2, 0x7a, 0x27, 0xa6, 0x61, 0x70, 0x3e, 0x09, 0xbf, 0x3e, 0x06, 0xd0, 0x19,
1474 0x0f, 0xa6, 0x67, 0xb8, 0xa6, 0x43, 0x68, 0x36, 0xf2, 0x53, 0x30, 0xd5, 0x74, 0x88, 0xf8, 0x2b,
1475 0x0f, 0x42, 0x5a, 0x88, 0x67, 0x91, 0xec, 0xb3, 0x84, 0x64, 0xef, 0xb1, 0x84, 0x67, 0xb2, 0x26,
1476 0x35, 0xfb, 0x10, 0xf2, 0xe3, 0xa0, 0x22, 0xcd, 0xd6, 0x29, 0xc5, 0x98, 0x00, 0x4f, 0x00, 0xe2,
1477 0xf0, 0x1c, 0xa2, 0xdd, 0x86, 0x8d, 0xf8, 0xd9, 0xae, 0xd6, 0x6c, 0x69, 0xaa, 0xa4, 0xb6, 0x0b,
1478 0x7c, 0x8a, 0x96, 0xb9, 0x0c, 0x2d, 0x57, 0xc4, 0x7f, 0xe6, 0xb5, 0xd4, 0xdf, 0x2e, 0x2d, 0x51,
1479 0x15, 0xae, 0x76, 0x8e, 0x4d, 0xb7, 0x4b, 0xfc, 0xe2, 0x0a, 0x65, 0x2c, 0x52, 0xc6, 0xa6, 0x67,
1480 0xd9, 0x47, 0xb6, 0x79, 0xd8, 0x23, 0x93, 0x7c, 0xc6, 0x40, 0xf1, 0xc7, 0x79, 0xfd, 0xf5, 0x37,
1481 0xa2, 0xbf, 0x9e, 0xa9, 0xbf, 0xf8, 0x3d, 0x77, 0xc9, 0x92, 0xbe, 0xac, 0x35, 0x94, 0xba, 0xd1,
1482 0xaa, 0xe1, 0x5a, 0x53, 0x2f, 0xe4, 0x52, 0x64, 0x5e, 0xc9, 0x90, 0xf9, 0x8a, 0xf8, 0x07, 0x0f,
1483 0x77, 0xf4, 0xc0, 0x1c, 0x04, 0xcd, 0xd0, 0x6e, 0x6d, 0xb7, 0x5b, 0xa7, 0xc2, 0x9d, 0x2d, 0x21,
1484 0x9f, 0x27, 0x12, 0xf2, 0x30, 0x06, 0x65, 0xd1, 0x26, 0x77, 0x44, 0xa2, 0x9c, 0x72, 0x8b, 0x3c,
1485 0xf7, 0xbb, 0x65, 0xd9, 0x13, 0x60, 0x33, 0x5a, 0x6a, 0xad, 0x81, 0xa5, 0x5a, 0xfd, 0x95, 0xd1,
1486 0xac, 0xa9, 0x35, 0x59, 0xaa, 0x17, 0x38, 0xf4, 0x2e, 0xdc, 0xd5, 0x5a, 0x12, 0xae, 0xb5, 0x15,
1487 0x4d, 0x1d, 0x0f, 0x2b, 0xaa, 0xd1, 0xc2, 0x9a, 0x8c, 0x25, 0x5d, 0x3f, 0x7d, 0x46, 0xc5, 0x0a,
1488 0x94, 0xf4, 0xc0, 0xeb, 0x27, 0x17, 0xc8, 0xf6, 0x07, 0x82, 0x15, 0x5a, 0xb7, 0x1c, 0xad, 0x5b,
1489 0xfa, 0x5b, 0xfc, 0x9d, 0x03, 0x21, 0x6d, 0xc6, 0xc5, 0x4b, 0x2f, 0x9b, 0x35, 0x59, 0x7a, 0xd5,
1490 0xb3, 0x57, 0x9e, 0xd8, 0x80, 0x4d, 0x4a, 0x4e, 0x2c, 0xc6, 0xed, 0x8f, 0x43, 0xae, 0xc2, 0x55,
1491 0x26, 0x4c, 0x18, 0x73, 0x6e, 0xf1, 0x06, 0x8c, 0x80, 0xe2, 0xcf, 0x1c, 0x94, 0x74, 0x12, 0x34,
1492 0xbc, 0x6e, 0x18, 0xad, 0xe4, 0x5a, 0x7d, 0xcf, 0x76, 0xcf, 0xe5, 0x2b, 0x8f, 0xa1, 0xd0, 0x63,
1493 0x2c, 0x06, 0x89, 0x68, 0x68, 0x56, 0xf2, 0xf8, 0x46, 0x6f, 0x96, 0x7d, 0x1a, 0x4a, 0x1b, 0x80,
1494 0x8e, 0xd7, 0x8b, 0x2c, 0x25, 0x86, 0xb6, 0xa2, 0xc7, 0xe2, 0x5f, 0x3c, 0x8d, 0x0f, 0x13, 0xc7,
1495 0x0b, 0xc8, 0x24, 0xbc, 0x8b, 0x1f, 0xe9, 0x99, 0xa4, 0x49, 0x8d, 0xfe, 0xe4, 0x2e, 0xe9, 0x98,
1496 0x16, 0x60, 0xb3, 0xa1, 0xc9, 0xb2, 0xa2, 0xca, 0x86, 0xa4, 0xd6, 0x5b, 0x9a, 0xa2, 0xb6, 0xc7,
1497 0xb6, 0x7f, 0x1f, 0xb6, 0xe7, 0xc6, 0x5a, 0x58, 0x6b, 0x6b, 0xbb, 0xda, 0xc4, 0x34, 0x4a, 0x70,
1498 0xbb, 0xa9, 0xcb, 0x3b, 0xfb, 0x7a, 0x72, 0xfe, 0x95, 0x0c, 0x3f, 0x59, 0x0d, 0xfd, 0x44, 0x90,
1499 0x53, 0xe4, 0xbd, 0x78, 0x91, 0x67, 0xb3, 0x26, 0xdd, 0x24, 0xad, 0x30, 0x72, 0xa7, 0x2f, 0x8c,
1500 0x95, 0xf4, 0xc2, 0x78, 0xd3, 0xcd, 0xd3, 0x2e, 0x14, 0x75, 0x12, 0x34, 0xfd, 0xee, 0xce, 0xd0,
1501 0x4f, 0x6e, 0x8b, 0x87, 0x70, 0xc3, 0xf1, 0xbb, 0x87, 0x43, 0x7f, 0xb2, 0x20, 0xe6, 0x2c, 0xeb,
1502 0xec, 0x71, 0x8c, 0x17, 0xff, 0xe5, 0xa0, 0x24, 0xcf, 0xb3, 0x5c, 0xbc, 0x7a, 0x33, 0x49, 0x93,
1503 0xc9, 0x4f, 0x09, 0x35, 0x97, 0x1a, 0xea, 0x97, 0xcb, 0xf3, 0x99, 0xc8, 0x1d, 0x97, 0x91, 0x3b,
1504 0x5e, 0x7c, 0x05, 0x05, 0xc9, 0x0d, 0xec, 0xc0, 0x26, 0x7e, 0xc3, 0xeb, 0x36, 0xc8, 0x88, 0xf4,
1505 0xd0, 0x63, 0xb8, 0xd6, 0x8b, 0x7e, 0x47, 0xcb, 0x65, 0x8d, 0x71, 0x0c, 0xc0, 0xe3, 0x61, 0x24,
1506 0xc0, 0x35, 0x12, 0x4d, 0x2f, 0xf2, 0xf7, 0x72, 0x8f, 0xf2, 0x78, 0xfc, 0x5f, 0x1c, 0x02, 0x62,
1507 0x76, 0xc5, 0x26, 0x9d, 0xc3, 0xa7, 0x9e, 0x41, 0xbe, 0x17, 0x7e, 0x8a, 0x8c, 0x48, 0x8f, 0xd1,
1508 0xaf, 0x55, 0x6f, 0x53, 0x64, 0x32, 0x64, 0x3c, 0xc1, 0x89, 0x3f, 0xf1, 0x70, 0x73, 0xe6, 0xbd,
1509 0x91, 0x84, 0x67, 0x79, 0xf1, 0x44, 0x6e, 0x3e, 0x5b, 0xee, 0x8f, 0xc6, 0x72, 0xe7, 0x28, 0x68,
1510 0x3b, 0x36, 0xab, 0xe4, 0xab, 0x93, 0x36, 0x35, 0xba, 0xbc, 0xfd, 0x10, 0xe3, 0x1a, 0x5a, 0xe8,
1511 0x46, 0x6d, 0xa5, 0xfd, 0x6a, 0x41, 0x63, 0xfa, 0x35, 0x20, 0xf9, 0x62, 0x82, 0x2c, 0x92, 0xfb,
1512 0x6f, 0x1e, 0x6e, 0xca, 0x17, 0xcc, 0x3b, 0x13, 0xbc, 0x71, 0x4a, 0xc1, 0x19, 0x6e, 0x4a, 0xac,
1513 0xdc, 0x69, 0xc4, 0x5a, 0x99, 0x12, 0x4b, 0x7e, 0x7b, 0xc5, 0xda, 0x1b, 0x9f, 0x06, 0x61, 0x3b,
1514 0x10, 0xaf, 0xff, 0x1c, 0xa2, 0x55, 0x7f, 0xbb, 0x06, 0x25, 0xd5, 0x0c, 0xec, 0x11, 0xd9, 0x3b,
1515 0x68, 0x8e, 0xaf, 0x06, 0x74, 0x76, 0x33, 0x80, 0x74, 0xb8, 0x99, 0xd2, 0x6e, 0xa2, 0xcc, 0x7e,
1516 0x44, 0xb8, 0xb7, 0xac, 0x45, 0x7d, 0xca, 0xa1, 0x7d, 0x40, 0xf3, 0x9d, 0x15, 0xda, 0xca, 0x6c,
1517 0xb9, 0xe8, 0xa2, 0x84, 0xed, 0x25, 0x2d, 0x19, 0xda, 0x83, 0x8d, 0xd0, 0x4d, 0x67, 0x5a, 0x2a,
1518 0xb4, 0x59, 0x66, 0xf7, 0x15, 0xe5, 0xf8, 0xbe, 0xa2, 0x2c, 0x39, 0xfd, 0xe0, 0x44, 0xb8, 0xc3,
1519 0x56, 0x90, 0xde, 0x7f, 0x1d, 0xc0, 0x2d, 0x99, 0x04, 0x73, 0x77, 0x05, 0xe8, 0x6e, 0xd6, 0x1d,
1520 0x02, 0x8b, 0x70, 0x6b, 0xf1, 0x15, 0xc3, 0x53, 0x0e, 0x1d, 0xd0, 0x3d, 0x96, 0xf8, 0xa2, 0x89,
1521 0x56, 0x9e, 0xf9, 0x81, 0x1f, 0xad, 0x3c, 0xfb, 0x3b, 0x38, 0x4a, 0xe9, 0x29, 0x89, 0xf5, 0x25,
1522 0xc4, 0xd3, 0x9f, 0x6d, 0xed, 0xd8, 0xa4, 0x67, 0x0e, 0xf7, 0xad, 0x29, 0x2b, 0x4b, 0x69, 0x36,
1523 0x85, 0xad, 0xc5, 0x7d, 0x19, 0x7a, 0x1e, 0x3b, 0xcd, 0x0c, 0xeb, 0x8d, 0x99, 0xeb, 0x15, 0xa5,
1524 0x2e, 0x6c, 0x2f, 0x69, 0x4f, 0x10, 0x86, 0x8d, 0xb9, 0x93, 0x3d, 0xd2, 0x28, 0xeb, 0xc4, 0x5f,
1525 0x1a, 0xdb, 0x0b, 0x56, 0x44, 0xb3, 0x9c, 0x59, 0x45, 0xb4, 0xb5, 0xf8, 0x08, 0x47, 0xad, 0xd8,
1526 0xf3, 0x66, 0x76, 0x29, 0x9a, 0x59, 0x58, 0xca, 0xfe, 0x15, 0x8a, 0x59, 0xf6, 0x83, 0xbe, 0x80,
1527 0xb5, 0xa9, 0x23, 0x04, 0xbd, 0x33, 0x7f, 0xa8, 0x4c, 0x33, 0xe8, 0xe9, 0x0c, 0xf2, 0x1c, 0x83,
1528 0x9c, 0xc5, 0x90, 0x12, 0xc3, 0xce, 0x27, 0x5f, 0x7d, 0xdc, 0xb5, 0x83, 0xe3, 0xe1, 0x61, 0xb9,
1529 0xe3, 0x39, 0x15, 0xaf, 0x4f, 0xdc, 0x8e, 0x37, 0xb0, 0x2a, 0xcc, 0x53, 0x9e, 0x4c, 0xae, 0x17,
1530 0x9f, 0xd8, 0x6e, 0x40, 0x06, 0x47, 0x66, 0x87, 0x54, 0x46, 0xcf, 0x2a, 0x5d, 0xaf, 0x62, 0x39,
1531 0xf6, 0xe1, 0x2a, 0x4d, 0xe1, 0xb3, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xb5, 0x09, 0xbd, 0x17,
1532 0x8e, 0x14, 0x00, 0x00,
Amit Ghosh09f28362020-06-12 21:52:19 +01001533}
1534
1535// Reference imports to suppress errors if they are not otherwise used.
1536var _ context.Context
1537var _ grpc.ClientConn
1538
1539// This is a compile-time assertion to ensure that this generated file
1540// is compatible with the grpc package it is being compiled against.
1541const _ = grpc.SupportPackageIsVersion4
1542
1543// NativeHWManagementServiceClient is the client API for NativeHWManagementService service.
1544//
1545// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1546type NativeHWManagementServiceClient interface {
1547 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001548 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1549 // and their meanings in this context is mentioned below:
1550 // name = The unique name that needs to be assigned to this hardware;
1551 // class = COMPONENT_TYPE_UNDEFINED;
1552 // parent = nil;
1553 // alias = Optional;
1554 // asset_id = Optional;
1555 // uri = IP Address of the Hardware;
1556 StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error)
Amit Ghosh366228e2020-07-06 13:46:42 +01001557 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001558 // This rpc can be called at any time, even before the StartManagingDevice operation
1559 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001560 StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001561 // Returns an object containing a list of devices managed by this entity
1562 GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001563 // Get the HW inventory details of the Device
1564 GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error)
1565 // Get the details of a particular HW component
1566 GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error)
1567 // Sets the permissible attributes of a HW component
1568 SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001569 // Sets the location to which logs need to be shipped
1570 SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1571 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001572 GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001573 // Sets the location of the Message Bus to which events and metrics are shipped
1574 SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1575 // Gets the configured location to which the events and metrics are being shipped
1576 GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001577 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1578 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1579 // interface, package etc.
1580 GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01001581 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001582 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
1583 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
1584 SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
1585 // Gets the configured log level for a certain entity on a certain device.
1586 // If no entity is specified in the request all the entities with their log level should be returned.
1587 GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001588}
1589
1590type nativeHWManagementServiceClient struct {
1591 cc *grpc.ClientConn
1592}
1593
1594func NewNativeHWManagementServiceClient(cc *grpc.ClientConn) NativeHWManagementServiceClient {
1595 return &nativeHWManagementServiceClient{cc}
1596}
1597
Amit Ghosh704462f2020-06-24 16:44:56 +01001598func (c *nativeHWManagementServiceClient) StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error) {
Amit Ghosh09f28362020-06-12 21:52:19 +01001599 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[0], "/dmi.NativeHWManagementService/StartManagingDevice", opts...)
1600 if err != nil {
1601 return nil, err
1602 }
1603 x := &nativeHWManagementServiceStartManagingDeviceClient{stream}
1604 if err := x.ClientStream.SendMsg(in); err != nil {
1605 return nil, err
1606 }
1607 if err := x.ClientStream.CloseSend(); err != nil {
1608 return nil, err
1609 }
1610 return x, nil
1611}
1612
1613type NativeHWManagementService_StartManagingDeviceClient interface {
1614 Recv() (*StartManagingDeviceResponse, error)
1615 grpc.ClientStream
1616}
1617
1618type nativeHWManagementServiceStartManagingDeviceClient struct {
1619 grpc.ClientStream
1620}
1621
1622func (x *nativeHWManagementServiceStartManagingDeviceClient) Recv() (*StartManagingDeviceResponse, error) {
1623 m := new(StartManagingDeviceResponse)
1624 if err := x.ClientStream.RecvMsg(m); err != nil {
1625 return nil, err
1626 }
1627 return m, nil
1628}
1629
Amit Ghosh366228e2020-07-06 13:46:42 +01001630func (c *nativeHWManagementServiceClient) StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) {
1631 out := new(StopManagingDeviceResponse)
1632 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/StopManagingDevice", in, out, opts...)
1633 if err != nil {
1634 return nil, err
1635 }
1636 return out, nil
1637}
1638
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001639func (c *nativeHWManagementServiceClient) GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) {
1640 out := new(ManagedDevicesResponse)
1641 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetManagedDevices", in, out, opts...)
1642 if err != nil {
1643 return nil, err
1644 }
1645 return out, nil
1646}
1647
Amit Ghosh09f28362020-06-12 21:52:19 +01001648func (c *nativeHWManagementServiceClient) GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) {
1649 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[1], "/dmi.NativeHWManagementService/GetPhysicalInventory", opts...)
1650 if err != nil {
1651 return nil, err
1652 }
1653 x := &nativeHWManagementServiceGetPhysicalInventoryClient{stream}
1654 if err := x.ClientStream.SendMsg(in); err != nil {
1655 return nil, err
1656 }
1657 if err := x.ClientStream.CloseSend(); err != nil {
1658 return nil, err
1659 }
1660 return x, nil
1661}
1662
1663type NativeHWManagementService_GetPhysicalInventoryClient interface {
1664 Recv() (*PhysicalInventoryResponse, error)
1665 grpc.ClientStream
1666}
1667
1668type nativeHWManagementServiceGetPhysicalInventoryClient struct {
1669 grpc.ClientStream
1670}
1671
1672func (x *nativeHWManagementServiceGetPhysicalInventoryClient) Recv() (*PhysicalInventoryResponse, error) {
1673 m := new(PhysicalInventoryResponse)
1674 if err := x.ClientStream.RecvMsg(m); err != nil {
1675 return nil, err
1676 }
1677 return m, nil
1678}
1679
1680func (c *nativeHWManagementServiceClient) GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) {
1681 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[2], "/dmi.NativeHWManagementService/GetHWComponentInfo", opts...)
1682 if err != nil {
1683 return nil, err
1684 }
1685 x := &nativeHWManagementServiceGetHWComponentInfoClient{stream}
1686 if err := x.ClientStream.SendMsg(in); err != nil {
1687 return nil, err
1688 }
1689 if err := x.ClientStream.CloseSend(); err != nil {
1690 return nil, err
1691 }
1692 return x, nil
1693}
1694
1695type NativeHWManagementService_GetHWComponentInfoClient interface {
aghoshc301dcd2020-09-03 16:55:34 +01001696 Recv() (*HWComponentInfoGetResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001697 grpc.ClientStream
1698}
1699
1700type nativeHWManagementServiceGetHWComponentInfoClient struct {
1701 grpc.ClientStream
1702}
1703
aghoshc301dcd2020-09-03 16:55:34 +01001704func (x *nativeHWManagementServiceGetHWComponentInfoClient) Recv() (*HWComponentInfoGetResponse, error) {
1705 m := new(HWComponentInfoGetResponse)
Amit Ghosh09f28362020-06-12 21:52:19 +01001706 if err := x.ClientStream.RecvMsg(m); err != nil {
1707 return nil, err
1708 }
1709 return m, nil
1710}
1711
1712func (c *nativeHWManagementServiceClient) SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) {
1713 out := new(HWComponentInfoSetResponse)
1714 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetHWComponentInfo", in, out, opts...)
1715 if err != nil {
1716 return nil, err
1717 }
1718 return out, nil
1719}
1720
amit.ghosh188a84f2020-09-27 20:59:25 +02001721func (c *nativeHWManagementServiceClient) SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
1722 out := new(SetRemoteEndpointResponse)
1723 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLoggingEndpoint", in, out, opts...)
1724 if err != nil {
1725 return nil, err
1726 }
1727 return out, nil
1728}
1729
amit.ghosh5d97dba2020-11-12 16:45:27 +01001730func (c *nativeHWManagementServiceClient) GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error) {
amit.ghosh188a84f2020-09-27 20:59:25 +02001731 out := new(GetLoggingEndpointResponse)
1732 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggingEndpoint", in, out, opts...)
1733 if err != nil {
1734 return nil, err
1735 }
1736 return out, nil
1737}
1738
1739func (c *nativeHWManagementServiceClient) SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
1740 out := new(SetRemoteEndpointResponse)
1741 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetMsgBusEndpoint", in, out, opts...)
1742 if err != nil {
1743 return nil, err
1744 }
1745 return out, nil
1746}
1747
1748func (c *nativeHWManagementServiceClient) GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) {
1749 out := new(GetMsgBusEndpointResponse)
1750 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetMsgBusEndpoint", in, out, opts...)
1751 if err != nil {
1752 return nil, err
1753 }
1754 return out, nil
1755}
1756
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001757func (c *nativeHWManagementServiceClient) GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
1758 out := new(GetLogLevelResponse)
1759 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggableEntities", in, out, opts...)
1760 if err != nil {
1761 return nil, err
1762 }
1763 return out, nil
1764}
1765
1766func (c *nativeHWManagementServiceClient) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) {
1767 out := new(SetLogLevelResponse)
1768 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLogLevel", in, out, opts...)
1769 if err != nil {
1770 return nil, err
1771 }
1772 return out, nil
1773}
1774
1775func (c *nativeHWManagementServiceClient) GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
1776 out := new(GetLogLevelResponse)
1777 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLogLevel", in, out, opts...)
1778 if err != nil {
1779 return nil, err
1780 }
1781 return out, nil
1782}
1783
Amit Ghosh09f28362020-06-12 21:52:19 +01001784// NativeHWManagementServiceServer is the server API for NativeHWManagementService service.
1785type NativeHWManagementServiceServer interface {
1786 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001787 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1788 // and their meanings in this context is mentioned below:
1789 // name = The unique name that needs to be assigned to this hardware;
1790 // class = COMPONENT_TYPE_UNDEFINED;
1791 // parent = nil;
1792 // alias = Optional;
1793 // asset_id = Optional;
1794 // uri = IP Address of the Hardware;
1795 StartManagingDevice(*ModifiableComponent, NativeHWManagementService_StartManagingDeviceServer) error
Amit Ghosh366228e2020-07-06 13:46:42 +01001796 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001797 // This rpc can be called at any time, even before the StartManagingDevice operation
1798 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001799 StopManagingDevice(context.Context, *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001800 // Returns an object containing a list of devices managed by this entity
1801 GetManagedDevices(context.Context, *empty.Empty) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001802 // Get the HW inventory details of the Device
1803 GetPhysicalInventory(*PhysicalInventoryRequest, NativeHWManagementService_GetPhysicalInventoryServer) error
1804 // Get the details of a particular HW component
1805 GetHWComponentInfo(*HWComponentInfoGetRequest, NativeHWManagementService_GetHWComponentInfoServer) error
1806 // Sets the permissible attributes of a HW component
1807 SetHWComponentInfo(context.Context, *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001808 // Sets the location to which logs need to be shipped
1809 SetLoggingEndpoint(context.Context, *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error)
1810 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001811 GetLoggingEndpoint(context.Context, *HardwareID) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001812 // Sets the location of the Message Bus to which events and metrics are shipped
1813 SetMsgBusEndpoint(context.Context, *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error)
1814 // Gets the configured location to which the events and metrics are being shipped
1815 GetMsgBusEndpoint(context.Context, *empty.Empty) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001816 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1817 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1818 // interface, package etc.
1819 GetLoggableEntities(context.Context, *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01001820 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001821 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
1822 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
1823 SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
1824 // Gets the configured log level for a certain entity on a certain device.
1825 // If no entity is specified in the request all the entities with their log level should be returned.
1826 GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001827}
1828
1829func RegisterNativeHWManagementServiceServer(s *grpc.Server, srv NativeHWManagementServiceServer) {
1830 s.RegisterService(&_NativeHWManagementService_serviceDesc, srv)
1831}
1832
1833func _NativeHWManagementService_StartManagingDevice_Handler(srv interface{}, stream grpc.ServerStream) error {
Amit Ghosh704462f2020-06-24 16:44:56 +01001834 m := new(ModifiableComponent)
Amit Ghosh09f28362020-06-12 21:52:19 +01001835 if err := stream.RecvMsg(m); err != nil {
1836 return err
1837 }
1838 return srv.(NativeHWManagementServiceServer).StartManagingDevice(m, &nativeHWManagementServiceStartManagingDeviceServer{stream})
1839}
1840
1841type NativeHWManagementService_StartManagingDeviceServer interface {
1842 Send(*StartManagingDeviceResponse) error
1843 grpc.ServerStream
1844}
1845
1846type nativeHWManagementServiceStartManagingDeviceServer struct {
1847 grpc.ServerStream
1848}
1849
1850func (x *nativeHWManagementServiceStartManagingDeviceServer) Send(m *StartManagingDeviceResponse) error {
1851 return x.ServerStream.SendMsg(m)
1852}
1853
Amit Ghosh366228e2020-07-06 13:46:42 +01001854func _NativeHWManagementService_StopManagingDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1855 in := new(StopManagingDeviceRequest)
1856 if err := dec(in); err != nil {
1857 return nil, err
1858 }
1859 if interceptor == nil {
1860 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, in)
1861 }
1862 info := &grpc.UnaryServerInfo{
1863 Server: srv,
1864 FullMethod: "/dmi.NativeHWManagementService/StopManagingDevice",
1865 }
1866 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1867 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, req.(*StopManagingDeviceRequest))
1868 }
1869 return interceptor(ctx, in, info, handler)
1870}
1871
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001872func _NativeHWManagementService_GetManagedDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1873 in := new(empty.Empty)
1874 if err := dec(in); err != nil {
1875 return nil, err
1876 }
1877 if interceptor == nil {
1878 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, in)
1879 }
1880 info := &grpc.UnaryServerInfo{
1881 Server: srv,
1882 FullMethod: "/dmi.NativeHWManagementService/GetManagedDevices",
1883 }
1884 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1885 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, req.(*empty.Empty))
1886 }
1887 return interceptor(ctx, in, info, handler)
1888}
1889
Amit Ghosh09f28362020-06-12 21:52:19 +01001890func _NativeHWManagementService_GetPhysicalInventory_Handler(srv interface{}, stream grpc.ServerStream) error {
1891 m := new(PhysicalInventoryRequest)
1892 if err := stream.RecvMsg(m); err != nil {
1893 return err
1894 }
1895 return srv.(NativeHWManagementServiceServer).GetPhysicalInventory(m, &nativeHWManagementServiceGetPhysicalInventoryServer{stream})
1896}
1897
1898type NativeHWManagementService_GetPhysicalInventoryServer interface {
1899 Send(*PhysicalInventoryResponse) error
1900 grpc.ServerStream
1901}
1902
1903type nativeHWManagementServiceGetPhysicalInventoryServer struct {
1904 grpc.ServerStream
1905}
1906
1907func (x *nativeHWManagementServiceGetPhysicalInventoryServer) Send(m *PhysicalInventoryResponse) error {
1908 return x.ServerStream.SendMsg(m)
1909}
1910
1911func _NativeHWManagementService_GetHWComponentInfo_Handler(srv interface{}, stream grpc.ServerStream) error {
1912 m := new(HWComponentInfoGetRequest)
1913 if err := stream.RecvMsg(m); err != nil {
1914 return err
1915 }
1916 return srv.(NativeHWManagementServiceServer).GetHWComponentInfo(m, &nativeHWManagementServiceGetHWComponentInfoServer{stream})
1917}
1918
1919type NativeHWManagementService_GetHWComponentInfoServer interface {
aghoshc301dcd2020-09-03 16:55:34 +01001920 Send(*HWComponentInfoGetResponse) error
Amit Ghosh09f28362020-06-12 21:52:19 +01001921 grpc.ServerStream
1922}
1923
1924type nativeHWManagementServiceGetHWComponentInfoServer struct {
1925 grpc.ServerStream
1926}
1927
aghoshc301dcd2020-09-03 16:55:34 +01001928func (x *nativeHWManagementServiceGetHWComponentInfoServer) Send(m *HWComponentInfoGetResponse) error {
Amit Ghosh09f28362020-06-12 21:52:19 +01001929 return x.ServerStream.SendMsg(m)
1930}
1931
1932func _NativeHWManagementService_SetHWComponentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1933 in := new(HWComponentInfoSetRequest)
1934 if err := dec(in); err != nil {
1935 return nil, err
1936 }
1937 if interceptor == nil {
1938 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, in)
1939 }
1940 info := &grpc.UnaryServerInfo{
1941 Server: srv,
1942 FullMethod: "/dmi.NativeHWManagementService/SetHWComponentInfo",
1943 }
1944 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1945 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, req.(*HWComponentInfoSetRequest))
1946 }
1947 return interceptor(ctx, in, info, handler)
1948}
1949
amit.ghosh188a84f2020-09-27 20:59:25 +02001950func _NativeHWManagementService_SetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1951 in := new(SetLoggingEndpointRequest)
1952 if err := dec(in); err != nil {
1953 return nil, err
1954 }
1955 if interceptor == nil {
1956 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, in)
1957 }
1958 info := &grpc.UnaryServerInfo{
1959 Server: srv,
1960 FullMethod: "/dmi.NativeHWManagementService/SetLoggingEndpoint",
1961 }
1962 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1963 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, req.(*SetLoggingEndpointRequest))
1964 }
1965 return interceptor(ctx, in, info, handler)
1966}
1967
1968func _NativeHWManagementService_GetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01001969 in := new(HardwareID)
amit.ghosh188a84f2020-09-27 20:59:25 +02001970 if err := dec(in); err != nil {
1971 return nil, err
1972 }
1973 if interceptor == nil {
1974 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, in)
1975 }
1976 info := &grpc.UnaryServerInfo{
1977 Server: srv,
1978 FullMethod: "/dmi.NativeHWManagementService/GetLoggingEndpoint",
1979 }
1980 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01001981 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, req.(*HardwareID))
amit.ghosh188a84f2020-09-27 20:59:25 +02001982 }
1983 return interceptor(ctx, in, info, handler)
1984}
1985
1986func _NativeHWManagementService_SetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1987 in := new(SetMsgBusEndpointRequest)
1988 if err := dec(in); err != nil {
1989 return nil, err
1990 }
1991 if interceptor == nil {
1992 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, in)
1993 }
1994 info := &grpc.UnaryServerInfo{
1995 Server: srv,
1996 FullMethod: "/dmi.NativeHWManagementService/SetMsgBusEndpoint",
1997 }
1998 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1999 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, req.(*SetMsgBusEndpointRequest))
2000 }
2001 return interceptor(ctx, in, info, handler)
2002}
2003
2004func _NativeHWManagementService_GetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2005 in := new(empty.Empty)
2006 if err := dec(in); err != nil {
2007 return nil, err
2008 }
2009 if interceptor == nil {
2010 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, in)
2011 }
2012 info := &grpc.UnaryServerInfo{
2013 Server: srv,
2014 FullMethod: "/dmi.NativeHWManagementService/GetMsgBusEndpoint",
2015 }
2016 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2017 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, req.(*empty.Empty))
2018 }
2019 return interceptor(ctx, in, info, handler)
2020}
2021
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002022func _NativeHWManagementService_GetLoggableEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2023 in := new(GetLoggableEntitiesRequest)
2024 if err := dec(in); err != nil {
2025 return nil, err
2026 }
2027 if interceptor == nil {
2028 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, in)
2029 }
2030 info := &grpc.UnaryServerInfo{
2031 Server: srv,
2032 FullMethod: "/dmi.NativeHWManagementService/GetLoggableEntities",
2033 }
2034 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2035 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, req.(*GetLoggableEntitiesRequest))
2036 }
2037 return interceptor(ctx, in, info, handler)
2038}
2039
2040func _NativeHWManagementService_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2041 in := new(SetLogLevelRequest)
2042 if err := dec(in); err != nil {
2043 return nil, err
2044 }
2045 if interceptor == nil {
2046 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, in)
2047 }
2048 info := &grpc.UnaryServerInfo{
2049 Server: srv,
2050 FullMethod: "/dmi.NativeHWManagementService/SetLogLevel",
2051 }
2052 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2053 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, req.(*SetLogLevelRequest))
2054 }
2055 return interceptor(ctx, in, info, handler)
2056}
2057
2058func _NativeHWManagementService_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2059 in := new(GetLogLevelRequest)
2060 if err := dec(in); err != nil {
2061 return nil, err
2062 }
2063 if interceptor == nil {
2064 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, in)
2065 }
2066 info := &grpc.UnaryServerInfo{
2067 Server: srv,
2068 FullMethod: "/dmi.NativeHWManagementService/GetLogLevel",
2069 }
2070 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2071 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, req.(*GetLogLevelRequest))
2072 }
2073 return interceptor(ctx, in, info, handler)
2074}
2075
Amit Ghosh09f28362020-06-12 21:52:19 +01002076var _NativeHWManagementService_serviceDesc = grpc.ServiceDesc{
2077 ServiceName: "dmi.NativeHWManagementService",
2078 HandlerType: (*NativeHWManagementServiceServer)(nil),
2079 Methods: []grpc.MethodDesc{
2080 {
Amit Ghosh366228e2020-07-06 13:46:42 +01002081 MethodName: "StopManagingDevice",
2082 Handler: _NativeHWManagementService_StopManagingDevice_Handler,
2083 },
2084 {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002085 MethodName: "GetManagedDevices",
2086 Handler: _NativeHWManagementService_GetManagedDevices_Handler,
2087 },
2088 {
Amit Ghosh09f28362020-06-12 21:52:19 +01002089 MethodName: "SetHWComponentInfo",
2090 Handler: _NativeHWManagementService_SetHWComponentInfo_Handler,
2091 },
amit.ghosh188a84f2020-09-27 20:59:25 +02002092 {
2093 MethodName: "SetLoggingEndpoint",
2094 Handler: _NativeHWManagementService_SetLoggingEndpoint_Handler,
2095 },
2096 {
2097 MethodName: "GetLoggingEndpoint",
2098 Handler: _NativeHWManagementService_GetLoggingEndpoint_Handler,
2099 },
2100 {
2101 MethodName: "SetMsgBusEndpoint",
2102 Handler: _NativeHWManagementService_SetMsgBusEndpoint_Handler,
2103 },
2104 {
2105 MethodName: "GetMsgBusEndpoint",
2106 Handler: _NativeHWManagementService_GetMsgBusEndpoint_Handler,
2107 },
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002108 {
2109 MethodName: "GetLoggableEntities",
2110 Handler: _NativeHWManagementService_GetLoggableEntities_Handler,
2111 },
2112 {
2113 MethodName: "SetLogLevel",
2114 Handler: _NativeHWManagementService_SetLogLevel_Handler,
2115 },
2116 {
2117 MethodName: "GetLogLevel",
2118 Handler: _NativeHWManagementService_GetLogLevel_Handler,
2119 },
Amit Ghosh09f28362020-06-12 21:52:19 +01002120 },
2121 Streams: []grpc.StreamDesc{
2122 {
2123 StreamName: "StartManagingDevice",
2124 Handler: _NativeHWManagementService_StartManagingDevice_Handler,
2125 ServerStreams: true,
2126 },
2127 {
2128 StreamName: "GetPhysicalInventory",
2129 Handler: _NativeHWManagementService_GetPhysicalInventory_Handler,
2130 ServerStreams: true,
2131 },
2132 {
2133 StreamName: "GetHWComponentInfo",
2134 Handler: _NativeHWManagementService_GetHWComponentInfo_Handler,
2135 ServerStreams: true,
2136 },
2137 },
2138 Metadata: "dmi/hw_management_service.proto",
2139}