github.com/cloudwan/edgelq-sdk@v1.15.4/devices/resources/v1alpha2/os_version/os_version.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/devices/proto/v1alpha2/os_version.proto 3 // DO NOT EDIT!!! 4 5 package os_version 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 device_type "github.com/cloudwan/edgelq-sdk/devices/resources/v1alpha2/device_type" 21 meta "github.com/cloudwan/goten-sdk/types/meta" 22 ) 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var ( 26 _ = fmt.Errorf 27 _ = reflect.Method{} 28 _ = sync.Once{} 29 30 _ = protojson.MarshalOptions{} 31 _ = proto.MarshalOptions{} 32 _ = preflect.Value{} 33 _ = protoimpl.DescBuilder{} 34 ) 35 36 // make sure we're using proto imports 37 var ( 38 _ = &device_type.DeviceType{} 39 _ = &meta.Meta{} 40 ) 41 42 const ( 43 // Verify that this generated code is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 45 // Verify that runtime/protoimpl is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 47 ) 48 49 type OsVersion_Channel int32 50 51 const ( 52 OsVersion_CHANNEL_UNSPECIFIED OsVersion_Channel = 0 53 OsVersion_NORMAL OsVersion_Channel = 1 54 OsVersion_BETA OsVersion_Channel = 2 55 ) 56 57 var ( 58 OsVersion_Channel_name = map[int32]string{ 59 0: "CHANNEL_UNSPECIFIED", 60 1: "NORMAL", 61 2: "BETA", 62 } 63 64 OsVersion_Channel_value = map[string]int32{ 65 "CHANNEL_UNSPECIFIED": 0, 66 "NORMAL": 1, 67 "BETA": 2, 68 } 69 ) 70 71 func (x OsVersion_Channel) Enum() *OsVersion_Channel { 72 p := new(OsVersion_Channel) 73 *p = x 74 return p 75 } 76 77 func (x OsVersion_Channel) String() string { 78 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 79 } 80 81 func (OsVersion_Channel) Descriptor() preflect.EnumDescriptor { 82 return edgelq_devices_proto_v1alpha2_os_version_proto_enumTypes[0].Descriptor() 83 } 84 85 func (OsVersion_Channel) Type() preflect.EnumType { 86 return &edgelq_devices_proto_v1alpha2_os_version_proto_enumTypes[0] 87 } 88 89 func (x OsVersion_Channel) Number() preflect.EnumNumber { 90 return preflect.EnumNumber(x) 91 } 92 93 // Deprecated, Use OsVersion_Channel.ProtoReflect.Descriptor instead. 94 func (OsVersion_Channel) EnumDescriptor() ([]byte, []int) { 95 return edgelq_devices_proto_v1alpha2_os_version_proto_rawDescGZIP(), []int{0, 0} 96 } 97 98 // OsVersion Resource 99 type OsVersion struct { 100 state protoimpl.MessageState 101 sizeCache protoimpl.SizeCache 102 unknownFields protoimpl.UnknownFields 103 // Name of OsVersion 104 // When creating a new instance, this field is optional and if not provided, 105 // it will be generated automatically. Last ID segment must conform to the 106 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 107 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 108 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 109 // The version name. 110 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 111 // Supported device type. 112 DeviceType *device_type.Reference `protobuf:"bytes,4,opt,customtype=Reference,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` 113 // The minum previous OS version that is required to upgrade devices to the OS 114 // version. 115 MinimumPreviousVersion string `protobuf:"bytes,5,opt,name=minimum_previous_version,json=minimumPreviousVersion,proto3" json:"minimum_previous_version,omitempty"` 116 Channel OsVersion_Channel `protobuf:"varint,6,opt,name=channel,proto3,enum=ntt.devices.v1alpha2.OsVersion_Channel" json:"channel,omitempty"` 117 } 118 119 func (m *OsVersion) Reset() { 120 *m = OsVersion{} 121 if protoimpl.UnsafeEnabled { 122 mi := &edgelq_devices_proto_v1alpha2_os_version_proto_msgTypes[0] 123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 124 ms.StoreMessageInfo(mi) 125 } 126 } 127 128 func (m *OsVersion) String() string { 129 return protoimpl.X.MessageStringOf(m) 130 } 131 132 func (*OsVersion) ProtoMessage() {} 133 134 func (m *OsVersion) ProtoReflect() preflect.Message { 135 mi := &edgelq_devices_proto_v1alpha2_os_version_proto_msgTypes[0] 136 if protoimpl.UnsafeEnabled && m != nil { 137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 138 if ms.LoadMessageInfo() == nil { 139 ms.StoreMessageInfo(mi) 140 } 141 return ms 142 } 143 return mi.MessageOf(m) 144 } 145 146 func (*OsVersion) GotenMessage() {} 147 148 // Deprecated, Use OsVersion.ProtoReflect.Descriptor instead. 149 func (*OsVersion) Descriptor() ([]byte, []int) { 150 return edgelq_devices_proto_v1alpha2_os_version_proto_rawDescGZIP(), []int{0} 151 } 152 153 func (m *OsVersion) Unmarshal(b []byte) error { 154 return proto.Unmarshal(b, m) 155 } 156 157 func (m *OsVersion) Marshal() ([]byte, error) { 158 return proto.Marshal(m) 159 } 160 161 func (m *OsVersion) MarshalJSON() ([]byte, error) { 162 return protojson.MarshalOptions{}.Marshal(m) 163 } 164 165 func (m *OsVersion) UnmarshalJSON(data []byte) error { 166 return protojson.Unmarshal(data, m) 167 } 168 169 func (m *OsVersion) GetName() *Name { 170 if m != nil { 171 return m.Name 172 } 173 return nil 174 } 175 176 func (m *OsVersion) GetMetadata() *meta.Meta { 177 if m != nil { 178 return m.Metadata 179 } 180 return nil 181 } 182 183 func (m *OsVersion) GetVersion() string { 184 if m != nil { 185 return m.Version 186 } 187 return "" 188 } 189 190 func (m *OsVersion) GetDeviceType() *device_type.Reference { 191 if m != nil { 192 return m.DeviceType 193 } 194 return nil 195 } 196 197 func (m *OsVersion) GetMinimumPreviousVersion() string { 198 if m != nil { 199 return m.MinimumPreviousVersion 200 } 201 return "" 202 } 203 204 func (m *OsVersion) GetChannel() OsVersion_Channel { 205 if m != nil { 206 return m.Channel 207 } 208 return OsVersion_CHANNEL_UNSPECIFIED 209 } 210 211 func (m *OsVersion) SetName(fv *Name) { 212 if m == nil { 213 panic(fmt.Errorf("can't set %s on nil %s", "Name", "OsVersion")) 214 } 215 m.Name = fv 216 } 217 218 func (m *OsVersion) SetMetadata(fv *meta.Meta) { 219 if m == nil { 220 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "OsVersion")) 221 } 222 m.Metadata = fv 223 } 224 225 func (m *OsVersion) SetVersion(fv string) { 226 if m == nil { 227 panic(fmt.Errorf("can't set %s on nil %s", "Version", "OsVersion")) 228 } 229 m.Version = fv 230 } 231 232 func (m *OsVersion) SetDeviceType(fv *device_type.Reference) { 233 if m == nil { 234 panic(fmt.Errorf("can't set %s on nil %s", "DeviceType", "OsVersion")) 235 } 236 m.DeviceType = fv 237 } 238 239 func (m *OsVersion) SetMinimumPreviousVersion(fv string) { 240 if m == nil { 241 panic(fmt.Errorf("can't set %s on nil %s", "MinimumPreviousVersion", "OsVersion")) 242 } 243 m.MinimumPreviousVersion = fv 244 } 245 246 func (m *OsVersion) SetChannel(fv OsVersion_Channel) { 247 if m == nil { 248 panic(fmt.Errorf("can't set %s on nil %s", "Channel", "OsVersion")) 249 } 250 m.Channel = fv 251 } 252 253 var edgelq_devices_proto_v1alpha2_os_version_proto preflect.FileDescriptor 254 255 var edgelq_devices_proto_v1alpha2_os_version_proto_rawDesc = []byte{ 256 0x0a, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 257 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 258 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 259 0x12, 0x14, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 260 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 261 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 262 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 263 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 264 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 265 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 266 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 267 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 268 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 269 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 270 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 271 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 272 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 273 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d, 274 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 275 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 276 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 277 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 278 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 279 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 280 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x03, 0x0a, 281 0x09, 0x4f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x04, 0x6e, 0x61, 282 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0xb2, 0xda, 0x21, 0x0d, 0x0a, 0x0b, 283 0x0a, 0x09, 0x4f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 284 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 285 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 286 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 287 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 288 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x0b, 0x64, 0x65, 289 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 290 0x14, 0xb2, 0xda, 0x21, 0x10, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 291 0x79, 0x70, 0x65, 0x10, 0x01, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 292 0x65, 0x12, 0x38, 0x0a, 0x18, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x70, 0x72, 0x65, 293 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 294 0x01, 0x28, 0x09, 0x52, 0x16, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x76, 295 0x69, 0x6f, 0x75, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x07, 0x63, 296 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6e, 297 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 298 0x68, 0x61, 0x32, 0x2e, 0x4f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 299 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x38, 300 0x0a, 0x07, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x48, 0x41, 301 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 302 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x08, 303 0x0a, 0x04, 0x42, 0x45, 0x54, 0x41, 0x10, 0x02, 0x3a, 0x62, 0xea, 0x41, 0x37, 0x0a, 0x1c, 0x64, 304 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 305 0x6d, 0x2f, 0x4f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x6f, 0x73, 0x56, 306 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 307 0x69, 0x6f, 0x6e, 0x7d, 0x92, 0xd9, 0x21, 0x18, 0x0a, 0x0a, 0x6f, 0x73, 0x56, 0x65, 0x72, 0x73, 308 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x0a, 0x6f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 309 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xac, 0x02, 0xe8, 310 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x50, 0x0a, 0x10, 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 311 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x3c, 0x67, 0x69, 0x74, 0x68, 312 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 313 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x73, 314 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x6f, 0x73, 315 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0xa2, 0x80, 0xd1, 0x02, 0x52, 0x0a, 0x11, 0x6f, 316 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 317 0x12, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 318 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 319 0x69, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 320 0x70, 0x68, 0x61, 0x32, 0x2f, 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x0a, 321 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 322 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 0x0e, 0x4f, 0x73, 323 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4b, 324 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 325 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 326 0x65, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x61, 327 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 328 0x3b, 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 329 0x74, 0x6f, 0x33, 330 } 331 332 var ( 333 edgelq_devices_proto_v1alpha2_os_version_proto_rawDescOnce sync.Once 334 edgelq_devices_proto_v1alpha2_os_version_proto_rawDescData = edgelq_devices_proto_v1alpha2_os_version_proto_rawDesc 335 ) 336 337 func edgelq_devices_proto_v1alpha2_os_version_proto_rawDescGZIP() []byte { 338 edgelq_devices_proto_v1alpha2_os_version_proto_rawDescOnce.Do(func() { 339 edgelq_devices_proto_v1alpha2_os_version_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_devices_proto_v1alpha2_os_version_proto_rawDescData) 340 }) 341 return edgelq_devices_proto_v1alpha2_os_version_proto_rawDescData 342 } 343 344 var edgelq_devices_proto_v1alpha2_os_version_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 345 var edgelq_devices_proto_v1alpha2_os_version_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 346 var edgelq_devices_proto_v1alpha2_os_version_proto_goTypes = []interface{}{ 347 (OsVersion_Channel)(0), // 0: ntt.devices.v1alpha2.OsVersion_Channel 348 (*OsVersion)(nil), // 1: ntt.devices.v1alpha2.OsVersion 349 (*meta.Meta)(nil), // 2: goten.types.Meta 350 } 351 var edgelq_devices_proto_v1alpha2_os_version_proto_depIdxs = []int32{ 352 2, // 0: ntt.devices.v1alpha2.OsVersion.metadata:type_name -> goten.types.Meta 353 0, // 1: ntt.devices.v1alpha2.OsVersion.channel:type_name -> ntt.devices.v1alpha2.OsVersion_Channel 354 2, // [2:2] is the sub-list for method output_type 355 2, // [2:2] is the sub-list for method input_type 356 2, // [2:2] is the sub-list for extension type_name 357 2, // [2:2] is the sub-list for extension extendee 358 0, // [0:2] is the sub-list for field type_name 359 } 360 361 func init() { edgelq_devices_proto_v1alpha2_os_version_proto_init() } 362 func edgelq_devices_proto_v1alpha2_os_version_proto_init() { 363 if edgelq_devices_proto_v1alpha2_os_version_proto != nil { 364 return 365 } 366 if !protoimpl.UnsafeEnabled { 367 368 edgelq_devices_proto_v1alpha2_os_version_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 369 switch v := v.(*OsVersion); i { 370 case 0: 371 return &v.state 372 case 1: 373 return &v.sizeCache 374 case 2: 375 return &v.unknownFields 376 default: 377 return nil 378 } 379 } 380 } 381 382 type x struct{} 383 out := protoimpl.TypeBuilder{ 384 File: protoimpl.DescBuilder{ 385 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 386 RawDescriptor: edgelq_devices_proto_v1alpha2_os_version_proto_rawDesc, 387 NumEnums: 1, 388 NumMessages: 1, 389 NumExtensions: 0, 390 NumServices: 0, 391 }, 392 GoTypes: edgelq_devices_proto_v1alpha2_os_version_proto_goTypes, 393 DependencyIndexes: edgelq_devices_proto_v1alpha2_os_version_proto_depIdxs, 394 EnumInfos: edgelq_devices_proto_v1alpha2_os_version_proto_enumTypes, 395 MessageInfos: edgelq_devices_proto_v1alpha2_os_version_proto_msgTypes, 396 }.Build() 397 edgelq_devices_proto_v1alpha2_os_version_proto = out.File 398 edgelq_devices_proto_v1alpha2_os_version_proto_rawDesc = nil 399 edgelq_devices_proto_v1alpha2_os_version_proto_goTypes = nil 400 edgelq_devices_proto_v1alpha2_os_version_proto_depIdxs = nil 401 }