[RIC-430] Update NbIdentity proto
[ric-plt/nodeb-rnib.git] / entities / nb_identity.pb.go
1 //
2 // Copyright 2019 AT&T Intellectual Property
3 // Copyright 2019 Nokia
4 //
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
8 //
9 //      http://www.apache.org/licenses/LICENSE-2.0
10 //
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.
16
17 //
18 // This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 // platform project (RICP).
20
21 // Code generated by protoc-gen-go. DO NOT EDIT.
22 // versions:
23 //      protoc-gen-go v1.25.0-devel
24 //      protoc        v3.6.1
25 // source: nb_identity.proto
26
27 package entities
28
29 import (
30         proto "github.com/golang/protobuf/proto"
31         protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32         protoimpl "google.golang.org/protobuf/runtime/protoimpl"
33         reflect "reflect"
34         sync "sync"
35 )
36
37 const (
38         // Verify that this generated code is sufficiently up-to-date.
39         _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40         // Verify that runtime/protoimpl is sufficiently up-to-date.
41         _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44 // This is a compile-time assertion that a sufficiently up-to-date version
45 // of the legacy proto package is being used.
46 const _ = proto.ProtoPackageIsVersion4
47
48 type ConnectionStatus int32
49
50 const (
51         ConnectionStatus_UNKNOWN_CONNECTION_STATUS ConnectionStatus = 0
52         ConnectionStatus_CONNECTED                 ConnectionStatus = 1
53         ConnectionStatus_DISCONNECTED              ConnectionStatus = 2
54         ConnectionStatus_CONNECTED_SETUP_FAILED    ConnectionStatus = 3
55         ConnectionStatus_CONNECTING                ConnectionStatus = 4
56         ConnectionStatus_SHUTTING_DOWN             ConnectionStatus = 5
57         ConnectionStatus_SHUT_DOWN                 ConnectionStatus = 6
58 )
59
60 // Enum value maps for ConnectionStatus.
61 var (
62         ConnectionStatus_name = map[int32]string{
63                 0: "UNKNOWN_CONNECTION_STATUS",
64                 1: "CONNECTED",
65                 2: "DISCONNECTED",
66                 3: "CONNECTED_SETUP_FAILED",
67                 4: "CONNECTING",
68                 5: "SHUTTING_DOWN",
69                 6: "SHUT_DOWN",
70         }
71         ConnectionStatus_value = map[string]int32{
72                 "UNKNOWN_CONNECTION_STATUS": 0,
73                 "CONNECTED":                 1,
74                 "DISCONNECTED":              2,
75                 "CONNECTED_SETUP_FAILED":    3,
76                 "CONNECTING":                4,
77                 "SHUTTING_DOWN":             5,
78                 "SHUT_DOWN":                 6,
79         }
80 )
81
82 func (x ConnectionStatus) Enum() *ConnectionStatus {
83         p := new(ConnectionStatus)
84         *p = x
85         return p
86 }
87
88 func (x ConnectionStatus) String() string {
89         return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
90 }
91
92 func (ConnectionStatus) Descriptor() protoreflect.EnumDescriptor {
93         return file_nb_identity_proto_enumTypes[0].Descriptor()
94 }
95
96 func (ConnectionStatus) Type() protoreflect.EnumType {
97         return &file_nb_identity_proto_enumTypes[0]
98 }
99
100 func (x ConnectionStatus) Number() protoreflect.EnumNumber {
101         return protoreflect.EnumNumber(x)
102 }
103
104 // Deprecated: Use ConnectionStatus.Descriptor instead.
105 func (ConnectionStatus) EnumDescriptor() ([]byte, []int) {
106         return file_nb_identity_proto_rawDescGZIP(), []int{0}
107 }
108
109 type GlobalNbId struct {
110         state         protoimpl.MessageState
111         sizeCache     protoimpl.SizeCache
112         unknownFields protoimpl.UnknownFields
113
114         PlmnId string `protobuf:"bytes,1,opt,name=plmn_id,json=plmnId,proto3" json:"plmn_id,omitempty"`
115         NbId   string `protobuf:"bytes,2,opt,name=nb_id,json=nbId,proto3" json:"nb_id,omitempty"`
116 }
117
118 func (x *GlobalNbId) Reset() {
119         *x = GlobalNbId{}
120         if protoimpl.UnsafeEnabled {
121                 mi := &file_nb_identity_proto_msgTypes[0]
122                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
123                 ms.StoreMessageInfo(mi)
124         }
125 }
126
127 func (x *GlobalNbId) String() string {
128         return protoimpl.X.MessageStringOf(x)
129 }
130
131 func (*GlobalNbId) ProtoMessage() {}
132
133 func (x *GlobalNbId) ProtoReflect() protoreflect.Message {
134         mi := &file_nb_identity_proto_msgTypes[0]
135         if protoimpl.UnsafeEnabled && x != nil {
136                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
137                 if ms.LoadMessageInfo() == nil {
138                         ms.StoreMessageInfo(mi)
139                 }
140                 return ms
141         }
142         return mi.MessageOf(x)
143 }
144
145 // Deprecated: Use GlobalNbId.ProtoReflect.Descriptor instead.
146 func (*GlobalNbId) Descriptor() ([]byte, []int) {
147         return file_nb_identity_proto_rawDescGZIP(), []int{0}
148 }
149
150 func (x *GlobalNbId) GetPlmnId() string {
151         if x != nil {
152                 return x.PlmnId
153         }
154         return ""
155 }
156
157 func (x *GlobalNbId) GetNbId() string {
158         if x != nil {
159                 return x.NbId
160         }
161         return ""
162 }
163
164 type NbIdentity struct {
165         state         protoimpl.MessageState
166         sizeCache     protoimpl.SizeCache
167         unknownFields protoimpl.UnknownFields
168
169         InventoryName    string           `protobuf:"bytes,1,opt,name=inventory_name,json=inventoryName,proto3" json:"inventory_name,omitempty"`
170         GlobalNbId       *GlobalNbId      `protobuf:"bytes,2,opt,name=global_nb_id,json=globalNbId,proto3" json:"global_nb_id,omitempty"`
171         ConnectionStatus ConnectionStatus `protobuf:"varint,3,opt,name=connection_status,json=connectionStatus,proto3,enum=entities.ConnectionStatus" json:"connection_status,omitempty"`
172 }
173
174 func (x *NbIdentity) Reset() {
175         *x = NbIdentity{}
176         if protoimpl.UnsafeEnabled {
177                 mi := &file_nb_identity_proto_msgTypes[1]
178                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
179                 ms.StoreMessageInfo(mi)
180         }
181 }
182
183 func (x *NbIdentity) String() string {
184         return protoimpl.X.MessageStringOf(x)
185 }
186
187 func (*NbIdentity) ProtoMessage() {}
188
189 func (x *NbIdentity) ProtoReflect() protoreflect.Message {
190         mi := &file_nb_identity_proto_msgTypes[1]
191         if protoimpl.UnsafeEnabled && x != nil {
192                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
193                 if ms.LoadMessageInfo() == nil {
194                         ms.StoreMessageInfo(mi)
195                 }
196                 return ms
197         }
198         return mi.MessageOf(x)
199 }
200
201 // Deprecated: Use NbIdentity.ProtoReflect.Descriptor instead.
202 func (*NbIdentity) Descriptor() ([]byte, []int) {
203         return file_nb_identity_proto_rawDescGZIP(), []int{1}
204 }
205
206 func (x *NbIdentity) GetInventoryName() string {
207         if x != nil {
208                 return x.InventoryName
209         }
210         return ""
211 }
212
213 func (x *NbIdentity) GetGlobalNbId() *GlobalNbId {
214         if x != nil {
215                 return x.GlobalNbId
216         }
217         return nil
218 }
219
220 func (x *NbIdentity) GetConnectionStatus() ConnectionStatus {
221         if x != nil {
222                 return x.ConnectionStatus
223         }
224         return ConnectionStatus_UNKNOWN_CONNECTION_STATUS
225 }
226
227 var File_nb_identity_proto protoreflect.FileDescriptor
228
229 var file_nb_identity_proto_rawDesc = []byte{
230         0x0a, 0x11, 0x6e, 0x62, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72,
231         0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3a, 0x0a,
232         0x0a, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4e, 0x62, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x70,
233         0x6c, 0x6d, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6c,
234         0x6d, 0x6e, 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x6e, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
235         0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x62, 0x49, 0x64, 0x22, 0xb4, 0x01, 0x0a, 0x0a, 0x4e, 0x62,
236         0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x76, 0x65,
237         0x6e, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
238         0x52, 0x0d, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12,
239         0x36, 0x0a, 0x0c, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6e, 0x62, 0x5f, 0x69, 0x64, 0x18,
240         0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73,
241         0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4e, 0x62, 0x49, 0x64, 0x52, 0x0a, 0x67, 0x6c, 0x6f,
242         0x62, 0x61, 0x6c, 0x4e, 0x62, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
243         0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01,
244         0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x43, 0x6f,
245         0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x10,
246         0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
247         0x2a, 0xa0, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53,
248         0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
249         0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54,
250         0x55, 0x53, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x45,
251         0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43,
252         0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54,
253         0x45, 0x44, 0x5f, 0x53, 0x45, 0x54, 0x55, 0x50, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10,
254         0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4e, 0x47, 0x10,
255         0x04, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x48, 0x55, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x44, 0x4f,
256         0x57, 0x4e, 0x10, 0x05, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x48, 0x55, 0x54, 0x5f, 0x44, 0x4f, 0x57,
257         0x4e, 0x10, 0x06, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
258 }
259
260 var (
261         file_nb_identity_proto_rawDescOnce sync.Once
262         file_nb_identity_proto_rawDescData = file_nb_identity_proto_rawDesc
263 )
264
265 func file_nb_identity_proto_rawDescGZIP() []byte {
266         file_nb_identity_proto_rawDescOnce.Do(func() {
267                 file_nb_identity_proto_rawDescData = protoimpl.X.CompressGZIP(file_nb_identity_proto_rawDescData)
268         })
269         return file_nb_identity_proto_rawDescData
270 }
271
272 var file_nb_identity_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
273 var file_nb_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
274 var file_nb_identity_proto_goTypes = []interface{}{
275         (ConnectionStatus)(0), // 0: entities.ConnectionStatus
276         (*GlobalNbId)(nil),    // 1: entities.GlobalNbId
277         (*NbIdentity)(nil),    // 2: entities.NbIdentity
278 }
279 var file_nb_identity_proto_depIdxs = []int32{
280         1, // 0: entities.NbIdentity.global_nb_id:type_name -> entities.GlobalNbId
281         0, // 1: entities.NbIdentity.connection_status:type_name -> entities.ConnectionStatus
282         2, // [2:2] is the sub-list for method output_type
283         2, // [2:2] is the sub-list for method input_type
284         2, // [2:2] is the sub-list for extension type_name
285         2, // [2:2] is the sub-list for extension extendee
286         0, // [0:2] is the sub-list for field type_name
287 }
288
289 func init() { file_nb_identity_proto_init() }
290 func file_nb_identity_proto_init() {
291         if File_nb_identity_proto != nil {
292                 return
293         }
294         if !protoimpl.UnsafeEnabled {
295                 file_nb_identity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
296                         switch v := v.(*GlobalNbId); i {
297                         case 0:
298                                 return &v.state
299                         case 1:
300                                 return &v.sizeCache
301                         case 2:
302                                 return &v.unknownFields
303                         default:
304                                 return nil
305                         }
306                 }
307                 file_nb_identity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
308                         switch v := v.(*NbIdentity); i {
309                         case 0:
310                                 return &v.state
311                         case 1:
312                                 return &v.sizeCache
313                         case 2:
314                                 return &v.unknownFields
315                         default:
316                                 return nil
317                         }
318                 }
319         }
320         type x struct{}
321         out := protoimpl.TypeBuilder{
322                 File: protoimpl.DescBuilder{
323                         GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
324                         RawDescriptor: file_nb_identity_proto_rawDesc,
325                         NumEnums:      1,
326                         NumMessages:   2,
327                         NumExtensions: 0,
328                         NumServices:   0,
329                 },
330                 GoTypes:           file_nb_identity_proto_goTypes,
331                 DependencyIndexes: file_nb_identity_proto_depIdxs,
332                 EnumInfos:         file_nb_identity_proto_enumTypes,
333                 MessageInfos:      file_nb_identity_proto_msgTypes,
334         }.Build()
335         File_nb_identity_proto = out.File
336         file_nb_identity_proto_rawDesc = nil
337         file_nb_identity_proto_goTypes = nil
338         file_nb_identity_proto_depIdxs = nil
339 }