2 // Copyright 2019 AT&T Intellectual Property
3 // Copyright 2019 Nokia
5 // Licensed under the Apache License, Version 2.0 (the "License");
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
17 // Code generated by protoc-gen-go. DO NOT EDIT.
18 // source: nodeb_info.proto
24 proto "github.com/golang/protobuf/proto"
28 // Reference imports to suppress errors if they are not otherwise used.
33 // This is a compile-time assertion to ensure that this generated file
34 // is compatible with the proto package it is being compiled against.
35 // A compilation error at this line likely means your copy of the
36 // proto package needs to be updated.
37 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
39 type E2ApplicationProtocol int32
42 E2ApplicationProtocol_UNKNOWN_E2_APPLICATION_PROTOCOL E2ApplicationProtocol = 0
43 E2ApplicationProtocol_X2_SETUP_REQUEST E2ApplicationProtocol = 1
44 E2ApplicationProtocol_ENDC_X2_SETUP_REQUEST E2ApplicationProtocol = 2
47 var E2ApplicationProtocol_name = map[int32]string{
48 0: "UNKNOWN_E2_APPLICATION_PROTOCOL",
49 1: "X2_SETUP_REQUEST",
50 2: "ENDC_X2_SETUP_REQUEST",
53 var E2ApplicationProtocol_value = map[string]int32{
54 "UNKNOWN_E2_APPLICATION_PROTOCOL": 0,
55 "X2_SETUP_REQUEST": 1,
56 "ENDC_X2_SETUP_REQUEST": 2,
59 func (x E2ApplicationProtocol) String() string {
60 return proto.EnumName(E2ApplicationProtocol_name, int32(x))
63 func (E2ApplicationProtocol) EnumDescriptor() ([]byte, []int) {
64 return fileDescriptor_04b920976079e56c, []int{0}
67 type ConnectionStatus int32
70 ConnectionStatus_UNKNOWN_CONNECTION_STATUS ConnectionStatus = 0
71 ConnectionStatus_CONNECTED ConnectionStatus = 1
72 ConnectionStatus_DISCONNECTED ConnectionStatus = 2
73 ConnectionStatus_CONNECTED_SETUP_FAILED ConnectionStatus = 3
74 ConnectionStatus_CONNECTING ConnectionStatus = 4
75 ConnectionStatus_SHUTTING_DOWN ConnectionStatus = 5
76 ConnectionStatus_SHUT_DOWN ConnectionStatus = 6
79 var ConnectionStatus_name = map[int32]string{
80 0: "UNKNOWN_CONNECTION_STATUS",
83 3: "CONNECTED_SETUP_FAILED",
89 var ConnectionStatus_value = map[string]int32{
90 "UNKNOWN_CONNECTION_STATUS": 0,
93 "CONNECTED_SETUP_FAILED": 3,
99 func (x ConnectionStatus) String() string {
100 return proto.EnumName(ConnectionStatus_name, int32(x))
103 func (ConnectionStatus) EnumDescriptor() ([]byte, []int) {
104 return fileDescriptor_04b920976079e56c, []int{1}
110 Node_UNKNOWN Node_Type = 0
111 Node_ENB Node_Type = 1
112 Node_GNB Node_Type = 2
115 var Node_Type_name = map[int32]string{
121 var Node_Type_value = map[string]int32{
127 func (x Node_Type) String() string {
128 return proto.EnumName(Node_Type_name, int32(x))
131 func (Node_Type) EnumDescriptor() ([]byte, []int) {
132 return fileDescriptor_04b920976079e56c, []int{1, 0}
135 type Failure_Type int32
138 Failure_UNKNOWN_TYPE Failure_Type = 0
139 Failure_X2_SETUP_FAILURE Failure_Type = 1
140 Failure_ENDC_X2_SETUP_FAILURE Failure_Type = 2
143 var Failure_Type_name = map[int32]string{
145 1: "X2_SETUP_FAILURE",
146 2: "ENDC_X2_SETUP_FAILURE",
149 var Failure_Type_value = map[string]int32{
151 "X2_SETUP_FAILURE": 1,
152 "ENDC_X2_SETUP_FAILURE": 2,
155 func (x Failure_Type) String() string {
156 return proto.EnumName(Failure_Type_name, int32(x))
159 func (Failure_Type) EnumDescriptor() ([]byte, []int) {
160 return fileDescriptor_04b920976079e56c, []int{2, 0}
163 type NodebInfo struct {
164 RanName string `protobuf:"bytes,1,opt,name=ran_name,json=ranName,proto3" json:"ran_name,omitempty"`
165 Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
166 Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
167 E2ApplicationProtocol E2ApplicationProtocol `protobuf:"varint,4,opt,name=e2_application_protocol,json=e2ApplicationProtocol,proto3,enum=entities.E2ApplicationProtocol" json:"e2_application_protocol,omitempty"`
168 ConnectionStatus ConnectionStatus `protobuf:"varint,5,opt,name=connection_status,json=connectionStatus,proto3,enum=entities.ConnectionStatus" json:"connection_status,omitempty"`
169 ConnectionAttempts uint32 `protobuf:"varint,6,opt,name=connection_attempts,json=connectionAttempts,proto3" json:"connection_attempts,omitempty"`
170 GlobalNbId *GlobalNbId `protobuf:"bytes,7,opt,name=global_nb_id,json=globalNbId,proto3" json:"global_nb_id,omitempty"`
171 NodeType Node_Type `protobuf:"varint,8,opt,name=node_type,json=nodeType,proto3,enum=entities.Node_Type" json:"node_type,omitempty"`
172 // Types that are valid to be assigned to Configuration:
175 Configuration isNodebInfo_Configuration `protobuf_oneof:"configuration"`
176 FailureType Failure_Type `protobuf:"varint,11,opt,name=failure_type,json=failureType,proto3,enum=entities.Failure_Type" json:"failure_type,omitempty"`
177 SetupFailure *SetupFailure `protobuf:"bytes,12,opt,name=setup_failure,json=setupFailure,proto3" json:"setup_failure,omitempty"`
178 XXX_NoUnkeyedLiteral struct{} `json:"-"`
179 XXX_unrecognized []byte `json:"-"`
180 XXX_sizecache int32 `json:"-"`
183 func (m *NodebInfo) Reset() { *m = NodebInfo{} }
184 func (m *NodebInfo) String() string { return proto.CompactTextString(m) }
185 func (*NodebInfo) ProtoMessage() {}
186 func (*NodebInfo) Descriptor() ([]byte, []int) {
187 return fileDescriptor_04b920976079e56c, []int{0}
190 func (m *NodebInfo) XXX_Unmarshal(b []byte) error {
191 return xxx_messageInfo_NodebInfo.Unmarshal(m, b)
193 func (m *NodebInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
194 return xxx_messageInfo_NodebInfo.Marshal(b, m, deterministic)
196 func (m *NodebInfo) XXX_Merge(src proto.Message) {
197 xxx_messageInfo_NodebInfo.Merge(m, src)
199 func (m *NodebInfo) XXX_Size() int {
200 return xxx_messageInfo_NodebInfo.Size(m)
202 func (m *NodebInfo) XXX_DiscardUnknown() {
203 xxx_messageInfo_NodebInfo.DiscardUnknown(m)
206 var xxx_messageInfo_NodebInfo proto.InternalMessageInfo
208 func (m *NodebInfo) GetRanName() string {
215 func (m *NodebInfo) GetIp() string {
222 func (m *NodebInfo) GetPort() uint32 {
229 func (m *NodebInfo) GetE2ApplicationProtocol() E2ApplicationProtocol {
231 return m.E2ApplicationProtocol
233 return E2ApplicationProtocol_UNKNOWN_E2_APPLICATION_PROTOCOL
236 func (m *NodebInfo) GetConnectionStatus() ConnectionStatus {
238 return m.ConnectionStatus
240 return ConnectionStatus_UNKNOWN_CONNECTION_STATUS
243 func (m *NodebInfo) GetConnectionAttempts() uint32 {
245 return m.ConnectionAttempts
250 func (m *NodebInfo) GetGlobalNbId() *GlobalNbId {
257 func (m *NodebInfo) GetNodeType() Node_Type {
264 type isNodebInfo_Configuration interface {
265 isNodebInfo_Configuration()
268 type NodebInfo_Enb struct {
269 Enb *Enb `protobuf:"bytes,9,opt,name=enb,proto3,oneof"`
272 type NodebInfo_Gnb struct {
273 Gnb *Gnb `protobuf:"bytes,10,opt,name=gnb,proto3,oneof"`
276 func (*NodebInfo_Enb) isNodebInfo_Configuration() {}
278 func (*NodebInfo_Gnb) isNodebInfo_Configuration() {}
280 func (m *NodebInfo) GetConfiguration() isNodebInfo_Configuration {
282 return m.Configuration
287 func (m *NodebInfo) GetEnb() *Enb {
288 if x, ok := m.GetConfiguration().(*NodebInfo_Enb); ok {
294 func (m *NodebInfo) GetGnb() *Gnb {
295 if x, ok := m.GetConfiguration().(*NodebInfo_Gnb); ok {
301 func (m *NodebInfo) GetFailureType() Failure_Type {
305 return Failure_UNKNOWN_TYPE
308 func (m *NodebInfo) GetSetupFailure() *SetupFailure {
310 return m.SetupFailure
315 // XXX_OneofWrappers is for the internal use of the proto package.
316 func (*NodebInfo) XXX_OneofWrappers() []interface{} {
317 return []interface{}{
318 (*NodebInfo_Enb)(nil),
319 (*NodebInfo_Gnb)(nil),
324 XXX_NoUnkeyedLiteral struct{} `json:"-"`
325 XXX_unrecognized []byte `json:"-"`
326 XXX_sizecache int32 `json:"-"`
329 func (m *Node) Reset() { *m = Node{} }
330 func (m *Node) String() string { return proto.CompactTextString(m) }
331 func (*Node) ProtoMessage() {}
332 func (*Node) Descriptor() ([]byte, []int) {
333 return fileDescriptor_04b920976079e56c, []int{1}
336 func (m *Node) XXX_Unmarshal(b []byte) error {
337 return xxx_messageInfo_Node.Unmarshal(m, b)
339 func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
340 return xxx_messageInfo_Node.Marshal(b, m, deterministic)
342 func (m *Node) XXX_Merge(src proto.Message) {
343 xxx_messageInfo_Node.Merge(m, src)
345 func (m *Node) XXX_Size() int {
346 return xxx_messageInfo_Node.Size(m)
348 func (m *Node) XXX_DiscardUnknown() {
349 xxx_messageInfo_Node.DiscardUnknown(m)
352 var xxx_messageInfo_Node proto.InternalMessageInfo
354 type Failure struct {
355 XXX_NoUnkeyedLiteral struct{} `json:"-"`
356 XXX_unrecognized []byte `json:"-"`
357 XXX_sizecache int32 `json:"-"`
360 func (m *Failure) Reset() { *m = Failure{} }
361 func (m *Failure) String() string { return proto.CompactTextString(m) }
362 func (*Failure) ProtoMessage() {}
363 func (*Failure) Descriptor() ([]byte, []int) {
364 return fileDescriptor_04b920976079e56c, []int{2}
367 func (m *Failure) XXX_Unmarshal(b []byte) error {
368 return xxx_messageInfo_Failure.Unmarshal(m, b)
370 func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
371 return xxx_messageInfo_Failure.Marshal(b, m, deterministic)
373 func (m *Failure) XXX_Merge(src proto.Message) {
374 xxx_messageInfo_Failure.Merge(m, src)
376 func (m *Failure) XXX_Size() int {
377 return xxx_messageInfo_Failure.Size(m)
379 func (m *Failure) XXX_DiscardUnknown() {
380 xxx_messageInfo_Failure.DiscardUnknown(m)
383 var xxx_messageInfo_Failure proto.InternalMessageInfo
386 proto.RegisterEnum("entities.E2ApplicationProtocol", E2ApplicationProtocol_name, E2ApplicationProtocol_value)
387 proto.RegisterEnum("entities.ConnectionStatus", ConnectionStatus_name, ConnectionStatus_value)
388 proto.RegisterEnum("entities.Node_Type", Node_Type_name, Node_Type_value)
389 proto.RegisterEnum("entities.Failure_Type", Failure_Type_name, Failure_Type_value)
390 proto.RegisterType((*NodebInfo)(nil), "entities.NodebInfo")
391 proto.RegisterType((*Node)(nil), "entities.Node")
392 proto.RegisterType((*Failure)(nil), "entities.Failure")
395 func init() { proto.RegisterFile("nodeb_info.proto", fileDescriptor_04b920976079e56c) }
397 var fileDescriptor_04b920976079e56c = []byte{
398 // 623 bytes of a gzipped FileDescriptorProto
399 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0xef, 0x6e, 0xda, 0x3e,
400 0x14, 0x25, 0x81, 0x16, 0x72, 0x81, 0xfe, 0x5c, 0xf7, 0xcf, 0x2f, 0x45, 0x9a, 0xca, 0x98, 0x26,
401 0xa1, 0x4a, 0x63, 0x53, 0x26, 0x4d, 0x9a, 0xf6, 0x89, 0x42, 0x4a, 0xa3, 0x55, 0x86, 0x25, 0x41,
402 0xdd, 0x3e, 0x59, 0x09, 0x35, 0x28, 0x12, 0x38, 0x51, 0x62, 0xa4, 0xf5, 0x6d, 0xf6, 0x54, 0x7b,
403 0x9e, 0xc9, 0x26, 0x10, 0xc6, 0xfa, 0xed, 0xfa, 0x9c, 0x73, 0xcf, 0xc9, 0xbd, 0x76, 0x00, 0xf1,
404 0xf8, 0x89, 0x85, 0x34, 0xe2, 0xf3, 0xb8, 0x97, 0xa4, 0xb1, 0x88, 0x71, 0x8d, 0x71, 0x11, 0x89,
405 0x88, 0x65, 0x2d, 0x63, 0xc1, 0xc3, 0x0d, 0xd8, 0x32, 0xd8, 0xae, 0xbc, 0xfe, 0x69, 0xd1, 0x8c,
406 0x89, 0x75, 0x42, 0xe7, 0x41, 0xb4, 0x5c, 0xa7, 0x8c, 0xa6, 0x2c, 0x4b, 0x62, 0x9e, 0xb1, 0x5c,
407 0x70, 0xca, 0x43, 0x1a, 0x3d, 0x29, 0x97, 0xe7, 0x0d, 0xd4, 0xf9, 0x5d, 0x01, 0x83, 0xc8, 0x20,
408 0x87, 0xcf, 0x63, 0x7c, 0x05, 0xb5, 0x34, 0xe0, 0x94, 0x07, 0x2b, 0x66, 0x6a, 0x6d, 0xad, 0x6b,
409 0xb8, 0xd5, 0x34, 0xe0, 0x24, 0x58, 0x31, 0x7c, 0x02, 0x7a, 0x94, 0x98, 0xba, 0x02, 0xf5, 0x28,
410 0xc1, 0x18, 0x2a, 0x49, 0x9c, 0x0a, 0xb3, 0xdc, 0xd6, 0xba, 0x4d, 0x57, 0xd5, 0xf8, 0x11, 0xfe,
411 0x67, 0x16, 0x0d, 0x92, 0x64, 0x19, 0xcd, 0x02, 0x11, 0xc5, 0x9c, 0xaa, 0x90, 0x59, 0xbc, 0x34,
412 0x2b, 0x6d, 0xad, 0x7b, 0x62, 0x5d, 0xf7, 0xb6, 0x23, 0xf4, 0x6c, 0xab, 0x5f, 0xe8, 0x26, 0xb9,
413 0xcc, 0xbd, 0x60, 0x2f, 0xc1, 0x78, 0x04, 0xa7, 0xb3, 0x98, 0x73, 0x36, 0x53, 0xa6, 0x99, 0x08,
414 0xc4, 0x3a, 0x33, 0x8f, 0x94, 0x65, 0xab, 0xb0, 0x1c, 0xec, 0x24, 0x9e, 0x52, 0xb8, 0x68, 0x76,
415 0x80, 0xe0, 0xf7, 0x70, 0xb6, 0x67, 0x14, 0x08, 0xc1, 0x56, 0x89, 0xc8, 0xcc, 0x63, 0x35, 0x04,
416 0x2e, 0xa8, 0x7e, 0xce, 0xe0, 0x4f, 0xd0, 0x58, 0x2c, 0xe3, 0x30, 0x58, 0x52, 0xb5, 0x3b, 0xb3,
417 0xda, 0xd6, 0xba, 0x75, 0xeb, 0xbc, 0x08, 0x1d, 0x29, 0x96, 0x84, 0xce, 0x93, 0x0b, 0x8b, 0x5d,
418 0x8d, 0x3f, 0x80, 0x21, 0xef, 0x8f, 0x8a, 0xe7, 0x84, 0x99, 0x35, 0xf5, 0xa5, 0x67, 0x45, 0x93,
419 0xdc, 0x78, 0xcf, 0x7f, 0x4e, 0x98, 0x5b, 0x93, 0x2a, 0x59, 0xe1, 0xd7, 0x50, 0x66, 0x3c, 0x34,
420 0x0d, 0x15, 0xd0, 0xdc, 0x5b, 0x14, 0x0f, 0xef, 0x4b, 0xae, 0xe4, 0xa4, 0x64, 0xc1, 0x43, 0x13,
421 0x0e, 0x25, 0xa3, 0x8d, 0x64, 0xc1, 0x43, 0xfc, 0x19, 0x1a, 0xdb, 0xcb, 0x57, 0xd1, 0x75, 0x15,
422 0x7d, 0x59, 0x68, 0xef, 0x36, 0xec, 0x26, 0xbd, 0x9e, 0x6b, 0xd5, 0x07, 0x7c, 0x81, 0xe6, 0x5f,
423 0xaf, 0xc7, 0x6c, 0xa8, 0x9c, 0xbd, 0x5e, 0x4f, 0xd2, 0xb9, 0x81, 0xdb, 0xc8, 0xf6, 0x4e, 0xb7,
424 0xff, 0x41, 0x73, 0x16, 0xf3, 0x79, 0xb4, 0x58, 0xa7, 0xea, 0xea, 0x3a, 0xef, 0xa0, 0x22, 0xa7,
425 0xec, 0xbc, 0x85, 0x8a, 0x72, 0xaf, 0x43, 0x75, 0x4a, 0xbe, 0x92, 0xf1, 0x23, 0x41, 0x25, 0x5c,
426 0x85, 0xb2, 0x4d, 0x6e, 0x91, 0x26, 0x8b, 0x11, 0xb9, 0x45, 0x7a, 0xc7, 0x87, 0x6a, 0x6e, 0xd5,
427 0x71, 0xf2, 0x0e, 0x04, 0x8d, 0xbc, 0x83, 0xfa, 0x3f, 0x26, 0x36, 0x2a, 0xe1, 0x73, 0x40, 0xd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