RIC:1060: Change in PTL
[ric-plt/nodeb-rnib.git] / entities / cell.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: cell.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 Cell_Type int32
44
45 const (
46         Cell_UNKNOWN_CELL Cell_Type = 0
47         Cell_LTE_CELL     Cell_Type = 1
48         Cell_NR_CELL      Cell_Type = 2
49 )
50
51 // Enum value maps for Cell_Type.
52 var (
53         Cell_Type_name = map[int32]string{
54                 0: "UNKNOWN_CELL",
55                 1: "LTE_CELL",
56                 2: "NR_CELL",
57         }
58         Cell_Type_value = map[string]int32{
59                 "UNKNOWN_CELL": 0,
60                 "LTE_CELL":     1,
61                 "NR_CELL":      2,
62         }
63 )
64
65 func (x Cell_Type) Enum() *Cell_Type {
66         p := new(Cell_Type)
67         *p = x
68         return p
69 }
70
71 func (x Cell_Type) String() string {
72         return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73 }
74
75 func (Cell_Type) Descriptor() protoreflect.EnumDescriptor {
76         return file_cell_proto_enumTypes[0].Descriptor()
77 }
78
79 func (Cell_Type) Type() protoreflect.EnumType {
80         return &file_cell_proto_enumTypes[0]
81 }
82
83 func (x Cell_Type) Number() protoreflect.EnumNumber {
84         return protoreflect.EnumNumber(x)
85 }
86
87 // Deprecated: Use Cell_Type.Descriptor instead.
88 func (Cell_Type) EnumDescriptor() ([]byte, []int) {
89         return file_cell_proto_rawDescGZIP(), []int{0, 0}
90 }
91
92 type Cell struct {
93         state         protoimpl.MessageState
94         sizeCache     protoimpl.SizeCache
95         unknownFields protoimpl.UnknownFields
96
97         Type Cell_Type `protobuf:"varint,1,opt,name=type,proto3,enum=entities.Cell_Type" json:"type,omitempty"`
98         // Types that are assignable to Cell:
99         //      *Cell_ServedCellInfo
100         //      *Cell_ServedNrCell
101         Cell isCell_Cell `protobuf_oneof:"cell"`
102 }
103
104 func (x *Cell) Reset() {
105         *x = Cell{}
106         if protoimpl.UnsafeEnabled {
107                 mi := &file_cell_proto_msgTypes[0]
108                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
109                 ms.StoreMessageInfo(mi)
110         }
111 }
112
113 func (x *Cell) String() string {
114         return protoimpl.X.MessageStringOf(x)
115 }
116
117 func (*Cell) ProtoMessage() {}
118
119 func (x *Cell) ProtoReflect() protoreflect.Message {
120         mi := &file_cell_proto_msgTypes[0]
121         if protoimpl.UnsafeEnabled && x != nil {
122                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
123                 if ms.LoadMessageInfo() == nil {
124                         ms.StoreMessageInfo(mi)
125                 }
126                 return ms
127         }
128         return mi.MessageOf(x)
129 }
130
131 // Deprecated: Use Cell.ProtoReflect.Descriptor instead.
132 func (*Cell) Descriptor() ([]byte, []int) {
133         return file_cell_proto_rawDescGZIP(), []int{0}
134 }
135
136 func (x *Cell) GetType() Cell_Type {
137         if x != nil {
138                 return x.Type
139         }
140         return Cell_UNKNOWN_CELL
141 }
142
143 func (m *Cell) GetCell() isCell_Cell {
144         if m != nil {
145                 return m.Cell
146         }
147         return nil
148 }
149
150 func (x *Cell) GetServedCellInfo() *ServedCellInfo {
151         if x, ok := x.GetCell().(*Cell_ServedCellInfo); ok {
152                 return x.ServedCellInfo
153         }
154         return nil
155 }
156
157 func (x *Cell) GetServedNrCell() *ServedNRCell {
158         if x, ok := x.GetCell().(*Cell_ServedNrCell); ok {
159                 return x.ServedNrCell
160         }
161         return nil
162 }
163
164 type isCell_Cell interface {
165         isCell_Cell()
166 }
167
168 type Cell_ServedCellInfo struct {
169         ServedCellInfo *ServedCellInfo `protobuf:"bytes,2,opt,name=served_cell_info,json=servedCellInfo,proto3,oneof"`
170 }
171
172 type Cell_ServedNrCell struct {
173         ServedNrCell *ServedNRCell `protobuf:"bytes,3,opt,name=served_nr_cell,json=servedNrCell,proto3,oneof"`
174 }
175
176 func (*Cell_ServedCellInfo) isCell_Cell() {}
177
178 func (*Cell_ServedNrCell) isCell_Cell() {}
179
180 var File_cell_proto protoreflect.FileDescriptor
181
182 var file_cell_proto_rawDesc = []byte{
183         0x0a, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65, 0x6e,
184         0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x09, 0x67, 0x6e, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74,
185         0x6f, 0x1a, 0x09, 0x65, 0x6e, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x01, 0x0a,
186         0x04, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x27, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
187         0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x43,
188         0x65, 0x6c, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x44,
189         0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e,
190         0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74,
191         0x69, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e,
192         0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c,
193         0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3e, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x6e,
194         0x72, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65,
195         0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x52,
196         0x43, 0x65, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x72,
197         0x43, 0x65, 0x6c, 0x6c, 0x22, 0x33, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c,
198         0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x0c,
199         0x0a, 0x08, 0x4c, 0x54, 0x45, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07,
200         0x4e, 0x52, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x10, 0x02, 0x42, 0x06, 0x0a, 0x04, 0x63, 0x65, 0x6c,
201         0x6c, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x2e, 0x6f, 0x2d, 0x72, 0x61,
202         0x6e, 0x2d, 0x73, 0x63, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x72, 0x2f, 0x72, 0x69, 0x63, 0x2d, 0x70,
203         0x6c, 0x74, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x62, 0x2d, 0x72, 0x6e, 0x69, 0x62, 0x2f, 0x65, 0x6e,
204         0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
205 }
206
207 var (
208         file_cell_proto_rawDescOnce sync.Once
209         file_cell_proto_rawDescData = file_cell_proto_rawDesc
210 )
211
212 func file_cell_proto_rawDescGZIP() []byte {
213         file_cell_proto_rawDescOnce.Do(func() {
214                 file_cell_proto_rawDescData = protoimpl.X.CompressGZIP(file_cell_proto_rawDescData)
215         })
216         return file_cell_proto_rawDescData
217 }
218
219 var file_cell_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
220 var file_cell_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
221 var file_cell_proto_goTypes = []interface{}{
222         (Cell_Type)(0),         // 0: entities.Cell.Type
223         (*Cell)(nil),           // 1: entities.Cell
224         (*ServedCellInfo)(nil), // 2: entities.ServedCellInfo
225         (*ServedNRCell)(nil),   // 3: entities.ServedNRCell
226 }
227 var file_cell_proto_depIdxs = []int32{
228         0, // 0: entities.Cell.type:type_name -> entities.Cell.Type
229         2, // 1: entities.Cell.served_cell_info:type_name -> entities.ServedCellInfo
230         3, // 2: entities.Cell.served_nr_cell:type_name -> entities.ServedNRCell
231         3, // [3:3] is the sub-list for method output_type
232         3, // [3:3] is the sub-list for method input_type
233         3, // [3:3] is the sub-list for extension type_name
234         3, // [3:3] is the sub-list for extension extendee
235         0, // [0:3] is the sub-list for field type_name
236 }
237
238 func init() { file_cell_proto_init() }
239 func file_cell_proto_init() {
240         if File_cell_proto != nil {
241                 return
242         }
243         file_gnb_proto_init()
244         file_enb_proto_init()
245         if !protoimpl.UnsafeEnabled {
246                 file_cell_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
247                         switch v := v.(*Cell); i {
248                         case 0:
249                                 return &v.state
250                         case 1:
251                                 return &v.sizeCache
252                         case 2:
253                                 return &v.unknownFields
254                         default:
255                                 return nil
256                         }
257                 }
258         }
259         file_cell_proto_msgTypes[0].OneofWrappers = []interface{}{
260                 (*Cell_ServedCellInfo)(nil),
261                 (*Cell_ServedNrCell)(nil),
262         }
263         type x struct{}
264         out := protoimpl.TypeBuilder{
265                 File: protoimpl.DescBuilder{
266                         GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
267                         RawDescriptor: file_cell_proto_rawDesc,
268                         NumEnums:      1,
269                         NumMessages:   1,
270                         NumExtensions: 0,
271                         NumServices:   0,
272                 },
273                 GoTypes:           file_cell_proto_goTypes,
274                 DependencyIndexes: file_cell_proto_depIdxs,
275                 EnumInfos:         file_cell_proto_enumTypes,
276                 MessageInfos:      file_cell_proto_msgTypes,
277         }.Build()
278         File_cell_proto = out.File
279         file_cell_proto_rawDesc = nil
280         file_cell_proto_goTypes = nil
281         file_cell_proto_depIdxs = nil
282 }