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