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.
18 // This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 // platform project (RICP).
21 // Code generated by protoc-gen-go. DO NOT EDIT.
23 // protoc-gen-go v1.25.0-devel
25 // source: nb_identity.proto
30 proto "github.com/golang/protobuf/proto"
31 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
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)
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
48 type NbIdentity struct {
49 state protoimpl.MessageState
50 sizeCache protoimpl.SizeCache
51 unknownFields protoimpl.UnknownFields
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"`
57 func (x *NbIdentity) Reset() {
59 if protoimpl.UnsafeEnabled {
60 mi := &file_nb_identity_proto_msgTypes[0]
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 ms.StoreMessageInfo(mi)
66 func (x *NbIdentity) String() string {
67 return protoimpl.X.MessageStringOf(x)
70 func (*NbIdentity) ProtoMessage() {}
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)
81 return mi.MessageOf(x)
84 // Deprecated: Use NbIdentity.ProtoReflect.Descriptor instead.
85 func (*NbIdentity) Descriptor() ([]byte, []int) {
86 return file_nb_identity_proto_rawDescGZIP(), []int{0}
89 func (x *NbIdentity) GetInventoryName() string {
91 return x.InventoryName
96 func (x *NbIdentity) GetGlobalNbId() *GlobalNbId {
103 type GlobalNbId struct {
104 state protoimpl.MessageState
105 sizeCache protoimpl.SizeCache
106 unknownFields protoimpl.UnknownFields
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"`
112 func (x *GlobalNbId) Reset() {
114 if protoimpl.UnsafeEnabled {
115 mi := &file_nb_identity_proto_msgTypes[1]
116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
117 ms.StoreMessageInfo(mi)
121 func (x *GlobalNbId) String() string {
122 return protoimpl.X.MessageStringOf(x)
125 func (*GlobalNbId) ProtoMessage() {}
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)
136 return mi.MessageOf(x)
139 // Deprecated: Use GlobalNbId.ProtoReflect.Descriptor instead.
140 func (*GlobalNbId) Descriptor() ([]byte, []int) {
141 return file_nb_identity_proto_rawDescGZIP(), []int{1}
144 func (x *GlobalNbId) GetPlmnId() string {
151 func (x *GlobalNbId) GetNbId() string {
158 var File_nb_identity_proto protoreflect.FileDescriptor
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,
177 file_nb_identity_proto_rawDescOnce sync.Once
178 file_nb_identity_proto_rawDescData = file_nb_identity_proto_rawDesc
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)
185 return file_nb_identity_proto_rawDescData
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
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
202 func init() { file_nb_identity_proto_init() }
203 func file_nb_identity_proto_init() {
204 if File_nb_identity_proto != nil {
207 if !protoimpl.UnsafeEnabled {
208 file_nb_identity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
209 switch v := v.(*NbIdentity); i {
215 return &v.unknownFields
220 file_nb_identity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
221 switch v := v.(*GlobalNbId); i {
227 return &v.unknownFields
234 out := protoimpl.TypeBuilder{
235 File: protoimpl.DescBuilder{
236 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
237 RawDescriptor: file_nb_identity_proto_rawDesc,
243 GoTypes: file_nb_identity_proto_goTypes,
244 DependencyIndexes: file_nb_identity_proto_depIdxs,
245 MessageInfos: file_nb_identity_proto_msgTypes,
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