[RIC-384] Update ran_function.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.23.0
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 NbIdentity struct {
49         state         protoimpl.MessageState
50         sizeCache     protoimpl.SizeCache
51         unknownFields protoimpl.UnknownFields
52
53         InventoryName string      `protobuf:"bytes,1,opt,name=inventory_name,json=inventoryName,proto3" json:"inventory_name,omitempty"`
54         GlobalNbId    *GlobalNbId `protobuf:"bytes,2,opt,name=global_nb_id,json=globalNbId,proto3" json:"global_nb_id,omitempty"`
55 }
56
57 func (x *NbIdentity) Reset() {
58         *x = NbIdentity{}
59         if protoimpl.UnsafeEnabled {
60                 mi := &file_nb_identity_proto_msgTypes[0]
61                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62                 ms.StoreMessageInfo(mi)
63         }
64 }
65
66 func (x *NbIdentity) String() string {
67         return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*NbIdentity) ProtoMessage() {}
71
72 func (x *NbIdentity) ProtoReflect() protoreflect.Message {
73         mi := &file_nb_identity_proto_msgTypes[0]
74         if protoimpl.UnsafeEnabled && x != nil {
75                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76                 if ms.LoadMessageInfo() == nil {
77                         ms.StoreMessageInfo(mi)
78                 }
79                 return ms
80         }
81         return mi.MessageOf(x)
82 }
83
84 // Deprecated: Use NbIdentity.ProtoReflect.Descriptor instead.
85 func (*NbIdentity) Descriptor() ([]byte, []int) {
86         return file_nb_identity_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *NbIdentity) GetInventoryName() string {
90         if x != nil {
91                 return x.InventoryName
92         }
93         return ""
94 }
95
96 func (x *NbIdentity) GetGlobalNbId() *GlobalNbId {
97         if x != nil {
98                 return x.GlobalNbId
99         }
100         return nil
101 }
102
103 type GlobalNbId struct {
104         state         protoimpl.MessageState
105         sizeCache     protoimpl.SizeCache
106         unknownFields protoimpl.UnknownFields
107
108         PlmnId string `protobuf:"bytes,1,opt,name=plmn_id,json=plmnId,proto3" json:"plmn_id,omitempty"`
109         NbId   string `protobuf:"bytes,2,opt,name=nb_id,json=nbId,proto3" json:"nb_id,omitempty"`
110 }
111
112 func (x *GlobalNbId) Reset() {
113         *x = GlobalNbId{}
114         if protoimpl.UnsafeEnabled {
115                 mi := &file_nb_identity_proto_msgTypes[1]
116                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
117                 ms.StoreMessageInfo(mi)
118         }
119 }
120
121 func (x *GlobalNbId) String() string {
122         return protoimpl.X.MessageStringOf(x)
123 }
124
125 func (*GlobalNbId) ProtoMessage() {}
126
127 func (x *GlobalNbId) ProtoReflect() protoreflect.Message {
128         mi := &file_nb_identity_proto_msgTypes[1]
129         if protoimpl.UnsafeEnabled && x != nil {
130                 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
131                 if ms.LoadMessageInfo() == nil {
132                         ms.StoreMessageInfo(mi)
133                 }
134                 return ms
135         }
136         return mi.MessageOf(x)
137 }
138
139 // Deprecated: Use GlobalNbId.ProtoReflect.Descriptor instead.
140 func (*GlobalNbId) Descriptor() ([]byte, []int) {
141         return file_nb_identity_proto_rawDescGZIP(), []int{1}
142 }
143
144 func (x *GlobalNbId) GetPlmnId() string {
145         if x != nil {
146                 return x.PlmnId
147         }
148         return ""
149 }
150
151 func (x *GlobalNbId) GetNbId() string {
152         if x != nil {
153                 return x.NbId
154         }
155         return ""
156 }
157
158 var File_nb_identity_proto protoreflect.FileDescriptor
159
160 var file_nb_identity_proto_rawDesc = []byte{
161         0x0a, 0x11, 0x6e, 0x62, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72,
162         0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x6b, 0x0a,
163         0x0a, 0x4e, 0x62, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x69,
164         0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
165         0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61,
166         0x6d, 0x65, 0x12, 0x36, 0x0a, 0x0c, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6e, 0x62, 0x5f,
167         0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, 0x6e, 0x74, 0x69, 0x74,
168         0x69, 0x65, 0x73, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4e, 0x62, 0x49, 0x64, 0x52, 0x0a,
169         0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4e, 0x62, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x0a, 0x47, 0x6c,
170         0x6f, 0x62, 0x61, 0x6c, 0x4e, 0x62, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x6d, 0x6e,
171         0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6c, 0x6d, 0x6e, 0x49,
172         0x64, 0x12, 0x13, 0x0a, 0x05, 0x6e, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
173         0x52, 0x04, 0x6e, 0x62, 0x49, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
174 }
175
176 var (
177         file_nb_identity_proto_rawDescOnce sync.Once
178         file_nb_identity_proto_rawDescData = file_nb_identity_proto_rawDesc
179 )
180
181 func file_nb_identity_proto_rawDescGZIP() []byte {
182         file_nb_identity_proto_rawDescOnce.Do(func() {
183                 file_nb_identity_proto_rawDescData = protoimpl.X.CompressGZIP(file_nb_identity_proto_rawDescData)
184         })
185         return file_nb_identity_proto_rawDescData
186 }
187
188 var file_nb_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
189 var file_nb_identity_proto_goTypes = []interface{}{
190         (*NbIdentity)(nil), // 0: entities.NbIdentity
191         (*GlobalNbId)(nil), // 1: entities.GlobalNbId
192 }
193 var file_nb_identity_proto_depIdxs = []int32{
194         1, // 0: entities.NbIdentity.global_nb_id:type_name -> entities.GlobalNbId
195         1, // [1:1] is the sub-list for method output_type
196         1, // [1:1] is the sub-list for method input_type
197         1, // [1:1] is the sub-list for extension type_name
198         1, // [1:1] is the sub-list for extension extendee
199         0, // [0:1] is the sub-list for field type_name
200 }
201
202 func init() { file_nb_identity_proto_init() }
203 func file_nb_identity_proto_init() {
204         if File_nb_identity_proto != nil {
205                 return
206         }
207         if !protoimpl.UnsafeEnabled {
208                 file_nb_identity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
209                         switch v := v.(*NbIdentity); i {
210                         case 0:
211                                 return &v.state
212                         case 1:
213                                 return &v.sizeCache
214                         case 2:
215                                 return &v.unknownFields
216                         default:
217                                 return nil
218                         }
219                 }
220                 file_nb_identity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
221                         switch v := v.(*GlobalNbId); i {
222                         case 0:
223                                 return &v.state
224                         case 1:
225                                 return &v.sizeCache
226                         case 2:
227                                 return &v.unknownFields
228                         default:
229                                 return nil
230                         }
231                 }
232         }
233         type x struct{}
234         out := protoimpl.TypeBuilder{
235                 File: protoimpl.DescBuilder{
236                         GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
237                         RawDescriptor: file_nb_identity_proto_rawDesc,
238                         NumEnums:      0,
239                         NumMessages:   2,
240                         NumExtensions: 0,
241                         NumServices:   0,
242                 },
243                 GoTypes:           file_nb_identity_proto_goTypes,
244                 DependencyIndexes: file_nb_identity_proto_depIdxs,
245                 MessageInfos:      file_nb_identity_proto_msgTypes,
246         }.Build()
247         File_nb_identity_proto = out.File
248         file_nb_identity_proto_rawDesc = nil
249         file_nb_identity_proto_goTypes = nil
250         file_nb_identity_proto_depIdxs = nil
251 }