github.com/cloudwan/edgelq-sdk@v1.15.4/devices/proto/v1alpha2/device_type.proto (about) 1 syntax = "proto3"; 2 3 package ntt.devices.v1alpha2; 4 5 import "edgelq-sdk/iam/proto/v1alpha2/common.proto"; 6 import "google/api/resource.proto"; 7 import "goten-sdk/types/meta.proto"; 8 9 option go_package = "github.com/cloudwan/edgelq-sdk/devices/resources/v1alpha2/device_type;device_type"; 10 option java_multiple_files = true; 11 option java_outer_classname = "DeviceTypeProto"; 12 option java_package = "com.ntt.devices.pb.v1alpha2"; 13 14 // DeviceType Resource 15 message DeviceType { 16 option (google.api.resource) = { 17 type : "devices.edgelq.com/DeviceType" 18 pattern : "deviceTypes/{device_type}" 19 }; 20 21 // Name of DeviceType 22 // When creating a new instance, this field is optional and if not provided, 23 // it will be generated automatically. Last ID segment must conform to the 24 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 25 string name = 1; 26 27 goten.types.Meta metadata = 2; 28 29 // Display name of Device Type 30 string display_name = 3; 31 32 Hardware hardware = 4; 33 34 Architecture architecture = 5; 35 36 // Description of the Device Type 37 string description = 6; 38 39 // Hardware (e.g. Generic, Raspberry Pi) 40 enum Hardware { 41 HARDWARE_UNSPECIFIED = 0; 42 43 GENERIC = 1; 44 45 RASPBERRYPI = 2; 46 } 47 48 // Architecture name (e.g. amd64) 49 enum Architecture { 50 ARCHITECTURE_UNSPECIFIED = 0; 51 52 AMD64 = 1; 53 54 ARM64 = 2; 55 } 56 }