blob: 3219dc8a30dfeb0c04c8772cd16ec39727f16b7a [file] [log] [blame]
// Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at:
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v4.25.8
// source: voltha_protos/voip_user_profile.proto
package voip_user_profile
import (
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// A user specific profile for voip service
type VoipUserProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// for the path in KV store
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
VoipUserProfile *VoipUserProfile `protobuf:"bytes,2,opt,name=voipUserProfile,proto3" json:"voipUserProfile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *VoipUserProfileRequest) Reset() {
*x = VoipUserProfileRequest{}
mi := &file_voltha_protos_voip_user_profile_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *VoipUserProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VoipUserProfileRequest) ProtoMessage() {}
func (x *VoipUserProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_voltha_protos_voip_user_profile_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use VoipUserProfileRequest.ProtoReflect.Descriptor instead.
func (*VoipUserProfileRequest) Descriptor() ([]byte, []int) {
return file_voltha_protos_voip_user_profile_proto_rawDescGZIP(), []int{0}
}
func (x *VoipUserProfileRequest) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
func (x *VoipUserProfileRequest) GetVoipUserProfile() *VoipUserProfile {
if x != nil {
return x.VoipUserProfile
}
return nil
}
type VoipUserProfile struct {
state protoimpl.MessageState `protogen:"open.v1"`
VoipSystemProfileKey string `protobuf:"bytes,1,opt,name=voipSystemProfileKey,proto3" json:"voipSystemProfileKey,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
Proxy string `protobuf:"bytes,5,opt,name=proxy,proto3" json:"proxy,omitempty"`
Port uint32 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"`
SipDisplayName string `protobuf:"bytes,7,opt,name=sipDisplayName,proto3" json:"sipDisplayName,omitempty"`
Realm string `protobuf:"bytes,8,opt,name=realm,proto3" json:"realm,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *VoipUserProfile) Reset() {
*x = VoipUserProfile{}
mi := &file_voltha_protos_voip_user_profile_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *VoipUserProfile) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VoipUserProfile) ProtoMessage() {}
func (x *VoipUserProfile) ProtoReflect() protoreflect.Message {
mi := &file_voltha_protos_voip_user_profile_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use VoipUserProfile.ProtoReflect.Descriptor instead.
func (*VoipUserProfile) Descriptor() ([]byte, []int) {
return file_voltha_protos_voip_user_profile_proto_rawDescGZIP(), []int{1}
}
func (x *VoipUserProfile) GetVoipSystemProfileKey() string {
if x != nil {
return x.VoipSystemProfileKey
}
return ""
}
func (x *VoipUserProfile) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *VoipUserProfile) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
func (x *VoipUserProfile) GetDomain() string {
if x != nil {
return x.Domain
}
return ""
}
func (x *VoipUserProfile) GetProxy() string {
if x != nil {
return x.Proxy
}
return ""
}
func (x *VoipUserProfile) GetPort() uint32 {
if x != nil {
return x.Port
}
return 0
}
func (x *VoipUserProfile) GetSipDisplayName() string {
if x != nil {
return x.SipDisplayName
}
return ""
}
func (x *VoipUserProfile) GetRealm() string {
if x != nil {
return x.Realm
}
return ""
}
var File_voltha_protos_voip_user_profile_proto protoreflect.FileDescriptor
const file_voltha_protos_voip_user_profile_proto_rawDesc = "" +
"\n" +
"%voltha_protos/voip_user_profile.proto\x12\x11voip_user_profile\x1a\x1cgoogle/api/annotations.proto\"x\n" +
"\x16VoipUserProfileRequest\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12L\n" +
"\x0fvoipUserProfile\x18\x02 \x01(\v2\".voip_user_profile.VoipUserProfileR\x0fvoipUserProfile\"\xfd\x01\n" +
"\x0fVoipUserProfile\x122\n" +
"\x14voipSystemProfileKey\x18\x01 \x01(\tR\x14voipSystemProfileKey\x12\x1a\n" +
"\busername\x18\x02 \x01(\tR\busername\x12\x1a\n" +
"\bpassword\x18\x03 \x01(\tR\bpassword\x12\x16\n" +
"\x06domain\x18\x04 \x01(\tR\x06domain\x12\x14\n" +
"\x05proxy\x18\x05 \x01(\tR\x05proxy\x12\x12\n" +
"\x04port\x18\x06 \x01(\rR\x04port\x12&\n" +
"\x0esipDisplayName\x18\a \x01(\tR\x0esipDisplayName\x12\x14\n" +
"\x05realm\x18\b \x01(\tR\x05realmBb\n" +
"%org.opencord.voltha.voip_user_profileZ9github.com/opencord/voltha-protos/v5/go/voip_user_profileb\x06proto3"
var (
file_voltha_protos_voip_user_profile_proto_rawDescOnce sync.Once
file_voltha_protos_voip_user_profile_proto_rawDescData []byte
)
func file_voltha_protos_voip_user_profile_proto_rawDescGZIP() []byte {
file_voltha_protos_voip_user_profile_proto_rawDescOnce.Do(func() {
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)))
})
return file_voltha_protos_voip_user_profile_proto_rawDescData
}
var file_voltha_protos_voip_user_profile_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_voltha_protos_voip_user_profile_proto_goTypes = []any{
(*VoipUserProfileRequest)(nil), // 0: voip_user_profile.VoipUserProfileRequest
(*VoipUserProfile)(nil), // 1: voip_user_profile.VoipUserProfile
}
var file_voltha_protos_voip_user_profile_proto_depIdxs = []int32{
1, // 0: voip_user_profile.VoipUserProfileRequest.voipUserProfile:type_name -> voip_user_profile.VoipUserProfile
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_voltha_protos_voip_user_profile_proto_init() }
func file_voltha_protos_voip_user_profile_proto_init() {
if File_voltha_protos_voip_user_profile_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_voltha_protos_voip_user_profile_proto_rawDesc), len(file_voltha_protos_voip_user_profile_proto_rawDesc)),
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_voltha_protos_voip_user_profile_proto_goTypes,
DependencyIndexes: file_voltha_protos_voip_user_profile_proto_depIdxs,
MessageInfos: file_voltha_protos_voip_user_profile_proto_msgTypes,
}.Build()
File_voltha_protos_voip_user_profile_proto = out.File
file_voltha_protos_voip_user_profile_proto_goTypes = nil
file_voltha_protos_voip_user_profile_proto_depIdxs = nil
}