blob: 1fac9f3f5e5b30c2b17e8ba3e794738d7b8e67bf [file] [log] [blame]
ss412g286ce412019-07-04 14:00:29 +03001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: nodeb_info.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 ConnectionStatus int32
24
25const (
26 ConnectionStatus_UNKNOWN_CONNECTION_STATUS ConnectionStatus = 0
27 ConnectionStatus_CONNECTED ConnectionStatus = 1
ib565x96ee0082019-08-01 11:57:22 +030028 ConnectionStatus_DISCONNECTED ConnectionStatus = 2
ss412g286ce412019-07-04 14:00:29 +030029 ConnectionStatus_CONNECTED_SETUP_FAILED ConnectionStatus = 3
30 ConnectionStatus_CONNECTING ConnectionStatus = 4
ns019tc4b29bf2019-07-28 17:48:14 +030031 ConnectionStatus_SHUTTING_DOWN ConnectionStatus = 5
32 ConnectionStatus_SHUT_DOWN ConnectionStatus = 6
ss412g286ce412019-07-04 14:00:29 +030033)
34
35var ConnectionStatus_name = map[int32]string{
36 0: "UNKNOWN_CONNECTION_STATUS",
37 1: "CONNECTED",
ib565x96ee0082019-08-01 11:57:22 +030038 2: "DISCONNECTED",
ss412g286ce412019-07-04 14:00:29 +030039 3: "CONNECTED_SETUP_FAILED",
40 4: "CONNECTING",
ns019tc4b29bf2019-07-28 17:48:14 +030041 5: "SHUTTING_DOWN",
42 6: "SHUT_DOWN",
ss412g286ce412019-07-04 14:00:29 +030043}
44
45var ConnectionStatus_value = map[string]int32{
46 "UNKNOWN_CONNECTION_STATUS": 0,
47 "CONNECTED": 1,
ib565x96ee0082019-08-01 11:57:22 +030048 "DISCONNECTED": 2,
ss412g286ce412019-07-04 14:00:29 +030049 "CONNECTED_SETUP_FAILED": 3,
50 "CONNECTING": 4,
ns019tc4b29bf2019-07-28 17:48:14 +030051 "SHUTTING_DOWN": 5,
52 "SHUT_DOWN": 6,
ss412g286ce412019-07-04 14:00:29 +030053}
54
55func (x ConnectionStatus) String() string {
56 return proto.EnumName(ConnectionStatus_name, int32(x))
57}
58
59func (ConnectionStatus) EnumDescriptor() ([]byte, []int) {
60 return fileDescriptor_04b920976079e56c, []int{0}
61}
62
63type Node_Type int32
64
65const (
66 Node_UNKNOWN Node_Type = 0
67 Node_ENB Node_Type = 1
68 Node_GNB Node_Type = 2
69)
70
71var Node_Type_name = map[int32]string{
72 0: "UNKNOWN",
73 1: "ENB",
74 2: "GNB",
75}
76
77var Node_Type_value = map[string]int32{
78 "UNKNOWN": 0,
79 "ENB": 1,
80 "GNB": 2,
81}
82
83func (x Node_Type) String() string {
84 return proto.EnumName(Node_Type_name, int32(x))
85}
86
87func (Node_Type) EnumDescriptor() ([]byte, []int) {
88 return fileDescriptor_04b920976079e56c, []int{1, 0}
89}
90
91type Failure_Type int32
92
93const (
94 Failure_UNKNOWN_TYPE Failure_Type = 0
95 Failure_X2_SETUP_FAILURE Failure_Type = 1
96 Failure_ENDC_X2_SETUP_FAILURE Failure_Type = 2
97)
98
99var Failure_Type_name = map[int32]string{
100 0: "UNKNOWN_TYPE",
101 1: "X2_SETUP_FAILURE",
102 2: "ENDC_X2_SETUP_FAILURE",
103}
104
105var Failure_Type_value = map[string]int32{
106 "UNKNOWN_TYPE": 0,
107 "X2_SETUP_FAILURE": 1,
108 "ENDC_X2_SETUP_FAILURE": 2,
109}
110
111func (x Failure_Type) String() string {
112 return proto.EnumName(Failure_Type_name, int32(x))
113}
114
115func (Failure_Type) EnumDescriptor() ([]byte, []int) {
116 return fileDescriptor_04b920976079e56c, []int{2, 0}
117}
118
119type NodebInfo struct {
120 RanName string `protobuf:"bytes,1,opt,name=ran_name,json=ranName,proto3" json:"ran_name,omitempty"`
121 Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
122 Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
123 ConnectionStatus ConnectionStatus `protobuf:"varint,4,opt,name=connection_status,json=connectionStatus,proto3,enum=entities.ConnectionStatus" json:"connection_status,omitempty"`
124 GlobalNbId *GlobalNbId `protobuf:"bytes,5,opt,name=global_nb_id,json=globalNbId,proto3" json:"global_nb_id,omitempty"`
125 NodeType Node_Type `protobuf:"varint,6,opt,name=node_type,json=nodeType,proto3,enum=entities.Node_Type" json:"node_type,omitempty"`
126 // Types that are valid to be assigned to Configuration:
127 // *NodebInfo_Enb
128 // *NodebInfo_Gnb
129 Configuration isNodebInfo_Configuration `protobuf_oneof:"configuration"`
130 FailureType Failure_Type `protobuf:"varint,9,opt,name=failure_type,json=failureType,proto3,enum=entities.Failure_Type" json:"failure_type,omitempty"`
131 SetupFailure *SetupFailure `protobuf:"bytes,10,opt,name=setup_failure,json=setupFailure,proto3" json:"setup_failure,omitempty"`
132 XXX_NoUnkeyedLiteral struct{} `json:"-"`
133 XXX_unrecognized []byte `json:"-"`
134 XXX_sizecache int32 `json:"-"`
135}
136
137func (m *NodebInfo) Reset() { *m = NodebInfo{} }
138func (m *NodebInfo) String() string { return proto.CompactTextString(m) }
139func (*NodebInfo) ProtoMessage() {}
140func (*NodebInfo) Descriptor() ([]byte, []int) {
141 return fileDescriptor_04b920976079e56c, []int{0}
142}
143
144func (m *NodebInfo) XXX_Unmarshal(b []byte) error {
145 return xxx_messageInfo_NodebInfo.Unmarshal(m, b)
146}
147func (m *NodebInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
148 return xxx_messageInfo_NodebInfo.Marshal(b, m, deterministic)
149}
150func (m *NodebInfo) XXX_Merge(src proto.Message) {
151 xxx_messageInfo_NodebInfo.Merge(m, src)
152}
153func (m *NodebInfo) XXX_Size() int {
154 return xxx_messageInfo_NodebInfo.Size(m)
155}
156func (m *NodebInfo) XXX_DiscardUnknown() {
157 xxx_messageInfo_NodebInfo.DiscardUnknown(m)
158}
159
160var xxx_messageInfo_NodebInfo proto.InternalMessageInfo
161
162func (m *NodebInfo) GetRanName() string {
163 if m != nil {
164 return m.RanName
165 }
166 return ""
167}
168
169func (m *NodebInfo) GetIp() string {
170 if m != nil {
171 return m.Ip
172 }
173 return ""
174}
175
176func (m *NodebInfo) GetPort() uint32 {
177 if m != nil {
178 return m.Port
179 }
180 return 0
181}
182
183func (m *NodebInfo) GetConnectionStatus() ConnectionStatus {
184 if m != nil {
185 return m.ConnectionStatus
186 }
187 return ConnectionStatus_UNKNOWN_CONNECTION_STATUS
188}
189
190func (m *NodebInfo) GetGlobalNbId() *GlobalNbId {
191 if m != nil {
192 return m.GlobalNbId
193 }
194 return nil
195}
196
197func (m *NodebInfo) GetNodeType() Node_Type {
198 if m != nil {
199 return m.NodeType
200 }
201 return Node_UNKNOWN
202}
203
204type isNodebInfo_Configuration interface {
205 isNodebInfo_Configuration()
206}
207
208type NodebInfo_Enb struct {
209 Enb *Enb `protobuf:"bytes,7,opt,name=enb,proto3,oneof"`
210}
211
212type NodebInfo_Gnb struct {
213 Gnb *Gnb `protobuf:"bytes,8,opt,name=gnb,proto3,oneof"`
214}
215
216func (*NodebInfo_Enb) isNodebInfo_Configuration() {}
217
218func (*NodebInfo_Gnb) isNodebInfo_Configuration() {}
219
220func (m *NodebInfo) GetConfiguration() isNodebInfo_Configuration {
221 if m != nil {
222 return m.Configuration
223 }
224 return nil
225}
226
227func (m *NodebInfo) GetEnb() *Enb {
228 if x, ok := m.GetConfiguration().(*NodebInfo_Enb); ok {
229 return x.Enb
230 }
231 return nil
232}
233
234func (m *NodebInfo) GetGnb() *Gnb {
235 if x, ok := m.GetConfiguration().(*NodebInfo_Gnb); ok {
236 return x.Gnb
237 }
238 return nil
239}
240
241func (m *NodebInfo) GetFailureType() Failure_Type {
242 if m != nil {
243 return m.FailureType
244 }
245 return Failure_UNKNOWN_TYPE
246}
247
248func (m *NodebInfo) GetSetupFailure() *SetupFailure {
249 if m != nil {
250 return m.SetupFailure
251 }
252 return nil
253}
254
255// XXX_OneofWrappers is for the internal use of the proto package.
256func (*NodebInfo) XXX_OneofWrappers() []interface{} {
257 return []interface{}{
258 (*NodebInfo_Enb)(nil),
259 (*NodebInfo_Gnb)(nil),
260 }
261}
262
263type Node struct {
264 XXX_NoUnkeyedLiteral struct{} `json:"-"`
265 XXX_unrecognized []byte `json:"-"`
266 XXX_sizecache int32 `json:"-"`
267}
268
269func (m *Node) Reset() { *m = Node{} }
270func (m *Node) String() string { return proto.CompactTextString(m) }
271func (*Node) ProtoMessage() {}
272func (*Node) Descriptor() ([]byte, []int) {
273 return fileDescriptor_04b920976079e56c, []int{1}
274}
275
276func (m *Node) XXX_Unmarshal(b []byte) error {
277 return xxx_messageInfo_Node.Unmarshal(m, b)
278}
279func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
280 return xxx_messageInfo_Node.Marshal(b, m, deterministic)
281}
282func (m *Node) XXX_Merge(src proto.Message) {
283 xxx_messageInfo_Node.Merge(m, src)
284}
285func (m *Node) XXX_Size() int {
286 return xxx_messageInfo_Node.Size(m)
287}
288func (m *Node) XXX_DiscardUnknown() {
289 xxx_messageInfo_Node.DiscardUnknown(m)
290}
291
292var xxx_messageInfo_Node proto.InternalMessageInfo
293
294type Failure struct {
295 XXX_NoUnkeyedLiteral struct{} `json:"-"`
296 XXX_unrecognized []byte `json:"-"`
297 XXX_sizecache int32 `json:"-"`
298}
299
300func (m *Failure) Reset() { *m = Failure{} }
301func (m *Failure) String() string { return proto.CompactTextString(m) }
302func (*Failure) ProtoMessage() {}
303func (*Failure) Descriptor() ([]byte, []int) {
304 return fileDescriptor_04b920976079e56c, []int{2}
305}
306
307func (m *Failure) XXX_Unmarshal(b []byte) error {
308 return xxx_messageInfo_Failure.Unmarshal(m, b)
309}
310func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
311 return xxx_messageInfo_Failure.Marshal(b, m, deterministic)
312}
313func (m *Failure) XXX_Merge(src proto.Message) {
314 xxx_messageInfo_Failure.Merge(m, src)
315}
316func (m *Failure) XXX_Size() int {
317 return xxx_messageInfo_Failure.Size(m)
318}
319func (m *Failure) XXX_DiscardUnknown() {
320 xxx_messageInfo_Failure.DiscardUnknown(m)
321}
322
323var xxx_messageInfo_Failure proto.InternalMessageInfo
324
325func init() {
326 proto.RegisterEnum("entities.ConnectionStatus", ConnectionStatus_name, ConnectionStatus_value)
327 proto.RegisterEnum("entities.Node_Type", Node_Type_name, Node_Type_value)
328 proto.RegisterEnum("entities.Failure_Type", Failure_Type_name, Failure_Type_value)
329 proto.RegisterType((*NodebInfo)(nil), "entities.NodebInfo")
330 proto.RegisterType((*Node)(nil), "entities.Node")
331 proto.RegisterType((*Failure)(nil), "entities.Failure")
332}
333
334func init() { proto.RegisterFile("nodeb_info.proto", fileDescriptor_04b920976079e56c) }
335
336var fileDescriptor_04b920976079e56c = []byte{
ns019tc4b29bf2019-07-28 17:48:14 +0300337 // 524 bytes of a gzipped FileDescriptorProto
338 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0x61, 0x8b, 0xda, 0x4c,
339 0x10, 0x36, 0xd1, 0x53, 0x33, 0x1a, 0xdf, 0x75, 0xdf, 0xeb, 0x11, 0x85, 0x52, 0x2b, 0x14, 0xa4,
340 0x50, 0x29, 0x16, 0x0a, 0xa5, 0x9f, 0x4e, 0xcd, 0x79, 0xd2, 0xb2, 0x1e, 0x49, 0xa4, 0xed, 0xa7,
341 0x25, 0xd1, 0x35, 0x04, 0xbc, 0xdd, 0x90, 0x44, 0xa8, 0x3f, 0xa7, 0xff, 0xa7, 0x3f, 0xaa, 0xec,
342 0x26, 0x1a, 0x6b, 0xbf, 0xcd, 0x3c, 0xf3, 0xcc, 0xf3, 0xcc, 0xcc, 0x2e, 0x20, 0x2e, 0xb6, 0x2c,
343 0xa0, 0x11, 0xdf, 0x89, 0x71, 0x9c, 0x88, 0x4c, 0xe0, 0x26, 0xe3, 0x59, 0x94, 0x45, 0x2c, 0xed,
344 0x1b, 0x21, 0x0f, 0x72, 0xb0, 0x6f, 0xb0, 0x73, 0xf8, 0xea, 0xe7, 0x84, 0xa6, 0x2c, 0x3b, 0xc4,
345 0x74, 0xe7, 0x47, 0xfb, 0x43, 0xc2, 0x68, 0xc2, 0xd2, 0x58, 0xf0, 0x94, 0x15, 0x84, 0x2e, 0x0f,
346 0x68, 0xb4, 0x55, 0x2a, 0xc7, 0x1c, 0x1a, 0xfe, 0xae, 0x82, 0x41, 0xa4, 0xd1, 0x92, 0xef, 0x04,
347 0xee, 0x41, 0x33, 0xf1, 0x39, 0xe5, 0xfe, 0x33, 0xb3, 0xb4, 0x81, 0x36, 0x32, 0x9c, 0x46, 0xe2,
348 0x73, 0xe2, 0x3f, 0x33, 0xdc, 0x01, 0x3d, 0x8a, 0x2d, 0x5d, 0x81, 0x7a, 0x14, 0x63, 0x0c, 0xb5,
349 0x58, 0x24, 0x99, 0x55, 0x1d, 0x68, 0x23, 0xd3, 0x51, 0x31, 0x5e, 0x40, 0x77, 0x23, 0x38, 0x67,
350 0x9b, 0x2c, 0x12, 0x9c, 0xa6, 0x99, 0x9f, 0x1d, 0x52, 0xab, 0x36, 0xd0, 0x46, 0x9d, 0x49, 0x7f,
351 0x7c, 0x1a, 0x7e, 0x3c, 0x3b, 0x53, 0x5c, 0xc5, 0x70, 0xd0, 0xe6, 0x0a, 0xc1, 0x1f, 0xa1, 0x1d,
352 0xee, 0x45, 0xe0, 0xef, 0xa9, 0x9a, 0xd8, 0xba, 0x19, 0x68, 0xa3, 0xd6, 0xe4, 0xb6, 0xd4, 0x58,
353 0xa8, 0x2a, 0x09, 0x96, 0x5b, 0x07, 0xc2, 0x73, 0x8c, 0xdf, 0x83, 0x21, 0xaf, 0x46, 0xb3, 0x63,
354 0xcc, 0xac, 0x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 0xf8, 0x25, 0xf4, 0x4e, 0xba, 0xb3, 0x15, 0x21, 0xf6, 0xcc, 0x5b,
366 0xae, 0x08, 0x75, 0xbd, 0x7b, 0x6f, 0xed, 0xa2, 0x0a, 0x36, 0xc1, 0x28, 0x60, 0x7b, 0x8e, 0x34,
367 0xdc, 0x05, 0x93, 0xac, 0x3c, 0x5a, 0x42, 0x3a, 0xee, 0xc3, 0xdd, 0x39, 0xbd, 0xb0, 0xb4, 0xe7,
368 0xa8, 0x8a, 0x3b, 0x00, 0x27, 0x51, 0xb2, 0x40, 0x35, 0xd9, 0xee, 0x3e, 0xae, 0x3d, 0x99, 0xd1,
369 0xb9, 0x5c, 0xfe, 0x46, 0x1a, 0x48, 0x28, 0x4f, 0xeb, 0x41, 0x5d, 0x7d, 0xff, 0x0f, 0x7f, 0x02,
370 0x00, 0x00, 0xff, 0xff, 0x8f, 0xc0, 0x7c, 0xcd, 0x66, 0x03, 0x00, 0x00,
ss412g286ce412019-07-04 14:00:29 +0300371}