2 // Copyright 2019 AT&T Intellectual Property
3 // Copyright 2019 Nokia
5 // Licensed under the Apache License, Version 2.0 (the "License");
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 // This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 // platform project (RICP).
21 // Code generated by protoc-gen-go. DO NOT EDIT.
23 // protoc-gen-go v1.23.0
25 // source: cells.proto
30 proto "github.com/golang/protobuf/proto"
31 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
38 // Verify that this generated code is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40 // Verify that runtime/protoimpl is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44 // This is a compile-time assertion that a sufficiently up-to-date version
45 // of the legacy proto package is being used.
46 const _ = proto.ProtoPackageIsVersion4
49 state protoimpl.MessageState
50 sizeCache protoimpl.SizeCache
51 unknownFields protoimpl.UnknownFields
53 Type Cell_Type `protobuf:"varint,1,opt,name=type,proto3,enum=entities.Cell_Type" json:"type,omitempty"`
54 // Types that are assignable to List:
55 // *Cells_ServedCellInfos
56 // *Cells_ServedNrCells
57 List isCells_List `protobuf_oneof:"list"`
60 func (x *Cells) Reset() {
62 if protoimpl.UnsafeEnabled {
63 mi := &file_cells_proto_msgTypes[0]
64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65 ms.StoreMessageInfo(mi)
69 func (x *Cells) String() string {
70 return protoimpl.X.MessageStringOf(x)
73 func (*Cells) ProtoMessage() {}
75 func (x *Cells) ProtoReflect() protoreflect.Message {
76 mi := &file_cells_proto_msgTypes[0]
77 if protoimpl.UnsafeEnabled && x != nil {
78 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
79 if ms.LoadMessageInfo() == nil {
80 ms.StoreMessageInfo(mi)
84 return mi.MessageOf(x)
87 // Deprecated: Use Cells.ProtoReflect.Descriptor instead.
88 func (*Cells) Descriptor() ([]byte, []int) {
89 return file_cells_proto_rawDescGZIP(), []int{0}
92 func (x *Cells) GetType() Cell_Type {
96 return Cell_UNKNOWN_CELL
99 func (m *Cells) GetList() isCells_List {
106 func (x *Cells) GetServedCellInfos() *ServedCellInfoList {
107 if x, ok := x.GetList().(*Cells_ServedCellInfos); ok {
108 return x.ServedCellInfos
113 func (x *Cells) GetServedNrCells() *ServedNRCellList {
114 if x, ok := x.GetList().(*Cells_ServedNrCells); ok {
115 return x.ServedNrCells
120 type isCells_List interface {
124 type Cells_ServedCellInfos struct {
125 ServedCellInfos *ServedCellInfoList `protobuf:"bytes,2,opt,name=served_cell_infos,json=servedCellInfos,proto3,oneof"`
128 type Cells_ServedNrCells struct {
129 ServedNrCells *ServedNRCellList `protobuf:"bytes,3,opt,name=served_nr_cells,json=servedNrCells,proto3,oneof"`
132 func (*Cells_ServedCellInfos) isCells_List() {}
134 func (*Cells_ServedNrCells) isCells_List() {}
136 type ServedCellInfoList struct {
137 state protoimpl.MessageState
138 sizeCache protoimpl.SizeCache
139 unknownFields protoimpl.UnknownFields
141 ServedCells []*ServedCellInfo `protobuf:"bytes,1,rep,name=served_cells,json=servedCells,proto3" json:"served_cells,omitempty"`
144 func (x *ServedCellInfoList) Reset() {
145 *x = ServedCellInfoList{}
146 if protoimpl.UnsafeEnabled {
147 mi := &file_cells_proto_msgTypes[1]
148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
149 ms.StoreMessageInfo(mi)
153 func (x *ServedCellInfoList) String() string {
154 return protoimpl.X.MessageStringOf(x)
157 func (*ServedCellInfoList) ProtoMessage() {}
159 func (x *ServedCellInfoList) ProtoReflect() protoreflect.Message {
160 mi := &file_cells_proto_msgTypes[1]
161 if protoimpl.UnsafeEnabled && x != nil {
162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
163 if ms.LoadMessageInfo() == nil {
164 ms.StoreMessageInfo(mi)
168 return mi.MessageOf(x)
171 // Deprecated: Use ServedCellInfoList.ProtoReflect.Descriptor instead.
172 func (*ServedCellInfoList) Descriptor() ([]byte, []int) {
173 return file_cells_proto_rawDescGZIP(), []int{1}
176 func (x *ServedCellInfoList) GetServedCells() []*ServedCellInfo {
183 type ServedNRCellList struct {
184 state protoimpl.MessageState
185 sizeCache protoimpl.SizeCache
186 unknownFields protoimpl.UnknownFields
188 ServedCells []*ServedNRCell `protobuf:"bytes,1,rep,name=served_cells,json=servedCells,proto3" json:"served_cells,omitempty"`
191 func (x *ServedNRCellList) Reset() {
192 *x = ServedNRCellList{}
193 if protoimpl.UnsafeEnabled {
194 mi := &file_cells_proto_msgTypes[2]
195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
196 ms.StoreMessageInfo(mi)
200 func (x *ServedNRCellList) String() string {
201 return protoimpl.X.MessageStringOf(x)
204 func (*ServedNRCellList) ProtoMessage() {}
206 func (x *ServedNRCellList) ProtoReflect() protoreflect.Message {
207 mi := &file_cells_proto_msgTypes[2]
208 if protoimpl.UnsafeEnabled && x != nil {
209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
210 if ms.LoadMessageInfo() == nil {
211 ms.StoreMessageInfo(mi)
215 return mi.MessageOf(x)
218 // Deprecated: Use ServedNRCellList.ProtoReflect.Descriptor instead.
219 func (*ServedNRCellList) Descriptor() ([]byte, []int) {
220 return file_cells_proto_rawDescGZIP(), []int{2}
223 func (x *ServedNRCellList) GetServedCells() []*ServedNRCell {
230 var File_cells_proto protoreflect.FileDescriptor
232 var file_cells_proto_rawDesc = []byte{
233 0x0a, 0x0b, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65,
234 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x2e, 0x70, 0x72,
235 0x6f, 0x74, 0x6f, 0x1a, 0x09, 0x67, 0x6e, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x09,
236 0x65, 0x6e, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xca, 0x01, 0x0a, 0x05, 0x43, 0x65,
237 0x6c, 0x6c, 0x73, 0x12, 0x27, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
238 0x0e, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x43, 0x65, 0x6c,
239 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4a, 0x0a, 0x11,
240 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f,
241 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69,
242 0x65, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66,
243 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x43,
244 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x44, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76,
245 0x65, 0x64, 0x5f, 0x6e, 0x72, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
246 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x72,
247 0x76, 0x65, 0x64, 0x4e, 0x52, 0x43, 0x65, 0x6c, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52,
248 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x42, 0x06,
249 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64,
250 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0c,
251 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03,
252 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x53, 0x65,
253 0x72, 0x76, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x73, 0x65,
254 0x72, 0x76, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x4d, 0x0a, 0x10, 0x53, 0x65, 0x72,
255 0x76, 0x65, 0x64, 0x4e, 0x52, 0x43, 0x65, 0x6c, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x39, 0x0a,
256 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x01, 0x20,
257 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x53,
258 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x52, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x0b, 0x73, 0x65, 0x72,
259 0x76, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
263 file_cells_proto_rawDescOnce sync.Once
264 file_cells_proto_rawDescData = file_cells_proto_rawDesc
267 func file_cells_proto_rawDescGZIP() []byte {
268 file_cells_proto_rawDescOnce.Do(func() {
269 file_cells_proto_rawDescData = protoimpl.X.CompressGZIP(file_cells_proto_rawDescData)
271 return file_cells_proto_rawDescData
274 var file_cells_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
275 var file_cells_proto_goTypes = []interface{}{
276 (*Cells)(nil), // 0: entities.Cells
277 (*ServedCellInfoList)(nil), // 1: entities.ServedCellInfoList
278 (*ServedNRCellList)(nil), // 2: entities.ServedNRCellList
279 (Cell_Type)(0), // 3: entities.Cell.Type
280 (*ServedCellInfo)(nil), // 4: entities.ServedCellInfo
281 (*ServedNRCell)(nil), // 5: entities.ServedNRCell
283 var file_cells_proto_depIdxs = []int32{
284 3, // 0: entities.Cells.type:type_name -> entities.Cell.Type
285 1, // 1: entities.Cells.served_cell_infos:type_name -> entities.ServedCellInfoList
286 2, // 2: entities.Cells.served_nr_cells:type_name -> entities.ServedNRCellList
287 4, // 3: entities.ServedCellInfoList.served_cells:type_name -> entities.ServedCellInfo
288 5, // 4: entities.ServedNRCellList.served_cells:type_name -> entities.ServedNRCell
289 5, // [5:5] is the sub-list for method output_type
290 5, // [5:5] is the sub-list for method input_type
291 5, // [5:5] is the sub-list for extension type_name
292 5, // [5:5] is the sub-list for extension extendee
293 0, // [0:5] is the sub-list for field type_name
296 func init() { file_cells_proto_init() }
297 func file_cells_proto_init() {
298 if File_cells_proto != nil {
301 file_cell_proto_init()
302 file_gnb_proto_init()
303 file_enb_proto_init()
304 if !protoimpl.UnsafeEnabled {
305 file_cells_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
306 switch v := v.(*Cells); i {
312 return &v.unknownFields
317 file_cells_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
318 switch v := v.(*ServedCellInfoList); i {
324 return &v.unknownFields
329 file_cells_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
330 switch v := v.(*ServedNRCellList); i {
336 return &v.unknownFields
342 file_cells_proto_msgTypes[0].OneofWrappers = []interface{}{
343 (*Cells_ServedCellInfos)(nil),
344 (*Cells_ServedNrCells)(nil),
347 out := protoimpl.TypeBuilder{
348 File: protoimpl.DescBuilder{
349 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
350 RawDescriptor: file_cells_proto_rawDesc,
356 GoTypes: file_cells_proto_goTypes,
357 DependencyIndexes: file_cells_proto_depIdxs,
358 MessageInfos: file_cells_proto_msgTypes,
360 File_cells_proto = out.File
361 file_cells_proto_rawDesc = nil
362 file_cells_proto_goTypes = nil
363 file_cells_proto_depIdxs = nil