[RIC-384] Update ran_function proto
[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.23.0
24 //      protoc        v3.6.1
25 // source: cells.proto
26
27 package entities
28
29 import (
30         proto "github.com/golang/protobuf/proto"
31         protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32         protoimpl "google.golang.org/protobuf/runtime/protoimpl"
33         reflect "reflect"
34         sync "sync"
35 )
36
37 const (
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 )
43
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
47
48 type Cells struct {
49         state         protoimpl.MessageState
50         sizeCache     protoimpl.SizeCache
51         unknownFields protoimpl.UnknownFields
52
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"`
58 }
59
60 func (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
69 func (x *Cells) String() string {
70         return protoimpl.X.MessageStringOf(x)
71 }
72
73 func (*Cells) ProtoMessage() {}
74
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)
81                 }
82                 return ms
83         }
84         return mi.MessageOf(x)
85 }
86
87 // Deprecated: Use Cells.ProtoReflect.Descriptor instead.
88 func (*Cells) Descriptor() ([]byte, []int) {
89         return file_cells_proto_rawDescGZIP(), []int{0}
90 }
91
92 func (x *Cells) GetType() Cell_Type {
93         if x != nil {
94                 return x.Type
95         }
96         return Cell_UNKNOWN_CELL
97 }
98
99 func (m *Cells) GetList() isCells_List {
100         if m != nil {
101                 return m.List
102         }
103         return nil
104 }
105
106 func (x *Cells) GetServedCellInfos() *ServedCellInfoList {
107         if x, ok := x.GetList().(*Cells_ServedCellInfos); ok {
108                 return x.ServedCellInfos
109         }
110         return nil
111 }
112
113 func (x *Cells) GetServedNrCells() *ServedNRCellList {
114         if x, ok := x.GetList().(*Cells_ServedNrCells); ok {
115                 return x.ServedNrCells
116         }
117         return nil
118 }
119
120 type isCells_List interface {
121         isCells_List()
122 }
123
124 type Cells_ServedCellInfos struct {
125         ServedCellInfos *ServedCellInfoList `protobuf:"bytes,2,opt,name=served_cell_infos,json=servedCellInfos,proto3,oneof"`
126 }
127
128 type Cells_ServedNrCells struct {
129         ServedNrCells *ServedNRCellList `protobuf:"bytes,3,opt,name=served_nr_cells,json=servedNrCells,proto3,oneof"`
130 }
131
132 func (*Cells_ServedCellInfos) isCells_List() {}
133
134 func (*Cells_ServedNrCells) isCells_List() {}
135
136 type ServedCellInfoList struct {
137         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"`
142 }
143
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)
150         }
151 }
152
153 func (x *ServedCellInfoList) String() string {
154         return protoimpl.X.MessageStringOf(x)
155 }
156
157 func (*ServedCellInfoList) ProtoMessage() {}
158
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)
165                 }
166                 return ms
167         }
168         return mi.MessageOf(x)
169 }
170
171 // Deprecated: Use ServedCellInfoList.ProtoReflect.Descriptor instead.
172 func (*ServedCellInfoList) Descriptor() ([]byte, []int) {
173         return file_cells_proto_rawDescGZIP(), []int{1}
174 }
175
176 func (x *ServedCellInfoList) GetServedCells() []*ServedCellInfo {
177         if x != nil {
178                 return x.ServedCells
179         }
180         return nil
181 }
182
183 type ServedNRCellList struct {
184         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"`
189 }
190
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)
197         }
198 }
199
200 func (x *ServedNRCellList) String() string {
201         return protoimpl.X.MessageStringOf(x)
202 }
203
204 func (*ServedNRCellList) ProtoMessage() {}
205
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)
212                 }
213                 return ms
214         }
215         return mi.MessageOf(x)
216 }
217
218 // Deprecated: Use ServedNRCellList.ProtoReflect.Descriptor instead.
219 func (*ServedNRCellList) Descriptor() ([]byte, []int) {
220         return file_cells_proto_rawDescGZIP(), []int{2}
221 }
222
223 func (x *ServedNRCellList) GetServedCells() []*ServedNRCell {
224         if x != nil {
225                 return x.ServedCells
226         }
227         return nil
228 }
229
230 var File_cells_proto protoreflect.FileDescriptor
231
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,
260 }
261
262 var (
263         file_cells_proto_rawDescOnce sync.Once
264         file_cells_proto_rawDescData = file_cells_proto_rawDesc
265 )
266
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)
270         })
271         return file_cells_proto_rawDescData
272 }
273
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
282 }
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
294 }
295
296 func init() { file_cells_proto_init() }
297 func 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
364 }