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