| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1 | // Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at: |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 15 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 16 | // versions: |
| 17 | // protoc-gen-go v1.36.11 |
| 18 | // protoc v4.25.8 |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 19 | // source: voltha_protos/voip_user_profile.proto |
| 20 | |
| 21 | package voip_user_profile |
| 22 | |
| 23 | import ( |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 24 | _ "google.golang.org/genproto/googleapis/api/annotations" |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 25 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 26 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 27 | reflect "reflect" |
| 28 | sync "sync" |
| 29 | unsafe "unsafe" |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 30 | ) |
| 31 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 32 | const ( |
| 33 | // Verify that this generated code is sufficiently up-to-date. |
| 34 | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 35 | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| 36 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 37 | ) |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 38 | |
| 39 | // A user specific profile for voip service |
| 40 | type VoipUserProfileRequest struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 41 | state protoimpl.MessageState `protogen:"open.v1"` |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 42 | // for the path in KV store |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 43 | Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` |
| 44 | VoipUserProfile *VoipUserProfile `protobuf:"bytes,2,opt,name=voipUserProfile,proto3" json:"voipUserProfile,omitempty"` |
| 45 | unknownFields protoimpl.UnknownFields |
| 46 | sizeCache protoimpl.SizeCache |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 47 | } |
| 48 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 49 | func (x *VoipUserProfileRequest) Reset() { |
| 50 | *x = VoipUserProfileRequest{} |
| 51 | mi := &file_voltha_protos_voip_user_profile_proto_msgTypes[0] |
| 52 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 53 | ms.StoreMessageInfo(mi) |
| 54 | } |
| 55 | |
| 56 | func (x *VoipUserProfileRequest) String() string { |
| 57 | return protoimpl.X.MessageStringOf(x) |
| 58 | } |
| 59 | |
| 60 | func (*VoipUserProfileRequest) ProtoMessage() {} |
| 61 | |
| 62 | func (x *VoipUserProfileRequest) ProtoReflect() protoreflect.Message { |
| 63 | mi := &file_voltha_protos_voip_user_profile_proto_msgTypes[0] |
| 64 | if x != nil { |
| 65 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 66 | if ms.LoadMessageInfo() == nil { |
| 67 | ms.StoreMessageInfo(mi) |
| 68 | } |
| 69 | return ms |
| 70 | } |
| 71 | return mi.MessageOf(x) |
| 72 | } |
| 73 | |
| 74 | // Deprecated: Use VoipUserProfileRequest.ProtoReflect.Descriptor instead. |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 75 | func (*VoipUserProfileRequest) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 76 | return file_voltha_protos_voip_user_profile_proto_rawDescGZIP(), []int{0} |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 77 | } |
| 78 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 79 | func (x *VoipUserProfileRequest) GetKey() string { |
| 80 | if x != nil { |
| 81 | return x.Key |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 82 | } |
| 83 | return "" |
| 84 | } |
| 85 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 86 | func (x *VoipUserProfileRequest) GetVoipUserProfile() *VoipUserProfile { |
| 87 | if x != nil { |
| 88 | return x.VoipUserProfile |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 89 | } |
| 90 | return nil |
| 91 | } |
| 92 | |
| 93 | type VoipUserProfile struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 94 | state protoimpl.MessageState `protogen:"open.v1"` |
| 95 | VoipSystemProfileKey string `protobuf:"bytes,1,opt,name=voipSystemProfileKey,proto3" json:"voipSystemProfileKey,omitempty"` |
| 96 | Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` |
| 97 | Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` |
| 98 | Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"` |
| 99 | Proxy string `protobuf:"bytes,5,opt,name=proxy,proto3" json:"proxy,omitempty"` |
| 100 | Port uint32 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"` |
| 101 | SipDisplayName string `protobuf:"bytes,7,opt,name=sipDisplayName,proto3" json:"sipDisplayName,omitempty"` |
| 102 | Realm string `protobuf:"bytes,8,opt,name=realm,proto3" json:"realm,omitempty"` |
| 103 | unknownFields protoimpl.UnknownFields |
| 104 | sizeCache protoimpl.SizeCache |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 105 | } |
| 106 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 107 | func (x *VoipUserProfile) Reset() { |
| 108 | *x = VoipUserProfile{} |
| 109 | mi := &file_voltha_protos_voip_user_profile_proto_msgTypes[1] |
| 110 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 111 | ms.StoreMessageInfo(mi) |
| 112 | } |
| 113 | |
| 114 | func (x *VoipUserProfile) String() string { |
| 115 | return protoimpl.X.MessageStringOf(x) |
| 116 | } |
| 117 | |
| 118 | func (*VoipUserProfile) ProtoMessage() {} |
| 119 | |
| 120 | func (x *VoipUserProfile) ProtoReflect() protoreflect.Message { |
| 121 | mi := &file_voltha_protos_voip_user_profile_proto_msgTypes[1] |
| 122 | if x != nil { |
| 123 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 124 | if ms.LoadMessageInfo() == nil { |
| 125 | ms.StoreMessageInfo(mi) |
| 126 | } |
| 127 | return ms |
| 128 | } |
| 129 | return mi.MessageOf(x) |
| 130 | } |
| 131 | |
| 132 | // Deprecated: Use VoipUserProfile.ProtoReflect.Descriptor instead. |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 133 | func (*VoipUserProfile) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 134 | return file_voltha_protos_voip_user_profile_proto_rawDescGZIP(), []int{1} |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 135 | } |
| 136 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 137 | func (x *VoipUserProfile) GetVoipSystemProfileKey() string { |
| 138 | if x != nil { |
| 139 | return x.VoipSystemProfileKey |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 140 | } |
| 141 | return "" |
| 142 | } |
| 143 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 144 | func (x *VoipUserProfile) GetUsername() string { |
| 145 | if x != nil { |
| 146 | return x.Username |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 147 | } |
| 148 | return "" |
| 149 | } |
| 150 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 151 | func (x *VoipUserProfile) GetPassword() string { |
| 152 | if x != nil { |
| 153 | return x.Password |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 154 | } |
| 155 | return "" |
| 156 | } |
| 157 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 158 | func (x *VoipUserProfile) GetDomain() string { |
| 159 | if x != nil { |
| 160 | return x.Domain |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 161 | } |
| 162 | return "" |
| 163 | } |
| 164 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 165 | func (x *VoipUserProfile) GetProxy() string { |
| 166 | if x != nil { |
| 167 | return x.Proxy |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 168 | } |
| 169 | return "" |
| 170 | } |
| 171 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 172 | func (x *VoipUserProfile) GetPort() uint32 { |
| 173 | if x != nil { |
| 174 | return x.Port |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 175 | } |
| 176 | return 0 |
| 177 | } |
| 178 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 179 | func (x *VoipUserProfile) GetSipDisplayName() string { |
| 180 | if x != nil { |
| 181 | return x.SipDisplayName |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 182 | } |
| 183 | return "" |
| 184 | } |
| 185 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 186 | func (x *VoipUserProfile) GetRealm() string { |
| 187 | if x != nil { |
| 188 | return x.Realm |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 189 | } |
| 190 | return "" |
| 191 | } |
| 192 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 193 | var File_voltha_protos_voip_user_profile_proto protoreflect.FileDescriptor |
| 194 | |
| 195 | const file_voltha_protos_voip_user_profile_proto_rawDesc = "" + |
| 196 | "\n" + |
| 197 | "%voltha_protos/voip_user_profile.proto\x12\x11voip_user_profile\x1a\x1cgoogle/api/annotations.proto\"x\n" + |
| 198 | "\x16VoipUserProfileRequest\x12\x10\n" + |
| 199 | "\x03key\x18\x01 \x01(\tR\x03key\x12L\n" + |
| 200 | "\x0fvoipUserProfile\x18\x02 \x01(\v2\".voip_user_profile.VoipUserProfileR\x0fvoipUserProfile\"\xfd\x01\n" + |
| 201 | "\x0fVoipUserProfile\x122\n" + |
| 202 | "\x14voipSystemProfileKey\x18\x01 \x01(\tR\x14voipSystemProfileKey\x12\x1a\n" + |
| 203 | "\busername\x18\x02 \x01(\tR\busername\x12\x1a\n" + |
| 204 | "\bpassword\x18\x03 \x01(\tR\bpassword\x12\x16\n" + |
| 205 | "\x06domain\x18\x04 \x01(\tR\x06domain\x12\x14\n" + |
| 206 | "\x05proxy\x18\x05 \x01(\tR\x05proxy\x12\x12\n" + |
| 207 | "\x04port\x18\x06 \x01(\rR\x04port\x12&\n" + |
| 208 | "\x0esipDisplayName\x18\a \x01(\tR\x0esipDisplayName\x12\x14\n" + |
| 209 | "\x05realm\x18\b \x01(\tR\x05realmBb\n" + |
| 210 | "%org.opencord.voltha.voip_user_profileZ9github.com/opencord/voltha-protos/v5/go/voip_user_profileb\x06proto3" |
| 211 | |
| 212 | var ( |
| 213 | file_voltha_protos_voip_user_profile_proto_rawDescOnce sync.Once |
| 214 | file_voltha_protos_voip_user_profile_proto_rawDescData []byte |
| 215 | ) |
| 216 | |
| 217 | func file_voltha_protos_voip_user_profile_proto_rawDescGZIP() []byte { |
| 218 | file_voltha_protos_voip_user_profile_proto_rawDescOnce.Do(func() { |
| 219 | file_voltha_protos_voip_user_profile_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_voltha_protos_voip_user_profile_proto_rawDesc), len(file_voltha_protos_voip_user_profile_proto_rawDesc))) |
| 220 | }) |
| 221 | return file_voltha_protos_voip_user_profile_proto_rawDescData |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 222 | } |
| 223 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 224 | var file_voltha_protos_voip_user_profile_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 225 | var file_voltha_protos_voip_user_profile_proto_goTypes = []any{ |
| 226 | (*VoipUserProfileRequest)(nil), // 0: voip_user_profile.VoipUserProfileRequest |
| 227 | (*VoipUserProfile)(nil), // 1: voip_user_profile.VoipUserProfile |
| 228 | } |
| 229 | var file_voltha_protos_voip_user_profile_proto_depIdxs = []int32{ |
| 230 | 1, // 0: voip_user_profile.VoipUserProfileRequest.voipUserProfile:type_name -> voip_user_profile.VoipUserProfile |
| 231 | 1, // [1:1] is the sub-list for method output_type |
| 232 | 1, // [1:1] is the sub-list for method input_type |
| 233 | 1, // [1:1] is the sub-list for extension type_name |
| 234 | 1, // [1:1] is the sub-list for extension extendee |
| 235 | 0, // [0:1] is the sub-list for field type_name |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 236 | } |
| 237 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 238 | func init() { file_voltha_protos_voip_user_profile_proto_init() } |
| 239 | func file_voltha_protos_voip_user_profile_proto_init() { |
| 240 | if File_voltha_protos_voip_user_profile_proto != nil { |
| 241 | return |
| 242 | } |
| 243 | type x struct{} |
| 244 | out := protoimpl.TypeBuilder{ |
| 245 | File: protoimpl.DescBuilder{ |
| 246 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 247 | RawDescriptor: unsafe.Slice(unsafe.StringData(file_voltha_protos_voip_user_profile_proto_rawDesc), len(file_voltha_protos_voip_user_profile_proto_rawDesc)), |
| 248 | NumEnums: 0, |
| 249 | NumMessages: 2, |
| 250 | NumExtensions: 0, |
| 251 | NumServices: 0, |
| 252 | }, |
| 253 | GoTypes: file_voltha_protos_voip_user_profile_proto_goTypes, |
| 254 | DependencyIndexes: file_voltha_protos_voip_user_profile_proto_depIdxs, |
| 255 | MessageInfos: file_voltha_protos_voip_user_profile_proto_msgTypes, |
| 256 | }.Build() |
| 257 | File_voltha_protos_voip_user_profile_proto = out.File |
| 258 | file_voltha_protos_voip_user_profile_proto_goTypes = nil |
| 259 | file_voltha_protos_voip_user_profile_proto_depIdxs = nil |
| yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 260 | } |