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 ConnectionAttempts uint32 `protobuf:"varint,6,opt,name=connection_attempts,json=connectionAttempts,proto3" json:"connection_attempts,omitempty"`
173 GlobalNbId *GlobalNbId `protobuf:"bytes,7,opt,name=global_nb_id,json=globalNbId,proto3" json:"global_nb_id,omitempty"`
174 NodeType Node_Type `protobuf:"varint,8,opt,name=node_type,json=nodeType,proto3,enum=entities.Node_Type" json:"node_type,omitempty"`
175 // Types that are valid to be assigned to Configuration:
178 Configuration isNodebInfo_Configuration `protobuf_oneof:"configuration"`
179 FailureType Failure_Type `protobuf:"varint,11,opt,name=failure_type,json=failureType,proto3,enum=entities.Failure_Type" json:"failure_type,omitempty"`
180 SetupFailure *SetupFailure `protobuf:"bytes,12,opt,name=setup_failure,json=setupFailure,proto3" json:"setup_failure,omitempty"`
181 AssociatedE2TInstanceAddress string `protobuf:"bytes,13,opt,name=associated_e2t_instance_address,json=associatedE2tInstanceAddress,proto3" json:"associated_e2t_instance_address,omitempty"`
182 XXX_NoUnkeyedLiteral struct{} `json:"-"`
183 XXX_unrecognized []byte `json:"-"`
184 XXX_sizecache int32 `json:"-"`
187 func (m *NodebInfo) Reset() { *m = NodebInfo{} }
188 func (m *NodebInfo) String() string { return proto.CompactTextString(m) }
189 func (*NodebInfo) ProtoMessage() {}
190 func (*NodebInfo) Descriptor() ([]byte, []int) {
191 return fileDescriptor_04b920976079e56c, []int{0}
194 func (m *NodebInfo) XXX_Unmarshal(b []byte) error {
195 return xxx_messageInfo_NodebInfo.Unmarshal(m, b)
197 func (m *NodebInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
198 return xxx_messageInfo_NodebInfo.Marshal(b, m, deterministic)
200 func (m *NodebInfo) XXX_Merge(src proto.Message) {
201 xxx_messageInfo_NodebInfo.Merge(m, src)
203 func (m *NodebInfo) XXX_Size() int {
204 return xxx_messageInfo_NodebInfo.Size(m)
206 func (m *NodebInfo) XXX_DiscardUnknown() {
207 xxx_messageInfo_NodebInfo.DiscardUnknown(m)
210 var xxx_messageInfo_NodebInfo proto.InternalMessageInfo
212 func (m *NodebInfo) GetRanName() string {
219 func (m *NodebInfo) GetIp() string {
226 func (m *NodebInfo) GetPort() uint32 {
233 func (m *NodebInfo) GetE2ApplicationProtocol() E2ApplicationProtocol {
235 return m.E2ApplicationProtocol
237 return E2ApplicationProtocol_UNKNOWN_E2_APPLICATION_PROTOCOL
240 func (m *NodebInfo) GetConnectionStatus() ConnectionStatus {
242 return m.ConnectionStatus
244 return ConnectionStatus_UNKNOWN_CONNECTION_STATUS
247 func (m *NodebInfo) GetConnectionAttempts() uint32 {
249 return m.ConnectionAttempts
254 func (m *NodebInfo) GetGlobalNbId() *GlobalNbId {
261 func (m *NodebInfo) GetNodeType() Node_Type {
268 type isNodebInfo_Configuration interface {
269 isNodebInfo_Configuration()
272 type NodebInfo_Enb struct {
273 Enb *Enb `protobuf:"bytes,9,opt,name=enb,proto3,oneof"`
276 type NodebInfo_Gnb struct {
277 Gnb *Gnb `protobuf:"bytes,10,opt,name=gnb,proto3,oneof"`
280 func (*NodebInfo_Enb) isNodebInfo_Configuration() {}
282 func (*NodebInfo_Gnb) isNodebInfo_Configuration() {}
284 func (m *NodebInfo) GetConfiguration() isNodebInfo_Configuration {
286 return m.Configuration
291 func (m *NodebInfo) GetEnb() *Enb {
292 if x, ok := m.GetConfiguration().(*NodebInfo_Enb); ok {
298 func (m *NodebInfo) GetGnb() *Gnb {
299 if x, ok := m.GetConfiguration().(*NodebInfo_Gnb); ok {
305 func (m *NodebInfo) GetFailureType() Failure_Type {
309 return Failure_UNKNOWN_TYPE
312 func (m *NodebInfo) GetSetupFailure() *SetupFailure {
314 return m.SetupFailure
319 func (m *NodebInfo) GetAssociatedE2TInstanceAddress() string {
321 return m.AssociatedE2TInstanceAddress
326 // XXX_OneofWrappers is for the internal use of the proto package.
327 func (*NodebInfo) XXX_OneofWrappers() []interface{} {
328 return []interface{}{
329 (*NodebInfo_Enb)(nil),
330 (*NodebInfo_Gnb)(nil),
335 XXX_NoUnkeyedLiteral struct{} `json:"-"`
336 XXX_unrecognized []byte `json:"-"`
337 XXX_sizecache int32 `json:"-"`
340 func (m *Node) Reset() { *m = Node{} }
341 func (m *Node) String() string { return proto.CompactTextString(m) }
342 func (*Node) ProtoMessage() {}
343 func (*Node) Descriptor() ([]byte, []int) {
344 return fileDescriptor_04b920976079e56c, []int{1}
347 func (m *Node) XXX_Unmarshal(b []byte) error {
348 return xxx_messageInfo_Node.Unmarshal(m, b)
350 func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
351 return xxx_messageInfo_Node.Marshal(b, m, deterministic)
353 func (m *Node) XXX_Merge(src proto.Message) {
354 xxx_messageInfo_Node.Merge(m, src)
356 func (m *Node) XXX_Size() int {
357 return xxx_messageInfo_Node.Size(m)
359 func (m *Node) XXX_DiscardUnknown() {
360 xxx_messageInfo_Node.DiscardUnknown(m)
363 var xxx_messageInfo_Node proto.InternalMessageInfo
365 type Failure struct {
366 XXX_NoUnkeyedLiteral struct{} `json:"-"`
367 XXX_unrecognized []byte `json:"-"`
368 XXX_sizecache int32 `json:"-"`
371 func (m *Failure) Reset() { *m = Failure{} }
372 func (m *Failure) String() string { return proto.CompactTextString(m) }
373 func (*Failure) ProtoMessage() {}
374 func (*Failure) Descriptor() ([]byte, []int) {
375 return fileDescriptor_04b920976079e56c, []int{2}
378 func (m *Failure) XXX_Unmarshal(b []byte) error {
379 return xxx_messageInfo_Failure.Unmarshal(m, b)
381 func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
382 return xxx_messageInfo_Failure.Marshal(b, m, deterministic)
384 func (m *Failure) XXX_Merge(src proto.Message) {
385 xxx_messageInfo_Failure.Merge(m, src)
387 func (m *Failure) XXX_Size() int {
388 return xxx_messageInfo_Failure.Size(m)
390 func (m *Failure) XXX_DiscardUnknown() {
391 xxx_messageInfo_Failure.DiscardUnknown(m)
394 var xxx_messageInfo_Failure proto.InternalMessageInfo
397 proto.RegisterEnum("entities.E2ApplicationProtocol", E2ApplicationProtocol_name, E2ApplicationProtocol_value)
398 proto.RegisterEnum("entities.ConnectionStatus", ConnectionStatus_name, ConnectionStatus_value)
399 proto.RegisterEnum("entities.Node_Type", Node_Type_name, Node_Type_value)
400 proto.RegisterEnum("entities.Failure_Type", Failure_Type_name, Failure_Type_value)
401 proto.RegisterType((*NodebInfo)(nil), "entities.NodebInfo")
402 proto.RegisterType((*Node)(nil), "entities.Node")
403 proto.RegisterType((*Failure)(nil), "entities.Failure")
406 func init() { proto.RegisterFile("nodeb_info.proto", fileDescriptor_04b920976079e56c) }
408 var fileDescriptor_04b920976079e56c = []byte{
409 // 662 bytes of a gzipped FileDescriptorProto
410 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0xef, 0x8b, 0xda, 0x4a,
411 0x14, 0x35, 0xea, 0xae, 0x7a, 0xd5, 0x7d, 0xd9, 0xd9, 0x1f, 0x2f, 0x2b, 0xef, 0xa1, 0xb5, 0x14,
412 0x64, 0xa1, 0xb6, 0xa4, 0x50, 0x28, 0xfd, 0xe4, 0xea, 0xac, 0x1b, 0xba, 0x44, 0x9b, 0x44, 0xb6,
413 0xfd, 0x34, 0x4c, 0xe2, 0x28, 0x01, 0x9d, 0x84, 0x64, 0x84, 0xee, 0x1f, 0x53, 0xe8, 0x9f, 0x5a,
414 0x66, 0x8c, 0xc6, 0xda, 0xfd, 0x76, 0xe7, 0x9c, 0x33, 0xe7, 0xcc, 0xbd, 0xb9, 0x01, 0x9d, 0x47,
415 0x73, 0xe6, 0x93, 0x90, 0x2f, 0xa2, 0x7e, 0x9c, 0x44, 0x22, 0x42, 0x55, 0xc6, 0x45, 0x28, 0x42,
416 0x96, 0xb6, 0x6a, 0x4b, 0xee, 0x6f, 0xc1, 0x56, 0x8d, 0xed, 0xcb, 0xf6, 0x0f, 0x93, 0xa4, 0x4c,
417 0x6c, 0x62, 0xb2, 0xa0, 0xe1, 0x6a, 0x93, 0x30, 0x92, 0xb0, 0x34, 0x8e, 0x78, 0xca, 0x32, 0xc1,
418 0x39, 0xf7, 0x49, 0x38, 0x57, 0x2e, 0xcf, 0x5b, 0xa8, 0xfb, 0xf3, 0x04, 0x6a, 0xb6, 0x0c, 0xb2,
419 0xf8, 0x22, 0x42, 0x37, 0x50, 0x4d, 0x28, 0x27, 0x9c, 0xae, 0x99, 0xa1, 0x75, 0xb4, 0x5e, 0xcd,
420 0xa9, 0x24, 0x94, 0xdb, 0x74, 0xcd, 0xd0, 0x19, 0x14, 0xc3, 0xd8, 0x28, 0x2a, 0xb0, 0x18, 0xc6,
421 0x08, 0x41, 0x39, 0x8e, 0x12, 0x61, 0x94, 0x3a, 0x5a, 0xaf, 0xe9, 0xa8, 0x1a, 0x3d, 0xc1, 0xbf,
422 0xcc, 0x24, 0x34, 0x8e, 0x57, 0x61, 0x40, 0x45, 0x18, 0x71, 0xa2, 0x42, 0x82, 0x68, 0x65, 0x94,
423 0x3b, 0x5a, 0xef, 0xcc, 0x6c, 0xf7, 0x77, 0x2d, 0xf4, 0xb1, 0x39, 0xc8, 0x75, 0xd3, 0x4c, 0xe6,
424 0x5c, 0xb1, 0x97, 0x60, 0x34, 0x86, 0xf3, 0x20, 0xe2, 0x9c, 0x05, 0xca, 0x34, 0x15, 0x54, 0x6c,
425 0x52, 0xe3, 0x44, 0x59, 0xb6, 0x72, 0xcb, 0xe1, 0x5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