ss412g | 1acbc2c | 2019-11-12 19:34:17 +0200 | [diff] [blame] | 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 | |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 17 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 18 | // source: nb_identity.proto |
| 19 | |
| 20 | package entities |
| 21 | |
| 22 | import ( |
| 23 | fmt "fmt" |
| 24 | proto "github.com/golang/protobuf/proto" |
| 25 | math "math" |
| 26 | ) |
| 27 | |
| 28 | // Reference imports to suppress errors if they are not otherwise used. |
| 29 | var _ = proto.Marshal |
| 30 | var _ = fmt.Errorf |
| 31 | var _ = math.Inf |
| 32 | |
| 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 |
| 38 | |
| 39 | type NbIdentity struct { |
| 40 | InventoryName string `protobuf:"bytes,1,opt,name=inventory_name,json=inventoryName,proto3" json:"inventory_name,omitempty"` |
| 41 | GlobalNbId *GlobalNbId `protobuf:"bytes,2,opt,name=global_nb_id,json=globalNbId,proto3" json:"global_nb_id,omitempty"` |
| 42 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 43 | XXX_unrecognized []byte `json:"-"` |
| 44 | XXX_sizecache int32 `json:"-"` |
| 45 | } |
| 46 | |
| 47 | func (m *NbIdentity) Reset() { *m = NbIdentity{} } |
| 48 | func (m *NbIdentity) String() string { return proto.CompactTextString(m) } |
| 49 | func (*NbIdentity) ProtoMessage() {} |
| 50 | func (*NbIdentity) Descriptor() ([]byte, []int) { |
| 51 | return fileDescriptor_a07701eb9efb4b89, []int{0} |
| 52 | } |
| 53 | |
| 54 | func (m *NbIdentity) XXX_Unmarshal(b []byte) error { |
| 55 | return xxx_messageInfo_NbIdentity.Unmarshal(m, b) |
| 56 | } |
| 57 | func (m *NbIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 58 | return xxx_messageInfo_NbIdentity.Marshal(b, m, deterministic) |
| 59 | } |
| 60 | func (m *NbIdentity) XXX_Merge(src proto.Message) { |
| 61 | xxx_messageInfo_NbIdentity.Merge(m, src) |
| 62 | } |
| 63 | func (m *NbIdentity) XXX_Size() int { |
| 64 | return xxx_messageInfo_NbIdentity.Size(m) |
| 65 | } |
| 66 | func (m *NbIdentity) XXX_DiscardUnknown() { |
| 67 | xxx_messageInfo_NbIdentity.DiscardUnknown(m) |
| 68 | } |
| 69 | |
| 70 | var xxx_messageInfo_NbIdentity proto.InternalMessageInfo |
| 71 | |
| 72 | func (m *NbIdentity) GetInventoryName() string { |
| 73 | if m != nil { |
| 74 | return m.InventoryName |
| 75 | } |
| 76 | return "" |
| 77 | } |
| 78 | |
| 79 | func (m *NbIdentity) GetGlobalNbId() *GlobalNbId { |
| 80 | if m != nil { |
| 81 | return m.GlobalNbId |
| 82 | } |
| 83 | return nil |
| 84 | } |
| 85 | |
| 86 | type GlobalNbId struct { |
| 87 | PlmnId string `protobuf:"bytes,1,opt,name=plmn_id,json=plmnId,proto3" json:"plmn_id,omitempty"` |
| 88 | NbId string `protobuf:"bytes,2,opt,name=nb_id,json=nbId,proto3" json:"nb_id,omitempty"` |
| 89 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 90 | XXX_unrecognized []byte `json:"-"` |
| 91 | XXX_sizecache int32 `json:"-"` |
| 92 | } |
| 93 | |
| 94 | func (m *GlobalNbId) Reset() { *m = GlobalNbId{} } |
| 95 | func (m *GlobalNbId) String() string { return proto.CompactTextString(m) } |
| 96 | func (*GlobalNbId) ProtoMessage() {} |
| 97 | func (*GlobalNbId) Descriptor() ([]byte, []int) { |
| 98 | return fileDescriptor_a07701eb9efb4b89, []int{1} |
| 99 | } |
| 100 | |
| 101 | func (m *GlobalNbId) XXX_Unmarshal(b []byte) error { |
| 102 | return xxx_messageInfo_GlobalNbId.Unmarshal(m, b) |
| 103 | } |
| 104 | func (m *GlobalNbId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 105 | return xxx_messageInfo_GlobalNbId.Marshal(b, m, deterministic) |
| 106 | } |
| 107 | func (m *GlobalNbId) XXX_Merge(src proto.Message) { |
| 108 | xxx_messageInfo_GlobalNbId.Merge(m, src) |
| 109 | } |
| 110 | func (m *GlobalNbId) XXX_Size() int { |
| 111 | return xxx_messageInfo_GlobalNbId.Size(m) |
| 112 | } |
| 113 | func (m *GlobalNbId) XXX_DiscardUnknown() { |
| 114 | xxx_messageInfo_GlobalNbId.DiscardUnknown(m) |
| 115 | } |
| 116 | |
| 117 | var xxx_messageInfo_GlobalNbId proto.InternalMessageInfo |
| 118 | |
| 119 | func (m *GlobalNbId) GetPlmnId() string { |
| 120 | if m != nil { |
| 121 | return m.PlmnId |
| 122 | } |
| 123 | return "" |
| 124 | } |
| 125 | |
| 126 | func (m *GlobalNbId) GetNbId() string { |
| 127 | if m != nil { |
| 128 | return m.NbId |
| 129 | } |
| 130 | return "" |
| 131 | } |
| 132 | |
| 133 | func init() { |
| 134 | proto.RegisterType((*NbIdentity)(nil), "entities.NbIdentity") |
| 135 | proto.RegisterType((*GlobalNbId)(nil), "entities.GlobalNbId") |
| 136 | } |
| 137 | |
| 138 | func init() { proto.RegisterFile("nb_identity.proto", fileDescriptor_a07701eb9efb4b89) } |
| 139 | |
| 140 | var fileDescriptor_a07701eb9efb4b89 = []byte{ |
| 141 | // 167 bytes of a gzipped FileDescriptorProto |
| 142 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcc, 0x4b, 0x8a, 0xcf, |
| 143 | 0x4c, 0x49, 0xcd, 0x2b, 0xc9, 0x2c, 0xa9, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, |
| 144 | 0xf3, 0x32, 0x53, 0x8b, 0x95, 0xb2, 0xb9, 0xb8, 0xfc, 0x92, 0x3c, 0xa1, 0xb2, 0x42, 0xaa, 0x5c, |
| 145 | 0x7c, 0x99, 0x79, 0x65, 0xa9, 0x79, 0x25, 0xf9, 0x45, 0x95, 0xf1, 0x79, 0x89, 0xb9, 0xa9, 0x12, |
| 146 | 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0xbc, 0x70, 0x51, 0xbf, 0xc4, 0xdc, 0x54, 0x21, 0x33, 0x2e, |
| 147 | 0x9e, 0xf4, 0x9c, 0xfc, 0xa4, 0xc4, 0x9c, 0x78, 0xb0, 0xd1, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xdc, |
| 148 | 0x46, 0x22, 0x7a, 0x30, 0x53, 0xf5, 0xdc, 0xc1, 0xb2, 0x20, 0x83, 0x83, 0xb8, 0xd2, 0xe1, 0x6c, |
| 149 | 0x25, 0x2b, 0x2e, 0x2e, 0x84, 0x8c, 0x90, 0x38, 0x17, 0x7b, 0x41, 0x4e, 0x6e, 0x1e, 0xc8, 0x00, |
| 150 | 0x88, 0x2d, 0x6c, 0x20, 0xae, 0x67, 0x8a, 0x90, 0x30, 0x17, 0x2b, 0xc2, 0x5c, 0xce, 0x20, 0x96, |
| 151 | 0xbc, 0x24, 0xcf, 0x94, 0x24, 0x36, 0xb0, 0xcb, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3f, |
| 152 | 0x65, 0xd0, 0x4b, 0xce, 0x00, 0x00, 0x00, |
| 153 | } |