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