blob: f7ee7291cab3f77322142dc863ce81549f988bfe [file] [log] [blame]
Amit Ghosh09f28362020-06-12 21:52:19 +01001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: dmi/hw_management_service.proto
3
4package dmi
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
Andrea Campanellacb990bc2020-09-22 12:50:56 +020010 empty "github.com/golang/protobuf/ptypes/empty"
Amit Ghosh09f28362020-06-12 21:52:19 +010011 grpc "google.golang.org/grpc"
Andrea Campanellac795b7d2021-04-14 13:24:44 +020012 codes "google.golang.org/grpc/codes"
13 status "google.golang.org/grpc/status"
Amit Ghosh09f28362020-06-12 21:52:19 +010014 math "math"
15)
16
17// Reference imports to suppress errors if they are not otherwise used.
18var _ = proto.Marshal
19var _ = fmt.Errorf
20var _ = math.Inf
21
22// This is a compile-time assertion to ensure that this generated file
23// is compatible with the proto package it is being compiled against.
24// A compilation error at this line likely means your copy of the
25// proto package needs to be updated.
26const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
27
amit.ghoshae473032021-01-10 11:59:10 +010028type PhysicalInventoryResponse_Reason int32
29
30const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010031 PhysicalInventoryResponse_UNDEFINED_REASON PhysicalInventoryResponse_Reason = 0
32 PhysicalInventoryResponse_UNKNOWN_DEVICE PhysicalInventoryResponse_Reason = 1
33 PhysicalInventoryResponse_INTERNAL_ERROR PhysicalInventoryResponse_Reason = 2
34 PhysicalInventoryResponse_DEVICE_UNREACHABLE PhysicalInventoryResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +010035)
36
37var PhysicalInventoryResponse_Reason_name = map[int32]string{
38 0: "UNDEFINED_REASON",
39 1: "UNKNOWN_DEVICE",
40 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +010041 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +010042}
43
44var PhysicalInventoryResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +010045 "UNDEFINED_REASON": 0,
46 "UNKNOWN_DEVICE": 1,
47 "INTERNAL_ERROR": 2,
48 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +010049}
50
51func (x PhysicalInventoryResponse_Reason) String() string {
52 return proto.EnumName(PhysicalInventoryResponse_Reason_name, int32(x))
53}
54
55func (PhysicalInventoryResponse_Reason) EnumDescriptor() ([]byte, []int) {
56 return fileDescriptor_eae902e73066286d, []int{1, 0}
57}
58
59type HWComponentInfoGetResponse_Reason int32
60
61const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010062 HWComponentInfoGetResponse_UNDEFINED_REASON HWComponentInfoGetResponse_Reason = 0
63 HWComponentInfoGetResponse_UNKNOWN_DEVICE HWComponentInfoGetResponse_Reason = 1
64 HWComponentInfoGetResponse_UNKNOWN_COMPONENT HWComponentInfoGetResponse_Reason = 2
65 HWComponentInfoGetResponse_INTERNAL_ERROR HWComponentInfoGetResponse_Reason = 3
66 HWComponentInfoGetResponse_DEVICE_UNREACHABLE HWComponentInfoGetResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +010067)
68
69var HWComponentInfoGetResponse_Reason_name = map[int32]string{
70 0: "UNDEFINED_REASON",
71 1: "UNKNOWN_DEVICE",
72 2: "UNKNOWN_COMPONENT",
73 3: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +010074 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +010075}
76
77var HWComponentInfoGetResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +010078 "UNDEFINED_REASON": 0,
79 "UNKNOWN_DEVICE": 1,
80 "UNKNOWN_COMPONENT": 2,
81 "INTERNAL_ERROR": 3,
82 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +010083}
84
85func (x HWComponentInfoGetResponse_Reason) String() string {
86 return proto.EnumName(HWComponentInfoGetResponse_Reason_name, int32(x))
87}
88
89func (HWComponentInfoGetResponse_Reason) EnumDescriptor() ([]byte, []int) {
90 return fileDescriptor_eae902e73066286d, []int{3, 0}
91}
92
93type HWComponentInfoSetResponse_Reason int32
94
95const (
amit.ghoshbd2022e2021-02-22 05:58:53 +010096 HWComponentInfoSetResponse_UNDEFINED_REASON HWComponentInfoSetResponse_Reason = 0
97 HWComponentInfoSetResponse_UNKNOWN_DEVICE HWComponentInfoSetResponse_Reason = 1
98 HWComponentInfoSetResponse_UNKNOWN_COMPONENT HWComponentInfoSetResponse_Reason = 2
99 HWComponentInfoSetResponse_INVALID_PARAMS HWComponentInfoSetResponse_Reason = 3
100 HWComponentInfoSetResponse_INTERNAL_ERROR HWComponentInfoSetResponse_Reason = 4
101 HWComponentInfoSetResponse_DEVICE_UNREACHABLE HWComponentInfoSetResponse_Reason = 5
amit.ghoshae473032021-01-10 11:59:10 +0100102)
103
104var HWComponentInfoSetResponse_Reason_name = map[int32]string{
105 0: "UNDEFINED_REASON",
106 1: "UNKNOWN_DEVICE",
107 2: "UNKNOWN_COMPONENT",
108 3: "INVALID_PARAMS",
109 4: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100110 5: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100111}
112
113var HWComponentInfoSetResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100114 "UNDEFINED_REASON": 0,
115 "UNKNOWN_DEVICE": 1,
116 "UNKNOWN_COMPONENT": 2,
117 "INVALID_PARAMS": 3,
118 "INTERNAL_ERROR": 4,
119 "DEVICE_UNREACHABLE": 5,
amit.ghoshae473032021-01-10 11:59:10 +0100120}
121
122func (x HWComponentInfoSetResponse_Reason) String() string {
123 return proto.EnumName(HWComponentInfoSetResponse_Reason_name, int32(x))
124}
125
126func (HWComponentInfoSetResponse_Reason) EnumDescriptor() ([]byte, []int) {
127 return fileDescriptor_eae902e73066286d, []int{5, 0}
128}
129
130type StartManagingDeviceResponse_Reason int32
131
132const (
133 StartManagingDeviceResponse_UNDEFINED_REASON StartManagingDeviceResponse_Reason = 0
134 // DEVICE_ALREADY_MANAGED is returned when StartManagingDevice is called again for the same name AFTER a previously
135 // successful StartManagingDevice operation
136 StartManagingDeviceResponse_DEVICE_ALREADY_MANAGED StartManagingDeviceResponse_Reason = 1
137 // OPERATION_ALREADY_IN_PROGRESS is returned when StartManagingDevice is called again for the same name BEFORE
138 // a previous StartManagingDevice operation has completed
139 StartManagingDeviceResponse_OPERATION_ALREADY_IN_PROGRESS StartManagingDeviceResponse_Reason = 2
140 StartManagingDeviceResponse_INVALID_PARAMS StartManagingDeviceResponse_Reason = 3
141 StartManagingDeviceResponse_INTERNAL_ERROR StartManagingDeviceResponse_Reason = 4
142)
143
144var StartManagingDeviceResponse_Reason_name = map[int32]string{
145 0: "UNDEFINED_REASON",
146 1: "DEVICE_ALREADY_MANAGED",
147 2: "OPERATION_ALREADY_IN_PROGRESS",
148 3: "INVALID_PARAMS",
149 4: "INTERNAL_ERROR",
150}
151
152var StartManagingDeviceResponse_Reason_value = map[string]int32{
153 "UNDEFINED_REASON": 0,
154 "DEVICE_ALREADY_MANAGED": 1,
155 "OPERATION_ALREADY_IN_PROGRESS": 2,
156 "INVALID_PARAMS": 3,
157 "INTERNAL_ERROR": 4,
158}
159
160func (x StartManagingDeviceResponse_Reason) String() string {
161 return proto.EnumName(StartManagingDeviceResponse_Reason_name, int32(x))
162}
163
164func (StartManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
165 return fileDescriptor_eae902e73066286d, []int{6, 0}
166}
167
168// The only case in which an error is expected is if the name of the
169// device to be stopped is not found
170type StopManagingDeviceResponse_Reason int32
171
172const (
173 StopManagingDeviceResponse_UNDEFINED_REASON StopManagingDeviceResponse_Reason = 0
174 StopManagingDeviceResponse_UNKNOWN_DEVICE StopManagingDeviceResponse_Reason = 1
175)
176
177var StopManagingDeviceResponse_Reason_name = map[int32]string{
178 0: "UNDEFINED_REASON",
179 1: "UNKNOWN_DEVICE",
180}
181
182var StopManagingDeviceResponse_Reason_value = map[string]int32{
183 "UNDEFINED_REASON": 0,
184 "UNKNOWN_DEVICE": 1,
185}
186
187func (x StopManagingDeviceResponse_Reason) String() string {
188 return proto.EnumName(StopManagingDeviceResponse_Reason_name, int32(x))
189}
190
191func (StopManagingDeviceResponse_Reason) EnumDescriptor() ([]byte, []int) {
192 return fileDescriptor_eae902e73066286d, []int{8, 0}
193}
194
amit.ghosh0c687412021-03-24 19:01:08 +0100195type ManagedDevicesResponse_Reason int32
196
197const (
198 ManagedDevicesResponse_UNDEFINED_REASON ManagedDevicesResponse_Reason = 0
199 ManagedDevicesResponse_INTERNAL_ERROR ManagedDevicesResponse_Reason = 1
200)
201
202var ManagedDevicesResponse_Reason_name = map[int32]string{
203 0: "UNDEFINED_REASON",
204 1: "INTERNAL_ERROR",
205}
206
207var ManagedDevicesResponse_Reason_value = map[string]int32{
208 "UNDEFINED_REASON": 0,
209 "INTERNAL_ERROR": 1,
210}
211
212func (x ManagedDevicesResponse_Reason) String() string {
213 return proto.EnumName(ManagedDevicesResponse_Reason_name, int32(x))
214}
215
216func (ManagedDevicesResponse_Reason) EnumDescriptor() ([]byte, []int) {
217 return fileDescriptor_eae902e73066286d, []int{10, 0}
218}
219
amit.ghoshae473032021-01-10 11:59:10 +0100220type SetRemoteEndpointResponse_Reason int32
221
222const (
223 SetRemoteEndpointResponse_UNDEFINED_REASON SetRemoteEndpointResponse_Reason = 0
224 SetRemoteEndpointResponse_UNKNOWN_DEVICE SetRemoteEndpointResponse_Reason = 1
225 SetRemoteEndpointResponse_INTERNAL_ERROR SetRemoteEndpointResponse_Reason = 2
226 SetRemoteEndpointResponse_LOGGING_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 3
227 SetRemoteEndpointResponse_LOGGING_ENDPOINT_PROTOCOL_ERROR SetRemoteEndpointResponse_Reason = 4
228 SetRemoteEndpointResponse_MSGBUS_ENDPOINT_ERROR SetRemoteEndpointResponse_Reason = 5
amit.ghoshbd2022e2021-02-22 05:58:53 +0100229 SetRemoteEndpointResponse_DEVICE_UNREACHABLE SetRemoteEndpointResponse_Reason = 6
amit.ghoshae473032021-01-10 11:59:10 +0100230)
231
232var SetRemoteEndpointResponse_Reason_name = map[int32]string{
233 0: "UNDEFINED_REASON",
234 1: "UNKNOWN_DEVICE",
235 2: "INTERNAL_ERROR",
236 3: "LOGGING_ENDPOINT_ERROR",
237 4: "LOGGING_ENDPOINT_PROTOCOL_ERROR",
238 5: "MSGBUS_ENDPOINT_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100239 6: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100240}
241
242var SetRemoteEndpointResponse_Reason_value = map[string]int32{
243 "UNDEFINED_REASON": 0,
244 "UNKNOWN_DEVICE": 1,
245 "INTERNAL_ERROR": 2,
246 "LOGGING_ENDPOINT_ERROR": 3,
247 "LOGGING_ENDPOINT_PROTOCOL_ERROR": 4,
248 "MSGBUS_ENDPOINT_ERROR": 5,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100249 "DEVICE_UNREACHABLE": 6,
amit.ghoshae473032021-01-10 11:59:10 +0100250}
251
252func (x SetRemoteEndpointResponse_Reason) String() string {
253 return proto.EnumName(SetRemoteEndpointResponse_Reason_name, int32(x))
254}
255
256func (SetRemoteEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100257 return fileDescriptor_eae902e73066286d, []int{12, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100258}
259
260type GetLoggingEndpointResponse_Reason int32
261
262const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100263 GetLoggingEndpointResponse_UNDEFINED_REASON GetLoggingEndpointResponse_Reason = 0
264 GetLoggingEndpointResponse_UNKNOWN_DEVICE GetLoggingEndpointResponse_Reason = 1
265 GetLoggingEndpointResponse_INTERNAL_ERROR GetLoggingEndpointResponse_Reason = 2
266 GetLoggingEndpointResponse_DEVICE_UNREACHABLE GetLoggingEndpointResponse_Reason = 3
amit.ghoshae473032021-01-10 11:59:10 +0100267)
268
269var GetLoggingEndpointResponse_Reason_name = map[int32]string{
270 0: "UNDEFINED_REASON",
271 1: "UNKNOWN_DEVICE",
272 2: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100273 3: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100274}
275
276var GetLoggingEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100277 "UNDEFINED_REASON": 0,
278 "UNKNOWN_DEVICE": 1,
279 "INTERNAL_ERROR": 2,
280 "DEVICE_UNREACHABLE": 3,
amit.ghoshae473032021-01-10 11:59:10 +0100281}
282
283func (x GetLoggingEndpointResponse_Reason) String() string {
284 return proto.EnumName(GetLoggingEndpointResponse_Reason_name, int32(x))
285}
286
287func (GetLoggingEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100288 return fileDescriptor_eae902e73066286d, []int{13, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100289}
290
291type GetMsgBusEndpointResponse_Reason int32
292
293const (
amit.ghoshbd2022e2021-02-22 05:58:53 +0100294 GetMsgBusEndpointResponse_UNDEFINED_REASON GetMsgBusEndpointResponse_Reason = 0
295 GetMsgBusEndpointResponse_INTERNAL_ERROR GetMsgBusEndpointResponse_Reason = 1
296 GetMsgBusEndpointResponse_DEVICE_UNREACHABLE GetMsgBusEndpointResponse_Reason = 2
amit.ghoshae473032021-01-10 11:59:10 +0100297)
298
299var GetMsgBusEndpointResponse_Reason_name = map[int32]string{
300 0: "UNDEFINED_REASON",
301 1: "INTERNAL_ERROR",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100302 2: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100303}
304
305var GetMsgBusEndpointResponse_Reason_value = map[string]int32{
amit.ghoshbd2022e2021-02-22 05:58:53 +0100306 "UNDEFINED_REASON": 0,
307 "INTERNAL_ERROR": 1,
308 "DEVICE_UNREACHABLE": 2,
amit.ghoshae473032021-01-10 11:59:10 +0100309}
310
311func (x GetMsgBusEndpointResponse_Reason) String() string {
312 return proto.EnumName(GetMsgBusEndpointResponse_Reason_name, int32(x))
313}
314
315func (GetMsgBusEndpointResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100316 return fileDescriptor_eae902e73066286d, []int{15, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100317}
318
319type SetLogLevelResponse_Reason int32
320
321const (
322 SetLogLevelResponse_UNDEFINED_REASON SetLogLevelResponse_Reason = 0
323 SetLogLevelResponse_UNKNOWN_DEVICE SetLogLevelResponse_Reason = 1
324 SetLogLevelResponse_INTERNAL_ERROR SetLogLevelResponse_Reason = 2
325 SetLogLevelResponse_UNKNOWN_LOG_ENTITY SetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100326 SetLogLevelResponse_DEVICE_UNREACHABLE SetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100327)
328
329var SetLogLevelResponse_Reason_name = map[int32]string{
330 0: "UNDEFINED_REASON",
331 1: "UNKNOWN_DEVICE",
332 2: "INTERNAL_ERROR",
333 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100334 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100335}
336
337var SetLogLevelResponse_Reason_value = map[string]int32{
338 "UNDEFINED_REASON": 0,
339 "UNKNOWN_DEVICE": 1,
340 "INTERNAL_ERROR": 2,
341 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100342 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100343}
344
345func (x SetLogLevelResponse_Reason) String() string {
346 return proto.EnumName(SetLogLevelResponse_Reason_name, int32(x))
347}
348
349func (SetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100350 return fileDescriptor_eae902e73066286d, []int{18, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100351}
352
353type GetLogLevelResponse_Reason int32
354
355const (
356 GetLogLevelResponse_UNDEFINED_REASON GetLogLevelResponse_Reason = 0
357 GetLogLevelResponse_UNKNOWN_DEVICE GetLogLevelResponse_Reason = 1
358 GetLogLevelResponse_INTERNAL_ERROR GetLogLevelResponse_Reason = 2
359 GetLogLevelResponse_UNKNOWN_LOG_ENTITY GetLogLevelResponse_Reason = 3
amit.ghoshbd2022e2021-02-22 05:58:53 +0100360 GetLogLevelResponse_DEVICE_UNREACHABLE GetLogLevelResponse_Reason = 4
amit.ghoshae473032021-01-10 11:59:10 +0100361)
362
363var GetLogLevelResponse_Reason_name = map[int32]string{
364 0: "UNDEFINED_REASON",
365 1: "UNKNOWN_DEVICE",
366 2: "INTERNAL_ERROR",
367 3: "UNKNOWN_LOG_ENTITY",
amit.ghoshbd2022e2021-02-22 05:58:53 +0100368 4: "DEVICE_UNREACHABLE",
amit.ghoshae473032021-01-10 11:59:10 +0100369}
370
371var GetLogLevelResponse_Reason_value = map[string]int32{
372 "UNDEFINED_REASON": 0,
373 "UNKNOWN_DEVICE": 1,
374 "INTERNAL_ERROR": 2,
375 "UNKNOWN_LOG_ENTITY": 3,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100376 "DEVICE_UNREACHABLE": 4,
amit.ghoshae473032021-01-10 11:59:10 +0100377}
378
379func (x GetLogLevelResponse_Reason) String() string {
380 return proto.EnumName(GetLogLevelResponse_Reason_name, int32(x))
381}
382
383func (GetLogLevelResponse_Reason) EnumDescriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100384 return fileDescriptor_eae902e73066286d, []int{20, 0}
amit.ghoshae473032021-01-10 11:59:10 +0100385}
386
Amit Ghosh09f28362020-06-12 21:52:19 +0100387type PhysicalInventoryRequest struct {
388 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
389 XXX_NoUnkeyedLiteral struct{} `json:"-"`
390 XXX_unrecognized []byte `json:"-"`
391 XXX_sizecache int32 `json:"-"`
392}
393
394func (m *PhysicalInventoryRequest) Reset() { *m = PhysicalInventoryRequest{} }
395func (m *PhysicalInventoryRequest) String() string { return proto.CompactTextString(m) }
396func (*PhysicalInventoryRequest) ProtoMessage() {}
397func (*PhysicalInventoryRequest) Descriptor() ([]byte, []int) {
398 return fileDescriptor_eae902e73066286d, []int{0}
399}
400
401func (m *PhysicalInventoryRequest) XXX_Unmarshal(b []byte) error {
402 return xxx_messageInfo_PhysicalInventoryRequest.Unmarshal(m, b)
403}
404func (m *PhysicalInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
405 return xxx_messageInfo_PhysicalInventoryRequest.Marshal(b, m, deterministic)
406}
407func (m *PhysicalInventoryRequest) XXX_Merge(src proto.Message) {
408 xxx_messageInfo_PhysicalInventoryRequest.Merge(m, src)
409}
410func (m *PhysicalInventoryRequest) XXX_Size() int {
411 return xxx_messageInfo_PhysicalInventoryRequest.Size(m)
412}
413func (m *PhysicalInventoryRequest) XXX_DiscardUnknown() {
414 xxx_messageInfo_PhysicalInventoryRequest.DiscardUnknown(m)
415}
416
417var xxx_messageInfo_PhysicalInventoryRequest proto.InternalMessageInfo
418
419func (m *PhysicalInventoryRequest) GetDeviceUuid() *Uuid {
420 if m != nil {
421 return m.DeviceUuid
422 }
423 return nil
424}
425
426type PhysicalInventoryResponse struct {
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100427 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
428 Reason PhysicalInventoryResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.PhysicalInventoryResponse_Reason" json:"reason,omitempty"`
429 Inventory *Hardware `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
430 // It is recommended that upstream components/users of the DMI interface
431 // do not really interpret/parse the reson_detail, but rather use it for
432 // display purposes to the end user or use it for logging the error
433 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
434 XXX_NoUnkeyedLiteral struct{} `json:"-"`
435 XXX_unrecognized []byte `json:"-"`
436 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100437}
438
439func (m *PhysicalInventoryResponse) Reset() { *m = PhysicalInventoryResponse{} }
440func (m *PhysicalInventoryResponse) String() string { return proto.CompactTextString(m) }
441func (*PhysicalInventoryResponse) ProtoMessage() {}
442func (*PhysicalInventoryResponse) Descriptor() ([]byte, []int) {
443 return fileDescriptor_eae902e73066286d, []int{1}
444}
445
446func (m *PhysicalInventoryResponse) XXX_Unmarshal(b []byte) error {
447 return xxx_messageInfo_PhysicalInventoryResponse.Unmarshal(m, b)
448}
449func (m *PhysicalInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
450 return xxx_messageInfo_PhysicalInventoryResponse.Marshal(b, m, deterministic)
451}
452func (m *PhysicalInventoryResponse) XXX_Merge(src proto.Message) {
453 xxx_messageInfo_PhysicalInventoryResponse.Merge(m, src)
454}
455func (m *PhysicalInventoryResponse) XXX_Size() int {
456 return xxx_messageInfo_PhysicalInventoryResponse.Size(m)
457}
458func (m *PhysicalInventoryResponse) XXX_DiscardUnknown() {
459 xxx_messageInfo_PhysicalInventoryResponse.DiscardUnknown(m)
460}
461
462var xxx_messageInfo_PhysicalInventoryResponse proto.InternalMessageInfo
463
464func (m *PhysicalInventoryResponse) GetStatus() Status {
465 if m != nil {
466 return m.Status
467 }
468 return Status_UNDEFINED_STATUS
469}
470
amit.ghoshae473032021-01-10 11:59:10 +0100471func (m *PhysicalInventoryResponse) GetReason() PhysicalInventoryResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100472 if m != nil {
473 return m.Reason
474 }
amit.ghoshae473032021-01-10 11:59:10 +0100475 return PhysicalInventoryResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100476}
477
478func (m *PhysicalInventoryResponse) GetInventory() *Hardware {
479 if m != nil {
480 return m.Inventory
481 }
482 return nil
483}
484
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100485func (m *PhysicalInventoryResponse) GetReasonDetail() string {
486 if m != nil {
487 return m.ReasonDetail
488 }
489 return ""
490}
491
Amit Ghosh09f28362020-06-12 21:52:19 +0100492type HWComponentInfoGetRequest struct {
493 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
494 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
495 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
496 XXX_NoUnkeyedLiteral struct{} `json:"-"`
497 XXX_unrecognized []byte `json:"-"`
498 XXX_sizecache int32 `json:"-"`
499}
500
501func (m *HWComponentInfoGetRequest) Reset() { *m = HWComponentInfoGetRequest{} }
502func (m *HWComponentInfoGetRequest) String() string { return proto.CompactTextString(m) }
503func (*HWComponentInfoGetRequest) ProtoMessage() {}
504func (*HWComponentInfoGetRequest) Descriptor() ([]byte, []int) {
505 return fileDescriptor_eae902e73066286d, []int{2}
506}
507
508func (m *HWComponentInfoGetRequest) XXX_Unmarshal(b []byte) error {
509 return xxx_messageInfo_HWComponentInfoGetRequest.Unmarshal(m, b)
510}
511func (m *HWComponentInfoGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
512 return xxx_messageInfo_HWComponentInfoGetRequest.Marshal(b, m, deterministic)
513}
514func (m *HWComponentInfoGetRequest) XXX_Merge(src proto.Message) {
515 xxx_messageInfo_HWComponentInfoGetRequest.Merge(m, src)
516}
517func (m *HWComponentInfoGetRequest) XXX_Size() int {
518 return xxx_messageInfo_HWComponentInfoGetRequest.Size(m)
519}
520func (m *HWComponentInfoGetRequest) XXX_DiscardUnknown() {
521 xxx_messageInfo_HWComponentInfoGetRequest.DiscardUnknown(m)
522}
523
524var xxx_messageInfo_HWComponentInfoGetRequest proto.InternalMessageInfo
525
526func (m *HWComponentInfoGetRequest) GetDeviceUuid() *Uuid {
527 if m != nil {
528 return m.DeviceUuid
529 }
530 return nil
531}
532
533func (m *HWComponentInfoGetRequest) GetComponentUuid() *Uuid {
534 if m != nil {
535 return m.ComponentUuid
536 }
537 return nil
538}
539
540func (m *HWComponentInfoGetRequest) GetComponentName() string {
541 if m != nil {
542 return m.ComponentName
543 }
544 return ""
545}
546
aghoshc301dcd2020-09-03 16:55:34 +0100547type HWComponentInfoGetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100548 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
549 Reason HWComponentInfoGetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoGetResponse_Reason" json:"reason,omitempty"`
550 Component *Component `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100551 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100552 XXX_NoUnkeyedLiteral struct{} `json:"-"`
553 XXX_unrecognized []byte `json:"-"`
554 XXX_sizecache int32 `json:"-"`
aghoshc301dcd2020-09-03 16:55:34 +0100555}
556
557func (m *HWComponentInfoGetResponse) Reset() { *m = HWComponentInfoGetResponse{} }
558func (m *HWComponentInfoGetResponse) String() string { return proto.CompactTextString(m) }
559func (*HWComponentInfoGetResponse) ProtoMessage() {}
560func (*HWComponentInfoGetResponse) Descriptor() ([]byte, []int) {
561 return fileDescriptor_eae902e73066286d, []int{3}
562}
563
564func (m *HWComponentInfoGetResponse) XXX_Unmarshal(b []byte) error {
565 return xxx_messageInfo_HWComponentInfoGetResponse.Unmarshal(m, b)
566}
567func (m *HWComponentInfoGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
568 return xxx_messageInfo_HWComponentInfoGetResponse.Marshal(b, m, deterministic)
569}
570func (m *HWComponentInfoGetResponse) XXX_Merge(src proto.Message) {
571 xxx_messageInfo_HWComponentInfoGetResponse.Merge(m, src)
572}
573func (m *HWComponentInfoGetResponse) XXX_Size() int {
574 return xxx_messageInfo_HWComponentInfoGetResponse.Size(m)
575}
576func (m *HWComponentInfoGetResponse) XXX_DiscardUnknown() {
577 xxx_messageInfo_HWComponentInfoGetResponse.DiscardUnknown(m)
578}
579
580var xxx_messageInfo_HWComponentInfoGetResponse proto.InternalMessageInfo
581
582func (m *HWComponentInfoGetResponse) GetStatus() Status {
583 if m != nil {
584 return m.Status
585 }
586 return Status_UNDEFINED_STATUS
587}
588
amit.ghoshae473032021-01-10 11:59:10 +0100589func (m *HWComponentInfoGetResponse) GetReason() HWComponentInfoGetResponse_Reason {
aghoshc301dcd2020-09-03 16:55:34 +0100590 if m != nil {
591 return m.Reason
592 }
amit.ghoshae473032021-01-10 11:59:10 +0100593 return HWComponentInfoGetResponse_UNDEFINED_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100594}
595
596func (m *HWComponentInfoGetResponse) GetComponent() *Component {
597 if m != nil {
598 return m.Component
599 }
600 return nil
601}
602
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100603func (m *HWComponentInfoGetResponse) GetReasonDetail() string {
604 if m != nil {
605 return m.ReasonDetail
606 }
607 return ""
608}
609
Amit Ghosh09f28362020-06-12 21:52:19 +0100610type HWComponentInfoSetRequest struct {
611 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
612 ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"`
613 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
614 Changes *ModifiableComponent `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"`
615 XXX_NoUnkeyedLiteral struct{} `json:"-"`
616 XXX_unrecognized []byte `json:"-"`
617 XXX_sizecache int32 `json:"-"`
618}
619
620func (m *HWComponentInfoSetRequest) Reset() { *m = HWComponentInfoSetRequest{} }
621func (m *HWComponentInfoSetRequest) String() string { return proto.CompactTextString(m) }
622func (*HWComponentInfoSetRequest) ProtoMessage() {}
623func (*HWComponentInfoSetRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100624 return fileDescriptor_eae902e73066286d, []int{4}
Amit Ghosh09f28362020-06-12 21:52:19 +0100625}
626
627func (m *HWComponentInfoSetRequest) XXX_Unmarshal(b []byte) error {
628 return xxx_messageInfo_HWComponentInfoSetRequest.Unmarshal(m, b)
629}
630func (m *HWComponentInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
631 return xxx_messageInfo_HWComponentInfoSetRequest.Marshal(b, m, deterministic)
632}
633func (m *HWComponentInfoSetRequest) XXX_Merge(src proto.Message) {
634 xxx_messageInfo_HWComponentInfoSetRequest.Merge(m, src)
635}
636func (m *HWComponentInfoSetRequest) XXX_Size() int {
637 return xxx_messageInfo_HWComponentInfoSetRequest.Size(m)
638}
639func (m *HWComponentInfoSetRequest) XXX_DiscardUnknown() {
640 xxx_messageInfo_HWComponentInfoSetRequest.DiscardUnknown(m)
641}
642
643var xxx_messageInfo_HWComponentInfoSetRequest proto.InternalMessageInfo
644
645func (m *HWComponentInfoSetRequest) GetDeviceUuid() *Uuid {
646 if m != nil {
647 return m.DeviceUuid
648 }
649 return nil
650}
651
652func (m *HWComponentInfoSetRequest) GetComponentUuid() *Uuid {
653 if m != nil {
654 return m.ComponentUuid
655 }
656 return nil
657}
658
659func (m *HWComponentInfoSetRequest) GetComponentName() string {
660 if m != nil {
661 return m.ComponentName
662 }
663 return ""
664}
665
666func (m *HWComponentInfoSetRequest) GetChanges() *ModifiableComponent {
667 if m != nil {
668 return m.Changes
669 }
670 return nil
671}
672
673type HWComponentInfoSetResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100674 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
675 Reason HWComponentInfoSetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoSetResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100676 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100677 XXX_NoUnkeyedLiteral struct{} `json:"-"`
678 XXX_unrecognized []byte `json:"-"`
679 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100680}
681
682func (m *HWComponentInfoSetResponse) Reset() { *m = HWComponentInfoSetResponse{} }
683func (m *HWComponentInfoSetResponse) String() string { return proto.CompactTextString(m) }
684func (*HWComponentInfoSetResponse) ProtoMessage() {}
685func (*HWComponentInfoSetResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100686 return fileDescriptor_eae902e73066286d, []int{5}
Amit Ghosh09f28362020-06-12 21:52:19 +0100687}
688
689func (m *HWComponentInfoSetResponse) XXX_Unmarshal(b []byte) error {
690 return xxx_messageInfo_HWComponentInfoSetResponse.Unmarshal(m, b)
691}
692func (m *HWComponentInfoSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
693 return xxx_messageInfo_HWComponentInfoSetResponse.Marshal(b, m, deterministic)
694}
695func (m *HWComponentInfoSetResponse) XXX_Merge(src proto.Message) {
696 xxx_messageInfo_HWComponentInfoSetResponse.Merge(m, src)
697}
698func (m *HWComponentInfoSetResponse) XXX_Size() int {
699 return xxx_messageInfo_HWComponentInfoSetResponse.Size(m)
700}
701func (m *HWComponentInfoSetResponse) XXX_DiscardUnknown() {
702 xxx_messageInfo_HWComponentInfoSetResponse.DiscardUnknown(m)
703}
704
705var xxx_messageInfo_HWComponentInfoSetResponse proto.InternalMessageInfo
706
707func (m *HWComponentInfoSetResponse) GetStatus() Status {
708 if m != nil {
709 return m.Status
710 }
711 return Status_UNDEFINED_STATUS
712}
713
amit.ghoshae473032021-01-10 11:59:10 +0100714func (m *HWComponentInfoSetResponse) GetReason() HWComponentInfoSetResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100715 if m != nil {
716 return m.Reason
717 }
amit.ghoshae473032021-01-10 11:59:10 +0100718 return HWComponentInfoSetResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100719}
720
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100721func (m *HWComponentInfoSetResponse) GetReasonDetail() string {
722 if m != nil {
723 return m.ReasonDetail
724 }
725 return ""
726}
727
Amit Ghosh09f28362020-06-12 21:52:19 +0100728type StartManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100729 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
730 Reason StartManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartManagingDeviceResponse_Reason" json:"reason,omitempty"`
731 DeviceUuid *Uuid `protobuf:"bytes,3,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100732 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100733 XXX_NoUnkeyedLiteral struct{} `json:"-"`
734 XXX_unrecognized []byte `json:"-"`
735 XXX_sizecache int32 `json:"-"`
Amit Ghosh09f28362020-06-12 21:52:19 +0100736}
737
738func (m *StartManagingDeviceResponse) Reset() { *m = StartManagingDeviceResponse{} }
739func (m *StartManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
740func (*StartManagingDeviceResponse) ProtoMessage() {}
741func (*StartManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100742 return fileDescriptor_eae902e73066286d, []int{6}
Amit Ghosh09f28362020-06-12 21:52:19 +0100743}
744
745func (m *StartManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
746 return xxx_messageInfo_StartManagingDeviceResponse.Unmarshal(m, b)
747}
748func (m *StartManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
749 return xxx_messageInfo_StartManagingDeviceResponse.Marshal(b, m, deterministic)
750}
751func (m *StartManagingDeviceResponse) XXX_Merge(src proto.Message) {
752 xxx_messageInfo_StartManagingDeviceResponse.Merge(m, src)
753}
754func (m *StartManagingDeviceResponse) XXX_Size() int {
755 return xxx_messageInfo_StartManagingDeviceResponse.Size(m)
756}
757func (m *StartManagingDeviceResponse) XXX_DiscardUnknown() {
758 xxx_messageInfo_StartManagingDeviceResponse.DiscardUnknown(m)
759}
760
761var xxx_messageInfo_StartManagingDeviceResponse proto.InternalMessageInfo
762
763func (m *StartManagingDeviceResponse) GetStatus() Status {
764 if m != nil {
765 return m.Status
766 }
767 return Status_UNDEFINED_STATUS
768}
769
amit.ghoshae473032021-01-10 11:59:10 +0100770func (m *StartManagingDeviceResponse) GetReason() StartManagingDeviceResponse_Reason {
Amit Ghosh09f28362020-06-12 21:52:19 +0100771 if m != nil {
772 return m.Reason
773 }
amit.ghoshae473032021-01-10 11:59:10 +0100774 return StartManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh09f28362020-06-12 21:52:19 +0100775}
776
777func (m *StartManagingDeviceResponse) GetDeviceUuid() *Uuid {
778 if m != nil {
779 return m.DeviceUuid
780 }
781 return nil
782}
783
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100784func (m *StartManagingDeviceResponse) GetReasonDetail() string {
785 if m != nil {
786 return m.ReasonDetail
787 }
788 return ""
789}
790
Amit Ghosh366228e2020-07-06 13:46:42 +0100791type StopManagingDeviceRequest struct {
792 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
793 XXX_NoUnkeyedLiteral struct{} `json:"-"`
794 XXX_unrecognized []byte `json:"-"`
795 XXX_sizecache int32 `json:"-"`
796}
797
798func (m *StopManagingDeviceRequest) Reset() { *m = StopManagingDeviceRequest{} }
799func (m *StopManagingDeviceRequest) String() string { return proto.CompactTextString(m) }
800func (*StopManagingDeviceRequest) ProtoMessage() {}
801func (*StopManagingDeviceRequest) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100802 return fileDescriptor_eae902e73066286d, []int{7}
Amit Ghosh366228e2020-07-06 13:46:42 +0100803}
804
805func (m *StopManagingDeviceRequest) XXX_Unmarshal(b []byte) error {
806 return xxx_messageInfo_StopManagingDeviceRequest.Unmarshal(m, b)
807}
808func (m *StopManagingDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
809 return xxx_messageInfo_StopManagingDeviceRequest.Marshal(b, m, deterministic)
810}
811func (m *StopManagingDeviceRequest) XXX_Merge(src proto.Message) {
812 xxx_messageInfo_StopManagingDeviceRequest.Merge(m, src)
813}
814func (m *StopManagingDeviceRequest) XXX_Size() int {
815 return xxx_messageInfo_StopManagingDeviceRequest.Size(m)
816}
817func (m *StopManagingDeviceRequest) XXX_DiscardUnknown() {
818 xxx_messageInfo_StopManagingDeviceRequest.DiscardUnknown(m)
819}
820
821var xxx_messageInfo_StopManagingDeviceRequest proto.InternalMessageInfo
822
823func (m *StopManagingDeviceRequest) GetName() string {
824 if m != nil {
825 return m.Name
826 }
827 return ""
828}
829
830type StopManagingDeviceResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +0100831 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
832 Reason StopManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StopManagingDeviceResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100833 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +0100834 XXX_NoUnkeyedLiteral struct{} `json:"-"`
835 XXX_unrecognized []byte `json:"-"`
836 XXX_sizecache int32 `json:"-"`
Amit Ghosh366228e2020-07-06 13:46:42 +0100837}
838
839func (m *StopManagingDeviceResponse) Reset() { *m = StopManagingDeviceResponse{} }
840func (m *StopManagingDeviceResponse) String() string { return proto.CompactTextString(m) }
841func (*StopManagingDeviceResponse) ProtoMessage() {}
842func (*StopManagingDeviceResponse) Descriptor() ([]byte, []int) {
aghoshc301dcd2020-09-03 16:55:34 +0100843 return fileDescriptor_eae902e73066286d, []int{8}
Amit Ghosh366228e2020-07-06 13:46:42 +0100844}
845
846func (m *StopManagingDeviceResponse) XXX_Unmarshal(b []byte) error {
847 return xxx_messageInfo_StopManagingDeviceResponse.Unmarshal(m, b)
848}
849func (m *StopManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
850 return xxx_messageInfo_StopManagingDeviceResponse.Marshal(b, m, deterministic)
851}
852func (m *StopManagingDeviceResponse) XXX_Merge(src proto.Message) {
853 xxx_messageInfo_StopManagingDeviceResponse.Merge(m, src)
854}
855func (m *StopManagingDeviceResponse) XXX_Size() int {
856 return xxx_messageInfo_StopManagingDeviceResponse.Size(m)
857}
858func (m *StopManagingDeviceResponse) XXX_DiscardUnknown() {
859 xxx_messageInfo_StopManagingDeviceResponse.DiscardUnknown(m)
860}
861
862var xxx_messageInfo_StopManagingDeviceResponse proto.InternalMessageInfo
863
864func (m *StopManagingDeviceResponse) GetStatus() Status {
865 if m != nil {
866 return m.Status
867 }
868 return Status_UNDEFINED_STATUS
869}
870
amit.ghoshae473032021-01-10 11:59:10 +0100871func (m *StopManagingDeviceResponse) GetReason() StopManagingDeviceResponse_Reason {
Amit Ghosh366228e2020-07-06 13:46:42 +0100872 if m != nil {
873 return m.Reason
874 }
amit.ghoshae473032021-01-10 11:59:10 +0100875 return StopManagingDeviceResponse_UNDEFINED_REASON
Amit Ghosh366228e2020-07-06 13:46:42 +0100876}
877
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100878func (m *StopManagingDeviceResponse) GetReasonDetail() string {
879 if m != nil {
880 return m.ReasonDetail
881 }
882 return ""
883}
884
amit.ghosh0c687412021-03-24 19:01:08 +0100885type ManagedDeviceInfo struct {
886 Info *ModifiableComponent `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
887 DeviceUuid *Uuid `protobuf:"bytes,2,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
888 XXX_NoUnkeyedLiteral struct{} `json:"-"`
889 XXX_unrecognized []byte `json:"-"`
890 XXX_sizecache int32 `json:"-"`
891}
892
893func (m *ManagedDeviceInfo) Reset() { *m = ManagedDeviceInfo{} }
894func (m *ManagedDeviceInfo) String() string { return proto.CompactTextString(m) }
895func (*ManagedDeviceInfo) ProtoMessage() {}
896func (*ManagedDeviceInfo) Descriptor() ([]byte, []int) {
897 return fileDescriptor_eae902e73066286d, []int{9}
898}
899
900func (m *ManagedDeviceInfo) XXX_Unmarshal(b []byte) error {
901 return xxx_messageInfo_ManagedDeviceInfo.Unmarshal(m, b)
902}
903func (m *ManagedDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
904 return xxx_messageInfo_ManagedDeviceInfo.Marshal(b, m, deterministic)
905}
906func (m *ManagedDeviceInfo) XXX_Merge(src proto.Message) {
907 xxx_messageInfo_ManagedDeviceInfo.Merge(m, src)
908}
909func (m *ManagedDeviceInfo) XXX_Size() int {
910 return xxx_messageInfo_ManagedDeviceInfo.Size(m)
911}
912func (m *ManagedDeviceInfo) XXX_DiscardUnknown() {
913 xxx_messageInfo_ManagedDeviceInfo.DiscardUnknown(m)
914}
915
916var xxx_messageInfo_ManagedDeviceInfo proto.InternalMessageInfo
917
918func (m *ManagedDeviceInfo) GetInfo() *ModifiableComponent {
919 if m != nil {
920 return m.Info
921 }
922 return nil
923}
924
925func (m *ManagedDeviceInfo) GetDeviceUuid() *Uuid {
926 if m != nil {
927 return m.DeviceUuid
928 }
929 return nil
930}
931
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200932type ManagedDevicesResponse struct {
amit.ghosh0c687412021-03-24 19:01:08 +0100933 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
934 Reason ManagedDevicesResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.ManagedDevicesResponse_Reason" json:"reason,omitempty"`
935 Devices []*ManagedDeviceInfo `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
936 XXX_NoUnkeyedLiteral struct{} `json:"-"`
937 XXX_unrecognized []byte `json:"-"`
938 XXX_sizecache int32 `json:"-"`
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200939}
940
941func (m *ManagedDevicesResponse) Reset() { *m = ManagedDevicesResponse{} }
942func (m *ManagedDevicesResponse) String() string { return proto.CompactTextString(m) }
943func (*ManagedDevicesResponse) ProtoMessage() {}
944func (*ManagedDevicesResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +0100945 return fileDescriptor_eae902e73066286d, []int{10}
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200946}
947
948func (m *ManagedDevicesResponse) XXX_Unmarshal(b []byte) error {
949 return xxx_messageInfo_ManagedDevicesResponse.Unmarshal(m, b)
950}
951func (m *ManagedDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
952 return xxx_messageInfo_ManagedDevicesResponse.Marshal(b, m, deterministic)
953}
954func (m *ManagedDevicesResponse) XXX_Merge(src proto.Message) {
955 xxx_messageInfo_ManagedDevicesResponse.Merge(m, src)
956}
957func (m *ManagedDevicesResponse) XXX_Size() int {
958 return xxx_messageInfo_ManagedDevicesResponse.Size(m)
959}
960func (m *ManagedDevicesResponse) XXX_DiscardUnknown() {
961 xxx_messageInfo_ManagedDevicesResponse.DiscardUnknown(m)
962}
963
964var xxx_messageInfo_ManagedDevicesResponse proto.InternalMessageInfo
965
amit.ghosh0c687412021-03-24 19:01:08 +0100966func (m *ManagedDevicesResponse) GetStatus() Status {
967 if m != nil {
968 return m.Status
969 }
970 return Status_UNDEFINED_STATUS
971}
972
973func (m *ManagedDevicesResponse) GetReason() ManagedDevicesResponse_Reason {
974 if m != nil {
975 return m.Reason
976 }
977 return ManagedDevicesResponse_UNDEFINED_REASON
978}
979
980func (m *ManagedDevicesResponse) GetDevices() []*ManagedDeviceInfo {
Andrea Campanellacb990bc2020-09-22 12:50:56 +0200981 if m != nil {
982 return m.Devices
983 }
984 return nil
985}
986
amit.ghosh188a84f2020-09-27 20:59:25 +0200987type SetLoggingEndpointRequest struct {
988 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
989 LoggingEndpoint string `protobuf:"bytes,2,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
990 LoggingProtocol string `protobuf:"bytes,3,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
991 XXX_NoUnkeyedLiteral struct{} `json:"-"`
992 XXX_unrecognized []byte `json:"-"`
993 XXX_sizecache int32 `json:"-"`
994}
995
996func (m *SetLoggingEndpointRequest) Reset() { *m = SetLoggingEndpointRequest{} }
997func (m *SetLoggingEndpointRequest) String() string { return proto.CompactTextString(m) }
998func (*SetLoggingEndpointRequest) ProtoMessage() {}
999func (*SetLoggingEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001000 return fileDescriptor_eae902e73066286d, []int{11}
amit.ghosh188a84f2020-09-27 20:59:25 +02001001}
1002
1003func (m *SetLoggingEndpointRequest) XXX_Unmarshal(b []byte) error {
1004 return xxx_messageInfo_SetLoggingEndpointRequest.Unmarshal(m, b)
1005}
1006func (m *SetLoggingEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1007 return xxx_messageInfo_SetLoggingEndpointRequest.Marshal(b, m, deterministic)
1008}
1009func (m *SetLoggingEndpointRequest) XXX_Merge(src proto.Message) {
1010 xxx_messageInfo_SetLoggingEndpointRequest.Merge(m, src)
1011}
1012func (m *SetLoggingEndpointRequest) XXX_Size() int {
1013 return xxx_messageInfo_SetLoggingEndpointRequest.Size(m)
1014}
1015func (m *SetLoggingEndpointRequest) XXX_DiscardUnknown() {
1016 xxx_messageInfo_SetLoggingEndpointRequest.DiscardUnknown(m)
1017}
1018
1019var xxx_messageInfo_SetLoggingEndpointRequest proto.InternalMessageInfo
1020
1021func (m *SetLoggingEndpointRequest) GetDeviceUuid() *Uuid {
1022 if m != nil {
1023 return m.DeviceUuid
1024 }
1025 return nil
1026}
1027
1028func (m *SetLoggingEndpointRequest) GetLoggingEndpoint() string {
1029 if m != nil {
1030 return m.LoggingEndpoint
1031 }
1032 return ""
1033}
1034
1035func (m *SetLoggingEndpointRequest) GetLoggingProtocol() string {
1036 if m != nil {
1037 return m.LoggingProtocol
1038 }
1039 return ""
1040}
1041
1042type SetRemoteEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001043 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1044 Reason SetRemoteEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetRemoteEndpointResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001045 ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001046 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1047 XXX_unrecognized []byte `json:"-"`
1048 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001049}
1050
1051func (m *SetRemoteEndpointResponse) Reset() { *m = SetRemoteEndpointResponse{} }
1052func (m *SetRemoteEndpointResponse) String() string { return proto.CompactTextString(m) }
1053func (*SetRemoteEndpointResponse) ProtoMessage() {}
1054func (*SetRemoteEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001055 return fileDescriptor_eae902e73066286d, []int{12}
amit.ghosh188a84f2020-09-27 20:59:25 +02001056}
1057
1058func (m *SetRemoteEndpointResponse) XXX_Unmarshal(b []byte) error {
1059 return xxx_messageInfo_SetRemoteEndpointResponse.Unmarshal(m, b)
1060}
1061func (m *SetRemoteEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1062 return xxx_messageInfo_SetRemoteEndpointResponse.Marshal(b, m, deterministic)
1063}
1064func (m *SetRemoteEndpointResponse) XXX_Merge(src proto.Message) {
1065 xxx_messageInfo_SetRemoteEndpointResponse.Merge(m, src)
1066}
1067func (m *SetRemoteEndpointResponse) XXX_Size() int {
1068 return xxx_messageInfo_SetRemoteEndpointResponse.Size(m)
1069}
1070func (m *SetRemoteEndpointResponse) XXX_DiscardUnknown() {
1071 xxx_messageInfo_SetRemoteEndpointResponse.DiscardUnknown(m)
1072}
1073
1074var xxx_messageInfo_SetRemoteEndpointResponse proto.InternalMessageInfo
1075
1076func (m *SetRemoteEndpointResponse) GetStatus() Status {
1077 if m != nil {
1078 return m.Status
1079 }
1080 return Status_UNDEFINED_STATUS
1081}
1082
amit.ghoshae473032021-01-10 11:59:10 +01001083func (m *SetRemoteEndpointResponse) GetReason() SetRemoteEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001084 if m != nil {
1085 return m.Reason
1086 }
amit.ghoshae473032021-01-10 11:59:10 +01001087 return SetRemoteEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001088}
1089
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001090func (m *SetRemoteEndpointResponse) GetReasonDetail() string {
1091 if m != nil {
1092 return m.ReasonDetail
1093 }
1094 return ""
1095}
1096
amit.ghosh188a84f2020-09-27 20:59:25 +02001097type GetLoggingEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001098 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1099 Reason GetLoggingEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetLoggingEndpointResponse_Reason" json:"reason,omitempty"`
1100 LoggingEndpoint string `protobuf:"bytes,3,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"`
1101 LoggingProtocol string `protobuf:"bytes,4,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001102 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001103 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1104 XXX_unrecognized []byte `json:"-"`
1105 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001106}
1107
1108func (m *GetLoggingEndpointResponse) Reset() { *m = GetLoggingEndpointResponse{} }
1109func (m *GetLoggingEndpointResponse) String() string { return proto.CompactTextString(m) }
1110func (*GetLoggingEndpointResponse) ProtoMessage() {}
1111func (*GetLoggingEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001112 return fileDescriptor_eae902e73066286d, []int{13}
amit.ghosh188a84f2020-09-27 20:59:25 +02001113}
1114
1115func (m *GetLoggingEndpointResponse) XXX_Unmarshal(b []byte) error {
1116 return xxx_messageInfo_GetLoggingEndpointResponse.Unmarshal(m, b)
1117}
1118func (m *GetLoggingEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1119 return xxx_messageInfo_GetLoggingEndpointResponse.Marshal(b, m, deterministic)
1120}
1121func (m *GetLoggingEndpointResponse) XXX_Merge(src proto.Message) {
1122 xxx_messageInfo_GetLoggingEndpointResponse.Merge(m, src)
1123}
1124func (m *GetLoggingEndpointResponse) XXX_Size() int {
1125 return xxx_messageInfo_GetLoggingEndpointResponse.Size(m)
1126}
1127func (m *GetLoggingEndpointResponse) XXX_DiscardUnknown() {
1128 xxx_messageInfo_GetLoggingEndpointResponse.DiscardUnknown(m)
1129}
1130
1131var xxx_messageInfo_GetLoggingEndpointResponse proto.InternalMessageInfo
1132
1133func (m *GetLoggingEndpointResponse) GetStatus() Status {
1134 if m != nil {
1135 return m.Status
1136 }
1137 return Status_UNDEFINED_STATUS
1138}
1139
amit.ghoshae473032021-01-10 11:59:10 +01001140func (m *GetLoggingEndpointResponse) GetReason() GetLoggingEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001141 if m != nil {
1142 return m.Reason
1143 }
amit.ghoshae473032021-01-10 11:59:10 +01001144 return GetLoggingEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001145}
1146
1147func (m *GetLoggingEndpointResponse) GetLoggingEndpoint() string {
1148 if m != nil {
1149 return m.LoggingEndpoint
1150 }
1151 return ""
1152}
1153
1154func (m *GetLoggingEndpointResponse) GetLoggingProtocol() string {
1155 if m != nil {
1156 return m.LoggingProtocol
1157 }
1158 return ""
1159}
1160
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001161func (m *GetLoggingEndpointResponse) GetReasonDetail() string {
1162 if m != nil {
1163 return m.ReasonDetail
1164 }
1165 return ""
1166}
1167
amit.ghosh188a84f2020-09-27 20:59:25 +02001168type SetMsgBusEndpointRequest struct {
1169 MsgbusEndpoint string `protobuf:"bytes,1,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
1170 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1171 XXX_unrecognized []byte `json:"-"`
1172 XXX_sizecache int32 `json:"-"`
1173}
1174
1175func (m *SetMsgBusEndpointRequest) Reset() { *m = SetMsgBusEndpointRequest{} }
1176func (m *SetMsgBusEndpointRequest) String() string { return proto.CompactTextString(m) }
1177func (*SetMsgBusEndpointRequest) ProtoMessage() {}
1178func (*SetMsgBusEndpointRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001179 return fileDescriptor_eae902e73066286d, []int{14}
amit.ghosh188a84f2020-09-27 20:59:25 +02001180}
1181
1182func (m *SetMsgBusEndpointRequest) XXX_Unmarshal(b []byte) error {
1183 return xxx_messageInfo_SetMsgBusEndpointRequest.Unmarshal(m, b)
1184}
1185func (m *SetMsgBusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1186 return xxx_messageInfo_SetMsgBusEndpointRequest.Marshal(b, m, deterministic)
1187}
1188func (m *SetMsgBusEndpointRequest) XXX_Merge(src proto.Message) {
1189 xxx_messageInfo_SetMsgBusEndpointRequest.Merge(m, src)
1190}
1191func (m *SetMsgBusEndpointRequest) XXX_Size() int {
1192 return xxx_messageInfo_SetMsgBusEndpointRequest.Size(m)
1193}
1194func (m *SetMsgBusEndpointRequest) XXX_DiscardUnknown() {
1195 xxx_messageInfo_SetMsgBusEndpointRequest.DiscardUnknown(m)
1196}
1197
1198var xxx_messageInfo_SetMsgBusEndpointRequest proto.InternalMessageInfo
1199
1200func (m *SetMsgBusEndpointRequest) GetMsgbusEndpoint() string {
1201 if m != nil {
1202 return m.MsgbusEndpoint
1203 }
1204 return ""
1205}
1206
1207type GetMsgBusEndpointResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001208 Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1209 Reason GetMsgBusEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetMsgBusEndpointResponse_Reason" json:"reason,omitempty"`
1210 MsgbusEndpoint string `protobuf:"bytes,3,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001211 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001212 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1213 XXX_unrecognized []byte `json:"-"`
1214 XXX_sizecache int32 `json:"-"`
amit.ghosh188a84f2020-09-27 20:59:25 +02001215}
1216
1217func (m *GetMsgBusEndpointResponse) Reset() { *m = GetMsgBusEndpointResponse{} }
1218func (m *GetMsgBusEndpointResponse) String() string { return proto.CompactTextString(m) }
1219func (*GetMsgBusEndpointResponse) ProtoMessage() {}
1220func (*GetMsgBusEndpointResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001221 return fileDescriptor_eae902e73066286d, []int{15}
amit.ghosh188a84f2020-09-27 20:59:25 +02001222}
1223
1224func (m *GetMsgBusEndpointResponse) XXX_Unmarshal(b []byte) error {
1225 return xxx_messageInfo_GetMsgBusEndpointResponse.Unmarshal(m, b)
1226}
1227func (m *GetMsgBusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1228 return xxx_messageInfo_GetMsgBusEndpointResponse.Marshal(b, m, deterministic)
1229}
1230func (m *GetMsgBusEndpointResponse) XXX_Merge(src proto.Message) {
1231 xxx_messageInfo_GetMsgBusEndpointResponse.Merge(m, src)
1232}
1233func (m *GetMsgBusEndpointResponse) XXX_Size() int {
1234 return xxx_messageInfo_GetMsgBusEndpointResponse.Size(m)
1235}
1236func (m *GetMsgBusEndpointResponse) XXX_DiscardUnknown() {
1237 xxx_messageInfo_GetMsgBusEndpointResponse.DiscardUnknown(m)
1238}
1239
1240var xxx_messageInfo_GetMsgBusEndpointResponse proto.InternalMessageInfo
1241
1242func (m *GetMsgBusEndpointResponse) GetStatus() Status {
1243 if m != nil {
1244 return m.Status
1245 }
1246 return Status_UNDEFINED_STATUS
1247}
1248
amit.ghoshae473032021-01-10 11:59:10 +01001249func (m *GetMsgBusEndpointResponse) GetReason() GetMsgBusEndpointResponse_Reason {
amit.ghosh188a84f2020-09-27 20:59:25 +02001250 if m != nil {
1251 return m.Reason
1252 }
amit.ghoshae473032021-01-10 11:59:10 +01001253 return GetMsgBusEndpointResponse_UNDEFINED_REASON
amit.ghosh188a84f2020-09-27 20:59:25 +02001254}
1255
1256func (m *GetMsgBusEndpointResponse) GetMsgbusEndpoint() string {
1257 if m != nil {
1258 return m.MsgbusEndpoint
1259 }
1260 return ""
1261}
1262
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001263func (m *GetMsgBusEndpointResponse) GetReasonDetail() string {
1264 if m != nil {
1265 return m.ReasonDetail
1266 }
1267 return ""
1268}
1269
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001270type EntitiesLogLevel struct {
1271 LogLevel LogLevel `protobuf:"varint,1,opt,name=logLevel,proto3,enum=dmi.LogLevel" json:"logLevel,omitempty"`
1272 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1273 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1274 XXX_unrecognized []byte `json:"-"`
1275 XXX_sizecache int32 `json:"-"`
1276}
1277
1278func (m *EntitiesLogLevel) Reset() { *m = EntitiesLogLevel{} }
1279func (m *EntitiesLogLevel) String() string { return proto.CompactTextString(m) }
1280func (*EntitiesLogLevel) ProtoMessage() {}
1281func (*EntitiesLogLevel) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001282 return fileDescriptor_eae902e73066286d, []int{16}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001283}
1284
1285func (m *EntitiesLogLevel) XXX_Unmarshal(b []byte) error {
1286 return xxx_messageInfo_EntitiesLogLevel.Unmarshal(m, b)
1287}
1288func (m *EntitiesLogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1289 return xxx_messageInfo_EntitiesLogLevel.Marshal(b, m, deterministic)
1290}
1291func (m *EntitiesLogLevel) XXX_Merge(src proto.Message) {
1292 xxx_messageInfo_EntitiesLogLevel.Merge(m, src)
1293}
1294func (m *EntitiesLogLevel) XXX_Size() int {
1295 return xxx_messageInfo_EntitiesLogLevel.Size(m)
1296}
1297func (m *EntitiesLogLevel) XXX_DiscardUnknown() {
1298 xxx_messageInfo_EntitiesLogLevel.DiscardUnknown(m)
1299}
1300
1301var xxx_messageInfo_EntitiesLogLevel proto.InternalMessageInfo
1302
1303func (m *EntitiesLogLevel) GetLogLevel() LogLevel {
1304 if m != nil {
1305 return m.LogLevel
1306 }
1307 return LogLevel_TRACE
1308}
1309
1310func (m *EntitiesLogLevel) GetEntities() []string {
1311 if m != nil {
1312 return m.Entities
1313 }
1314 return nil
1315}
1316
1317type SetLogLevelRequest struct {
1318 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1319 Loglevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=loglevels,proto3" json:"loglevels,omitempty"`
1320 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1321 XXX_unrecognized []byte `json:"-"`
1322 XXX_sizecache int32 `json:"-"`
1323}
1324
1325func (m *SetLogLevelRequest) Reset() { *m = SetLogLevelRequest{} }
1326func (m *SetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1327func (*SetLogLevelRequest) ProtoMessage() {}
1328func (*SetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001329 return fileDescriptor_eae902e73066286d, []int{17}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001330}
1331
1332func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1333 return xxx_messageInfo_SetLogLevelRequest.Unmarshal(m, b)
1334}
1335func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1336 return xxx_messageInfo_SetLogLevelRequest.Marshal(b, m, deterministic)
1337}
1338func (m *SetLogLevelRequest) XXX_Merge(src proto.Message) {
1339 xxx_messageInfo_SetLogLevelRequest.Merge(m, src)
1340}
1341func (m *SetLogLevelRequest) XXX_Size() int {
1342 return xxx_messageInfo_SetLogLevelRequest.Size(m)
1343}
1344func (m *SetLogLevelRequest) XXX_DiscardUnknown() {
1345 xxx_messageInfo_SetLogLevelRequest.DiscardUnknown(m)
1346}
1347
1348var xxx_messageInfo_SetLogLevelRequest proto.InternalMessageInfo
1349
1350func (m *SetLogLevelRequest) GetDeviceUuid() *Uuid {
1351 if m != nil {
1352 return m.DeviceUuid
1353 }
1354 return nil
1355}
1356
1357func (m *SetLogLevelRequest) GetLoglevels() []*EntitiesLogLevel {
1358 if m != nil {
1359 return m.Loglevels
1360 }
1361 return nil
1362}
1363
1364type SetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001365 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1366 Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1367 Reason SetLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.SetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001368 ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001369 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1370 XXX_unrecognized []byte `json:"-"`
1371 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001372}
1373
1374func (m *SetLogLevelResponse) Reset() { *m = SetLogLevelResponse{} }
1375func (m *SetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1376func (*SetLogLevelResponse) ProtoMessage() {}
1377func (*SetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001378 return fileDescriptor_eae902e73066286d, []int{18}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001379}
1380
1381func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1382 return xxx_messageInfo_SetLogLevelResponse.Unmarshal(m, b)
1383}
1384func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1385 return xxx_messageInfo_SetLogLevelResponse.Marshal(b, m, deterministic)
1386}
1387func (m *SetLogLevelResponse) XXX_Merge(src proto.Message) {
1388 xxx_messageInfo_SetLogLevelResponse.Merge(m, src)
1389}
1390func (m *SetLogLevelResponse) XXX_Size() int {
1391 return xxx_messageInfo_SetLogLevelResponse.Size(m)
1392}
1393func (m *SetLogLevelResponse) XXX_DiscardUnknown() {
1394 xxx_messageInfo_SetLogLevelResponse.DiscardUnknown(m)
1395}
1396
1397var xxx_messageInfo_SetLogLevelResponse proto.InternalMessageInfo
1398
amit.ghosh5d97dba2020-11-12 16:45:27 +01001399func (m *SetLogLevelResponse) GetDeviceUuid() *Uuid {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001400 if m != nil {
1401 return m.DeviceUuid
1402 }
1403 return nil
1404}
1405
amit.ghosh5d97dba2020-11-12 16:45:27 +01001406func (m *SetLogLevelResponse) GetStatus() Status {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001407 if m != nil {
1408 return m.Status
1409 }
1410 return Status_UNDEFINED_STATUS
1411}
1412
amit.ghoshae473032021-01-10 11:59:10 +01001413func (m *SetLogLevelResponse) GetReason() SetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001414 if m != nil {
1415 return m.Reason
1416 }
amit.ghoshae473032021-01-10 11:59:10 +01001417 return SetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001418}
1419
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001420func (m *SetLogLevelResponse) GetReasonDetail() string {
1421 if m != nil {
1422 return m.ReasonDetail
1423 }
1424 return ""
1425}
1426
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001427type GetLogLevelRequest struct {
1428 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1429 Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
1430 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1431 XXX_unrecognized []byte `json:"-"`
1432 XXX_sizecache int32 `json:"-"`
1433}
1434
1435func (m *GetLogLevelRequest) Reset() { *m = GetLogLevelRequest{} }
1436func (m *GetLogLevelRequest) String() string { return proto.CompactTextString(m) }
1437func (*GetLogLevelRequest) ProtoMessage() {}
1438func (*GetLogLevelRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001439 return fileDescriptor_eae902e73066286d, []int{19}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001440}
1441
1442func (m *GetLogLevelRequest) XXX_Unmarshal(b []byte) error {
1443 return xxx_messageInfo_GetLogLevelRequest.Unmarshal(m, b)
1444}
1445func (m *GetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1446 return xxx_messageInfo_GetLogLevelRequest.Marshal(b, m, deterministic)
1447}
1448func (m *GetLogLevelRequest) XXX_Merge(src proto.Message) {
1449 xxx_messageInfo_GetLogLevelRequest.Merge(m, src)
1450}
1451func (m *GetLogLevelRequest) XXX_Size() int {
1452 return xxx_messageInfo_GetLogLevelRequest.Size(m)
1453}
1454func (m *GetLogLevelRequest) XXX_DiscardUnknown() {
1455 xxx_messageInfo_GetLogLevelRequest.DiscardUnknown(m)
1456}
1457
1458var xxx_messageInfo_GetLogLevelRequest proto.InternalMessageInfo
1459
1460func (m *GetLogLevelRequest) GetDeviceUuid() *Uuid {
1461 if m != nil {
1462 return m.DeviceUuid
1463 }
1464 return nil
1465}
1466
1467func (m *GetLogLevelRequest) GetEntities() []string {
1468 if m != nil {
1469 return m.Entities
1470 }
1471 return nil
1472}
1473
1474type GetLogLevelResponse struct {
amit.ghoshae473032021-01-10 11:59:10 +01001475 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1476 LogLevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=logLevels,proto3" json:"logLevels,omitempty"`
1477 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"`
1478 Reason GetLogLevelResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.GetLogLevelResponse_Reason" json:"reason,omitempty"`
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001479 ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
amit.ghoshae473032021-01-10 11:59:10 +01001480 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1481 XXX_unrecognized []byte `json:"-"`
1482 XXX_sizecache int32 `json:"-"`
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001483}
1484
1485func (m *GetLogLevelResponse) Reset() { *m = GetLogLevelResponse{} }
1486func (m *GetLogLevelResponse) String() string { return proto.CompactTextString(m) }
1487func (*GetLogLevelResponse) ProtoMessage() {}
1488func (*GetLogLevelResponse) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001489 return fileDescriptor_eae902e73066286d, []int{20}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001490}
1491
1492func (m *GetLogLevelResponse) XXX_Unmarshal(b []byte) error {
1493 return xxx_messageInfo_GetLogLevelResponse.Unmarshal(m, b)
1494}
1495func (m *GetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1496 return xxx_messageInfo_GetLogLevelResponse.Marshal(b, m, deterministic)
1497}
1498func (m *GetLogLevelResponse) XXX_Merge(src proto.Message) {
1499 xxx_messageInfo_GetLogLevelResponse.Merge(m, src)
1500}
1501func (m *GetLogLevelResponse) XXX_Size() int {
1502 return xxx_messageInfo_GetLogLevelResponse.Size(m)
1503}
1504func (m *GetLogLevelResponse) XXX_DiscardUnknown() {
1505 xxx_messageInfo_GetLogLevelResponse.DiscardUnknown(m)
1506}
1507
1508var xxx_messageInfo_GetLogLevelResponse proto.InternalMessageInfo
1509
1510func (m *GetLogLevelResponse) GetDeviceUuid() *Uuid {
1511 if m != nil {
1512 return m.DeviceUuid
1513 }
1514 return nil
1515}
1516
1517func (m *GetLogLevelResponse) GetLogLevels() []*EntitiesLogLevel {
1518 if m != nil {
1519 return m.LogLevels
1520 }
1521 return nil
1522}
1523
1524func (m *GetLogLevelResponse) GetStatus() Status {
1525 if m != nil {
1526 return m.Status
1527 }
1528 return Status_UNDEFINED_STATUS
1529}
1530
amit.ghoshae473032021-01-10 11:59:10 +01001531func (m *GetLogLevelResponse) GetReason() GetLogLevelResponse_Reason {
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001532 if m != nil {
1533 return m.Reason
1534 }
amit.ghoshae473032021-01-10 11:59:10 +01001535 return GetLogLevelResponse_UNDEFINED_REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001536}
1537
amit.ghosh8ab1e6e2021-02-23 07:40:17 +01001538func (m *GetLogLevelResponse) GetReasonDetail() string {
1539 if m != nil {
1540 return m.ReasonDetail
1541 }
1542 return ""
1543}
1544
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001545type GetLoggableEntitiesRequest struct {
1546 DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"`
1547 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1548 XXX_unrecognized []byte `json:"-"`
1549 XXX_sizecache int32 `json:"-"`
1550}
1551
1552func (m *GetLoggableEntitiesRequest) Reset() { *m = GetLoggableEntitiesRequest{} }
1553func (m *GetLoggableEntitiesRequest) String() string { return proto.CompactTextString(m) }
1554func (*GetLoggableEntitiesRequest) ProtoMessage() {}
1555func (*GetLoggableEntitiesRequest) Descriptor() ([]byte, []int) {
amit.ghosh0c687412021-03-24 19:01:08 +01001556 return fileDescriptor_eae902e73066286d, []int{21}
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001557}
1558
1559func (m *GetLoggableEntitiesRequest) XXX_Unmarshal(b []byte) error {
1560 return xxx_messageInfo_GetLoggableEntitiesRequest.Unmarshal(m, b)
1561}
1562func (m *GetLoggableEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1563 return xxx_messageInfo_GetLoggableEntitiesRequest.Marshal(b, m, deterministic)
1564}
1565func (m *GetLoggableEntitiesRequest) XXX_Merge(src proto.Message) {
1566 xxx_messageInfo_GetLoggableEntitiesRequest.Merge(m, src)
1567}
1568func (m *GetLoggableEntitiesRequest) XXX_Size() int {
1569 return xxx_messageInfo_GetLoggableEntitiesRequest.Size(m)
1570}
1571func (m *GetLoggableEntitiesRequest) XXX_DiscardUnknown() {
1572 xxx_messageInfo_GetLoggableEntitiesRequest.DiscardUnknown(m)
1573}
1574
1575var xxx_messageInfo_GetLoggableEntitiesRequest proto.InternalMessageInfo
1576
1577func (m *GetLoggableEntitiesRequest) GetDeviceUuid() *Uuid {
1578 if m != nil {
1579 return m.DeviceUuid
1580 }
1581 return nil
1582}
1583
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301584type Heartbeat struct {
1585 HeartbeatSignature uint32 `protobuf:"fixed32,1,opt,name=heartbeat_signature,json=heartbeatSignature,proto3" json:"heartbeat_signature,omitempty"`
1586 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1587 XXX_unrecognized []byte `json:"-"`
1588 XXX_sizecache int32 `json:"-"`
1589}
1590
1591func (m *Heartbeat) Reset() { *m = Heartbeat{} }
1592func (m *Heartbeat) String() string { return proto.CompactTextString(m) }
1593func (*Heartbeat) ProtoMessage() {}
1594func (*Heartbeat) Descriptor() ([]byte, []int) {
1595 return fileDescriptor_eae902e73066286d, []int{22}
1596}
1597
1598func (m *Heartbeat) XXX_Unmarshal(b []byte) error {
1599 return xxx_messageInfo_Heartbeat.Unmarshal(m, b)
1600}
1601func (m *Heartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1602 return xxx_messageInfo_Heartbeat.Marshal(b, m, deterministic)
1603}
1604func (m *Heartbeat) XXX_Merge(src proto.Message) {
1605 xxx_messageInfo_Heartbeat.Merge(m, src)
1606}
1607func (m *Heartbeat) XXX_Size() int {
1608 return xxx_messageInfo_Heartbeat.Size(m)
1609}
1610func (m *Heartbeat) XXX_DiscardUnknown() {
1611 xxx_messageInfo_Heartbeat.DiscardUnknown(m)
1612}
1613
1614var xxx_messageInfo_Heartbeat proto.InternalMessageInfo
1615
1616func (m *Heartbeat) GetHeartbeatSignature() uint32 {
1617 if m != nil {
1618 return m.HeartbeatSignature
1619 }
1620 return 0
1621}
1622
Amit Ghosh09f28362020-06-12 21:52:19 +01001623func init() {
amit.ghoshae473032021-01-10 11:59:10 +01001624 proto.RegisterEnum("dmi.PhysicalInventoryResponse_Reason", PhysicalInventoryResponse_Reason_name, PhysicalInventoryResponse_Reason_value)
1625 proto.RegisterEnum("dmi.HWComponentInfoGetResponse_Reason", HWComponentInfoGetResponse_Reason_name, HWComponentInfoGetResponse_Reason_value)
1626 proto.RegisterEnum("dmi.HWComponentInfoSetResponse_Reason", HWComponentInfoSetResponse_Reason_name, HWComponentInfoSetResponse_Reason_value)
1627 proto.RegisterEnum("dmi.StartManagingDeviceResponse_Reason", StartManagingDeviceResponse_Reason_name, StartManagingDeviceResponse_Reason_value)
1628 proto.RegisterEnum("dmi.StopManagingDeviceResponse_Reason", StopManagingDeviceResponse_Reason_name, StopManagingDeviceResponse_Reason_value)
amit.ghosh0c687412021-03-24 19:01:08 +01001629 proto.RegisterEnum("dmi.ManagedDevicesResponse_Reason", ManagedDevicesResponse_Reason_name, ManagedDevicesResponse_Reason_value)
amit.ghoshae473032021-01-10 11:59:10 +01001630 proto.RegisterEnum("dmi.SetRemoteEndpointResponse_Reason", SetRemoteEndpointResponse_Reason_name, SetRemoteEndpointResponse_Reason_value)
1631 proto.RegisterEnum("dmi.GetLoggingEndpointResponse_Reason", GetLoggingEndpointResponse_Reason_name, GetLoggingEndpointResponse_Reason_value)
1632 proto.RegisterEnum("dmi.GetMsgBusEndpointResponse_Reason", GetMsgBusEndpointResponse_Reason_name, GetMsgBusEndpointResponse_Reason_value)
1633 proto.RegisterEnum("dmi.SetLogLevelResponse_Reason", SetLogLevelResponse_Reason_name, SetLogLevelResponse_Reason_value)
1634 proto.RegisterEnum("dmi.GetLogLevelResponse_Reason", GetLogLevelResponse_Reason_name, GetLogLevelResponse_Reason_value)
Amit Ghosh09f28362020-06-12 21:52:19 +01001635 proto.RegisterType((*PhysicalInventoryRequest)(nil), "dmi.PhysicalInventoryRequest")
1636 proto.RegisterType((*PhysicalInventoryResponse)(nil), "dmi.PhysicalInventoryResponse")
1637 proto.RegisterType((*HWComponentInfoGetRequest)(nil), "dmi.HWComponentInfoGetRequest")
aghoshc301dcd2020-09-03 16:55:34 +01001638 proto.RegisterType((*HWComponentInfoGetResponse)(nil), "dmi.HWComponentInfoGetResponse")
Amit Ghosh09f28362020-06-12 21:52:19 +01001639 proto.RegisterType((*HWComponentInfoSetRequest)(nil), "dmi.HWComponentInfoSetRequest")
1640 proto.RegisterType((*HWComponentInfoSetResponse)(nil), "dmi.HWComponentInfoSetResponse")
1641 proto.RegisterType((*StartManagingDeviceResponse)(nil), "dmi.StartManagingDeviceResponse")
Amit Ghosh366228e2020-07-06 13:46:42 +01001642 proto.RegisterType((*StopManagingDeviceRequest)(nil), "dmi.StopManagingDeviceRequest")
1643 proto.RegisterType((*StopManagingDeviceResponse)(nil), "dmi.StopManagingDeviceResponse")
amit.ghosh0c687412021-03-24 19:01:08 +01001644 proto.RegisterType((*ManagedDeviceInfo)(nil), "dmi.ManagedDeviceInfo")
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001645 proto.RegisterType((*ManagedDevicesResponse)(nil), "dmi.ManagedDevicesResponse")
amit.ghosh188a84f2020-09-27 20:59:25 +02001646 proto.RegisterType((*SetLoggingEndpointRequest)(nil), "dmi.SetLoggingEndpointRequest")
1647 proto.RegisterType((*SetRemoteEndpointResponse)(nil), "dmi.SetRemoteEndpointResponse")
1648 proto.RegisterType((*GetLoggingEndpointResponse)(nil), "dmi.GetLoggingEndpointResponse")
1649 proto.RegisterType((*SetMsgBusEndpointRequest)(nil), "dmi.SetMsgBusEndpointRequest")
1650 proto.RegisterType((*GetMsgBusEndpointResponse)(nil), "dmi.GetMsgBusEndpointResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001651 proto.RegisterType((*EntitiesLogLevel)(nil), "dmi.EntitiesLogLevel")
1652 proto.RegisterType((*SetLogLevelRequest)(nil), "dmi.SetLogLevelRequest")
1653 proto.RegisterType((*SetLogLevelResponse)(nil), "dmi.SetLogLevelResponse")
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001654 proto.RegisterType((*GetLogLevelRequest)(nil), "dmi.GetLogLevelRequest")
1655 proto.RegisterType((*GetLogLevelResponse)(nil), "dmi.GetLogLevelResponse")
1656 proto.RegisterType((*GetLoggableEntitiesRequest)(nil), "dmi.GetLoggableEntitiesRequest")
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301657 proto.RegisterType((*Heartbeat)(nil), "dmi.Heartbeat")
Amit Ghosh09f28362020-06-12 21:52:19 +01001658}
1659
1660func init() { proto.RegisterFile("dmi/hw_management_service.proto", fileDescriptor_eae902e73066286d) }
1661
1662var fileDescriptor_eae902e73066286d = []byte{
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301663 // 1477 bytes of a gzipped FileDescriptorProto
1664 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6e, 0xdb, 0x46,
1665 0x10, 0x2e, 0x49, 0xdb, 0x89, 0xc6, 0x89, 0x23, 0xaf, 0x13, 0x57, 0x66, 0x10, 0xdb, 0x65, 0x90,
1666 0xc6, 0x69, 0x13, 0xc9, 0x50, 0x0e, 0xfd, 0xff, 0x91, 0x2d, 0x86, 0x56, 0x23, 0x91, 0xc2, 0x52,
1667 0x8e, 0x91, 0xa2, 0x28, 0x41, 0x4b, 0x6b, 0x99, 0xa8, 0x48, 0xaa, 0x22, 0xe5, 0xc0, 0x0f, 0xd0,
1668 0x43, 0x1f, 0xa1, 0x87, 0x02, 0x7d, 0x85, 0xf6, 0x58, 0xf4, 0x0d, 0x7a, 0xed, 0xa9, 0x28, 0x50,
1669 0xf4, 0xd8, 0x63, 0xdf, 0xa0, 0xd0, 0x2e, 0xa9, 0x1f, 0x8a, 0x94, 0x64, 0x39, 0x45, 0x73, 0x23,
1670 0x77, 0x67, 0x3f, 0xce, 0xce, 0xf7, 0xed, 0x70, 0x76, 0x60, 0xab, 0x61, 0x5b, 0xb9, 0xd3, 0x17,
1671 0x86, 0x6d, 0x3a, 0x66, 0x93, 0xd8, 0xc4, 0xf1, 0x0d, 0x8f, 0x74, 0xce, 0xac, 0x3a, 0xc9, 0xb6,
1672 0x3b, 0xae, 0xef, 0x22, 0xa1, 0x61, 0x5b, 0xe2, 0x6a, 0xcf, 0xaa, 0xee, 0xda, 0xb6, 0xeb, 0x78,
1673 0x6c, 0x5c, 0xbc, 0xc6, 0x16, 0x06, 0x6f, 0xb7, 0x9b, 0xae, 0xdb, 0x6c, 0x91, 0x1c, 0x7d, 0x3b,
1674 0xee, 0x9e, 0xe4, 0x88, 0xdd, 0xf6, 0xcf, 0xd9, 0xa4, 0xf4, 0x04, 0x32, 0xd5, 0xd3, 0x73, 0xcf,
1675 0xaa, 0x9b, 0xad, 0x92, 0x73, 0x46, 0x1c, 0xdf, 0xed, 0x9c, 0x63, 0xf2, 0x75, 0x97, 0x78, 0x3e,
1676 0x7a, 0x0b, 0x96, 0x1b, 0xa4, 0xf7, 0x39, 0xa3, 0xdb, 0xb5, 0x1a, 0x19, 0x6e, 0x9b, 0xdb, 0x59,
1677 0xce, 0xa7, 0xb2, 0x0d, 0xdb, 0xca, 0x1e, 0x76, 0xad, 0x06, 0x06, 0x36, 0xdb, 0x7b, 0x96, 0x7e,
1678 0xe4, 0x61, 0x23, 0x06, 0xc8, 0x6b, 0xbb, 0x8e, 0x47, 0xd0, 0x5d, 0x58, 0xf2, 0x7c, 0xd3, 0xef,
1679 0x7a, 0x14, 0x64, 0x25, 0xbf, 0x4c, 0x41, 0x74, 0x3a, 0x84, 0x83, 0x29, 0xf4, 0x11, 0x2c, 0x75,
1680 0x88, 0xe9, 0xb9, 0x4e, 0x86, 0xa7, 0x46, 0xf7, 0xa8, 0x51, 0x22, 0x68, 0x16, 0x53, 0x63, 0x1c,
1681 0x2c, 0x42, 0x6f, 0x43, 0xca, 0x0a, 0x6d, 0x32, 0x02, 0xf5, 0xf5, 0x3a, 0x45, 0x38, 0x30, 0x3b,
1682 0x8d, 0x17, 0x66, 0x87, 0xe0, 0xc1, 0x3c, 0xba, 0x0b, 0xd7, 0xd9, 0x32, 0xa3, 0x41, 0x7c, 0xd3,
1683 0x6a, 0x65, 0x16, 0xb6, 0xb9, 0x9d, 0x14, 0xbe, 0xc6, 0x06, 0x8b, 0x74, 0x4c, 0xfa, 0x12, 0x96,
1684 0xd8, 0x37, 0xd0, 0x4d, 0x48, 0x1f, 0xaa, 0x45, 0xf9, 0x49, 0x49, 0x95, 0x8b, 0x06, 0x96, 0x0b,
1685 0xba, 0xa6, 0xa6, 0x5f, 0x43, 0x08, 0x56, 0x0e, 0xd5, 0xa7, 0xaa, 0x76, 0xa4, 0x1a, 0x45, 0xf9,
1686 0x59, 0x69, 0x5f, 0x4e, 0x73, 0xbd, 0xb1, 0x92, 0x5a, 0x93, 0xb1, 0x5a, 0x28, 0x1b, 0x32, 0xc6,
1687 0x1a, 0x4e, 0xf3, 0x68, 0x1d, 0x10, 0x9b, 0x37, 0x0e, 0x55, 0x2c, 0x17, 0xf6, 0x0f, 0x0a, 0x7b,
1688 0x65, 0x39, 0x2d, 0x48, 0x3f, 0x70, 0xb0, 0x71, 0x70, 0xb4, 0xef, 0xda, 0x6d, 0xd7, 0x21, 0x8e,
1689 0x5f, 0x72, 0x4e, 0x5c, 0x85, 0xf8, 0x73, 0x44, 0x1f, 0xed, 0xc2, 0x4a, 0x3d, 0x84, 0x61, 0xe6,
1690 0x7c, 0xd4, 0xfc, 0x7a, 0xdf, 0x80, 0xae, 0xb8, 0x37, 0xbc, 0xc2, 0x31, 0x6d, 0x42, 0x43, 0x96,
1691 0x1a, 0x32, 0x53, 0x4d, 0x9b, 0x48, 0xbf, 0xf2, 0x20, 0xc6, 0xb9, 0x78, 0x11, 0x5e, 0x3f, 0x8e,
1692 0xf0, 0xfa, 0x26, 0x63, 0x25, 0x11, 0x35, 0x4a, 0xec, 0x43, 0x48, 0xf5, 0x9d, 0x0a, 0x88, 0x5d,
1693 0xa1, 0x10, 0x7d, 0x00, 0x3c, 0x30, 0x98, 0x8d, 0xd9, 0xee, 0x1c, 0xcc, 0xde, 0x82, 0xd5, 0x70,
1694 0x6c, 0x5f, 0xab, 0x54, 0x35, 0x55, 0x56, 0x6b, 0x69, 0x3e, 0x86, 0x70, 0x21, 0x81, 0xf0, 0x05,
1695 0xe9, 0xb7, 0x71, 0xc2, 0xf5, 0x57, 0x8b, 0x70, 0x94, 0x87, 0x2b, 0xf5, 0x53, 0xd3, 0x69, 0x12,
1696 0x8f, 0x06, 0x6e, 0x39, 0x9f, 0xa1, 0x88, 0x15, 0xb7, 0x61, 0x9d, 0x58, 0xe6, 0x71, 0x8b, 0x0c,
1697 0x82, 0x1e, 0x1a, 0x4a, 0x3f, 0x8d, 0x8b, 0x44, 0xff, 0x4f, 0x44, 0xa2, 0x27, 0x8b, 0x64, 0x8c,
1698 0x76, 0x21, 0x86, 0xf6, 0x6f, 0xb9, 0x97, 0xcc, 0xfb, 0xb3, 0x42, 0xb9, 0x54, 0x34, 0xaa, 0x05,
1699 0x5c, 0xa8, 0xe8, 0x69, 0x21, 0x46, 0x0b, 0x0b, 0x09, 0x5a, 0x58, 0x94, 0xfe, 0xe0, 0xe1, 0xb6,
1700 0xee, 0x9b, 0x1d, 0xbf, 0xd2, 0xcb, 0xee, 0x96, 0xd3, 0x2c, 0x52, 0x76, 0x2f, 0x16, 0xb5, 0x4f,
1701 0x22, 0x51, 0xbb, 0x1f, 0x1a, 0x25, 0xc1, 0x46, 0xc3, 0x16, 0xd1, 0x9c, 0x30, 0x49, 0x73, 0x33,
1702 0x9d, 0xac, 0x6f, 0xa6, 0x85, 0x58, 0x84, 0xf5, 0x20, 0x1e, 0x85, 0x32, 0x96, 0x0b, 0xc5, 0xe7,
1703 0x46, 0xa5, 0xa0, 0x16, 0x14, 0xb9, 0x98, 0xe6, 0xd0, 0x1b, 0x70, 0x47, 0xab, 0xca, 0xb8, 0x50,
1704 0x2b, 0x69, 0x6a, 0x7f, 0xba, 0xa4, 0x1a, 0x55, 0xac, 0x29, 0x58, 0xd6, 0xf5, 0xd9, 0xc3, 0x2e,
1705 0xe5, 0x60, 0x43, 0xf7, 0xdd, 0x76, 0x34, 0x0a, 0xec, 0xa4, 0x21, 0x58, 0xa0, 0x27, 0x80, 0xa3,
1706 0x1b, 0xa0, 0xcf, 0xd2, 0xef, 0x1c, 0x88, 0x71, 0x2b, 0x2e, 0x2f, 0xe2, 0x64, 0xd4, 0xb9, 0x44,
1707 0x9c, 0xbf, 0xb8, 0x86, 0x25, 0x1b, 0x56, 0xa9, 0x07, 0xa4, 0xc1, 0x1c, 0xe8, 0x1d, 0x26, 0xf4,
1708 0x10, 0x16, 0x2c, 0xe7, 0xc4, 0x0d, 0x12, 0x4d, 0xf2, 0x39, 0xa7, 0x56, 0x51, 0xa5, 0xf0, 0x93,
1709 0x8a, 0x81, 0x3f, 0x39, 0x58, 0x1f, 0xf9, 0x9e, 0x77, 0xb1, 0x38, 0xbe, 0x1f, 0x89, 0xa3, 0xc4,
1710 0x7c, 0x8b, 0x45, 0x8c, 0xc6, 0x70, 0x17, 0xae, 0x30, 0x4f, 0xbc, 0x8c, 0xb0, 0x2d, 0xec, 0x2c,
1711 0xe7, 0xd7, 0xc7, 0x17, 0xf7, 0xb6, 0x8f, 0x43, 0xb3, 0x59, 0x02, 0x1a, 0x91, 0x17, 0x27, 0x7d,
1712 0xcf, 0xc1, 0x86, 0x4e, 0xfc, 0xb2, 0xdb, 0xec, 0xb1, 0x2a, 0x3b, 0x8d, 0xb6, 0x6b, 0x39, 0x73,
1713 0x65, 0xf2, 0x07, 0x90, 0x6e, 0x31, 0x14, 0x83, 0x04, 0x30, 0x74, 0xd7, 0x29, 0x7c, 0xa3, 0x35,
1714 0x8a, 0x3e, 0x6c, 0x4a, 0x8b, 0xb7, 0xba, 0x1b, 0x2a, 0x24, 0x34, 0xad, 0x06, 0xc3, 0xd2, 0x5f,
1715 0x3c, 0xf5, 0x0f, 0x13, 0xdb, 0xf5, 0xc9, 0xc0, 0xbd, 0xcb, 0x97, 0x63, 0x89, 0xa0, 0x73, 0x69,
1716 0xf9, 0x67, 0xee, 0x25, 0x95, 0x58, 0x22, 0xac, 0x97, 0x35, 0x45, 0x29, 0xa9, 0x8a, 0x21, 0xab,
1717 0xc5, 0xaa, 0x56, 0x52, 0x6b, 0xfd, 0xbf, 0xf1, 0x5d, 0xd8, 0x1a, 0x9b, 0xab, 0x62, 0xad, 0xa6,
1718 0xed, 0x6b, 0x83, 0x34, 0xbd, 0x01, 0xb7, 0x2a, 0xba, 0xb2, 0x77, 0xa8, 0x47, 0xd7, 0x2f, 0x26,
1719 0x64, 0xf0, 0xa5, 0x5e, 0x06, 0x17, 0x95, 0x18, 0x0d, 0x5c, 0x3e, 0x63, 0x24, 0xa3, 0x46, 0xa3,
1720 0x1c, 0xa7, 0x1e, 0x61, 0x76, 0xf5, 0x2c, 0xc4, 0xaa, 0x67, 0x9c, 0xbb, 0xc5, 0xff, 0xa1, 0x3a,
1721 0xde, 0x87, 0x8c, 0x4e, 0xfc, 0x8a, 0xd7, 0xdc, 0xeb, 0x7a, 0xd1, 0x03, 0x76, 0x1f, 0x6e, 0xd8,
1722 0x5e, 0xf3, 0xb8, 0xeb, 0x0d, 0x76, 0xcd, 0x72, 0xf9, 0x0a, 0x1b, 0x0e, 0xed, 0xa5, 0xef, 0x78,
1723 0xd8, 0x50, 0xc6, 0x51, 0x2e, 0x7f, 0x0e, 0x12, 0x41, 0xa3, 0x0c, 0xc5, 0xb8, 0x2a, 0xc4, 0xb9,
1724 0x3a, 0xdb, 0xef, 0xf5, 0xb3, 0x8b, 0xe7, 0xaa, 0x84, 0x00, 0xf3, 0xd2, 0x73, 0x48, 0xcb, 0x8e,
1725 0x6f, 0xf9, 0x16, 0xf1, 0xca, 0x6e, 0xb3, 0x4c, 0xce, 0x48, 0x0b, 0x3d, 0x80, 0xab, 0xad, 0xe0,
1726 0x39, 0x88, 0x09, 0xbb, 0x43, 0x85, 0x06, 0xb8, 0x3f, 0x8d, 0x44, 0xb8, 0x4a, 0x82, 0xe5, 0x19,
1727 0x7e, 0x5b, 0xd8, 0x49, 0xe1, 0xfe, 0xbb, 0xd4, 0x05, 0xc4, 0xb2, 0x23, 0x5b, 0x34, 0x47, 0x5a,
1728 0x7c, 0x0c, 0xa9, 0x56, 0xef, 0xd6, 0x7a, 0x46, 0x5a, 0x0c, 0x7e, 0x39, 0x7f, 0x8b, 0x5a, 0x46,
1729 0x5d, 0xc6, 0x03, 0x3b, 0xe9, 0x17, 0x1e, 0xd6, 0x46, 0xbe, 0x1b, 0xf0, 0x7c, 0x91, 0x0f, 0x0f,
1730 0x34, 0xc1, 0x27, 0x6b, 0xe2, 0x9d, 0xbe, 0x26, 0x04, 0x6a, 0xb4, 0x15, 0xe6, 0xc6, 0xe8, 0xa7,
1731 0xa7, 0x66, 0xc5, 0x38, 0x92, 0xcf, 0x5e, 0xde, 0xc9, 0x0a, 0xed, 0xca, 0x5a, 0x2f, 0xf9, 0xd5,
1732 0x4a, 0xb5, 0xe7, 0x13, 0xae, 0x27, 0x5f, 0x00, 0x52, 0x2e, 0xc7, 0xda, 0x24, 0x4d, 0xfc, 0xc3,
1733 0xc3, 0x9a, 0x72, 0x49, 0x72, 0x98, 0x2a, 0xca, 0x33, 0xaa, 0x82, 0xd9, 0x0d, 0x31, 0x2a, 0xcc,
1734 0xc2, 0xe8, 0xc2, 0x10, 0xa3, 0xca, 0x1c, 0x8c, 0x2e, 0xbe, 0x42, 0x8c, 0x1e, 0xf4, 0xff, 0x50,
1735 0xbd, 0x92, 0x2e, 0x0c, 0xd2, 0x3c, 0xfd, 0x9d, 0x0f, 0x21, 0x75, 0x40, 0xcc, 0x8e, 0x7f, 0x4c,
1736 0x4c, 0x1f, 0xe5, 0x60, 0xed, 0x34, 0x7c, 0x31, 0x3c, 0xab, 0xe9, 0x98, 0x7e, 0xb7, 0xc3, 0xca,
1737 0xe9, 0x2b, 0x18, 0xf5, 0xa7, 0xf4, 0x70, 0x26, 0xff, 0xf7, 0x55, 0xd8, 0x50, 0x4d, 0xdf, 0x3a,
1738 0x23, 0x07, 0x47, 0x95, 0x7e, 0x37, 0x4b, 0x67, 0xcd, 0x2c, 0xa4, 0xc3, 0x5a, 0xcc, 0x95, 0x05,
1739 0x25, 0x56, 0xa4, 0xe2, 0xf6, 0xb4, 0x6b, 0xce, 0x2e, 0x87, 0x0e, 0x01, 0x8d, 0x17, 0xde, 0x68,
1740 0x33, 0xb1, 0x22, 0xa7, 0x21, 0x11, 0xb7, 0xa6, 0x54, 0xec, 0xe8, 0x00, 0x56, 0x7b, 0xa9, 0x7f,
1741 0xa4, 0x14, 0x45, 0xeb, 0x59, 0xd6, 0x62, 0xcb, 0x86, 0x2d, 0xb6, 0xac, 0x6c, 0xb7, 0xfd, 0x73,
1742 0xf1, 0xf6, 0x84, 0xba, 0x15, 0x1d, 0xc1, 0x4d, 0x85, 0xf8, 0x63, 0xed, 0x2d, 0x74, 0x27, 0xa9,
1743 0xed, 0xc5, 0x3c, 0xdc, 0x9c, 0xdc, 0x15, 0xdb, 0xe5, 0xd0, 0x11, 0x3d, 0xc6, 0x91, 0xab, 0x73,
1744 0xb0, 0xf3, 0xc4, 0x76, 0x53, 0xb0, 0xf3, 0xe4, 0xae, 0x4c, 0x10, 0xd2, 0x19, 0x81, 0xf5, 0x29,
1745 0xc0, 0xc3, 0xfd, 0x81, 0x5a, 0xf8, 0xb3, 0x18, 0x29, 0x57, 0x36, 0x87, 0x52, 0x6a, 0x4c, 0x8d,
1746 0x2d, 0x6e, 0x4e, 0x2e, 0x47, 0xd1, 0x93, 0x30, 0x99, 0x8d, 0xa0, 0xde, 0x18, 0xe9, 0x08, 0x96,
1747 0x8a, 0xe2, 0xd6, 0x94, 0x82, 0x0b, 0x61, 0x58, 0x1d, 0x2b, 0x43, 0x02, 0x8e, 0x92, 0xca, 0x93,
1748 0xa9, 0xbe, 0x3d, 0x65, 0x22, 0x1a, 0xc5, 0x4c, 0x12, 0xd1, 0xe6, 0xe4, 0x7a, 0x03, 0x55, 0xc3,
1749 0xb4, 0x3a, 0x72, 0xc6, 0xd1, 0xc8, 0xc6, 0x62, 0x4e, 0xbf, 0x98, 0x49, 0xca, 0x70, 0xe8, 0x53,
1750 0x58, 0x1e, 0xfa, 0x95, 0xa1, 0xd7, 0xc7, 0x7f, 0x6e, 0xc3, 0x08, 0x7a, 0x3c, 0x82, 0x32, 0x86,
1751 0xa0, 0x24, 0x21, 0xc4, 0xf9, 0xf0, 0x2e, 0xac, 0xf4, 0xf3, 0xcd, 0xfe, 0x29, 0xa9, 0x7f, 0x95,
1752 0x18, 0x1f, 0xd6, 0x0b, 0xec, 0x1b, 0xef, 0x7d, 0xf0, 0xf9, 0x7b, 0x4d, 0xcb, 0x3f, 0xed, 0x1e,
1753 0x67, 0xeb, 0xae, 0x9d, 0x73, 0xdb, 0xc4, 0xa9, 0xbb, 0x9d, 0x46, 0x8e, 0xe5, 0xb2, 0x47, 0x83,
1754 0x5e, 0xfa, 0x23, 0xcb, 0xf1, 0x49, 0xe7, 0xc4, 0xac, 0x93, 0xdc, 0xd9, 0xe3, 0x5c, 0xd3, 0xcd,
1755 0x35, 0x6c, 0xeb, 0x78, 0x89, 0x82, 0x3f, 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff, 0x9f, 0xef, 0x9c,
1756 0xa9, 0x7b, 0x17, 0x00, 0x00,
Amit Ghosh09f28362020-06-12 21:52:19 +01001757}
1758
1759// Reference imports to suppress errors if they are not otherwise used.
1760var _ context.Context
1761var _ grpc.ClientConn
1762
1763// This is a compile-time assertion to ensure that this generated file
1764// is compatible with the grpc package it is being compiled against.
1765const _ = grpc.SupportPackageIsVersion4
1766
1767// NativeHWManagementServiceClient is the client API for NativeHWManagementService service.
1768//
1769// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1770type NativeHWManagementServiceClient interface {
1771 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01001772 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
1773 // and their meanings in this context is mentioned below:
1774 // name = The unique name that needs to be assigned to this hardware;
1775 // class = COMPONENT_TYPE_UNDEFINED;
1776 // parent = nil;
1777 // alias = Optional;
1778 // asset_id = Optional;
1779 // uri = IP Address of the Hardware;
1780 StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error)
Amit Ghosh366228e2020-07-06 13:46:42 +01001781 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01001782 // This rpc can be called at any time, even before the StartManagingDevice operation
1783 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01001784 StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001785 // Returns an object containing a list of devices managed by this entity
1786 GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001787 // Get the HW inventory details of the Device
1788 GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error)
1789 // Get the details of a particular HW component
1790 GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error)
1791 // Sets the permissible attributes of a HW component
1792 SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001793 // Sets the location to which logs need to be shipped
1794 SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1795 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01001796 GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02001797 // Sets the location of the Message Bus to which events and metrics are shipped
1798 SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error)
1799 // Gets the configured location to which the events and metrics are being shipped
1800 GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001801 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
1802 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
1803 // interface, package etc.
1804 GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01001805 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001806 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
1807 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
1808 SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
1809 // Gets the configured log level for a certain entity on a certain device.
1810 // If no entity is specified in the request all the entities with their log level should be returned.
1811 GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error)
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05301812 // Performs the heartbeat check
1813 HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001814}
1815
1816type nativeHWManagementServiceClient struct {
1817 cc *grpc.ClientConn
1818}
1819
1820func NewNativeHWManagementServiceClient(cc *grpc.ClientConn) NativeHWManagementServiceClient {
1821 return &nativeHWManagementServiceClient{cc}
1822}
1823
Amit Ghosh704462f2020-06-24 16:44:56 +01001824func (c *nativeHWManagementServiceClient) StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error) {
Amit Ghosh09f28362020-06-12 21:52:19 +01001825 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[0], "/dmi.NativeHWManagementService/StartManagingDevice", opts...)
1826 if err != nil {
1827 return nil, err
1828 }
1829 x := &nativeHWManagementServiceStartManagingDeviceClient{stream}
1830 if err := x.ClientStream.SendMsg(in); err != nil {
1831 return nil, err
1832 }
1833 if err := x.ClientStream.CloseSend(); err != nil {
1834 return nil, err
1835 }
1836 return x, nil
1837}
1838
1839type NativeHWManagementService_StartManagingDeviceClient interface {
1840 Recv() (*StartManagingDeviceResponse, error)
1841 grpc.ClientStream
1842}
1843
1844type nativeHWManagementServiceStartManagingDeviceClient struct {
1845 grpc.ClientStream
1846}
1847
1848func (x *nativeHWManagementServiceStartManagingDeviceClient) Recv() (*StartManagingDeviceResponse, error) {
1849 m := new(StartManagingDeviceResponse)
1850 if err := x.ClientStream.RecvMsg(m); err != nil {
1851 return nil, err
1852 }
1853 return m, nil
1854}
1855
Amit Ghosh366228e2020-07-06 13:46:42 +01001856func (c *nativeHWManagementServiceClient) StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) {
1857 out := new(StopManagingDeviceResponse)
1858 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/StopManagingDevice", in, out, opts...)
1859 if err != nil {
1860 return nil, err
1861 }
1862 return out, nil
1863}
1864
Andrea Campanellacb990bc2020-09-22 12:50:56 +02001865func (c *nativeHWManagementServiceClient) GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) {
1866 out := new(ManagedDevicesResponse)
1867 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetManagedDevices", in, out, opts...)
1868 if err != nil {
1869 return nil, err
1870 }
1871 return out, nil
1872}
1873
Amit Ghosh09f28362020-06-12 21:52:19 +01001874func (c *nativeHWManagementServiceClient) GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) {
1875 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[1], "/dmi.NativeHWManagementService/GetPhysicalInventory", opts...)
1876 if err != nil {
1877 return nil, err
1878 }
1879 x := &nativeHWManagementServiceGetPhysicalInventoryClient{stream}
1880 if err := x.ClientStream.SendMsg(in); err != nil {
1881 return nil, err
1882 }
1883 if err := x.ClientStream.CloseSend(); err != nil {
1884 return nil, err
1885 }
1886 return x, nil
1887}
1888
1889type NativeHWManagementService_GetPhysicalInventoryClient interface {
1890 Recv() (*PhysicalInventoryResponse, error)
1891 grpc.ClientStream
1892}
1893
1894type nativeHWManagementServiceGetPhysicalInventoryClient struct {
1895 grpc.ClientStream
1896}
1897
1898func (x *nativeHWManagementServiceGetPhysicalInventoryClient) Recv() (*PhysicalInventoryResponse, error) {
1899 m := new(PhysicalInventoryResponse)
1900 if err := x.ClientStream.RecvMsg(m); err != nil {
1901 return nil, err
1902 }
1903 return m, nil
1904}
1905
1906func (c *nativeHWManagementServiceClient) GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) {
1907 stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[2], "/dmi.NativeHWManagementService/GetHWComponentInfo", opts...)
1908 if err != nil {
1909 return nil, err
1910 }
1911 x := &nativeHWManagementServiceGetHWComponentInfoClient{stream}
1912 if err := x.ClientStream.SendMsg(in); err != nil {
1913 return nil, err
1914 }
1915 if err := x.ClientStream.CloseSend(); err != nil {
1916 return nil, err
1917 }
1918 return x, nil
1919}
1920
1921type NativeHWManagementService_GetHWComponentInfoClient interface {
aghoshc301dcd2020-09-03 16:55:34 +01001922 Recv() (*HWComponentInfoGetResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01001923 grpc.ClientStream
1924}
1925
1926type nativeHWManagementServiceGetHWComponentInfoClient struct {
1927 grpc.ClientStream
1928}
1929
aghoshc301dcd2020-09-03 16:55:34 +01001930func (x *nativeHWManagementServiceGetHWComponentInfoClient) Recv() (*HWComponentInfoGetResponse, error) {
1931 m := new(HWComponentInfoGetResponse)
Amit Ghosh09f28362020-06-12 21:52:19 +01001932 if err := x.ClientStream.RecvMsg(m); err != nil {
1933 return nil, err
1934 }
1935 return m, nil
1936}
1937
1938func (c *nativeHWManagementServiceClient) SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) {
1939 out := new(HWComponentInfoSetResponse)
1940 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetHWComponentInfo", in, out, opts...)
1941 if err != nil {
1942 return nil, err
1943 }
1944 return out, nil
1945}
1946
amit.ghosh188a84f2020-09-27 20:59:25 +02001947func (c *nativeHWManagementServiceClient) SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
1948 out := new(SetRemoteEndpointResponse)
1949 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLoggingEndpoint", in, out, opts...)
1950 if err != nil {
1951 return nil, err
1952 }
1953 return out, nil
1954}
1955
amit.ghosh5d97dba2020-11-12 16:45:27 +01001956func (c *nativeHWManagementServiceClient) GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error) {
amit.ghosh188a84f2020-09-27 20:59:25 +02001957 out := new(GetLoggingEndpointResponse)
1958 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggingEndpoint", in, out, opts...)
1959 if err != nil {
1960 return nil, err
1961 }
1962 return out, nil
1963}
1964
1965func (c *nativeHWManagementServiceClient) SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) {
1966 out := new(SetRemoteEndpointResponse)
1967 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetMsgBusEndpoint", in, out, opts...)
1968 if err != nil {
1969 return nil, err
1970 }
1971 return out, nil
1972}
1973
1974func (c *nativeHWManagementServiceClient) GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) {
1975 out := new(GetMsgBusEndpointResponse)
1976 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetMsgBusEndpoint", in, out, opts...)
1977 if err != nil {
1978 return nil, err
1979 }
1980 return out, nil
1981}
1982
Andrea Campanellab91e9a42020-10-09 14:31:43 +02001983func (c *nativeHWManagementServiceClient) GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
1984 out := new(GetLogLevelResponse)
1985 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggableEntities", in, out, opts...)
1986 if err != nil {
1987 return nil, err
1988 }
1989 return out, nil
1990}
1991
1992func (c *nativeHWManagementServiceClient) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) {
1993 out := new(SetLogLevelResponse)
1994 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLogLevel", in, out, opts...)
1995 if err != nil {
1996 return nil, err
1997 }
1998 return out, nil
1999}
2000
2001func (c *nativeHWManagementServiceClient) GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) {
2002 out := new(GetLogLevelResponse)
2003 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLogLevel", in, out, opts...)
2004 if err != nil {
2005 return nil, err
2006 }
2007 return out, nil
2008}
2009
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302010func (c *nativeHWManagementServiceClient) HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error) {
2011 out := new(Heartbeat)
2012 err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/HeartbeatCheck", in, out, opts...)
2013 if err != nil {
2014 return nil, err
2015 }
2016 return out, nil
2017}
2018
Amit Ghosh09f28362020-06-12 21:52:19 +01002019// NativeHWManagementServiceServer is the server API for NativeHWManagementService service.
2020type NativeHWManagementServiceServer interface {
2021 // Initializes context for a device and sets up required states
Amit Ghosh704462f2020-06-24 16:44:56 +01002022 // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant
2023 // and their meanings in this context is mentioned below:
2024 // name = The unique name that needs to be assigned to this hardware;
2025 // class = COMPONENT_TYPE_UNDEFINED;
2026 // parent = nil;
2027 // alias = Optional;
2028 // asset_id = Optional;
2029 // uri = IP Address of the Hardware;
2030 StartManagingDevice(*ModifiableComponent, NativeHWManagementService_StartManagingDeviceServer) error
Amit Ghosh366228e2020-07-06 13:46:42 +01002031 // Stop management of a device and clean up any context and caches for that device
amit.ghoshae473032021-01-10 11:59:10 +01002032 // This rpc can be called at any time, even before the StartManagingDevice operation
2033 // has completed, and should be able to cleanup.
Amit Ghosh366228e2020-07-06 13:46:42 +01002034 StopManagingDevice(context.Context, *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error)
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002035 // Returns an object containing a list of devices managed by this entity
2036 GetManagedDevices(context.Context, *empty.Empty) (*ManagedDevicesResponse, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002037 // Get the HW inventory details of the Device
2038 GetPhysicalInventory(*PhysicalInventoryRequest, NativeHWManagementService_GetPhysicalInventoryServer) error
2039 // Get the details of a particular HW component
2040 GetHWComponentInfo(*HWComponentInfoGetRequest, NativeHWManagementService_GetHWComponentInfoServer) error
2041 // Sets the permissible attributes of a HW component
2042 SetHWComponentInfo(context.Context, *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002043 // Sets the location to which logs need to be shipped
2044 SetLoggingEndpoint(context.Context, *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error)
2045 // Gets the configured location to which the logs are being shipped
amit.ghosh5d97dba2020-11-12 16:45:27 +01002046 GetLoggingEndpoint(context.Context, *HardwareID) (*GetLoggingEndpointResponse, error)
amit.ghosh188a84f2020-09-27 20:59:25 +02002047 // Sets the location of the Message Bus to which events and metrics are shipped
2048 SetMsgBusEndpoint(context.Context, *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error)
2049 // Gets the configured location to which the events and metrics are being shipped
2050 GetMsgBusEndpoint(context.Context, *empty.Empty) (*GetMsgBusEndpointResponse, error)
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002051 // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc.
2052 // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem,
2053 // interface, package etc.
2054 GetLoggableEntities(context.Context, *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error)
amit.ghosh5d97dba2020-11-12 16:45:27 +01002055 // Sets the log level of the device, for each given entity to a certain level.
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002056 // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
2057 // no entity in the list it's assumed that the caller wants to set that level for all the entities.
2058 SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
2059 // Gets the configured log level for a certain entity on a certain device.
2060 // If no entity is specified in the request all the entities with their log level should be returned.
2061 GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302062 // Performs the heartbeat check
2063 HeartbeatCheck(context.Context, *empty.Empty) (*Heartbeat, error)
Amit Ghosh09f28362020-06-12 21:52:19 +01002064}
2065
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002066// UnimplementedNativeHWManagementServiceServer can be embedded to have forward compatible implementations.
2067type UnimplementedNativeHWManagementServiceServer struct {
2068}
2069
2070func (*UnimplementedNativeHWManagementServiceServer) StartManagingDevice(req *ModifiableComponent, srv NativeHWManagementService_StartManagingDeviceServer) error {
2071 return status.Errorf(codes.Unimplemented, "method StartManagingDevice not implemented")
2072}
2073func (*UnimplementedNativeHWManagementServiceServer) StopManagingDevice(ctx context.Context, req *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error) {
2074 return nil, status.Errorf(codes.Unimplemented, "method StopManagingDevice not implemented")
2075}
2076func (*UnimplementedNativeHWManagementServiceServer) GetManagedDevices(ctx context.Context, req *empty.Empty) (*ManagedDevicesResponse, error) {
2077 return nil, status.Errorf(codes.Unimplemented, "method GetManagedDevices not implemented")
2078}
2079func (*UnimplementedNativeHWManagementServiceServer) GetPhysicalInventory(req *PhysicalInventoryRequest, srv NativeHWManagementService_GetPhysicalInventoryServer) error {
2080 return status.Errorf(codes.Unimplemented, "method GetPhysicalInventory not implemented")
2081}
2082func (*UnimplementedNativeHWManagementServiceServer) GetHWComponentInfo(req *HWComponentInfoGetRequest, srv NativeHWManagementService_GetHWComponentInfoServer) error {
2083 return status.Errorf(codes.Unimplemented, "method GetHWComponentInfo not implemented")
2084}
2085func (*UnimplementedNativeHWManagementServiceServer) SetHWComponentInfo(ctx context.Context, req *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error) {
2086 return nil, status.Errorf(codes.Unimplemented, "method SetHWComponentInfo not implemented")
2087}
2088func (*UnimplementedNativeHWManagementServiceServer) SetLoggingEndpoint(ctx context.Context, req *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error) {
2089 return nil, status.Errorf(codes.Unimplemented, "method SetLoggingEndpoint not implemented")
2090}
2091func (*UnimplementedNativeHWManagementServiceServer) GetLoggingEndpoint(ctx context.Context, req *HardwareID) (*GetLoggingEndpointResponse, error) {
2092 return nil, status.Errorf(codes.Unimplemented, "method GetLoggingEndpoint not implemented")
2093}
2094func (*UnimplementedNativeHWManagementServiceServer) SetMsgBusEndpoint(ctx context.Context, req *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error) {
2095 return nil, status.Errorf(codes.Unimplemented, "method SetMsgBusEndpoint not implemented")
2096}
2097func (*UnimplementedNativeHWManagementServiceServer) GetMsgBusEndpoint(ctx context.Context, req *empty.Empty) (*GetMsgBusEndpointResponse, error) {
2098 return nil, status.Errorf(codes.Unimplemented, "method GetMsgBusEndpoint not implemented")
2099}
2100func (*UnimplementedNativeHWManagementServiceServer) GetLoggableEntities(ctx context.Context, req *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error) {
2101 return nil, status.Errorf(codes.Unimplemented, "method GetLoggableEntities not implemented")
2102}
2103func (*UnimplementedNativeHWManagementServiceServer) SetLogLevel(ctx context.Context, req *SetLogLevelRequest) (*SetLogLevelResponse, error) {
2104 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2105}
2106func (*UnimplementedNativeHWManagementServiceServer) GetLogLevel(ctx context.Context, req *GetLogLevelRequest) (*GetLogLevelResponse, error) {
2107 return nil, status.Errorf(codes.Unimplemented, "method GetLogLevel not implemented")
2108}
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302109func (*UnimplementedNativeHWManagementServiceServer) HeartbeatCheck(ctx context.Context, req *empty.Empty) (*Heartbeat, error) {
2110 return nil, status.Errorf(codes.Unimplemented, "method HeartbeatCheck not implemented")
2111}
Andrea Campanellac795b7d2021-04-14 13:24:44 +02002112
Amit Ghosh09f28362020-06-12 21:52:19 +01002113func RegisterNativeHWManagementServiceServer(s *grpc.Server, srv NativeHWManagementServiceServer) {
2114 s.RegisterService(&_NativeHWManagementService_serviceDesc, srv)
2115}
2116
2117func _NativeHWManagementService_StartManagingDevice_Handler(srv interface{}, stream grpc.ServerStream) error {
Amit Ghosh704462f2020-06-24 16:44:56 +01002118 m := new(ModifiableComponent)
Amit Ghosh09f28362020-06-12 21:52:19 +01002119 if err := stream.RecvMsg(m); err != nil {
2120 return err
2121 }
2122 return srv.(NativeHWManagementServiceServer).StartManagingDevice(m, &nativeHWManagementServiceStartManagingDeviceServer{stream})
2123}
2124
2125type NativeHWManagementService_StartManagingDeviceServer interface {
2126 Send(*StartManagingDeviceResponse) error
2127 grpc.ServerStream
2128}
2129
2130type nativeHWManagementServiceStartManagingDeviceServer struct {
2131 grpc.ServerStream
2132}
2133
2134func (x *nativeHWManagementServiceStartManagingDeviceServer) Send(m *StartManagingDeviceResponse) error {
2135 return x.ServerStream.SendMsg(m)
2136}
2137
Amit Ghosh366228e2020-07-06 13:46:42 +01002138func _NativeHWManagementService_StopManagingDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2139 in := new(StopManagingDeviceRequest)
2140 if err := dec(in); err != nil {
2141 return nil, err
2142 }
2143 if interceptor == nil {
2144 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, in)
2145 }
2146 info := &grpc.UnaryServerInfo{
2147 Server: srv,
2148 FullMethod: "/dmi.NativeHWManagementService/StopManagingDevice",
2149 }
2150 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2151 return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, req.(*StopManagingDeviceRequest))
2152 }
2153 return interceptor(ctx, in, info, handler)
2154}
2155
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002156func _NativeHWManagementService_GetManagedDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2157 in := new(empty.Empty)
2158 if err := dec(in); err != nil {
2159 return nil, err
2160 }
2161 if interceptor == nil {
2162 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, in)
2163 }
2164 info := &grpc.UnaryServerInfo{
2165 Server: srv,
2166 FullMethod: "/dmi.NativeHWManagementService/GetManagedDevices",
2167 }
2168 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2169 return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, req.(*empty.Empty))
2170 }
2171 return interceptor(ctx, in, info, handler)
2172}
2173
Amit Ghosh09f28362020-06-12 21:52:19 +01002174func _NativeHWManagementService_GetPhysicalInventory_Handler(srv interface{}, stream grpc.ServerStream) error {
2175 m := new(PhysicalInventoryRequest)
2176 if err := stream.RecvMsg(m); err != nil {
2177 return err
2178 }
2179 return srv.(NativeHWManagementServiceServer).GetPhysicalInventory(m, &nativeHWManagementServiceGetPhysicalInventoryServer{stream})
2180}
2181
2182type NativeHWManagementService_GetPhysicalInventoryServer interface {
2183 Send(*PhysicalInventoryResponse) error
2184 grpc.ServerStream
2185}
2186
2187type nativeHWManagementServiceGetPhysicalInventoryServer struct {
2188 grpc.ServerStream
2189}
2190
2191func (x *nativeHWManagementServiceGetPhysicalInventoryServer) Send(m *PhysicalInventoryResponse) error {
2192 return x.ServerStream.SendMsg(m)
2193}
2194
2195func _NativeHWManagementService_GetHWComponentInfo_Handler(srv interface{}, stream grpc.ServerStream) error {
2196 m := new(HWComponentInfoGetRequest)
2197 if err := stream.RecvMsg(m); err != nil {
2198 return err
2199 }
2200 return srv.(NativeHWManagementServiceServer).GetHWComponentInfo(m, &nativeHWManagementServiceGetHWComponentInfoServer{stream})
2201}
2202
2203type NativeHWManagementService_GetHWComponentInfoServer interface {
aghoshc301dcd2020-09-03 16:55:34 +01002204 Send(*HWComponentInfoGetResponse) error
Amit Ghosh09f28362020-06-12 21:52:19 +01002205 grpc.ServerStream
2206}
2207
2208type nativeHWManagementServiceGetHWComponentInfoServer struct {
2209 grpc.ServerStream
2210}
2211
aghoshc301dcd2020-09-03 16:55:34 +01002212func (x *nativeHWManagementServiceGetHWComponentInfoServer) Send(m *HWComponentInfoGetResponse) error {
Amit Ghosh09f28362020-06-12 21:52:19 +01002213 return x.ServerStream.SendMsg(m)
2214}
2215
2216func _NativeHWManagementService_SetHWComponentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2217 in := new(HWComponentInfoSetRequest)
2218 if err := dec(in); err != nil {
2219 return nil, err
2220 }
2221 if interceptor == nil {
2222 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, in)
2223 }
2224 info := &grpc.UnaryServerInfo{
2225 Server: srv,
2226 FullMethod: "/dmi.NativeHWManagementService/SetHWComponentInfo",
2227 }
2228 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2229 return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, req.(*HWComponentInfoSetRequest))
2230 }
2231 return interceptor(ctx, in, info, handler)
2232}
2233
amit.ghosh188a84f2020-09-27 20:59:25 +02002234func _NativeHWManagementService_SetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2235 in := new(SetLoggingEndpointRequest)
2236 if err := dec(in); err != nil {
2237 return nil, err
2238 }
2239 if interceptor == nil {
2240 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, in)
2241 }
2242 info := &grpc.UnaryServerInfo{
2243 Server: srv,
2244 FullMethod: "/dmi.NativeHWManagementService/SetLoggingEndpoint",
2245 }
2246 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2247 return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, req.(*SetLoggingEndpointRequest))
2248 }
2249 return interceptor(ctx, in, info, handler)
2250}
2251
2252func _NativeHWManagementService_GetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002253 in := new(HardwareID)
amit.ghosh188a84f2020-09-27 20:59:25 +02002254 if err := dec(in); err != nil {
2255 return nil, err
2256 }
2257 if interceptor == nil {
2258 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, in)
2259 }
2260 info := &grpc.UnaryServerInfo{
2261 Server: srv,
2262 FullMethod: "/dmi.NativeHWManagementService/GetLoggingEndpoint",
2263 }
2264 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
amit.ghosh5d97dba2020-11-12 16:45:27 +01002265 return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, req.(*HardwareID))
amit.ghosh188a84f2020-09-27 20:59:25 +02002266 }
2267 return interceptor(ctx, in, info, handler)
2268}
2269
2270func _NativeHWManagementService_SetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2271 in := new(SetMsgBusEndpointRequest)
2272 if err := dec(in); err != nil {
2273 return nil, err
2274 }
2275 if interceptor == nil {
2276 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, in)
2277 }
2278 info := &grpc.UnaryServerInfo{
2279 Server: srv,
2280 FullMethod: "/dmi.NativeHWManagementService/SetMsgBusEndpoint",
2281 }
2282 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2283 return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, req.(*SetMsgBusEndpointRequest))
2284 }
2285 return interceptor(ctx, in, info, handler)
2286}
2287
2288func _NativeHWManagementService_GetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2289 in := new(empty.Empty)
2290 if err := dec(in); err != nil {
2291 return nil, err
2292 }
2293 if interceptor == nil {
2294 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, in)
2295 }
2296 info := &grpc.UnaryServerInfo{
2297 Server: srv,
2298 FullMethod: "/dmi.NativeHWManagementService/GetMsgBusEndpoint",
2299 }
2300 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2301 return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, req.(*empty.Empty))
2302 }
2303 return interceptor(ctx, in, info, handler)
2304}
2305
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002306func _NativeHWManagementService_GetLoggableEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2307 in := new(GetLoggableEntitiesRequest)
2308 if err := dec(in); err != nil {
2309 return nil, err
2310 }
2311 if interceptor == nil {
2312 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, in)
2313 }
2314 info := &grpc.UnaryServerInfo{
2315 Server: srv,
2316 FullMethod: "/dmi.NativeHWManagementService/GetLoggableEntities",
2317 }
2318 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2319 return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, req.(*GetLoggableEntitiesRequest))
2320 }
2321 return interceptor(ctx, in, info, handler)
2322}
2323
2324func _NativeHWManagementService_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2325 in := new(SetLogLevelRequest)
2326 if err := dec(in); err != nil {
2327 return nil, err
2328 }
2329 if interceptor == nil {
2330 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, in)
2331 }
2332 info := &grpc.UnaryServerInfo{
2333 Server: srv,
2334 FullMethod: "/dmi.NativeHWManagementService/SetLogLevel",
2335 }
2336 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2337 return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, req.(*SetLogLevelRequest))
2338 }
2339 return interceptor(ctx, in, info, handler)
2340}
2341
2342func _NativeHWManagementService_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2343 in := new(GetLogLevelRequest)
2344 if err := dec(in); err != nil {
2345 return nil, err
2346 }
2347 if interceptor == nil {
2348 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, in)
2349 }
2350 info := &grpc.UnaryServerInfo{
2351 Server: srv,
2352 FullMethod: "/dmi.NativeHWManagementService/GetLogLevel",
2353 }
2354 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2355 return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, req.(*GetLogLevelRequest))
2356 }
2357 return interceptor(ctx, in, info, handler)
2358}
2359
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302360func _NativeHWManagementService_HeartbeatCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2361 in := new(empty.Empty)
2362 if err := dec(in); err != nil {
2363 return nil, err
2364 }
2365 if interceptor == nil {
2366 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, in)
2367 }
2368 info := &grpc.UnaryServerInfo{
2369 Server: srv,
2370 FullMethod: "/dmi.NativeHWManagementService/HeartbeatCheck",
2371 }
2372 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2373 return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, req.(*empty.Empty))
2374 }
2375 return interceptor(ctx, in, info, handler)
2376}
2377
Amit Ghosh09f28362020-06-12 21:52:19 +01002378var _NativeHWManagementService_serviceDesc = grpc.ServiceDesc{
2379 ServiceName: "dmi.NativeHWManagementService",
2380 HandlerType: (*NativeHWManagementServiceServer)(nil),
2381 Methods: []grpc.MethodDesc{
2382 {
Amit Ghosh366228e2020-07-06 13:46:42 +01002383 MethodName: "StopManagingDevice",
2384 Handler: _NativeHWManagementService_StopManagingDevice_Handler,
2385 },
2386 {
Andrea Campanellacb990bc2020-09-22 12:50:56 +02002387 MethodName: "GetManagedDevices",
2388 Handler: _NativeHWManagementService_GetManagedDevices_Handler,
2389 },
2390 {
Amit Ghosh09f28362020-06-12 21:52:19 +01002391 MethodName: "SetHWComponentInfo",
2392 Handler: _NativeHWManagementService_SetHWComponentInfo_Handler,
2393 },
amit.ghosh188a84f2020-09-27 20:59:25 +02002394 {
2395 MethodName: "SetLoggingEndpoint",
2396 Handler: _NativeHWManagementService_SetLoggingEndpoint_Handler,
2397 },
2398 {
2399 MethodName: "GetLoggingEndpoint",
2400 Handler: _NativeHWManagementService_GetLoggingEndpoint_Handler,
2401 },
2402 {
2403 MethodName: "SetMsgBusEndpoint",
2404 Handler: _NativeHWManagementService_SetMsgBusEndpoint_Handler,
2405 },
2406 {
2407 MethodName: "GetMsgBusEndpoint",
2408 Handler: _NativeHWManagementService_GetMsgBusEndpoint_Handler,
2409 },
Andrea Campanellab91e9a42020-10-09 14:31:43 +02002410 {
2411 MethodName: "GetLoggableEntities",
2412 Handler: _NativeHWManagementService_GetLoggableEntities_Handler,
2413 },
2414 {
2415 MethodName: "SetLogLevel",
2416 Handler: _NativeHWManagementService_SetLogLevel_Handler,
2417 },
2418 {
2419 MethodName: "GetLogLevel",
2420 Handler: _NativeHWManagementService_GetLogLevel_Handler,
2421 },
Chandrakanth Nalkudre Gowda415b83c2021-04-28 18:01:29 +05302422 {
2423 MethodName: "HeartbeatCheck",
2424 Handler: _NativeHWManagementService_HeartbeatCheck_Handler,
2425 },
Amit Ghosh09f28362020-06-12 21:52:19 +01002426 },
2427 Streams: []grpc.StreamDesc{
2428 {
2429 StreamName: "StartManagingDevice",
2430 Handler: _NativeHWManagementService_StartManagingDevice_Handler,
2431 ServerStreams: true,
2432 },
2433 {
2434 StreamName: "GetPhysicalInventory",
2435 Handler: _NativeHWManagementService_GetPhysicalInventory_Handler,
2436 ServerStreams: true,
2437 },
2438 {
2439 StreamName: "GetHWComponentInfo",
2440 Handler: _NativeHWManagementService_GetHWComponentInfo_Handler,
2441 ServerStreams: true,
2442 },
2443 },
2444 Metadata: "dmi/hw_management_service.proto",
2445}