791ffc6caee240ebafc86c2ce049b1ddce9a865a
[ric-plt/nodeb-rnib.git] / entities / nodeb_info.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: nodeb_info.proto
3
4 package entities
5
6 import (
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.
13 var _ = proto.Marshal
14 var _ = fmt.Errorf
15 var _ = 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.
21 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
22
23 type E2ApplicationProtocol int32
24
25 const (
26         E2ApplicationProtocol_UNKNOWN_ASN1_MESSAGE_TYPE E2ApplicationProtocol = 0
27         E2ApplicationProtocol_X2_SETUP_REQUEST          E2ApplicationProtocol = 1
28         E2ApplicationProtocol_ENDC_X2_SETUP_REQUEST     E2ApplicationProtocol = 2
29 )
30
31 var E2ApplicationProtocol_name = map[int32]string{
32         0: "UNKNOWN_ASN1_MESSAGE_TYPE",
33         1: "X2_SETUP_REQUEST",
34         2: "ENDC_X2_SETUP_REQUEST",
35 }
36
37 var E2ApplicationProtocol_value = map[string]int32{
38         "UNKNOWN_ASN1_MESSAGE_TYPE": 0,
39         "X2_SETUP_REQUEST":          1,
40         "ENDC_X2_SETUP_REQUEST":     2,
41 }
42
43 func (x E2ApplicationProtocol) String() string {
44         return proto.EnumName(E2ApplicationProtocol_name, int32(x))
45 }
46
47 func (E2ApplicationProtocol) EnumDescriptor() ([]byte, []int) {
48         return fileDescriptor_04b920976079e56c, []int{0}
49 }
50
51 type ConnectionStatus int32
52
53 const (
54         ConnectionStatus_UNKNOWN_CONNECTION_STATUS ConnectionStatus = 0
55         ConnectionStatus_CONNECTED                 ConnectionStatus = 1
56         ConnectionStatus_DISCONNECTED              ConnectionStatus = 2
57         ConnectionStatus_CONNECTED_SETUP_FAILED    ConnectionStatus = 3
58         ConnectionStatus_CONNECTING                ConnectionStatus = 4
59         ConnectionStatus_SHUTTING_DOWN             ConnectionStatus = 5
60         ConnectionStatus_SHUT_DOWN                 ConnectionStatus = 6
61 )
62
63 var ConnectionStatus_name = map[int32]string{
64         0: "UNKNOWN_CONNECTION_STATUS",
65         1: "CONNECTED",
66         2: "DISCONNECTED",
67         3: "CONNECTED_SETUP_FAILED",
68         4: "CONNECTING",
69         5: "SHUTTING_DOWN",
70         6: "SHUT_DOWN",
71 }
72
73 var ConnectionStatus_value = map[string]int32{
74         "UNKNOWN_CONNECTION_STATUS": 0,
75         "CONNECTED":                 1,
76         "DISCONNECTED":              2,
77         "CONNECTED_SETUP_FAILED":    3,
78         "CONNECTING":                4,
79         "SHUTTING_DOWN":             5,
80         "SHUT_DOWN":                 6,
81 }
82
83 func (x ConnectionStatus) String() string {
84         return proto.EnumName(ConnectionStatus_name, int32(x))
85 }
86
87 func (ConnectionStatus) EnumDescriptor() ([]byte, []int) {
88         return fileDescriptor_04b920976079e56c, []int{1}
89 }
90
91 type Node_Type int32
92
93 const (
94         Node_UNKNOWN Node_Type = 0
95         Node_ENB     Node_Type = 1
96         Node_GNB     Node_Type = 2
97 )
98
99 var Node_Type_name = map[int32]string{
100         0: "UNKNOWN",
101         1: "ENB",
102         2: "GNB",
103 }
104
105 var Node_Type_value = map[string]int32{
106         "UNKNOWN": 0,
107         "ENB":     1,
108         "GNB":     2,
109 }
110
111 func (x Node_Type) String() string {
112         return proto.EnumName(Node_Type_name, int32(x))
113 }
114
115 func (Node_Type) EnumDescriptor() ([]byte, []int) {
116         return fileDescriptor_04b920976079e56c, []int{1, 0}
117 }
118
119 type Failure_Type int32
120
121 const (
122         Failure_UNKNOWN_TYPE          Failure_Type = 0
123         Failure_X2_SETUP_FAILURE      Failure_Type = 1
124         Failure_ENDC_X2_SETUP_FAILURE Failure_Type = 2
125 )
126
127 var Failure_Type_name = map[int32]string{
128         0: "UNKNOWN_TYPE",
129         1: "X2_SETUP_FAILURE",
130         2: "ENDC_X2_SETUP_FAILURE",
131 }
132
133 var Failure_Type_value = map[string]int32{
134         "UNKNOWN_TYPE":          0,
135         "X2_SETUP_FAILURE":      1,
136         "ENDC_X2_SETUP_FAILURE": 2,
137 }
138
139 func (x Failure_Type) String() string {
140         return proto.EnumName(Failure_Type_name, int32(x))
141 }
142
143 func (Failure_Type) EnumDescriptor() ([]byte, []int) {
144         return fileDescriptor_04b920976079e56c, []int{2, 0}
145 }
146
147 type NodebInfo struct {
148         RanName               string                `protobuf:"bytes,1,opt,name=ran_name,json=ranName,proto3" json:"ran_name,omitempty"`
149         Ip                    string                `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
150         Port                  uint32                `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
151         E2ApplicationProtocol E2ApplicationProtocol `protobuf:"varint,4,opt,name=e2_application_protocol,json=e2ApplicationProtocol,proto3,enum=entities.E2ApplicationProtocol" json:"e2_application_protocol,omitempty"`
152         ConnectionStatus      ConnectionStatus      `protobuf:"varint,5,opt,name=connection_status,json=connectionStatus,proto3,enum=entities.ConnectionStatus" json:"connection_status,omitempty"`
153         ConnectionAttempts    uint32                `protobuf:"varint,6,opt,name=connection_attempts,json=connectionAttempts,proto3" json:"connection_attempts,omitempty"`
154         GlobalNbId            *GlobalNbId           `protobuf:"bytes,7,opt,name=global_nb_id,json=globalNbId,proto3" json:"global_nb_id,omitempty"`
155         NodeType              Node_Type             `protobuf:"varint,8,opt,name=node_type,json=nodeType,proto3,enum=entities.Node_Type" json:"node_type,omitempty"`
156         // Types that are valid to be assigned to Configuration:
157         //      *NodebInfo_Enb
158         //      *NodebInfo_Gnb
159         Configuration        isNodebInfo_Configuration `protobuf_oneof:"configuration"`
160         FailureType          Failure_Type              `protobuf:"varint,11,opt,name=failure_type,json=failureType,proto3,enum=entities.Failure_Type" json:"failure_type,omitempty"`
161         SetupFailure         *SetupFailure             `protobuf:"bytes,12,opt,name=setup_failure,json=setupFailure,proto3" json:"setup_failure,omitempty"`
162         XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
163         XXX_unrecognized     []byte                    `json:"-"`
164         XXX_sizecache        int32                     `json:"-"`
165 }
166
167 func (m *NodebInfo) Reset()         { *m = NodebInfo{} }
168 func (m *NodebInfo) String() string { return proto.CompactTextString(m) }
169 func (*NodebInfo) ProtoMessage()    {}
170 func (*NodebInfo) Descriptor() ([]byte, []int) {
171         return fileDescriptor_04b920976079e56c, []int{0}
172 }
173
174 func (m *NodebInfo) XXX_Unmarshal(b []byte) error {
175         return xxx_messageInfo_NodebInfo.Unmarshal(m, b)
176 }
177 func (m *NodebInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
178         return xxx_messageInfo_NodebInfo.Marshal(b, m, deterministic)
179 }
180 func (m *NodebInfo) XXX_Merge(src proto.Message) {
181         xxx_messageInfo_NodebInfo.Merge(m, src)
182 }
183 func (m *NodebInfo) XXX_Size() int {
184         return xxx_messageInfo_NodebInfo.Size(m)
185 }
186 func (m *NodebInfo) XXX_DiscardUnknown() {
187         xxx_messageInfo_NodebInfo.DiscardUnknown(m)
188 }
189
190 var xxx_messageInfo_NodebInfo proto.InternalMessageInfo
191
192 func (m *NodebInfo) GetRanName() string {
193         if m != nil {
194                 return m.RanName
195         }
196         return ""
197 }
198
199 func (m *NodebInfo) GetIp() string {
200         if m != nil {
201                 return m.Ip
202         }
203         return ""
204 }
205
206 func (m *NodebInfo) GetPort() uint32 {
207         if m != nil {
208                 return m.Port
209         }
210         return 0
211 }
212
213 func (m *NodebInfo) GetE2ApplicationProtocol() E2ApplicationProtocol {
214         if m != nil {
215                 return m.E2ApplicationProtocol
216         }
217         return E2ApplicationProtocol_UNKNOWN_ASN1_MESSAGE_TYPE
218 }
219
220 func (m *NodebInfo) GetConnectionStatus() ConnectionStatus {
221         if m != nil {
222                 return m.ConnectionStatus
223         }
224         return ConnectionStatus_UNKNOWN_CONNECTION_STATUS
225 }
226
227 func (m *NodebInfo) GetConnectionAttempts() uint32 {
228         if m != nil {
229                 return m.ConnectionAttempts
230         }
231         return 0
232 }
233
234 func (m *NodebInfo) GetGlobalNbId() *GlobalNbId {
235         if m != nil {
236                 return m.GlobalNbId
237         }
238         return nil
239 }
240
241 func (m *NodebInfo) GetNodeType() Node_Type {
242         if m != nil {
243                 return m.NodeType
244         }
245         return Node_UNKNOWN
246 }
247
248 type isNodebInfo_Configuration interface {
249         isNodebInfo_Configuration()
250 }
251
252 type NodebInfo_Enb struct {
253         Enb *Enb `protobuf:"bytes,9,opt,name=enb,proto3,oneof"`
254 }
255
256 type NodebInfo_Gnb struct {
257         Gnb *Gnb `protobuf:"bytes,10,opt,name=gnb,proto3,oneof"`
258 }
259
260 func (*NodebInfo_Enb) isNodebInfo_Configuration() {}
261
262 func (*NodebInfo_Gnb) isNodebInfo_Configuration() {}
263
264 func (m *NodebInfo) GetConfiguration() isNodebInfo_Configuration {
265         if m != nil {
266                 return m.Configuration
267         }
268         return nil
269 }
270
271 func (m *NodebInfo) GetEnb() *Enb {
272         if x, ok := m.GetConfiguration().(*NodebInfo_Enb); ok {
273                 return x.Enb
274         }
275         return nil
276 }
277
278 func (m *NodebInfo) GetGnb() *Gnb {
279         if x, ok := m.GetConfiguration().(*NodebInfo_Gnb); ok {
280                 return x.Gnb
281         }
282         return nil
283 }
284
285 func (m *NodebInfo) GetFailureType() Failure_Type {
286         if m != nil {
287                 return m.FailureType
288         }
289         return Failure_UNKNOWN_TYPE
290 }
291
292 func (m *NodebInfo) GetSetupFailure() *SetupFailure {
293         if m != nil {
294                 return m.SetupFailure
295         }
296         return nil
297 }
298
299 // XXX_OneofWrappers is for the internal use of the proto package.
300 func (*NodebInfo) XXX_OneofWrappers() []interface{} {
301         return []interface{}{
302                 (*NodebInfo_Enb)(nil),
303                 (*NodebInfo_Gnb)(nil),
304         }
305 }
306
307 type Node struct {
308         XXX_NoUnkeyedLiteral struct{} `json:"-"`
309         XXX_unrecognized     []byte   `json:"-"`
310         XXX_sizecache        int32    `json:"-"`
311 }
312
313 func (m *Node) Reset()         { *m = Node{} }
314 func (m *Node) String() string { return proto.CompactTextString(m) }
315 func (*Node) ProtoMessage()    {}
316 func (*Node) Descriptor() ([]byte, []int) {
317         return fileDescriptor_04b920976079e56c, []int{1}
318 }
319
320 func (m *Node) XXX_Unmarshal(b []byte) error {
321         return xxx_messageInfo_Node.Unmarshal(m, b)
322 }
323 func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
324         return xxx_messageInfo_Node.Marshal(b, m, deterministic)
325 }
326 func (m *Node) XXX_Merge(src proto.Message) {
327         xxx_messageInfo_Node.Merge(m, src)
328 }
329 func (m *Node) XXX_Size() int {
330         return xxx_messageInfo_Node.Size(m)
331 }
332 func (m *Node) XXX_DiscardUnknown() {
333         xxx_messageInfo_Node.DiscardUnknown(m)
334 }
335
336 var xxx_messageInfo_Node proto.InternalMessageInfo
337
338 type Failure struct {
339         XXX_NoUnkeyedLiteral struct{} `json:"-"`
340         XXX_unrecognized     []byte   `json:"-"`
341         XXX_sizecache        int32    `json:"-"`
342 }
343
344 func (m *Failure) Reset()         { *m = Failure{} }
345 func (m *Failure) String() string { return proto.CompactTextString(m) }
346 func (*Failure) ProtoMessage()    {}
347 func (*Failure) Descriptor() ([]byte, []int) {
348         return fileDescriptor_04b920976079e56c, []int{2}
349 }
350
351 func (m *Failure) XXX_Unmarshal(b []byte) error {
352         return xxx_messageInfo_Failure.Unmarshal(m, b)
353 }
354 func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
355         return xxx_messageInfo_Failure.Marshal(b, m, deterministic)
356 }
357 func (m *Failure) XXX_Merge(src proto.Message) {
358         xxx_messageInfo_Failure.Merge(m, src)
359 }
360 func (m *Failure) XXX_Size() int {
361         return xxx_messageInfo_Failure.Size(m)
362 }
363 func (m *Failure) XXX_DiscardUnknown() {
364         xxx_messageInfo_Failure.DiscardUnknown(m)
365 }
366
367 var xxx_messageInfo_Failure proto.InternalMessageInfo
368
369 func init() {
370         proto.RegisterEnum("entities.E2ApplicationProtocol", E2ApplicationProtocol_name, E2ApplicationProtocol_value)
371         proto.RegisterEnum("entities.ConnectionStatus", ConnectionStatus_name, ConnectionStatus_value)
372         proto.RegisterEnum("entities.Node_Type", Node_Type_name, Node_Type_value)
373         proto.RegisterEnum("entities.Failure_Type", Failure_Type_name, Failure_Type_value)
374         proto.RegisterType((*NodebInfo)(nil), "entities.NodebInfo")
375         proto.RegisterType((*Node)(nil), "entities.Node")
376         proto.RegisterType((*Failure)(nil), "entities.Failure")
377 }
378
379 func init() { proto.RegisterFile("nodeb_info.proto", fileDescriptor_04b920976079e56c) }
380
381 var fileDescriptor_04b920976079e56c = []byte{
382         // 613 bytes of a gzipped FileDescriptorProto
383         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0xef, 0x6e, 0xda, 0x3e,
384         0x14, 0x25, 0x81, 0x16, 0x72, 0x81, 0xfe, 0x5c, 0xf7, 0xcf, 0x2f, 0x45, 0x9a, 0xca, 0x90, 0x26,
385         0xa1, 0x4a, 0x63, 0x1b, 0x93, 0x26, 0x4d, 0xfb, 0x44, 0xc1, 0xa5, 0x68, 0x9b, 0xdb, 0x25, 0x41,
386         0xdd, 0x3e, 0x59, 0x09, 0x35, 0x51, 0x24, 0xea, 0x44, 0x89, 0x91, 0xd6, 0xb7, 0xd9, 0x53, 0xed,
387         0x79, 0x26, 0x9b, 0x40, 0x18, 0xe3, 0xdb, 0xf5, 0x39, 0xe7, 0x9e, 0x93, 0x7b, 0xed, 0x00, 0x12,
388         0xf1, 0x23, 0x0f, 0x58, 0x24, 0xe6, 0x71, 0x2f, 0x49, 0x63, 0x19, 0xe3, 0x1a, 0x17, 0x32, 0x92,
389         0x11, 0xcf, 0x5a, 0x56, 0x28, 0x82, 0x15, 0xd8, 0xb2, 0xf8, 0xa6, 0xbc, 0xfc, 0xd9, 0x67, 0x19,
390         0x97, 0xcb, 0x84, 0xcd, 0xfd, 0x68, 0xb1, 0x4c, 0x39, 0x4b, 0x79, 0x96, 0xc4, 0x22, 0xe3, 0xb9,
391         0xe0, 0x58, 0x04, 0x2c, 0x7a, 0xd4, 0x2e, 0xcf, 0x2b, 0xa8, 0xf3, 0xbb, 0x02, 0x16, 0x55, 0x41,
392         0x13, 0x31, 0x8f, 0xf1, 0x05, 0xd4, 0x52, 0x5f, 0x30, 0xe1, 0x3f, 0x71, 0xdb, 0x68, 0x1b, 0x5d,
393         0xcb, 0xa9, 0xa6, 0xbe, 0xa0, 0xfe, 0x13, 0xc7, 0x47, 0x60, 0x46, 0x89, 0x6d, 0x6a, 0xd0, 0x8c,
394         0x12, 0x8c, 0xa1, 0x92, 0xc4, 0xa9, 0xb4, 0xcb, 0x6d, 0xa3, 0xdb, 0x74, 0x74, 0x8d, 0x1f, 0xe0,
395         0x7f, 0xde, 0x67, 0x7e, 0x92, 0x2c, 0xa2, 0x99, 0x2f, 0xa3, 0x58, 0x30, 0x1d, 0x32, 0x8b, 0x17,
396         0x76, 0xa5, 0x6d, 0x74, 0x8f, 0xfa, 0x97, 0xbd, 0xf5, 0x08, 0x3d, 0xd2, 0x1f, 0x14, 0xba, 0xfb,
397         0x5c, 0xe6, 0x9c, 0xf1, 0x7d, 0x30, 0x1e, 0xc3, 0xf1, 0x2c, 0x16, 0x82, 0xcf, 0xb4, 0x69, 0x26,
398         0x7d, 0xb9, 0xcc, 0xec, 0x03, 0x6d, 0xd9, 0x2a, 0x2c, 0x87, 0x1b, 0x89, 0xab, 0x15, 0x0e, 0x9a,
399         0xed, 0x20, 0xf8, 0x0d, 0x9c, 0x6c, 0x19, 0xf9, 0x52, 0xf2, 0xa7, 0x44, 0x66, 0xf6, 0xa1, 0x1e,
400         0x02, 0x17, 0xd4, 0x20, 0x67, 0xf0, 0x07, 0x68, 0x84, 0x8b, 0x38, 0xf0, 0x17, 0x4c, 0xef, 0xce,
401         0xae, 0xb6, 0x8d, 0x6e, 0xbd, 0x7f, 0x5a, 0x84, 0x8e, 0x35, 0x4b, 0x83, 0xc9, 0xa3, 0x03, 0xe1,
402         0xa6, 0xc6, 0x6f, 0xc1, 0x52, 0xf7, 0xc7, 0xe4, 0x73, 0xc2, 0xed, 0x9a, 0xfe, 0xd2, 0x93, 0xa2,
403         0x49, 0x6d, 0xbc, 0xe7, 0x3d, 0x27, 0xdc, 0xa9, 0x29, 0x95, 0xaa, 0xf0, 0x4b, 0x28, 0x73, 0x11,
404         0xd8, 0x96, 0x0e, 0x68, 0x6e, 0x2d, 0x4a, 0x04, 0xb7, 0x25, 0x47, 0x71, 0x4a, 0x12, 0x8a, 0xc0,
405         0x86, 0x5d, 0xc9, 0x78, 0x25, 0x09, 0x45, 0x80, 0x3f, 0x42, 0x63, 0x7d, 0xf9, 0x3a, 0xba, 0xae,
406         0xa3, 0xcf, 0x0b, 0xed, 0xcd, 0x8a, 0x5d, 0xa5, 0xd7, 0x73, 0xad, 0xfe, 0x80, 0x4f, 0xd0, 0xfc,
407         0xeb, 0xf5, 0xd8, 0x0d, 0x9d, 0xb3, 0xd5, 0xeb, 0x2a, 0x3a, 0x37, 0x70, 0x1a, 0xd9, 0xd6, 0xe9,
408         0xfa, 0x3f, 0x68, 0xce, 0x62, 0x31, 0x8f, 0xc2, 0x65, 0xaa, 0xaf, 0xae, 0xf3, 0x1a, 0x2a, 0x6a,
409         0xca, 0xce, 0x2b, 0xa8, 0x68, 0xf7, 0x3a, 0x54, 0xa7, 0xf4, 0x33, 0xbd, 0x7b, 0xa0, 0xa8, 0x84,
410         0xab, 0x50, 0x26, 0xf4, 0x1a, 0x19, 0xaa, 0x18, 0xd3, 0x6b, 0x64, 0x76, 0x3c, 0xa8, 0xe6, 0x56,
411         0x9d, 0x49, 0xde, 0x81, 0xa0, 0x91, 0x77, 0x30, 0xef, 0xc7, 0x3d, 0x41, 0x25, 0x7c, 0x0a, 0xe8,
412         0x7b, 0x9f, 0xb9, 0xc4, 0x9b, 0xde, 0xb3, 0x9b, 0xc1, 0xe4, 0xcb, 0xd4, 0x21, 0xc8, 0xc0, 0x17,
413         0x70, 0x46, 0xe8, 0x68, 0xc8, 0xfe, 0xa1, 0xcc, 0xab, 0x10, 0xce, 0xf6, 0xbe, 0x33, 0xfc, 0x02,
414         0x2e, 0xd6, 0xde, 0x03, 0x97, 0xbe, 0x63, 0x5f, 0x89, 0xeb, 0x0e, 0xc6, 0x64, 0x5f, 0x90, 0x43,
415         0xbe, 0x4d, 0x89, 0xeb, 0xed, 0x0b, 0x5a, 0x53, 0xe6, 0xd5, 0x2f, 0x03, 0xd0, 0xee, 0xf3, 0xdb,
416         0x0e, 0x19, 0xde, 0x51, 0x4a, 0x86, 0xde, 0xe4, 0x8e, 0x32, 0xd7, 0x1b, 0x78, 0x53, 0x17, 0x95,
417         0x70, 0x13, 0xac, 0x1c, 0x26, 0x23, 0x64, 0xa8, 0x71, 0x47, 0x13, 0xb7, 0x40, 0x4c, 0xdc, 0x82,
418         0xf3, 0xcd, 0x71, 0x6b, 0x34, 0x32, 0x42, 0x65, 0x7c, 0x04, 0xb0, 0xf6, 0xa4, 0x63, 0x54, 0xc1,
419         0xc7, 0xd0, 0x74, 0x6f, 0xa7, 0x9e, 0x3a, 0xb1, 0x91, 0x5a, 0xf2, 0x81, 0xf2, 0x57, 0xd0, 0xea,
420         0x78, 0x18, 0x1c, 0xea, 0x7f, 0xf1, 0xfd, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xee, 0xb5,
421         0x94, 0x58, 0x04, 0x00, 0x00,
422 }