github.com/cloudwan/edgelq-sdk@v1.15.4/devices/resources/v1/device_hardware/device_hardware.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/devices/proto/v1/device_hardware.proto 3 // DO NOT EDIT!!! 4 5 package device_hardware 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 cellular_api_sim_card "github.com/cloudwan/edgelq-sdk/cellular-api/resources/v1/sim_card" 21 device "github.com/cloudwan/edgelq-sdk/devices/resources/v1/device" 22 project "github.com/cloudwan/edgelq-sdk/devices/resources/v1/project" 23 provisioning_policy "github.com/cloudwan/edgelq-sdk/devices/resources/v1/provisioning_policy" 24 meta "github.com/cloudwan/goten-sdk/types/meta" 25 ) 26 27 // Reference imports to suppress errors if they are not otherwise used. 28 var ( 29 _ = fmt.Errorf 30 _ = reflect.Method{} 31 _ = sync.Once{} 32 33 _ = protojson.MarshalOptions{} 34 _ = proto.MarshalOptions{} 35 _ = preflect.Value{} 36 _ = protoimpl.DescBuilder{} 37 ) 38 39 // make sure we're using proto imports 40 var ( 41 _ = &cellular_api_sim_card.SimCard{} 42 _ = &device.Device{} 43 _ = &project.Project{} 44 _ = &provisioning_policy.ProvisioningPolicy{} 45 _ = &meta.Meta{} 46 ) 47 48 const ( 49 // Verify that this generated code is sufficiently up-to-date. 50 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 51 // Verify that runtime/protoimpl is sufficiently up-to-date. 52 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 53 ) 54 55 type DeviceHardware_Status_PROVISIONING_STATE int32 56 57 const ( 58 // Hardware was deregistered, so device state cannot be tracked 59 DeviceHardware_Status_UNKNOWN DeviceHardware_Status_PROVISIONING_STATE = 0 60 // The SIM card is being activated. 61 DeviceHardware_Status_SIM_ACTIVATING DeviceHardware_Status_PROVISIONING_STATE = 4 62 // The device would be connecting to ZTP 63 // as the attached SIM card was activated. 64 // If SIM card is not attached, this is the first status. 65 // If stuck at this value, provisioning could have failed. 66 DeviceHardware_Status_CONNECTING DeviceHardware_Status_PROVISIONING_STATE = 5 67 // Deprecated: 68 // This has been replaced by splitting into 69 // SIM_ACTIVATING and ZTP_CONNECTING 70 DeviceHardware_Status_NOT_PROVISIONED DeviceHardware_Status_PROVISIONING_STATE = 1 71 // Device passed attestation and service account is created 72 // Could be either provisioning policy scope for device scope account 73 DeviceHardware_Status_PROVISIONED DeviceHardware_Status_PROVISIONING_STATE = 2 74 // For device scope onboarding, the device was removed 75 // For provisioning policy based onboarding, the provisioning policy was 76 // removed 77 DeviceHardware_Status_REVOKED DeviceHardware_Status_PROVISIONING_STATE = 3 78 ) 79 80 var ( 81 DeviceHardware_Status_PROVISIONING_STATE_name = map[int32]string{ 82 0: "UNKNOWN", 83 4: "SIM_ACTIVATING", 84 5: "CONNECTING", 85 1: "NOT_PROVISIONED", 86 2: "PROVISIONED", 87 3: "REVOKED", 88 } 89 90 DeviceHardware_Status_PROVISIONING_STATE_value = map[string]int32{ 91 "UNKNOWN": 0, 92 "SIM_ACTIVATING": 4, 93 "CONNECTING": 5, 94 "NOT_PROVISIONED": 1, 95 "PROVISIONED": 2, 96 "REVOKED": 3, 97 } 98 ) 99 100 func (x DeviceHardware_Status_PROVISIONING_STATE) Enum() *DeviceHardware_Status_PROVISIONING_STATE { 101 p := new(DeviceHardware_Status_PROVISIONING_STATE) 102 *p = x 103 return p 104 } 105 106 func (x DeviceHardware_Status_PROVISIONING_STATE) String() string { 107 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 108 } 109 110 func (DeviceHardware_Status_PROVISIONING_STATE) Descriptor() preflect.EnumDescriptor { 111 return edgelq_devices_proto_v1_device_hardware_proto_enumTypes[0].Descriptor() 112 } 113 114 func (DeviceHardware_Status_PROVISIONING_STATE) Type() preflect.EnumType { 115 return &edgelq_devices_proto_v1_device_hardware_proto_enumTypes[0] 116 } 117 118 func (x DeviceHardware_Status_PROVISIONING_STATE) Number() preflect.EnumNumber { 119 return preflect.EnumNumber(x) 120 } 121 122 // Deprecated, Use DeviceHardware_Status_PROVISIONING_STATE.ProtoReflect.Descriptor instead. 123 func (DeviceHardware_Status_PROVISIONING_STATE) EnumDescriptor() ([]byte, []int) { 124 return edgelq_devices_proto_v1_device_hardware_proto_rawDescGZIP(), []int{0, 0, 0} 125 } 126 127 // DeviceHardware Resource 128 type DeviceHardware struct { 129 state protoimpl.MessageState 130 sizeCache protoimpl.SizeCache 131 unknownFields protoimpl.UnknownFields 132 // Name of DeviceHardware 133 // When creating a new instance, this field is optional and if not provided, 134 // it will be generated automatically. Last ID segment must conform to the 135 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 136 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 137 // Metadata is an object with information like create, update and delete time 138 // (for async deleted resources), has user labels/annotations, sharding 139 // information, multi-region syncing information and may have non-schema 140 // owners (useful for taking ownership of resources belonging to lower level 141 // services by higher ones). 142 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 143 DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 144 SerialNumber string `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` 145 Manufacturer string `protobuf:"bytes,5,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` 146 // Should be in the format "productname (sku)" 147 ProductName string `protobuf:"bytes,6,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` 148 MacAddress []string `protobuf:"bytes,7,rep,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` 149 // Result of activating sim card, 150 // which is specified by associated_sim_card field 151 SimIccid string `protobuf:"bytes,8,opt,name=sim_iccid,json=simIccid,proto3" json:"sim_iccid,omitempty"` 152 Imei string `protobuf:"bytes,9,opt,name=imei,proto3" json:"imei,omitempty"` 153 AssociatedProvisioningPolicyName *provisioning_policy.Reference `protobuf:"bytes,10,opt,customtype=Reference,name=associated_provisioning_policy_name,json=associatedProvisioningPolicyName,proto3" json:"associated_provisioning_policy_name,omitempty"` 154 AssociatedDevice *device.Reference `protobuf:"bytes,11,opt,customtype=Reference,name=associated_device,json=associatedDevice,proto3" json:"associated_device,omitempty"` 155 AssociatedSimCard *cellular_api_sim_card.Reference `protobuf:"bytes,13,opt,customtype=Reference,name=associated_sim_card,json=associatedSimCard,proto3" json:"associated_sim_card,omitempty"` 156 Status *DeviceHardware_Status `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"` 157 } 158 159 func (m *DeviceHardware) Reset() { 160 *m = DeviceHardware{} 161 if protoimpl.UnsafeEnabled { 162 mi := &edgelq_devices_proto_v1_device_hardware_proto_msgTypes[0] 163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 164 ms.StoreMessageInfo(mi) 165 } 166 } 167 168 func (m *DeviceHardware) String() string { 169 return protoimpl.X.MessageStringOf(m) 170 } 171 172 func (*DeviceHardware) ProtoMessage() {} 173 174 func (m *DeviceHardware) ProtoReflect() preflect.Message { 175 mi := &edgelq_devices_proto_v1_device_hardware_proto_msgTypes[0] 176 if protoimpl.UnsafeEnabled && m != nil { 177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 178 if ms.LoadMessageInfo() == nil { 179 ms.StoreMessageInfo(mi) 180 } 181 return ms 182 } 183 return mi.MessageOf(m) 184 } 185 186 func (*DeviceHardware) GotenMessage() {} 187 188 // Deprecated, Use DeviceHardware.ProtoReflect.Descriptor instead. 189 func (*DeviceHardware) Descriptor() ([]byte, []int) { 190 return edgelq_devices_proto_v1_device_hardware_proto_rawDescGZIP(), []int{0} 191 } 192 193 func (m *DeviceHardware) Unmarshal(b []byte) error { 194 return proto.Unmarshal(b, m) 195 } 196 197 func (m *DeviceHardware) Marshal() ([]byte, error) { 198 return proto.Marshal(m) 199 } 200 201 func (m *DeviceHardware) MarshalJSON() ([]byte, error) { 202 return protojson.MarshalOptions{}.Marshal(m) 203 } 204 205 func (m *DeviceHardware) UnmarshalJSON(data []byte) error { 206 return protojson.Unmarshal(data, m) 207 } 208 209 func (m *DeviceHardware) GetName() *Name { 210 if m != nil { 211 return m.Name 212 } 213 return nil 214 } 215 216 func (m *DeviceHardware) GetMetadata() *meta.Meta { 217 if m != nil { 218 return m.Metadata 219 } 220 return nil 221 } 222 223 func (m *DeviceHardware) GetDisplayName() string { 224 if m != nil { 225 return m.DisplayName 226 } 227 return "" 228 } 229 230 func (m *DeviceHardware) GetSerialNumber() string { 231 if m != nil { 232 return m.SerialNumber 233 } 234 return "" 235 } 236 237 func (m *DeviceHardware) GetManufacturer() string { 238 if m != nil { 239 return m.Manufacturer 240 } 241 return "" 242 } 243 244 func (m *DeviceHardware) GetProductName() string { 245 if m != nil { 246 return m.ProductName 247 } 248 return "" 249 } 250 251 func (m *DeviceHardware) GetMacAddress() []string { 252 if m != nil { 253 return m.MacAddress 254 } 255 return nil 256 } 257 258 func (m *DeviceHardware) GetSimIccid() string { 259 if m != nil { 260 return m.SimIccid 261 } 262 return "" 263 } 264 265 func (m *DeviceHardware) GetImei() string { 266 if m != nil { 267 return m.Imei 268 } 269 return "" 270 } 271 272 func (m *DeviceHardware) GetAssociatedProvisioningPolicyName() *provisioning_policy.Reference { 273 if m != nil { 274 return m.AssociatedProvisioningPolicyName 275 } 276 return nil 277 } 278 279 func (m *DeviceHardware) GetAssociatedDevice() *device.Reference { 280 if m != nil { 281 return m.AssociatedDevice 282 } 283 return nil 284 } 285 286 func (m *DeviceHardware) GetAssociatedSimCard() *cellular_api_sim_card.Reference { 287 if m != nil { 288 return m.AssociatedSimCard 289 } 290 return nil 291 } 292 293 func (m *DeviceHardware) GetStatus() *DeviceHardware_Status { 294 if m != nil { 295 return m.Status 296 } 297 return nil 298 } 299 300 func (m *DeviceHardware) SetName(fv *Name) { 301 if m == nil { 302 panic(fmt.Errorf("can't set %s on nil %s", "Name", "DeviceHardware")) 303 } 304 m.Name = fv 305 } 306 307 func (m *DeviceHardware) SetMetadata(fv *meta.Meta) { 308 if m == nil { 309 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "DeviceHardware")) 310 } 311 m.Metadata = fv 312 } 313 314 func (m *DeviceHardware) SetDisplayName(fv string) { 315 if m == nil { 316 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "DeviceHardware")) 317 } 318 m.DisplayName = fv 319 } 320 321 func (m *DeviceHardware) SetSerialNumber(fv string) { 322 if m == nil { 323 panic(fmt.Errorf("can't set %s on nil %s", "SerialNumber", "DeviceHardware")) 324 } 325 m.SerialNumber = fv 326 } 327 328 func (m *DeviceHardware) SetManufacturer(fv string) { 329 if m == nil { 330 panic(fmt.Errorf("can't set %s on nil %s", "Manufacturer", "DeviceHardware")) 331 } 332 m.Manufacturer = fv 333 } 334 335 func (m *DeviceHardware) SetProductName(fv string) { 336 if m == nil { 337 panic(fmt.Errorf("can't set %s on nil %s", "ProductName", "DeviceHardware")) 338 } 339 m.ProductName = fv 340 } 341 342 func (m *DeviceHardware) SetMacAddress(fv []string) { 343 if m == nil { 344 panic(fmt.Errorf("can't set %s on nil %s", "MacAddress", "DeviceHardware")) 345 } 346 m.MacAddress = fv 347 } 348 349 func (m *DeviceHardware) SetSimIccid(fv string) { 350 if m == nil { 351 panic(fmt.Errorf("can't set %s on nil %s", "SimIccid", "DeviceHardware")) 352 } 353 m.SimIccid = fv 354 } 355 356 func (m *DeviceHardware) SetImei(fv string) { 357 if m == nil { 358 panic(fmt.Errorf("can't set %s on nil %s", "Imei", "DeviceHardware")) 359 } 360 m.Imei = fv 361 } 362 363 func (m *DeviceHardware) SetAssociatedProvisioningPolicyName(fv *provisioning_policy.Reference) { 364 if m == nil { 365 panic(fmt.Errorf("can't set %s on nil %s", "AssociatedProvisioningPolicyName", "DeviceHardware")) 366 } 367 m.AssociatedProvisioningPolicyName = fv 368 } 369 370 func (m *DeviceHardware) SetAssociatedDevice(fv *device.Reference) { 371 if m == nil { 372 panic(fmt.Errorf("can't set %s on nil %s", "AssociatedDevice", "DeviceHardware")) 373 } 374 m.AssociatedDevice = fv 375 } 376 377 func (m *DeviceHardware) SetAssociatedSimCard(fv *cellular_api_sim_card.Reference) { 378 if m == nil { 379 panic(fmt.Errorf("can't set %s on nil %s", "AssociatedSimCard", "DeviceHardware")) 380 } 381 m.AssociatedSimCard = fv 382 } 383 384 func (m *DeviceHardware) SetStatus(fv *DeviceHardware_Status) { 385 if m == nil { 386 panic(fmt.Errorf("can't set %s on nil %s", "Status", "DeviceHardware")) 387 } 388 m.Status = fv 389 } 390 391 type DeviceHardware_Status struct { 392 state protoimpl.MessageState 393 sizeCache protoimpl.SizeCache 394 unknownFields protoimpl.UnknownFields 395 ProvisioningState DeviceHardware_Status_PROVISIONING_STATE `protobuf:"varint,1,opt,name=provisioning_state,json=provisioningState,proto3,enum=ntt.devices.v1.DeviceHardware_Status_PROVISIONING_STATE" json:"provisioning_state,omitempty"` 396 } 397 398 func (m *DeviceHardware_Status) Reset() { 399 *m = DeviceHardware_Status{} 400 if protoimpl.UnsafeEnabled { 401 mi := &edgelq_devices_proto_v1_device_hardware_proto_msgTypes[1] 402 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 403 ms.StoreMessageInfo(mi) 404 } 405 } 406 407 func (m *DeviceHardware_Status) String() string { 408 return protoimpl.X.MessageStringOf(m) 409 } 410 411 func (*DeviceHardware_Status) ProtoMessage() {} 412 413 func (m *DeviceHardware_Status) ProtoReflect() preflect.Message { 414 mi := &edgelq_devices_proto_v1_device_hardware_proto_msgTypes[1] 415 if protoimpl.UnsafeEnabled && m != nil { 416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 417 if ms.LoadMessageInfo() == nil { 418 ms.StoreMessageInfo(mi) 419 } 420 return ms 421 } 422 return mi.MessageOf(m) 423 } 424 425 func (*DeviceHardware_Status) GotenMessage() {} 426 427 // Deprecated, Use DeviceHardware_Status.ProtoReflect.Descriptor instead. 428 func (*DeviceHardware_Status) Descriptor() ([]byte, []int) { 429 return edgelq_devices_proto_v1_device_hardware_proto_rawDescGZIP(), []int{0, 0} 430 } 431 432 func (m *DeviceHardware_Status) Unmarshal(b []byte) error { 433 return proto.Unmarshal(b, m) 434 } 435 436 func (m *DeviceHardware_Status) Marshal() ([]byte, error) { 437 return proto.Marshal(m) 438 } 439 440 func (m *DeviceHardware_Status) MarshalJSON() ([]byte, error) { 441 return protojson.MarshalOptions{}.Marshal(m) 442 } 443 444 func (m *DeviceHardware_Status) UnmarshalJSON(data []byte) error { 445 return protojson.Unmarshal(data, m) 446 } 447 448 func (m *DeviceHardware_Status) GetProvisioningState() DeviceHardware_Status_PROVISIONING_STATE { 449 if m != nil { 450 return m.ProvisioningState 451 } 452 return DeviceHardware_Status_UNKNOWN 453 } 454 455 func (m *DeviceHardware_Status) SetProvisioningState(fv DeviceHardware_Status_PROVISIONING_STATE) { 456 if m == nil { 457 panic(fmt.Errorf("can't set %s on nil %s", "ProvisioningState", "DeviceHardware_Status")) 458 } 459 m.ProvisioningState = fv 460 } 461 462 var edgelq_devices_proto_v1_device_hardware_proto preflect.FileDescriptor 463 464 var edgelq_devices_proto_v1_device_hardware_proto_rawDesc = []byte{ 465 0x0a, 0x2d, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 466 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 467 0x5f, 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 468 0x0e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 469 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 470 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 471 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 472 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 473 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 474 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 475 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 476 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 477 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 478 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 479 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 480 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 481 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 482 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 483 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 484 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x65, 0x64, 0x67, 485 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 0x69, 486 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x69, 0x6d, 0x5f, 0x63, 0x61, 487 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x0b, 0x0a, 0x0e, 0x44, 0x65, 0x76, 488 0x69, 0x63, 0x65, 0x48, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x6e, 489 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 0xb2, 0xda, 0x21, 0x12, 0x0a, 490 0x10, 0x0a, 0x0e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x48, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 491 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 492 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 493 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 494 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2e, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 495 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xca, 0xc6, 496 0x27, 0x07, 0x2a, 0x05, 0x22, 0x03, 0x08, 0x80, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 497 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 498 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 499 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 500 0x61, 0x6e, 0x75, 0x66, 0x61, 0x63, 0x74, 0x75, 0x72, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 501 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x75, 0x66, 0x61, 0x63, 0x74, 0x75, 0x72, 0x65, 0x72, 0x12, 502 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 503 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 504 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 505 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x63, 0x41, 0x64, 0x64, 0x72, 506 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x69, 0x6d, 0x5f, 0x69, 0x63, 0x63, 0x69, 0x64, 507 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x69, 0x6d, 0x49, 0x63, 0x63, 0x69, 0x64, 508 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6d, 0x65, 0x69, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 509 0x69, 0x6d, 0x65, 0x69, 0x12, 0x6b, 0x0a, 0x23, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 510 0x65, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 511 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 512 0x09, 0x42, 0x1c, 0xb2, 0xda, 0x21, 0x18, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x76, 0x69, 513 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x10, 0x02, 0x52, 514 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 515 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 516 0x65, 0x12, 0x3d, 0x0a, 0x11, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 517 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x10, 0xb2, 0xda, 518 0x21, 0x0c, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x10, 0x02, 0x52, 0x10, 519 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 520 0x12, 0x59, 0x0a, 0x13, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 521 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xb2, 522 0xda, 0x21, 0x25, 0x12, 0x23, 0x0a, 0x1f, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 523 0x61, 0x70, 0x69, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 524 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x10, 0x02, 0x52, 0x11, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 525 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x12, 0x3d, 0x0a, 0x06, 0x73, 526 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x74, 527 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 528 0x69, 0x63, 0x65, 0x48, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 529 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0xef, 0x01, 0x0a, 0x06, 0x53, 530 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x67, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 531 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 532 0x0e, 0x32, 0x38, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 533 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x48, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 534 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x53, 0x49, 535 0x4f, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x52, 0x11, 0x70, 0x72, 0x6f, 536 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x7c, 537 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 538 0x54, 0x41, 0x54, 0x45, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 539 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x49, 0x4d, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 540 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 541 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x0f, 0x4e, 0x4f, 0x54, 0x5f, 0x50, 0x52, 0x4f, 542 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x0f, 543 0x0a, 0x0b, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x02, 0x12, 544 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x44, 0x10, 0x03, 0x3a, 0x9c, 0x04, 0xea, 545 0x41, 0x6a, 0x0a, 0x21, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x64, 0x67, 0x65, 546 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x48, 0x61, 0x72, 547 0x64, 0x77, 0x61, 0x72, 0x65, 0x12, 0x45, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 548 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 549 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 550 0x65, 0x48, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x65, 0x76, 0x69, 551 0x63, 0x65, 0x5f, 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x7d, 0x92, 0xd9, 0x21, 0x82, 552 0x02, 0x0a, 0x0f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x48, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 553 0x65, 0x73, 0x12, 0x0f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x48, 0x61, 0x72, 0x64, 0x77, 0x61, 554 0x72, 0x65, 0x73, 0x1a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x18, 0x67, 0x6f, 555 0x74, 0x65, 0x6e, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 556 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x38, 0x05, 0x42, 0xb8, 0x01, 0x08, 0x02, 0x12, 0x06, 0x0a, 557 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 558 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0f, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 559 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 560 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0b, 0x0a, 0x09, 0x73, 0x69, 0x6d, 0x5f, 0x69, 0x63, 561 0x63, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x23, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 562 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 563 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x13, 0x0a, 0x11, 0x61, 0x73, 564 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 565 0x15, 0x0a, 0x13, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x69, 566 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x12, 0x1b, 0x0a, 0x19, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 567 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 568 0x61, 0x74, 0x65, 0xb2, 0xdf, 0x21, 0x97, 0x01, 0x12, 0x16, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 569 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x05, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 570 0x12, 0x15, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 571 0x22, 0x05, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x12, 0x2c, 0x0a, 0x23, 0x61, 0x73, 0x73, 0x6f, 0x63, 572 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 573 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x05, 574 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x12, 0x1a, 0x0a, 0x11, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 575 0x74, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x05, 0x6d, 0x6f, 0x6e, 0x67, 576 0x6f, 0x12, 0x1c, 0x0a, 0x13, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 577 0x73, 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x22, 0x05, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0xda, 578 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xb7, 0x02, 0xe8, 0xde, 579 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x54, 0x0a, 0x15, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 580 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x3b, 581 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 582 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 583 0x65, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 584 0x63, 0x65, 0x5f, 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0xa2, 0x80, 0xd1, 0x02, 0x56, 585 0x0a, 0x16, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 586 0x65, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 587 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 588 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x63, 0x63, 589 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x61, 590 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 591 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x44, 592 0x65, 0x76, 0x69, 0x63, 0x65, 0x48, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, 593 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 594 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 595 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 596 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x61, 0x72, 597 0x64, 0x77, 0x61, 0x72, 0x65, 0x3b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x61, 0x72, 598 0x64, 0x77, 0x61, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 599 } 600 601 var ( 602 edgelq_devices_proto_v1_device_hardware_proto_rawDescOnce sync.Once 603 edgelq_devices_proto_v1_device_hardware_proto_rawDescData = edgelq_devices_proto_v1_device_hardware_proto_rawDesc 604 ) 605 606 func edgelq_devices_proto_v1_device_hardware_proto_rawDescGZIP() []byte { 607 edgelq_devices_proto_v1_device_hardware_proto_rawDescOnce.Do(func() { 608 edgelq_devices_proto_v1_device_hardware_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_devices_proto_v1_device_hardware_proto_rawDescData) 609 }) 610 return edgelq_devices_proto_v1_device_hardware_proto_rawDescData 611 } 612 613 var edgelq_devices_proto_v1_device_hardware_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 614 var edgelq_devices_proto_v1_device_hardware_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 615 var edgelq_devices_proto_v1_device_hardware_proto_goTypes = []interface{}{ 616 (DeviceHardware_Status_PROVISIONING_STATE)(0), // 0: ntt.devices.v1.DeviceHardware_Status_PROVISIONING_STATE 617 (*DeviceHardware)(nil), // 1: ntt.devices.v1.DeviceHardware 618 (*DeviceHardware_Status)(nil), // 2: ntt.devices.v1.DeviceHardware.Status 619 (*meta.Meta)(nil), // 3: goten.types.Meta 620 } 621 var edgelq_devices_proto_v1_device_hardware_proto_depIdxs = []int32{ 622 3, // 0: ntt.devices.v1.DeviceHardware.metadata:type_name -> goten.types.Meta 623 2, // 1: ntt.devices.v1.DeviceHardware.status:type_name -> ntt.devices.v1.DeviceHardware.Status 624 0, // 2: ntt.devices.v1.DeviceHardware.Status.provisioning_state:type_name -> ntt.devices.v1.DeviceHardware_Status_PROVISIONING_STATE 625 3, // [3:3] is the sub-list for method output_type 626 3, // [3:3] is the sub-list for method input_type 627 3, // [3:3] is the sub-list for extension type_name 628 3, // [3:3] is the sub-list for extension extendee 629 0, // [0:3] is the sub-list for field type_name 630 } 631 632 func init() { edgelq_devices_proto_v1_device_hardware_proto_init() } 633 func edgelq_devices_proto_v1_device_hardware_proto_init() { 634 if edgelq_devices_proto_v1_device_hardware_proto != nil { 635 return 636 } 637 if !protoimpl.UnsafeEnabled { 638 639 edgelq_devices_proto_v1_device_hardware_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 640 switch v := v.(*DeviceHardware); i { 641 case 0: 642 return &v.state 643 case 1: 644 return &v.sizeCache 645 case 2: 646 return &v.unknownFields 647 default: 648 return nil 649 } 650 } 651 edgelq_devices_proto_v1_device_hardware_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 652 switch v := v.(*DeviceHardware_Status); i { 653 case 0: 654 return &v.state 655 case 1: 656 return &v.sizeCache 657 case 2: 658 return &v.unknownFields 659 default: 660 return nil 661 } 662 } 663 } 664 665 type x struct{} 666 out := protoimpl.TypeBuilder{ 667 File: protoimpl.DescBuilder{ 668 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 669 RawDescriptor: edgelq_devices_proto_v1_device_hardware_proto_rawDesc, 670 NumEnums: 1, 671 NumMessages: 2, 672 NumExtensions: 0, 673 NumServices: 0, 674 }, 675 GoTypes: edgelq_devices_proto_v1_device_hardware_proto_goTypes, 676 DependencyIndexes: edgelq_devices_proto_v1_device_hardware_proto_depIdxs, 677 EnumInfos: edgelq_devices_proto_v1_device_hardware_proto_enumTypes, 678 MessageInfos: edgelq_devices_proto_v1_device_hardware_proto_msgTypes, 679 }.Build() 680 edgelq_devices_proto_v1_device_hardware_proto = out.File 681 edgelq_devices_proto_v1_device_hardware_proto_rawDesc = nil 682 edgelq_devices_proto_v1_device_hardware_proto_goTypes = nil 683 edgelq_devices_proto_v1_device_hardware_proto_depIdxs = nil 684 }