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
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)
46 Cell_UNKNOWN_CELL Cell_Type = 0
47 Cell_LTE_CELL Cell_Type = 1
48 Cell_NR_CELL Cell_Type = 2
51 // Enum value maps for Cell_Type.
53 Cell_Type_name = map[int32]string{
58 Cell_Type_value = map[string]int32{
65 func (x Cell_Type) Enum() *Cell_Type {
71 func (x Cell_Type) String() string {
72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
75 func (Cell_Type) Descriptor() protoreflect.EnumDescriptor {
76 return file_cell_proto_enumTypes[0].Descriptor()
79 func (Cell_Type) Type() protoreflect.EnumType {
80 return &file_cell_proto_enumTypes[0]
83 func (x Cell_Type) Number() protoreflect.EnumNumber {
84 return protoreflect.EnumNumber(x)
87 // Deprecated: Use Cell_Type.Descriptor instead.
88 func (Cell_Type) EnumDescriptor() ([]byte, []int) {
89 return file_cell_proto_rawDescGZIP(), []int{0, 0}
93 state protoimpl.MessageState
94 sizeCache protoimpl.SizeCache
95 unknownFields protoimpl.UnknownFields
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"`
104 func (x *Cell) Reset() {
106 if protoimpl.UnsafeEnabled {
107 mi := &file_cell_proto_msgTypes[0]
108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
109 ms.StoreMessageInfo(mi)
113 func (x *Cell) String() string {
114 return protoimpl.X.MessageStringOf(x)
117 func (*Cell) ProtoMessage() {}
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)
128 return mi.MessageOf(x)
131 // Deprecated: Use Cell.ProtoReflect.Descriptor instead.
132 func (*Cell) Descriptor() ([]byte, []int) {
133 return file_cell_proto_rawDescGZIP(), []int{0}
136 func (x *Cell) GetType() Cell_Type {
140 return Cell_UNKNOWN_CELL
143 func (m *Cell) GetCell() isCell_Cell {
150 func (x *Cell) GetServedCellInfo() *ServedCellInfo {
151 if x, ok := x.GetCell().(*Cell_ServedCellInfo); ok {
152 return x.ServedCellInfo
157 func (x *Cell) GetServedNrCell() *ServedNRCell {
158 if x, ok := x.GetCell().(*Cell_ServedNrCell); ok {
159 return x.ServedNrCell
164 type isCell_Cell interface {
168 type Cell_ServedCellInfo struct {
169 ServedCellInfo *ServedCellInfo `protobuf:"bytes,2,opt,name=served_cell_info,json=servedCellInfo,proto3,oneof"`
172 type Cell_ServedNrCell struct {
173 ServedNrCell *ServedNRCell `protobuf:"bytes,3,opt,name=served_nr_cell,json=servedNrCell,proto3,oneof"`
176 func (*Cell_ServedCellInfo) isCell_Cell() {}
178 func (*Cell_ServedNrCell) isCell_Cell() {}
180 var File_cell_proto protoreflect.FileDescriptor
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,
208 file_cell_proto_rawDescOnce sync.Once
209 file_cell_proto_rawDescData = file_cell_proto_rawDesc
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)
216 return file_cell_proto_rawDescData
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
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
238 func init() { file_cell_proto_init() }
239 func file_cell_proto_init() {
240 if File_cell_proto != nil {
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 {
253 return &v.unknownFields
259 file_cell_proto_msgTypes[0].OneofWrappers = []interface{}{
260 (*Cell_ServedCellInfo)(nil),
261 (*Cell_ServedNrCell)(nil),
264 out := protoimpl.TypeBuilder{
265 File: protoimpl.DescBuilder{
266 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
267 RawDescriptor: file_cell_proto_rawDesc,
273 GoTypes: file_cell_proto_goTypes,
274 DependencyIndexes: file_cell_proto_depIdxs,
275 EnumInfos: file_cell_proto_enumTypes,
276 MessageInfos: file_cell_proto_msgTypes,
278 File_cell_proto = out.File
279 file_cell_proto_rawDesc = nil
280 file_cell_proto_goTypes = nil
281 file_cell_proto_depIdxs = nil