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