RIC:1060: Change in PTL
[ric-plt/nodeb-rnib.git] / entities / cells.pb.go
1 //
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
17 //
18 // This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 // platform project (RICP).
20
21 // Code generated by protoc-gen-go. DO NOT EDIT.
22 // versions:
23 //      protoc-gen-go v1.26.0
24 //      protoc        v3.15.8
25 // source: cells.proto
26
27 package entities
28
29 import (
30         protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31         protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32         reflect "reflect"
33         sync "sync"
34 )
35
36 const (
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)
41 )
42
43 type Cells struct {
44         state         protoimpl.MessageState
45         sizeCache     protoimpl.SizeCache
46         unknownFields protoimpl.UnknownFields
47
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"`
53 }
54
55 func (x *Cells) Reset() {
56         *x = Cells{}
57         if protoimpl.UnsafeEnabled {
58                 mi := &file_cells_proto_msgTypes[0]
59                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60                 ms.StoreMessageInfo(mi)
61         }
62 }
63
64 func (x *Cells) String() string {
65         return protoimpl.X.MessageStringOf(x)
66 }
67
68 func (*Cells) ProtoMessage() {}
69
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)
76                 }
77                 return ms
78         }
79         return mi.MessageOf(x)
80 }
81
82 // Deprecated: Use Cells.ProtoReflect.Descriptor instead.
83 func (*Cells) Descriptor() ([]byte, []int) {
84         return file_cells_proto_rawDescGZIP(), []int{0}
85 }
86
87 func (x *Cells) GetType() Cell_Type {
88         if x != nil {
89                 return x.Type
90         }
91         return Cell_UNKNOWN_CELL
92 }
93
94 func (m *Cells) GetList() isCells_List {
95         if m != nil {
96                 return m.List
97         }
98         return nil
99 }
100
101 func (x *Cells) GetServedCellInfos() *ServedCellInfoList {
102         if x, ok := x.GetList().(*Cells_ServedCellInfos); ok {
103                 return x.ServedCellInfos
104         }
105         return nil
106 }
107
108 func (x *Cells) GetServedNrCells() *ServedNRCellList {
109         if x, ok := x.GetList().(*Cells_ServedNrCells); ok {
110                 return x.ServedNrCells
111         }
112         return nil
113 }
114
115 type isCells_List interface {
116         isCells_List()
117 }
118
119 type Cells_ServedCellInfos struct {
120         ServedCellInfos *ServedCellInfoList `protobuf:"bytes,2,opt,name=served_cell_infos,json=servedCellInfos,proto3,oneof"`
121 }
122
123 type Cells_ServedNrCells struct {
124         ServedNrCells *ServedNRCellList `protobuf:"bytes,3,opt,name=served_nr_cells,json=servedNrCells,proto3,oneof"`
125 }
126
127 func (*Cells_ServedCellInfos) isCells_List() {}
128
129 func (*Cells_ServedNrCells) isCells_List() {}
130
131 type ServedCellInfoList struct {
132         state         protoimpl.MessageState
133         sizeCache     protoimpl.SizeCache
134         unknownFields protoimpl.UnknownFields
135
136         ServedCells []*ServedCellInfo `protobuf:"bytes,1,rep,name=served_cells,json=servedCells,proto3" json:"served_cells,omitempty"`
137 }
138
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)
145         }
146 }
147
148 func (x *ServedCellInfoList) String() string {
149         return protoimpl.X.MessageStringOf(x)
150 }
151
152 func (*ServedCellInfoList) ProtoMessage() {}
153
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)
160                 }
161                 return ms
162         }
163         return mi.MessageOf(x)
164 }
165
166 // Deprecated: Use ServedCellInfoList.ProtoReflect.Descriptor instead.
167 func (*ServedCellInfoList) Descriptor() ([]byte, []int) {
168         return file_cells_proto_rawDescGZIP(), []int{1}
169 }
170
171 func (x *ServedCellInfoList) GetServedCells() []*ServedCellInfo {
172         if x != nil {
173                 return x.ServedCells
174         }
175         return nil
176 }
177
178 type ServedNRCellList struct {
179         state         protoimpl.MessageState
180         sizeCache     protoimpl.SizeCache
181         unknownFields protoimpl.UnknownFields
182
183         ServedCells []*ServedNRCell `protobuf:"bytes,1,rep,name=served_cells,json=servedCells,proto3" json:"served_cells,omitempty"`
184 }
185
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)
192         }
193 }
194
195 func (x *ServedNRCellList) String() string {
196         return protoimpl.X.MessageStringOf(x)
197 }
198
199 func (*ServedNRCellList) ProtoMessage() {}
200
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)
207                 }
208                 return ms
209         }
210         return mi.MessageOf(x)
211 }
212
213 // Deprecated: Use ServedNRCellList.ProtoReflect.Descriptor instead.
214 func (*ServedNRCellList) Descriptor() ([]byte, []int) {
215         return file_cells_proto_rawDescGZIP(), []int{2}
216 }
217
218 func (x *ServedNRCellList) GetServedCells() []*ServedNRCell {
219         if x != nil {
220                 return x.ServedCells
221         }
222         return nil
223 }
224
225 var File_cells_proto protoreflect.FileDescriptor
226
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,
259 }
260
261 var (
262         file_cells_proto_rawDescOnce sync.Once
263         file_cells_proto_rawDescData = file_cells_proto_rawDesc
264 )
265
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)
269         })
270         return file_cells_proto_rawDescData
271 }
272
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
281 }
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
293 }
294
295 func init() { file_cells_proto_init() }
296 func file_cells_proto_init() {
297         if File_cells_proto != nil {
298                 return
299         }
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 {
306                         case 0:
307                                 return &v.state
308                         case 1:
309                                 return &v.sizeCache
310                         case 2:
311                                 return &v.unknownFields
312                         default:
313                                 return nil
314                         }
315                 }
316                 file_cells_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
317                         switch v := v.(*ServedCellInfoList); i {
318                         case 0:
319                                 return &v.state
320                         case 1:
321                                 return &v.sizeCache
322                         case 2:
323                                 return &v.unknownFields
324                         default:
325                                 return nil
326                         }
327                 }
328                 file_cells_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
329                         switch v := v.(*ServedNRCellList); i {
330                         case 0:
331                                 return &v.state
332                         case 1:
333                                 return &v.sizeCache
334                         case 2:
335                                 return &v.unknownFields
336                         default:
337                                 return nil
338                         }
339                 }
340         }
341         file_cells_proto_msgTypes[0].OneofWrappers = []interface{}{
342                 (*Cells_ServedCellInfos)(nil),
343                 (*Cells_ServedNrCells)(nil),
344         }
345         type x struct{}
346         out := protoimpl.TypeBuilder{
347                 File: protoimpl.DescBuilder{
348                         GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
349                         RawDescriptor: file_cells_proto_rawDesc,
350                         NumEnums:      0,
351                         NumMessages:   3,
352                         NumExtensions: 0,
353                         NumServices:   0,
354                 },
355                 GoTypes:           file_cells_proto_goTypes,
356                 DependencyIndexes: file_cells_proto_depIdxs,
357                 MessageInfos:      file_cells_proto_msgTypes,
358         }.Build()
359         File_cells_proto = out.File
360         file_cells_proto_rawDesc = nil
361         file_cells_proto_goTypes = nil
362         file_cells_proto_depIdxs = nil
363 }