RIC:1060: Change in PTL
[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.26.0
24 //      protoc        v3.15.8
25 // source: nb_identity.proto
26
27 package entities
28
29 import (
30         protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31         protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32         reflect "reflect"
33         sync "sync"
34 )
35
36 const (
37         // Verify that this generated code is sufficiently up-to-date.
38         _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39         // Verify that runtime/protoimpl is sufficiently up-to-date.
40         _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 type ConnectionStatus int32
44
45 const (
46         ConnectionStatus_UNKNOWN_CONNECTION_STATUS ConnectionStatus = 0
47         ConnectionStatus_CONNECTED                 ConnectionStatus = 1
48         ConnectionStatus_DISCONNECTED              ConnectionStatus = 2
49         ConnectionStatus_CONNECTED_SETUP_FAILED    ConnectionStatus = 3
50         ConnectionStatus_CONNECTING                ConnectionStatus = 4
51         ConnectionStatus_SHUTTING_DOWN             ConnectionStatus = 5
52         ConnectionStatus_SHUT_DOWN                 ConnectionStatus = 6
53         ConnectionStatus_UNDER_RESET               ConnectionStatus = 7
54 )
55
56 // Enum value maps for ConnectionStatus.
57 var (
58         ConnectionStatus_name = map[int32]string{
59                 0: "UNKNOWN_CONNECTION_STATUS",
60                 1: "CONNECTED",
61                 2: "DISCONNECTED",
62                 3: "CONNECTED_SETUP_FAILED",
63                 4: "CONNECTING",
64                 5: "SHUTTING_DOWN",
65                 6: "SHUT_DOWN",
66                 7: "UNDER_RESET",
67         }
68         ConnectionStatus_value = map[string]int32{
69                 "UNKNOWN_CONNECTION_STATUS": 0,
70                 "CONNECTED":                 1,
71                 "DISCONNECTED":              2,
72                 "CONNECTED_SETUP_FAILED":    3,
73                 "CONNECTING":                4,
74                 "SHUTTING_DOWN":             5,
75                 "SHUT_DOWN":                 6,
76                 "UNDER_RESET":               7,
77         }
78 )
79
80 func (x ConnectionStatus) Enum() *ConnectionStatus {
81         p := new(ConnectionStatus)
82         *p = x
83         return p
84 }
85
86 func (x ConnectionStatus) String() string {
87         return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
88 }
89
90 func (ConnectionStatus) Descriptor() protoreflect.EnumDescriptor {
91         return file_nb_identity_proto_enumTypes[0].Descriptor()
92 }
93
94 func (ConnectionStatus) Type() protoreflect.EnumType {
95         return &file_nb_identity_proto_enumTypes[0]
96 }
97
98 func (x ConnectionStatus) Number() protoreflect.EnumNumber {
99         return protoreflect.EnumNumber(x)
100 }
101
102 // Deprecated: Use ConnectionStatus.Descriptor instead.
103 func (ConnectionStatus) EnumDescriptor() ([]byte, []int) {
104         return file_nb_identity_proto_rawDescGZIP(), []int{0}
105 }
106
107 type GlobalNbId struct {
108         state         protoimpl.MessageState
109         sizeCache     protoimpl.SizeCache
110         unknownFields protoimpl.UnknownFields
111
112         PlmnId string `protobuf:"bytes,1,opt,name=plmn_id,json=plmnId,proto3" json:"plmn_id,omitempty"`
113         NbId   string `protobuf:"bytes,2,opt,name=nb_id,json=nbId,proto3" json:"nb_id,omitempty"`
114 }
115
116 func (x *GlobalNbId) Reset() {
117         *x = GlobalNbId{}
118         if protoimpl.UnsafeEnabled {
119                 mi := &file_nb_identity_proto_msgTypes[0]
120                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
121                 ms.StoreMessageInfo(mi)
122         }
123 }
124
125 func (x *GlobalNbId) String() string {
126         return protoimpl.X.MessageStringOf(x)
127 }
128
129 func (*GlobalNbId) ProtoMessage() {}
130
131 func (x *GlobalNbId) ProtoReflect() protoreflect.Message {
132         mi := &file_nb_identity_proto_msgTypes[0]
133         if protoimpl.UnsafeEnabled && x != nil {
134                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
135                 if ms.LoadMessageInfo() == nil {
136                         ms.StoreMessageInfo(mi)
137                 }
138                 return ms
139         }
140         return mi.MessageOf(x)
141 }
142
143 // Deprecated: Use GlobalNbId.ProtoReflect.Descriptor instead.
144 func (*GlobalNbId) Descriptor() ([]byte, []int) {
145         return file_nb_identity_proto_rawDescGZIP(), []int{0}
146 }
147
148 func (x *GlobalNbId) GetPlmnId() string {
149         if x != nil {
150                 return x.PlmnId
151         }
152         return ""
153 }
154
155 func (x *GlobalNbId) GetNbId() string {
156         if x != nil {
157                 return x.NbId
158         }
159         return ""
160 }
161
162 type NbIdentity struct {
163         state         protoimpl.MessageState
164         sizeCache     protoimpl.SizeCache
165         unknownFields protoimpl.UnknownFields
166
167         InventoryName                string           `protobuf:"bytes,1,opt,name=inventory_name,json=inventoryName,proto3" json:"inventory_name,omitempty"`
168         GlobalNbId                   *GlobalNbId      `protobuf:"bytes,2,opt,name=global_nb_id,json=globalNbId,proto3" json:"global_nb_id,omitempty"`
169         ConnectionStatus             ConnectionStatus `protobuf:"varint,3,opt,name=connection_status,json=connectionStatus,proto3,enum=entities.ConnectionStatus" json:"connection_status,omitempty"`
170         HealthCheckTimestampSent     int64            `protobuf:"varint,4,opt,name=health_check_timestamp_sent,json=healthCheckTimestampSent,proto3" json:"health_check_timestamp_sent,omitempty"`
171         HealthCheckTimestampReceived int64            `protobuf:"varint,5,opt,name=health_check_timestamp_received,json=healthCheckTimestampReceived,proto3" json:"health_check_timestamp_received,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 func (x *NbIdentity) GetHealthCheckTimestampSent() int64 {
228         if x != nil {
229                 return x.HealthCheckTimestampSent
230         }
231         return 0
232 }
233
234 func (x *NbIdentity) GetHealthCheckTimestampReceived() int64 {
235         if x != nil {
236                 return x.HealthCheckTimestampReceived
237         }
238         return 0
239 }
240
241 var File_nb_identity_proto protoreflect.FileDescriptor
242
243 var file_nb_identity_proto_rawDesc = []byte{
244         0x0a, 0x11, 0x6e, 0x62, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72,
245         0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3a, 0x0a,
246         0x0a, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4e, 0x62, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x70,
247         0x6c, 0x6d, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6c,
248         0x6d, 0x6e, 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x6e, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
249         0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x62, 0x49, 0x64, 0x22, 0xba, 0x02, 0x0a, 0x0a, 0x4e, 0x62,
250         0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x76, 0x65,
251         0x6e, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
252         0x52, 0x0d, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12,
253         0x36, 0x0a, 0x0c, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6e, 0x62, 0x5f, 0x69, 0x64, 0x18,
254         0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73,
255         0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4e, 0x62, 0x49, 0x64, 0x52, 0x0a, 0x67, 0x6c, 0x6f,
256         0x62, 0x61, 0x6c, 0x4e, 0x62, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
257         0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01,
258         0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x43, 0x6f,
259         0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x10,
260         0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
261         0x12, 0x3d, 0x0a, 0x1b, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b,
262         0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18,
263         0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65,
264         0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x53, 0x65, 0x6e, 0x74, 0x12,
265         0x45, 0x0a, 0x1f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f,
266         0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76,
267         0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1c, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68,
268         0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x65,
269         0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x2a, 0xb1, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
270         0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x55,
271         0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f,
272         0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f,
273         0x4e, 0x4e, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x49, 0x53,
274         0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x43,
275         0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x45, 0x44, 0x5f, 0x53, 0x45, 0x54, 0x55, 0x50, 0x5f, 0x46,
276         0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, 0x4e, 0x4e, 0x45,
277         0x43, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x48, 0x55, 0x54, 0x54,
278         0x49, 0x4e, 0x47, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x05, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x48,
279         0x55, 0x54, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x06, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x44,
280         0x45, 0x52, 0x5f, 0x52, 0x45, 0x53, 0x45, 0x54, 0x10, 0x07, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x65,
281         0x72, 0x72, 0x69, 0x74, 0x2e, 0x6f, 0x2d, 0x72, 0x61, 0x6e, 0x2d, 0x73, 0x63, 0x2e, 0x6f, 0x72,
282         0x67, 0x2f, 0x72, 0x2f, 0x72, 0x69, 0x63, 0x2d, 0x70, 0x6c, 0x74, 0x2f, 0x6e, 0x6f, 0x64, 0x65,
283         0x62, 0x2d, 0x72, 0x6e, 0x69, 0x62, 0x2f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x62,
284         0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
285 }
286
287 var (
288         file_nb_identity_proto_rawDescOnce sync.Once
289         file_nb_identity_proto_rawDescData = file_nb_identity_proto_rawDesc
290 )
291
292 func file_nb_identity_proto_rawDescGZIP() []byte {
293         file_nb_identity_proto_rawDescOnce.Do(func() {
294                 file_nb_identity_proto_rawDescData = protoimpl.X.CompressGZIP(file_nb_identity_proto_rawDescData)
295         })
296         return file_nb_identity_proto_rawDescData
297 }
298
299 var file_nb_identity_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
300 var file_nb_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
301 var file_nb_identity_proto_goTypes = []interface{}{
302         (ConnectionStatus)(0), // 0: entities.ConnectionStatus
303         (*GlobalNbId)(nil),    // 1: entities.GlobalNbId
304         (*NbIdentity)(nil),    // 2: entities.NbIdentity
305 }
306 var file_nb_identity_proto_depIdxs = []int32{
307         1, // 0: entities.NbIdentity.global_nb_id:type_name -> entities.GlobalNbId
308         0, // 1: entities.NbIdentity.connection_status:type_name -> entities.ConnectionStatus
309         2, // [2:2] is the sub-list for method output_type
310         2, // [2:2] is the sub-list for method input_type
311         2, // [2:2] is the sub-list for extension type_name
312         2, // [2:2] is the sub-list for extension extendee
313         0, // [0:2] is the sub-list for field type_name
314 }
315
316 func init() { file_nb_identity_proto_init() }
317 func file_nb_identity_proto_init() {
318         if File_nb_identity_proto != nil {
319                 return
320         }
321         if !protoimpl.UnsafeEnabled {
322                 file_nb_identity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
323                         switch v := v.(*GlobalNbId); i {
324                         case 0:
325                                 return &v.state
326                         case 1:
327                                 return &v.sizeCache
328                         case 2:
329                                 return &v.unknownFields
330                         default:
331                                 return nil
332                         }
333                 }
334                 file_nb_identity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
335                         switch v := v.(*NbIdentity); i {
336                         case 0:
337                                 return &v.state
338                         case 1:
339                                 return &v.sizeCache
340                         case 2:
341                                 return &v.unknownFields
342                         default:
343                                 return nil
344                         }
345                 }
346         }
347         type x struct{}
348         out := protoimpl.TypeBuilder{
349                 File: protoimpl.DescBuilder{
350                         GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
351                         RawDescriptor: file_nb_identity_proto_rawDesc,
352                         NumEnums:      1,
353                         NumMessages:   2,
354                         NumExtensions: 0,
355                         NumServices:   0,
356                 },
357                 GoTypes:           file_nb_identity_proto_goTypes,
358                 DependencyIndexes: file_nb_identity_proto_depIdxs,
359                 EnumInfos:         file_nb_identity_proto_enumTypes,
360                 MessageInfos:      file_nb_identity_proto_msgTypes,
361         }.Build()
362         File_nb_identity_proto = out.File
363         file_nb_identity_proto_rawDesc = nil
364         file_nb_identity_proto_goTypes = nil
365         file_nb_identity_proto_depIdxs = nil
366 }