github.com/cloudwan/edgelq-sdk@v1.15.4/devices/resources/v1/os_version/os_version.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/devices/proto/v1/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/v1/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_v1_os_version_proto_enumTypes[0].Descriptor() 83 } 84 85 func (OsVersion_Channel) Type() preflect.EnumType { 86 return &edgelq_devices_proto_v1_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_v1_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 is an object with information like create, update and delete time 109 // (for async deleted resources), has user labels/annotations, sharding 110 // information, multi-region syncing information and may have non-schema 111 // owners (useful for taking ownership of resources belonging to lower level 112 // services by higher ones). 113 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 114 // The version name. 115 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 116 // Supported device type. 117 DeviceType *device_type.Reference `protobuf:"bytes,4,opt,customtype=Reference,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` 118 // The minum previous OS version that is required to upgrade devices to the OS 119 // version. 120 MinimumPreviousVersion string `protobuf:"bytes,5,opt,name=minimum_previous_version,json=minimumPreviousVersion,proto3" json:"minimum_previous_version,omitempty"` 121 Channel OsVersion_Channel `protobuf:"varint,6,opt,name=channel,proto3,enum=ntt.devices.v1.OsVersion_Channel" json:"channel,omitempty"` 122 } 123 124 func (m *OsVersion) Reset() { 125 *m = OsVersion{} 126 if protoimpl.UnsafeEnabled { 127 mi := &edgelq_devices_proto_v1_os_version_proto_msgTypes[0] 128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 129 ms.StoreMessageInfo(mi) 130 } 131 } 132 133 func (m *OsVersion) String() string { 134 return protoimpl.X.MessageStringOf(m) 135 } 136 137 func (*OsVersion) ProtoMessage() {} 138 139 func (m *OsVersion) ProtoReflect() preflect.Message { 140 mi := &edgelq_devices_proto_v1_os_version_proto_msgTypes[0] 141 if protoimpl.UnsafeEnabled && m != nil { 142 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 143 if ms.LoadMessageInfo() == nil { 144 ms.StoreMessageInfo(mi) 145 } 146 return ms 147 } 148 return mi.MessageOf(m) 149 } 150 151 func (*OsVersion) GotenMessage() {} 152 153 // Deprecated, Use OsVersion.ProtoReflect.Descriptor instead. 154 func (*OsVersion) Descriptor() ([]byte, []int) { 155 return edgelq_devices_proto_v1_os_version_proto_rawDescGZIP(), []int{0} 156 } 157 158 func (m *OsVersion) Unmarshal(b []byte) error { 159 return proto.Unmarshal(b, m) 160 } 161 162 func (m *OsVersion) Marshal() ([]byte, error) { 163 return proto.Marshal(m) 164 } 165 166 func (m *OsVersion) MarshalJSON() ([]byte, error) { 167 return protojson.MarshalOptions{}.Marshal(m) 168 } 169 170 func (m *OsVersion) UnmarshalJSON(data []byte) error { 171 return protojson.Unmarshal(data, m) 172 } 173 174 func (m *OsVersion) GetName() *Name { 175 if m != nil { 176 return m.Name 177 } 178 return nil 179 } 180 181 func (m *OsVersion) GetMetadata() *meta.Meta { 182 if m != nil { 183 return m.Metadata 184 } 185 return nil 186 } 187 188 func (m *OsVersion) GetVersion() string { 189 if m != nil { 190 return m.Version 191 } 192 return "" 193 } 194 195 func (m *OsVersion) GetDeviceType() *device_type.Reference { 196 if m != nil { 197 return m.DeviceType 198 } 199 return nil 200 } 201 202 func (m *OsVersion) GetMinimumPreviousVersion() string { 203 if m != nil { 204 return m.MinimumPreviousVersion 205 } 206 return "" 207 } 208 209 func (m *OsVersion) GetChannel() OsVersion_Channel { 210 if m != nil { 211 return m.Channel 212 } 213 return OsVersion_CHANNEL_UNSPECIFIED 214 } 215 216 func (m *OsVersion) SetName(fv *Name) { 217 if m == nil { 218 panic(fmt.Errorf("can't set %s on nil %s", "Name", "OsVersion")) 219 } 220 m.Name = fv 221 } 222 223 func (m *OsVersion) SetMetadata(fv *meta.Meta) { 224 if m == nil { 225 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "OsVersion")) 226 } 227 m.Metadata = fv 228 } 229 230 func (m *OsVersion) SetVersion(fv string) { 231 if m == nil { 232 panic(fmt.Errorf("can't set %s on nil %s", "Version", "OsVersion")) 233 } 234 m.Version = fv 235 } 236 237 func (m *OsVersion) SetDeviceType(fv *device_type.Reference) { 238 if m == nil { 239 panic(fmt.Errorf("can't set %s on nil %s", "DeviceType", "OsVersion")) 240 } 241 m.DeviceType = fv 242 } 243 244 func (m *OsVersion) SetMinimumPreviousVersion(fv string) { 245 if m == nil { 246 panic(fmt.Errorf("can't set %s on nil %s", "MinimumPreviousVersion", "OsVersion")) 247 } 248 m.MinimumPreviousVersion = fv 249 } 250 251 func (m *OsVersion) SetChannel(fv OsVersion_Channel) { 252 if m == nil { 253 panic(fmt.Errorf("can't set %s on nil %s", "Channel", "OsVersion")) 254 } 255 m.Channel = fv 256 } 257 258 var edgelq_devices_proto_v1_os_version_proto preflect.FileDescriptor 259 260 var edgelq_devices_proto_v1_os_version_proto_rawDesc = []byte{ 261 0x0a, 0x28, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 262 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 263 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6e, 0x74, 0x74, 0x2e, 264 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 265 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 266 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 267 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 268 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 269 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 270 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 271 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 272 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 273 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 274 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 275 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 276 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 277 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 278 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 279 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 280 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc7, 0x03, 0x0a, 0x09, 0x4f, 0x73, 0x56, 0x65, 0x72, 281 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 282 0x28, 0x09, 0x42, 0x11, 0xb2, 0xda, 0x21, 0x0d, 0x0a, 0x0b, 0x0a, 0x09, 0x4f, 0x73, 0x56, 0x65, 283 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 284 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 285 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 286 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 287 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 288 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 289 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xb2, 0xda, 0x21, 0x10, 0x12, 290 0x0e, 0x0a, 0x0a, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x10, 0x01, 0x52, 291 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x6d, 292 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 293 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x6d, 294 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x56, 0x65, 295 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 296 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 297 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 298 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 299 0x65, 0x6c, 0x22, 0x38, 0x0a, 0x07, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x17, 0x0a, 300 0x13, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 301 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 302 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x45, 0x54, 0x41, 0x10, 0x02, 0x3a, 0x62, 0xea, 0x41, 303 0x37, 0x0a, 0x1c, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 304 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 305 0x17, 0x6f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x73, 0x5f, 306 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x92, 0xd9, 0x21, 0x18, 0x0a, 0x0a, 0x6f, 0x73, 307 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x0a, 0x6f, 0x73, 0x56, 0x65, 0x72, 0x73, 308 0x69, 0x6f, 0x6e, 0x73, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 309 0x42, 0x94, 0x02, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x4a, 0x0a, 0x10, 0x6f, 0x73, 310 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x36, 311 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 312 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 313 0x65, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x73, 0x5f, 0x76, 314 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0xa2, 0x80, 0xd1, 0x02, 0x4c, 0x0a, 0x11, 0x6f, 0x73, 0x5f, 315 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x37, 316 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 317 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 318 0x65, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x73, 0x5f, 319 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 320 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x0e, 321 0x4f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 322 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 323 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 324 0x69, 0x63, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 325 0x31, 0x2f, 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x3b, 0x6f, 0x73, 0x5f, 326 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 327 } 328 329 var ( 330 edgelq_devices_proto_v1_os_version_proto_rawDescOnce sync.Once 331 edgelq_devices_proto_v1_os_version_proto_rawDescData = edgelq_devices_proto_v1_os_version_proto_rawDesc 332 ) 333 334 func edgelq_devices_proto_v1_os_version_proto_rawDescGZIP() []byte { 335 edgelq_devices_proto_v1_os_version_proto_rawDescOnce.Do(func() { 336 edgelq_devices_proto_v1_os_version_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_devices_proto_v1_os_version_proto_rawDescData) 337 }) 338 return edgelq_devices_proto_v1_os_version_proto_rawDescData 339 } 340 341 var edgelq_devices_proto_v1_os_version_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 342 var edgelq_devices_proto_v1_os_version_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 343 var edgelq_devices_proto_v1_os_version_proto_goTypes = []interface{}{ 344 (OsVersion_Channel)(0), // 0: ntt.devices.v1.OsVersion_Channel 345 (*OsVersion)(nil), // 1: ntt.devices.v1.OsVersion 346 (*meta.Meta)(nil), // 2: goten.types.Meta 347 } 348 var edgelq_devices_proto_v1_os_version_proto_depIdxs = []int32{ 349 2, // 0: ntt.devices.v1.OsVersion.metadata:type_name -> goten.types.Meta 350 0, // 1: ntt.devices.v1.OsVersion.channel:type_name -> ntt.devices.v1.OsVersion_Channel 351 2, // [2:2] is the sub-list for method output_type 352 2, // [2:2] is the sub-list for method input_type 353 2, // [2:2] is the sub-list for extension type_name 354 2, // [2:2] is the sub-list for extension extendee 355 0, // [0:2] is the sub-list for field type_name 356 } 357 358 func init() { edgelq_devices_proto_v1_os_version_proto_init() } 359 func edgelq_devices_proto_v1_os_version_proto_init() { 360 if edgelq_devices_proto_v1_os_version_proto != nil { 361 return 362 } 363 if !protoimpl.UnsafeEnabled { 364 365 edgelq_devices_proto_v1_os_version_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 366 switch v := v.(*OsVersion); i { 367 case 0: 368 return &v.state 369 case 1: 370 return &v.sizeCache 371 case 2: 372 return &v.unknownFields 373 default: 374 return nil 375 } 376 } 377 } 378 379 type x struct{} 380 out := protoimpl.TypeBuilder{ 381 File: protoimpl.DescBuilder{ 382 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 383 RawDescriptor: edgelq_devices_proto_v1_os_version_proto_rawDesc, 384 NumEnums: 1, 385 NumMessages: 1, 386 NumExtensions: 0, 387 NumServices: 0, 388 }, 389 GoTypes: edgelq_devices_proto_v1_os_version_proto_goTypes, 390 DependencyIndexes: edgelq_devices_proto_v1_os_version_proto_depIdxs, 391 EnumInfos: edgelq_devices_proto_v1_os_version_proto_enumTypes, 392 MessageInfos: edgelq_devices_proto_v1_os_version_proto_msgTypes, 393 }.Build() 394 edgelq_devices_proto_v1_os_version_proto = out.File 395 edgelq_devices_proto_v1_os_version_proto_rawDesc = nil 396 edgelq_devices_proto_v1_os_version_proto_goTypes = nil 397 edgelq_devices_proto_v1_os_version_proto_depIdxs = nil 398 }