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