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 AssociatedE2TInstanceAddress string `protobuf:"bytes,13,opt,name=associated_e2t_instance_address,json=associatedE2tInstanceAddress,proto3" json:"associated_e2t_instance_address,omitempty"`
179 XXX_NoUnkeyedLiteral struct{} `json:"-"`
180 XXX_unrecognized []byte `json:"-"`
181 XXX_sizecache int32 `json:"-"`
184 func (m *NodebInfo) Reset() { *m = NodebInfo{} }
185 func (m *NodebInfo) String() string { return proto.CompactTextString(m) }
186 func (*NodebInfo) ProtoMessage() {}
187 func (*NodebInfo) Descriptor() ([]byte, []int) {
188 return fileDescriptor_04b920976079e56c, []int{0}
191 func (m *NodebInfo) XXX_Unmarshal(b []byte) error {
192 return xxx_messageInfo_NodebInfo.Unmarshal(m, b)
194 func (m *NodebInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
195 return xxx_messageInfo_NodebInfo.Marshal(b, m, deterministic)
197 func (m *NodebInfo) XXX_Merge(src proto.Message) {
198 xxx_messageInfo_NodebInfo.Merge(m, src)
200 func (m *NodebInfo) XXX_Size() int {
201 return xxx_messageInfo_NodebInfo.Size(m)
203 func (m *NodebInfo) XXX_DiscardUnknown() {
204 xxx_messageInfo_NodebInfo.DiscardUnknown(m)
207 var xxx_messageInfo_NodebInfo proto.InternalMessageInfo
209 func (m *NodebInfo) GetRanName() string {
216 func (m *NodebInfo) GetIp() string {
223 func (m *NodebInfo) GetPort() uint32 {
230 func (m *NodebInfo) GetE2ApplicationProtocol() E2ApplicationProtocol {
232 return m.E2ApplicationProtocol
234 return E2ApplicationProtocol_UNKNOWN_E2_APPLICATION_PROTOCOL
237 func (m *NodebInfo) GetConnectionStatus() ConnectionStatus {
239 return m.ConnectionStatus
241 return ConnectionStatus_UNKNOWN_CONNECTION_STATUS
244 func (m *NodebInfo) GetConnectionAttempts() uint32 {
246 return m.ConnectionAttempts
251 func (m *NodebInfo) GetGlobalNbId() *GlobalNbId {
258 func (m *NodebInfo) GetNodeType() Node_Type {
265 type isNodebInfo_Configuration interface {
266 isNodebInfo_Configuration()
269 type NodebInfo_Enb struct {
270 Enb *Enb `protobuf:"bytes,9,opt,name=enb,proto3,oneof"`
273 type NodebInfo_Gnb struct {
274 Gnb *Gnb `protobuf:"bytes,10,opt,name=gnb,proto3,oneof"`
277 func (*NodebInfo_Enb) isNodebInfo_Configuration() {}
279 func (*NodebInfo_Gnb) isNodebInfo_Configuration() {}
281 func (m *NodebInfo) GetConfiguration() isNodebInfo_Configuration {
283 return m.Configuration
288 func (m *NodebInfo) GetEnb() *Enb {
289 if x, ok := m.GetConfiguration().(*NodebInfo_Enb); ok {
295 func (m *NodebInfo) GetGnb() *Gnb {
296 if x, ok := m.GetConfiguration().(*NodebInfo_Gnb); ok {
302 func (m *NodebInfo) GetFailureType() Failure_Type {
306 return Failure_UNKNOWN_TYPE
309 func (m *NodebInfo) GetSetupFailure() *SetupFailure {
311 return m.SetupFailure
316 func (m *NodebInfo) GetAssociatedE2TInstanceAddress() string {
318 return m.AssociatedE2TInstanceAddress
323 // XXX_OneofWrappers is for the internal use of the proto package.
324 func (*NodebInfo) XXX_OneofWrappers() []interface{} {
325 return []interface{}{
326 (*NodebInfo_Enb)(nil),
327 (*NodebInfo_Gnb)(nil),
332 XXX_NoUnkeyedLiteral struct{} `json:"-"`
333 XXX_unrecognized []byte `json:"-"`
334 XXX_sizecache int32 `json:"-"`
337 func (m *Node) Reset() { *m = Node{} }
338 func (m *Node) String() string { return proto.CompactTextString(m) }
339 func (*Node) ProtoMessage() {}
340 func (*Node) Descriptor() ([]byte, []int) {
341 return fileDescriptor_04b920976079e56c, []int{1}
344 func (m *Node) XXX_Unmarshal(b []byte) error {
345 return xxx_messageInfo_Node.Unmarshal(m, b)
347 func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
348 return xxx_messageInfo_Node.Marshal(b, m, deterministic)
350 func (m *Node) XXX_Merge(src proto.Message) {
351 xxx_messageInfo_Node.Merge(m, src)
353 func (m *Node) XXX_Size() int {
354 return xxx_messageInfo_Node.Size(m)
356 func (m *Node) XXX_DiscardUnknown() {
357 xxx_messageInfo_Node.DiscardUnknown(m)
360 var xxx_messageInfo_Node proto.InternalMessageInfo
362 type Failure struct {
363 XXX_NoUnkeyedLiteral struct{} `json:"-"`
364 XXX_unrecognized []byte `json:"-"`
365 XXX_sizecache int32 `json:"-"`
368 func (m *Failure) Reset() { *m = Failure{} }
369 func (m *Failure) String() string { return proto.CompactTextString(m) }
370 func (*Failure) ProtoMessage() {}
371 func (*Failure) Descriptor() ([]byte, []int) {
372 return fileDescriptor_04b920976079e56c, []int{2}
375 func (m *Failure) XXX_Unmarshal(b []byte) error {
376 return xxx_messageInfo_Failure.Unmarshal(m, b)
378 func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
379 return xxx_messageInfo_Failure.Marshal(b, m, deterministic)
381 func (m *Failure) XXX_Merge(src proto.Message) {
382 xxx_messageInfo_Failure.Merge(m, src)
384 func (m *Failure) XXX_Size() int {
385 return xxx_messageInfo_Failure.Size(m)
387 func (m *Failure) XXX_DiscardUnknown() {
388 xxx_messageInfo_Failure.DiscardUnknown(m)
391 var xxx_messageInfo_Failure proto.InternalMessageInfo
394 proto.RegisterEnum("entities.E2ApplicationProtocol", E2ApplicationProtocol_name, E2ApplicationProtocol_value)
395 proto.RegisterEnum("entities.ConnectionStatus", ConnectionStatus_name, ConnectionStatus_value)
396 proto.RegisterEnum("entities.Node_Type", Node_Type_name, Node_Type_value)
397 proto.RegisterEnum("entities.Failure_Type", Failure_Type_name, Failure_Type_value)
398 proto.RegisterType((*NodebInfo)(nil), "entities.NodebInfo")
399 proto.RegisterType((*Node)(nil), "entities.Node")
400 proto.RegisterType((*Failure)(nil), "entities.Failure")
403 func init() { proto.RegisterFile("nodeb_info.proto", fileDescriptor_04b920976079e56c) }
405 var fileDescriptor_04b920976079e56c = []byte{
406 // 662 bytes of a gzipped FileDescriptorProto
407 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0xef, 0x8b, 0xda, 0x4a,
408 0x14, 0x35, 0xea, 0xae, 0x7a, 0xd5, 0x7d, 0xd9, 0xd9, 0x1f, 0x2f, 0x2b, 0xef, 0xa1, 0xb5, 0x14,
409 0x64, 0xa1, 0xb6, 0xa4, 0x50, 0x28, 0xfd, 0xe4, 0xea, 0xac, 0x1b, 0xba, 0x44, 0x9b, 0x44, 0xb6,
410 0xfd, 0x34, 0x4c, 0xe2, 0x28, 0x01, 0x9d, 0x84, 0x64, 0x84, 0xee, 0x1f, 0x53, 0xe8, 0x9f, 0x5a,
411 0x66, 0x8c, 0xc6, 0xda, 0xfd, 0x76, 0xe7, 0x9c, 0x33, 0xe7, 0xcc, 0xbd, 0xb9, 0x01, 0x9d, 0x47,
412 0x73, 0xe6, 0x93, 0x90, 0x2f, 0xa2, 0x7e, 0x9c, 0x44, 0x22, 0x42, 0x55, 0xc6, 0x45, 0x28, 0x42,
413 0x96, 0xb6, 0x6a, 0x4b, 0xee, 0x6f, 0xc1, 0x56, 0x8d, 0xed, 0xcb, 0xf6, 0x0f, 0x93, 0xa4, 0x4c,
414 0x6c, 0x62, 0xb2, 0xa0, 0xe1, 0x6a, 0x93, 0x30, 0x92, 0xb0, 0x34, 0x8e, 0x78, 0xca, 0x32, 0xc1,
415 0x39, 0xf7, 0x49, 0x38, 0x57, 0x2e, 0xcf, 0x5b, 0xa8, 0xfb, 0xf3, 0x04, 0x6a, 0xb6, 0x0c, 0xb2,
416 0xf8, 0x22, 0x42, 0x37, 0x50, 0x4d, 0x28, 0x27, 0x9c, 0xae, 0x99, 0xa1, 0x75, 0xb4, 0x5e, 0xcd,
417 0xa9, 0x24, 0x94, 0xdb, 0x74, 0xcd, 0xd0, 0x19, 0x14, 0xc3, 0xd8, 0x28, 0x2a, 0xb0, 0x18, 0xc6,
418 0x08, 0x41, 0x39, 0x8e, 0x12, 0x61, 0x94, 0x3a, 0x5a, 0xaf, 0xe9, 0xa8, 0x1a, 0x3d, 0xc1, 0xbf,
419 0xcc, 0x24, 0x34, 0x8e, 0x57, 0x61, 0x40, 0x45, 0x18, 0x71, 0xa2, 0x42, 0x82, 0x68, 0x65, 0x94,
420 0x3b, 0x5a, 0xef, 0xcc, 0x6c, 0xf7, 0x77, 0x2d, 0xf4, 0xb1, 0x39, 0xc8, 0x75, 0xd3, 0x4c, 0xe6,
421 0x5c, 0xb1, 0x97, 0x60, 0x34, 0x86, 0xf3, 0x20, 0xe2, 0x9c, 0x05, 0xca, 0x34, 0x15, 0x54, 0x6c,
422 0x52, 0xe3, 0x44, 0x59, 0xb6, 0x72, 0xcb, 0xe1, 0x5e, 0xe2, 0x2a, 0x85, 0xa3, 0x07, 0x47, 0x08,
423 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