blob: 3219dc8a30dfeb0c04c8772cd16ec39727f16b7a [file] [log] [blame]
Abhay Kumar03713392025-12-30 05:20:58 +00001// 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 sapli2bbfbb42021-11-01 14:30:10 +000015// Code generated by protoc-gen-go. DO NOT EDIT.
Abhay Kumar03713392025-12-30 05:20:58 +000016// versions:
17// protoc-gen-go v1.36.11
18// protoc v4.25.8
yasin sapli2bbfbb42021-11-01 14:30:10 +000019// source: voltha_protos/voip_user_profile.proto
20
21package voip_user_profile
22
23import (
yasin sapli2bbfbb42021-11-01 14:30:10 +000024 _ "google.golang.org/genproto/googleapis/api/annotations"
Abhay Kumar03713392025-12-30 05:20:58 +000025 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 sapli2bbfbb42021-11-01 14:30:10 +000030)
31
Abhay Kumar03713392025-12-30 05:20:58 +000032const (
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 sapli2bbfbb42021-11-01 14:30:10 +000038
39// A user specific profile for voip service
40type VoipUserProfileRequest struct {
Abhay Kumar03713392025-12-30 05:20:58 +000041 state protoimpl.MessageState `protogen:"open.v1"`
yasin sapli2bbfbb42021-11-01 14:30:10 +000042 // for the path in KV store
Abhay Kumar03713392025-12-30 05:20:58 +000043 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 sapli2bbfbb42021-11-01 14:30:10 +000047}
48
Abhay Kumar03713392025-12-30 05:20:58 +000049func (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
56func (x *VoipUserProfileRequest) String() string {
57 return protoimpl.X.MessageStringOf(x)
58}
59
60func (*VoipUserProfileRequest) ProtoMessage() {}
61
62func (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 sapli2bbfbb42021-11-01 14:30:10 +000075func (*VoipUserProfileRequest) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +000076 return file_voltha_protos_voip_user_profile_proto_rawDescGZIP(), []int{0}
yasin sapli2bbfbb42021-11-01 14:30:10 +000077}
78
Abhay Kumar03713392025-12-30 05:20:58 +000079func (x *VoipUserProfileRequest) GetKey() string {
80 if x != nil {
81 return x.Key
yasin sapli2bbfbb42021-11-01 14:30:10 +000082 }
83 return ""
84}
85
Abhay Kumar03713392025-12-30 05:20:58 +000086func (x *VoipUserProfileRequest) GetVoipUserProfile() *VoipUserProfile {
87 if x != nil {
88 return x.VoipUserProfile
yasin sapli2bbfbb42021-11-01 14:30:10 +000089 }
90 return nil
91}
92
93type VoipUserProfile struct {
Abhay Kumar03713392025-12-30 05:20:58 +000094 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 sapli2bbfbb42021-11-01 14:30:10 +0000105}
106
Abhay Kumar03713392025-12-30 05:20:58 +0000107func (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
114func (x *VoipUserProfile) String() string {
115 return protoimpl.X.MessageStringOf(x)
116}
117
118func (*VoipUserProfile) ProtoMessage() {}
119
120func (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 sapli2bbfbb42021-11-01 14:30:10 +0000133func (*VoipUserProfile) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000134 return file_voltha_protos_voip_user_profile_proto_rawDescGZIP(), []int{1}
yasin sapli2bbfbb42021-11-01 14:30:10 +0000135}
136
Abhay Kumar03713392025-12-30 05:20:58 +0000137func (x *VoipUserProfile) GetVoipSystemProfileKey() string {
138 if x != nil {
139 return x.VoipSystemProfileKey
yasin sapli2bbfbb42021-11-01 14:30:10 +0000140 }
141 return ""
142}
143
Abhay Kumar03713392025-12-30 05:20:58 +0000144func (x *VoipUserProfile) GetUsername() string {
145 if x != nil {
146 return x.Username
yasin sapli2bbfbb42021-11-01 14:30:10 +0000147 }
148 return ""
149}
150
Abhay Kumar03713392025-12-30 05:20:58 +0000151func (x *VoipUserProfile) GetPassword() string {
152 if x != nil {
153 return x.Password
yasin sapli2bbfbb42021-11-01 14:30:10 +0000154 }
155 return ""
156}
157
Abhay Kumar03713392025-12-30 05:20:58 +0000158func (x *VoipUserProfile) GetDomain() string {
159 if x != nil {
160 return x.Domain
yasin sapli2bbfbb42021-11-01 14:30:10 +0000161 }
162 return ""
163}
164
Abhay Kumar03713392025-12-30 05:20:58 +0000165func (x *VoipUserProfile) GetProxy() string {
166 if x != nil {
167 return x.Proxy
yasin sapli2bbfbb42021-11-01 14:30:10 +0000168 }
169 return ""
170}
171
Abhay Kumar03713392025-12-30 05:20:58 +0000172func (x *VoipUserProfile) GetPort() uint32 {
173 if x != nil {
174 return x.Port
yasin sapli2bbfbb42021-11-01 14:30:10 +0000175 }
176 return 0
177}
178
Abhay Kumar03713392025-12-30 05:20:58 +0000179func (x *VoipUserProfile) GetSipDisplayName() string {
180 if x != nil {
181 return x.SipDisplayName
yasin sapli2bbfbb42021-11-01 14:30:10 +0000182 }
183 return ""
184}
185
Abhay Kumar03713392025-12-30 05:20:58 +0000186func (x *VoipUserProfile) GetRealm() string {
187 if x != nil {
188 return x.Realm
yasin sapli2bbfbb42021-11-01 14:30:10 +0000189 }
190 return ""
191}
192
Abhay Kumar03713392025-12-30 05:20:58 +0000193var File_voltha_protos_voip_user_profile_proto protoreflect.FileDescriptor
194
195const 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
212var (
213 file_voltha_protos_voip_user_profile_proto_rawDescOnce sync.Once
214 file_voltha_protos_voip_user_profile_proto_rawDescData []byte
215)
216
217func 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 sapli2bbfbb42021-11-01 14:30:10 +0000222}
223
Abhay Kumar03713392025-12-30 05:20:58 +0000224var file_voltha_protos_voip_user_profile_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
225var 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}
229var 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 sapli2bbfbb42021-11-01 14:30:10 +0000236}
237
Abhay Kumar03713392025-12-30 05:20:58 +0000238func init() { file_voltha_protos_voip_user_profile_proto_init() }
239func 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 sapli2bbfbb42021-11-01 14:30:10 +0000260}