blob: 454c98b5ae27e4b66f64d4994fd6258b0061515a [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 (
29 PhysicalInventoryResponse_UNDEFINED_REASON PhysicalInventoryResponse_Reason = 0
30 PhysicalInventoryResponse_UNKNOWN_DEVICE PhysicalInventoryResponse_Reason = 1
31 PhysicalInventoryResponse_INTERNAL_ERROR PhysicalInventoryResponse_Reason = 2
32)
33
34var PhysicalInventoryResponse_Reason_name = map[int32]string{
35 0: "UNDEFINED_REASON",
36 1: "UNKNOWN_DEVICE",
37 2: "INTERNAL_ERROR",
38}
39
40var PhysicalInventoryResponse_Reason_value = map[string]int32{
41 "UNDEFINED_REASON": 0,
42 "UNKNOWN_DEVICE": 1,
43 "INTERNAL_ERROR": 2,
44}
45
46func (x PhysicalInventoryResponse_Reason) String() string {
47 return proto.EnumName(PhysicalInventoryResponse_Reason_name, int32(x))
48}
49
50func (PhysicalInventoryResponse_Reason) EnumDescriptor() ([]byte, []int) {
51 return fileDescriptor_eae902e73066286d, []int{1, 0}
52}
53
54type HWComponentInfoGetResponse_Reason int32
55
56const (
57 HWComponentInfoGetResponse_UNDEFINED_REASON HWComponentInfoGetResponse_Reason = 0
58 HWComponentInfoGetResponse_UNKNOWN_DEVICE HWComponentInfoGetResponse_Reason = 1
59 HWComponentInfoGetResponse_UNKNOWN_COMPONENT HWComponentInfoGetResponse_Reason = 2
60 HWComponentInfoGetResponse_INTERNAL_ERROR HWComponentInfoGetResponse_Reason = 3
61)
62
63var HWComponentInfoGetResponse_Reason_name = map[int32]string{
64 0: "UNDEFINED_REASON",
65 1: "UNKNOWN_DEVICE",
66 2: "UNKNOWN_COMPONENT",
67 3: "INTERNAL_ERROR",
68}
69
70var HWComponentInfoGetResponse_Reason_value = map[string]int32{
71 "UNDEFINED_REASON": 0,
72 "UNKNOWN_DEVICE": 1,
73 "UNKNOWN_COMPONENT": 2,
74 "INTERNAL_ERROR": 3,
75}
76
77func (x HWComponentInfoGetResponse_Reason) String() string {
78 return proto.EnumName(HWComponentInfoGetResponse_Reason_name, int32(x))
79}
80
81func (HWComponentInfoGetResponse_Reason) EnumDescriptor() ([]byte, []int) {
82 return fileDescriptor_eae902e73066286d, []int{3, 0}
83}
84
85type HWComponentInfoSetResponse_Reason int32
86
87const (
88 HWComponentInfoSetResponse_UNDEFINED_REASON HWComponentInfoSetResponse_Reason = 0
89 HWComponentInfoSetResponse_UNKNOWN_DEVICE HWComponentInfoSetResponse_Reason = 1
90 HWComponentInfoSetResponse_UNKNOWN_COMPONENT HWComponentInfoSetResponse_Reason = 2
91 HWComponentInfoSetResponse_INVALID_PARAMS HWComponentInfoSetResponse_Reason = 3
92 HWComponentInfoSetResponse_INTERNAL_ERROR HWComponentInfoSetResponse_Reason = 4
93)
94
95var HWComponentInfoSetResponse_Reason_name = map[int32]string{
96 0: "UNDEFINED_REASON",
97 1: "UNKNOWN_DEVICE",
98 2: "UNKNOWN_COMPONENT",
99 3: "INVALID_PARAMS",
100 4: "INTERNAL_ERROR",
101}
102
103var HWComponentInfoSetResponse_Reason_value = map[string]int32{
104 "UNDEFINED_REASON": 0,
105 "UNKNOWN_DEVICE": 1,
106 "UNKNOWN_COMPONENT": 2,
107 "INVALID_PARAMS": 3,
108 "INTERNAL_ERROR": 4,
109}
110
111func (x HWComponentInfoSetResponse_Reason) String() string {
112 return proto.EnumName(HWComponentInfoSetResponse_Reason_name, int32(x))
113}
114
115func (HWComponentInfoSetResponse_Reason) EnumDescriptor() ([]byte, []int) {
116 return fileDescriptor_eae902e73066286d, []int{5, 0}
117}
118
119type StartManagingDeviceResponse_Reason int32
120
121const (
122 StartManagingDeviceResponse_UNDEFINED_REASON StartManagingDeviceResponse_Reason = 0
123 // DEVICE_ALREADY_MANAGED is returned when StartManagingDevice is called again for the same name AFTER a previously
124 // successful StartManagingDevice operation
125 StartManagingDeviceResponse_DEVICE_ALREADY_MANAGED StartManagingDeviceResponse_Reason = 1
126 // OPERATION_ALREADY_IN_PROGRESS is returned when StartManagingDevice is called again for the same name BEFORE
127 // a previous StartManagingDevice operation has completed
128 StartManagingDeviceResponse_OPERATION_ALREADY_IN_PROGRESS StartManagingDeviceResponse_Reason = 2
129 StartManagingDeviceResponse_INVALID_PARAMS StartManagingDeviceResponse_Reason = 3
130 StartManagingDeviceResponse_INTERNAL_ERROR StartManagingDeviceResponse_Reason = 4
131)
132
133var StartManagingDeviceResponse_Reason_name = map[int32]string{
134 0: "UNDEFINED_REASON",
135 1: "DEVICE_ALREADY_MANAGED",
136 2: "OPERATION_ALREADY_IN_PROGRESS",
137 3: "INVALID_PARAMS",
138 4: "INTERNAL_ERROR",
139}
140
141var StartManagingDeviceResponse_Reason_value = map[string]int32{
142 "UNDEFINED_REASON": 0,
143 "DEVICE_ALREADY_MANAGED": 1,
144 "OPERATION_ALREADY_IN_PROGRESS": 2,
145 "INVALID_PARAMS": 3,
146 "INTERNAL_ERROR": 4,
147}
148
149func (x StartManagingDeviceResponse_Reason) String() string {
150 return proto.EnumName(StartManagingDeviceResponse_Reason_name, int32(x))
151}
152
153func (StartManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
154 return fileDescriptor_eae902e73066286d, []int{6, 0}
155}
156
157// The only case in which an error is expected is if the name of the
158// device to be stopped is not found
159type StopManagingDeviceResponse_Reason int32
160
161const (
162 StopManagingDeviceResponse_UNDEFINED_REASON StopManagingDeviceResponse_Reason = 0
163 StopManagingDeviceResponse_UNKNOWN_DEVICE StopManagingDeviceResponse_Reason = 1
164)
165
166var StopManagingDeviceResponse_Reason_name = map[int32]string{
167 0: "UNDEFINED_REASON",
168 1: "UNKNOWN_DEVICE",
169}
170
171var StopManagingDeviceResponse_Reason_value = map[string]int32{
172 "UNDEFINED_REASON": 0,
173 "UNKNOWN_DEVICE": 1,
174}
175
176func (x StopManagingDeviceResponse_Reason) String() string {
177 return proto.EnumName(StopManagingDeviceResponse_Reason_name, int32(x))
178}
179
180func (StopManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
181 return fileDescriptor_eae902e73066286d, []int{8, 0}
182}
183
184type SetRemoteEndpointResponse_Reason int32
185
186const (
187 SetRemoteEndpointResponse_UNDEFINED_REASON SetRemoteEndpointResponse_Reason = 0
188 SetRemoteEndpointResponse_UNKNOWN_DEVICE SetRemoteEndpointResponse_Reason = 1
189 SetRemoteEndpointResponse_INTERNAL_ERROR SetRemoteEndpointResponse_Reason = 2
190 SetRemoteEndpointResponse_LOGGING_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 3
191 SetRemoteEndpointResponse_LOGGING_ENDPOINT_PROTOCOL_ERROR SetRemoteEndpointResponse_Reason = 4
192 SetRemoteEndpointResponse_MSGBUS_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 5
193)
194
195var SetRemoteEndpointResponse_Reason_name = map[int32]string{
196 0: "UNDEFINED_REASON",
197 1: "UNKNOWN_DEVICE",
198 2: "INTERNAL_ERROR",
199 3: "LOGGING_ENDPOINT_ERROR",
200 4: "LOGGING_ENDPOINT_PROTOCOL_ERROR",
201 5: "MSGBUS_ENDPOINT_ERROR",
202}
203
204var SetRemoteEndpointResponse_Reason_value = map[string]int32{
205 "UNDEFINED_REASON": 0,
206 "UNKNOWN_DEVICE": 1,
207 "INTERNAL_ERROR": 2,
208 "LOGGING_ENDPOINT_ERROR": 3,
209 "LOGGING_ENDPOINT_PROTOCOL_ERROR": 4,
210 "MSGBUS_ENDPOINT_ERROR": 5,
211}
212
213func (x SetRemoteEndpointResponse_Reason) String() string {
214 return proto.EnumName(SetRemoteEndpointResponse_Reason_name, int32(x))
215}
216
217func (SetRemoteEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
218 return fileDescriptor_eae902e73066286d, []int{11, 0}
219}
220
221type GetLoggingEndpointResponse_Reason int32
222
223const (
224 GetLoggingEndpointResponse_UNDEFINED_REASON GetLoggingEndpointResponse_Reason = 0
225 GetLoggingEndpointResponse_UNKNOWN_DEVICE GetLoggingEndpointResponse_Reason = 1
226 GetLoggingEndpointResponse_INTERNAL_ERROR GetLoggingEndpointResponse_Reason = 2
227)
228
229var GetLoggingEndpointResponse_Reason_name = map[int32]string{
230 0: "UNDEFINED_REASON",
231 1: "UNKNOWN_DEVICE",
232 2: "INTERNAL_ERROR",
233}
234
235var GetLoggingEndpointResponse_Reason_value = map[string]int32{
236 "UNDEFINED_REASON": 0,
237 "UNKNOWN_DEVICE": 1,
238 "INTERNAL_ERROR": 2,
239}
240
241func (x GetLoggingEndpointResponse_Reason) String() string {
242 return proto.EnumName(GetLoggingEndpointResponse_Reason_name, int32(x))
243}
244
245func (GetLoggingEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
246 return fileDescriptor_eae902e73066286d, []int{12, 0}
247}
248
249type GetMsgBusEndpointResponse_Reason int32
250
251const (
252 GetMsgBusEndpointResponse_UNDEFINED_REASON GetMsgBusEndpointResponse_Reason = 0
253 GetMsgBusEndpointResponse_INTERNAL_ERROR GetMsgBusEndpointResponse_Reason = 1
254)
255
256var GetMsgBusEndpointResponse_Reason_name = map[int32]string{
257 0: "UNDEFINED_REASON",
258 1: "INTERNAL_ERROR",
259}
260
261var GetMsgBusEndpointResponse_Reason_value = map[string]int32{
262 "UNDEFINED_REASON": 0,
263 "INTERNAL_ERROR": 1,
264}
265
266func (x GetMsgBusEndpointResponse_Reason) String() string {
267 return proto.EnumName(GetMsgBusEndpointResponse_Reason_name, int32(x))
268}
269
270func (GetMsgBusEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
271 return fileDescriptor_eae902e73066286d, []int{14, 0}
272}
273
274type SetLogLevelResponse_Reason int32
275
276const (
277 SetLogLevelResponse_UNDEFINED_REASON SetLogLevelResponse_Reason = 0
278 SetLogLevelResponse_UNKNOWN_DEVICE SetLogLevelResponse_Reason = 1
279 SetLogLevelResponse_INTERNAL_ERROR SetLogLevelResponse_Reason = 2
280 SetLogLevelResponse_UNKNOWN_LOG_ENTITY SetLogLevelResponse_Reason = 3
281)
282
283var SetLogLevelResponse_Reason_name = map[int32]string{
284 0: "UNDEFINED_REASON",
285 1: "UNKNOWN_DEVICE",
286 2: "INTERNAL_ERROR",
287 3: "UNKNOWN_LOG_ENTITY",
288}
289
290var SetLogLevelResponse_Reason_value = map[string]int32{
291 "UNDEFINED_REASON": 0,
292 "UNKNOWN_DEVICE": 1,
293 "INTERNAL_ERROR": 2,
294 "UNKNOWN_LOG_ENTITY": 3,
295}
296
297func (x SetLogLevelResponse_Reason) String() string {
298 return proto.EnumName(SetLogLevelResponse_Reason_name, int32(x))
299}
300
301func (SetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
302 return fileDescriptor_eae902e73066286d, []int{17, 0}
303}
304
305type GetLogLevelResponse_Reason int32
306
307const (
308 GetLogLevelResponse_UNDEFINED_REASON GetLogLevelResponse_Reason = 0
309 GetLogLevelResponse_UNKNOWN_DEVICE GetLogLevelResponse_Reason = 1
310 GetLogLevelResponse_INTERNAL_ERROR GetLogLevelResponse_Reason = 2
311 GetLogLevelResponse_UNKNOWN_LOG_ENTITY GetLogLevelResponse_Reason = 3
312)
313
314var GetLogLevelResponse_Reason_name = map[int32]string{
315 0: "UNDEFINED_REASON",
316 1: "UNKNOWN_DEVICE",
317 2: "INTERNAL_ERROR",
318 3: "UNKNOWN_LOG_ENTITY",
319}
320
321var GetLogLevelResponse_Reason_value = map[string]int32{
322 "UNDEFINED_REASON": 0,
323 "UNKNOWN_DEVICE": 1,
324 "INTERNAL_ERROR": 2,
325 "UNKNOWN_LOG_ENTITY": 3,
326}
327
328func (x GetLogLevelResponse_Reason) String() string {
329 return proto.EnumName(GetLogLevelResponse_Reason_name, int32(x))
330}
331
332func (GetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
333 return fileDescriptor_eae902e73066286d, []int{19, 0}
334}
335
Amit Ghosh09f28362020-06-12 21:52:19 +0100336type PhysicalInventoryRequest struct {
337 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
338 XXX_NoUnkeyedLiteral struct{} `json:"-"`
339 XXX_unrecognized []byte `json:"-"`
340 XXX_sizecache int32 `json:"-"`
341}
342
343func (m *PhysicalInventoryRequest) Reset() { *m = PhysicalInventoryRequest{} }
344func (m *PhysicalInventoryRequest) String() string { return proto.CompactTextString(m) }
345func (*PhysicalInventoryRequest) ProtoMessage() {}
346func (*PhysicalInventoryRequest) Descriptor() ([]byte, []int) {
347 return fileDescriptor_eae902e73066286d, []int{0}
348}
349
350func (m *PhysicalInventoryRequest) XXX_Unmarshal(b []byte) error {
351 return xxx_messageInfo_PhysicalInventoryRequest.Unmarshal(m, b)
352}
353func (m *PhysicalInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
354 return xxx_messageInfo_PhysicalInventoryRequest.Marshal(b, m, deterministic)
355}
356func (m *PhysicalInventoryRequest) XXX_Merge(src proto.Message) {
357 xxx_messageInfo_PhysicalInventoryRequest.Merge(m, src)
358}
359func (m *PhysicalInventoryRequest) XXX_Size() int {
360 return xxx_messageInfo_PhysicalInventoryRequest.Size(m)
361}
362func (m *PhysicalInventoryRequest) XXX_DiscardUnknown() {
363 xxx_messageInfo_PhysicalInventoryRequest.DiscardUnknown(m)
364}
365
366var xxx_messageInfo_PhysicalInventoryRequest proto.InternalMessageInfo
367
368func (m *PhysicalInventoryRequest) GetDeviceUuid() *Uuid {
369 if m != nil {
370 return m.DeviceUuid
371 }
372 return nil
373}
374
375type PhysicalInventoryResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100376 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
377 Reason PhysicalInventoryResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.PhysicalInventoryResponse_Reason" json:"reason,omitempty"`
378 Inventory *Hardware `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
379 XXX_NoUnkeyedLiteral struct{} `json:"-"`
380 XXX_unrecognized []byte `json:"-"`
381 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100382}
383
384func (m *PhysicalInventoryResponse) Reset() { *m = PhysicalInventoryResponse{} }
385func (m *PhysicalInventoryResponse) String() string { return proto.CompactTextString(m) }
386func (*PhysicalInventoryResponse) ProtoMessage() {}
387func (*PhysicalInventoryResponse) Descriptor() ([]byte, []int) {
388 return fileDescriptor_eae902e73066286d, []int{1}
389}
390
391func (m *PhysicalInventoryResponse) XXX_Unmarshal(b []byte) error {
392 return xxx_messageInfo_PhysicalInventoryResponse.Unmarshal(m, b)
393}
394func (m *PhysicalInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
395 return xxx_messageInfo_PhysicalInventoryResponse.Marshal(b, m, deterministic)
396}
397func (m *PhysicalInventoryResponse) XXX_Merge(src proto.Message) {
398 xxx_messageInfo_PhysicalInventoryResponse.Merge(m, src)
399}
400func (m *PhysicalInventoryResponse) XXX_Size() int {
401 return xxx_messageInfo_PhysicalInventoryResponse.Size(m)
402}
403func (m *PhysicalInventoryResponse) XXX_DiscardUnknown() {
404 xxx_messageInfo_PhysicalInventoryResponse.DiscardUnknown(m)
405}
406
407var xxx_messageInfo_PhysicalInventoryResponse proto.InternalMessageInfo
408
409func (m *PhysicalInventoryResponse) GetStatus() Status {
410 if m != nil {
411 return m.Status
412 }
413 return Status_UNDEFINED_STATUS
414}
415
amit.ghoshae473032021-01-10 11:59:10 +0100416func (m *PhysicalInventoryResponse) GetReason() PhysicalInventoryResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100417 if m != nil {
418 return m.Reason
419 }
amit.ghoshae473032021-01-10 11:59:10 +0100420 return PhysicalInventoryResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100421}
422
423func (m *PhysicalInventoryResponse) GetInventory() *Hardware {
424 if m != nil {
425 return m.Inventory
426 }
427 return nil
428}
429
430type HWComponentInfoGetRequest struct {
431 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
432 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
433 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
434 XXX_NoUnkeyedLiteral struct{} `json:"-"`
435 XXX_unrecognized []byte `json:"-"`
436 XXX_sizecache int32 `json:"-"`
437}
438
439func (m *HWComponentInfoGetRequest) Reset() { *m = HWComponentInfoGetRequest{} }
440func (m *HWComponentInfoGetRequest) String() string { return proto.CompactTextString(m) }
441func (*HWComponentInfoGetRequest) ProtoMessage() {}
442func (*HWComponentInfoGetRequest) Descriptor() ([]byte, []int) {
443 return fileDescriptor_eae902e73066286d, []int{2}
444}
445
446func (m *HWComponentInfoGetRequest) XXX_Unmarshal(b []byte) error {
447 return xxx_messageInfo_HWComponentInfoGetRequest.Unmarshal(m, b)
448}
449func (m *HWComponentInfoGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
450 return xxx_messageInfo_HWComponentInfoGetRequest.Marshal(b, m, deterministic)
451}
452func (m *HWComponentInfoGetRequest) XXX_Merge(src proto.Message) {
453 xxx_messageInfo_HWComponentInfoGetRequest.Merge(m, src)
454}
455func (m *HWComponentInfoGetRequest) XXX_Size() int {
456 return xxx_messageInfo_HWComponentInfoGetRequest.Size(m)
457}
458func (m *HWComponentInfoGetRequest) XXX_DiscardUnknown() {
459 xxx_messageInfo_HWComponentInfoGetRequest.DiscardUnknown(m)
460}
461
462var xxx_messageInfo_HWComponentInfoGetRequest proto.InternalMessageInfo
463
464func (m *HWComponentInfoGetRequest) GetDeviceUuid() *Uuid {
465 if m != nil {
466 return m.DeviceUuid
467 }
468 return nil
469}
470
471func (m *HWComponentInfoGetRequest) GetComponentUuid() *Uuid {
472 if m != nil {
473 return m.ComponentUuid
474 }
475 return nil
476}
477
478func (m *HWComponentInfoGetRequest) GetComponentName() string {
479 if m != nil {
480 return m.ComponentName
481 }
482 return ""
483}
484
aghoshc301dcd2020-09-03 16:55:34 +0100485type HWComponentInfoGetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100486 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
487 Reason HWComponentInfoGetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoGetResponse_Reason" json:"reason,omitempty"`
488 Component *Component `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
489 XXX_NoUnkeyedLiteral struct{} `json:"-"`
490 XXX_unrecognized []byte `json:"-"`
491 XXX_sizecache int32 `json:"-"`
aghoshc301dcd2020-09-03 16:55:34 +0100492}
493
494func (m *HWComponentInfoGetResponse) Reset() { *m = HWComponentInfoGetResponse{} }
495func (m *HWComponentInfoGetResponse) String() string { return proto.CompactTextString(m) }
496func (*HWComponentInfoGetResponse) ProtoMessage() {}
497func (*HWComponentInfoGetResponse) Descriptor() ([]byte, []int) {
498 return fileDescriptor_eae902e73066286d, []int{3}
499}
500
501func (m *HWComponentInfoGetResponse) XXX_Unmarshal(b []byte) error {
502 return xxx_messageInfo_HWComponentInfoGetResponse.Unmarshal(m, b)
503}
504func (m *HWComponentInfoGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
505 return xxx_messageInfo_HWComponentInfoGetResponse.Marshal(b, m, deterministic)
506}
507func (m *HWComponentInfoGetResponse) XXX_Merge(src proto.Message) {
508 xxx_messageInfo_HWComponentInfoGetResponse.Merge(m, src)
509}
510func (m *HWComponentInfoGetResponse) XXX_Size() int {
511 return xxx_messageInfo_HWComponentInfoGetResponse.Size(m)
512}
513func (m *HWComponentInfoGetResponse) XXX_DiscardUnknown() {
514 xxx_messageInfo_HWComponentInfoGetResponse.DiscardUnknown(m)
515}
516
517var xxx_messageInfo_HWComponentInfoGetResponse proto.InternalMessageInfo
518
519func (m *HWComponentInfoGetResponse) GetStatus() Status {
520 if m != nil {
521 return m.Status
522 }
523 return Status_UNDEFINED_STATUS
524}
525
amit.ghoshae473032021-01-10 11:59:10 +0100526func (m *HWComponentInfoGetResponse) GetReason() HWComponentInfoGetResponse_Reason {
aghoshc301dcd2020-09-03 16:55:34 +0100527 if m != nil {
528 return m.Reason
529 }
amit.ghoshae473032021-01-10 11:59:10 +0100530 return HWComponentInfoGetResponse_UNDEFINED_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100531}
532
533func (m *HWComponentInfoGetResponse) GetComponent() *Component {
534 if m != nil {
535 return m.Component
536 }
537 return nil
538}
539
Amit Ghosh09f28362020-06-12 21:52:19 +0100540type HWComponentInfoSetRequest struct {
541 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
542 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
543 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
544 Changes *ModifiableComponent `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"`
545 XXX_NoUnkeyedLiteral struct{} `json:"-"`
546 XXX_unrecognized []byte `json:"-"`
547 XXX_sizecache int32 `json:"-"`
548}
549
550func (m *HWComponentInfoSetRequest) Reset() { *m = HWComponentInfoSetRequest{} }
551func (m *HWComponentInfoSetRequest) String() string { return proto.CompactTextString(m) }
552func (*HWComponentInfoSetRequest) ProtoMessage() {}
553func (*HWComponentInfoSetRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100554 return fileDescriptor_eae902e73066286d, []int{4}
Amit Ghosh09f28362020-06-12 21:52:19 +0100555}
556
557func (m *HWComponentInfoSetRequest) XXX_Unmarshal(b []byte) error {
558 return xxx_messageInfo_HWComponentInfoSetRequest.Unmarshal(m, b)
559}
560func (m *HWComponentInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
561 return xxx_messageInfo_HWComponentInfoSetRequest.Marshal(b, m, deterministic)
562}
563func (m *HWComponentInfoSetRequest) XXX_Merge(src proto.Message) {
564 xxx_messageInfo_HWComponentInfoSetRequest.Merge(m, src)
565}
566func (m *HWComponentInfoSetRequest) XXX_Size() int {
567 return xxx_messageInfo_HWComponentInfoSetRequest.Size(m)
568}
569func (m *HWComponentInfoSetRequest) XXX_DiscardUnknown() {
570 xxx_messageInfo_HWComponentInfoSetRequest.DiscardUnknown(m)
571}
572
573var xxx_messageInfo_HWComponentInfoSetRequest proto.InternalMessageInfo
574
575func (m *HWComponentInfoSetRequest) GetDeviceUuid() *Uuid {
576 if m != nil {
577 return m.DeviceUuid
578 }
579 return nil
580}
581
582func (m *HWComponentInfoSetRequest) GetComponentUuid() *Uuid {
583 if m != nil {
584 return m.ComponentUuid
585 }
586 return nil
587}
588
589func (m *HWComponentInfoSetRequest) GetComponentName() string {
590 if m != nil {
591 return m.ComponentName
592 }
593 return ""
594}
595
596func (m *HWComponentInfoSetRequest) GetChanges() *ModifiableComponent {
597 if m != nil {
598 return m.Changes
599 }
600 return nil
601}
602
603type HWComponentInfoSetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100604 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
605 Reason HWComponentInfoSetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoSetResponse_Reason" json:"reason,omitempty"`
606 XXX_NoUnkeyedLiteral struct{} `json:"-"`
607 XXX_unrecognized []byte `json:"-"`
608 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100609}
610
611func (m *HWComponentInfoSetResponse) Reset() { *m = HWComponentInfoSetResponse{} }
612func (m *HWComponentInfoSetResponse) String() string { return proto.CompactTextString(m) }
613func (*HWComponentInfoSetResponse) ProtoMessage() {}
614func (*HWComponentInfoSetResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100615 return fileDescriptor_eae902e73066286d, []int{5}
Amit Ghosh09f28362020-06-12 21:52:19 +0100616}
617
618func (m *HWComponentInfoSetResponse) XXX_Unmarshal(b []byte) error {
619 return xxx_messageInfo_HWComponentInfoSetResponse.Unmarshal(m, b)
620}
621func (m *HWComponentInfoSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
622 return xxx_messageInfo_HWComponentInfoSetResponse.Marshal(b, m, deterministic)
623}
624func (m *HWComponentInfoSetResponse) XXX_Merge(src proto.Message) {
625 xxx_messageInfo_HWComponentInfoSetResponse.Merge(m, src)
626}
627func (m *HWComponentInfoSetResponse) XXX_Size() int {
628 return xxx_messageInfo_HWComponentInfoSetResponse.Size(m)
629}
630func (m *HWComponentInfoSetResponse) XXX_DiscardUnknown() {
631 xxx_messageInfo_HWComponentInfoSetResponse.DiscardUnknown(m)
632}
633
634var xxx_messageInfo_HWComponentInfoSetResponse proto.InternalMessageInfo
635
636func (m *HWComponentInfoSetResponse) GetStatus() Status {
637 if m != nil {
638 return m.Status
639 }
640 return Status_UNDEFINED_STATUS
641}
642
amit.ghoshae473032021-01-10 11:59:10 +0100643func (m *HWComponentInfoSetResponse) GetReason() HWComponentInfoSetResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100644 if m != nil {
645 return m.Reason
646 }
amit.ghoshae473032021-01-10 11:59:10 +0100647 return HWComponentInfoSetResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100648}
649
650type StartManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100651 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
652 Reason StartManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartManagingDeviceResponse_Reason" json:"reason,omitempty"`
653 DeviceUuid *Uuid `protobuf:"bytes,3,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
654 XXX_NoUnkeyedLiteral struct{} `json:"-"`
655 XXX_unrecognized []byte `json:"-"`
656 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100657}
658
659func (m *StartManagingDeviceResponse) Reset() { *m = StartManagingDeviceResponse{} }
660func (m *StartManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
661func (*StartManagingDeviceResponse) ProtoMessage() {}
662func (*StartManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100663 return fileDescriptor_eae902e73066286d, []int{6}
Amit Ghosh09f28362020-06-12 21:52:19 +0100664}
665
666func (m *StartManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
667 return xxx_messageInfo_StartManagingDeviceResponse.Unmarshal(m, b)
668}
669func (m *StartManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
670 return xxx_messageInfo_StartManagingDeviceResponse.Marshal(b, m, deterministic)
671}
672func (m *StartManagingDeviceResponse) XXX_Merge(src proto.Message) {
673 xxx_messageInfo_StartManagingDeviceResponse.Merge(m, src)
674}
675func (m *StartManagingDeviceResponse) XXX_Size() int {
676 return xxx_messageInfo_StartManagingDeviceResponse.Size(m)
677}
678func (m *StartManagingDeviceResponse) XXX_DiscardUnknown() {
679 xxx_messageInfo_StartManagingDeviceResponse.DiscardUnknown(m)
680}
681
682var xxx_messageInfo_StartManagingDeviceResponse proto.InternalMessageInfo
683
684func (m *StartManagingDeviceResponse) GetStatus() Status {
685 if m != nil {
686 return m.Status
687 }
688 return Status_UNDEFINED_STATUS
689}
690
amit.ghoshae473032021-01-10 11:59:10 +0100691func (m *StartManagingDeviceResponse) GetReason() StartManagingDeviceResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100692 if m != nil {
693 return m.Reason
694 }
amit.ghoshae473032021-01-10 11:59:10 +0100695 return StartManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100696}
697
698func (m *StartManagingDeviceResponse) GetDeviceUuid() *Uuid {
699 if m != nil {
700 return m.DeviceUuid
701 }
702 return nil
703}
704
Amit Ghosh366228e2020-07-06 13:46:42 +0100705type StopManagingDeviceRequest struct {
706 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
707 XXX_NoUnkeyedLiteral struct{} `json:"-"`
708 XXX_unrecognized []byte `json:"-"`
709 XXX_sizecache int32 `json:"-"`
710}
711
712func (m *StopManagingDeviceRequest) Reset() { *m = StopManagingDeviceRequest{} }
713func (m *StopManagingDeviceRequest) String() string { return proto.CompactTextString(m) }
714func (*StopManagingDeviceRequest) ProtoMessage() {}
715func (*StopManagingDeviceRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100716 return fileDescriptor_eae902e73066286d, []int{7}
Amit Ghosh366228e2020-07-06 13:46:42 +0100717}
718
719func (m *StopManagingDeviceRequest) XXX_Unmarshal(b []byte) error {
720 return xxx_messageInfo_StopManagingDeviceRequest.Unmarshal(m, b)
721}
722func (m *StopManagingDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
723 return xxx_messageInfo_StopManagingDeviceRequest.Marshal(b, m, deterministic)
724}
725func (m *StopManagingDeviceRequest) XXX_Merge(src proto.Message) {
726 xxx_messageInfo_StopManagingDeviceRequest.Merge(m, src)
727}
728func (m *StopManagingDeviceRequest) XXX_Size() int {
729 return xxx_messageInfo_StopManagingDeviceRequest.Size(m)
730}
731func (m *StopManagingDeviceRequest) XXX_DiscardUnknown() {
732 xxx_messageInfo_StopManagingDeviceRequest.DiscardUnknown(m)
733}
734
735var xxx_messageInfo_StopManagingDeviceRequest proto.InternalMessageInfo
736
737func (m *StopManagingDeviceRequest) GetName() string {
738 if m != nil {
739 return m.Name
740 }
741 return ""
742}
743
744type StopManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100745 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
746 Reason StopManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StopManagingDeviceResponse_Reason" json:"reason,omitempty"`
747 XXX_NoUnkeyedLiteral struct{} `json:"-"`
748 XXX_unrecognized []byte `json:"-"`
749 XXX_sizecache int32 `json:"-"`
Amit Ghosh366228e2020-07-06 13:46:42 +0100750}
751
752func (m *StopManagingDeviceResponse) Reset() { *m = StopManagingDeviceResponse{} }
753func (m *StopManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
754func (*StopManagingDeviceResponse) ProtoMessage() {}
755func (*StopManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100756 return fileDescriptor_eae902e73066286d, []int{8}
Amit Ghosh366228e2020-07-06 13:46:42 +0100757}
758
759func (m *StopManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
760 return xxx_messageInfo_StopManagingDeviceResponse.Unmarshal(m, b)
761}
762func (m *StopManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
763 return xxx_messageInfo_StopManagingDeviceResponse.Marshal(b, m, deterministic)
764}
765func (m *StopManagingDeviceResponse) XXX_Merge(src proto.Message) {
766 xxx_messageInfo_StopManagingDeviceResponse.Merge(m, src)
767}
768func (m *StopManagingDeviceResponse) XXX_Size() int {
769 return xxx_messageInfo_StopManagingDeviceResponse.Size(m)
770}
771func (m *StopManagingDeviceResponse) XXX_DiscardUnknown() {
772 xxx_messageInfo_StopManagingDeviceResponse.DiscardUnknown(m)
773}
774
775var xxx_messageInfo_StopManagingDeviceResponse proto.InternalMessageInfo
776
777func (m *StopManagingDeviceResponse) GetStatus() Status {
778 if m != nil {
779 return m.Status
780 }
781 return Status_UNDEFINED_STATUS
782}
783
amit.ghoshae473032021-01-10 11:59:10 +0100784func (m *StopManagingDeviceResponse) GetReason() StopManagingDeviceResponse_Reason {
Amit Ghosh366228e2020-07-06 13:46:42 +0100785 if m != nil {
786 return m.Reason
787 }
amit.ghoshae473032021-01-10 11:59:10 +0100788 return StopManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh366228e2020-07-06 13:46:42 +0100789}
790
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200791type ManagedDevicesResponse struct {
792 Devices []*ModifiableComponent `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
793 XXX_NoUnkeyedLiteral struct{} `json:"-"`
794 XXX_unrecognized []byte `json:"-"`
795 XXX_sizecache int32 `json:"-"`
796}
797
798func (m *ManagedDevicesResponse) Reset() { *m = ManagedDevicesResponse{} }
799func (m *ManagedDevicesResponse) String() string { return proto.CompactTextString(m) }
800func (*ManagedDevicesResponse) ProtoMessage() {}
801func (*ManagedDevicesResponse) Descriptor() ([]byte, []int) {
802 return fileDescriptor_eae902e73066286d, []int{9}
803}
804
805func (m *ManagedDevicesResponse) XXX_Unmarshal(b []byte) error {
806 return xxx_messageInfo_ManagedDevicesResponse.Unmarshal(m, b)
807}
808func (m *ManagedDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
809 return xxx_messageInfo_ManagedDevicesResponse.Marshal(b, m, deterministic)
810}
811func (m *ManagedDevicesResponse) XXX_Merge(src proto.Message) {
812 xxx_messageInfo_ManagedDevicesResponse.Merge(m, src)
813}
814func (m *ManagedDevicesResponse) XXX_Size() int {
815 return xxx_messageInfo_ManagedDevicesResponse.Size(m)
816}
817func (m *ManagedDevicesResponse) XXX_DiscardUnknown() {
818 xxx_messageInfo_ManagedDevicesResponse.DiscardUnknown(m)
819}
820
821var xxx_messageInfo_ManagedDevicesResponse proto.InternalMessageInfo
822
823func (m *ManagedDevicesResponse) GetDevices() []*ModifiableComponent {
824 if m != nil {
825 return m.Devices
826 }
827 return nil
828}
829
amit.ghosh188a84f2020-09-27 20:59:25 +0200830type SetLoggingEndpointRequest struct {
831 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
832 LoggingEndpoint string `protobuf:"bytes,2,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
833 LoggingProtocol string `protobuf:"bytes,3,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
834 XXX_NoUnkeyedLiteral struct{} `json:"-"`
835 XXX_unrecognized []byte `json:"-"`
836 XXX_sizecache int32 `json:"-"`
837}
838
839func (m *SetLoggingEndpointRequest) Reset() { *m = SetLoggingEndpointRequest{} }
840func (m *SetLoggingEndpointRequest) String() string { return proto.CompactTextString(m) }
841func (*SetLoggingEndpointRequest) ProtoMessage() {}
842func (*SetLoggingEndpointRequest) Descriptor() ([]byte, []int) {
843 return fileDescriptor_eae902e73066286d, []int{10}
844}
845
846func (m *SetLoggingEndpointRequest) XXX_Unmarshal(b []byte) error {
847 return xxx_messageInfo_SetLoggingEndpointRequest.Unmarshal(m, b)
848}
849func (m *SetLoggingEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
850 return xxx_messageInfo_SetLoggingEndpointRequest.Marshal(b, m, deterministic)
851}
852func (m *SetLoggingEndpointRequest) XXX_Merge(src proto.Message) {
853 xxx_messageInfo_SetLoggingEndpointRequest.Merge(m, src)
854}
855func (m *SetLoggingEndpointRequest) XXX_Size() int {
856 return xxx_messageInfo_SetLoggingEndpointRequest.Size(m)
857}
858func (m *SetLoggingEndpointRequest) XXX_DiscardUnknown() {
859 xxx_messageInfo_SetLoggingEndpointRequest.DiscardUnknown(m)
860}
861
862var xxx_messageInfo_SetLoggingEndpointRequest proto.InternalMessageInfo
863
864func (m *SetLoggingEndpointRequest) GetDeviceUuid() *Uuid {
865 if m != nil {
866 return m.DeviceUuid
867 }
868 return nil
869}
870
871func (m *SetLoggingEndpointRequest) GetLoggingEndpoint() string {
872 if m != nil {
873 return m.LoggingEndpoint
874 }
875 return ""
876}
877
878func (m *SetLoggingEndpointRequest) GetLoggingProtocol() string {
879 if m != nil {
880 return m.LoggingProtocol
881 }
882 return ""
883}
884
885type SetRemoteEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100886 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
887 Reason SetRemoteEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetRemoteEndpointResponse_Reason" json:"reason,omitempty"`
888 XXX_NoUnkeyedLiteral struct{} `json:"-"`
889 XXX_unrecognized []byte `json:"-"`
890 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +0200891}
892
893func (m *SetRemoteEndpointResponse) Reset() { *m = SetRemoteEndpointResponse{} }
894func (m *SetRemoteEndpointResponse) String() string { return proto.CompactTextString(m) }
895func (*SetRemoteEndpointResponse) ProtoMessage() {}
896func (*SetRemoteEndpointResponse) Descriptor() ([]byte, []int) {
897 return fileDescriptor_eae902e73066286d, []int{11}
898}
899
900func (m *SetRemoteEndpointResponse) XXX_Unmarshal(b []byte) error {
901 return xxx_messageInfo_SetRemoteEndpointResponse.Unmarshal(m, b)
902}
903func (m *SetRemoteEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
904 return xxx_messageInfo_SetRemoteEndpointResponse.Marshal(b, m, deterministic)
905}
906func (m *SetRemoteEndpointResponse) XXX_Merge(src proto.Message) {
907 xxx_messageInfo_SetRemoteEndpointResponse.Merge(m, src)
908}
909func (m *SetRemoteEndpointResponse) XXX_Size() int {
910 return xxx_messageInfo_SetRemoteEndpointResponse.Size(m)
911}
912func (m *SetRemoteEndpointResponse) XXX_DiscardUnknown() {
913 xxx_messageInfo_SetRemoteEndpointResponse.DiscardUnknown(m)
914}
915
916var xxx_messageInfo_SetRemoteEndpointResponse proto.InternalMessageInfo
917
918func (m *SetRemoteEndpointResponse) GetStatus() Status {
919 if m != nil {
920 return m.Status
921 }
922 return Status_UNDEFINED_STATUS
923}
924
amit.ghoshae473032021-01-10 11:59:10 +0100925func (m *SetRemoteEndpointResponse) GetReason() SetRemoteEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +0200926 if m != nil {
927 return m.Reason
928 }
amit.ghoshae473032021-01-10 11:59:10 +0100929 return SetRemoteEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +0200930}
931
932type GetLoggingEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100933 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
934 Reason GetLoggingEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetLoggingEndpointResponse_Reason" json:"reason,omitempty"`
935 LoggingEndpoint string `protobuf:"bytes,3,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
936 LoggingProtocol string `protobuf:"bytes,4,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
937 XXX_NoUnkeyedLiteral struct{} `json:"-"`
938 XXX_unrecognized []byte `json:"-"`
939 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +0200940}
941
942func (m *GetLoggingEndpointResponse) Reset() { *m = GetLoggingEndpointResponse{} }
943func (m *GetLoggingEndpointResponse) String() string { return proto.CompactTextString(m) }
944func (*GetLoggingEndpointResponse) ProtoMessage() {}
945func (*GetLoggingEndpointResponse) Descriptor() ([]byte, []int) {
946 return fileDescriptor_eae902e73066286d, []int{12}
947}
948
949func (m *GetLoggingEndpointResponse) XXX_Unmarshal(b []byte) error {
950 return xxx_messageInfo_GetLoggingEndpointResponse.Unmarshal(m, b)
951}
952func (m *GetLoggingEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
953 return xxx_messageInfo_GetLoggingEndpointResponse.Marshal(b, m, deterministic)
954}
955func (m *GetLoggingEndpointResponse) XXX_Merge(src proto.Message) {
956 xxx_messageInfo_GetLoggingEndpointResponse.Merge(m, src)
957}
958func (m *GetLoggingEndpointResponse) XXX_Size() int {
959 return xxx_messageInfo_GetLoggingEndpointResponse.Size(m)
960}
961func (m *GetLoggingEndpointResponse) XXX_DiscardUnknown() {
962 xxx_messageInfo_GetLoggingEndpointResponse.DiscardUnknown(m)
963}
964
965var xxx_messageInfo_GetLoggingEndpointResponse proto.InternalMessageInfo
966
967func (m *GetLoggingEndpointResponse) GetStatus() Status {
968 if m != nil {
969 return m.Status
970 }
971 return Status_UNDEFINED_STATUS
972}
973
amit.ghoshae473032021-01-10 11:59:10 +0100974func (m *GetLoggingEndpointResponse) GetReason() GetLoggingEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +0200975 if m != nil {
976 return m.Reason
977 }
amit.ghoshae473032021-01-10 11:59:10 +0100978 return GetLoggingEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +0200979}
980
981func (m *GetLoggingEndpointResponse) GetLoggingEndpoint() string {
982 if m != nil {
983 return m.LoggingEndpoint
984 }
985 return ""
986}
987
988func (m *GetLoggingEndpointResponse) GetLoggingProtocol() string {
989 if m != nil {
990 return m.LoggingProtocol
991 }
992 return ""
993}
994
995type SetMsgBusEndpointRequest struct {
996 MsgbusEndpoint string `protobuf:"bytes,1,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
997 XXX_NoUnkeyedLiteral struct{} `json:"-"`
998 XXX_unrecognized []byte `json:"-"`
999 XXX_sizecache int32 `json:"-"`
1000}
1001
1002func (m *SetMsgBusEndpointRequest) Reset() { *m = SetMsgBusEndpointRequest{} }
1003func (m *SetMsgBusEndpointRequest) String() string { return proto.CompactTextString(m) }
1004func (*SetMsgBusEndpointRequest) ProtoMessage() {}
1005func (*SetMsgBusEndpointRequest) Descriptor() ([]byte, []int) {
1006 return fileDescriptor_eae902e73066286d, []int{13}
1007}
1008
1009func (m *SetMsgBusEndpointRequest) XXX_Unmarshal(b []byte) error {
1010 return xxx_messageInfo_SetMsgBusEndpointRequest.Unmarshal(m, b)
1011}
1012func (m *SetMsgBusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1013 return xxx_messageInfo_SetMsgBusEndpointRequest.Marshal(b, m, deterministic)
1014}
1015func (m *SetMsgBusEndpointRequest) XXX_Merge(src proto.Message) {
1016 xxx_messageInfo_SetMsgBusEndpointRequest.Merge(m, src)
1017}
1018func (m *SetMsgBusEndpointRequest) XXX_Size() int {
1019 return xxx_messageInfo_SetMsgBusEndpointRequest.Size(m)
1020}
1021func (m *SetMsgBusEndpointRequest) XXX_DiscardUnknown() {
1022 xxx_messageInfo_SetMsgBusEndpointRequest.DiscardUnknown(m)
1023}
1024
1025var xxx_messageInfo_SetMsgBusEndpointRequest proto.InternalMessageInfo
1026
1027func (m *SetMsgBusEndpointRequest) GetMsgbusEndpoint() string {
1028 if m != nil {
1029 return m.MsgbusEndpoint
1030 }
1031 return ""
1032}
1033
1034type GetMsgBusEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001035 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1036 Reason GetMsgBusEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetMsgBusEndpointResponse_Reason" json:"reason,omitempty"`
1037 MsgbusEndpoint string `protobuf:"bytes,3,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1038 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1039 XXX_unrecognized []byte `json:"-"`
1040 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001041}
1042
1043func (m *GetMsgBusEndpointResponse) Reset() { *m = GetMsgBusEndpointResponse{} }
1044func (m *GetMsgBusEndpointResponse) String() string { return proto.CompactTextString(m) }
1045func (*GetMsgBusEndpointResponse) ProtoMessage() {}
1046func (*GetMsgBusEndpointResponse) Descriptor() ([]byte, []int) {
1047 return fileDescriptor_eae902e73066286d, []int{14}
1048}
1049
1050func (m *GetMsgBusEndpointResponse) XXX_Unmarshal(b []byte) error {
1051 return xxx_messageInfo_GetMsgBusEndpointResponse.Unmarshal(m, b)
1052}
1053func (m *GetMsgBusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1054 return xxx_messageInfo_GetMsgBusEndpointResponse.Marshal(b, m, deterministic)
1055}
1056func (m *GetMsgBusEndpointResponse) XXX_Merge(src proto.Message) {
1057 xxx_messageInfo_GetMsgBusEndpointResponse.Merge(m, src)
1058}
1059func (m *GetMsgBusEndpointResponse) XXX_Size() int {
1060 return xxx_messageInfo_GetMsgBusEndpointResponse.Size(m)
1061}
1062func (m *GetMsgBusEndpointResponse) XXX_DiscardUnknown() {
1063 xxx_messageInfo_GetMsgBusEndpointResponse.DiscardUnknown(m)
1064}
1065
1066var xxx_messageInfo_GetMsgBusEndpointResponse proto.InternalMessageInfo
1067
1068func (m *GetMsgBusEndpointResponse) GetStatus() Status {
1069 if m != nil {
1070 return m.Status
1071 }
1072 return Status_UNDEFINED_STATUS
1073}
1074
amit.ghoshae473032021-01-10 11:59:10 +01001075func (m *GetMsgBusEndpointResponse) GetReason() GetMsgBusEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001076 if m != nil {
1077 return m.Reason
1078 }
amit.ghoshae473032021-01-10 11:59:10 +01001079 return GetMsgBusEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001080}
1081
1082func (m *GetMsgBusEndpointResponse) GetMsgbusEndpoint() string {
1083 if m != nil {
1084 return m.MsgbusEndpoint
1085 }
1086 return ""
1087}
1088
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001089type EntitiesLogLevel struct {
1090 LogLevel LogLevel `protobuf:"varint,1,opt,name=logLevel,proto3,enum=dmi.LogLevel" json:"logLevel,omitempty"`
1091 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1092 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1093 XXX_unrecognized []byte `json:"-"`
1094 XXX_sizecache int32 `json:"-"`
1095}
1096
1097func (m *EntitiesLogLevel) Reset() { *m = EntitiesLogLevel{} }
1098func (m *EntitiesLogLevel) String() string { return proto.CompactTextString(m) }
1099func (*EntitiesLogLevel) ProtoMessage() {}
1100func (*EntitiesLogLevel) Descriptor() ([]byte, []int) {
1101 return fileDescriptor_eae902e73066286d, []int{15}
1102}
1103
1104func (m *EntitiesLogLevel) XXX_Unmarshal(b []byte) error {
1105 return xxx_messageInfo_EntitiesLogLevel.Unmarshal(m, b)
1106}
1107func (m *EntitiesLogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1108 return xxx_messageInfo_EntitiesLogLevel.Marshal(b, m, deterministic)
1109}
1110func (m *EntitiesLogLevel) XXX_Merge(src proto.Message) {
1111 xxx_messageInfo_EntitiesLogLevel.Merge(m, src)
1112}
1113func (m *EntitiesLogLevel) XXX_Size() int {
1114 return xxx_messageInfo_EntitiesLogLevel.Size(m)
1115}
1116func (m *EntitiesLogLevel) XXX_DiscardUnknown() {
1117 xxx_messageInfo_EntitiesLogLevel.DiscardUnknown(m)
1118}
1119
1120var xxx_messageInfo_EntitiesLogLevel proto.InternalMessageInfo
1121
1122func (m *EntitiesLogLevel) GetLogLevel() LogLevel {
1123 if m != nil {
1124 return m.LogLevel
1125 }
1126 return LogLevel_TRACE
1127}
1128
1129func (m *EntitiesLogLevel) GetEntities() []string {
1130 if m != nil {
1131 return m.Entities
1132 }
1133 return nil
1134}
1135
1136type SetLogLevelRequest struct {
1137 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1138 Loglevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=loglevels,proto3" json:"loglevels,omitempty"`
1139 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1140 XXX_unrecognized []byte `json:"-"`
1141 XXX_sizecache int32 `json:"-"`
1142}
1143
1144func (m *SetLogLevelRequest) Reset() { *m = SetLogLevelRequest{} }
1145func (m *SetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1146func (*SetLogLevelRequest) ProtoMessage() {}
1147func (*SetLogLevelRequest) Descriptor() ([]byte, []int) {
1148 return fileDescriptor_eae902e73066286d, []int{16}
1149}
1150
1151func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1152 return xxx_messageInfo_SetLogLevelRequest.Unmarshal(m, b)
1153}
1154func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1155 return xxx_messageInfo_SetLogLevelRequest.Marshal(b, m, deterministic)
1156}
1157func (m *SetLogLevelRequest) XXX_Merge(src proto.Message) {
1158 xxx_messageInfo_SetLogLevelRequest.Merge(m, src)
1159}
1160func (m *SetLogLevelRequest) XXX_Size() int {
1161 return xxx_messageInfo_SetLogLevelRequest.Size(m)
1162}
1163func (m *SetLogLevelRequest) XXX_DiscardUnknown() {
1164 xxx_messageInfo_SetLogLevelRequest.DiscardUnknown(m)
1165}
1166
1167var xxx_messageInfo_SetLogLevelRequest proto.InternalMessageInfo
1168
1169func (m *SetLogLevelRequest) GetDeviceUuid() *Uuid {
1170 if m != nil {
1171 return m.DeviceUuid
1172 }
1173 return nil
1174}
1175
1176func (m *SetLogLevelRequest) GetLoglevels() []*EntitiesLogLevel {
1177 if m != nil {
1178 return m.Loglevels
1179 }
1180 return nil
1181}
1182
1183type SetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001184 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1185 Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1186 Reason SetLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.SetLogLevelResponse_Reason" json:"reason,omitempty"`
1187 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1188 XXX_unrecognized []byte `json:"-"`
1189 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001190}
1191
1192func (m *SetLogLevelResponse) Reset() { *m = SetLogLevelResponse{} }
1193func (m *SetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1194func (*SetLogLevelResponse) ProtoMessage() {}
1195func (*SetLogLevelResponse) Descriptor() ([]byte, []int) {
1196 return fileDescriptor_eae902e73066286d, []int{17}
1197}
1198
1199func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1200 return xxx_messageInfo_SetLogLevelResponse.Unmarshal(m, b)
1201}
1202func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1203 return xxx_messageInfo_SetLogLevelResponse.Marshal(b, m, deterministic)
1204}
1205func (m *SetLogLevelResponse) XXX_Merge(src proto.Message) {
1206 xxx_messageInfo_SetLogLevelResponse.Merge(m, src)
1207}
1208func (m *SetLogLevelResponse) XXX_Size() int {
1209 return xxx_messageInfo_SetLogLevelResponse.Size(m)
1210}
1211func (m *SetLogLevelResponse) XXX_DiscardUnknown() {
1212 xxx_messageInfo_SetLogLevelResponse.DiscardUnknown(m)
1213}
1214
1215var xxx_messageInfo_SetLogLevelResponse proto.InternalMessageInfo
1216
amit.ghosh5d97dba2020-11-12 16:45:27 +01001217func (m *SetLogLevelResponse) GetDeviceUuid() *Uuid {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001218 if m != nil {
1219 return m.DeviceUuid
1220 }
1221 return nil
1222}
1223
amit.ghosh5d97dba2020-11-12 16:45:27 +01001224func (m *SetLogLevelResponse) GetStatus() Status {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001225 if m != nil {
1226 return m.Status
1227 }
1228 return Status_UNDEFINED_STATUS
1229}
1230
amit.ghoshae473032021-01-10 11:59:10 +01001231func (m *SetLogLevelResponse) GetReason() SetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001232 if m != nil {
1233 return m.Reason
1234 }
amit.ghoshae473032021-01-10 11:59:10 +01001235 return SetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001236}
1237
1238type GetLogLevelRequest struct {
1239 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1240 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1241 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1242 XXX_unrecognized []byte `json:"-"`
1243 XXX_sizecache int32 `json:"-"`
1244}
1245
1246func (m *GetLogLevelRequest) Reset() { *m = GetLogLevelRequest{} }
1247func (m *GetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1248func (*GetLogLevelRequest) ProtoMessage() {}
1249func (*GetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01001250 return fileDescriptor_eae902e73066286d, []int{18}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001251}
1252
1253func (m *GetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1254 return xxx_messageInfo_GetLogLevelRequest.Unmarshal(m, b)
1255}
1256func (m *GetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1257 return xxx_messageInfo_GetLogLevelRequest.Marshal(b, m, deterministic)
1258}
1259func (m *GetLogLevelRequest) XXX_Merge(src proto.Message) {
1260 xxx_messageInfo_GetLogLevelRequest.Merge(m, src)
1261}
1262func (m *GetLogLevelRequest) XXX_Size() int {
1263 return xxx_messageInfo_GetLogLevelRequest.Size(m)
1264}
1265func (m *GetLogLevelRequest) XXX_DiscardUnknown() {
1266 xxx_messageInfo_GetLogLevelRequest.DiscardUnknown(m)
1267}
1268
1269var xxx_messageInfo_GetLogLevelRequest proto.InternalMessageInfo
1270
1271func (m *GetLogLevelRequest) GetDeviceUuid() *Uuid {
1272 if m != nil {
1273 return m.DeviceUuid
1274 }
1275 return nil
1276}
1277
1278func (m *GetLogLevelRequest) GetEntities() []string {
1279 if m != nil {
1280 return m.Entities
1281 }
1282 return nil
1283}
1284
1285type GetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001286 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1287 LogLevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=logLevels,proto3" json:"logLevels,omitempty"`
1288 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1289 Reason GetLogLevelResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.GetLogLevelResponse_Reason" json:"reason,omitempty"`
1290 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1291 XXX_unrecognized []byte `json:"-"`
1292 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001293}
1294
1295func (m *GetLogLevelResponse) Reset() { *m = GetLogLevelResponse{} }
1296func (m *GetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1297func (*GetLogLevelResponse) ProtoMessage() {}
1298func (*GetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01001299 return fileDescriptor_eae902e73066286d, []int{19}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001300}
1301
1302func (m *GetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1303 return xxx_messageInfo_GetLogLevelResponse.Unmarshal(m, b)
1304}
1305func (m *GetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1306 return xxx_messageInfo_GetLogLevelResponse.Marshal(b, m, deterministic)
1307}
1308func (m *GetLogLevelResponse) XXX_Merge(src proto.Message) {
1309 xxx_messageInfo_GetLogLevelResponse.Merge(m, src)
1310}
1311func (m *GetLogLevelResponse) XXX_Size() int {
1312 return xxx_messageInfo_GetLogLevelResponse.Size(m)
1313}
1314func (m *GetLogLevelResponse) XXX_DiscardUnknown() {
1315 xxx_messageInfo_GetLogLevelResponse.DiscardUnknown(m)
1316}
1317
1318var xxx_messageInfo_GetLogLevelResponse proto.InternalMessageInfo
1319
1320func (m *GetLogLevelResponse) GetDeviceUuid() *Uuid {
1321 if m != nil {
1322 return m.DeviceUuid
1323 }
1324 return nil
1325}
1326
1327func (m *GetLogLevelResponse) GetLogLevels() []*EntitiesLogLevel {
1328 if m != nil {
1329 return m.LogLevels
1330 }
1331 return nil
1332}
1333
1334func (m *GetLogLevelResponse) GetStatus() Status {
1335 if m != nil {
1336 return m.Status
1337 }
1338 return Status_UNDEFINED_STATUS
1339}
1340
amit.ghoshae473032021-01-10 11:59:10 +01001341func (m *GetLogLevelResponse) GetReason() GetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001342 if m != nil {
1343 return m.Reason
1344 }
amit.ghoshae473032021-01-10 11:59:10 +01001345 return GetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001346}
1347
1348type GetLoggableEntitiesRequest struct {
1349 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1350 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1351 XXX_unrecognized []byte `json:"-"`
1352 XXX_sizecache int32 `json:"-"`
1353}
1354
1355func (m *GetLoggableEntitiesRequest) Reset() { *m = GetLoggableEntitiesRequest{} }
1356func (m *GetLoggableEntitiesRequest) String() string { return proto.CompactTextString(m) }
1357func (*GetLoggableEntitiesRequest) ProtoMessage() {}
1358func (*GetLoggableEntitiesRequest) Descriptor() ([]byte, []int) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01001359 return fileDescriptor_eae902e73066286d, []int{20}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001360}
1361
1362func (m *GetLoggableEntitiesRequest) XXX_Unmarshal(b []byte) error {
1363 return xxx_messageInfo_GetLoggableEntitiesRequest.Unmarshal(m, b)
1364}
1365func (m *GetLoggableEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1366 return xxx_messageInfo_GetLoggableEntitiesRequest.Marshal(b, m, deterministic)
1367}
1368func (m *GetLoggableEntitiesRequest) XXX_Merge(src proto.Message) {
1369 xxx_messageInfo_GetLoggableEntitiesRequest.Merge(m, src)
1370}
1371func (m *GetLoggableEntitiesRequest) XXX_Size() int {
1372 return xxx_messageInfo_GetLoggableEntitiesRequest.Size(m)
1373}
1374func (m *GetLoggableEntitiesRequest) XXX_DiscardUnknown() {
1375 xxx_messageInfo_GetLoggableEntitiesRequest.DiscardUnknown(m)
1376}
1377
1378var xxx_messageInfo_GetLoggableEntitiesRequest proto.InternalMessageInfo
1379
1380func (m *GetLoggableEntitiesRequest) GetDeviceUuid() *Uuid {
1381 if m != nil {
1382 return m.DeviceUuid
1383 }
1384 return nil
1385}
1386
Amit Ghosh09f28362020-06-12 21:52:19 +01001387func init() {
amit.ghoshae473032021-01-10 11:59:10 +01001388 proto.RegisterEnum("dmi.PhysicalInventoryResponse_Reason", PhysicalInventoryResponse_Reason_name, PhysicalInventoryResponse_Reason_value)
1389 proto.RegisterEnum("dmi.HWComponentInfoGetResponse_Reason", HWComponentInfoGetResponse_Reason_name, HWComponentInfoGetResponse_Reason_value)
1390 proto.RegisterEnum("dmi.HWComponentInfoSetResponse_Reason", HWComponentInfoSetResponse_Reason_name, HWComponentInfoSetResponse_Reason_value)
1391 proto.RegisterEnum("dmi.StartManagingDeviceResponse_Reason", StartManagingDeviceResponse_Reason_name, StartManagingDeviceResponse_Reason_value)
1392 proto.RegisterEnum("dmi.StopManagingDeviceResponse_Reason", StopManagingDeviceResponse_Reason_name, StopManagingDeviceResponse_Reason_value)
1393 proto.RegisterEnum("dmi.SetRemoteEndpointResponse_Reason", SetRemoteEndpointResponse_Reason_name, SetRemoteEndpointResponse_Reason_value)
1394 proto.RegisterEnum("dmi.GetLoggingEndpointResponse_Reason", GetLoggingEndpointResponse_Reason_name, GetLoggingEndpointResponse_Reason_value)
1395 proto.RegisterEnum("dmi.GetMsgBusEndpointResponse_Reason", GetMsgBusEndpointResponse_Reason_name, GetMsgBusEndpointResponse_Reason_value)
1396 proto.RegisterEnum("dmi.SetLogLevelResponse_Reason", SetLogLevelResponse_Reason_name, SetLogLevelResponse_Reason_value)
1397 proto.RegisterEnum("dmi.GetLogLevelResponse_Reason", GetLogLevelResponse_Reason_name, GetLogLevelResponse_Reason_value)
Amit Ghosh09f28362020-06-12 21:52:19 +01001398 proto.RegisterType((*PhysicalInventoryRequest)(nil), "dmi.PhysicalInventoryRequest")
1399 proto.RegisterType((*PhysicalInventoryResponse)(nil), "dmi.PhysicalInventoryResponse")
1400 proto.RegisterType((*HWComponentInfoGetRequest)(nil), "dmi.HWComponentInfoGetRequest")
aghoshc301dcd2020-09-03 16:55:34 +01001401 proto.RegisterType((*HWComponentInfoGetResponse)(nil), "dmi.HWComponentInfoGetResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001402 proto.RegisterType((*HWComponentInfoSetRequest)(nil), "dmi.HWComponentInfoSetRequest")
1403 proto.RegisterType((*HWComponentInfoSetResponse)(nil), "dmi.HWComponentInfoSetResponse")
1404 proto.RegisterType((*StartManagingDeviceResponse)(nil), "dmi.StartManagingDeviceResponse")
Amit Ghosh366228e2020-07-06 13:46:42 +01001405 proto.RegisterType((*StopManagingDeviceRequest)(nil), "dmi.StopManagingDeviceRequest")
1406 proto.RegisterType((*StopManagingDeviceResponse)(nil), "dmi.StopManagingDeviceResponse")
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001407 proto.RegisterType((*ManagedDevicesResponse)(nil), "dmi.ManagedDevicesResponse")
amit.ghosh188a84f2020-09-27 20:59:25 +02001408 proto.RegisterType((*SetLoggingEndpointRequest)(nil), "dmi.SetLoggingEndpointRequest")
1409 proto.RegisterType((*SetRemoteEndpointResponse)(nil), "dmi.SetRemoteEndpointResponse")
1410 proto.RegisterType((*GetLoggingEndpointResponse)(nil), "dmi.GetLoggingEndpointResponse")
1411 proto.RegisterType((*SetMsgBusEndpointRequest)(nil), "dmi.SetMsgBusEndpointRequest")
1412 proto.RegisterType((*GetMsgBusEndpointResponse)(nil), "dmi.GetMsgBusEndpointResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001413 proto.RegisterType((*EntitiesLogLevel)(nil), "dmi.EntitiesLogLevel")
1414 proto.RegisterType((*SetLogLevelRequest)(nil), "dmi.SetLogLevelRequest")
1415 proto.RegisterType((*SetLogLevelResponse)(nil), "dmi.SetLogLevelResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001416 proto.RegisterType((*GetLogLevelRequest)(nil), "dmi.GetLogLevelRequest")
1417 proto.RegisterType((*GetLogLevelResponse)(nil), "dmi.GetLogLevelResponse")
1418 proto.RegisterType((*GetLoggableEntitiesRequest)(nil), "dmi.GetLoggableEntitiesRequest")
Amit Ghosh09f28362020-06-12 21:52:19 +01001419}
1420
1421func init() { proto.RegisterFile("dmi/hw_management_service.proto", fileDescriptor_eae902e73066286d) }
1422
1423var fileDescriptor_eae902e73066286d = []byte{
amit.ghoshae473032021-01-10 11:59:10 +01001424 // 1298 bytes of a gzipped FileDescriptorProto
1425 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x5f, 0x6f, 0xdb, 0x54,
1426 0x14, 0xc7, 0x71, 0xe9, 0x96, 0x53, 0xd6, 0xa5, 0x77, 0x5b, 0x49, 0x3c, 0xad, 0x1d, 0x9e, 0xc6,
1427 0x36, 0x60, 0xc9, 0x94, 0x3d, 0x20, 0x84, 0xf8, 0x93, 0x35, 0xae, 0x6b, 0x2d, 0xb1, 0xa3, 0xeb,
1428 0x74, 0xd5, 0x10, 0x60, 0xb9, 0xf1, 0x6d, 0x6a, 0x29, 0xb6, 0xb3, 0xd8, 0xc9, 0xb4, 0x0f, 0xc0,
1429 0x2b, 0xdf, 0x00, 0x81, 0x10, 0xef, 0xbc, 0x80, 0xf8, 0x22, 0x3c, 0xf2, 0x31, 0x78, 0x07, 0xf9,
1430 0x5e, 0x3b, 0x7f, 0x1c, 0x3b, 0x69, 0x9b, 0x4a, 0xf0, 0x16, 0xfb, 0x9e, 0xfb, 0xf3, 0x39, 0xe7,
1431 0x77, 0xee, 0xef, 0x9e, 0x13, 0xd8, 0xb5, 0x1c, 0xbb, 0x72, 0xfa, 0xda, 0x70, 0x4c, 0xd7, 0xec,
1432 0x12, 0x87, 0xb8, 0x81, 0xe1, 0x93, 0xc1, 0xc8, 0xee, 0x90, 0x72, 0x7f, 0xe0, 0x05, 0x1e, 0xe2,
1433 0x2d, 0xc7, 0x16, 0xb6, 0x42, 0xab, 0x8e, 0xe7, 0x38, 0x9e, 0xeb, 0xb3, 0xf7, 0xc2, 0x3b, 0x6c,
1434 0x63, 0xf4, 0x74, 0xbb, 0xeb, 0x79, 0xdd, 0x1e, 0xa9, 0xd0, 0xa7, 0xe3, 0xe1, 0x49, 0x85, 0x38,
1435 0xfd, 0xe0, 0x0d, 0x5b, 0x14, 0xf7, 0xa1, 0xd8, 0x3a, 0x7d, 0xe3, 0xdb, 0x1d, 0xb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 0x27, 0x5d, 0x3b, 0x38, 0x1d, 0x1e, 0x97, 0x3b, 0x9e, 0x53,
1503 0xf1, 0xfa, 0xc4, 0xed, 0x78, 0x03, 0xab, 0xc2, 0x34, 0xe5, 0xf1, 0xe4, 0xdf, 0xb9, 0xc7, 0xb6,
1504 0x1b, 0x90, 0xc1, 0x89, 0xd9, 0x21, 0x95, 0xd1, 0xd3, 0x4a, 0xd7, 0xab, 0x58, 0x8e, 0x7d, 0xbc,
1505 0x4e, 0x53, 0xf8, 0xf4, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd9, 0x06, 0x92, 0xce, 0xcd, 0x13,
1506 0x00, 0x00,
Amit Ghosh09f28362020-06-12 21:52:19 +01001507}
1508
1509// Reference imports to suppress errors if they are not otherwise used.
1510var _ context.Context
1511var _ grpc.ClientConn
1512
1513// This is a compile-time assertion to ensure that this generated file
1514// is compatible with the grpc package it is being compiled against.
1515const _ = grpc.SupportPackageIsVersion4
1516
1517// NativeHWManagementServiceClient is the client API for NativeHWManagementService service.
1518//
1519// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1520type NativeHWManagementServiceClient interface {
1521 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001522 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1523 // and their meanings in this context is mentioned below:
1524 // name = The unique name that needs to be assigned to this hardware;
1525 // class = COMPONENT_TYPE_UNDEFINED;
1526 // parent = nil;
1527 // alias = Optional;
1528 // asset_id = Optional;
1529 // uri = IP Address of the Hardware;
1530 StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error)
Amit Ghosh366228e2020-07-06 13:46:42 +01001531 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001532 // This rpc can be called at any time, even before the StartManagingDevice operation
1533 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001534 StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001535 // Returns an object containing a list of devices managed by this entity
1536 GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001537 // Get the HW inventory details of the Device
1538 GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error)
1539 // Get the details of a particular HW component
1540 GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error)
1541 // Sets the permissible attributes of a HW component
1542 SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001543 // Sets the location to which logs need to be shipped
1544 SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1545 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001546 GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001547 // Sets the location of the Message Bus to which events and metrics are shipped
1548 SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1549 // Gets the configured location to which the events and metrics are being shipped
1550 GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001551 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1552 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1553 // interface, package etc.
1554 GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01001555 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001556 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
1557 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
1558 SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
1559 // Gets the configured log level for a certain entity on a certain device.
1560 // If no entity is specified in the request all the entities with their log level should be returned.
1561 GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001562}
1563
1564type nativeHWManagementServiceClient struct {
1565 cc *grpc.ClientConn
1566}
1567
1568func NewNativeHWManagementServiceClient(cc *grpc.ClientConn) NativeHWManagementServiceClient {
1569 return &nativeHWManagementServiceClient{cc}
1570}
1571
Amit Ghosh704462f2020-06-24 16:44:56 +01001572func (c *nativeHWManagementServiceClient) StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error) {
Amit Ghosh09f28362020-06-12 21:52:19 +01001573 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[0], "/dmi.NativeHWManagementService/StartManagingDevice", opts...)
1574 if err != nil {
1575 return nil, err
1576 }
1577 x := &nativeHWManagementServiceStartManagingDeviceClient{stream}
1578 if err := x.ClientStream.SendMsg(in); err != nil {
1579 return nil, err
1580 }
1581 if err := x.ClientStream.CloseSend(); err != nil {
1582 return nil, err
1583 }
1584 return x, nil
1585}
1586
1587type NativeHWManagementService_StartManagingDeviceClient interface {
1588 Recv() (*StartManagingDeviceResponse, error)
1589 grpc.ClientStream
1590}
1591
1592type nativeHWManagementServiceStartManagingDeviceClient struct {
1593 grpc.ClientStream
1594}
1595
1596func (x *nativeHWManagementServiceStartManagingDeviceClient) Recv() (*StartManagingDeviceResponse, error) {
1597 m := new(StartManagingDeviceResponse)
1598 if err := x.ClientStream.RecvMsg(m); err != nil {
1599 return nil, err
1600 }
1601 return m, nil
1602}
1603
Amit Ghosh366228e2020-07-06 13:46:42 +01001604func (c *nativeHWManagementServiceClient) StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) {
1605 out := new(StopManagingDeviceResponse)
1606 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/StopManagingDevice", in, out, opts...)
1607 if err != nil {
1608 return nil, err
1609 }
1610 return out, nil
1611}
1612
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001613func (c *nativeHWManagementServiceClient) GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) {
1614 out := new(ManagedDevicesResponse)
1615 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetManagedDevices", in, out, opts...)
1616 if err != nil {
1617 return nil, err
1618 }
1619 return out, nil
1620}
1621
Amit Ghosh09f28362020-06-12 21:52:19 +01001622func (c *nativeHWManagementServiceClient) GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) {
1623 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[1], "/dmi.NativeHWManagementService/GetPhysicalInventory", opts...)
1624 if err != nil {
1625 return nil, err
1626 }
1627 x := &nativeHWManagementServiceGetPhysicalInventoryClient{stream}
1628 if err := x.ClientStream.SendMsg(in); err != nil {
1629 return nil, err
1630 }
1631 if err := x.ClientStream.CloseSend(); err != nil {
1632 return nil, err
1633 }
1634 return x, nil
1635}
1636
1637type NativeHWManagementService_GetPhysicalInventoryClient interface {
1638 Recv() (*PhysicalInventoryResponse, error)
1639 grpc.ClientStream
1640}
1641
1642type nativeHWManagementServiceGetPhysicalInventoryClient struct {
1643 grpc.ClientStream
1644}
1645
1646func (x *nativeHWManagementServiceGetPhysicalInventoryClient) Recv() (*PhysicalInventoryResponse, error) {
1647 m := new(PhysicalInventoryResponse)
1648 if err := x.ClientStream.RecvMsg(m); err != nil {
1649 return nil, err
1650 }
1651 return m, nil
1652}
1653
1654func (c *nativeHWManagementServiceClient) GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) {
1655 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[2], "/dmi.NativeHWManagementService/GetHWComponentInfo", opts...)
1656 if err != nil {
1657 return nil, err
1658 }
1659 x := &nativeHWManagementServiceGetHWComponentInfoClient{stream}
1660 if err := x.ClientStream.SendMsg(in); err != nil {
1661 return nil, err
1662 }
1663 if err := x.ClientStream.CloseSend(); err != nil {
1664 return nil, err
1665 }
1666 return x, nil
1667}
1668
1669type NativeHWManagementService_GetHWComponentInfoClient interface {
aghoshc301dcd2020-09-03 16:55:34 +01001670 Recv() (*HWComponentInfoGetResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001671 grpc.ClientStream
1672}
1673
1674type nativeHWManagementServiceGetHWComponentInfoClient struct {
1675 grpc.ClientStream
1676}
1677
aghoshc301dcd2020-09-03 16:55:34 +01001678func (x *nativeHWManagementServiceGetHWComponentInfoClient) Recv() (*HWComponentInfoGetResponse, error) {
1679 m := new(HWComponentInfoGetResponse)
Amit Ghosh09f28362020-06-12 21:52:19 +01001680 if err := x.ClientStream.RecvMsg(m); err != nil {
1681 return nil, err
1682 }
1683 return m, nil
1684}
1685
1686func (c *nativeHWManagementServiceClient) SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) {
1687 out := new(HWComponentInfoSetResponse)
1688 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetHWComponentInfo", in, out, opts...)
1689 if err != nil {
1690 return nil, err
1691 }
1692 return out, nil
1693}
1694
amit.ghosh188a84f2020-09-27 20:59:25 +02001695func (c *nativeHWManagementServiceClient) SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
1696 out := new(SetRemoteEndpointResponse)
1697 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLoggingEndpoint", in, out, opts...)
1698 if err != nil {
1699 return nil, err
1700 }
1701 return out, nil
1702}
1703
amit.ghosh5d97dba2020-11-12 16:45:27 +01001704func (c *nativeHWManagementServiceClient) GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error) {
amit.ghosh188a84f2020-09-27 20:59:25 +02001705 out := new(GetLoggingEndpointResponse)
1706 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggingEndpoint", in, out, opts...)
1707 if err != nil {
1708 return nil, err
1709 }
1710 return out, nil
1711}
1712
1713func (c *nativeHWManagementServiceClient) SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
1714 out := new(SetRemoteEndpointResponse)
1715 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetMsgBusEndpoint", in, out, opts...)
1716 if err != nil {
1717 return nil, err
1718 }
1719 return out, nil
1720}
1721
1722func (c *nativeHWManagementServiceClient) GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) {
1723 out := new(GetMsgBusEndpointResponse)
1724 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetMsgBusEndpoint", in, out, opts...)
1725 if err != nil {
1726 return nil, err
1727 }
1728 return out, nil
1729}
1730
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001731func (c *nativeHWManagementServiceClient) GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
1732 out := new(GetLogLevelResponse)
1733 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggableEntities", in, out, opts...)
1734 if err != nil {
1735 return nil, err
1736 }
1737 return out, nil
1738}
1739
1740func (c *nativeHWManagementServiceClient) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) {
1741 out := new(SetLogLevelResponse)
1742 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLogLevel", in, out, opts...)
1743 if err != nil {
1744 return nil, err
1745 }
1746 return out, nil
1747}
1748
1749func (c *nativeHWManagementServiceClient) GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
1750 out := new(GetLogLevelResponse)
1751 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLogLevel", in, out, opts...)
1752 if err != nil {
1753 return nil, err
1754 }
1755 return out, nil
1756}
1757
Amit Ghosh09f28362020-06-12 21:52:19 +01001758// NativeHWManagementServiceServer is the server API for NativeHWManagementService service.
1759type NativeHWManagementServiceServer interface {
1760 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001761 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1762 // and their meanings in this context is mentioned below:
1763 // name = The unique name that needs to be assigned to this hardware;
1764 // class = COMPONENT_TYPE_UNDEFINED;
1765 // parent = nil;
1766 // alias = Optional;
1767 // asset_id = Optional;
1768 // uri = IP Address of the Hardware;
1769 StartManagingDevice(*ModifiableComponent, NativeHWManagementService_StartManagingDeviceServer) error
Amit Ghosh366228e2020-07-06 13:46:42 +01001770 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001771 // This rpc can be called at any time, even before the StartManagingDevice operation
1772 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001773 StopManagingDevice(context.Context, *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001774 // Returns an object containing a list of devices managed by this entity
1775 GetManagedDevices(context.Context, *empty.Empty) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001776 // Get the HW inventory details of the Device
1777 GetPhysicalInventory(*PhysicalInventoryRequest, NativeHWManagementService_GetPhysicalInventoryServer) error
1778 // Get the details of a particular HW component
1779 GetHWComponentInfo(*HWComponentInfoGetRequest, NativeHWManagementService_GetHWComponentInfoServer) error
1780 // Sets the permissible attributes of a HW component
1781 SetHWComponentInfo(context.Context, *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001782 // Sets the location to which logs need to be shipped
1783 SetLoggingEndpoint(context.Context, *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error)
1784 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001785 GetLoggingEndpoint(context.Context, *HardwareID) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001786 // Sets the location of the Message Bus to which events and metrics are shipped
1787 SetMsgBusEndpoint(context.Context, *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error)
1788 // Gets the configured location to which the events and metrics are being shipped
1789 GetMsgBusEndpoint(context.Context, *empty.Empty) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001790 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1791 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1792 // interface, package etc.
1793 GetLoggableEntities(context.Context, *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01001794 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001795 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
1796 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
1797 SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
1798 // Gets the configured log level for a certain entity on a certain device.
1799 // If no entity is specified in the request all the entities with their log level should be returned.
1800 GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001801}
1802
1803func RegisterNativeHWManagementServiceServer(s *grpc.Server, srv NativeHWManagementServiceServer) {
1804 s.RegisterService(&_NativeHWManagementService_serviceDesc, srv)
1805}
1806
1807func _NativeHWManagementService_StartManagingDevice_Handler(srv interface{}, stream grpc.ServerStream) error {
Amit Ghosh704462f2020-06-24 16:44:56 +01001808 m := new(ModifiableComponent)
Amit Ghosh09f28362020-06-12 21:52:19 +01001809 if err := stream.RecvMsg(m); err != nil {
1810 return err
1811 }
1812 return srv.(NativeHWManagementServiceServer).StartManagingDevice(m, &nativeHWManagementServiceStartManagingDeviceServer{stream})
1813}
1814
1815type NativeHWManagementService_StartManagingDeviceServer interface {
1816 Send(*StartManagingDeviceResponse) error
1817 grpc.ServerStream
1818}
1819
1820type nativeHWManagementServiceStartManagingDeviceServer struct {
1821 grpc.ServerStream
1822}
1823
1824func (x *nativeHWManagementServiceStartManagingDeviceServer) Send(m *StartManagingDeviceResponse) error {
1825 return x.ServerStream.SendMsg(m)
1826}
1827
Amit Ghosh366228e2020-07-06 13:46:42 +01001828func _NativeHWManagementService_StopManagingDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1829 in := new(StopManagingDeviceRequest)
1830 if err := dec(in); err != nil {
1831 return nil, err
1832 }
1833 if interceptor == nil {
1834 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, in)
1835 }
1836 info := &grpc.UnaryServerInfo{
1837 Server: srv,
1838 FullMethod: "/dmi.NativeHWManagementService/StopManagingDevice",
1839 }
1840 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1841 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, req.(*StopManagingDeviceRequest))
1842 }
1843 return interceptor(ctx, in, info, handler)
1844}
1845
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001846func _NativeHWManagementService_GetManagedDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1847 in := new(empty.Empty)
1848 if err := dec(in); err != nil {
1849 return nil, err
1850 }
1851 if interceptor == nil {
1852 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, in)
1853 }
1854 info := &grpc.UnaryServerInfo{
1855 Server: srv,
1856 FullMethod: "/dmi.NativeHWManagementService/GetManagedDevices",
1857 }
1858 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1859 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, req.(*empty.Empty))
1860 }
1861 return interceptor(ctx, in, info, handler)
1862}
1863
Amit Ghosh09f28362020-06-12 21:52:19 +01001864func _NativeHWManagementService_GetPhysicalInventory_Handler(srv interface{}, stream grpc.ServerStream) error {
1865 m := new(PhysicalInventoryRequest)
1866 if err := stream.RecvMsg(m); err != nil {
1867 return err
1868 }
1869 return srv.(NativeHWManagementServiceServer).GetPhysicalInventory(m, &nativeHWManagementServiceGetPhysicalInventoryServer{stream})
1870}
1871
1872type NativeHWManagementService_GetPhysicalInventoryServer interface {
1873 Send(*PhysicalInventoryResponse) error
1874 grpc.ServerStream
1875}
1876
1877type nativeHWManagementServiceGetPhysicalInventoryServer struct {
1878 grpc.ServerStream
1879}
1880
1881func (x *nativeHWManagementServiceGetPhysicalInventoryServer) Send(m *PhysicalInventoryResponse) error {
1882 return x.ServerStream.SendMsg(m)
1883}
1884
1885func _NativeHWManagementService_GetHWComponentInfo_Handler(srv interface{}, stream grpc.ServerStream) error {
1886 m := new(HWComponentInfoGetRequest)
1887 if err := stream.RecvMsg(m); err != nil {
1888 return err
1889 }
1890 return srv.(NativeHWManagementServiceServer).GetHWComponentInfo(m, &nativeHWManagementServiceGetHWComponentInfoServer{stream})
1891}
1892
1893type NativeHWManagementService_GetHWComponentInfoServer interface {
aghoshc301dcd2020-09-03 16:55:34 +01001894 Send(*HWComponentInfoGetResponse) error
Amit Ghosh09f28362020-06-12 21:52:19 +01001895 grpc.ServerStream
1896}
1897
1898type nativeHWManagementServiceGetHWComponentInfoServer struct {
1899 grpc.ServerStream
1900}
1901
aghoshc301dcd2020-09-03 16:55:34 +01001902func (x *nativeHWManagementServiceGetHWComponentInfoServer) Send(m *HWComponentInfoGetResponse) error {
Amit Ghosh09f28362020-06-12 21:52:19 +01001903 return x.ServerStream.SendMsg(m)
1904}
1905
1906func _NativeHWManagementService_SetHWComponentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1907 in := new(HWComponentInfoSetRequest)
1908 if err := dec(in); err != nil {
1909 return nil, err
1910 }
1911 if interceptor == nil {
1912 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, in)
1913 }
1914 info := &grpc.UnaryServerInfo{
1915 Server: srv,
1916 FullMethod: "/dmi.NativeHWManagementService/SetHWComponentInfo",
1917 }
1918 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1919 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, req.(*HWComponentInfoSetRequest))
1920 }
1921 return interceptor(ctx, in, info, handler)
1922}
1923
amit.ghosh188a84f2020-09-27 20:59:25 +02001924func _NativeHWManagementService_SetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1925 in := new(SetLoggingEndpointRequest)
1926 if err := dec(in); err != nil {
1927 return nil, err
1928 }
1929 if interceptor == nil {
1930 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, in)
1931 }
1932 info := &grpc.UnaryServerInfo{
1933 Server: srv,
1934 FullMethod: "/dmi.NativeHWManagementService/SetLoggingEndpoint",
1935 }
1936 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1937 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, req.(*SetLoggingEndpointRequest))
1938 }
1939 return interceptor(ctx, in, info, handler)
1940}
1941
1942func _NativeHWManagementService_GetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01001943 in := new(HardwareID)
amit.ghosh188a84f2020-09-27 20:59:25 +02001944 if err := dec(in); err != nil {
1945 return nil, err
1946 }
1947 if interceptor == nil {
1948 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, in)
1949 }
1950 info := &grpc.UnaryServerInfo{
1951 Server: srv,
1952 FullMethod: "/dmi.NativeHWManagementService/GetLoggingEndpoint",
1953 }
1954 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01001955 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, req.(*HardwareID))
amit.ghosh188a84f2020-09-27 20:59:25 +02001956 }
1957 return interceptor(ctx, in, info, handler)
1958}
1959
1960func _NativeHWManagementService_SetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1961 in := new(SetMsgBusEndpointRequest)
1962 if err := dec(in); err != nil {
1963 return nil, err
1964 }
1965 if interceptor == nil {
1966 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, in)
1967 }
1968 info := &grpc.UnaryServerInfo{
1969 Server: srv,
1970 FullMethod: "/dmi.NativeHWManagementService/SetMsgBusEndpoint",
1971 }
1972 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1973 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, req.(*SetMsgBusEndpointRequest))
1974 }
1975 return interceptor(ctx, in, info, handler)
1976}
1977
1978func _NativeHWManagementService_GetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1979 in := new(empty.Empty)
1980 if err := dec(in); err != nil {
1981 return nil, err
1982 }
1983 if interceptor == nil {
1984 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, in)
1985 }
1986 info := &grpc.UnaryServerInfo{
1987 Server: srv,
1988 FullMethod: "/dmi.NativeHWManagementService/GetMsgBusEndpoint",
1989 }
1990 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1991 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, req.(*empty.Empty))
1992 }
1993 return interceptor(ctx, in, info, handler)
1994}
1995
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001996func _NativeHWManagementService_GetLoggableEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1997 in := new(GetLoggableEntitiesRequest)
1998 if err := dec(in); err != nil {
1999 return nil, err
2000 }
2001 if interceptor == nil {
2002 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, in)
2003 }
2004 info := &grpc.UnaryServerInfo{
2005 Server: srv,
2006 FullMethod: "/dmi.NativeHWManagementService/GetLoggableEntities",
2007 }
2008 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2009 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, req.(*GetLoggableEntitiesRequest))
2010 }
2011 return interceptor(ctx, in, info, handler)
2012}
2013
2014func _NativeHWManagementService_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2015 in := new(SetLogLevelRequest)
2016 if err := dec(in); err != nil {
2017 return nil, err
2018 }
2019 if interceptor == nil {
2020 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, in)
2021 }
2022 info := &grpc.UnaryServerInfo{
2023 Server: srv,
2024 FullMethod: "/dmi.NativeHWManagementService/SetLogLevel",
2025 }
2026 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2027 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, req.(*SetLogLevelRequest))
2028 }
2029 return interceptor(ctx, in, info, handler)
2030}
2031
2032func _NativeHWManagementService_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2033 in := new(GetLogLevelRequest)
2034 if err := dec(in); err != nil {
2035 return nil, err
2036 }
2037 if interceptor == nil {
2038 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, in)
2039 }
2040 info := &grpc.UnaryServerInfo{
2041 Server: srv,
2042 FullMethod: "/dmi.NativeHWManagementService/GetLogLevel",
2043 }
2044 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2045 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, req.(*GetLogLevelRequest))
2046 }
2047 return interceptor(ctx, in, info, handler)
2048}
2049
Amit Ghosh09f28362020-06-12 21:52:19 +01002050var _NativeHWManagementService_serviceDesc = grpc.ServiceDesc{
2051 ServiceName: "dmi.NativeHWManagementService",
2052 HandlerType: (*NativeHWManagementServiceServer)(nil),
2053 Methods: []grpc.MethodDesc{
2054 {
Amit Ghosh366228e2020-07-06 13:46:42 +01002055 MethodName: "StopManagingDevice",
2056 Handler: _NativeHWManagementService_StopManagingDevice_Handler,
2057 },
2058 {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002059 MethodName: "GetManagedDevices",
2060 Handler: _NativeHWManagementService_GetManagedDevices_Handler,
2061 },
2062 {
Amit Ghosh09f28362020-06-12 21:52:19 +01002063 MethodName: "SetHWComponentInfo",
2064 Handler: _NativeHWManagementService_SetHWComponentInfo_Handler,
2065 },
amit.ghosh188a84f2020-09-27 20:59:25 +02002066 {
2067 MethodName: "SetLoggingEndpoint",
2068 Handler: _NativeHWManagementService_SetLoggingEndpoint_Handler,
2069 },
2070 {
2071 MethodName: "GetLoggingEndpoint",
2072 Handler: _NativeHWManagementService_GetLoggingEndpoint_Handler,
2073 },
2074 {
2075 MethodName: "SetMsgBusEndpoint",
2076 Handler: _NativeHWManagementService_SetMsgBusEndpoint_Handler,
2077 },
2078 {
2079 MethodName: "GetMsgBusEndpoint",
2080 Handler: _NativeHWManagementService_GetMsgBusEndpoint_Handler,
2081 },
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002082 {
2083 MethodName: "GetLoggableEntities",
2084 Handler: _NativeHWManagementService_GetLoggableEntities_Handler,
2085 },
2086 {
2087 MethodName: "SetLogLevel",
2088 Handler: _NativeHWManagementService_SetLogLevel_Handler,
2089 },
2090 {
2091 MethodName: "GetLogLevel",
2092 Handler: _NativeHWManagementService_GetLogLevel_Handler,
2093 },
Amit Ghosh09f28362020-06-12 21:52:19 +01002094 },
2095 Streams: []grpc.StreamDesc{
2096 {
2097 StreamName: "StartManagingDevice",
2098 Handler: _NativeHWManagementService_StartManagingDevice_Handler,
2099 ServerStreams: true,
2100 },
2101 {
2102 StreamName: "GetPhysicalInventory",
2103 Handler: _NativeHWManagementService_GetPhysicalInventory_Handler,
2104 ServerStreams: true,
2105 },
2106 {
2107 StreamName: "GetHWComponentInfo",
2108 Handler: _NativeHWManagementService_GetHWComponentInfo_Handler,
2109 ServerStreams: true,
2110 },
2111 },
2112 Metadata: "dmi/hw_management_service.proto",
2113}