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.26.0
25 // source: cells.proto
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44 state protoimpl.MessageState
45 sizeCache protoimpl.SizeCache
46 unknownFields protoimpl.UnknownFields
48 Type Cell_Type `protobuf:"varint,1,opt,name=type,proto3,enum=entities.Cell_Type" json:"type,omitempty"`
49 // Types that are assignable to List:
50 // *Cells_ServedCellInfos
51 // *Cells_ServedNrCells
52 List isCells_List `protobuf_oneof:"list"`
55 func (x *Cells) Reset() {
57 if protoimpl.UnsafeEnabled {
58 mi := &file_cells_proto_msgTypes[0]
59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60 ms.StoreMessageInfo(mi)
64 func (x *Cells) String() string {
65 return protoimpl.X.MessageStringOf(x)
68 func (*Cells) ProtoMessage() {}
70 func (x *Cells) ProtoReflect() protoreflect.Message {
71 mi := &file_cells_proto_msgTypes[0]
72 if protoimpl.UnsafeEnabled && x != nil {
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 if ms.LoadMessageInfo() == nil {
75 ms.StoreMessageInfo(mi)
79 return mi.MessageOf(x)
82 // Deprecated: Use Cells.ProtoReflect.Descriptor instead.
83 func (*Cells) Descriptor() ([]byte, []int) {
84 return file_cells_proto_rawDescGZIP(), []int{0}
87 func (x *Cells) GetType() Cell_Type {
91 return Cell_UNKNOWN_CELL
94 func (m *Cells) GetList() isCells_List {
101 func (x *Cells) GetServedCellInfos() *ServedCellInfoList {
102 if x, ok := x.GetList().(*Cells_ServedCellInfos); ok {
103 return x.ServedCellInfos
108 func (x *Cells) GetServedNrCells() *ServedNRCellList {
109 if x, ok := x.GetList().(*Cells_ServedNrCells); ok {
110 return x.ServedNrCells
115 type isCells_List interface {
119 type Cells_ServedCellInfos struct {
120 ServedCellInfos *ServedCellInfoList `protobuf:"bytes,2,opt,name=served_cell_infos,json=servedCellInfos,proto3,oneof"`
123 type Cells_ServedNrCells struct {
124 ServedNrCells *ServedNRCellList `protobuf:"bytes,3,opt,name=served_nr_cells,json=servedNrCells,proto3,oneof"`
127 func (*Cells_ServedCellInfos) isCells_List() {}
129 func (*Cells_ServedNrCells) isCells_List() {}
131 type ServedCellInfoList struct {
132 state protoimpl.MessageState
133 sizeCache protoimpl.SizeCache
134 unknownFields protoimpl.UnknownFields
136 ServedCells []*ServedCellInfo `protobuf:"bytes,1,rep,name=served_cells,json=servedCells,proto3" json:"served_cells,omitempty"`
139 func (x *ServedCellInfoList) Reset() {
140 *x = ServedCellInfoList{}
141 if protoimpl.UnsafeEnabled {
142 mi := &file_cells_proto_msgTypes[1]
143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
144 ms.StoreMessageInfo(mi)
148 func (x *ServedCellInfoList) String() string {
149 return protoimpl.X.MessageStringOf(x)
152 func (*ServedCellInfoList) ProtoMessage() {}
154 func (x *ServedCellInfoList) ProtoReflect() protoreflect.Message {
155 mi := &file_cells_proto_msgTypes[1]
156 if protoimpl.UnsafeEnabled && x != nil {
157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
158 if ms.LoadMessageInfo() == nil {
159 ms.StoreMessageInfo(mi)
163 return mi.MessageOf(x)
166 // Deprecated: Use ServedCellInfoList.ProtoReflect.Descriptor instead.
167 func (*ServedCellInfoList) Descriptor() ([]byte, []int) {
168 return file_cells_proto_rawDescGZIP(), []int{1}
171 func (x *ServedCellInfoList) GetServedCells() []*ServedCellInfo {
178 type ServedNRCellList struct {
179 state protoimpl.MessageState
180 sizeCache protoimpl.SizeCache
181 unknownFields protoimpl.UnknownFields
183 ServedCells []*ServedNRCell `protobuf:"bytes,1,rep,name=served_cells,json=servedCells,proto3" json:"served_cells,omitempty"`
186 func (x *ServedNRCellList) Reset() {
187 *x = ServedNRCellList{}
188 if protoimpl.UnsafeEnabled {
189 mi := &file_cells_proto_msgTypes[2]
190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191 ms.StoreMessageInfo(mi)
195 func (x *ServedNRCellList) String() string {
196 return protoimpl.X.MessageStringOf(x)
199 func (*ServedNRCellList) ProtoMessage() {}
201 func (x *ServedNRCellList) ProtoReflect() protoreflect.Message {
202 mi := &file_cells_proto_msgTypes[2]
203 if protoimpl.UnsafeEnabled && x != nil {
204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
205 if ms.LoadMessageInfo() == nil {
206 ms.StoreMessageInfo(mi)
210 return mi.MessageOf(x)
213 // Deprecated: Use ServedNRCellList.ProtoReflect.Descriptor instead.
214 func (*ServedNRCellList) Descriptor() ([]byte, []int) {
215 return file_cells_proto_rawDescGZIP(), []int{2}
218 func (x *ServedNRCellList) GetServedCells() []*ServedNRCell {
225 var File_cells_proto protoreflect.FileDescriptor
227 var file_cells_proto_rawDesc = []byte{
228 0x0a, 0x0b, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65,
229 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x2e, 0x70, 0x72,
230 0x6f, 0x74, 0x6f, 0x1a, 0x09, 0x67, 0x6e, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x09,
231 0x65, 0x6e, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xca, 0x01, 0x0a, 0x05, 0x43, 0x65,
232 0x6c, 0x6c, 0x73, 0x12, 0x27, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
233 0x0e, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x43, 0x65, 0x6c,
234 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4a, 0x0a, 0x11,
235 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f,
236 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69,
237 0x65, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66,
238 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x43,
239 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x44, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76,
240 0x65, 0x64, 0x5f, 0x6e, 0x72, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
241 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x72,
242 0x76, 0x65, 0x64, 0x4e, 0x52, 0x43, 0x65, 0x6c, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52,
243 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x42, 0x06,
244 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64,
245 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0c,
246 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03,
247 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x53, 0x65,
248 0x72, 0x76, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x73, 0x65,
249 0x72, 0x76, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x4d, 0x0a, 0x10, 0x53, 0x65, 0x72,
250 0x76, 0x65, 0x64, 0x4e, 0x52, 0x43, 0x65, 0x6c, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x39, 0x0a,
251 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x01, 0x20,
252 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x53,
253 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x52, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x0b, 0x73, 0x65, 0x72,
254 0x76, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x65, 0x72, 0x72,
255 0x69, 0x74, 0x2e, 0x6f, 0x2d, 0x72, 0x61, 0x6e, 0x2d, 0x73, 0x63, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
256 0x72, 0x2f, 0x72, 0x69, 0x63, 0x2d, 0x70, 0x6c, 0x74, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x62, 0x2d,
257 0x72, 0x6e, 0x69, 0x62, 0x2f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x62, 0x06, 0x70,
258 0x72, 0x6f, 0x74, 0x6f, 0x33,
262 file_cells_proto_rawDescOnce sync.Once
263 file_cells_proto_rawDescData = file_cells_proto_rawDesc
266 func file_cells_proto_rawDescGZIP() []byte {
267 file_cells_proto_rawDescOnce.Do(func() {
268 file_cells_proto_rawDescData = protoimpl.X.CompressGZIP(file_cells_proto_rawDescData)
270 return file_cells_proto_rawDescData
273 var file_cells_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
274 var file_cells_proto_goTypes = []interface{}{
275 (*Cells)(nil), // 0: entities.Cells
276 (*ServedCellInfoList)(nil), // 1: entities.ServedCellInfoList
277 (*ServedNRCellList)(nil), // 2: entities.ServedNRCellList
278 (Cell_Type)(0), // 3: entities.Cell.Type
279 (*ServedCellInfo)(nil), // 4: entities.ServedCellInfo
280 (*ServedNRCell)(nil), // 5: entities.ServedNRCell
282 var file_cells_proto_depIdxs = []int32{
283 3, // 0: entities.Cells.type:type_name -> entities.Cell.Type
284 1, // 1: entities.Cells.served_cell_infos:type_name -> entities.ServedCellInfoList
285 2, // 2: entities.Cells.served_nr_cells:type_name -> entities.ServedNRCellList
286 4, // 3: entities.ServedCellInfoList.served_cells:type_name -> entities.ServedCellInfo
287 5, // 4: entities.ServedNRCellList.served_cells:type_name -> entities.ServedNRCell
288 5, // [5:5] is the sub-list for method output_type
289 5, // [5:5] is the sub-list for method input_type
290 5, // [5:5] is the sub-list for extension type_name
291 5, // [5:5] is the sub-list for extension extendee
292 0, // [0:5] is the sub-list for field type_name
295 func init() { file_cells_proto_init() }
296 func file_cells_proto_init() {
297 if File_cells_proto != nil {
300 file_cell_proto_init()
301 file_gnb_proto_init()
302 file_enb_proto_init()
303 if !protoimpl.UnsafeEnabled {
304 file_cells_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
305 switch v := v.(*Cells); i {
311 return &v.unknownFields
316 file_cells_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
317 switch v := v.(*ServedCellInfoList); i {
323 return &v.unknownFields
328 file_cells_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
329 switch v := v.(*ServedNRCellList); i {
335 return &v.unknownFields
341 file_cells_proto_msgTypes[0].OneofWrappers = []interface{}{
342 (*Cells_ServedCellInfos)(nil),
343 (*Cells_ServedNrCells)(nil),
346 out := protoimpl.TypeBuilder{
347 File: protoimpl.DescBuilder{
348 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
349 RawDescriptor: file_cells_proto_rawDesc,
355 GoTypes: file_cells_proto_goTypes,
356 DependencyIndexes: file_cells_proto_depIdxs,
357 MessageInfos: file_cells_proto_msgTypes,
359 File_cells_proto = out.File
360 file_cells_proto_rawDesc = nil
361 file_cells_proto_goTypes = nil
362 file_cells_proto_depIdxs = nil