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