blob: 8aedb275b7169ec959f83ab18af7bba8244a2013 [file] [log] [blame]
ss412g1acbc2c2019-11-12 19:34:17 +02001//
2// Copyright 2019 AT&T Intellectual Property
3// Copyright 2019 Nokia
4//
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
8//
9// http://www.apache.org/licenses/LICENSE-2.0
10//
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.
16
idanshal63df85b2020-05-20 12:13:00 +030017//
18// This source code is part of the near-RT RIC (RAN Intelligent Controller)
19// platform project (RICP).
nm755n31ed7872019-11-28 16:57:55 +000020
ss412g286ce412019-07-04 14:00:29 +030021// Code generated by protoc-gen-go. DO NOT EDIT.
idanshal63df85b2020-05-20 12:13:00 +030022// versions:
23// protoc-gen-go v1.23.0
24// protoc v3.6.1
ss412g286ce412019-07-04 14:00:29 +030025// source: cells.proto
26
27package entities
28
29import (
ss412g286ce412019-07-04 14:00:29 +030030 proto "github.com/golang/protobuf/proto"
idanshal63df85b2020-05-20 12:13:00 +030031 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
33 reflect "reflect"
34 sync "sync"
ss412g286ce412019-07-04 14:00:29 +030035)
36
idanshal63df85b2020-05-20 12:13:00 +030037const (
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)
42)
ss412g286ce412019-07-04 14:00:29 +030043
idanshal63df85b2020-05-20 12:13:00 +030044// This is a compile-time assertion that a sufficiently up-to-date version
45// of the legacy proto package is being used.
46const _ = proto.ProtoPackageIsVersion4
ss412g286ce412019-07-04 14:00:29 +030047
48type Cells struct {
idanshal63df85b2020-05-20 12:13:00 +030049 state protoimpl.MessageState
50 sizeCache protoimpl.SizeCache
51 unknownFields protoimpl.UnknownFields
52
ss412g286ce412019-07-04 14:00:29 +030053 Type Cell_Type `protobuf:"varint,1,opt,name=type,proto3,enum=entities.Cell_Type" json:"type,omitempty"`
idanshal63df85b2020-05-20 12:13:00 +030054 // Types that are assignable to List:
ss412g286ce412019-07-04 14:00:29 +030055 // *Cells_ServedCellInfos
56 // *Cells_ServedNrCells
idanshal63df85b2020-05-20 12:13:00 +030057 List isCells_List `protobuf_oneof:"list"`
ss412g286ce412019-07-04 14:00:29 +030058}
59
idanshal63df85b2020-05-20 12:13:00 +030060func (x *Cells) Reset() {
61 *x = Cells{}
62 if protoimpl.UnsafeEnabled {
63 mi := &file_cells_proto_msgTypes[0]
64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65 ms.StoreMessageInfo(mi)
66 }
67}
68
69func (x *Cells) String() string {
70 return protoimpl.X.MessageStringOf(x)
71}
72
73func (*Cells) ProtoMessage() {}
74
75func (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)
81 }
82 return ms
83 }
84 return mi.MessageOf(x)
85}
86
87// Deprecated: Use Cells.ProtoReflect.Descriptor instead.
ss412g286ce412019-07-04 14:00:29 +030088func (*Cells) Descriptor() ([]byte, []int) {
idanshal63df85b2020-05-20 12:13:00 +030089 return file_cells_proto_rawDescGZIP(), []int{0}
ss412g286ce412019-07-04 14:00:29 +030090}
91
idanshal63df85b2020-05-20 12:13:00 +030092func (x *Cells) GetType() Cell_Type {
93 if x != nil {
94 return x.Type
ss412g286ce412019-07-04 14:00:29 +030095 }
96 return Cell_UNKNOWN_CELL
97}
98
idanshal63df85b2020-05-20 12:13:00 +030099func (m *Cells) GetList() isCells_List {
100 if m != nil {
101 return m.List
102 }
103 return nil
104}
105
106func (x *Cells) GetServedCellInfos() *ServedCellInfoList {
107 if x, ok := x.GetList().(*Cells_ServedCellInfos); ok {
108 return x.ServedCellInfos
109 }
110 return nil
111}
112
113func (x *Cells) GetServedNrCells() *ServedNRCellList {
114 if x, ok := x.GetList().(*Cells_ServedNrCells); ok {
115 return x.ServedNrCells
116 }
117 return nil
118}
119
ss412g286ce412019-07-04 14:00:29 +0300120type isCells_List interface {
121 isCells_List()
122}
123
124type Cells_ServedCellInfos struct {
125 ServedCellInfos *ServedCellInfoList `protobuf:"bytes,2,opt,name=served_cell_infos,json=servedCellInfos,proto3,oneof"`
126}
127
128type Cells_ServedNrCells struct {
129 ServedNrCells *ServedNRCellList `protobuf:"bytes,3,opt,name=served_nr_cells,json=servedNrCells,proto3,oneof"`
130}
131
132func (*Cells_ServedCellInfos) isCells_List() {}
133
134func (*Cells_ServedNrCells) isCells_List() {}
135
ss412g286ce412019-07-04 14:00:29 +0300136type ServedCellInfoList struct {
idanshal63df85b2020-05-20 12:13:00 +0300137 state protoimpl.MessageState
138 sizeCache protoimpl.SizeCache
139 unknownFields protoimpl.UnknownFields
140
141 ServedCells []*ServedCellInfo `protobuf:"bytes,1,rep,name=served_cells,json=servedCells,proto3" json:"served_cells,omitempty"`
ss412g286ce412019-07-04 14:00:29 +0300142}
143
idanshal63df85b2020-05-20 12:13:00 +0300144func (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)
150 }
151}
152
153func (x *ServedCellInfoList) String() string {
154 return protoimpl.X.MessageStringOf(x)
155}
156
157func (*ServedCellInfoList) ProtoMessage() {}
158
159func (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)
165 }
166 return ms
167 }
168 return mi.MessageOf(x)
169}
170
171// Deprecated: Use ServedCellInfoList.ProtoReflect.Descriptor instead.
ss412g286ce412019-07-04 14:00:29 +0300172func (*ServedCellInfoList) Descriptor() ([]byte, []int) {
idanshal63df85b2020-05-20 12:13:00 +0300173 return file_cells_proto_rawDescGZIP(), []int{1}
ss412g286ce412019-07-04 14:00:29 +0300174}
175
idanshal63df85b2020-05-20 12:13:00 +0300176func (x *ServedCellInfoList) GetServedCells() []*ServedCellInfo {
177 if x != nil {
178 return x.ServedCells
ss412g286ce412019-07-04 14:00:29 +0300179 }
180 return nil
181}
182
183type ServedNRCellList struct {
idanshal63df85b2020-05-20 12:13:00 +0300184 state protoimpl.MessageState
185 sizeCache protoimpl.SizeCache
186 unknownFields protoimpl.UnknownFields
187
188 ServedCells []*ServedNRCell `protobuf:"bytes,1,rep,name=served_cells,json=servedCells,proto3" json:"served_cells,omitempty"`
ss412g286ce412019-07-04 14:00:29 +0300189}
190
idanshal63df85b2020-05-20 12:13:00 +0300191func (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)
197 }
198}
199
200func (x *ServedNRCellList) String() string {
201 return protoimpl.X.MessageStringOf(x)
202}
203
204func (*ServedNRCellList) ProtoMessage() {}
205
206func (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)
212 }
213 return ms
214 }
215 return mi.MessageOf(x)
216}
217
218// Deprecated: Use ServedNRCellList.ProtoReflect.Descriptor instead.
ss412g286ce412019-07-04 14:00:29 +0300219func (*ServedNRCellList) Descriptor() ([]byte, []int) {
idanshal63df85b2020-05-20 12:13:00 +0300220 return file_cells_proto_rawDescGZIP(), []int{2}
ss412g286ce412019-07-04 14:00:29 +0300221}
222
idanshal63df85b2020-05-20 12:13:00 +0300223func (x *ServedNRCellList) GetServedCells() []*ServedNRCell {
224 if x != nil {
225 return x.ServedCells
ss412g286ce412019-07-04 14:00:29 +0300226 }
227 return nil
228}
229
idanshal63df85b2020-05-20 12:13:00 +0300230var File_cells_proto protoreflect.FileDescriptor
231
232var 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,
ss412g286ce412019-07-04 14:00:29 +0300260}
261
idanshal63df85b2020-05-20 12:13:00 +0300262var (
263 file_cells_proto_rawDescOnce sync.Once
264 file_cells_proto_rawDescData = file_cells_proto_rawDesc
265)
ss412g286ce412019-07-04 14:00:29 +0300266
idanshal63df85b2020-05-20 12:13:00 +0300267func file_cells_proto_rawDescGZIP() []byte {
268 file_cells_proto_rawDescOnce.Do(func() {
269 file_cells_proto_rawDescData = protoimpl.X.CompressGZIP(file_cells_proto_rawDescData)
270 })
271 return file_cells_proto_rawDescData
272}
273
274var file_cells_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
275var 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
282}
283var 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
294}
295
296func init() { file_cells_proto_init() }
297func file_cells_proto_init() {
298 if File_cells_proto != nil {
299 return
300 }
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 {
307 case 0:
308 return &v.state
309 case 1:
310 return &v.sizeCache
311 case 2:
312 return &v.unknownFields
313 default:
314 return nil
315 }
316 }
317 file_cells_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
318 switch v := v.(*ServedCellInfoList); i {
319 case 0:
320 return &v.state
321 case 1:
322 return &v.sizeCache
323 case 2:
324 return &v.unknownFields
325 default:
326 return nil
327 }
328 }
329 file_cells_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
330 switch v := v.(*ServedNRCellList); i {
331 case 0:
332 return &v.state
333 case 1:
334 return &v.sizeCache
335 case 2:
336 return &v.unknownFields
337 default:
338 return nil
339 }
340 }
341 }
342 file_cells_proto_msgTypes[0].OneofWrappers = []interface{}{
343 (*Cells_ServedCellInfos)(nil),
344 (*Cells_ServedNrCells)(nil),
345 }
346 type x struct{}
347 out := protoimpl.TypeBuilder{
348 File: protoimpl.DescBuilder{
349 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
350 RawDescriptor: file_cells_proto_rawDesc,
351 NumEnums: 0,
352 NumMessages: 3,
353 NumExtensions: 0,
354 NumServices: 0,
355 },
356 GoTypes: file_cells_proto_goTypes,
357 DependencyIndexes: file_cells_proto_depIdxs,
358 MessageInfos: file_cells_proto_msgTypes,
359 }.Build()
360 File_cells_proto = out.File
361 file_cells_proto_rawDesc = nil
362 file_cells_proto_goTypes = nil
363 file_cells_proto_depIdxs = nil
ss412g286ce412019-07-04 14:00:29 +0300364}