Adding new comments for Oran in all files with licenses
[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 //  This source code is part of the near-RT RIC (RAN Intelligent Controller)
18 //  platform project (RICP).
19
20 // Code generated by protoc-gen-go. DO NOT EDIT.
21 // source: cell.proto
22
23 package entities
24
25 import (
26         fmt "fmt"
27         proto "github.com/golang/protobuf/proto"
28         math "math"
29 )
30
31 // Reference imports to suppress errors if they are not otherwise used.
32 var _ = proto.Marshal
33 var _ = fmt.Errorf
34 var _ = math.Inf
35
36 // This is a compile-time assertion to ensure that this generated file
37 // is compatible with the proto package it is being compiled against.
38 // A compilation error at this line likely means your copy of the
39 // proto package needs to be updated.
40 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
41
42 type Cell_Type int32
43
44 const (
45         Cell_UNKNOWN_CELL Cell_Type = 0
46         Cell_LTE_CELL     Cell_Type = 1
47         Cell_NR_CELL      Cell_Type = 2
48 )
49
50 var Cell_Type_name = map[int32]string{
51         0: "UNKNOWN_CELL",
52         1: "LTE_CELL",
53         2: "NR_CELL",
54 }
55
56 var Cell_Type_value = map[string]int32{
57         "UNKNOWN_CELL": 0,
58         "LTE_CELL":     1,
59         "NR_CELL":      2,
60 }
61
62 func (x Cell_Type) String() string {
63         return proto.EnumName(Cell_Type_name, int32(x))
64 }
65
66 func (Cell_Type) EnumDescriptor() ([]byte, []int) {
67         return fileDescriptor_d2698cf62ebc0420, []int{0, 0}
68 }
69
70 type Cell struct {
71         Type Cell_Type `protobuf:"varint,1,opt,name=type,proto3,enum=entities.Cell_Type" json:"type,omitempty"`
72         // Types that are valid to be assigned to Cell:
73         //      *Cell_ServedCellInfo
74         //      *Cell_ServedNrCell
75         Cell                 isCell_Cell `protobuf_oneof:"cell"`
76         XXX_NoUnkeyedLiteral struct{}    `json:"-"`
77         XXX_unrecognized     []byte      `json:"-"`
78         XXX_sizecache        int32       `json:"-"`
79 }
80
81 func (m *Cell) Reset()         { *m = Cell{} }
82 func (m *Cell) String() string { return proto.CompactTextString(m) }
83 func (*Cell) ProtoMessage()    {}
84 func (*Cell) Descriptor() ([]byte, []int) {
85         return fileDescriptor_d2698cf62ebc0420, []int{0}
86 }
87
88 func (m *Cell) XXX_Unmarshal(b []byte) error {
89         return xxx_messageInfo_Cell.Unmarshal(m, b)
90 }
91 func (m *Cell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
92         return xxx_messageInfo_Cell.Marshal(b, m, deterministic)
93 }
94 func (m *Cell) XXX_Merge(src proto.Message) {
95         xxx_messageInfo_Cell.Merge(m, src)
96 }
97 func (m *Cell) XXX_Size() int {
98         return xxx_messageInfo_Cell.Size(m)
99 }
100 func (m *Cell) XXX_DiscardUnknown() {
101         xxx_messageInfo_Cell.DiscardUnknown(m)
102 }
103
104 var xxx_messageInfo_Cell proto.InternalMessageInfo
105
106 func (m *Cell) GetType() Cell_Type {
107         if m != nil {
108                 return m.Type
109         }
110         return Cell_UNKNOWN_CELL
111 }
112
113 type isCell_Cell interface {
114         isCell_Cell()
115 }
116
117 type Cell_ServedCellInfo struct {
118         ServedCellInfo *ServedCellInfo `protobuf:"bytes,2,opt,name=served_cell_info,json=servedCellInfo,proto3,oneof"`
119 }
120
121 type Cell_ServedNrCell struct {
122         ServedNrCell *ServedNRCell `protobuf:"bytes,3,opt,name=served_nr_cell,json=servedNrCell,proto3,oneof"`
123 }
124
125 func (*Cell_ServedCellInfo) isCell_Cell() {}
126
127 func (*Cell_ServedNrCell) isCell_Cell() {}
128
129 func (m *Cell) GetCell() isCell_Cell {
130         if m != nil {
131                 return m.Cell
132         }
133         return nil
134 }
135
136 func (m *Cell) GetServedCellInfo() *ServedCellInfo {
137         if x, ok := m.GetCell().(*Cell_ServedCellInfo); ok {
138                 return x.ServedCellInfo
139         }
140         return nil
141 }
142
143 func (m *Cell) GetServedNrCell() *ServedNRCell {
144         if x, ok := m.GetCell().(*Cell_ServedNrCell); ok {
145                 return x.ServedNrCell
146         }
147         return nil
148 }
149
150 // XXX_OneofWrappers is for the internal use of the proto package.
151 func (*Cell) XXX_OneofWrappers() []interface{} {
152         return []interface{}{
153                 (*Cell_ServedCellInfo)(nil),
154                 (*Cell_ServedNrCell)(nil),
155         }
156 }
157
158 func init() {
159         proto.RegisterEnum("entities.Cell_Type", Cell_Type_name, Cell_Type_value)
160         proto.RegisterType((*Cell)(nil), "entities.Cell")
161 }
162
163 func init() { proto.RegisterFile("cell.proto", fileDescriptor_d2698cf62ebc0420) }
164
165 var fileDescriptor_d2698cf62ebc0420 = []byte{
166         // 226 bytes of a gzipped FileDescriptorProto
167         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0x4e, 0xcd, 0xc9,
168         0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x48, 0xcd, 0x2b, 0xc9, 0x2c, 0xc9, 0x4c, 0x2d,
169         0x96, 0xe2, 0x4c, 0xcf, 0x4b, 0x82, 0x08, 0x4a, 0x71, 0xa6, 0xc2, 0x98, 0x4a, 0x9f, 0x18, 0xb9,
170         0x58, 0x9c, 0x53, 0x73, 0x72, 0x84, 0xd4, 0xb9, 0x58, 0x4a, 0x2a, 0x0b, 0x52, 0x25, 0x18, 0x15,
171         0x18, 0x35, 0xf8, 0x8c, 0x84, 0xf5, 0x60, 0xfa, 0xf4, 0x40, 0xb2, 0x7a, 0x21, 0x95, 0x05, 0xa9,
172         0x41, 0x60, 0x05, 0x42, 0x2e, 0x5c, 0x02, 0xc5, 0xa9, 0x45, 0x65, 0xa9, 0x29, 0xf1, 0x20, 0x6b,
173         0xe2, 0x33, 0xf3, 0xd2, 0xf2, 0x25, 0x98, 0x14, 0x18, 0x35, 0xb8, 0x8d, 0x24, 0x10, 0x9a, 0x82,
174         0xc1, 0x2a, 0x40, 0x5a, 0x3d, 0xf3, 0xd2, 0xf2, 0x3d, 0x18, 0x82, 0xf8, 0x8a, 0x51, 0x44, 0x84,
175         0xec, 0xb8, 0xa0, 0x22, 0xf1, 0x79, 0x45, 0x60, 0x83, 0x24, 0x98, 0xc1, 0x66, 0x88, 0xa1, 0x9b,
176         0xe1, 0x17, 0x04, 0xd2, 0xe3, 0xc1, 0x10, 0xc4, 0x03, 0x51, 0xef, 0x57, 0x04, 0xe2, 0x2b, 0x19,
177         0x73, 0xb1, 0x80, 0xdc, 0x24, 0x24, 0xc0, 0xc5, 0x13, 0xea, 0xe7, 0xed, 0xe7, 0x1f, 0xee, 0x17,
178         0xef, 0xec, 0xea, 0xe3, 0x23, 0xc0, 0x20, 0xc4, 0xc3, 0xc5, 0xe1, 0x13, 0xe2, 0x0a, 0xe1, 0x31,
179         0x0a, 0x71, 0x73, 0xb1, 0xfb, 0x05, 0x41, 0x38, 0x4c, 0x4e, 0x6c, 0x5c, 0x2c, 0x20, 0xab, 0x92,
180         0xd8, 0xc0, 0x7e, 0x37, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x50, 0xb1, 0xc7, 0x12, 0x29, 0x01,
181         0x00, 0x00,
182 }