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 // This source code is part of the near-RT RIC (RAN Intelligent Controller)
18 // platform project (RICP).
20 // Code generated by protoc-gen-go. DO NOT EDIT.
21 // source: nodeb_info.proto
27 proto "github.com/golang/protobuf/proto"
31 // Reference imports to suppress errors if they are not otherwise used.
36 // This is a compile-time assertion to ensure that this generated file
37 // is compatible with the proto package it is being compiled against.
38 // A compilation error at this line likely means your copy of the
39 // proto package needs to be updated.
40 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
42 type E2ApplicationProtocol int32
45 E2ApplicationProtocol_UNKNOWN_E2_APPLICATION_PROTOCOL E2ApplicationProtocol = 0
46 E2ApplicationProtocol_X2_SETUP_REQUEST E2ApplicationProtocol = 1
47 E2ApplicationProtocol_ENDC_X2_SETUP_REQUEST E2ApplicationProtocol = 2
50 var E2ApplicationProtocol_name = map[int32]string{
51 0: "UNKNOWN_E2_APPLICATION_PROTOCOL",
52 1: "X2_SETUP_REQUEST",
53 2: "ENDC_X2_SETUP_REQUEST",
56 var E2ApplicationProtocol_value = map[string]int32{
57 "UNKNOWN_E2_APPLICATION_PROTOCOL": 0,
58 "X2_SETUP_REQUEST": 1,
59 "ENDC_X2_SETUP_REQUEST": 2,
62 func (x E2ApplicationProtocol) String() string {
63 return proto.EnumName(E2ApplicationProtocol_name, int32(x))
66 func (E2ApplicationProtocol) EnumDescriptor() ([]byte, []int) {
67 return fileDescriptor_04b920976079e56c, []int{0}
70 type ConnectionStatus int32
73 ConnectionStatus_UNKNOWN_CONNECTION_STATUS ConnectionStatus = 0
74 ConnectionStatus_CONNECTED ConnectionStatus = 1
75 ConnectionStatus_DISCONNECTED ConnectionStatus = 2
76 ConnectionStatus_CONNECTED_SETUP_FAILED ConnectionStatus = 3
77 ConnectionStatus_CONNECTING ConnectionStatus = 4
78 ConnectionStatus_SHUTTING_DOWN ConnectionStatus = 5
79 ConnectionStatus_SHUT_DOWN ConnectionStatus = 6
82 var ConnectionStatus_name = map[int32]string{
83 0: "UNKNOWN_CONNECTION_STATUS",
86 3: "CONNECTED_SETUP_FAILED",
92 var ConnectionStatus_value = map[string]int32{
93 "UNKNOWN_CONNECTION_STATUS": 0,
96 "CONNECTED_SETUP_FAILED": 3,
102 func (x ConnectionStatus) String() string {
103 return proto.EnumName(ConnectionStatus_name, int32(x))
106 func (ConnectionStatus) EnumDescriptor() ([]byte, []int) {
107 return fileDescriptor_04b920976079e56c, []int{1}
113 Node_UNKNOWN Node_Type = 0
114 Node_ENB Node_Type = 1
115 Node_GNB Node_Type = 2
118 var Node_Type_name = map[int32]string{
124 var Node_Type_value = map[string]int32{
130 func (x Node_Type) String() string {
131 return proto.EnumName(Node_Type_name, int32(x))
134 func (Node_Type) EnumDescriptor() ([]byte, []int) {
135 return fileDescriptor_04b920976079e56c, []int{1, 0}
138 type Failure_Type int32
141 Failure_UNKNOWN_TYPE Failure_Type = 0
142 Failure_X2_SETUP_FAILURE Failure_Type = 1
143 Failure_ENDC_X2_SETUP_FAILURE Failure_Type = 2
146 var Failure_Type_name = map[int32]string{
148 1: "X2_SETUP_FAILURE",
149 2: "ENDC_X2_SETUP_FAILURE",
152 var Failure_Type_value = map[string]int32{
154 "X2_SETUP_FAILURE": 1,
155 "ENDC_X2_SETUP_FAILURE": 2,
158 func (x Failure_Type) String() string {
159 return proto.EnumName(Failure_Type_name, int32(x))
162 func (Failure_Type) EnumDescriptor() ([]byte, []int) {
163 return fileDescriptor_04b920976079e56c, []int{2, 0}
166 type NodebInfo struct {
167 RanName string `protobuf:"bytes,1,opt,name=ran_name,json=ranName,proto3" json:"ran_name,omitempty"`
168 Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
169 Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
170 E2ApplicationProtocol E2ApplicationProtocol `protobuf:"varint,4,opt,name=e2_application_protocol,json=e2ApplicationProtocol,proto3,enum=entities.E2ApplicationProtocol" json:"e2_application_protocol,omitempty"`
171 ConnectionStatus ConnectionStatus `protobuf:"varint,5,opt,name=connection_status,json=connectionStatus,proto3,enum=entities.ConnectionStatus" json:"connection_status,omitempty"`
172 GlobalNbId *GlobalNbId `protobuf:"bytes,6,opt,name=global_nb_id,json=globalNbId,proto3" json:"global_nb_id,omitempty"`
173 NodeType Node_Type `protobuf:"varint,7,opt,name=node_type,json=nodeType,proto3,enum=entities.Node_Type" json:"node_type,omitempty"`
174 // Types that are valid to be assigned to Configuration:
177 Configuration isNodebInfo_Configuration `protobuf_oneof:"configuration"`
178 FailureType Failure_Type `protobuf:"varint,10,opt,name=failure_type,json=failureType,proto3,enum=entities.Failure_Type" json:"failure_type,omitempty"`
179 SetupFailure *SetupFailure `protobuf:"bytes,11,opt,name=setup_failure,json=setupFailure,proto3" json:"setup_failure,omitempty"`
180 AssociatedE2TInstanceAddress string `protobuf:"bytes,12,opt,name=associated_e2t_instance_address,json=associatedE2tInstanceAddress,proto3" json:"associated_e2t_instance_address,omitempty"`
181 XXX_NoUnkeyedLiteral struct{} `json:"-"`
182 XXX_unrecognized []byte `json:"-"`
183 XXX_sizecache int32 `json:"-"`
186 func (m *NodebInfo) Reset() { *m = NodebInfo{} }
187 func (m *NodebInfo) String() string { return proto.CompactTextString(m) }
188 func (*NodebInfo) ProtoMessage() {}
189 func (*NodebInfo) Descriptor() ([]byte, []int) {
190 return fileDescriptor_04b920976079e56c, []int{0}
193 func (m *NodebInfo) XXX_Unmarshal(b []byte) error {
194 return xxx_messageInfo_NodebInfo.Unmarshal(m, b)
196 func (m *NodebInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
197 return xxx_messageInfo_NodebInfo.Marshal(b, m, deterministic)
199 func (m *NodebInfo) XXX_Merge(src proto.Message) {
200 xxx_messageInfo_NodebInfo.Merge(m, src)
202 func (m *NodebInfo) XXX_Size() int {
203 return xxx_messageInfo_NodebInfo.Size(m)
205 func (m *NodebInfo) XXX_DiscardUnknown() {
206 xxx_messageInfo_NodebInfo.DiscardUnknown(m)
209 var xxx_messageInfo_NodebInfo proto.InternalMessageInfo
211 func (m *NodebInfo) GetRanName() string {
218 func (m *NodebInfo) GetIp() string {
225 func (m *NodebInfo) GetPort() uint32 {
232 func (m *NodebInfo) GetE2ApplicationProtocol() E2ApplicationProtocol {
234 return m.E2ApplicationProtocol
236 return E2ApplicationProtocol_UNKNOWN_E2_APPLICATION_PROTOCOL
239 func (m *NodebInfo) GetConnectionStatus() ConnectionStatus {
241 return m.ConnectionStatus
243 return ConnectionStatus_UNKNOWN_CONNECTION_STATUS
246 func (m *NodebInfo) GetGlobalNbId() *GlobalNbId {
253 func (m *NodebInfo) GetNodeType() Node_Type {
260 type isNodebInfo_Configuration interface {
261 isNodebInfo_Configuration()
264 type NodebInfo_Enb struct {
265 Enb *Enb `protobuf:"bytes,8,opt,name=enb,proto3,oneof"`
268 type NodebInfo_Gnb struct {
269 Gnb *Gnb `protobuf:"bytes,9,opt,name=gnb,proto3,oneof"`
272 func (*NodebInfo_Enb) isNodebInfo_Configuration() {}
274 func (*NodebInfo_Gnb) isNodebInfo_Configuration() {}
276 func (m *NodebInfo) GetConfiguration() isNodebInfo_Configuration {
278 return m.Configuration
283 func (m *NodebInfo) GetEnb() *Enb {
284 if x, ok := m.GetConfiguration().(*NodebInfo_Enb); ok {
290 func (m *NodebInfo) GetGnb() *Gnb {
291 if x, ok := m.GetConfiguration().(*NodebInfo_Gnb); ok {
297 func (m *NodebInfo) GetFailureType() Failure_Type {
301 return Failure_UNKNOWN_TYPE
304 func (m *NodebInfo) GetSetupFailure() *SetupFailure {
306 return m.SetupFailure
311 func (m *NodebInfo) GetAssociatedE2TInstanceAddress() string {
313 return m.AssociatedE2TInstanceAddress
318 // XXX_OneofWrappers is for the internal use of the proto package.
319 func (*NodebInfo) XXX_OneofWrappers() []interface{} {
320 return []interface{}{
321 (*NodebInfo_Enb)(nil),
322 (*NodebInfo_Gnb)(nil),
327 XXX_NoUnkeyedLiteral struct{} `json:"-"`
328 XXX_unrecognized []byte `json:"-"`
329 XXX_sizecache int32 `json:"-"`
332 func (m *Node) Reset() { *m = Node{} }
333 func (m *Node) String() string { return proto.CompactTextString(m) }
334 func (*Node) ProtoMessage() {}
335 func (*Node) Descriptor() ([]byte, []int) {
336 return fileDescriptor_04b920976079e56c, []int{1}
339 func (m *Node) XXX_Unmarshal(b []byte) error {
340 return xxx_messageInfo_Node.Unmarshal(m, b)
342 func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
343 return xxx_messageInfo_Node.Marshal(b, m, deterministic)
345 func (m *Node) XXX_Merge(src proto.Message) {
346 xxx_messageInfo_Node.Merge(m, src)
348 func (m *Node) XXX_Size() int {
349 return xxx_messageInfo_Node.Size(m)
351 func (m *Node) XXX_DiscardUnknown() {
352 xxx_messageInfo_Node.DiscardUnknown(m)
355 var xxx_messageInfo_Node proto.InternalMessageInfo
357 type Failure struct {
358 XXX_NoUnkeyedLiteral struct{} `json:"-"`
359 XXX_unrecognized []byte `json:"-"`
360 XXX_sizecache int32 `json:"-"`
363 func (m *Failure) Reset() { *m = Failure{} }
364 func (m *Failure) String() string { return proto.CompactTextString(m) }
365 func (*Failure) ProtoMessage() {}
366 func (*Failure) Descriptor() ([]byte, []int) {
367 return fileDescriptor_04b920976079e56c, []int{2}
370 func (m *Failure) XXX_Unmarshal(b []byte) error {
371 return xxx_messageInfo_Failure.Unmarshal(m, b)
373 func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
374 return xxx_messageInfo_Failure.Marshal(b, m, deterministic)
376 func (m *Failure) XXX_Merge(src proto.Message) {
377 xxx_messageInfo_Failure.Merge(m, src)
379 func (m *Failure) XXX_Size() int {
380 return xxx_messageInfo_Failure.Size(m)
382 func (m *Failure) XXX_DiscardUnknown() {
383 xxx_messageInfo_Failure.DiscardUnknown(m)
386 var xxx_messageInfo_Failure proto.InternalMessageInfo
389 proto.RegisterEnum("entities.E2ApplicationProtocol", E2ApplicationProtocol_name, E2ApplicationProtocol_value)
390 proto.RegisterEnum("entities.ConnectionStatus", ConnectionStatus_name, ConnectionStatus_value)
391 proto.RegisterEnum("entities.Node_Type", Node_Type_name, Node_Type_value)
392 proto.RegisterEnum("entities.Failure_Type", Failure_Type_name, Failure_Type_value)
393 proto.RegisterType((*NodebInfo)(nil), "entities.NodebInfo")
394 proto.RegisterType((*Node)(nil), "entities.Node")
395 proto.RegisterType((*Failure)(nil), "entities.Failure")
399 proto.RegisterFile("nodeb_info.proto", fileDescriptor_04b920976079e56c)
402 var fileDescriptor_04b920976079e56c = []byte{
403 // 643 bytes of a gzipped FileDescriptorProto
404 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0xd1, 0x6e, 0xda, 0x4a,
405 0x10, 0xc5, 0x86, 0x04, 0x3c, 0x40, 0xee, 0x66, 0x6f, 0x92, 0xeb, 0xa0, 0x5b, 0x41, 0xa9, 0x2a,
406 0xa1, 0x48, 0x45, 0x95, 0x2b, 0x55, 0xaa, 0xfa, 0x44, 0x60, 0x43, 0xac, 0x46, 0x86, 0xda, 0x46,
407 0x69, 0x9f, 0x56, 0xb6, 0x59, 0x90, 0x25, 0xb2, 0xb6, 0x6c, 0x23, 0x35, 0x7f, 0xd3, 0x0f, 0xec,
408 0x47, 0x54, 0xbb, 0x36, 0x98, 0xd2, 0xbc, 0xcd, 0x9c, 0x39, 0x73, 0x8e, 0x67, 0x76, 0x0c, 0x88,
409 0x47, 0x4b, 0xe6, 0xd3, 0x90, 0xaf, 0xa2, 0x61, 0x9c, 0x44, 0x59, 0x84, 0x1b, 0x8c, 0x67, 0x61,
410 0x16, 0xb2, 0xb4, 0xa3, 0xad, 0xb9, 0x9f, 0x83, 0x1d, 0x8d, 0xed, 0xc3, 0xee, 0x0f, 0x83, 0xa6,
411 0x2c, 0xdb, 0xc6, 0x74, 0xe5, 0x85, 0x9b, 0x6d, 0xc2, 0x68, 0xc2, 0xd2, 0x38, 0xe2, 0x29, 0x2b,
412 0x08, 0xe7, 0xdc, 0xa7, 0xe1, 0x52, 0xaa, 0x3c, 0xe7, 0x50, 0xff, 0x57, 0x0d, 0x34, 0x4b, 0x18,
413 0x99, 0x7c, 0x15, 0xe1, 0x6b, 0x68, 0x24, 0x1e, 0xa7, 0xdc, 0x7b, 0x62, 0xba, 0xd2, 0x53, 0x06,
414 0x9a, 0x5d, 0x4f, 0x3c, 0x6e, 0x79, 0x4f, 0x0c, 0x9f, 0x81, 0x1a, 0xc6, 0xba, 0x2a, 0x41, 0x35,
415 0x8c, 0x31, 0x86, 0x5a, 0x1c, 0x25, 0x99, 0x5e, 0xed, 0x29, 0x83, 0xb6, 0x2d, 0x63, 0xfc, 0x08,
416 0xff, 0x31, 0x83, 0x7a, 0x71, 0xbc, 0x09, 0x03, 0x2f, 0x0b, 0x23, 0x4e, 0xa5, 0x49, 0x10, 0x6d,
417 0xf4, 0x5a, 0x4f, 0x19, 0x9c, 0x19, 0xdd, 0xe1, 0x6e, 0x84, 0x21, 0x31, 0x46, 0x25, 0x6f, 0x5e,
418 0xd0, 0xec, 0x4b, 0xf6, 0x12, 0x8c, 0xa7, 0x70, 0x1e, 0x44, 0x9c, 0xb3, 0x40, 0x8a, 0xa6, 0x99,
419 0x97, 0x6d, 0x53, 0xfd, 0x44, 0x4a, 0x76, 0x4a, 0xc9, 0xf1, 0x9e, 0xe2, 0x48, 0x86, 0x8d, 0x82,
420 0x23, 0x04, 0x7f, 0x84, 0xd6, 0x7a, 0x13, 0xf9, 0xde, 0x86, 0xca, 0x55, 0xe8, 0xa7, 0x3d, 0x65,
421 0xd0, 0x34, 0x2e, 0x4a, 0x8d, 0xa9, 0xac, 0x5a, 0xbe, 0xb9, 0xb4, 0x61, 0xbd, 0x8f, 0xf1, 0x7b,
422 0xd0, 0xc4, 0x73, 0xd0, 0xec, 0x39, 0x66, 0x7a, 0x5d, 0x1a, 0xff, 0x5b, 0x36, 0x89, 0x05, 0x0e,
423 0xdd, 0xe7, 0x98, 0xd9, 0x0d, 0xc1, 0x12, 0x11, 0x7e, 0x0d, 0x55, 0xc6, 0x7d, 0xbd, 0x21, 0x0d,
424 0xda, 0x07, 0x73, 0x73, 0xff, 0xbe, 0x62, 0x8b, 0x9a, 0xa0, 0xac, 0xb9, 0xaf, 0x6b, 0xc7, 0x94,
425 0x69, 0x4e, 0x59, 0x73, 0x1f, 0x7f, 0x82, 0xd6, 0xee, 0x2d, 0xa5, 0x35, 0x48, 0xeb, 0xab, 0x92,
426 0x7b, 0x97, 0x57, 0x73, 0xf7, 0x66, 0xc1, 0x95, 0x1f, 0xf0, 0x19, 0xda, 0x7f, 0x1c, 0x83, 0xde,
427 0x94, 0x3e, 0x07, 0xbd, 0x8e, 0x28, 0x17, 0x02, 0x76, 0x2b, 0x3d, 0xc8, 0x30, 0x81, 0xae, 0x97,
428 0xa6, 0x51, 0x10, 0x7a, 0x19, 0x5b, 0x52, 0x66, 0x64, 0x34, 0xe4, 0x69, 0xe6, 0xf1, 0x80, 0x51,
429 0x6f, 0xb9, 0x4c, 0x58, 0x9a, 0xea, 0x2d, 0x79, 0x0a, 0xff, 0x97, 0x34, 0x62, 0x64, 0x66, 0x41,
430 0x1a, 0xe5, 0x9c, 0xdb, 0x7f, 0xa0, 0x1d, 0x44, 0x7c, 0x15, 0xae, 0xb7, 0x89, 0x7c, 0xd0, 0xfe,
431 0x3b, 0xa8, 0x89, 0x65, 0xf5, 0xdf, 0x42, 0x4d, 0x7e, 0x64, 0x13, 0xea, 0x0b, 0xeb, 0x8b, 0x35,
432 0x7b, 0xb4, 0x50, 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