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.25.0
30 proto "github.com/golang/protobuf/proto"
31 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
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)
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
51 Cell_UNKNOWN_CELL Cell_Type = 0
52 Cell_LTE_CELL Cell_Type = 1
53 Cell_NR_CELL Cell_Type = 2
56 // Enum value maps for Cell_Type.
58 Cell_Type_name = map[int32]string{
63 Cell_Type_value = map[string]int32{
70 func (x Cell_Type) Enum() *Cell_Type {
76 func (x Cell_Type) String() string {
77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80 func (Cell_Type) Descriptor() protoreflect.EnumDescriptor {
81 return file_cell_proto_enumTypes[0].Descriptor()
84 func (Cell_Type) Type() protoreflect.EnumType {
85 return &file_cell_proto_enumTypes[0]
88 func (x Cell_Type) Number() protoreflect.EnumNumber {
89 return protoreflect.EnumNumber(x)
92 // Deprecated: Use Cell_Type.Descriptor instead.
93 func (Cell_Type) EnumDescriptor() ([]byte, []int) {
94 return file_cell_proto_rawDescGZIP(), []int{0, 0}
98 state protoimpl.MessageState
99 sizeCache protoimpl.SizeCache
100 unknownFields protoimpl.UnknownFields
102 Type Cell_Type `protobuf:"varint,1,opt,name=type,proto3,enum=entities.Cell_Type" json:"type,omitempty"`
103 // Types that are assignable to Cell:
104 // *Cell_ServedCellInfo
105 // *Cell_ServedNrCell
106 Cell isCell_Cell `protobuf_oneof:"cell"`
109 func (x *Cell) Reset() {
111 if protoimpl.UnsafeEnabled {
112 mi := &file_cell_proto_msgTypes[0]
113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
114 ms.StoreMessageInfo(mi)
118 func (x *Cell) String() string {
119 return protoimpl.X.MessageStringOf(x)
122 func (*Cell) ProtoMessage() {}
124 func (x *Cell) ProtoReflect() protoreflect.Message {
125 mi := &file_cell_proto_msgTypes[0]
126 if protoimpl.UnsafeEnabled && x != nil {
127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
128 if ms.LoadMessageInfo() == nil {
129 ms.StoreMessageInfo(mi)
133 return mi.MessageOf(x)
136 // Deprecated: Use Cell.ProtoReflect.Descriptor instead.
137 func (*Cell) Descriptor() ([]byte, []int) {
138 return file_cell_proto_rawDescGZIP(), []int{0}
141 func (x *Cell) GetType() Cell_Type {
145 return Cell_UNKNOWN_CELL
148 func (m *Cell) GetCell() isCell_Cell {
155 func (x *Cell) GetServedCellInfo() *ServedCellInfo {
156 if x, ok := x.GetCell().(*Cell_ServedCellInfo); ok {
157 return x.ServedCellInfo
162 func (x *Cell) GetServedNrCell() *ServedNRCell {
163 if x, ok := x.GetCell().(*Cell_ServedNrCell); ok {
164 return x.ServedNrCell
169 type isCell_Cell interface {
173 type Cell_ServedCellInfo struct {
174 ServedCellInfo *ServedCellInfo `protobuf:"bytes,2,opt,name=served_cell_info,json=servedCellInfo,proto3,oneof"`
177 type Cell_ServedNrCell struct {
178 ServedNrCell *ServedNRCell `protobuf:"bytes,3,opt,name=served_nr_cell,json=servedNrCell,proto3,oneof"`
181 func (*Cell_ServedCellInfo) isCell_Cell() {}
183 func (*Cell_ServedNrCell) isCell_Cell() {}
185 var File_cell_proto protoreflect.FileDescriptor
187 var file_cell_proto_rawDesc = []byte{
188 0x0a, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65, 0x6e,
189 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x09, 0x67, 0x6e, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74,
190 0x6f, 0x1a, 0x09, 0x65, 0x6e, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x01, 0x0a,
191 0x04, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x27, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
192 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x43,
193 0x65, 0x6c, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x44,
194 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e,
195 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74,
196 0x69, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e,
197 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c,
198 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3e, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x6e,
199 0x72, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65,
200 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x52,
201 0x43, 0x65, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x72,
202 0x43, 0x65, 0x6c, 0x6c, 0x22, 0x33, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c,
203 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x0c,
204 0x0a, 0x08, 0x4c, 0x54, 0x45, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07,
205 0x4e, 0x52, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x10, 0x02, 0x42, 0x06, 0x0a, 0x04, 0x63, 0x65, 0x6c,
206 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
210 file_cell_proto_rawDescOnce sync.Once
211 file_cell_proto_rawDescData = file_cell_proto_rawDesc
214 func file_cell_proto_rawDescGZIP() []byte {
215 file_cell_proto_rawDescOnce.Do(func() {
216 file_cell_proto_rawDescData = protoimpl.X.CompressGZIP(file_cell_proto_rawDescData)
218 return file_cell_proto_rawDescData
221 var file_cell_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
222 var file_cell_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
223 var file_cell_proto_goTypes = []interface{}{
224 (Cell_Type)(0), // 0: entities.Cell.Type
225 (*Cell)(nil), // 1: entities.Cell
226 (*ServedCellInfo)(nil), // 2: entities.ServedCellInfo
227 (*ServedNRCell)(nil), // 3: entities.ServedNRCell
229 var file_cell_proto_depIdxs = []int32{
230 0, // 0: entities.Cell.type:type_name -> entities.Cell.Type
231 2, // 1: entities.Cell.served_cell_info:type_name -> entities.ServedCellInfo
232 3, // 2: entities.Cell.served_nr_cell:type_name -> entities.ServedNRCell
233 3, // [3:3] is the sub-list for method output_type
234 3, // [3:3] is the sub-list for method input_type
235 3, // [3:3] is the sub-list for extension type_name
236 3, // [3:3] is the sub-list for extension extendee
237 0, // [0:3] is the sub-list for field type_name
240 func init() { file_cell_proto_init() }
241 func file_cell_proto_init() {
242 if File_cell_proto != nil {
245 file_gnb_proto_init()
246 file_enb_proto_init()
247 if !protoimpl.UnsafeEnabled {
248 file_cell_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
249 switch v := v.(*Cell); i {
255 return &v.unknownFields
261 file_cell_proto_msgTypes[0].OneofWrappers = []interface{}{
262 (*Cell_ServedCellInfo)(nil),
263 (*Cell_ServedNrCell)(nil),
266 out := protoimpl.TypeBuilder{
267 File: protoimpl.DescBuilder{
268 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
269 RawDescriptor: file_cell_proto_rawDesc,
275 GoTypes: file_cell_proto_goTypes,
276 DependencyIndexes: file_cell_proto_depIdxs,
277 EnumInfos: file_cell_proto_enumTypes,
278 MessageInfos: file_cell_proto_msgTypes,
280 File_cell_proto = out.File
281 file_cell_proto_rawDesc = nil
282 file_cell_proto_goTypes = nil
283 file_cell_proto_depIdxs = nil