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 | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 491 | type DisableHWComponentResponse_Reason int32 |
| 492 | |
| 493 | const ( |
| 494 | DisableHWComponentResponse_UNDEFINED_REASON DisableHWComponentResponse_Reason = 0 |
| 495 | DisableHWComponentResponse_UNKNOWN_DEVICE DisableHWComponentResponse_Reason = 1 |
| 496 | DisableHWComponentResponse_UNKNOWN_COMPONENT DisableHWComponentResponse_Reason = 2 |
| 497 | DisableHWComponentResponse_INTERNAL_ERROR DisableHWComponentResponse_Reason = 3 |
| 498 | DisableHWComponentResponse_DEVICE_UNREACHABLE DisableHWComponentResponse_Reason = 4 |
| 499 | DisableHWComponentResponse_DISABLE_UNSUPPORTED DisableHWComponentResponse_Reason = 5 |
| 500 | DisableHWComponentResponse_INVALID_PARAMS DisableHWComponentResponse_Reason = 6 |
| 501 | ) |
| 502 | |
| 503 | var DisableHWComponentResponse_Reason_name = map[int32]string{ |
| 504 | 0: "UNDEFINED_REASON", |
| 505 | 1: "UNKNOWN_DEVICE", |
| 506 | 2: "UNKNOWN_COMPONENT", |
| 507 | 3: "INTERNAL_ERROR", |
| 508 | 4: "DEVICE_UNREACHABLE", |
| 509 | 5: "DISABLE_UNSUPPORTED", |
| 510 | 6: "INVALID_PARAMS", |
| 511 | } |
| 512 | |
| 513 | var DisableHWComponentResponse_Reason_value = map[string]int32{ |
| 514 | "UNDEFINED_REASON": 0, |
| 515 | "UNKNOWN_DEVICE": 1, |
| 516 | "UNKNOWN_COMPONENT": 2, |
| 517 | "INTERNAL_ERROR": 3, |
| 518 | "DEVICE_UNREACHABLE": 4, |
| 519 | "DISABLE_UNSUPPORTED": 5, |
| 520 | "INVALID_PARAMS": 6, |
| 521 | } |
| 522 | |
| 523 | func (x DisableHWComponentResponse_Reason) String() string { |
| 524 | return proto.EnumName(DisableHWComponentResponse_Reason_name, int32(x)) |
| 525 | } |
| 526 | |
| 527 | func (DisableHWComponentResponse_Reason) EnumDescriptor() ([]byte, []int) { |
| 528 | return fileDescriptor_eae902e73066286d, []int{30, 0} |
| 529 | } |
| 530 | |
| 531 | type ResetHWComponentResponse_Reason int32 |
| 532 | |
| 533 | const ( |
| 534 | ResetHWComponentResponse_UNDEFINED_REASON ResetHWComponentResponse_Reason = 0 |
| 535 | ResetHWComponentResponse_UNKNOWN_DEVICE ResetHWComponentResponse_Reason = 1 |
| 536 | ResetHWComponentResponse_UNKNOWN_COMPONENT ResetHWComponentResponse_Reason = 2 |
| 537 | ResetHWComponentResponse_INTERNAL_ERROR ResetHWComponentResponse_Reason = 3 |
| 538 | ResetHWComponentResponse_DEVICE_UNREACHABLE ResetHWComponentResponse_Reason = 4 |
| 539 | ResetHWComponentResponse_RESET_UNSUPPORTED ResetHWComponentResponse_Reason = 5 |
| 540 | ResetHWComponentResponse_INVALID_PARAMS ResetHWComponentResponse_Reason = 6 |
| 541 | ) |
| 542 | |
| 543 | var ResetHWComponentResponse_Reason_name = map[int32]string{ |
| 544 | 0: "UNDEFINED_REASON", |
| 545 | 1: "UNKNOWN_DEVICE", |
| 546 | 2: "UNKNOWN_COMPONENT", |
| 547 | 3: "INTERNAL_ERROR", |
| 548 | 4: "DEVICE_UNREACHABLE", |
| 549 | 5: "RESET_UNSUPPORTED", |
| 550 | 6: "INVALID_PARAMS", |
| 551 | } |
| 552 | |
| 553 | var ResetHWComponentResponse_Reason_value = map[string]int32{ |
| 554 | "UNDEFINED_REASON": 0, |
| 555 | "UNKNOWN_DEVICE": 1, |
| 556 | "UNKNOWN_COMPONENT": 2, |
| 557 | "INTERNAL_ERROR": 3, |
| 558 | "DEVICE_UNREACHABLE": 4, |
| 559 | "RESET_UNSUPPORTED": 5, |
| 560 | "INVALID_PARAMS": 6, |
| 561 | } |
| 562 | |
| 563 | func (x ResetHWComponentResponse_Reason) String() string { |
| 564 | return proto.EnumName(ResetHWComponentResponse_Reason_name, int32(x)) |
| 565 | } |
| 566 | |
| 567 | func (ResetHWComponentResponse_Reason) EnumDescriptor() ([]byte, []int) { |
| 568 | return fileDescriptor_eae902e73066286d, []int{32, 0} |
| 569 | } |
| 570 | |
| 571 | type EnableHWComponentResponse_Reason int32 |
| 572 | |
| 573 | const ( |
| 574 | EnableHWComponentResponse_UNDEFINED_REASON EnableHWComponentResponse_Reason = 0 |
| 575 | EnableHWComponentResponse_UNKNOWN_DEVICE EnableHWComponentResponse_Reason = 1 |
| 576 | EnableHWComponentResponse_UNKNOWN_COMPONENT EnableHWComponentResponse_Reason = 2 |
| 577 | EnableHWComponentResponse_INTERNAL_ERROR EnableHWComponentResponse_Reason = 3 |
| 578 | EnableHWComponentResponse_DEVICE_UNREACHABLE EnableHWComponentResponse_Reason = 4 |
| 579 | EnableHWComponentResponse_ENABLE_UNSUPPORTED EnableHWComponentResponse_Reason = 5 |
| 580 | EnableHWComponentResponse_INVALID_PARAMS EnableHWComponentResponse_Reason = 6 |
| 581 | ) |
| 582 | |
| 583 | var EnableHWComponentResponse_Reason_name = map[int32]string{ |
| 584 | 0: "UNDEFINED_REASON", |
| 585 | 1: "UNKNOWN_DEVICE", |
| 586 | 2: "UNKNOWN_COMPONENT", |
| 587 | 3: "INTERNAL_ERROR", |
| 588 | 4: "DEVICE_UNREACHABLE", |
| 589 | 5: "ENABLE_UNSUPPORTED", |
| 590 | 6: "INVALID_PARAMS", |
| 591 | } |
| 592 | |
| 593 | var EnableHWComponentResponse_Reason_value = map[string]int32{ |
| 594 | "UNDEFINED_REASON": 0, |
| 595 | "UNKNOWN_DEVICE": 1, |
| 596 | "UNKNOWN_COMPONENT": 2, |
| 597 | "INTERNAL_ERROR": 3, |
| 598 | "DEVICE_UNREACHABLE": 4, |
| 599 | "ENABLE_UNSUPPORTED": 5, |
| 600 | "INVALID_PARAMS": 6, |
| 601 | } |
| 602 | |
| 603 | func (x EnableHWComponentResponse_Reason) String() string { |
| 604 | return proto.EnumName(EnableHWComponentResponse_Reason_name, int32(x)) |
| 605 | } |
| 606 | |
| 607 | func (EnableHWComponentResponse_Reason) EnumDescriptor() ([]byte, []int) { |
| 608 | return fileDescriptor_eae902e73066286d, []int{34, 0} |
| 609 | } |
| 610 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 611 | type PhysicalInventoryRequest struct { |
| 612 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 613 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 614 | XXX_unrecognized []byte `json:"-"` |
| 615 | XXX_sizecache int32 `json:"-"` |
| 616 | } |
| 617 | |
| 618 | func (m *PhysicalInventoryRequest) Reset() { *m = PhysicalInventoryRequest{} } |
| 619 | func (m *PhysicalInventoryRequest) String() string { return proto.CompactTextString(m) } |
| 620 | func (*PhysicalInventoryRequest) ProtoMessage() {} |
| 621 | func (*PhysicalInventoryRequest) Descriptor() ([]byte, []int) { |
| 622 | return fileDescriptor_eae902e73066286d, []int{0} |
| 623 | } |
| 624 | |
| 625 | func (m *PhysicalInventoryRequest) XXX_Unmarshal(b []byte) error { |
| 626 | return xxx_messageInfo_PhysicalInventoryRequest.Unmarshal(m, b) |
| 627 | } |
| 628 | func (m *PhysicalInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 629 | return xxx_messageInfo_PhysicalInventoryRequest.Marshal(b, m, deterministic) |
| 630 | } |
| 631 | func (m *PhysicalInventoryRequest) XXX_Merge(src proto.Message) { |
| 632 | xxx_messageInfo_PhysicalInventoryRequest.Merge(m, src) |
| 633 | } |
| 634 | func (m *PhysicalInventoryRequest) XXX_Size() int { |
| 635 | return xxx_messageInfo_PhysicalInventoryRequest.Size(m) |
| 636 | } |
| 637 | func (m *PhysicalInventoryRequest) XXX_DiscardUnknown() { |
| 638 | xxx_messageInfo_PhysicalInventoryRequest.DiscardUnknown(m) |
| 639 | } |
| 640 | |
| 641 | var xxx_messageInfo_PhysicalInventoryRequest proto.InternalMessageInfo |
| 642 | |
| 643 | func (m *PhysicalInventoryRequest) GetDeviceUuid() *Uuid { |
| 644 | if m != nil { |
| 645 | return m.DeviceUuid |
| 646 | } |
| 647 | return nil |
| 648 | } |
| 649 | |
| 650 | type PhysicalInventoryResponse struct { |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 651 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 652 | Reason PhysicalInventoryResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.PhysicalInventoryResponse_Reason" json:"reason,omitempty"` |
| 653 | Inventory *Hardware `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"` |
| 654 | // It is recommended that upstream components/users of the DMI interface |
| 655 | // do not really interpret/parse the reson_detail, but rather use it for |
| 656 | // display purposes to the end user or use it for logging the error |
| 657 | ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"` |
| 658 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 659 | XXX_unrecognized []byte `json:"-"` |
| 660 | XXX_sizecache int32 `json:"-"` |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 661 | } |
| 662 | |
| 663 | func (m *PhysicalInventoryResponse) Reset() { *m = PhysicalInventoryResponse{} } |
| 664 | func (m *PhysicalInventoryResponse) String() string { return proto.CompactTextString(m) } |
| 665 | func (*PhysicalInventoryResponse) ProtoMessage() {} |
| 666 | func (*PhysicalInventoryResponse) Descriptor() ([]byte, []int) { |
| 667 | return fileDescriptor_eae902e73066286d, []int{1} |
| 668 | } |
| 669 | |
| 670 | func (m *PhysicalInventoryResponse) XXX_Unmarshal(b []byte) error { |
| 671 | return xxx_messageInfo_PhysicalInventoryResponse.Unmarshal(m, b) |
| 672 | } |
| 673 | func (m *PhysicalInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 674 | return xxx_messageInfo_PhysicalInventoryResponse.Marshal(b, m, deterministic) |
| 675 | } |
| 676 | func (m *PhysicalInventoryResponse) XXX_Merge(src proto.Message) { |
| 677 | xxx_messageInfo_PhysicalInventoryResponse.Merge(m, src) |
| 678 | } |
| 679 | func (m *PhysicalInventoryResponse) XXX_Size() int { |
| 680 | return xxx_messageInfo_PhysicalInventoryResponse.Size(m) |
| 681 | } |
| 682 | func (m *PhysicalInventoryResponse) XXX_DiscardUnknown() { |
| 683 | xxx_messageInfo_PhysicalInventoryResponse.DiscardUnknown(m) |
| 684 | } |
| 685 | |
| 686 | var xxx_messageInfo_PhysicalInventoryResponse proto.InternalMessageInfo |
| 687 | |
| 688 | func (m *PhysicalInventoryResponse) GetStatus() Status { |
| 689 | if m != nil { |
| 690 | return m.Status |
| 691 | } |
| 692 | return Status_UNDEFINED_STATUS |
| 693 | } |
| 694 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 695 | func (m *PhysicalInventoryResponse) GetReason() PhysicalInventoryResponse_Reason { |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 696 | if m != nil { |
| 697 | return m.Reason |
| 698 | } |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 699 | return PhysicalInventoryResponse_UNDEFINED_REASON |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 700 | } |
| 701 | |
| 702 | func (m *PhysicalInventoryResponse) GetInventory() *Hardware { |
| 703 | if m != nil { |
| 704 | return m.Inventory |
| 705 | } |
| 706 | return nil |
| 707 | } |
| 708 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 709 | func (m *PhysicalInventoryResponse) GetReasonDetail() string { |
| 710 | if m != nil { |
| 711 | return m.ReasonDetail |
| 712 | } |
| 713 | return "" |
| 714 | } |
| 715 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 716 | type HWComponentInfoGetRequest struct { |
| 717 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 718 | ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"` |
| 719 | ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` |
| 720 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 721 | XXX_unrecognized []byte `json:"-"` |
| 722 | XXX_sizecache int32 `json:"-"` |
| 723 | } |
| 724 | |
| 725 | func (m *HWComponentInfoGetRequest) Reset() { *m = HWComponentInfoGetRequest{} } |
| 726 | func (m *HWComponentInfoGetRequest) String() string { return proto.CompactTextString(m) } |
| 727 | func (*HWComponentInfoGetRequest) ProtoMessage() {} |
| 728 | func (*HWComponentInfoGetRequest) Descriptor() ([]byte, []int) { |
| 729 | return fileDescriptor_eae902e73066286d, []int{2} |
| 730 | } |
| 731 | |
| 732 | func (m *HWComponentInfoGetRequest) XXX_Unmarshal(b []byte) error { |
| 733 | return xxx_messageInfo_HWComponentInfoGetRequest.Unmarshal(m, b) |
| 734 | } |
| 735 | func (m *HWComponentInfoGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 736 | return xxx_messageInfo_HWComponentInfoGetRequest.Marshal(b, m, deterministic) |
| 737 | } |
| 738 | func (m *HWComponentInfoGetRequest) XXX_Merge(src proto.Message) { |
| 739 | xxx_messageInfo_HWComponentInfoGetRequest.Merge(m, src) |
| 740 | } |
| 741 | func (m *HWComponentInfoGetRequest) XXX_Size() int { |
| 742 | return xxx_messageInfo_HWComponentInfoGetRequest.Size(m) |
| 743 | } |
| 744 | func (m *HWComponentInfoGetRequest) XXX_DiscardUnknown() { |
| 745 | xxx_messageInfo_HWComponentInfoGetRequest.DiscardUnknown(m) |
| 746 | } |
| 747 | |
| 748 | var xxx_messageInfo_HWComponentInfoGetRequest proto.InternalMessageInfo |
| 749 | |
| 750 | func (m *HWComponentInfoGetRequest) GetDeviceUuid() *Uuid { |
| 751 | if m != nil { |
| 752 | return m.DeviceUuid |
| 753 | } |
| 754 | return nil |
| 755 | } |
| 756 | |
| 757 | func (m *HWComponentInfoGetRequest) GetComponentUuid() *Uuid { |
| 758 | if m != nil { |
| 759 | return m.ComponentUuid |
| 760 | } |
| 761 | return nil |
| 762 | } |
| 763 | |
| 764 | func (m *HWComponentInfoGetRequest) GetComponentName() string { |
| 765 | if m != nil { |
| 766 | return m.ComponentName |
| 767 | } |
| 768 | return "" |
| 769 | } |
| 770 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 771 | type HWComponentInfoGetResponse struct { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 772 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 773 | Reason HWComponentInfoGetResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.HWComponentInfoGetResponse_Reason" json:"reason,omitempty"` |
| 774 | Component *Component `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"` |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 775 | 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] | 776 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 777 | XXX_unrecognized []byte `json:"-"` |
| 778 | XXX_sizecache int32 `json:"-"` |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 779 | } |
| 780 | |
| 781 | func (m *HWComponentInfoGetResponse) Reset() { *m = HWComponentInfoGetResponse{} } |
| 782 | func (m *HWComponentInfoGetResponse) String() string { return proto.CompactTextString(m) } |
| 783 | func (*HWComponentInfoGetResponse) ProtoMessage() {} |
| 784 | func (*HWComponentInfoGetResponse) Descriptor() ([]byte, []int) { |
| 785 | return fileDescriptor_eae902e73066286d, []int{3} |
| 786 | } |
| 787 | |
| 788 | func (m *HWComponentInfoGetResponse) XXX_Unmarshal(b []byte) error { |
| 789 | return xxx_messageInfo_HWComponentInfoGetResponse.Unmarshal(m, b) |
| 790 | } |
| 791 | func (m *HWComponentInfoGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 792 | return xxx_messageInfo_HWComponentInfoGetResponse.Marshal(b, m, deterministic) |
| 793 | } |
| 794 | func (m *HWComponentInfoGetResponse) XXX_Merge(src proto.Message) { |
| 795 | xxx_messageInfo_HWComponentInfoGetResponse.Merge(m, src) |
| 796 | } |
| 797 | func (m *HWComponentInfoGetResponse) XXX_Size() int { |
| 798 | return xxx_messageInfo_HWComponentInfoGetResponse.Size(m) |
| 799 | } |
| 800 | func (m *HWComponentInfoGetResponse) XXX_DiscardUnknown() { |
| 801 | xxx_messageInfo_HWComponentInfoGetResponse.DiscardUnknown(m) |
| 802 | } |
| 803 | |
| 804 | var xxx_messageInfo_HWComponentInfoGetResponse proto.InternalMessageInfo |
| 805 | |
| 806 | func (m *HWComponentInfoGetResponse) GetStatus() Status { |
| 807 | if m != nil { |
| 808 | return m.Status |
| 809 | } |
| 810 | return Status_UNDEFINED_STATUS |
| 811 | } |
| 812 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 813 | func (m *HWComponentInfoGetResponse) GetReason() HWComponentInfoGetResponse_Reason { |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 814 | if m != nil { |
| 815 | return m.Reason |
| 816 | } |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 817 | return HWComponentInfoGetResponse_UNDEFINED_REASON |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 818 | } |
| 819 | |
| 820 | func (m *HWComponentInfoGetResponse) GetComponent() *Component { |
| 821 | if m != nil { |
| 822 | return m.Component |
| 823 | } |
| 824 | return nil |
| 825 | } |
| 826 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 827 | func (m *HWComponentInfoGetResponse) GetReasonDetail() string { |
| 828 | if m != nil { |
| 829 | return m.ReasonDetail |
| 830 | } |
| 831 | return "" |
| 832 | } |
| 833 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 834 | type HWComponentInfoSetRequest struct { |
| 835 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 836 | ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"` |
| 837 | ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` |
| 838 | Changes *ModifiableComponent `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"` |
| 839 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 840 | XXX_unrecognized []byte `json:"-"` |
| 841 | XXX_sizecache int32 `json:"-"` |
| 842 | } |
| 843 | |
| 844 | func (m *HWComponentInfoSetRequest) Reset() { *m = HWComponentInfoSetRequest{} } |
| 845 | func (m *HWComponentInfoSetRequest) String() string { return proto.CompactTextString(m) } |
| 846 | func (*HWComponentInfoSetRequest) ProtoMessage() {} |
| 847 | func (*HWComponentInfoSetRequest) Descriptor() ([]byte, []int) { |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 848 | return fileDescriptor_eae902e73066286d, []int{4} |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 849 | } |
| 850 | |
| 851 | func (m *HWComponentInfoSetRequest) XXX_Unmarshal(b []byte) error { |
| 852 | return xxx_messageInfo_HWComponentInfoSetRequest.Unmarshal(m, b) |
| 853 | } |
| 854 | func (m *HWComponentInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 855 | return xxx_messageInfo_HWComponentInfoSetRequest.Marshal(b, m, deterministic) |
| 856 | } |
| 857 | func (m *HWComponentInfoSetRequest) XXX_Merge(src proto.Message) { |
| 858 | xxx_messageInfo_HWComponentInfoSetRequest.Merge(m, src) |
| 859 | } |
| 860 | func (m *HWComponentInfoSetRequest) XXX_Size() int { |
| 861 | return xxx_messageInfo_HWComponentInfoSetRequest.Size(m) |
| 862 | } |
| 863 | func (m *HWComponentInfoSetRequest) XXX_DiscardUnknown() { |
| 864 | xxx_messageInfo_HWComponentInfoSetRequest.DiscardUnknown(m) |
| 865 | } |
| 866 | |
| 867 | var xxx_messageInfo_HWComponentInfoSetRequest proto.InternalMessageInfo |
| 868 | |
| 869 | func (m *HWComponentInfoSetRequest) GetDeviceUuid() *Uuid { |
| 870 | if m != nil { |
| 871 | return m.DeviceUuid |
| 872 | } |
| 873 | return nil |
| 874 | } |
| 875 | |
| 876 | func (m *HWComponentInfoSetRequest) GetComponentUuid() *Uuid { |
| 877 | if m != nil { |
| 878 | return m.ComponentUuid |
| 879 | } |
| 880 | return nil |
| 881 | } |
| 882 | |
| 883 | func (m *HWComponentInfoSetRequest) GetComponentName() string { |
| 884 | if m != nil { |
| 885 | return m.ComponentName |
| 886 | } |
| 887 | return "" |
| 888 | } |
| 889 | |
| 890 | func (m *HWComponentInfoSetRequest) GetChanges() *ModifiableComponent { |
| 891 | if m != nil { |
| 892 | return m.Changes |
| 893 | } |
| 894 | return nil |
| 895 | } |
| 896 | |
| 897 | type HWComponentInfoSetResponse struct { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 898 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 899 | 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] | 900 | 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] | 901 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 902 | XXX_unrecognized []byte `json:"-"` |
| 903 | XXX_sizecache int32 `json:"-"` |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 904 | } |
| 905 | |
| 906 | func (m *HWComponentInfoSetResponse) Reset() { *m = HWComponentInfoSetResponse{} } |
| 907 | func (m *HWComponentInfoSetResponse) String() string { return proto.CompactTextString(m) } |
| 908 | func (*HWComponentInfoSetResponse) ProtoMessage() {} |
| 909 | func (*HWComponentInfoSetResponse) Descriptor() ([]byte, []int) { |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 910 | return fileDescriptor_eae902e73066286d, []int{5} |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 911 | } |
| 912 | |
| 913 | func (m *HWComponentInfoSetResponse) XXX_Unmarshal(b []byte) error { |
| 914 | return xxx_messageInfo_HWComponentInfoSetResponse.Unmarshal(m, b) |
| 915 | } |
| 916 | func (m *HWComponentInfoSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 917 | return xxx_messageInfo_HWComponentInfoSetResponse.Marshal(b, m, deterministic) |
| 918 | } |
| 919 | func (m *HWComponentInfoSetResponse) XXX_Merge(src proto.Message) { |
| 920 | xxx_messageInfo_HWComponentInfoSetResponse.Merge(m, src) |
| 921 | } |
| 922 | func (m *HWComponentInfoSetResponse) XXX_Size() int { |
| 923 | return xxx_messageInfo_HWComponentInfoSetResponse.Size(m) |
| 924 | } |
| 925 | func (m *HWComponentInfoSetResponse) XXX_DiscardUnknown() { |
| 926 | xxx_messageInfo_HWComponentInfoSetResponse.DiscardUnknown(m) |
| 927 | } |
| 928 | |
| 929 | var xxx_messageInfo_HWComponentInfoSetResponse proto.InternalMessageInfo |
| 930 | |
| 931 | func (m *HWComponentInfoSetResponse) GetStatus() Status { |
| 932 | if m != nil { |
| 933 | return m.Status |
| 934 | } |
| 935 | return Status_UNDEFINED_STATUS |
| 936 | } |
| 937 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 938 | func (m *HWComponentInfoSetResponse) GetReason() HWComponentInfoSetResponse_Reason { |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 939 | if m != nil { |
| 940 | return m.Reason |
| 941 | } |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 942 | return HWComponentInfoSetResponse_UNDEFINED_REASON |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 943 | } |
| 944 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 945 | func (m *HWComponentInfoSetResponse) GetReasonDetail() string { |
| 946 | if m != nil { |
| 947 | return m.ReasonDetail |
| 948 | } |
| 949 | return "" |
| 950 | } |
| 951 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 952 | type StartManagingDeviceResponse struct { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 953 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 954 | Reason StartManagingDeviceResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartManagingDeviceResponse_Reason" json:"reason,omitempty"` |
| 955 | 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] | 956 | 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] | 957 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 958 | XXX_unrecognized []byte `json:"-"` |
| 959 | XXX_sizecache int32 `json:"-"` |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 960 | } |
| 961 | |
| 962 | func (m *StartManagingDeviceResponse) Reset() { *m = StartManagingDeviceResponse{} } |
| 963 | func (m *StartManagingDeviceResponse) String() string { return proto.CompactTextString(m) } |
| 964 | func (*StartManagingDeviceResponse) ProtoMessage() {} |
| 965 | func (*StartManagingDeviceResponse) Descriptor() ([]byte, []int) { |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 966 | return fileDescriptor_eae902e73066286d, []int{6} |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 967 | } |
| 968 | |
| 969 | func (m *StartManagingDeviceResponse) XXX_Unmarshal(b []byte) error { |
| 970 | return xxx_messageInfo_StartManagingDeviceResponse.Unmarshal(m, b) |
| 971 | } |
| 972 | func (m *StartManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 973 | return xxx_messageInfo_StartManagingDeviceResponse.Marshal(b, m, deterministic) |
| 974 | } |
| 975 | func (m *StartManagingDeviceResponse) XXX_Merge(src proto.Message) { |
| 976 | xxx_messageInfo_StartManagingDeviceResponse.Merge(m, src) |
| 977 | } |
| 978 | func (m *StartManagingDeviceResponse) XXX_Size() int { |
| 979 | return xxx_messageInfo_StartManagingDeviceResponse.Size(m) |
| 980 | } |
| 981 | func (m *StartManagingDeviceResponse) XXX_DiscardUnknown() { |
| 982 | xxx_messageInfo_StartManagingDeviceResponse.DiscardUnknown(m) |
| 983 | } |
| 984 | |
| 985 | var xxx_messageInfo_StartManagingDeviceResponse proto.InternalMessageInfo |
| 986 | |
| 987 | func (m *StartManagingDeviceResponse) GetStatus() Status { |
| 988 | if m != nil { |
| 989 | return m.Status |
| 990 | } |
| 991 | return Status_UNDEFINED_STATUS |
| 992 | } |
| 993 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 994 | func (m *StartManagingDeviceResponse) GetReason() StartManagingDeviceResponse_Reason { |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 995 | if m != nil { |
| 996 | return m.Reason |
| 997 | } |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 998 | return StartManagingDeviceResponse_UNDEFINED_REASON |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 999 | } |
| 1000 | |
| 1001 | func (m *StartManagingDeviceResponse) GetDeviceUuid() *Uuid { |
| 1002 | if m != nil { |
| 1003 | return m.DeviceUuid |
| 1004 | } |
| 1005 | return nil |
| 1006 | } |
| 1007 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 1008 | func (m *StartManagingDeviceResponse) GetReasonDetail() string { |
| 1009 | if m != nil { |
| 1010 | return m.ReasonDetail |
| 1011 | } |
| 1012 | return "" |
| 1013 | } |
| 1014 | |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 1015 | type StopManagingDeviceRequest struct { |
| 1016 | Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 1017 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1018 | XXX_unrecognized []byte `json:"-"` |
| 1019 | XXX_sizecache int32 `json:"-"` |
| 1020 | } |
| 1021 | |
| 1022 | func (m *StopManagingDeviceRequest) Reset() { *m = StopManagingDeviceRequest{} } |
| 1023 | func (m *StopManagingDeviceRequest) String() string { return proto.CompactTextString(m) } |
| 1024 | func (*StopManagingDeviceRequest) ProtoMessage() {} |
| 1025 | func (*StopManagingDeviceRequest) Descriptor() ([]byte, []int) { |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 1026 | return fileDescriptor_eae902e73066286d, []int{7} |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 1027 | } |
| 1028 | |
| 1029 | func (m *StopManagingDeviceRequest) XXX_Unmarshal(b []byte) error { |
| 1030 | return xxx_messageInfo_StopManagingDeviceRequest.Unmarshal(m, b) |
| 1031 | } |
| 1032 | func (m *StopManagingDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1033 | return xxx_messageInfo_StopManagingDeviceRequest.Marshal(b, m, deterministic) |
| 1034 | } |
| 1035 | func (m *StopManagingDeviceRequest) XXX_Merge(src proto.Message) { |
| 1036 | xxx_messageInfo_StopManagingDeviceRequest.Merge(m, src) |
| 1037 | } |
| 1038 | func (m *StopManagingDeviceRequest) XXX_Size() int { |
| 1039 | return xxx_messageInfo_StopManagingDeviceRequest.Size(m) |
| 1040 | } |
| 1041 | func (m *StopManagingDeviceRequest) XXX_DiscardUnknown() { |
| 1042 | xxx_messageInfo_StopManagingDeviceRequest.DiscardUnknown(m) |
| 1043 | } |
| 1044 | |
| 1045 | var xxx_messageInfo_StopManagingDeviceRequest proto.InternalMessageInfo |
| 1046 | |
| 1047 | func (m *StopManagingDeviceRequest) GetName() string { |
| 1048 | if m != nil { |
| 1049 | return m.Name |
| 1050 | } |
| 1051 | return "" |
| 1052 | } |
| 1053 | |
| 1054 | type StopManagingDeviceResponse struct { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1055 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 1056 | 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] | 1057 | 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] | 1058 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1059 | XXX_unrecognized []byte `json:"-"` |
| 1060 | XXX_sizecache int32 `json:"-"` |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 1061 | } |
| 1062 | |
| 1063 | func (m *StopManagingDeviceResponse) Reset() { *m = StopManagingDeviceResponse{} } |
| 1064 | func (m *StopManagingDeviceResponse) String() string { return proto.CompactTextString(m) } |
| 1065 | func (*StopManagingDeviceResponse) ProtoMessage() {} |
| 1066 | func (*StopManagingDeviceResponse) Descriptor() ([]byte, []int) { |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 1067 | return fileDescriptor_eae902e73066286d, []int{8} |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 1068 | } |
| 1069 | |
| 1070 | func (m *StopManagingDeviceResponse) XXX_Unmarshal(b []byte) error { |
| 1071 | return xxx_messageInfo_StopManagingDeviceResponse.Unmarshal(m, b) |
| 1072 | } |
| 1073 | func (m *StopManagingDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1074 | return xxx_messageInfo_StopManagingDeviceResponse.Marshal(b, m, deterministic) |
| 1075 | } |
| 1076 | func (m *StopManagingDeviceResponse) XXX_Merge(src proto.Message) { |
| 1077 | xxx_messageInfo_StopManagingDeviceResponse.Merge(m, src) |
| 1078 | } |
| 1079 | func (m *StopManagingDeviceResponse) XXX_Size() int { |
| 1080 | return xxx_messageInfo_StopManagingDeviceResponse.Size(m) |
| 1081 | } |
| 1082 | func (m *StopManagingDeviceResponse) XXX_DiscardUnknown() { |
| 1083 | xxx_messageInfo_StopManagingDeviceResponse.DiscardUnknown(m) |
| 1084 | } |
| 1085 | |
| 1086 | var xxx_messageInfo_StopManagingDeviceResponse proto.InternalMessageInfo |
| 1087 | |
| 1088 | func (m *StopManagingDeviceResponse) GetStatus() Status { |
| 1089 | if m != nil { |
| 1090 | return m.Status |
| 1091 | } |
| 1092 | return Status_UNDEFINED_STATUS |
| 1093 | } |
| 1094 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1095 | func (m *StopManagingDeviceResponse) GetReason() StopManagingDeviceResponse_Reason { |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 1096 | if m != nil { |
| 1097 | return m.Reason |
| 1098 | } |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1099 | return StopManagingDeviceResponse_UNDEFINED_REASON |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 1100 | } |
| 1101 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 1102 | func (m *StopManagingDeviceResponse) GetReasonDetail() string { |
| 1103 | if m != nil { |
| 1104 | return m.ReasonDetail |
| 1105 | } |
| 1106 | return "" |
| 1107 | } |
| 1108 | |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1109 | type ManagedDeviceInfo struct { |
| 1110 | Info *ModifiableComponent `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` |
| 1111 | DeviceUuid *Uuid `protobuf:"bytes,2,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 1112 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1113 | XXX_unrecognized []byte `json:"-"` |
| 1114 | XXX_sizecache int32 `json:"-"` |
| 1115 | } |
| 1116 | |
| 1117 | func (m *ManagedDeviceInfo) Reset() { *m = ManagedDeviceInfo{} } |
| 1118 | func (m *ManagedDeviceInfo) String() string { return proto.CompactTextString(m) } |
| 1119 | func (*ManagedDeviceInfo) ProtoMessage() {} |
| 1120 | func (*ManagedDeviceInfo) Descriptor() ([]byte, []int) { |
| 1121 | return fileDescriptor_eae902e73066286d, []int{9} |
| 1122 | } |
| 1123 | |
| 1124 | func (m *ManagedDeviceInfo) XXX_Unmarshal(b []byte) error { |
| 1125 | return xxx_messageInfo_ManagedDeviceInfo.Unmarshal(m, b) |
| 1126 | } |
| 1127 | func (m *ManagedDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1128 | return xxx_messageInfo_ManagedDeviceInfo.Marshal(b, m, deterministic) |
| 1129 | } |
| 1130 | func (m *ManagedDeviceInfo) XXX_Merge(src proto.Message) { |
| 1131 | xxx_messageInfo_ManagedDeviceInfo.Merge(m, src) |
| 1132 | } |
| 1133 | func (m *ManagedDeviceInfo) XXX_Size() int { |
| 1134 | return xxx_messageInfo_ManagedDeviceInfo.Size(m) |
| 1135 | } |
| 1136 | func (m *ManagedDeviceInfo) XXX_DiscardUnknown() { |
| 1137 | xxx_messageInfo_ManagedDeviceInfo.DiscardUnknown(m) |
| 1138 | } |
| 1139 | |
| 1140 | var xxx_messageInfo_ManagedDeviceInfo proto.InternalMessageInfo |
| 1141 | |
| 1142 | func (m *ManagedDeviceInfo) GetInfo() *ModifiableComponent { |
| 1143 | if m != nil { |
| 1144 | return m.Info |
| 1145 | } |
| 1146 | return nil |
| 1147 | } |
| 1148 | |
| 1149 | func (m *ManagedDeviceInfo) GetDeviceUuid() *Uuid { |
| 1150 | if m != nil { |
| 1151 | return m.DeviceUuid |
| 1152 | } |
| 1153 | return nil |
| 1154 | } |
| 1155 | |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 1156 | type ManagedDevicesResponse struct { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1157 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 1158 | Reason ManagedDevicesResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.ManagedDevicesResponse_Reason" json:"reason,omitempty"` |
| 1159 | Devices []*ManagedDeviceInfo `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"` |
| 1160 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1161 | XXX_unrecognized []byte `json:"-"` |
| 1162 | XXX_sizecache int32 `json:"-"` |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 1163 | } |
| 1164 | |
| 1165 | func (m *ManagedDevicesResponse) Reset() { *m = ManagedDevicesResponse{} } |
| 1166 | func (m *ManagedDevicesResponse) String() string { return proto.CompactTextString(m) } |
| 1167 | func (*ManagedDevicesResponse) ProtoMessage() {} |
| 1168 | func (*ManagedDevicesResponse) Descriptor() ([]byte, []int) { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1169 | return fileDescriptor_eae902e73066286d, []int{10} |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 1170 | } |
| 1171 | |
| 1172 | func (m *ManagedDevicesResponse) XXX_Unmarshal(b []byte) error { |
| 1173 | return xxx_messageInfo_ManagedDevicesResponse.Unmarshal(m, b) |
| 1174 | } |
| 1175 | func (m *ManagedDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1176 | return xxx_messageInfo_ManagedDevicesResponse.Marshal(b, m, deterministic) |
| 1177 | } |
| 1178 | func (m *ManagedDevicesResponse) XXX_Merge(src proto.Message) { |
| 1179 | xxx_messageInfo_ManagedDevicesResponse.Merge(m, src) |
| 1180 | } |
| 1181 | func (m *ManagedDevicesResponse) XXX_Size() int { |
| 1182 | return xxx_messageInfo_ManagedDevicesResponse.Size(m) |
| 1183 | } |
| 1184 | func (m *ManagedDevicesResponse) XXX_DiscardUnknown() { |
| 1185 | xxx_messageInfo_ManagedDevicesResponse.DiscardUnknown(m) |
| 1186 | } |
| 1187 | |
| 1188 | var xxx_messageInfo_ManagedDevicesResponse proto.InternalMessageInfo |
| 1189 | |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1190 | func (m *ManagedDevicesResponse) GetStatus() Status { |
| 1191 | if m != nil { |
| 1192 | return m.Status |
| 1193 | } |
| 1194 | return Status_UNDEFINED_STATUS |
| 1195 | } |
| 1196 | |
| 1197 | func (m *ManagedDevicesResponse) GetReason() ManagedDevicesResponse_Reason { |
| 1198 | if m != nil { |
| 1199 | return m.Reason |
| 1200 | } |
| 1201 | return ManagedDevicesResponse_UNDEFINED_REASON |
| 1202 | } |
| 1203 | |
| 1204 | func (m *ManagedDevicesResponse) GetDevices() []*ManagedDeviceInfo { |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 1205 | if m != nil { |
| 1206 | return m.Devices |
| 1207 | } |
| 1208 | return nil |
| 1209 | } |
| 1210 | |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1211 | type SetLoggingEndpointRequest struct { |
| 1212 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 1213 | LoggingEndpoint string `protobuf:"bytes,2,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"` |
| 1214 | LoggingProtocol string `protobuf:"bytes,3,opt,name=logging_protocol,json=loggingProtocol,proto3" json:"logging_protocol,omitempty"` |
| 1215 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1216 | XXX_unrecognized []byte `json:"-"` |
| 1217 | XXX_sizecache int32 `json:"-"` |
| 1218 | } |
| 1219 | |
| 1220 | func (m *SetLoggingEndpointRequest) Reset() { *m = SetLoggingEndpointRequest{} } |
| 1221 | func (m *SetLoggingEndpointRequest) String() string { return proto.CompactTextString(m) } |
| 1222 | func (*SetLoggingEndpointRequest) ProtoMessage() {} |
| 1223 | func (*SetLoggingEndpointRequest) Descriptor() ([]byte, []int) { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1224 | return fileDescriptor_eae902e73066286d, []int{11} |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1225 | } |
| 1226 | |
| 1227 | func (m *SetLoggingEndpointRequest) XXX_Unmarshal(b []byte) error { |
| 1228 | return xxx_messageInfo_SetLoggingEndpointRequest.Unmarshal(m, b) |
| 1229 | } |
| 1230 | func (m *SetLoggingEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1231 | return xxx_messageInfo_SetLoggingEndpointRequest.Marshal(b, m, deterministic) |
| 1232 | } |
| 1233 | func (m *SetLoggingEndpointRequest) XXX_Merge(src proto.Message) { |
| 1234 | xxx_messageInfo_SetLoggingEndpointRequest.Merge(m, src) |
| 1235 | } |
| 1236 | func (m *SetLoggingEndpointRequest) XXX_Size() int { |
| 1237 | return xxx_messageInfo_SetLoggingEndpointRequest.Size(m) |
| 1238 | } |
| 1239 | func (m *SetLoggingEndpointRequest) XXX_DiscardUnknown() { |
| 1240 | xxx_messageInfo_SetLoggingEndpointRequest.DiscardUnknown(m) |
| 1241 | } |
| 1242 | |
| 1243 | var xxx_messageInfo_SetLoggingEndpointRequest proto.InternalMessageInfo |
| 1244 | |
| 1245 | func (m *SetLoggingEndpointRequest) GetDeviceUuid() *Uuid { |
| 1246 | if m != nil { |
| 1247 | return m.DeviceUuid |
| 1248 | } |
| 1249 | return nil |
| 1250 | } |
| 1251 | |
| 1252 | func (m *SetLoggingEndpointRequest) GetLoggingEndpoint() string { |
| 1253 | if m != nil { |
| 1254 | return m.LoggingEndpoint |
| 1255 | } |
| 1256 | return "" |
| 1257 | } |
| 1258 | |
| 1259 | func (m *SetLoggingEndpointRequest) GetLoggingProtocol() string { |
| 1260 | if m != nil { |
| 1261 | return m.LoggingProtocol |
| 1262 | } |
| 1263 | return "" |
| 1264 | } |
| 1265 | |
| 1266 | type SetRemoteEndpointResponse struct { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1267 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 1268 | 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] | 1269 | 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] | 1270 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1271 | XXX_unrecognized []byte `json:"-"` |
| 1272 | XXX_sizecache int32 `json:"-"` |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1273 | } |
| 1274 | |
| 1275 | func (m *SetRemoteEndpointResponse) Reset() { *m = SetRemoteEndpointResponse{} } |
| 1276 | func (m *SetRemoteEndpointResponse) String() string { return proto.CompactTextString(m) } |
| 1277 | func (*SetRemoteEndpointResponse) ProtoMessage() {} |
| 1278 | func (*SetRemoteEndpointResponse) Descriptor() ([]byte, []int) { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1279 | return fileDescriptor_eae902e73066286d, []int{12} |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1280 | } |
| 1281 | |
| 1282 | func (m *SetRemoteEndpointResponse) XXX_Unmarshal(b []byte) error { |
| 1283 | return xxx_messageInfo_SetRemoteEndpointResponse.Unmarshal(m, b) |
| 1284 | } |
| 1285 | func (m *SetRemoteEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1286 | return xxx_messageInfo_SetRemoteEndpointResponse.Marshal(b, m, deterministic) |
| 1287 | } |
| 1288 | func (m *SetRemoteEndpointResponse) XXX_Merge(src proto.Message) { |
| 1289 | xxx_messageInfo_SetRemoteEndpointResponse.Merge(m, src) |
| 1290 | } |
| 1291 | func (m *SetRemoteEndpointResponse) XXX_Size() int { |
| 1292 | return xxx_messageInfo_SetRemoteEndpointResponse.Size(m) |
| 1293 | } |
| 1294 | func (m *SetRemoteEndpointResponse) XXX_DiscardUnknown() { |
| 1295 | xxx_messageInfo_SetRemoteEndpointResponse.DiscardUnknown(m) |
| 1296 | } |
| 1297 | |
| 1298 | var xxx_messageInfo_SetRemoteEndpointResponse proto.InternalMessageInfo |
| 1299 | |
| 1300 | func (m *SetRemoteEndpointResponse) GetStatus() Status { |
| 1301 | if m != nil { |
| 1302 | return m.Status |
| 1303 | } |
| 1304 | return Status_UNDEFINED_STATUS |
| 1305 | } |
| 1306 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1307 | func (m *SetRemoteEndpointResponse) GetReason() SetRemoteEndpointResponse_Reason { |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1308 | if m != nil { |
| 1309 | return m.Reason |
| 1310 | } |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1311 | return SetRemoteEndpointResponse_UNDEFINED_REASON |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1312 | } |
| 1313 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 1314 | func (m *SetRemoteEndpointResponse) GetReasonDetail() string { |
| 1315 | if m != nil { |
| 1316 | return m.ReasonDetail |
| 1317 | } |
| 1318 | return "" |
| 1319 | } |
| 1320 | |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1321 | type GetLoggingEndpointResponse struct { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1322 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 1323 | Reason GetLoggingEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetLoggingEndpointResponse_Reason" json:"reason,omitempty"` |
| 1324 | LoggingEndpoint string `protobuf:"bytes,3,opt,name=logging_endpoint,json=loggingEndpoint,proto3" json:"logging_endpoint,omitempty"` |
| 1325 | 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] | 1326 | 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] | 1327 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1328 | XXX_unrecognized []byte `json:"-"` |
| 1329 | XXX_sizecache int32 `json:"-"` |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1330 | } |
| 1331 | |
| 1332 | func (m *GetLoggingEndpointResponse) Reset() { *m = GetLoggingEndpointResponse{} } |
| 1333 | func (m *GetLoggingEndpointResponse) String() string { return proto.CompactTextString(m) } |
| 1334 | func (*GetLoggingEndpointResponse) ProtoMessage() {} |
| 1335 | func (*GetLoggingEndpointResponse) Descriptor() ([]byte, []int) { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1336 | return fileDescriptor_eae902e73066286d, []int{13} |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1337 | } |
| 1338 | |
| 1339 | func (m *GetLoggingEndpointResponse) XXX_Unmarshal(b []byte) error { |
| 1340 | return xxx_messageInfo_GetLoggingEndpointResponse.Unmarshal(m, b) |
| 1341 | } |
| 1342 | func (m *GetLoggingEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1343 | return xxx_messageInfo_GetLoggingEndpointResponse.Marshal(b, m, deterministic) |
| 1344 | } |
| 1345 | func (m *GetLoggingEndpointResponse) XXX_Merge(src proto.Message) { |
| 1346 | xxx_messageInfo_GetLoggingEndpointResponse.Merge(m, src) |
| 1347 | } |
| 1348 | func (m *GetLoggingEndpointResponse) XXX_Size() int { |
| 1349 | return xxx_messageInfo_GetLoggingEndpointResponse.Size(m) |
| 1350 | } |
| 1351 | func (m *GetLoggingEndpointResponse) XXX_DiscardUnknown() { |
| 1352 | xxx_messageInfo_GetLoggingEndpointResponse.DiscardUnknown(m) |
| 1353 | } |
| 1354 | |
| 1355 | var xxx_messageInfo_GetLoggingEndpointResponse proto.InternalMessageInfo |
| 1356 | |
| 1357 | func (m *GetLoggingEndpointResponse) GetStatus() Status { |
| 1358 | if m != nil { |
| 1359 | return m.Status |
| 1360 | } |
| 1361 | return Status_UNDEFINED_STATUS |
| 1362 | } |
| 1363 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1364 | func (m *GetLoggingEndpointResponse) GetReason() GetLoggingEndpointResponse_Reason { |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1365 | if m != nil { |
| 1366 | return m.Reason |
| 1367 | } |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1368 | return GetLoggingEndpointResponse_UNDEFINED_REASON |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1369 | } |
| 1370 | |
| 1371 | func (m *GetLoggingEndpointResponse) GetLoggingEndpoint() string { |
| 1372 | if m != nil { |
| 1373 | return m.LoggingEndpoint |
| 1374 | } |
| 1375 | return "" |
| 1376 | } |
| 1377 | |
| 1378 | func (m *GetLoggingEndpointResponse) GetLoggingProtocol() string { |
| 1379 | if m != nil { |
| 1380 | return m.LoggingProtocol |
| 1381 | } |
| 1382 | return "" |
| 1383 | } |
| 1384 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 1385 | func (m *GetLoggingEndpointResponse) GetReasonDetail() string { |
| 1386 | if m != nil { |
| 1387 | return m.ReasonDetail |
| 1388 | } |
| 1389 | return "" |
| 1390 | } |
| 1391 | |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1392 | type SetMsgBusEndpointRequest struct { |
| 1393 | MsgbusEndpoint string `protobuf:"bytes,1,opt,name=msgbus_endpoint,json=msgbusEndpoint,proto3" json:"msgbus_endpoint,omitempty"` |
| 1394 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1395 | XXX_unrecognized []byte `json:"-"` |
| 1396 | XXX_sizecache int32 `json:"-"` |
| 1397 | } |
| 1398 | |
| 1399 | func (m *SetMsgBusEndpointRequest) Reset() { *m = SetMsgBusEndpointRequest{} } |
| 1400 | func (m *SetMsgBusEndpointRequest) String() string { return proto.CompactTextString(m) } |
| 1401 | func (*SetMsgBusEndpointRequest) ProtoMessage() {} |
| 1402 | func (*SetMsgBusEndpointRequest) Descriptor() ([]byte, []int) { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1403 | return fileDescriptor_eae902e73066286d, []int{14} |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1404 | } |
| 1405 | |
| 1406 | func (m *SetMsgBusEndpointRequest) XXX_Unmarshal(b []byte) error { |
| 1407 | return xxx_messageInfo_SetMsgBusEndpointRequest.Unmarshal(m, b) |
| 1408 | } |
| 1409 | func (m *SetMsgBusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1410 | return xxx_messageInfo_SetMsgBusEndpointRequest.Marshal(b, m, deterministic) |
| 1411 | } |
| 1412 | func (m *SetMsgBusEndpointRequest) XXX_Merge(src proto.Message) { |
| 1413 | xxx_messageInfo_SetMsgBusEndpointRequest.Merge(m, src) |
| 1414 | } |
| 1415 | func (m *SetMsgBusEndpointRequest) XXX_Size() int { |
| 1416 | return xxx_messageInfo_SetMsgBusEndpointRequest.Size(m) |
| 1417 | } |
| 1418 | func (m *SetMsgBusEndpointRequest) XXX_DiscardUnknown() { |
| 1419 | xxx_messageInfo_SetMsgBusEndpointRequest.DiscardUnknown(m) |
| 1420 | } |
| 1421 | |
| 1422 | var xxx_messageInfo_SetMsgBusEndpointRequest proto.InternalMessageInfo |
| 1423 | |
| 1424 | func (m *SetMsgBusEndpointRequest) GetMsgbusEndpoint() string { |
| 1425 | if m != nil { |
| 1426 | return m.MsgbusEndpoint |
| 1427 | } |
| 1428 | return "" |
| 1429 | } |
| 1430 | |
| 1431 | type GetMsgBusEndpointResponse struct { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1432 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 1433 | Reason GetMsgBusEndpointResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetMsgBusEndpointResponse_Reason" json:"reason,omitempty"` |
| 1434 | 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] | 1435 | 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] | 1436 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1437 | XXX_unrecognized []byte `json:"-"` |
| 1438 | XXX_sizecache int32 `json:"-"` |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1439 | } |
| 1440 | |
| 1441 | func (m *GetMsgBusEndpointResponse) Reset() { *m = GetMsgBusEndpointResponse{} } |
| 1442 | func (m *GetMsgBusEndpointResponse) String() string { return proto.CompactTextString(m) } |
| 1443 | func (*GetMsgBusEndpointResponse) ProtoMessage() {} |
| 1444 | func (*GetMsgBusEndpointResponse) Descriptor() ([]byte, []int) { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1445 | return fileDescriptor_eae902e73066286d, []int{15} |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1446 | } |
| 1447 | |
| 1448 | func (m *GetMsgBusEndpointResponse) XXX_Unmarshal(b []byte) error { |
| 1449 | return xxx_messageInfo_GetMsgBusEndpointResponse.Unmarshal(m, b) |
| 1450 | } |
| 1451 | func (m *GetMsgBusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1452 | return xxx_messageInfo_GetMsgBusEndpointResponse.Marshal(b, m, deterministic) |
| 1453 | } |
| 1454 | func (m *GetMsgBusEndpointResponse) XXX_Merge(src proto.Message) { |
| 1455 | xxx_messageInfo_GetMsgBusEndpointResponse.Merge(m, src) |
| 1456 | } |
| 1457 | func (m *GetMsgBusEndpointResponse) XXX_Size() int { |
| 1458 | return xxx_messageInfo_GetMsgBusEndpointResponse.Size(m) |
| 1459 | } |
| 1460 | func (m *GetMsgBusEndpointResponse) XXX_DiscardUnknown() { |
| 1461 | xxx_messageInfo_GetMsgBusEndpointResponse.DiscardUnknown(m) |
| 1462 | } |
| 1463 | |
| 1464 | var xxx_messageInfo_GetMsgBusEndpointResponse proto.InternalMessageInfo |
| 1465 | |
| 1466 | func (m *GetMsgBusEndpointResponse) GetStatus() Status { |
| 1467 | if m != nil { |
| 1468 | return m.Status |
| 1469 | } |
| 1470 | return Status_UNDEFINED_STATUS |
| 1471 | } |
| 1472 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1473 | func (m *GetMsgBusEndpointResponse) GetReason() GetMsgBusEndpointResponse_Reason { |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1474 | if m != nil { |
| 1475 | return m.Reason |
| 1476 | } |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1477 | return GetMsgBusEndpointResponse_UNDEFINED_REASON |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 1478 | } |
| 1479 | |
| 1480 | func (m *GetMsgBusEndpointResponse) GetMsgbusEndpoint() string { |
| 1481 | if m != nil { |
| 1482 | return m.MsgbusEndpoint |
| 1483 | } |
| 1484 | return "" |
| 1485 | } |
| 1486 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 1487 | func (m *GetMsgBusEndpointResponse) GetReasonDetail() string { |
| 1488 | if m != nil { |
| 1489 | return m.ReasonDetail |
| 1490 | } |
| 1491 | return "" |
| 1492 | } |
| 1493 | |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1494 | type EntitiesLogLevel struct { |
| 1495 | LogLevel LogLevel `protobuf:"varint,1,opt,name=logLevel,proto3,enum=dmi.LogLevel" json:"logLevel,omitempty"` |
| 1496 | Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` |
| 1497 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1498 | XXX_unrecognized []byte `json:"-"` |
| 1499 | XXX_sizecache int32 `json:"-"` |
| 1500 | } |
| 1501 | |
| 1502 | func (m *EntitiesLogLevel) Reset() { *m = EntitiesLogLevel{} } |
| 1503 | func (m *EntitiesLogLevel) String() string { return proto.CompactTextString(m) } |
| 1504 | func (*EntitiesLogLevel) ProtoMessage() {} |
| 1505 | func (*EntitiesLogLevel) Descriptor() ([]byte, []int) { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1506 | return fileDescriptor_eae902e73066286d, []int{16} |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1507 | } |
| 1508 | |
| 1509 | func (m *EntitiesLogLevel) XXX_Unmarshal(b []byte) error { |
| 1510 | return xxx_messageInfo_EntitiesLogLevel.Unmarshal(m, b) |
| 1511 | } |
| 1512 | func (m *EntitiesLogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1513 | return xxx_messageInfo_EntitiesLogLevel.Marshal(b, m, deterministic) |
| 1514 | } |
| 1515 | func (m *EntitiesLogLevel) XXX_Merge(src proto.Message) { |
| 1516 | xxx_messageInfo_EntitiesLogLevel.Merge(m, src) |
| 1517 | } |
| 1518 | func (m *EntitiesLogLevel) XXX_Size() int { |
| 1519 | return xxx_messageInfo_EntitiesLogLevel.Size(m) |
| 1520 | } |
| 1521 | func (m *EntitiesLogLevel) XXX_DiscardUnknown() { |
| 1522 | xxx_messageInfo_EntitiesLogLevel.DiscardUnknown(m) |
| 1523 | } |
| 1524 | |
| 1525 | var xxx_messageInfo_EntitiesLogLevel proto.InternalMessageInfo |
| 1526 | |
| 1527 | func (m *EntitiesLogLevel) GetLogLevel() LogLevel { |
| 1528 | if m != nil { |
| 1529 | return m.LogLevel |
| 1530 | } |
| 1531 | return LogLevel_TRACE |
| 1532 | } |
| 1533 | |
| 1534 | func (m *EntitiesLogLevel) GetEntities() []string { |
| 1535 | if m != nil { |
| 1536 | return m.Entities |
| 1537 | } |
| 1538 | return nil |
| 1539 | } |
| 1540 | |
| 1541 | type SetLogLevelRequest struct { |
| 1542 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 1543 | Loglevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=loglevels,proto3" json:"loglevels,omitempty"` |
| 1544 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1545 | XXX_unrecognized []byte `json:"-"` |
| 1546 | XXX_sizecache int32 `json:"-"` |
| 1547 | } |
| 1548 | |
| 1549 | func (m *SetLogLevelRequest) Reset() { *m = SetLogLevelRequest{} } |
| 1550 | func (m *SetLogLevelRequest) String() string { return proto.CompactTextString(m) } |
| 1551 | func (*SetLogLevelRequest) ProtoMessage() {} |
| 1552 | func (*SetLogLevelRequest) Descriptor() ([]byte, []int) { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1553 | return fileDescriptor_eae902e73066286d, []int{17} |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1554 | } |
| 1555 | |
| 1556 | func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error { |
| 1557 | return xxx_messageInfo_SetLogLevelRequest.Unmarshal(m, b) |
| 1558 | } |
| 1559 | func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1560 | return xxx_messageInfo_SetLogLevelRequest.Marshal(b, m, deterministic) |
| 1561 | } |
| 1562 | func (m *SetLogLevelRequest) XXX_Merge(src proto.Message) { |
| 1563 | xxx_messageInfo_SetLogLevelRequest.Merge(m, src) |
| 1564 | } |
| 1565 | func (m *SetLogLevelRequest) XXX_Size() int { |
| 1566 | return xxx_messageInfo_SetLogLevelRequest.Size(m) |
| 1567 | } |
| 1568 | func (m *SetLogLevelRequest) XXX_DiscardUnknown() { |
| 1569 | xxx_messageInfo_SetLogLevelRequest.DiscardUnknown(m) |
| 1570 | } |
| 1571 | |
| 1572 | var xxx_messageInfo_SetLogLevelRequest proto.InternalMessageInfo |
| 1573 | |
| 1574 | func (m *SetLogLevelRequest) GetDeviceUuid() *Uuid { |
| 1575 | if m != nil { |
| 1576 | return m.DeviceUuid |
| 1577 | } |
| 1578 | return nil |
| 1579 | } |
| 1580 | |
| 1581 | func (m *SetLogLevelRequest) GetLoglevels() []*EntitiesLogLevel { |
| 1582 | if m != nil { |
| 1583 | return m.Loglevels |
| 1584 | } |
| 1585 | return nil |
| 1586 | } |
| 1587 | |
| 1588 | type SetLogLevelResponse struct { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1589 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 1590 | Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 1591 | 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] | 1592 | 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] | 1593 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1594 | XXX_unrecognized []byte `json:"-"` |
| 1595 | XXX_sizecache int32 `json:"-"` |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1596 | } |
| 1597 | |
| 1598 | func (m *SetLogLevelResponse) Reset() { *m = SetLogLevelResponse{} } |
| 1599 | func (m *SetLogLevelResponse) String() string { return proto.CompactTextString(m) } |
| 1600 | func (*SetLogLevelResponse) ProtoMessage() {} |
| 1601 | func (*SetLogLevelResponse) Descriptor() ([]byte, []int) { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1602 | return fileDescriptor_eae902e73066286d, []int{18} |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1603 | } |
| 1604 | |
| 1605 | func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error { |
| 1606 | return xxx_messageInfo_SetLogLevelResponse.Unmarshal(m, b) |
| 1607 | } |
| 1608 | func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1609 | return xxx_messageInfo_SetLogLevelResponse.Marshal(b, m, deterministic) |
| 1610 | } |
| 1611 | func (m *SetLogLevelResponse) XXX_Merge(src proto.Message) { |
| 1612 | xxx_messageInfo_SetLogLevelResponse.Merge(m, src) |
| 1613 | } |
| 1614 | func (m *SetLogLevelResponse) XXX_Size() int { |
| 1615 | return xxx_messageInfo_SetLogLevelResponse.Size(m) |
| 1616 | } |
| 1617 | func (m *SetLogLevelResponse) XXX_DiscardUnknown() { |
| 1618 | xxx_messageInfo_SetLogLevelResponse.DiscardUnknown(m) |
| 1619 | } |
| 1620 | |
| 1621 | var xxx_messageInfo_SetLogLevelResponse proto.InternalMessageInfo |
| 1622 | |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame] | 1623 | func (m *SetLogLevelResponse) GetDeviceUuid() *Uuid { |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1624 | if m != nil { |
| 1625 | return m.DeviceUuid |
| 1626 | } |
| 1627 | return nil |
| 1628 | } |
| 1629 | |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame] | 1630 | func (m *SetLogLevelResponse) GetStatus() Status { |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1631 | if m != nil { |
| 1632 | return m.Status |
| 1633 | } |
| 1634 | return Status_UNDEFINED_STATUS |
| 1635 | } |
| 1636 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1637 | func (m *SetLogLevelResponse) GetReason() SetLogLevelResponse_Reason { |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1638 | if m != nil { |
| 1639 | return m.Reason |
| 1640 | } |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1641 | return SetLogLevelResponse_UNDEFINED_REASON |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1642 | } |
| 1643 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 1644 | func (m *SetLogLevelResponse) GetReasonDetail() string { |
| 1645 | if m != nil { |
| 1646 | return m.ReasonDetail |
| 1647 | } |
| 1648 | return "" |
| 1649 | } |
| 1650 | |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1651 | type GetLogLevelRequest struct { |
| 1652 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 1653 | Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` |
| 1654 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1655 | XXX_unrecognized []byte `json:"-"` |
| 1656 | XXX_sizecache int32 `json:"-"` |
| 1657 | } |
| 1658 | |
| 1659 | func (m *GetLogLevelRequest) Reset() { *m = GetLogLevelRequest{} } |
| 1660 | func (m *GetLogLevelRequest) String() string { return proto.CompactTextString(m) } |
| 1661 | func (*GetLogLevelRequest) ProtoMessage() {} |
| 1662 | func (*GetLogLevelRequest) Descriptor() ([]byte, []int) { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1663 | return fileDescriptor_eae902e73066286d, []int{19} |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1664 | } |
| 1665 | |
| 1666 | func (m *GetLogLevelRequest) XXX_Unmarshal(b []byte) error { |
| 1667 | return xxx_messageInfo_GetLogLevelRequest.Unmarshal(m, b) |
| 1668 | } |
| 1669 | func (m *GetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1670 | return xxx_messageInfo_GetLogLevelRequest.Marshal(b, m, deterministic) |
| 1671 | } |
| 1672 | func (m *GetLogLevelRequest) XXX_Merge(src proto.Message) { |
| 1673 | xxx_messageInfo_GetLogLevelRequest.Merge(m, src) |
| 1674 | } |
| 1675 | func (m *GetLogLevelRequest) XXX_Size() int { |
| 1676 | return xxx_messageInfo_GetLogLevelRequest.Size(m) |
| 1677 | } |
| 1678 | func (m *GetLogLevelRequest) XXX_DiscardUnknown() { |
| 1679 | xxx_messageInfo_GetLogLevelRequest.DiscardUnknown(m) |
| 1680 | } |
| 1681 | |
| 1682 | var xxx_messageInfo_GetLogLevelRequest proto.InternalMessageInfo |
| 1683 | |
| 1684 | func (m *GetLogLevelRequest) GetDeviceUuid() *Uuid { |
| 1685 | if m != nil { |
| 1686 | return m.DeviceUuid |
| 1687 | } |
| 1688 | return nil |
| 1689 | } |
| 1690 | |
| 1691 | func (m *GetLogLevelRequest) GetEntities() []string { |
| 1692 | if m != nil { |
| 1693 | return m.Entities |
| 1694 | } |
| 1695 | return nil |
| 1696 | } |
| 1697 | |
| 1698 | type GetLogLevelResponse struct { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1699 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 1700 | LogLevels []*EntitiesLogLevel `protobuf:"bytes,2,rep,name=logLevels,proto3" json:"logLevels,omitempty"` |
| 1701 | Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 1702 | 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] | 1703 | 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] | 1704 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1705 | XXX_unrecognized []byte `json:"-"` |
| 1706 | XXX_sizecache int32 `json:"-"` |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1707 | } |
| 1708 | |
| 1709 | func (m *GetLogLevelResponse) Reset() { *m = GetLogLevelResponse{} } |
| 1710 | func (m *GetLogLevelResponse) String() string { return proto.CompactTextString(m) } |
| 1711 | func (*GetLogLevelResponse) ProtoMessage() {} |
| 1712 | func (*GetLogLevelResponse) Descriptor() ([]byte, []int) { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1713 | return fileDescriptor_eae902e73066286d, []int{20} |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1714 | } |
| 1715 | |
| 1716 | func (m *GetLogLevelResponse) XXX_Unmarshal(b []byte) error { |
| 1717 | return xxx_messageInfo_GetLogLevelResponse.Unmarshal(m, b) |
| 1718 | } |
| 1719 | func (m *GetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1720 | return xxx_messageInfo_GetLogLevelResponse.Marshal(b, m, deterministic) |
| 1721 | } |
| 1722 | func (m *GetLogLevelResponse) XXX_Merge(src proto.Message) { |
| 1723 | xxx_messageInfo_GetLogLevelResponse.Merge(m, src) |
| 1724 | } |
| 1725 | func (m *GetLogLevelResponse) XXX_Size() int { |
| 1726 | return xxx_messageInfo_GetLogLevelResponse.Size(m) |
| 1727 | } |
| 1728 | func (m *GetLogLevelResponse) XXX_DiscardUnknown() { |
| 1729 | xxx_messageInfo_GetLogLevelResponse.DiscardUnknown(m) |
| 1730 | } |
| 1731 | |
| 1732 | var xxx_messageInfo_GetLogLevelResponse proto.InternalMessageInfo |
| 1733 | |
| 1734 | func (m *GetLogLevelResponse) GetDeviceUuid() *Uuid { |
| 1735 | if m != nil { |
| 1736 | return m.DeviceUuid |
| 1737 | } |
| 1738 | return nil |
| 1739 | } |
| 1740 | |
| 1741 | func (m *GetLogLevelResponse) GetLogLevels() []*EntitiesLogLevel { |
| 1742 | if m != nil { |
| 1743 | return m.LogLevels |
| 1744 | } |
| 1745 | return nil |
| 1746 | } |
| 1747 | |
| 1748 | func (m *GetLogLevelResponse) GetStatus() Status { |
| 1749 | if m != nil { |
| 1750 | return m.Status |
| 1751 | } |
| 1752 | return Status_UNDEFINED_STATUS |
| 1753 | } |
| 1754 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1755 | func (m *GetLogLevelResponse) GetReason() GetLogLevelResponse_Reason { |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1756 | if m != nil { |
| 1757 | return m.Reason |
| 1758 | } |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 1759 | return GetLogLevelResponse_UNDEFINED_REASON |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1760 | } |
| 1761 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 1762 | func (m *GetLogLevelResponse) GetReasonDetail() string { |
| 1763 | if m != nil { |
| 1764 | return m.ReasonDetail |
| 1765 | } |
| 1766 | return "" |
| 1767 | } |
| 1768 | |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1769 | type GetLoggableEntitiesRequest struct { |
| 1770 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 1771 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1772 | XXX_unrecognized []byte `json:"-"` |
| 1773 | XXX_sizecache int32 `json:"-"` |
| 1774 | } |
| 1775 | |
| 1776 | func (m *GetLoggableEntitiesRequest) Reset() { *m = GetLoggableEntitiesRequest{} } |
| 1777 | func (m *GetLoggableEntitiesRequest) String() string { return proto.CompactTextString(m) } |
| 1778 | func (*GetLoggableEntitiesRequest) ProtoMessage() {} |
| 1779 | func (*GetLoggableEntitiesRequest) Descriptor() ([]byte, []int) { |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 1780 | return fileDescriptor_eae902e73066286d, []int{21} |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 1781 | } |
| 1782 | |
| 1783 | func (m *GetLoggableEntitiesRequest) XXX_Unmarshal(b []byte) error { |
| 1784 | return xxx_messageInfo_GetLoggableEntitiesRequest.Unmarshal(m, b) |
| 1785 | } |
| 1786 | func (m *GetLoggableEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1787 | return xxx_messageInfo_GetLoggableEntitiesRequest.Marshal(b, m, deterministic) |
| 1788 | } |
| 1789 | func (m *GetLoggableEntitiesRequest) XXX_Merge(src proto.Message) { |
| 1790 | xxx_messageInfo_GetLoggableEntitiesRequest.Merge(m, src) |
| 1791 | } |
| 1792 | func (m *GetLoggableEntitiesRequest) XXX_Size() int { |
| 1793 | return xxx_messageInfo_GetLoggableEntitiesRequest.Size(m) |
| 1794 | } |
| 1795 | func (m *GetLoggableEntitiesRequest) XXX_DiscardUnknown() { |
| 1796 | xxx_messageInfo_GetLoggableEntitiesRequest.DiscardUnknown(m) |
| 1797 | } |
| 1798 | |
| 1799 | var xxx_messageInfo_GetLoggableEntitiesRequest proto.InternalMessageInfo |
| 1800 | |
| 1801 | func (m *GetLoggableEntitiesRequest) GetDeviceUuid() *Uuid { |
| 1802 | if m != nil { |
| 1803 | return m.DeviceUuid |
| 1804 | } |
| 1805 | return nil |
| 1806 | } |
| 1807 | |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 1808 | type SetDmLogLevelRequest struct { |
| 1809 | Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=dmi.LogLevel" json:"level,omitempty"` |
| 1810 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1811 | XXX_unrecognized []byte `json:"-"` |
| 1812 | XXX_sizecache int32 `json:"-"` |
| 1813 | } |
| 1814 | |
| 1815 | func (m *SetDmLogLevelRequest) Reset() { *m = SetDmLogLevelRequest{} } |
| 1816 | func (m *SetDmLogLevelRequest) String() string { return proto.CompactTextString(m) } |
| 1817 | func (*SetDmLogLevelRequest) ProtoMessage() {} |
| 1818 | func (*SetDmLogLevelRequest) Descriptor() ([]byte, []int) { |
| 1819 | return fileDescriptor_eae902e73066286d, []int{22} |
| 1820 | } |
| 1821 | |
| 1822 | func (m *SetDmLogLevelRequest) XXX_Unmarshal(b []byte) error { |
| 1823 | return xxx_messageInfo_SetDmLogLevelRequest.Unmarshal(m, b) |
| 1824 | } |
| 1825 | func (m *SetDmLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1826 | return xxx_messageInfo_SetDmLogLevelRequest.Marshal(b, m, deterministic) |
| 1827 | } |
| 1828 | func (m *SetDmLogLevelRequest) XXX_Merge(src proto.Message) { |
| 1829 | xxx_messageInfo_SetDmLogLevelRequest.Merge(m, src) |
| 1830 | } |
| 1831 | func (m *SetDmLogLevelRequest) XXX_Size() int { |
| 1832 | return xxx_messageInfo_SetDmLogLevelRequest.Size(m) |
| 1833 | } |
| 1834 | func (m *SetDmLogLevelRequest) XXX_DiscardUnknown() { |
| 1835 | xxx_messageInfo_SetDmLogLevelRequest.DiscardUnknown(m) |
| 1836 | } |
| 1837 | |
| 1838 | var xxx_messageInfo_SetDmLogLevelRequest proto.InternalMessageInfo |
| 1839 | |
| 1840 | func (m *SetDmLogLevelRequest) GetLevel() LogLevel { |
| 1841 | if m != nil { |
| 1842 | return m.Level |
| 1843 | } |
| 1844 | return LogLevel_TRACE |
| 1845 | } |
| 1846 | |
| 1847 | type SetDmLogLevelResponse struct { |
| 1848 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 1849 | Reason SetDmLogLevelResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.SetDmLogLevelResponse_Reason" json:"reason,omitempty"` |
| 1850 | ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"` |
| 1851 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1852 | XXX_unrecognized []byte `json:"-"` |
| 1853 | XXX_sizecache int32 `json:"-"` |
| 1854 | } |
| 1855 | |
| 1856 | func (m *SetDmLogLevelResponse) Reset() { *m = SetDmLogLevelResponse{} } |
| 1857 | func (m *SetDmLogLevelResponse) String() string { return proto.CompactTextString(m) } |
| 1858 | func (*SetDmLogLevelResponse) ProtoMessage() {} |
| 1859 | func (*SetDmLogLevelResponse) Descriptor() ([]byte, []int) { |
| 1860 | return fileDescriptor_eae902e73066286d, []int{23} |
| 1861 | } |
| 1862 | |
| 1863 | func (m *SetDmLogLevelResponse) XXX_Unmarshal(b []byte) error { |
| 1864 | return xxx_messageInfo_SetDmLogLevelResponse.Unmarshal(m, b) |
| 1865 | } |
| 1866 | func (m *SetDmLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1867 | return xxx_messageInfo_SetDmLogLevelResponse.Marshal(b, m, deterministic) |
| 1868 | } |
| 1869 | func (m *SetDmLogLevelResponse) XXX_Merge(src proto.Message) { |
| 1870 | xxx_messageInfo_SetDmLogLevelResponse.Merge(m, src) |
| 1871 | } |
| 1872 | func (m *SetDmLogLevelResponse) XXX_Size() int { |
| 1873 | return xxx_messageInfo_SetDmLogLevelResponse.Size(m) |
| 1874 | } |
| 1875 | func (m *SetDmLogLevelResponse) XXX_DiscardUnknown() { |
| 1876 | xxx_messageInfo_SetDmLogLevelResponse.DiscardUnknown(m) |
| 1877 | } |
| 1878 | |
| 1879 | var xxx_messageInfo_SetDmLogLevelResponse proto.InternalMessageInfo |
| 1880 | |
| 1881 | func (m *SetDmLogLevelResponse) GetStatus() Status { |
| 1882 | if m != nil { |
| 1883 | return m.Status |
| 1884 | } |
| 1885 | return Status_UNDEFINED_STATUS |
| 1886 | } |
| 1887 | |
| 1888 | func (m *SetDmLogLevelResponse) GetReason() SetDmLogLevelResponse_Reason { |
| 1889 | if m != nil { |
| 1890 | return m.Reason |
| 1891 | } |
| 1892 | return SetDmLogLevelResponse_UNDEFINED_REASON |
| 1893 | } |
| 1894 | |
| 1895 | func (m *SetDmLogLevelResponse) GetReasonDetail() string { |
| 1896 | if m != nil { |
| 1897 | return m.ReasonDetail |
| 1898 | } |
| 1899 | return "" |
| 1900 | } |
| 1901 | |
| 1902 | type GetDmLogLevelRequest struct { |
| 1903 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1904 | XXX_unrecognized []byte `json:"-"` |
| 1905 | XXX_sizecache int32 `json:"-"` |
| 1906 | } |
| 1907 | |
| 1908 | func (m *GetDmLogLevelRequest) Reset() { *m = GetDmLogLevelRequest{} } |
| 1909 | func (m *GetDmLogLevelRequest) String() string { return proto.CompactTextString(m) } |
| 1910 | func (*GetDmLogLevelRequest) ProtoMessage() {} |
| 1911 | func (*GetDmLogLevelRequest) Descriptor() ([]byte, []int) { |
| 1912 | return fileDescriptor_eae902e73066286d, []int{24} |
| 1913 | } |
| 1914 | |
| 1915 | func (m *GetDmLogLevelRequest) XXX_Unmarshal(b []byte) error { |
| 1916 | return xxx_messageInfo_GetDmLogLevelRequest.Unmarshal(m, b) |
| 1917 | } |
| 1918 | func (m *GetDmLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1919 | return xxx_messageInfo_GetDmLogLevelRequest.Marshal(b, m, deterministic) |
| 1920 | } |
| 1921 | func (m *GetDmLogLevelRequest) XXX_Merge(src proto.Message) { |
| 1922 | xxx_messageInfo_GetDmLogLevelRequest.Merge(m, src) |
| 1923 | } |
| 1924 | func (m *GetDmLogLevelRequest) XXX_Size() int { |
| 1925 | return xxx_messageInfo_GetDmLogLevelRequest.Size(m) |
| 1926 | } |
| 1927 | func (m *GetDmLogLevelRequest) XXX_DiscardUnknown() { |
| 1928 | xxx_messageInfo_GetDmLogLevelRequest.DiscardUnknown(m) |
| 1929 | } |
| 1930 | |
| 1931 | var xxx_messageInfo_GetDmLogLevelRequest proto.InternalMessageInfo |
| 1932 | |
| 1933 | type GetDmLogLevelResponse struct { |
| 1934 | Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=dmi.LogLevel" json:"level,omitempty"` |
| 1935 | Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 1936 | Reason GetDmLogLevelResponse_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dmi.GetDmLogLevelResponse_Reason" json:"reason,omitempty"` |
| 1937 | ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"` |
| 1938 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1939 | XXX_unrecognized []byte `json:"-"` |
| 1940 | XXX_sizecache int32 `json:"-"` |
| 1941 | } |
| 1942 | |
| 1943 | func (m *GetDmLogLevelResponse) Reset() { *m = GetDmLogLevelResponse{} } |
| 1944 | func (m *GetDmLogLevelResponse) String() string { return proto.CompactTextString(m) } |
| 1945 | func (*GetDmLogLevelResponse) ProtoMessage() {} |
| 1946 | func (*GetDmLogLevelResponse) Descriptor() ([]byte, []int) { |
| 1947 | return fileDescriptor_eae902e73066286d, []int{25} |
| 1948 | } |
| 1949 | |
| 1950 | func (m *GetDmLogLevelResponse) XXX_Unmarshal(b []byte) error { |
| 1951 | return xxx_messageInfo_GetDmLogLevelResponse.Unmarshal(m, b) |
| 1952 | } |
| 1953 | func (m *GetDmLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1954 | return xxx_messageInfo_GetDmLogLevelResponse.Marshal(b, m, deterministic) |
| 1955 | } |
| 1956 | func (m *GetDmLogLevelResponse) XXX_Merge(src proto.Message) { |
| 1957 | xxx_messageInfo_GetDmLogLevelResponse.Merge(m, src) |
| 1958 | } |
| 1959 | func (m *GetDmLogLevelResponse) XXX_Size() int { |
| 1960 | return xxx_messageInfo_GetDmLogLevelResponse.Size(m) |
| 1961 | } |
| 1962 | func (m *GetDmLogLevelResponse) XXX_DiscardUnknown() { |
| 1963 | xxx_messageInfo_GetDmLogLevelResponse.DiscardUnknown(m) |
| 1964 | } |
| 1965 | |
| 1966 | var xxx_messageInfo_GetDmLogLevelResponse proto.InternalMessageInfo |
| 1967 | |
| 1968 | func (m *GetDmLogLevelResponse) GetLevel() LogLevel { |
| 1969 | if m != nil { |
| 1970 | return m.Level |
| 1971 | } |
| 1972 | return LogLevel_TRACE |
| 1973 | } |
| 1974 | |
| 1975 | func (m *GetDmLogLevelResponse) GetStatus() Status { |
| 1976 | if m != nil { |
| 1977 | return m.Status |
| 1978 | } |
| 1979 | return Status_UNDEFINED_STATUS |
| 1980 | } |
| 1981 | |
| 1982 | func (m *GetDmLogLevelResponse) GetReason() GetDmLogLevelResponse_Reason { |
| 1983 | if m != nil { |
| 1984 | return m.Reason |
| 1985 | } |
| 1986 | return GetDmLogLevelResponse_UNDEFINED_REASON |
| 1987 | } |
| 1988 | |
| 1989 | func (m *GetDmLogLevelResponse) GetReasonDetail() string { |
| 1990 | if m != nil { |
| 1991 | return m.ReasonDetail |
| 1992 | } |
| 1993 | return "" |
| 1994 | } |
| 1995 | |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 1996 | type Heartbeat struct { |
| 1997 | HeartbeatSignature uint32 `protobuf:"fixed32,1,opt,name=heartbeat_signature,json=heartbeatSignature,proto3" json:"heartbeat_signature,omitempty"` |
| 1998 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1999 | XXX_unrecognized []byte `json:"-"` |
| 2000 | XXX_sizecache int32 `json:"-"` |
| 2001 | } |
| 2002 | |
| 2003 | func (m *Heartbeat) Reset() { *m = Heartbeat{} } |
| 2004 | func (m *Heartbeat) String() string { return proto.CompactTextString(m) } |
| 2005 | func (*Heartbeat) ProtoMessage() {} |
| 2006 | func (*Heartbeat) Descriptor() ([]byte, []int) { |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 2007 | return fileDescriptor_eae902e73066286d, []int{26} |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 2008 | } |
| 2009 | |
| 2010 | func (m *Heartbeat) XXX_Unmarshal(b []byte) error { |
| 2011 | return xxx_messageInfo_Heartbeat.Unmarshal(m, b) |
| 2012 | } |
| 2013 | func (m *Heartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2014 | return xxx_messageInfo_Heartbeat.Marshal(b, m, deterministic) |
| 2015 | } |
| 2016 | func (m *Heartbeat) XXX_Merge(src proto.Message) { |
| 2017 | xxx_messageInfo_Heartbeat.Merge(m, src) |
| 2018 | } |
| 2019 | func (m *Heartbeat) XXX_Size() int { |
| 2020 | return xxx_messageInfo_Heartbeat.Size(m) |
| 2021 | } |
| 2022 | func (m *Heartbeat) XXX_DiscardUnknown() { |
| 2023 | xxx_messageInfo_Heartbeat.DiscardUnknown(m) |
| 2024 | } |
| 2025 | |
| 2026 | var xxx_messageInfo_Heartbeat proto.InternalMessageInfo |
| 2027 | |
| 2028 | func (m *Heartbeat) GetHeartbeatSignature() uint32 { |
| 2029 | if m != nil { |
| 2030 | return m.HeartbeatSignature |
| 2031 | } |
| 2032 | return 0 |
| 2033 | } |
| 2034 | |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 2035 | type RebootDeviceRequest struct { |
| 2036 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 2037 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2038 | XXX_unrecognized []byte `json:"-"` |
| 2039 | XXX_sizecache int32 `json:"-"` |
| 2040 | } |
| 2041 | |
| 2042 | func (m *RebootDeviceRequest) Reset() { *m = RebootDeviceRequest{} } |
| 2043 | func (m *RebootDeviceRequest) String() string { return proto.CompactTextString(m) } |
| 2044 | func (*RebootDeviceRequest) ProtoMessage() {} |
| 2045 | func (*RebootDeviceRequest) Descriptor() ([]byte, []int) { |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 2046 | return fileDescriptor_eae902e73066286d, []int{27} |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 2047 | } |
| 2048 | |
| 2049 | func (m *RebootDeviceRequest) XXX_Unmarshal(b []byte) error { |
| 2050 | return xxx_messageInfo_RebootDeviceRequest.Unmarshal(m, b) |
| 2051 | } |
| 2052 | func (m *RebootDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2053 | return xxx_messageInfo_RebootDeviceRequest.Marshal(b, m, deterministic) |
| 2054 | } |
| 2055 | func (m *RebootDeviceRequest) XXX_Merge(src proto.Message) { |
| 2056 | xxx_messageInfo_RebootDeviceRequest.Merge(m, src) |
| 2057 | } |
| 2058 | func (m *RebootDeviceRequest) XXX_Size() int { |
| 2059 | return xxx_messageInfo_RebootDeviceRequest.Size(m) |
| 2060 | } |
| 2061 | func (m *RebootDeviceRequest) XXX_DiscardUnknown() { |
| 2062 | xxx_messageInfo_RebootDeviceRequest.DiscardUnknown(m) |
| 2063 | } |
| 2064 | |
| 2065 | var xxx_messageInfo_RebootDeviceRequest proto.InternalMessageInfo |
| 2066 | |
| 2067 | func (m *RebootDeviceRequest) GetDeviceUuid() *Uuid { |
| 2068 | if m != nil { |
| 2069 | return m.DeviceUuid |
| 2070 | } |
| 2071 | return nil |
| 2072 | } |
| 2073 | |
| 2074 | type RebootDeviceResponse struct { |
| 2075 | Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 2076 | Reason RebootDeviceResponse_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=dmi.RebootDeviceResponse_Reason" json:"reason,omitempty"` |
| 2077 | ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"` |
| 2078 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2079 | XXX_unrecognized []byte `json:"-"` |
| 2080 | XXX_sizecache int32 `json:"-"` |
| 2081 | } |
| 2082 | |
| 2083 | func (m *RebootDeviceResponse) Reset() { *m = RebootDeviceResponse{} } |
| 2084 | func (m *RebootDeviceResponse) String() string { return proto.CompactTextString(m) } |
| 2085 | func (*RebootDeviceResponse) ProtoMessage() {} |
| 2086 | func (*RebootDeviceResponse) Descriptor() ([]byte, []int) { |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 2087 | return fileDescriptor_eae902e73066286d, []int{28} |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 2088 | } |
| 2089 | |
| 2090 | func (m *RebootDeviceResponse) XXX_Unmarshal(b []byte) error { |
| 2091 | return xxx_messageInfo_RebootDeviceResponse.Unmarshal(m, b) |
| 2092 | } |
| 2093 | func (m *RebootDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2094 | return xxx_messageInfo_RebootDeviceResponse.Marshal(b, m, deterministic) |
| 2095 | } |
| 2096 | func (m *RebootDeviceResponse) XXX_Merge(src proto.Message) { |
| 2097 | xxx_messageInfo_RebootDeviceResponse.Merge(m, src) |
| 2098 | } |
| 2099 | func (m *RebootDeviceResponse) XXX_Size() int { |
| 2100 | return xxx_messageInfo_RebootDeviceResponse.Size(m) |
| 2101 | } |
| 2102 | func (m *RebootDeviceResponse) XXX_DiscardUnknown() { |
| 2103 | xxx_messageInfo_RebootDeviceResponse.DiscardUnknown(m) |
| 2104 | } |
| 2105 | |
| 2106 | var xxx_messageInfo_RebootDeviceResponse proto.InternalMessageInfo |
| 2107 | |
| 2108 | func (m *RebootDeviceResponse) GetStatus() Status { |
| 2109 | if m != nil { |
| 2110 | return m.Status |
| 2111 | } |
| 2112 | return Status_UNDEFINED_STATUS |
| 2113 | } |
| 2114 | |
| 2115 | func (m *RebootDeviceResponse) GetReason() RebootDeviceResponse_Reason { |
| 2116 | if m != nil { |
| 2117 | return m.Reason |
| 2118 | } |
| 2119 | return RebootDeviceResponse_UNDEFINED_REASON |
| 2120 | } |
| 2121 | |
| 2122 | func (m *RebootDeviceResponse) GetReasonDetail() string { |
| 2123 | if m != nil { |
| 2124 | return m.ReasonDetail |
| 2125 | } |
| 2126 | return "" |
| 2127 | } |
| 2128 | |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 2129 | // Request to disable a hardware component on a device. |
| 2130 | // At least one of component_name or component_uuid must be provided, along with device_uuid. |
| 2131 | type DisableHWComponentRequest struct { |
| 2132 | // UUID of the device containing the component to disable (required) |
| 2133 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 2134 | // UUID of the component to disable (optional, but either this or component_name must be set) |
| 2135 | ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"` |
| 2136 | // Name of the component to disable (optional, but either this or component_uuid must be set) |
| 2137 | ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` |
| 2138 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2139 | XXX_unrecognized []byte `json:"-"` |
| 2140 | XXX_sizecache int32 `json:"-"` |
| 2141 | } |
| 2142 | |
| 2143 | func (m *DisableHWComponentRequest) Reset() { *m = DisableHWComponentRequest{} } |
| 2144 | func (m *DisableHWComponentRequest) String() string { return proto.CompactTextString(m) } |
| 2145 | func (*DisableHWComponentRequest) ProtoMessage() {} |
| 2146 | func (*DisableHWComponentRequest) Descriptor() ([]byte, []int) { |
| 2147 | return fileDescriptor_eae902e73066286d, []int{29} |
| 2148 | } |
| 2149 | |
| 2150 | func (m *DisableHWComponentRequest) XXX_Unmarshal(b []byte) error { |
| 2151 | return xxx_messageInfo_DisableHWComponentRequest.Unmarshal(m, b) |
| 2152 | } |
| 2153 | func (m *DisableHWComponentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2154 | return xxx_messageInfo_DisableHWComponentRequest.Marshal(b, m, deterministic) |
| 2155 | } |
| 2156 | func (m *DisableHWComponentRequest) XXX_Merge(src proto.Message) { |
| 2157 | xxx_messageInfo_DisableHWComponentRequest.Merge(m, src) |
| 2158 | } |
| 2159 | func (m *DisableHWComponentRequest) XXX_Size() int { |
| 2160 | return xxx_messageInfo_DisableHWComponentRequest.Size(m) |
| 2161 | } |
| 2162 | func (m *DisableHWComponentRequest) XXX_DiscardUnknown() { |
| 2163 | xxx_messageInfo_DisableHWComponentRequest.DiscardUnknown(m) |
| 2164 | } |
| 2165 | |
| 2166 | var xxx_messageInfo_DisableHWComponentRequest proto.InternalMessageInfo |
| 2167 | |
| 2168 | func (m *DisableHWComponentRequest) GetDeviceUuid() *Uuid { |
| 2169 | if m != nil { |
| 2170 | return m.DeviceUuid |
| 2171 | } |
| 2172 | return nil |
| 2173 | } |
| 2174 | |
| 2175 | func (m *DisableHWComponentRequest) GetComponentUuid() *Uuid { |
| 2176 | if m != nil { |
| 2177 | return m.ComponentUuid |
| 2178 | } |
| 2179 | return nil |
| 2180 | } |
| 2181 | |
| 2182 | func (m *DisableHWComponentRequest) GetComponentName() string { |
| 2183 | if m != nil { |
| 2184 | return m.ComponentName |
| 2185 | } |
| 2186 | return "" |
| 2187 | } |
| 2188 | |
| 2189 | // Response for DisableHWComponent RPC. |
| 2190 | type DisableHWComponentResponse struct { |
| 2191 | // Indicates whether the operation was successful or not. |
| 2192 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 2193 | // Reason for failure, if any |
| 2194 | Reason DisableHWComponentResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.DisableHWComponentResponse_Reason" json:"reason,omitempty"` |
| 2195 | // Human-readable details for logging or display |
| 2196 | ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"` |
| 2197 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2198 | XXX_unrecognized []byte `json:"-"` |
| 2199 | XXX_sizecache int32 `json:"-"` |
| 2200 | } |
| 2201 | |
| 2202 | func (m *DisableHWComponentResponse) Reset() { *m = DisableHWComponentResponse{} } |
| 2203 | func (m *DisableHWComponentResponse) String() string { return proto.CompactTextString(m) } |
| 2204 | func (*DisableHWComponentResponse) ProtoMessage() {} |
| 2205 | func (*DisableHWComponentResponse) Descriptor() ([]byte, []int) { |
| 2206 | return fileDescriptor_eae902e73066286d, []int{30} |
| 2207 | } |
| 2208 | |
| 2209 | func (m *DisableHWComponentResponse) XXX_Unmarshal(b []byte) error { |
| 2210 | return xxx_messageInfo_DisableHWComponentResponse.Unmarshal(m, b) |
| 2211 | } |
| 2212 | func (m *DisableHWComponentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2213 | return xxx_messageInfo_DisableHWComponentResponse.Marshal(b, m, deterministic) |
| 2214 | } |
| 2215 | func (m *DisableHWComponentResponse) XXX_Merge(src proto.Message) { |
| 2216 | xxx_messageInfo_DisableHWComponentResponse.Merge(m, src) |
| 2217 | } |
| 2218 | func (m *DisableHWComponentResponse) XXX_Size() int { |
| 2219 | return xxx_messageInfo_DisableHWComponentResponse.Size(m) |
| 2220 | } |
| 2221 | func (m *DisableHWComponentResponse) XXX_DiscardUnknown() { |
| 2222 | xxx_messageInfo_DisableHWComponentResponse.DiscardUnknown(m) |
| 2223 | } |
| 2224 | |
| 2225 | var xxx_messageInfo_DisableHWComponentResponse proto.InternalMessageInfo |
| 2226 | |
| 2227 | func (m *DisableHWComponentResponse) GetStatus() Status { |
| 2228 | if m != nil { |
| 2229 | return m.Status |
| 2230 | } |
| 2231 | return Status_UNDEFINED_STATUS |
| 2232 | } |
| 2233 | |
| 2234 | func (m *DisableHWComponentResponse) GetReason() DisableHWComponentResponse_Reason { |
| 2235 | if m != nil { |
| 2236 | return m.Reason |
| 2237 | } |
| 2238 | return DisableHWComponentResponse_UNDEFINED_REASON |
| 2239 | } |
| 2240 | |
| 2241 | func (m *DisableHWComponentResponse) GetReasonDetail() string { |
| 2242 | if m != nil { |
| 2243 | return m.ReasonDetail |
| 2244 | } |
| 2245 | return "" |
| 2246 | } |
| 2247 | |
| 2248 | // Request to reset a hardware component on a device. |
| 2249 | // At least one of component_name or component_uuid must be provided, along with device_uuid. |
| 2250 | type ResetHWComponentRequest struct { |
| 2251 | // UUID of the device containing the component to reset (required) |
| 2252 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 2253 | // UUID of the component to reset (optional, but either this or component_name must be set) |
| 2254 | ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"` |
| 2255 | // Name of the component to reset (optional, but either this or component_uuid must be set) |
| 2256 | ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` |
| 2257 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2258 | XXX_unrecognized []byte `json:"-"` |
| 2259 | XXX_sizecache int32 `json:"-"` |
| 2260 | } |
| 2261 | |
| 2262 | func (m *ResetHWComponentRequest) Reset() { *m = ResetHWComponentRequest{} } |
| 2263 | func (m *ResetHWComponentRequest) String() string { return proto.CompactTextString(m) } |
| 2264 | func (*ResetHWComponentRequest) ProtoMessage() {} |
| 2265 | func (*ResetHWComponentRequest) Descriptor() ([]byte, []int) { |
| 2266 | return fileDescriptor_eae902e73066286d, []int{31} |
| 2267 | } |
| 2268 | |
| 2269 | func (m *ResetHWComponentRequest) XXX_Unmarshal(b []byte) error { |
| 2270 | return xxx_messageInfo_ResetHWComponentRequest.Unmarshal(m, b) |
| 2271 | } |
| 2272 | func (m *ResetHWComponentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2273 | return xxx_messageInfo_ResetHWComponentRequest.Marshal(b, m, deterministic) |
| 2274 | } |
| 2275 | func (m *ResetHWComponentRequest) XXX_Merge(src proto.Message) { |
| 2276 | xxx_messageInfo_ResetHWComponentRequest.Merge(m, src) |
| 2277 | } |
| 2278 | func (m *ResetHWComponentRequest) XXX_Size() int { |
| 2279 | return xxx_messageInfo_ResetHWComponentRequest.Size(m) |
| 2280 | } |
| 2281 | func (m *ResetHWComponentRequest) XXX_DiscardUnknown() { |
| 2282 | xxx_messageInfo_ResetHWComponentRequest.DiscardUnknown(m) |
| 2283 | } |
| 2284 | |
| 2285 | var xxx_messageInfo_ResetHWComponentRequest proto.InternalMessageInfo |
| 2286 | |
| 2287 | func (m *ResetHWComponentRequest) GetDeviceUuid() *Uuid { |
| 2288 | if m != nil { |
| 2289 | return m.DeviceUuid |
| 2290 | } |
| 2291 | return nil |
| 2292 | } |
| 2293 | |
| 2294 | func (m *ResetHWComponentRequest) GetComponentUuid() *Uuid { |
| 2295 | if m != nil { |
| 2296 | return m.ComponentUuid |
| 2297 | } |
| 2298 | return nil |
| 2299 | } |
| 2300 | |
| 2301 | func (m *ResetHWComponentRequest) GetComponentName() string { |
| 2302 | if m != nil { |
| 2303 | return m.ComponentName |
| 2304 | } |
| 2305 | return "" |
| 2306 | } |
| 2307 | |
| 2308 | // Response for ResetHWComponent RPC. |
| 2309 | type ResetHWComponentResponse struct { |
| 2310 | // Indicates whether the operation was successful or not. |
| 2311 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 2312 | // Reason for failure, if any |
| 2313 | Reason ResetHWComponentResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.ResetHWComponentResponse_Reason" json:"reason,omitempty"` |
| 2314 | // Human-readable details for logging or display |
| 2315 | ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"` |
| 2316 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2317 | XXX_unrecognized []byte `json:"-"` |
| 2318 | XXX_sizecache int32 `json:"-"` |
| 2319 | } |
| 2320 | |
| 2321 | func (m *ResetHWComponentResponse) Reset() { *m = ResetHWComponentResponse{} } |
| 2322 | func (m *ResetHWComponentResponse) String() string { return proto.CompactTextString(m) } |
| 2323 | func (*ResetHWComponentResponse) ProtoMessage() {} |
| 2324 | func (*ResetHWComponentResponse) Descriptor() ([]byte, []int) { |
| 2325 | return fileDescriptor_eae902e73066286d, []int{32} |
| 2326 | } |
| 2327 | |
| 2328 | func (m *ResetHWComponentResponse) XXX_Unmarshal(b []byte) error { |
| 2329 | return xxx_messageInfo_ResetHWComponentResponse.Unmarshal(m, b) |
| 2330 | } |
| 2331 | func (m *ResetHWComponentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2332 | return xxx_messageInfo_ResetHWComponentResponse.Marshal(b, m, deterministic) |
| 2333 | } |
| 2334 | func (m *ResetHWComponentResponse) XXX_Merge(src proto.Message) { |
| 2335 | xxx_messageInfo_ResetHWComponentResponse.Merge(m, src) |
| 2336 | } |
| 2337 | func (m *ResetHWComponentResponse) XXX_Size() int { |
| 2338 | return xxx_messageInfo_ResetHWComponentResponse.Size(m) |
| 2339 | } |
| 2340 | func (m *ResetHWComponentResponse) XXX_DiscardUnknown() { |
| 2341 | xxx_messageInfo_ResetHWComponentResponse.DiscardUnknown(m) |
| 2342 | } |
| 2343 | |
| 2344 | var xxx_messageInfo_ResetHWComponentResponse proto.InternalMessageInfo |
| 2345 | |
| 2346 | func (m *ResetHWComponentResponse) GetStatus() Status { |
| 2347 | if m != nil { |
| 2348 | return m.Status |
| 2349 | } |
| 2350 | return Status_UNDEFINED_STATUS |
| 2351 | } |
| 2352 | |
| 2353 | func (m *ResetHWComponentResponse) GetReason() ResetHWComponentResponse_Reason { |
| 2354 | if m != nil { |
| 2355 | return m.Reason |
| 2356 | } |
| 2357 | return ResetHWComponentResponse_UNDEFINED_REASON |
| 2358 | } |
| 2359 | |
| 2360 | func (m *ResetHWComponentResponse) GetReasonDetail() string { |
| 2361 | if m != nil { |
| 2362 | return m.ReasonDetail |
| 2363 | } |
| 2364 | return "" |
| 2365 | } |
| 2366 | |
| 2367 | // Request to enable a hardware component on a device. |
| 2368 | // At least one of component_name or component_uuid must be provided, along with device_uuid. |
| 2369 | type EnableHWComponentRequest struct { |
| 2370 | // UUID of the device containing the component to enable (required) |
| 2371 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 2372 | // UUID of the component to enable (optional, but either this or component_name must be set) |
| 2373 | ComponentUuid *Uuid `protobuf:"bytes,2,opt,name=component_uuid,json=componentUuid,proto3" json:"component_uuid,omitempty"` |
| 2374 | // Name of the component to enable (optional, but either this or component_uuid must be set) |
| 2375 | ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` |
| 2376 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2377 | XXX_unrecognized []byte `json:"-"` |
| 2378 | XXX_sizecache int32 `json:"-"` |
| 2379 | } |
| 2380 | |
| 2381 | func (m *EnableHWComponentRequest) Reset() { *m = EnableHWComponentRequest{} } |
| 2382 | func (m *EnableHWComponentRequest) String() string { return proto.CompactTextString(m) } |
| 2383 | func (*EnableHWComponentRequest) ProtoMessage() {} |
| 2384 | func (*EnableHWComponentRequest) Descriptor() ([]byte, []int) { |
| 2385 | return fileDescriptor_eae902e73066286d, []int{33} |
| 2386 | } |
| 2387 | |
| 2388 | func (m *EnableHWComponentRequest) XXX_Unmarshal(b []byte) error { |
| 2389 | return xxx_messageInfo_EnableHWComponentRequest.Unmarshal(m, b) |
| 2390 | } |
| 2391 | func (m *EnableHWComponentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2392 | return xxx_messageInfo_EnableHWComponentRequest.Marshal(b, m, deterministic) |
| 2393 | } |
| 2394 | func (m *EnableHWComponentRequest) XXX_Merge(src proto.Message) { |
| 2395 | xxx_messageInfo_EnableHWComponentRequest.Merge(m, src) |
| 2396 | } |
| 2397 | func (m *EnableHWComponentRequest) XXX_Size() int { |
| 2398 | return xxx_messageInfo_EnableHWComponentRequest.Size(m) |
| 2399 | } |
| 2400 | func (m *EnableHWComponentRequest) XXX_DiscardUnknown() { |
| 2401 | xxx_messageInfo_EnableHWComponentRequest.DiscardUnknown(m) |
| 2402 | } |
| 2403 | |
| 2404 | var xxx_messageInfo_EnableHWComponentRequest proto.InternalMessageInfo |
| 2405 | |
| 2406 | func (m *EnableHWComponentRequest) GetDeviceUuid() *Uuid { |
| 2407 | if m != nil { |
| 2408 | return m.DeviceUuid |
| 2409 | } |
| 2410 | return nil |
| 2411 | } |
| 2412 | |
| 2413 | func (m *EnableHWComponentRequest) GetComponentUuid() *Uuid { |
| 2414 | if m != nil { |
| 2415 | return m.ComponentUuid |
| 2416 | } |
| 2417 | return nil |
| 2418 | } |
| 2419 | |
| 2420 | func (m *EnableHWComponentRequest) GetComponentName() string { |
| 2421 | if m != nil { |
| 2422 | return m.ComponentName |
| 2423 | } |
| 2424 | return "" |
| 2425 | } |
| 2426 | |
| 2427 | // Response for EnableHWComponent RPC. |
| 2428 | type EnableHWComponentResponse struct { |
| 2429 | // Indicates whether the operation was successful or not. |
| 2430 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 2431 | // Reason for failure, if any |
| 2432 | Reason EnableHWComponentResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.EnableHWComponentResponse_Reason" json:"reason,omitempty"` |
| 2433 | // Human-readable details for logging or display |
| 2434 | ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"` |
| 2435 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2436 | XXX_unrecognized []byte `json:"-"` |
| 2437 | XXX_sizecache int32 `json:"-"` |
| 2438 | } |
| 2439 | |
| 2440 | func (m *EnableHWComponentResponse) Reset() { *m = EnableHWComponentResponse{} } |
| 2441 | func (m *EnableHWComponentResponse) String() string { return proto.CompactTextString(m) } |
| 2442 | func (*EnableHWComponentResponse) ProtoMessage() {} |
| 2443 | func (*EnableHWComponentResponse) Descriptor() ([]byte, []int) { |
| 2444 | return fileDescriptor_eae902e73066286d, []int{34} |
| 2445 | } |
| 2446 | |
| 2447 | func (m *EnableHWComponentResponse) XXX_Unmarshal(b []byte) error { |
| 2448 | return xxx_messageInfo_EnableHWComponentResponse.Unmarshal(m, b) |
| 2449 | } |
| 2450 | func (m *EnableHWComponentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2451 | return xxx_messageInfo_EnableHWComponentResponse.Marshal(b, m, deterministic) |
| 2452 | } |
| 2453 | func (m *EnableHWComponentResponse) XXX_Merge(src proto.Message) { |
| 2454 | xxx_messageInfo_EnableHWComponentResponse.Merge(m, src) |
| 2455 | } |
| 2456 | func (m *EnableHWComponentResponse) XXX_Size() int { |
| 2457 | return xxx_messageInfo_EnableHWComponentResponse.Size(m) |
| 2458 | } |
| 2459 | func (m *EnableHWComponentResponse) XXX_DiscardUnknown() { |
| 2460 | xxx_messageInfo_EnableHWComponentResponse.DiscardUnknown(m) |
| 2461 | } |
| 2462 | |
| 2463 | var xxx_messageInfo_EnableHWComponentResponse proto.InternalMessageInfo |
| 2464 | |
| 2465 | func (m *EnableHWComponentResponse) GetStatus() Status { |
| 2466 | if m != nil { |
| 2467 | return m.Status |
| 2468 | } |
| 2469 | return Status_UNDEFINED_STATUS |
| 2470 | } |
| 2471 | |
| 2472 | func (m *EnableHWComponentResponse) GetReason() EnableHWComponentResponse_Reason { |
| 2473 | if m != nil { |
| 2474 | return m.Reason |
| 2475 | } |
| 2476 | return EnableHWComponentResponse_UNDEFINED_REASON |
| 2477 | } |
| 2478 | |
| 2479 | func (m *EnableHWComponentResponse) GetReasonDetail() string { |
| 2480 | if m != nil { |
| 2481 | return m.ReasonDetail |
| 2482 | } |
| 2483 | return "" |
| 2484 | } |
| 2485 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 2486 | func init() { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 2487 | proto.RegisterEnum("dmi.PhysicalInventoryResponse_Reason", PhysicalInventoryResponse_Reason_name, PhysicalInventoryResponse_Reason_value) |
| 2488 | proto.RegisterEnum("dmi.HWComponentInfoGetResponse_Reason", HWComponentInfoGetResponse_Reason_name, HWComponentInfoGetResponse_Reason_value) |
| 2489 | proto.RegisterEnum("dmi.HWComponentInfoSetResponse_Reason", HWComponentInfoSetResponse_Reason_name, HWComponentInfoSetResponse_Reason_value) |
| 2490 | proto.RegisterEnum("dmi.StartManagingDeviceResponse_Reason", StartManagingDeviceResponse_Reason_name, StartManagingDeviceResponse_Reason_value) |
| 2491 | proto.RegisterEnum("dmi.StopManagingDeviceResponse_Reason", StopManagingDeviceResponse_Reason_name, StopManagingDeviceResponse_Reason_value) |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 2492 | proto.RegisterEnum("dmi.ManagedDevicesResponse_Reason", ManagedDevicesResponse_Reason_name, ManagedDevicesResponse_Reason_value) |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 2493 | proto.RegisterEnum("dmi.SetRemoteEndpointResponse_Reason", SetRemoteEndpointResponse_Reason_name, SetRemoteEndpointResponse_Reason_value) |
| 2494 | proto.RegisterEnum("dmi.GetLoggingEndpointResponse_Reason", GetLoggingEndpointResponse_Reason_name, GetLoggingEndpointResponse_Reason_value) |
| 2495 | proto.RegisterEnum("dmi.GetMsgBusEndpointResponse_Reason", GetMsgBusEndpointResponse_Reason_name, GetMsgBusEndpointResponse_Reason_value) |
| 2496 | proto.RegisterEnum("dmi.SetLogLevelResponse_Reason", SetLogLevelResponse_Reason_name, SetLogLevelResponse_Reason_value) |
| 2497 | proto.RegisterEnum("dmi.GetLogLevelResponse_Reason", GetLogLevelResponse_Reason_name, GetLogLevelResponse_Reason_value) |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 2498 | proto.RegisterEnum("dmi.SetDmLogLevelResponse_Reason", SetDmLogLevelResponse_Reason_name, SetDmLogLevelResponse_Reason_value) |
| 2499 | proto.RegisterEnum("dmi.GetDmLogLevelResponse_Reason", GetDmLogLevelResponse_Reason_name, GetDmLogLevelResponse_Reason_value) |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 2500 | proto.RegisterEnum("dmi.RebootDeviceResponse_Reason", RebootDeviceResponse_Reason_name, RebootDeviceResponse_Reason_value) |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 2501 | proto.RegisterEnum("dmi.DisableHWComponentResponse_Reason", DisableHWComponentResponse_Reason_name, DisableHWComponentResponse_Reason_value) |
| 2502 | proto.RegisterEnum("dmi.ResetHWComponentResponse_Reason", ResetHWComponentResponse_Reason_name, ResetHWComponentResponse_Reason_value) |
| 2503 | proto.RegisterEnum("dmi.EnableHWComponentResponse_Reason", EnableHWComponentResponse_Reason_name, EnableHWComponentResponse_Reason_value) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 2504 | proto.RegisterType((*PhysicalInventoryRequest)(nil), "dmi.PhysicalInventoryRequest") |
| 2505 | proto.RegisterType((*PhysicalInventoryResponse)(nil), "dmi.PhysicalInventoryResponse") |
| 2506 | proto.RegisterType((*HWComponentInfoGetRequest)(nil), "dmi.HWComponentInfoGetRequest") |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 2507 | proto.RegisterType((*HWComponentInfoGetResponse)(nil), "dmi.HWComponentInfoGetResponse") |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 2508 | proto.RegisterType((*HWComponentInfoSetRequest)(nil), "dmi.HWComponentInfoSetRequest") |
| 2509 | proto.RegisterType((*HWComponentInfoSetResponse)(nil), "dmi.HWComponentInfoSetResponse") |
| 2510 | proto.RegisterType((*StartManagingDeviceResponse)(nil), "dmi.StartManagingDeviceResponse") |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 2511 | proto.RegisterType((*StopManagingDeviceRequest)(nil), "dmi.StopManagingDeviceRequest") |
| 2512 | proto.RegisterType((*StopManagingDeviceResponse)(nil), "dmi.StopManagingDeviceResponse") |
amit.ghosh | 0c68741 | 2021-03-24 19:01:08 +0100 | [diff] [blame] | 2513 | proto.RegisterType((*ManagedDeviceInfo)(nil), "dmi.ManagedDeviceInfo") |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 2514 | proto.RegisterType((*ManagedDevicesResponse)(nil), "dmi.ManagedDevicesResponse") |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 2515 | proto.RegisterType((*SetLoggingEndpointRequest)(nil), "dmi.SetLoggingEndpointRequest") |
| 2516 | proto.RegisterType((*SetRemoteEndpointResponse)(nil), "dmi.SetRemoteEndpointResponse") |
| 2517 | proto.RegisterType((*GetLoggingEndpointResponse)(nil), "dmi.GetLoggingEndpointResponse") |
| 2518 | proto.RegisterType((*SetMsgBusEndpointRequest)(nil), "dmi.SetMsgBusEndpointRequest") |
| 2519 | proto.RegisterType((*GetMsgBusEndpointResponse)(nil), "dmi.GetMsgBusEndpointResponse") |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 2520 | proto.RegisterType((*EntitiesLogLevel)(nil), "dmi.EntitiesLogLevel") |
| 2521 | proto.RegisterType((*SetLogLevelRequest)(nil), "dmi.SetLogLevelRequest") |
| 2522 | proto.RegisterType((*SetLogLevelResponse)(nil), "dmi.SetLogLevelResponse") |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 2523 | proto.RegisterType((*GetLogLevelRequest)(nil), "dmi.GetLogLevelRequest") |
| 2524 | proto.RegisterType((*GetLogLevelResponse)(nil), "dmi.GetLogLevelResponse") |
| 2525 | proto.RegisterType((*GetLoggableEntitiesRequest)(nil), "dmi.GetLoggableEntitiesRequest") |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 2526 | proto.RegisterType((*SetDmLogLevelRequest)(nil), "dmi.SetDmLogLevelRequest") |
| 2527 | proto.RegisterType((*SetDmLogLevelResponse)(nil), "dmi.SetDmLogLevelResponse") |
| 2528 | proto.RegisterType((*GetDmLogLevelRequest)(nil), "dmi.GetDmLogLevelRequest") |
| 2529 | proto.RegisterType((*GetDmLogLevelResponse)(nil), "dmi.GetDmLogLevelResponse") |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 2530 | proto.RegisterType((*Heartbeat)(nil), "dmi.Heartbeat") |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 2531 | proto.RegisterType((*RebootDeviceRequest)(nil), "dmi.RebootDeviceRequest") |
| 2532 | proto.RegisterType((*RebootDeviceResponse)(nil), "dmi.RebootDeviceResponse") |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 2533 | proto.RegisterType((*DisableHWComponentRequest)(nil), "dmi.DisableHWComponentRequest") |
| 2534 | proto.RegisterType((*DisableHWComponentResponse)(nil), "dmi.DisableHWComponentResponse") |
| 2535 | proto.RegisterType((*ResetHWComponentRequest)(nil), "dmi.ResetHWComponentRequest") |
| 2536 | proto.RegisterType((*ResetHWComponentResponse)(nil), "dmi.ResetHWComponentResponse") |
| 2537 | proto.RegisterType((*EnableHWComponentRequest)(nil), "dmi.EnableHWComponentRequest") |
| 2538 | proto.RegisterType((*EnableHWComponentResponse)(nil), "dmi.EnableHWComponentResponse") |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 2539 | } |
| 2540 | |
| 2541 | func init() { proto.RegisterFile("dmi/hw_management_service.proto", fileDescriptor_eae902e73066286d) } |
| 2542 | |
| 2543 | var fileDescriptor_eae902e73066286d = []byte{ |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 2544 | // 1901 bytes of a gzipped FileDescriptorProto |
| 2545 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcd, 0x6f, 0xdb, 0xd8, |
| 2546 | 0x11, 0x2f, 0x29, 0xdb, 0x59, 0x8d, 0x13, 0x47, 0x7e, 0x8e, 0x15, 0x49, 0x69, 0x62, 0x87, 0xe9, |
| 2547 | 0x76, 0xb3, 0xed, 0xae, 0x15, 0x38, 0x87, 0x6e, 0xba, 0xdb, 0x0f, 0x59, 0xa2, 0x69, 0xee, 0xca, |
| 2548 | 0x94, 0xf0, 0x28, 0xc5, 0x48, 0x51, 0x94, 0xa0, 0xa5, 0x67, 0x99, 0xa8, 0x48, 0xba, 0x22, 0xe5, |
| 2549 | 0x85, 0xff, 0x8c, 0x1e, 0x7a, 0xe8, 0xa1, 0xdb, 0xb4, 0xff, 0x41, 0xaf, 0x41, 0xaf, 0x45, 0x0b, |
| 2550 | 0xf4, 0xda, 0x63, 0x81, 0xa2, 0xa7, 0x9e, 0x5b, 0xa0, 0xf7, 0x05, 0xf9, 0x48, 0x7d, 0x90, 0x7c, |
| 2551 | 0xfa, 0xa0, 0xb3, 0x88, 0x6f, 0xd6, 0x7b, 0xf3, 0x7e, 0x1c, 0xce, 0x6f, 0x66, 0x38, 0x33, 0xcf, |
| 2552 | 0xb0, 0xd3, 0x35, 0x8d, 0xf2, 0xf9, 0x97, 0x9a, 0xa9, 0x5b, 0x7a, 0x8f, 0x98, 0xc4, 0x72, 0x35, |
| 2553 | 0x87, 0x0c, 0x2e, 0x8d, 0x0e, 0xd9, 0xbb, 0x18, 0xd8, 0xae, 0x8d, 0x32, 0x5d, 0xd3, 0x28, 0x6d, |
| 2554 | 0x7a, 0x52, 0x1d, 0xdb, 0x34, 0x6d, 0xcb, 0xa1, 0xeb, 0xa5, 0xdb, 0xf4, 0x60, 0xf0, 0xeb, 0x41, |
| 2555 | 0xcf, 0xb6, 0x7b, 0x7d, 0x52, 0xf6, 0x7f, 0x9d, 0x0e, 0xcf, 0xca, 0xc4, 0xbc, 0x70, 0xaf, 0xe8, |
| 2556 | 0xa6, 0x70, 0x08, 0x85, 0xe6, 0xf9, 0x95, 0x63, 0x74, 0xf4, 0xbe, 0x6c, 0x5d, 0x12, 0xcb, 0xb5, |
| 2557 | 0x07, 0x57, 0x98, 0xfc, 0x6a, 0x48, 0x1c, 0x17, 0x7d, 0x0f, 0xd6, 0xbb, 0xc4, 0x7b, 0x9c, 0x36, |
| 2558 | 0x1c, 0x1a, 0xdd, 0x02, 0xb7, 0xcb, 0x3d, 0x5d, 0xdf, 0xcf, 0xee, 0x75, 0x4d, 0x63, 0xaf, 0x3d, |
| 2559 | 0x34, 0xba, 0x18, 0xe8, 0xae, 0xf7, 0xb7, 0xf0, 0x27, 0x1e, 0x8a, 0x09, 0x40, 0xce, 0x85, 0x6d, |
| 2560 | 0x39, 0x04, 0x3d, 0x81, 0x35, 0xc7, 0xd5, 0xdd, 0xa1, 0xe3, 0x83, 0x6c, 0xec, 0xaf, 0xfb, 0x20, |
| 2561 | 0xaa, 0xbf, 0x84, 0x83, 0x2d, 0xf4, 0x23, 0x58, 0x1b, 0x10, 0xdd, 0xb1, 0xad, 0x02, 0xef, 0x0b, |
| 2562 | 0xbd, 0xef, 0x0b, 0x31, 0x41, 0xf7, 0xb0, 0x2f, 0x8c, 0x83, 0x43, 0xe8, 0xfb, 0x90, 0x35, 0x42, |
| 2563 | 0x99, 0x42, 0xc6, 0xd7, 0xf5, 0x8e, 0x8f, 0x70, 0xa4, 0x0f, 0xba, 0x5f, 0xea, 0x03, 0x82, 0xc7, |
| 2564 | 0xfb, 0xe8, 0x09, 0xdc, 0xa1, 0xc7, 0xb4, 0x2e, 0x71, 0x75, 0xa3, 0x5f, 0x58, 0xd9, 0xe5, 0x9e, |
| 2565 | 0x66, 0xf1, 0x6d, 0xba, 0x58, 0xf3, 0xd7, 0x84, 0x5f, 0xc0, 0x1a, 0x7d, 0x06, 0xba, 0x07, 0xb9, |
| 2566 | 0xb6, 0x52, 0x13, 0x0f, 0x65, 0x45, 0xac, 0x69, 0x58, 0xac, 0xa8, 0x0d, 0x25, 0xf7, 0x2d, 0x84, |
| 2567 | 0x60, 0xa3, 0xad, 0x7c, 0xa1, 0x34, 0x4e, 0x14, 0xad, 0x26, 0xbe, 0x94, 0xab, 0x62, 0x8e, 0xf3, |
| 2568 | 0xd6, 0x64, 0xa5, 0x25, 0x62, 0xa5, 0x52, 0xd7, 0x44, 0x8c, 0x1b, 0x38, 0xc7, 0xa3, 0x3c, 0x20, |
| 2569 | 0xba, 0xaf, 0xb5, 0x15, 0x2c, 0x56, 0xaa, 0x47, 0x95, 0x83, 0xba, 0x98, 0xcb, 0x08, 0xaf, 0x39, |
| 2570 | 0x28, 0x1e, 0x9d, 0x54, 0x6d, 0xf3, 0xc2, 0xb6, 0x88, 0xe5, 0xca, 0xd6, 0x99, 0x2d, 0x11, 0x37, |
| 2571 | 0x85, 0xf5, 0xd1, 0x33, 0xd8, 0xe8, 0x84, 0x30, 0x54, 0x9c, 0x8f, 0x8a, 0xdf, 0x19, 0x09, 0xf8, |
| 2572 | 0x27, 0xde, 0x9f, 0x3c, 0x61, 0xe9, 0x26, 0xf1, 0x4d, 0x96, 0x9d, 0x10, 0x53, 0x74, 0x93, 0x08, |
| 2573 | 0x7f, 0xe7, 0xa1, 0x94, 0xa4, 0xe2, 0x32, 0xbc, 0xfe, 0x38, 0xc2, 0xeb, 0x77, 0x29, 0x2b, 0x4c, |
| 2574 | 0xd4, 0x28, 0xb1, 0x1f, 0x41, 0x76, 0xa4, 0x54, 0x40, 0xec, 0x86, 0x0f, 0x31, 0x02, 0xc0, 0x63, |
| 2575 | 0x81, 0xc5, 0x98, 0x1d, 0xa6, 0x60, 0x76, 0x1b, 0x36, 0xc3, 0xb5, 0x6a, 0xe3, 0xb8, 0xd9, 0x50, |
| 2576 | 0x44, 0xa5, 0x95, 0xe3, 0x13, 0x08, 0xcf, 0x30, 0x08, 0x5f, 0x11, 0xfe, 0x11, 0x27, 0x5c, 0xbd, |
| 2577 | 0x59, 0x84, 0xa3, 0x7d, 0xb8, 0xd5, 0x39, 0xd7, 0xad, 0x1e, 0x71, 0x7c, 0xc3, 0xad, 0xef, 0x17, |
| 2578 | 0x7c, 0xc4, 0x63, 0xbb, 0x6b, 0x9c, 0x19, 0xfa, 0x69, 0x9f, 0x8c, 0x8d, 0x1e, 0x0a, 0x0a, 0x7f, |
| 2579 | 0x8d, 0x3b, 0x89, 0xfa, 0x8d, 0x38, 0x89, 0xca, 0x76, 0x92, 0x18, 0xed, 0x99, 0x04, 0xda, 0xbf, |
| 2580 | 0xe2, 0xde, 0x32, 0xef, 0x2f, 0x2b, 0x75, 0xb9, 0xa6, 0x35, 0x2b, 0xb8, 0x72, 0xac, 0xe6, 0x32, |
| 2581 | 0x09, 0xbe, 0xb0, 0xc2, 0xf0, 0x85, 0x55, 0xb4, 0x05, 0x77, 0x55, 0xb1, 0xa5, 0xb5, 0x15, 0xb5, |
| 2582 | 0xdd, 0x6c, 0x36, 0x70, 0x4b, 0xac, 0xe5, 0xd6, 0x84, 0x5f, 0x67, 0xe0, 0x81, 0xea, 0xea, 0x03, |
| 2583 | 0xf7, 0xd8, 0x4b, 0xf9, 0x86, 0xd5, 0xab, 0xf9, 0x94, 0x2f, 0x67, 0xca, 0x9f, 0x44, 0x4c, 0xf9, |
| 2584 | 0x41, 0x28, 0xc4, 0x82, 0x8d, 0xda, 0x32, 0xe2, 0x88, 0x99, 0x59, 0x8e, 0xb8, 0x50, 0xb8, 0xbd, |
| 2585 | 0x99, 0x67, 0xf7, 0x12, 0xe4, 0x03, 0x23, 0x55, 0xea, 0x58, 0xac, 0xd4, 0x5e, 0x69, 0xc7, 0x15, |
| 2586 | 0xa5, 0x22, 0x89, 0xb5, 0x1c, 0x87, 0x1e, 0xc3, 0xc3, 0x46, 0x53, 0xc4, 0x95, 0x96, 0xdc, 0x50, |
| 2587 | 0x46, 0xdb, 0xb2, 0xa2, 0x35, 0x71, 0x43, 0xc2, 0xa2, 0xaa, 0x2e, 0xc1, 0x45, 0x09, 0xf2, 0x95, |
| 2588 | 0x76, 0xeb, 0x48, 0x54, 0x5a, 0x72, 0x95, 0xe2, 0x1d, 0x56, 0xe4, 0x7a, 0x1b, 0x7b, 0x7c, 0xdc, |
| 2589 | 0x87, 0x2d, 0x59, 0xf1, 0x08, 0xae, 0xb4, 0xe4, 0x83, 0xba, 0x18, 0xf2, 0xbf, 0x26, 0x94, 0xa1, |
| 2590 | 0xa8, 0xba, 0xf6, 0x45, 0xd4, 0x74, 0x34, 0x66, 0x11, 0xac, 0xf8, 0xb1, 0xc4, 0xf9, 0x6f, 0xed, |
| 2591 | 0xff, 0x2d, 0xfc, 0x8f, 0x83, 0x52, 0xd2, 0x89, 0xeb, 0x87, 0x03, 0x1b, 0x35, 0x55, 0x38, 0x7c, |
| 2592 | 0x9e, 0x22, 0x1a, 0x92, 0xdd, 0x99, 0x17, 0x4c, 0xd8, 0xf4, 0x35, 0x23, 0x5d, 0xaa, 0x98, 0x17, |
| 2593 | 0xae, 0xe8, 0x23, 0x58, 0x31, 0xac, 0x33, 0x3b, 0x48, 0x65, 0xec, 0x4c, 0xe2, 0x4b, 0x45, 0xdd, |
| 2594 | 0x8e, 0x9f, 0x55, 0x6e, 0xfc, 0x8b, 0x83, 0xfc, 0xd4, 0xf3, 0x9c, 0xe5, 0xec, 0xfb, 0xc3, 0x88, |
| 2595 | 0x7d, 0x05, 0xaa, 0x5b, 0x22, 0x62, 0xd4, 0xb6, 0xcf, 0xe0, 0x16, 0xd5, 0xc4, 0x29, 0x64, 0x76, |
| 2596 | 0x33, 0x4f, 0xd7, 0xf7, 0xf3, 0xf1, 0xc3, 0xde, 0xeb, 0xe3, 0x50, 0x4c, 0xd8, 0x9f, 0x6f, 0xe8, |
| 2597 | 0x88, 0xaf, 0x72, 0xc2, 0xef, 0x38, 0x28, 0xaa, 0xc4, 0xad, 0xdb, 0x3d, 0x8f, 0x6d, 0xd1, 0xea, |
| 2598 | 0x5e, 0xd8, 0x86, 0x95, 0xea, 0x5b, 0xf1, 0x21, 0xe4, 0xfa, 0x14, 0x45, 0x23, 0x01, 0x8c, 0xff, |
| 2599 | 0xd6, 0x59, 0x7c, 0xb7, 0x3f, 0x8d, 0x3e, 0x29, 0xea, 0x97, 0x87, 0x1d, 0x3b, 0xf4, 0x9c, 0x50, |
| 2600 | 0xb4, 0x19, 0x2c, 0x0b, 0xff, 0xe6, 0x7d, 0xfd, 0x30, 0x31, 0x6d, 0x97, 0x8c, 0xd5, 0xbb, 0x7e, |
| 2601 | 0xc1, 0xc7, 0x04, 0x4d, 0xe5, 0xe3, 0x6f, 0xb8, 0xb7, 0x54, 0xc4, 0x95, 0x20, 0x5f, 0x6f, 0x48, |
| 2602 | 0x92, 0xac, 0x48, 0x9a, 0xa8, 0xd4, 0x9a, 0x0d, 0x59, 0x69, 0x8d, 0xbe, 0xf7, 0x4f, 0x60, 0x27, |
| 2603 | 0xb6, 0xd7, 0xc4, 0x8d, 0x56, 0xa3, 0xda, 0x18, 0x27, 0x9f, 0x22, 0x6c, 0x1f, 0xab, 0xd2, 0x41, |
| 2604 | 0x5b, 0x8d, 0x9e, 0x5f, 0x65, 0x04, 0xd5, 0x9a, 0xf0, 0x4f, 0x1e, 0x4a, 0x52, 0x82, 0x0f, 0x5c, |
| 2605 | 0x3f, 0x93, 0xb0, 0x51, 0xa3, 0x56, 0x4e, 0xf2, 0x9e, 0xcc, 0xe2, 0xde, 0xb3, 0x92, 0xe8, 0x3d, |
| 2606 | 0x71, 0xee, 0x56, 0xdf, 0x41, 0xfd, 0x5d, 0x85, 0x82, 0x4a, 0xdc, 0x63, 0xa7, 0x77, 0x30, 0x74, |
| 2607 | 0xa2, 0x01, 0xf6, 0x01, 0xdc, 0x35, 0x9d, 0xde, 0xe9, 0xd0, 0x19, 0xbf, 0x35, 0xcd, 0xf1, 0x1b, |
| 2608 | 0x74, 0x39, 0x94, 0x17, 0x7e, 0xcb, 0x43, 0x51, 0x8a, 0xa3, 0x5c, 0x3f, 0x0e, 0x98, 0xa0, 0x51, |
| 2609 | 0x86, 0x12, 0x54, 0xcd, 0x24, 0xa9, 0xba, 0xd8, 0xb7, 0xfa, 0xf3, 0xe5, 0x73, 0x15, 0xf3, 0xa3, |
| 2610 | 0xf0, 0x0a, 0x72, 0xa2, 0xe5, 0x1a, 0xae, 0x41, 0x9c, 0xba, 0xdd, 0xab, 0x93, 0x4b, 0xd2, 0x47, |
| 2611 | 0x1f, 0xc2, 0x7b, 0xfd, 0xe0, 0xef, 0xc0, 0x26, 0xb4, 0x4b, 0x0b, 0x05, 0xf0, 0x68, 0x1b, 0x95, |
| 2612 | 0xe0, 0x3d, 0x12, 0x1c, 0x2f, 0xf0, 0xbb, 0x99, 0xa7, 0x59, 0x3c, 0xfa, 0x2d, 0x0c, 0x01, 0xd1, |
| 2613 | 0xec, 0x48, 0x0f, 0xa5, 0x48, 0x8b, 0xcf, 0x21, 0xdb, 0xf7, 0xfa, 0xe2, 0x4b, 0xd2, 0xa7, 0xf0, |
| 2614 | 0xeb, 0xfb, 0xdb, 0xbe, 0x64, 0x54, 0x65, 0x3c, 0x96, 0x13, 0xfe, 0xcc, 0xc3, 0xd6, 0xd4, 0x73, |
| 2615 | 0x03, 0x9e, 0x97, 0x79, 0xf0, 0xd8, 0x27, 0x78, 0xb6, 0x4f, 0xfc, 0x60, 0xe4, 0x13, 0x19, 0x5f, |
| 2616 | 0x68, 0x27, 0xcc, 0x8d, 0xd1, 0x47, 0xcf, 0xcd, 0x8a, 0x49, 0x24, 0x5f, 0xbe, 0xbd, 0xc8, 0x0a, |
| 2617 | 0xe5, 0xea, 0x0d, 0x2f, 0xf9, 0xb5, 0xe4, 0xd6, 0xab, 0x19, 0x0d, 0xd0, 0xcf, 0x01, 0x49, 0xd7, |
| 2618 | 0x63, 0x6d, 0x96, 0x4f, 0xfc, 0x97, 0x87, 0x2d, 0xe9, 0x9a, 0xe4, 0x50, 0xaf, 0xa8, 0x2f, 0xe8, |
| 2619 | 0x15, 0x54, 0x6e, 0x82, 0xd1, 0xcc, 0x22, 0x8c, 0xae, 0x4c, 0x30, 0x2a, 0xa5, 0x60, 0x74, 0xf5, |
| 2620 | 0x06, 0x31, 0x7a, 0x34, 0xfa, 0x42, 0x79, 0x25, 0x5d, 0x68, 0xa4, 0x34, 0x13, 0xa4, 0x4f, 0xe1, |
| 2621 | 0x9e, 0x4a, 0xdc, 0x9a, 0x19, 0xf5, 0x8e, 0x27, 0xb0, 0xda, 0x67, 0x67, 0x0b, 0xba, 0x27, 0xfc, |
| 2622 | 0x87, 0x83, 0xed, 0xc8, 0xe9, 0x65, 0x32, 0xf0, 0x8b, 0x48, 0x06, 0x7e, 0x1c, 0x46, 0x5b, 0x1c, |
| 2623 | 0x30, 0x55, 0x15, 0x22, 0xa7, 0x48, 0xaa, 0x13, 0x7d, 0xa7, 0xc7, 0x44, 0x5d, 0x7c, 0x29, 0xd6, |
| 2624 | 0x73, 0xbc, 0x90, 0x87, 0x7b, 0x52, 0x82, 0x99, 0x84, 0xff, 0x73, 0xb0, 0x2d, 0x31, 0x2c, 0x30, |
| 2625 | 0xdf, 0x80, 0x8b, 0x25, 0xa5, 0x17, 0x91, 0xa4, 0xf4, 0x38, 0x74, 0xe1, 0x14, 0x66, 0x4a, 0x4a, |
| 2626 | 0x4b, 0x69, 0xea, 0xe4, 0xcf, 0x20, 0x7b, 0x44, 0xf4, 0x81, 0x7b, 0x4a, 0x74, 0x17, 0x95, 0x61, |
| 2627 | 0xeb, 0x3c, 0xfc, 0xa1, 0x39, 0x46, 0xcf, 0xd2, 0xdd, 0xe1, 0x80, 0x76, 0x67, 0xb7, 0x30, 0x1a, |
| 2628 | 0x6d, 0xa9, 0xe1, 0x8e, 0x50, 0x81, 0x2d, 0x4c, 0x4e, 0x6d, 0xdb, 0x9d, 0x6e, 0xeb, 0x96, 0xf1, |
| 2629 | 0xdb, 0xdf, 0xf0, 0x70, 0x6f, 0x1a, 0x23, 0xe6, 0x79, 0x33, 0xb2, 0xc2, 0x27, 0x91, 0xac, 0xb0, |
| 2630 | 0xeb, 0x0b, 0x25, 0xe1, 0xa5, 0x4a, 0x0b, 0x57, 0xdf, 0x6c, 0x09, 0xe5, 0x15, 0xb5, 0xc1, 0xba, |
| 2631 | 0xac, 0x68, 0x27, 0xb8, 0xa1, 0x48, 0x9a, 0xda, 0xaa, 0xb4, 0xbc, 0xcc, 0xf0, 0x9a, 0x83, 0x62, |
| 2632 | 0xcd, 0x70, 0xbc, 0xb4, 0x30, 0x31, 0xc6, 0xb9, 0x71, 0xd3, 0xcd, 0x24, 0x15, 0xaf, 0x5f, 0x5f, |
| 2633 | 0xb3, 0x51, 0x53, 0xe5, 0x8f, 0x3f, 0x72, 0xef, 0x64, 0x60, 0x89, 0xee, 0xc3, 0x56, 0x4d, 0x56, |
| 2634 | 0xbd, 0x1f, 0x53, 0x83, 0xaa, 0xd5, 0x84, 0x89, 0xcb, 0x9a, 0xf0, 0x15, 0x07, 0xf7, 0x31, 0x71, |
| 2635 | 0x88, 0x7b, 0x53, 0xe9, 0xfe, 0x0b, 0x0f, 0x85, 0xb8, 0x82, 0xcb, 0x90, 0xfd, 0x59, 0x84, 0xec, |
| 2636 | 0xef, 0x04, 0xd1, 0x9a, 0x8c, 0x99, 0x8a, 0xea, 0xd7, 0xef, 0x88, 0xea, 0x6d, 0xd8, 0xc4, 0x62, |
| 2637 | 0x74, 0x22, 0x99, 0x4c, 0xf4, 0xef, 0x39, 0x28, 0x88, 0xd6, 0x4d, 0x0e, 0xec, 0xbf, 0xf1, 0x50, |
| 2638 | 0x4c, 0xd0, 0xf0, 0xfa, 0x4d, 0x19, 0x13, 0x34, 0x15, 0xd7, 0x7f, 0x78, 0x47, 0x5c, 0xe7, 0x01, |
| 2639 | 0x89, 0xca, 0x62, 0x51, 0xbd, 0xff, 0xe6, 0x36, 0x14, 0x15, 0xdd, 0x35, 0x2e, 0xc9, 0xd1, 0xc9, |
| 2640 | 0xf1, 0xe8, 0x22, 0x52, 0xa5, 0xf7, 0x90, 0x48, 0x85, 0xad, 0x84, 0xc1, 0x32, 0x62, 0x8e, 0xfa, |
| 2641 | 0x4a, 0xbb, 0xf3, 0x86, 0xd1, 0xcf, 0x38, 0xd4, 0x06, 0x14, 0x9f, 0x74, 0xa2, 0x47, 0xcc, 0x11, |
| 2642 | 0xa8, 0xef, 0x78, 0xa5, 0x9d, 0x39, 0x23, 0x52, 0x74, 0x04, 0x9b, 0x5e, 0x4f, 0x3d, 0x35, 0xe3, |
| 2643 | 0x43, 0xf9, 0x3d, 0x7a, 0x3b, 0xba, 0x17, 0xde, 0x8e, 0xee, 0x89, 0xe6, 0x85, 0x7b, 0x55, 0x7a, |
| 2644 | 0x30, 0x63, 0x20, 0x88, 0x4e, 0xfc, 0x1a, 0x2c, 0x76, 0x33, 0x89, 0x1e, 0xb2, 0x6e, 0x2c, 0xa9, |
| 2645 | 0x86, 0x8f, 0x66, 0x5f, 0x68, 0x3e, 0xe3, 0xd0, 0x89, 0xdf, 0x1f, 0x45, 0x6e, 0x3d, 0x82, 0x37, |
| 2646 | 0x67, 0xde, 0x14, 0x06, 0x6f, 0xce, 0xbe, 0x50, 0x0b, 0x4c, 0xba, 0x20, 0xb0, 0x3a, 0x07, 0x78, |
| 2647 | 0xf2, 0x6a, 0xa7, 0x15, 0x76, 0xe1, 0x53, 0x73, 0xa0, 0x47, 0x13, 0xbd, 0x6a, 0xc2, 0xf0, 0xb2, |
| 2648 | 0xf4, 0x68, 0xf6, 0x9c, 0x0f, 0x1d, 0x86, 0x5d, 0xe2, 0x14, 0xea, 0xdd, 0xa9, 0xcb, 0x5c, 0xb9, |
| 2649 | 0x56, 0xda, 0x99, 0x33, 0xc9, 0x42, 0x18, 0x36, 0x63, 0xf3, 0x9d, 0x80, 0x23, 0xd6, 0xdc, 0x67, |
| 2650 | 0xae, 0x6e, 0x5f, 0x50, 0x27, 0x9a, 0xc6, 0x64, 0x39, 0xd1, 0xa3, 0xd9, 0x83, 0x1c, 0xd4, 0x0c, |
| 2651 | 0xfb, 0xd5, 0xa9, 0xe6, 0x09, 0x4d, 0xbd, 0x58, 0x42, 0x5b, 0x55, 0x2a, 0xb0, 0x5a, 0x47, 0xf4, |
| 2652 | 0x53, 0x58, 0x9f, 0x98, 0x11, 0xa0, 0xfb, 0xf1, 0xa9, 0xc1, 0x24, 0x82, 0x9a, 0x8c, 0x20, 0xc5, |
| 2653 | 0x10, 0x24, 0x16, 0x42, 0x92, 0x0e, 0x9f, 0xc0, 0xc6, 0xa8, 0x22, 0xaf, 0x9e, 0x93, 0xce, 0x2f, |
| 2654 | 0x99, 0xf6, 0xa1, 0xd7, 0xb8, 0xe3, 0xf2, 0xbd, 0x0a, 0xb7, 0x27, 0x2b, 0xdf, 0x20, 0x8d, 0x24, |
| 2655 | 0x14, 0xe8, 0xa5, 0x22, 0xb3, 0x4c, 0x46, 0x87, 0x70, 0x67, 0xaa, 0x71, 0x43, 0xc5, 0xa4, 0x66, |
| 2656 | 0x8e, 0xc2, 0x94, 0xd8, 0x7d, 0x9e, 0x87, 0x23, 0x25, 0xe0, 0x48, 0x6c, 0x9c, 0xe4, 0xf6, 0xab, |
| 2657 | 0x0d, 0x28, 0x5e, 0x0d, 0x06, 0x31, 0xc2, 0xac, 0x8f, 0x03, 0xe7, 0x9e, 0x51, 0x9c, 0x36, 0x20, |
| 2658 | 0x17, 0xad, 0x3b, 0xd0, 0xb7, 0x19, 0xe5, 0x08, 0x85, 0x7c, 0x38, 0xb3, 0x58, 0xf1, 0xa2, 0x25, |
| 2659 | 0xf6, 0x75, 0x0b, 0xa2, 0x85, 0xf5, 0xb1, 0x0f, 0x1c, 0x9c, 0xf9, 0x51, 0x3c, 0xf8, 0xf4, 0x67, |
| 2660 | 0x2f, 0x7a, 0x86, 0x7b, 0x3e, 0x3c, 0xdd, 0xeb, 0xd8, 0x66, 0xd9, 0xbe, 0x20, 0x56, 0xc7, 0x1e, |
| 2661 | 0x74, 0xcb, 0xb4, 0x04, 0xf8, 0x78, 0xfc, 0x7f, 0x2d, 0x1f, 0x1b, 0x96, 0x4b, 0x06, 0x67, 0x7a, |
| 2662 | 0x87, 0x94, 0x2f, 0x9f, 0x97, 0x7b, 0x76, 0xb9, 0x6b, 0x1a, 0xa7, 0x6b, 0xbe, 0xb7, 0x3c, 0xff, |
| 2663 | 0x3a, 0x00, 0x00, 0xff, 0xff, 0xac, 0x7c, 0x97, 0xc0, 0x07, 0x23, 0x00, 0x00, |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 2664 | } |
| 2665 | |
| 2666 | // Reference imports to suppress errors if they are not otherwise used. |
| 2667 | var _ context.Context |
| 2668 | var _ grpc.ClientConn |
| 2669 | |
| 2670 | // This is a compile-time assertion to ensure that this generated file |
| 2671 | // is compatible with the grpc package it is being compiled against. |
| 2672 | const _ = grpc.SupportPackageIsVersion4 |
| 2673 | |
| 2674 | // NativeHWManagementServiceClient is the client API for NativeHWManagementService service. |
| 2675 | // |
| 2676 | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 2677 | type NativeHWManagementServiceClient interface { |
| 2678 | // Initializes context for a device and sets up required states |
Amit Ghosh | 704462f | 2020-06-24 16:44:56 +0100 | [diff] [blame] | 2679 | // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant |
| 2680 | // and their meanings in this context is mentioned below: |
| 2681 | // name = The unique name that needs to be assigned to this hardware; |
| 2682 | // class = COMPONENT_TYPE_UNDEFINED; |
| 2683 | // parent = nil; |
| 2684 | // alias = Optional; |
| 2685 | // asset_id = Optional; |
| 2686 | // uri = IP Address of the Hardware; |
| 2687 | StartManagingDevice(ctx context.Context, in *ModifiableComponent, opts ...grpc.CallOption) (NativeHWManagementService_StartManagingDeviceClient, error) |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 2688 | // 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] | 2689 | // This rpc can be called at any time, even before the StartManagingDevice operation |
| 2690 | // has completed, and should be able to cleanup. |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 2691 | StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 2692 | // Returns an object containing a list of devices managed by this entity |
| 2693 | GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 2694 | // Get the HW inventory details of the Device |
| 2695 | GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) |
| 2696 | // Get the details of a particular HW component |
| 2697 | GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) |
| 2698 | // Sets the permissible attributes of a HW component |
| 2699 | SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 2700 | // Sets the location to which logs need to be shipped |
| 2701 | SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) |
| 2702 | // Gets the configured location to which the logs are being shipped |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame] | 2703 | GetLoggingEndpoint(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetLoggingEndpointResponse, error) |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 2704 | // Sets the location of the Message Bus to which events and metrics are shipped |
| 2705 | SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) |
| 2706 | // Gets the configured location to which the events and metrics are being shipped |
| 2707 | GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 2708 | // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc. |
| 2709 | // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem, |
| 2710 | // interface, package etc. |
| 2711 | GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame] | 2712 | // 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] | 2713 | // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with |
| 2714 | // no entity in the list it's assumed that the caller wants to set that level for all the entities. |
| 2715 | SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) |
| 2716 | // Gets the configured log level for a certain entity on a certain device. |
| 2717 | // If no entity is specified in the request all the entities with their log level should be returned. |
| 2718 | GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 2719 | // Performs the heartbeat check |
| 2720 | 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] | 2721 | // Performs the reboot of the device |
| 2722 | RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error) |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 2723 | // Sets the log level of the Device Manager itself |
| 2724 | SetDmLogLevel(ctx context.Context, in *SetDmLogLevelRequest, opts ...grpc.CallOption) (*SetDmLogLevelResponse, error) |
| 2725 | // Gets the log level at which the Device Manager is running |
| 2726 | GetDmLogLevel(ctx context.Context, in *GetDmLogLevelRequest, opts ...grpc.CallOption) (*GetDmLogLevelResponse, error) |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 2727 | // Disables a hardware component on a device. |
| 2728 | DisableHWComponent(ctx context.Context, in *DisableHWComponentRequest, opts ...grpc.CallOption) (*DisableHWComponentResponse, error) |
| 2729 | // Resets a hardware component on a device. |
| 2730 | ResetHWComponent(ctx context.Context, in *ResetHWComponentRequest, opts ...grpc.CallOption) (*ResetHWComponentResponse, error) |
| 2731 | // Enables a hardware component on a device. |
| 2732 | EnableHWComponent(ctx context.Context, in *EnableHWComponentRequest, opts ...grpc.CallOption) (*EnableHWComponentResponse, error) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 2733 | } |
| 2734 | |
| 2735 | type nativeHWManagementServiceClient struct { |
| 2736 | cc *grpc.ClientConn |
| 2737 | } |
| 2738 | |
| 2739 | func NewNativeHWManagementServiceClient(cc *grpc.ClientConn) NativeHWManagementServiceClient { |
| 2740 | return &nativeHWManagementServiceClient{cc} |
| 2741 | } |
| 2742 | |
Amit Ghosh | 704462f | 2020-06-24 16:44:56 +0100 | [diff] [blame] | 2743 | 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] | 2744 | stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[0], "/dmi.NativeHWManagementService/StartManagingDevice", opts...) |
| 2745 | if err != nil { |
| 2746 | return nil, err |
| 2747 | } |
| 2748 | x := &nativeHWManagementServiceStartManagingDeviceClient{stream} |
| 2749 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 2750 | return nil, err |
| 2751 | } |
| 2752 | if err := x.ClientStream.CloseSend(); err != nil { |
| 2753 | return nil, err |
| 2754 | } |
| 2755 | return x, nil |
| 2756 | } |
| 2757 | |
| 2758 | type NativeHWManagementService_StartManagingDeviceClient interface { |
| 2759 | Recv() (*StartManagingDeviceResponse, error) |
| 2760 | grpc.ClientStream |
| 2761 | } |
| 2762 | |
| 2763 | type nativeHWManagementServiceStartManagingDeviceClient struct { |
| 2764 | grpc.ClientStream |
| 2765 | } |
| 2766 | |
| 2767 | func (x *nativeHWManagementServiceStartManagingDeviceClient) Recv() (*StartManagingDeviceResponse, error) { |
| 2768 | m := new(StartManagingDeviceResponse) |
| 2769 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 2770 | return nil, err |
| 2771 | } |
| 2772 | return m, nil |
| 2773 | } |
| 2774 | |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 2775 | func (c *nativeHWManagementServiceClient) StopManagingDevice(ctx context.Context, in *StopManagingDeviceRequest, opts ...grpc.CallOption) (*StopManagingDeviceResponse, error) { |
| 2776 | out := new(StopManagingDeviceResponse) |
| 2777 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/StopManagingDevice", in, out, opts...) |
| 2778 | if err != nil { |
| 2779 | return nil, err |
| 2780 | } |
| 2781 | return out, nil |
| 2782 | } |
| 2783 | |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 2784 | func (c *nativeHWManagementServiceClient) GetManagedDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ManagedDevicesResponse, error) { |
| 2785 | out := new(ManagedDevicesResponse) |
| 2786 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetManagedDevices", in, out, opts...) |
| 2787 | if err != nil { |
| 2788 | return nil, err |
| 2789 | } |
| 2790 | return out, nil |
| 2791 | } |
| 2792 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 2793 | func (c *nativeHWManagementServiceClient) GetPhysicalInventory(ctx context.Context, in *PhysicalInventoryRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetPhysicalInventoryClient, error) { |
| 2794 | stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[1], "/dmi.NativeHWManagementService/GetPhysicalInventory", opts...) |
| 2795 | if err != nil { |
| 2796 | return nil, err |
| 2797 | } |
| 2798 | x := &nativeHWManagementServiceGetPhysicalInventoryClient{stream} |
| 2799 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 2800 | return nil, err |
| 2801 | } |
| 2802 | if err := x.ClientStream.CloseSend(); err != nil { |
| 2803 | return nil, err |
| 2804 | } |
| 2805 | return x, nil |
| 2806 | } |
| 2807 | |
| 2808 | type NativeHWManagementService_GetPhysicalInventoryClient interface { |
| 2809 | Recv() (*PhysicalInventoryResponse, error) |
| 2810 | grpc.ClientStream |
| 2811 | } |
| 2812 | |
| 2813 | type nativeHWManagementServiceGetPhysicalInventoryClient struct { |
| 2814 | grpc.ClientStream |
| 2815 | } |
| 2816 | |
| 2817 | func (x *nativeHWManagementServiceGetPhysicalInventoryClient) Recv() (*PhysicalInventoryResponse, error) { |
| 2818 | m := new(PhysicalInventoryResponse) |
| 2819 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 2820 | return nil, err |
| 2821 | } |
| 2822 | return m, nil |
| 2823 | } |
| 2824 | |
| 2825 | func (c *nativeHWManagementServiceClient) GetHWComponentInfo(ctx context.Context, in *HWComponentInfoGetRequest, opts ...grpc.CallOption) (NativeHWManagementService_GetHWComponentInfoClient, error) { |
| 2826 | stream, err := c.cc.NewStream(ctx, &_NativeHWManagementService_serviceDesc.Streams[2], "/dmi.NativeHWManagementService/GetHWComponentInfo", opts...) |
| 2827 | if err != nil { |
| 2828 | return nil, err |
| 2829 | } |
| 2830 | x := &nativeHWManagementServiceGetHWComponentInfoClient{stream} |
| 2831 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 2832 | return nil, err |
| 2833 | } |
| 2834 | if err := x.ClientStream.CloseSend(); err != nil { |
| 2835 | return nil, err |
| 2836 | } |
| 2837 | return x, nil |
| 2838 | } |
| 2839 | |
| 2840 | type NativeHWManagementService_GetHWComponentInfoClient interface { |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 2841 | Recv() (*HWComponentInfoGetResponse, error) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 2842 | grpc.ClientStream |
| 2843 | } |
| 2844 | |
| 2845 | type nativeHWManagementServiceGetHWComponentInfoClient struct { |
| 2846 | grpc.ClientStream |
| 2847 | } |
| 2848 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 2849 | func (x *nativeHWManagementServiceGetHWComponentInfoClient) Recv() (*HWComponentInfoGetResponse, error) { |
| 2850 | m := new(HWComponentInfoGetResponse) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 2851 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 2852 | return nil, err |
| 2853 | } |
| 2854 | return m, nil |
| 2855 | } |
| 2856 | |
| 2857 | func (c *nativeHWManagementServiceClient) SetHWComponentInfo(ctx context.Context, in *HWComponentInfoSetRequest, opts ...grpc.CallOption) (*HWComponentInfoSetResponse, error) { |
| 2858 | out := new(HWComponentInfoSetResponse) |
| 2859 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetHWComponentInfo", in, out, opts...) |
| 2860 | if err != nil { |
| 2861 | return nil, err |
| 2862 | } |
| 2863 | return out, nil |
| 2864 | } |
| 2865 | |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 2866 | func (c *nativeHWManagementServiceClient) SetLoggingEndpoint(ctx context.Context, in *SetLoggingEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) { |
| 2867 | out := new(SetRemoteEndpointResponse) |
| 2868 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLoggingEndpoint", in, out, opts...) |
| 2869 | if err != nil { |
| 2870 | return nil, err |
| 2871 | } |
| 2872 | return out, nil |
| 2873 | } |
| 2874 | |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame] | 2875 | 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] | 2876 | out := new(GetLoggingEndpointResponse) |
| 2877 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggingEndpoint", in, out, opts...) |
| 2878 | if err != nil { |
| 2879 | return nil, err |
| 2880 | } |
| 2881 | return out, nil |
| 2882 | } |
| 2883 | |
| 2884 | func (c *nativeHWManagementServiceClient) SetMsgBusEndpoint(ctx context.Context, in *SetMsgBusEndpointRequest, opts ...grpc.CallOption) (*SetRemoteEndpointResponse, error) { |
| 2885 | out := new(SetRemoteEndpointResponse) |
| 2886 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetMsgBusEndpoint", in, out, opts...) |
| 2887 | if err != nil { |
| 2888 | return nil, err |
| 2889 | } |
| 2890 | return out, nil |
| 2891 | } |
| 2892 | |
| 2893 | func (c *nativeHWManagementServiceClient) GetMsgBusEndpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetMsgBusEndpointResponse, error) { |
| 2894 | out := new(GetMsgBusEndpointResponse) |
| 2895 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetMsgBusEndpoint", in, out, opts...) |
| 2896 | if err != nil { |
| 2897 | return nil, err |
| 2898 | } |
| 2899 | return out, nil |
| 2900 | } |
| 2901 | |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 2902 | func (c *nativeHWManagementServiceClient) GetLoggableEntities(ctx context.Context, in *GetLoggableEntitiesRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) { |
| 2903 | out := new(GetLogLevelResponse) |
| 2904 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLoggableEntities", in, out, opts...) |
| 2905 | if err != nil { |
| 2906 | return nil, err |
| 2907 | } |
| 2908 | return out, nil |
| 2909 | } |
| 2910 | |
| 2911 | func (c *nativeHWManagementServiceClient) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) { |
| 2912 | out := new(SetLogLevelResponse) |
| 2913 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetLogLevel", in, out, opts...) |
| 2914 | if err != nil { |
| 2915 | return nil, err |
| 2916 | } |
| 2917 | return out, nil |
| 2918 | } |
| 2919 | |
| 2920 | func (c *nativeHWManagementServiceClient) GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) { |
| 2921 | out := new(GetLogLevelResponse) |
| 2922 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetLogLevel", in, out, opts...) |
| 2923 | if err != nil { |
| 2924 | return nil, err |
| 2925 | } |
| 2926 | return out, nil |
| 2927 | } |
| 2928 | |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 2929 | func (c *nativeHWManagementServiceClient) HeartbeatCheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Heartbeat, error) { |
| 2930 | out := new(Heartbeat) |
| 2931 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/HeartbeatCheck", in, out, opts...) |
| 2932 | if err != nil { |
| 2933 | return nil, err |
| 2934 | } |
| 2935 | return out, nil |
| 2936 | } |
| 2937 | |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 2938 | func (c *nativeHWManagementServiceClient) RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error) { |
| 2939 | out := new(RebootDeviceResponse) |
| 2940 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/RebootDevice", in, out, opts...) |
| 2941 | if err != nil { |
| 2942 | return nil, err |
| 2943 | } |
| 2944 | return out, nil |
| 2945 | } |
| 2946 | |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 2947 | func (c *nativeHWManagementServiceClient) SetDmLogLevel(ctx context.Context, in *SetDmLogLevelRequest, opts ...grpc.CallOption) (*SetDmLogLevelResponse, error) { |
| 2948 | out := new(SetDmLogLevelResponse) |
| 2949 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/SetDmLogLevel", in, out, opts...) |
| 2950 | if err != nil { |
| 2951 | return nil, err |
| 2952 | } |
| 2953 | return out, nil |
| 2954 | } |
| 2955 | |
| 2956 | func (c *nativeHWManagementServiceClient) GetDmLogLevel(ctx context.Context, in *GetDmLogLevelRequest, opts ...grpc.CallOption) (*GetDmLogLevelResponse, error) { |
| 2957 | out := new(GetDmLogLevelResponse) |
| 2958 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/GetDmLogLevel", in, out, opts...) |
| 2959 | if err != nil { |
| 2960 | return nil, err |
| 2961 | } |
| 2962 | return out, nil |
| 2963 | } |
| 2964 | |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 2965 | func (c *nativeHWManagementServiceClient) DisableHWComponent(ctx context.Context, in *DisableHWComponentRequest, opts ...grpc.CallOption) (*DisableHWComponentResponse, error) { |
| 2966 | out := new(DisableHWComponentResponse) |
| 2967 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/DisableHWComponent", in, out, opts...) |
| 2968 | if err != nil { |
| 2969 | return nil, err |
| 2970 | } |
| 2971 | return out, nil |
| 2972 | } |
| 2973 | |
| 2974 | func (c *nativeHWManagementServiceClient) ResetHWComponent(ctx context.Context, in *ResetHWComponentRequest, opts ...grpc.CallOption) (*ResetHWComponentResponse, error) { |
| 2975 | out := new(ResetHWComponentResponse) |
| 2976 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/ResetHWComponent", in, out, opts...) |
| 2977 | if err != nil { |
| 2978 | return nil, err |
| 2979 | } |
| 2980 | return out, nil |
| 2981 | } |
| 2982 | |
| 2983 | func (c *nativeHWManagementServiceClient) EnableHWComponent(ctx context.Context, in *EnableHWComponentRequest, opts ...grpc.CallOption) (*EnableHWComponentResponse, error) { |
| 2984 | out := new(EnableHWComponentResponse) |
| 2985 | err := c.cc.Invoke(ctx, "/dmi.NativeHWManagementService/EnableHWComponent", in, out, opts...) |
| 2986 | if err != nil { |
| 2987 | return nil, err |
| 2988 | } |
| 2989 | return out, nil |
| 2990 | } |
| 2991 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 2992 | // NativeHWManagementServiceServer is the server API for NativeHWManagementService service. |
| 2993 | type NativeHWManagementServiceServer interface { |
| 2994 | // Initializes context for a device and sets up required states |
Amit Ghosh | 704462f | 2020-06-24 16:44:56 +0100 | [diff] [blame] | 2995 | // In the call to StartManagingDevice, the fields of ModifiableComponent which are relevant |
| 2996 | // and their meanings in this context is mentioned below: |
| 2997 | // name = The unique name that needs to be assigned to this hardware; |
| 2998 | // class = COMPONENT_TYPE_UNDEFINED; |
| 2999 | // parent = nil; |
| 3000 | // alias = Optional; |
| 3001 | // asset_id = Optional; |
| 3002 | // uri = IP Address of the Hardware; |
| 3003 | StartManagingDevice(*ModifiableComponent, NativeHWManagementService_StartManagingDeviceServer) error |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 3004 | // 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] | 3005 | // This rpc can be called at any time, even before the StartManagingDevice operation |
| 3006 | // has completed, and should be able to cleanup. |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 3007 | StopManagingDevice(context.Context, *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error) |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 3008 | // Returns an object containing a list of devices managed by this entity |
| 3009 | GetManagedDevices(context.Context, *empty.Empty) (*ManagedDevicesResponse, error) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 3010 | // Get the HW inventory details of the Device |
| 3011 | GetPhysicalInventory(*PhysicalInventoryRequest, NativeHWManagementService_GetPhysicalInventoryServer) error |
| 3012 | // Get the details of a particular HW component |
| 3013 | GetHWComponentInfo(*HWComponentInfoGetRequest, NativeHWManagementService_GetHWComponentInfoServer) error |
| 3014 | // Sets the permissible attributes of a HW component |
| 3015 | SetHWComponentInfo(context.Context, *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error) |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 3016 | // Sets the location to which logs need to be shipped |
| 3017 | SetLoggingEndpoint(context.Context, *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error) |
| 3018 | // Gets the configured location to which the logs are being shipped |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame] | 3019 | GetLoggingEndpoint(context.Context, *HardwareID) (*GetLoggingEndpointResponse, error) |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 3020 | // Sets the location of the Message Bus to which events and metrics are shipped |
| 3021 | SetMsgBusEndpoint(context.Context, *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error) |
| 3022 | // Gets the configured location to which the events and metrics are being shipped |
| 3023 | GetMsgBusEndpoint(context.Context, *empty.Empty) (*GetMsgBusEndpointResponse, error) |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 3024 | // Gets the entities of a device on which log can be configured. A few are expected, like OS, PON Management etc. |
| 3025 | // In general an entity is any item within an hardware system that can emit logs, e.g. service, process, subsystem, |
| 3026 | // interface, package etc. |
| 3027 | GetLoggableEntities(context.Context, *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error) |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame] | 3028 | // 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] | 3029 | // If only one EntitiesLogLevel is provided for the device and that request contains only a log level with |
| 3030 | // no entity in the list it's assumed that the caller wants to set that level for all the entities. |
| 3031 | SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error) |
| 3032 | // Gets the configured log level for a certain entity on a certain device. |
| 3033 | // If no entity is specified in the request all the entities with their log level should be returned. |
| 3034 | GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error) |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 3035 | // Performs the heartbeat check |
| 3036 | HeartbeatCheck(context.Context, *empty.Empty) (*Heartbeat, error) |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 3037 | // Performs the reboot of the device |
| 3038 | RebootDevice(context.Context, *RebootDeviceRequest) (*RebootDeviceResponse, error) |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 3039 | // Sets the log level of the Device Manager itself |
| 3040 | SetDmLogLevel(context.Context, *SetDmLogLevelRequest) (*SetDmLogLevelResponse, error) |
| 3041 | // Gets the log level at which the Device Manager is running |
| 3042 | GetDmLogLevel(context.Context, *GetDmLogLevelRequest) (*GetDmLogLevelResponse, error) |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 3043 | // Disables a hardware component on a device. |
| 3044 | DisableHWComponent(context.Context, *DisableHWComponentRequest) (*DisableHWComponentResponse, error) |
| 3045 | // Resets a hardware component on a device. |
| 3046 | ResetHWComponent(context.Context, *ResetHWComponentRequest) (*ResetHWComponentResponse, error) |
| 3047 | // Enables a hardware component on a device. |
| 3048 | EnableHWComponent(context.Context, *EnableHWComponentRequest) (*EnableHWComponentResponse, error) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 3049 | } |
| 3050 | |
Andrea Campanella | c795b7d | 2021-04-14 13:24:44 +0200 | [diff] [blame] | 3051 | // UnimplementedNativeHWManagementServiceServer can be embedded to have forward compatible implementations. |
| 3052 | type UnimplementedNativeHWManagementServiceServer struct { |
| 3053 | } |
| 3054 | |
| 3055 | func (*UnimplementedNativeHWManagementServiceServer) StartManagingDevice(req *ModifiableComponent, srv NativeHWManagementService_StartManagingDeviceServer) error { |
| 3056 | return status.Errorf(codes.Unimplemented, "method StartManagingDevice not implemented") |
| 3057 | } |
| 3058 | func (*UnimplementedNativeHWManagementServiceServer) StopManagingDevice(ctx context.Context, req *StopManagingDeviceRequest) (*StopManagingDeviceResponse, error) { |
| 3059 | return nil, status.Errorf(codes.Unimplemented, "method StopManagingDevice not implemented") |
| 3060 | } |
| 3061 | func (*UnimplementedNativeHWManagementServiceServer) GetManagedDevices(ctx context.Context, req *empty.Empty) (*ManagedDevicesResponse, error) { |
| 3062 | return nil, status.Errorf(codes.Unimplemented, "method GetManagedDevices not implemented") |
| 3063 | } |
| 3064 | func (*UnimplementedNativeHWManagementServiceServer) GetPhysicalInventory(req *PhysicalInventoryRequest, srv NativeHWManagementService_GetPhysicalInventoryServer) error { |
| 3065 | return status.Errorf(codes.Unimplemented, "method GetPhysicalInventory not implemented") |
| 3066 | } |
| 3067 | func (*UnimplementedNativeHWManagementServiceServer) GetHWComponentInfo(req *HWComponentInfoGetRequest, srv NativeHWManagementService_GetHWComponentInfoServer) error { |
| 3068 | return status.Errorf(codes.Unimplemented, "method GetHWComponentInfo not implemented") |
| 3069 | } |
| 3070 | func (*UnimplementedNativeHWManagementServiceServer) SetHWComponentInfo(ctx context.Context, req *HWComponentInfoSetRequest) (*HWComponentInfoSetResponse, error) { |
| 3071 | return nil, status.Errorf(codes.Unimplemented, "method SetHWComponentInfo not implemented") |
| 3072 | } |
| 3073 | func (*UnimplementedNativeHWManagementServiceServer) SetLoggingEndpoint(ctx context.Context, req *SetLoggingEndpointRequest) (*SetRemoteEndpointResponse, error) { |
| 3074 | return nil, status.Errorf(codes.Unimplemented, "method SetLoggingEndpoint not implemented") |
| 3075 | } |
| 3076 | func (*UnimplementedNativeHWManagementServiceServer) GetLoggingEndpoint(ctx context.Context, req *HardwareID) (*GetLoggingEndpointResponse, error) { |
| 3077 | return nil, status.Errorf(codes.Unimplemented, "method GetLoggingEndpoint not implemented") |
| 3078 | } |
| 3079 | func (*UnimplementedNativeHWManagementServiceServer) SetMsgBusEndpoint(ctx context.Context, req *SetMsgBusEndpointRequest) (*SetRemoteEndpointResponse, error) { |
| 3080 | return nil, status.Errorf(codes.Unimplemented, "method SetMsgBusEndpoint not implemented") |
| 3081 | } |
| 3082 | func (*UnimplementedNativeHWManagementServiceServer) GetMsgBusEndpoint(ctx context.Context, req *empty.Empty) (*GetMsgBusEndpointResponse, error) { |
| 3083 | return nil, status.Errorf(codes.Unimplemented, "method GetMsgBusEndpoint not implemented") |
| 3084 | } |
| 3085 | func (*UnimplementedNativeHWManagementServiceServer) GetLoggableEntities(ctx context.Context, req *GetLoggableEntitiesRequest) (*GetLogLevelResponse, error) { |
| 3086 | return nil, status.Errorf(codes.Unimplemented, "method GetLoggableEntities not implemented") |
| 3087 | } |
| 3088 | func (*UnimplementedNativeHWManagementServiceServer) SetLogLevel(ctx context.Context, req *SetLogLevelRequest) (*SetLogLevelResponse, error) { |
| 3089 | return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented") |
| 3090 | } |
| 3091 | func (*UnimplementedNativeHWManagementServiceServer) GetLogLevel(ctx context.Context, req *GetLogLevelRequest) (*GetLogLevelResponse, error) { |
| 3092 | return nil, status.Errorf(codes.Unimplemented, "method GetLogLevel not implemented") |
| 3093 | } |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 3094 | func (*UnimplementedNativeHWManagementServiceServer) HeartbeatCheck(ctx context.Context, req *empty.Empty) (*Heartbeat, error) { |
| 3095 | return nil, status.Errorf(codes.Unimplemented, "method HeartbeatCheck not implemented") |
| 3096 | } |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 3097 | func (*UnimplementedNativeHWManagementServiceServer) RebootDevice(ctx context.Context, req *RebootDeviceRequest) (*RebootDeviceResponse, error) { |
| 3098 | return nil, status.Errorf(codes.Unimplemented, "method RebootDevice not implemented") |
| 3099 | } |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 3100 | func (*UnimplementedNativeHWManagementServiceServer) SetDmLogLevel(ctx context.Context, req *SetDmLogLevelRequest) (*SetDmLogLevelResponse, error) { |
| 3101 | return nil, status.Errorf(codes.Unimplemented, "method SetDmLogLevel not implemented") |
| 3102 | } |
| 3103 | func (*UnimplementedNativeHWManagementServiceServer) GetDmLogLevel(ctx context.Context, req *GetDmLogLevelRequest) (*GetDmLogLevelResponse, error) { |
| 3104 | return nil, status.Errorf(codes.Unimplemented, "method GetDmLogLevel not implemented") |
| 3105 | } |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 3106 | func (*UnimplementedNativeHWManagementServiceServer) DisableHWComponent(ctx context.Context, req *DisableHWComponentRequest) (*DisableHWComponentResponse, error) { |
| 3107 | return nil, status.Errorf(codes.Unimplemented, "method DisableHWComponent not implemented") |
| 3108 | } |
| 3109 | func (*UnimplementedNativeHWManagementServiceServer) ResetHWComponent(ctx context.Context, req *ResetHWComponentRequest) (*ResetHWComponentResponse, error) { |
| 3110 | return nil, status.Errorf(codes.Unimplemented, "method ResetHWComponent not implemented") |
| 3111 | } |
| 3112 | func (*UnimplementedNativeHWManagementServiceServer) EnableHWComponent(ctx context.Context, req *EnableHWComponentRequest) (*EnableHWComponentResponse, error) { |
| 3113 | return nil, status.Errorf(codes.Unimplemented, "method EnableHWComponent not implemented") |
| 3114 | } |
Andrea Campanella | c795b7d | 2021-04-14 13:24:44 +0200 | [diff] [blame] | 3115 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 3116 | func RegisterNativeHWManagementServiceServer(s *grpc.Server, srv NativeHWManagementServiceServer) { |
| 3117 | s.RegisterService(&_NativeHWManagementService_serviceDesc, srv) |
| 3118 | } |
| 3119 | |
| 3120 | func _NativeHWManagementService_StartManagingDevice_Handler(srv interface{}, stream grpc.ServerStream) error { |
Amit Ghosh | 704462f | 2020-06-24 16:44:56 +0100 | [diff] [blame] | 3121 | m := new(ModifiableComponent) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 3122 | if err := stream.RecvMsg(m); err != nil { |
| 3123 | return err |
| 3124 | } |
| 3125 | return srv.(NativeHWManagementServiceServer).StartManagingDevice(m, &nativeHWManagementServiceStartManagingDeviceServer{stream}) |
| 3126 | } |
| 3127 | |
| 3128 | type NativeHWManagementService_StartManagingDeviceServer interface { |
| 3129 | Send(*StartManagingDeviceResponse) error |
| 3130 | grpc.ServerStream |
| 3131 | } |
| 3132 | |
| 3133 | type nativeHWManagementServiceStartManagingDeviceServer struct { |
| 3134 | grpc.ServerStream |
| 3135 | } |
| 3136 | |
| 3137 | func (x *nativeHWManagementServiceStartManagingDeviceServer) Send(m *StartManagingDeviceResponse) error { |
| 3138 | return x.ServerStream.SendMsg(m) |
| 3139 | } |
| 3140 | |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 3141 | func _NativeHWManagementService_StopManagingDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3142 | in := new(StopManagingDeviceRequest) |
| 3143 | if err := dec(in); err != nil { |
| 3144 | return nil, err |
| 3145 | } |
| 3146 | if interceptor == nil { |
| 3147 | return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, in) |
| 3148 | } |
| 3149 | info := &grpc.UnaryServerInfo{ |
| 3150 | Server: srv, |
| 3151 | FullMethod: "/dmi.NativeHWManagementService/StopManagingDevice", |
| 3152 | } |
| 3153 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3154 | return srv.(NativeHWManagementServiceServer).StopManagingDevice(ctx, req.(*StopManagingDeviceRequest)) |
| 3155 | } |
| 3156 | return interceptor(ctx, in, info, handler) |
| 3157 | } |
| 3158 | |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 3159 | func _NativeHWManagementService_GetManagedDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3160 | in := new(empty.Empty) |
| 3161 | if err := dec(in); err != nil { |
| 3162 | return nil, err |
| 3163 | } |
| 3164 | if interceptor == nil { |
| 3165 | return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, in) |
| 3166 | } |
| 3167 | info := &grpc.UnaryServerInfo{ |
| 3168 | Server: srv, |
| 3169 | FullMethod: "/dmi.NativeHWManagementService/GetManagedDevices", |
| 3170 | } |
| 3171 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3172 | return srv.(NativeHWManagementServiceServer).GetManagedDevices(ctx, req.(*empty.Empty)) |
| 3173 | } |
| 3174 | return interceptor(ctx, in, info, handler) |
| 3175 | } |
| 3176 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 3177 | func _NativeHWManagementService_GetPhysicalInventory_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 3178 | m := new(PhysicalInventoryRequest) |
| 3179 | if err := stream.RecvMsg(m); err != nil { |
| 3180 | return err |
| 3181 | } |
| 3182 | return srv.(NativeHWManagementServiceServer).GetPhysicalInventory(m, &nativeHWManagementServiceGetPhysicalInventoryServer{stream}) |
| 3183 | } |
| 3184 | |
| 3185 | type NativeHWManagementService_GetPhysicalInventoryServer interface { |
| 3186 | Send(*PhysicalInventoryResponse) error |
| 3187 | grpc.ServerStream |
| 3188 | } |
| 3189 | |
| 3190 | type nativeHWManagementServiceGetPhysicalInventoryServer struct { |
| 3191 | grpc.ServerStream |
| 3192 | } |
| 3193 | |
| 3194 | func (x *nativeHWManagementServiceGetPhysicalInventoryServer) Send(m *PhysicalInventoryResponse) error { |
| 3195 | return x.ServerStream.SendMsg(m) |
| 3196 | } |
| 3197 | |
| 3198 | func _NativeHWManagementService_GetHWComponentInfo_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 3199 | m := new(HWComponentInfoGetRequest) |
| 3200 | if err := stream.RecvMsg(m); err != nil { |
| 3201 | return err |
| 3202 | } |
| 3203 | return srv.(NativeHWManagementServiceServer).GetHWComponentInfo(m, &nativeHWManagementServiceGetHWComponentInfoServer{stream}) |
| 3204 | } |
| 3205 | |
| 3206 | type NativeHWManagementService_GetHWComponentInfoServer interface { |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 3207 | Send(*HWComponentInfoGetResponse) error |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 3208 | grpc.ServerStream |
| 3209 | } |
| 3210 | |
| 3211 | type nativeHWManagementServiceGetHWComponentInfoServer struct { |
| 3212 | grpc.ServerStream |
| 3213 | } |
| 3214 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 3215 | func (x *nativeHWManagementServiceGetHWComponentInfoServer) Send(m *HWComponentInfoGetResponse) error { |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 3216 | return x.ServerStream.SendMsg(m) |
| 3217 | } |
| 3218 | |
| 3219 | func _NativeHWManagementService_SetHWComponentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3220 | in := new(HWComponentInfoSetRequest) |
| 3221 | if err := dec(in); err != nil { |
| 3222 | return nil, err |
| 3223 | } |
| 3224 | if interceptor == nil { |
| 3225 | return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, in) |
| 3226 | } |
| 3227 | info := &grpc.UnaryServerInfo{ |
| 3228 | Server: srv, |
| 3229 | FullMethod: "/dmi.NativeHWManagementService/SetHWComponentInfo", |
| 3230 | } |
| 3231 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3232 | return srv.(NativeHWManagementServiceServer).SetHWComponentInfo(ctx, req.(*HWComponentInfoSetRequest)) |
| 3233 | } |
| 3234 | return interceptor(ctx, in, info, handler) |
| 3235 | } |
| 3236 | |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 3237 | func _NativeHWManagementService_SetLoggingEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3238 | in := new(SetLoggingEndpointRequest) |
| 3239 | if err := dec(in); err != nil { |
| 3240 | return nil, err |
| 3241 | } |
| 3242 | if interceptor == nil { |
| 3243 | return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, in) |
| 3244 | } |
| 3245 | info := &grpc.UnaryServerInfo{ |
| 3246 | Server: srv, |
| 3247 | FullMethod: "/dmi.NativeHWManagementService/SetLoggingEndpoint", |
| 3248 | } |
| 3249 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3250 | return srv.(NativeHWManagementServiceServer).SetLoggingEndpoint(ctx, req.(*SetLoggingEndpointRequest)) |
| 3251 | } |
| 3252 | return interceptor(ctx, in, info, handler) |
| 3253 | } |
| 3254 | |
| 3255 | 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] | 3256 | in := new(HardwareID) |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 3257 | if err := dec(in); err != nil { |
| 3258 | return nil, err |
| 3259 | } |
| 3260 | if interceptor == nil { |
| 3261 | return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, in) |
| 3262 | } |
| 3263 | info := &grpc.UnaryServerInfo{ |
| 3264 | Server: srv, |
| 3265 | FullMethod: "/dmi.NativeHWManagementService/GetLoggingEndpoint", |
| 3266 | } |
| 3267 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame] | 3268 | return srv.(NativeHWManagementServiceServer).GetLoggingEndpoint(ctx, req.(*HardwareID)) |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 3269 | } |
| 3270 | return interceptor(ctx, in, info, handler) |
| 3271 | } |
| 3272 | |
| 3273 | func _NativeHWManagementService_SetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3274 | in := new(SetMsgBusEndpointRequest) |
| 3275 | if err := dec(in); err != nil { |
| 3276 | return nil, err |
| 3277 | } |
| 3278 | if interceptor == nil { |
| 3279 | return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, in) |
| 3280 | } |
| 3281 | info := &grpc.UnaryServerInfo{ |
| 3282 | Server: srv, |
| 3283 | FullMethod: "/dmi.NativeHWManagementService/SetMsgBusEndpoint", |
| 3284 | } |
| 3285 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3286 | return srv.(NativeHWManagementServiceServer).SetMsgBusEndpoint(ctx, req.(*SetMsgBusEndpointRequest)) |
| 3287 | } |
| 3288 | return interceptor(ctx, in, info, handler) |
| 3289 | } |
| 3290 | |
| 3291 | func _NativeHWManagementService_GetMsgBusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3292 | in := new(empty.Empty) |
| 3293 | if err := dec(in); err != nil { |
| 3294 | return nil, err |
| 3295 | } |
| 3296 | if interceptor == nil { |
| 3297 | return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, in) |
| 3298 | } |
| 3299 | info := &grpc.UnaryServerInfo{ |
| 3300 | Server: srv, |
| 3301 | FullMethod: "/dmi.NativeHWManagementService/GetMsgBusEndpoint", |
| 3302 | } |
| 3303 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3304 | return srv.(NativeHWManagementServiceServer).GetMsgBusEndpoint(ctx, req.(*empty.Empty)) |
| 3305 | } |
| 3306 | return interceptor(ctx, in, info, handler) |
| 3307 | } |
| 3308 | |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 3309 | func _NativeHWManagementService_GetLoggableEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3310 | in := new(GetLoggableEntitiesRequest) |
| 3311 | if err := dec(in); err != nil { |
| 3312 | return nil, err |
| 3313 | } |
| 3314 | if interceptor == nil { |
| 3315 | return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, in) |
| 3316 | } |
| 3317 | info := &grpc.UnaryServerInfo{ |
| 3318 | Server: srv, |
| 3319 | FullMethod: "/dmi.NativeHWManagementService/GetLoggableEntities", |
| 3320 | } |
| 3321 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3322 | return srv.(NativeHWManagementServiceServer).GetLoggableEntities(ctx, req.(*GetLoggableEntitiesRequest)) |
| 3323 | } |
| 3324 | return interceptor(ctx, in, info, handler) |
| 3325 | } |
| 3326 | |
| 3327 | func _NativeHWManagementService_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3328 | in := new(SetLogLevelRequest) |
| 3329 | if err := dec(in); err != nil { |
| 3330 | return nil, err |
| 3331 | } |
| 3332 | if interceptor == nil { |
| 3333 | return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, in) |
| 3334 | } |
| 3335 | info := &grpc.UnaryServerInfo{ |
| 3336 | Server: srv, |
| 3337 | FullMethod: "/dmi.NativeHWManagementService/SetLogLevel", |
| 3338 | } |
| 3339 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3340 | return srv.(NativeHWManagementServiceServer).SetLogLevel(ctx, req.(*SetLogLevelRequest)) |
| 3341 | } |
| 3342 | return interceptor(ctx, in, info, handler) |
| 3343 | } |
| 3344 | |
| 3345 | func _NativeHWManagementService_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3346 | in := new(GetLogLevelRequest) |
| 3347 | if err := dec(in); err != nil { |
| 3348 | return nil, err |
| 3349 | } |
| 3350 | if interceptor == nil { |
| 3351 | return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, in) |
| 3352 | } |
| 3353 | info := &grpc.UnaryServerInfo{ |
| 3354 | Server: srv, |
| 3355 | FullMethod: "/dmi.NativeHWManagementService/GetLogLevel", |
| 3356 | } |
| 3357 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3358 | return srv.(NativeHWManagementServiceServer).GetLogLevel(ctx, req.(*GetLogLevelRequest)) |
| 3359 | } |
| 3360 | return interceptor(ctx, in, info, handler) |
| 3361 | } |
| 3362 | |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 3363 | func _NativeHWManagementService_HeartbeatCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3364 | in := new(empty.Empty) |
| 3365 | if err := dec(in); err != nil { |
| 3366 | return nil, err |
| 3367 | } |
| 3368 | if interceptor == nil { |
| 3369 | return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, in) |
| 3370 | } |
| 3371 | info := &grpc.UnaryServerInfo{ |
| 3372 | Server: srv, |
| 3373 | FullMethod: "/dmi.NativeHWManagementService/HeartbeatCheck", |
| 3374 | } |
| 3375 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3376 | return srv.(NativeHWManagementServiceServer).HeartbeatCheck(ctx, req.(*empty.Empty)) |
| 3377 | } |
| 3378 | return interceptor(ctx, in, info, handler) |
| 3379 | } |
| 3380 | |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 3381 | func _NativeHWManagementService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3382 | in := new(RebootDeviceRequest) |
| 3383 | if err := dec(in); err != nil { |
| 3384 | return nil, err |
| 3385 | } |
| 3386 | if interceptor == nil { |
| 3387 | return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, in) |
| 3388 | } |
| 3389 | info := &grpc.UnaryServerInfo{ |
| 3390 | Server: srv, |
| 3391 | FullMethod: "/dmi.NativeHWManagementService/RebootDevice", |
| 3392 | } |
| 3393 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3394 | return srv.(NativeHWManagementServiceServer).RebootDevice(ctx, req.(*RebootDeviceRequest)) |
| 3395 | } |
| 3396 | return interceptor(ctx, in, info, handler) |
| 3397 | } |
| 3398 | |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 3399 | func _NativeHWManagementService_SetDmLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3400 | in := new(SetDmLogLevelRequest) |
| 3401 | if err := dec(in); err != nil { |
| 3402 | return nil, err |
| 3403 | } |
| 3404 | if interceptor == nil { |
| 3405 | return srv.(NativeHWManagementServiceServer).SetDmLogLevel(ctx, in) |
| 3406 | } |
| 3407 | info := &grpc.UnaryServerInfo{ |
| 3408 | Server: srv, |
| 3409 | FullMethod: "/dmi.NativeHWManagementService/SetDmLogLevel", |
| 3410 | } |
| 3411 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3412 | return srv.(NativeHWManagementServiceServer).SetDmLogLevel(ctx, req.(*SetDmLogLevelRequest)) |
| 3413 | } |
| 3414 | return interceptor(ctx, in, info, handler) |
| 3415 | } |
| 3416 | |
| 3417 | func _NativeHWManagementService_GetDmLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3418 | in := new(GetDmLogLevelRequest) |
| 3419 | if err := dec(in); err != nil { |
| 3420 | return nil, err |
| 3421 | } |
| 3422 | if interceptor == nil { |
| 3423 | return srv.(NativeHWManagementServiceServer).GetDmLogLevel(ctx, in) |
| 3424 | } |
| 3425 | info := &grpc.UnaryServerInfo{ |
| 3426 | Server: srv, |
| 3427 | FullMethod: "/dmi.NativeHWManagementService/GetDmLogLevel", |
| 3428 | } |
| 3429 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3430 | return srv.(NativeHWManagementServiceServer).GetDmLogLevel(ctx, req.(*GetDmLogLevelRequest)) |
| 3431 | } |
| 3432 | return interceptor(ctx, in, info, handler) |
| 3433 | } |
| 3434 | |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 3435 | func _NativeHWManagementService_DisableHWComponent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3436 | in := new(DisableHWComponentRequest) |
| 3437 | if err := dec(in); err != nil { |
| 3438 | return nil, err |
| 3439 | } |
| 3440 | if interceptor == nil { |
| 3441 | return srv.(NativeHWManagementServiceServer).DisableHWComponent(ctx, in) |
| 3442 | } |
| 3443 | info := &grpc.UnaryServerInfo{ |
| 3444 | Server: srv, |
| 3445 | FullMethod: "/dmi.NativeHWManagementService/DisableHWComponent", |
| 3446 | } |
| 3447 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3448 | return srv.(NativeHWManagementServiceServer).DisableHWComponent(ctx, req.(*DisableHWComponentRequest)) |
| 3449 | } |
| 3450 | return interceptor(ctx, in, info, handler) |
| 3451 | } |
| 3452 | |
| 3453 | func _NativeHWManagementService_ResetHWComponent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3454 | in := new(ResetHWComponentRequest) |
| 3455 | if err := dec(in); err != nil { |
| 3456 | return nil, err |
| 3457 | } |
| 3458 | if interceptor == nil { |
| 3459 | return srv.(NativeHWManagementServiceServer).ResetHWComponent(ctx, in) |
| 3460 | } |
| 3461 | info := &grpc.UnaryServerInfo{ |
| 3462 | Server: srv, |
| 3463 | FullMethod: "/dmi.NativeHWManagementService/ResetHWComponent", |
| 3464 | } |
| 3465 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3466 | return srv.(NativeHWManagementServiceServer).ResetHWComponent(ctx, req.(*ResetHWComponentRequest)) |
| 3467 | } |
| 3468 | return interceptor(ctx, in, info, handler) |
| 3469 | } |
| 3470 | |
| 3471 | func _NativeHWManagementService_EnableHWComponent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3472 | in := new(EnableHWComponentRequest) |
| 3473 | if err := dec(in); err != nil { |
| 3474 | return nil, err |
| 3475 | } |
| 3476 | if interceptor == nil { |
| 3477 | return srv.(NativeHWManagementServiceServer).EnableHWComponent(ctx, in) |
| 3478 | } |
| 3479 | info := &grpc.UnaryServerInfo{ |
| 3480 | Server: srv, |
| 3481 | FullMethod: "/dmi.NativeHWManagementService/EnableHWComponent", |
| 3482 | } |
| 3483 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3484 | return srv.(NativeHWManagementServiceServer).EnableHWComponent(ctx, req.(*EnableHWComponentRequest)) |
| 3485 | } |
| 3486 | return interceptor(ctx, in, info, handler) |
| 3487 | } |
| 3488 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 3489 | var _NativeHWManagementService_serviceDesc = grpc.ServiceDesc{ |
| 3490 | ServiceName: "dmi.NativeHWManagementService", |
| 3491 | HandlerType: (*NativeHWManagementServiceServer)(nil), |
| 3492 | Methods: []grpc.MethodDesc{ |
| 3493 | { |
Amit Ghosh | 366228e | 2020-07-06 13:46:42 +0100 | [diff] [blame] | 3494 | MethodName: "StopManagingDevice", |
| 3495 | Handler: _NativeHWManagementService_StopManagingDevice_Handler, |
| 3496 | }, |
| 3497 | { |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 3498 | MethodName: "GetManagedDevices", |
| 3499 | Handler: _NativeHWManagementService_GetManagedDevices_Handler, |
| 3500 | }, |
| 3501 | { |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 3502 | MethodName: "SetHWComponentInfo", |
| 3503 | Handler: _NativeHWManagementService_SetHWComponentInfo_Handler, |
| 3504 | }, |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 3505 | { |
| 3506 | MethodName: "SetLoggingEndpoint", |
| 3507 | Handler: _NativeHWManagementService_SetLoggingEndpoint_Handler, |
| 3508 | }, |
| 3509 | { |
| 3510 | MethodName: "GetLoggingEndpoint", |
| 3511 | Handler: _NativeHWManagementService_GetLoggingEndpoint_Handler, |
| 3512 | }, |
| 3513 | { |
| 3514 | MethodName: "SetMsgBusEndpoint", |
| 3515 | Handler: _NativeHWManagementService_SetMsgBusEndpoint_Handler, |
| 3516 | }, |
| 3517 | { |
| 3518 | MethodName: "GetMsgBusEndpoint", |
| 3519 | Handler: _NativeHWManagementService_GetMsgBusEndpoint_Handler, |
| 3520 | }, |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 3521 | { |
| 3522 | MethodName: "GetLoggableEntities", |
| 3523 | Handler: _NativeHWManagementService_GetLoggableEntities_Handler, |
| 3524 | }, |
| 3525 | { |
| 3526 | MethodName: "SetLogLevel", |
| 3527 | Handler: _NativeHWManagementService_SetLogLevel_Handler, |
| 3528 | }, |
| 3529 | { |
| 3530 | MethodName: "GetLogLevel", |
| 3531 | Handler: _NativeHWManagementService_GetLogLevel_Handler, |
| 3532 | }, |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 3533 | { |
| 3534 | MethodName: "HeartbeatCheck", |
| 3535 | Handler: _NativeHWManagementService_HeartbeatCheck_Handler, |
| 3536 | }, |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 3537 | { |
| 3538 | MethodName: "RebootDevice", |
| 3539 | Handler: _NativeHWManagementService_RebootDevice_Handler, |
| 3540 | }, |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 3541 | { |
| 3542 | MethodName: "SetDmLogLevel", |
| 3543 | Handler: _NativeHWManagementService_SetDmLogLevel_Handler, |
| 3544 | }, |
| 3545 | { |
| 3546 | MethodName: "GetDmLogLevel", |
| 3547 | Handler: _NativeHWManagementService_GetDmLogLevel_Handler, |
| 3548 | }, |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 3549 | { |
| 3550 | MethodName: "DisableHWComponent", |
| 3551 | Handler: _NativeHWManagementService_DisableHWComponent_Handler, |
| 3552 | }, |
| 3553 | { |
| 3554 | MethodName: "ResetHWComponent", |
| 3555 | Handler: _NativeHWManagementService_ResetHWComponent_Handler, |
| 3556 | }, |
| 3557 | { |
| 3558 | MethodName: "EnableHWComponent", |
| 3559 | Handler: _NativeHWManagementService_EnableHWComponent_Handler, |
| 3560 | }, |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 3561 | }, |
| 3562 | Streams: []grpc.StreamDesc{ |
| 3563 | { |
| 3564 | StreamName: "StartManagingDevice", |
| 3565 | Handler: _NativeHWManagementService_StartManagingDevice_Handler, |
| 3566 | ServerStreams: true, |
| 3567 | }, |
| 3568 | { |
| 3569 | StreamName: "GetPhysicalInventory", |
| 3570 | Handler: _NativeHWManagementService_GetPhysicalInventory_Handler, |
| 3571 | ServerStreams: true, |
| 3572 | }, |
| 3573 | { |
| 3574 | StreamName: "GetHWComponentInfo", |
| 3575 | Handler: _NativeHWManagementService_GetHWComponentInfo_Handler, |
| 3576 | ServerStreams: true, |
| 3577 | }, |
| 3578 | }, |
| 3579 | Metadata: "dmi/hw_management_service.proto", |
| 3580 | } |