Fix ran_load_information proto
[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 ConnectionStatus int32
24
25 const (
26         ConnectionStatus_UNKNOWN_CONNECTION_STATUS ConnectionStatus = 0
27         ConnectionStatus_CONNECTED                 ConnectionStatus = 1
28         ConnectionStatus_DISCONNECTED             ConnectionStatus = 2
29         ConnectionStatus_CONNECTED_SETUP_FAILED    ConnectionStatus = 3
30         ConnectionStatus_CONNECTING                ConnectionStatus = 4
31         ConnectionStatus_SHUTTING_DOWN             ConnectionStatus = 5
32         ConnectionStatus_SHUT_DOWN                 ConnectionStatus = 6
33 )
34
35 var ConnectionStatus_name = map[int32]string{
36         0: "UNKNOWN_CONNECTION_STATUS",
37         1: "CONNECTED",
38         2: "DISCONNECTED",
39         3: "CONNECTED_SETUP_FAILED",
40         4: "CONNECTING",
41         5: "SHUTTING_DOWN",
42         6: "SHUT_DOWN",
43 }
44
45 var ConnectionStatus_value = map[string]int32{
46         "UNKNOWN_CONNECTION_STATUS": 0,
47         "CONNECTED":                 1,
48         "DISCONNECTED":              2,
49         "CONNECTED_SETUP_FAILED":    3,
50         "CONNECTING":                4,
51         "SHUTTING_DOWN":             5,
52         "SHUT_DOWN":                 6,
53 }
54
55 func (x ConnectionStatus) String() string {
56         return proto.EnumName(ConnectionStatus_name, int32(x))
57 }
58
59 func (ConnectionStatus) EnumDescriptor() ([]byte, []int) {
60         return fileDescriptor_04b920976079e56c, []int{0}
61 }
62
63 type Node_Type int32
64
65 const (
66         Node_UNKNOWN Node_Type = 0
67         Node_ENB     Node_Type = 1
68         Node_GNB     Node_Type = 2
69 )
70
71 var Node_Type_name = map[int32]string{
72         0: "UNKNOWN",
73         1: "ENB",
74         2: "GNB",
75 }
76
77 var Node_Type_value = map[string]int32{
78         "UNKNOWN": 0,
79         "ENB":     1,
80         "GNB":     2,
81 }
82
83 func (x Node_Type) String() string {
84         return proto.EnumName(Node_Type_name, int32(x))
85 }
86
87 func (Node_Type) EnumDescriptor() ([]byte, []int) {
88         return fileDescriptor_04b920976079e56c, []int{1, 0}
89 }
90
91 type Failure_Type int32
92
93 const (
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
99 var Failure_Type_name = map[int32]string{
100         0: "UNKNOWN_TYPE",
101         1: "X2_SETUP_FAILURE",
102         2: "ENDC_X2_SETUP_FAILURE",
103 }
104
105 var Failure_Type_value = map[string]int32{
106         "UNKNOWN_TYPE":          0,
107         "X2_SETUP_FAILURE":      1,
108         "ENDC_X2_SETUP_FAILURE": 2,
109 }
110
111 func (x Failure_Type) String() string {
112         return proto.EnumName(Failure_Type_name, int32(x))
113 }
114
115 func (Failure_Type) EnumDescriptor() ([]byte, []int) {
116         return fileDescriptor_04b920976079e56c, []int{2, 0}
117 }
118
119 type 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
137 func (m *NodebInfo) Reset()         { *m = NodebInfo{} }
138 func (m *NodebInfo) String() string { return proto.CompactTextString(m) }
139 func (*NodebInfo) ProtoMessage()    {}
140 func (*NodebInfo) Descriptor() ([]byte, []int) {
141         return fileDescriptor_04b920976079e56c, []int{0}
142 }
143
144 func (m *NodebInfo) XXX_Unmarshal(b []byte) error {
145         return xxx_messageInfo_NodebInfo.Unmarshal(m, b)
146 }
147 func (m *NodebInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
148         return xxx_messageInfo_NodebInfo.Marshal(b, m, deterministic)
149 }
150 func (m *NodebInfo) XXX_Merge(src proto.Message) {
151         xxx_messageInfo_NodebInfo.Merge(m, src)
152 }
153 func (m *NodebInfo) XXX_Size() int {
154         return xxx_messageInfo_NodebInfo.Size(m)
155 }
156 func (m *NodebInfo) XXX_DiscardUnknown() {
157         xxx_messageInfo_NodebInfo.DiscardUnknown(m)
158 }
159
160 var xxx_messageInfo_NodebInfo proto.InternalMessageInfo
161
162 func (m *NodebInfo) GetRanName() string {
163         if m != nil {
164                 return m.RanName
165         }
166         return ""
167 }
168
169 func (m *NodebInfo) GetIp() string {
170         if m != nil {
171                 return m.Ip
172         }
173         return ""
174 }
175
176 func (m *NodebInfo) GetPort() uint32 {
177         if m != nil {
178                 return m.Port
179         }
180         return 0
181 }
182
183 func (m *NodebInfo) GetConnectionStatus() ConnectionStatus {
184         if m != nil {
185                 return m.ConnectionStatus
186         }
187         return ConnectionStatus_UNKNOWN_CONNECTION_STATUS
188 }
189
190 func (m *NodebInfo) GetGlobalNbId() *GlobalNbId {
191         if m != nil {
192                 return m.GlobalNbId
193         }
194         return nil
195 }
196
197 func (m *NodebInfo) GetNodeType() Node_Type {
198         if m != nil {
199                 return m.NodeType
200         }
201         return Node_UNKNOWN
202 }
203
204 type isNodebInfo_Configuration interface {
205         isNodebInfo_Configuration()
206 }
207
208 type NodebInfo_Enb struct {
209         Enb *Enb `protobuf:"bytes,7,opt,name=enb,proto3,oneof"`
210 }
211
212 type NodebInfo_Gnb struct {
213         Gnb *Gnb `protobuf:"bytes,8,opt,name=gnb,proto3,oneof"`
214 }
215
216 func (*NodebInfo_Enb) isNodebInfo_Configuration() {}
217
218 func (*NodebInfo_Gnb) isNodebInfo_Configuration() {}
219
220 func (m *NodebInfo) GetConfiguration() isNodebInfo_Configuration {
221         if m != nil {
222                 return m.Configuration
223         }
224         return nil
225 }
226
227 func (m *NodebInfo) GetEnb() *Enb {
228         if x, ok := m.GetConfiguration().(*NodebInfo_Enb); ok {
229                 return x.Enb
230         }
231         return nil
232 }
233
234 func (m *NodebInfo) GetGnb() *Gnb {
235         if x, ok := m.GetConfiguration().(*NodebInfo_Gnb); ok {
236                 return x.Gnb
237         }
238         return nil
239 }
240
241 func (m *NodebInfo) GetFailureType() Failure_Type {
242         if m != nil {
243                 return m.FailureType
244         }
245         return Failure_UNKNOWN_TYPE
246 }
247
248 func (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.
256 func (*NodebInfo) XXX_OneofWrappers() []interface{} {
257         return []interface{}{
258                 (*NodebInfo_Enb)(nil),
259                 (*NodebInfo_Gnb)(nil),
260         }
261 }
262
263 type Node struct {
264         XXX_NoUnkeyedLiteral struct{} `json:"-"`
265         XXX_unrecognized     []byte   `json:"-"`
266         XXX_sizecache        int32    `json:"-"`
267 }
268
269 func (m *Node) Reset()         { *m = Node{} }
270 func (m *Node) String() string { return proto.CompactTextString(m) }
271 func (*Node) ProtoMessage()    {}
272 func (*Node) Descriptor() ([]byte, []int) {
273         return fileDescriptor_04b920976079e56c, []int{1}
274 }
275
276 func (m *Node) XXX_Unmarshal(b []byte) error {
277         return xxx_messageInfo_Node.Unmarshal(m, b)
278 }
279 func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
280         return xxx_messageInfo_Node.Marshal(b, m, deterministic)
281 }
282 func (m *Node) XXX_Merge(src proto.Message) {
283         xxx_messageInfo_Node.Merge(m, src)
284 }
285 func (m *Node) XXX_Size() int {
286         return xxx_messageInfo_Node.Size(m)
287 }
288 func (m *Node) XXX_DiscardUnknown() {
289         xxx_messageInfo_Node.DiscardUnknown(m)
290 }
291
292 var xxx_messageInfo_Node proto.InternalMessageInfo
293
294 type Failure struct {
295         XXX_NoUnkeyedLiteral struct{} `json:"-"`
296         XXX_unrecognized     []byte   `json:"-"`
297         XXX_sizecache        int32    `json:"-"`
298 }
299
300 func (m *Failure) Reset()         { *m = Failure{} }
301 func (m *Failure) String() string { return proto.CompactTextString(m) }
302 func (*Failure) ProtoMessage()    {}
303 func (*Failure) Descriptor() ([]byte, []int) {
304         return fileDescriptor_04b920976079e56c, []int{2}
305 }
306
307 func (m *Failure) XXX_Unmarshal(b []byte) error {
308         return xxx_messageInfo_Failure.Unmarshal(m, b)
309 }
310 func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
311         return xxx_messageInfo_Failure.Marshal(b, m, deterministic)
312 }
313 func (m *Failure) XXX_Merge(src proto.Message) {
314         xxx_messageInfo_Failure.Merge(m, src)
315 }
316 func (m *Failure) XXX_Size() int {
317         return xxx_messageInfo_Failure.Size(m)
318 }
319 func (m *Failure) XXX_DiscardUnknown() {
320         xxx_messageInfo_Failure.DiscardUnknown(m)
321 }
322
323 var xxx_messageInfo_Failure proto.InternalMessageInfo
324
325 func 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
334 func init() { proto.RegisterFile("nodeb_info.proto", fileDescriptor_04b920976079e56c) }
335
336 var fileDescriptor_04b920976079e56c = []byte{
337         // 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, 0xba, 0x32, 0xfe, 0xbf, 0x6c, 0x92, 0x7b, 0x8e, 0xbd, 0x63, 0xcc, 0x9c, 0xa6, 0x64,
355         0xc9, 0x08, 0xbf, 0x86, 0x2a, 0xe3, 0x81, 0xd5, 0x50, 0x06, 0x66, 0xc9, 0xb5, 0x79, 0xf0, 0x58,
356         0x71, 0x64, 0x4d, 0x52, 0x42, 0x1e, 0x58, 0xcd, 0x6b, 0xca, 0x22, 0xa7, 0x84, 0x3c, 0xc0, 0x9f,
357         0xa0, 0x7d, 0x3a, 0xb9, 0xb2, 0x36, 0x94, 0xf5, 0x5d, 0xc9, 0x7d, 0xc8, 0xab, 0xb9, 0x7b, 0xab,
358         0xe0, 0xaa, 0x01, 0x3e, 0x83, 0xf9, 0xd7, 0x9b, 0x59, 0xa0, 0x7c, 0x2e, 0x7a, 0x5d, 0x59, 0x2e,
359         0x04, 0x9c, 0x76, 0x7a, 0x91, 0x4d, 0xff, 0x03, 0x73, 0x23, 0xf8, 0x2e, 0x0a, 0x0f, 0x89, 0x2f,
360         0xcf, 0x37, 0x7c, 0x07, 0x35, 0xb9, 0xe5, 0xf0, 0x0d, 0xd4, 0x94, 0x7a, 0x0b, 0x1a, 0x6b, 0xf2,
361         0x85, 0xac, 0xbe, 0x11, 0x54, 0xc1, 0x0d, 0xa8, 0xda, 0x64, 0x8a, 0x34, 0x19, 0x2c, 0xc8, 0x14,
362         0xe9, 0x43, 0x0f, 0x1a, 0x85, 0xd4, 0x70, 0x59, 0x74, 0x20, 0x68, 0x17, 0x1d, 0xd4, 0xfb, 0xf1,
363         0x64, 0xa3, 0x0a, 0xbe, 0x05, 0xf4, 0x7d, 0x42, 0x5d, 0xdb, 0x5b, 0x3f, 0xd1, 0x87, 0xfb, 0xe5,
364         0xd7, 0xb5, 0x63, 0x23, 0x0d, 0xf7, 0xe0, 0x85, 0x4d, 0xe6, 0x33, 0xfa, 0x4f, 0x49, 0x7f, 0xfb,
365         0x4b, 0x03, 0x74, 0xfd, 0xc8, 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,
371 }