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