[VOL-5567] update protos
Change-Id: I2237e104062831286129ece7cae6621fd971ecb9
Signed-off-by: Abhay Kumar <abhay.kumar@radisys.com>
diff --git a/go/voip_user_profile/voip_user_profile.pb.go b/go/voip_user_profile/voip_user_profile.pb.go
index a4f90f7..3219dc8 100644
--- a/go/voip_user_profile/voip_user_profile.pb.go
+++ b/go/voip_user_profile/voip_user_profile.pb.go
@@ -1,200 +1,260 @@
+// 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 (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
- math "math"
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+ unsafe "unsafe"
)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
+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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ 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 (m *VoipUserProfileRequest) Reset() { *m = VoipUserProfileRequest{} }
-func (m *VoipUserProfileRequest) String() string { return proto.CompactTextString(m) }
-func (*VoipUserProfileRequest) ProtoMessage() {}
+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 fileDescriptor_0ecf0ef501fce1bc, []int{0}
+ return file_voltha_protos_voip_user_profile_proto_rawDescGZIP(), []int{0}
}
-func (m *VoipUserProfileRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoipUserProfileRequest.Unmarshal(m, b)
-}
-func (m *VoipUserProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoipUserProfileRequest.Marshal(b, m, deterministic)
-}
-func (m *VoipUserProfileRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoipUserProfileRequest.Merge(m, src)
-}
-func (m *VoipUserProfileRequest) XXX_Size() int {
- return xxx_messageInfo_VoipUserProfileRequest.Size(m)
-}
-func (m *VoipUserProfileRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VoipUserProfileRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_VoipUserProfileRequest proto.InternalMessageInfo
-
-func (m *VoipUserProfileRequest) GetKey() string {
- if m != nil {
- return m.Key
+func (x *VoipUserProfileRequest) GetKey() string {
+ if x != nil {
+ return x.Key
}
return ""
}
-func (m *VoipUserProfileRequest) GetVoipUserProfile() *VoipUserProfile {
- if m != nil {
- return m.VoipUserProfile
+func (x *VoipUserProfileRequest) GetVoipUserProfile() *VoipUserProfile {
+ if x != nil {
+ return x.VoipUserProfile
}
return nil
}
type VoipUserProfile struct {
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ 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 (m *VoipUserProfile) Reset() { *m = VoipUserProfile{} }
-func (m *VoipUserProfile) String() string { return proto.CompactTextString(m) }
-func (*VoipUserProfile) ProtoMessage() {}
+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 fileDescriptor_0ecf0ef501fce1bc, []int{1}
+ return file_voltha_protos_voip_user_profile_proto_rawDescGZIP(), []int{1}
}
-func (m *VoipUserProfile) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoipUserProfile.Unmarshal(m, b)
-}
-func (m *VoipUserProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoipUserProfile.Marshal(b, m, deterministic)
-}
-func (m *VoipUserProfile) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoipUserProfile.Merge(m, src)
-}
-func (m *VoipUserProfile) XXX_Size() int {
- return xxx_messageInfo_VoipUserProfile.Size(m)
-}
-func (m *VoipUserProfile) XXX_DiscardUnknown() {
- xxx_messageInfo_VoipUserProfile.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_VoipUserProfile proto.InternalMessageInfo
-
-func (m *VoipUserProfile) GetVoipSystemProfileKey() string {
- if m != nil {
- return m.VoipSystemProfileKey
+func (x *VoipUserProfile) GetVoipSystemProfileKey() string {
+ if x != nil {
+ return x.VoipSystemProfileKey
}
return ""
}
-func (m *VoipUserProfile) GetUsername() string {
- if m != nil {
- return m.Username
+func (x *VoipUserProfile) GetUsername() string {
+ if x != nil {
+ return x.Username
}
return ""
}
-func (m *VoipUserProfile) GetPassword() string {
- if m != nil {
- return m.Password
+func (x *VoipUserProfile) GetPassword() string {
+ if x != nil {
+ return x.Password
}
return ""
}
-func (m *VoipUserProfile) GetDomain() string {
- if m != nil {
- return m.Domain
+func (x *VoipUserProfile) GetDomain() string {
+ if x != nil {
+ return x.Domain
}
return ""
}
-func (m *VoipUserProfile) GetProxy() string {
- if m != nil {
- return m.Proxy
+func (x *VoipUserProfile) GetProxy() string {
+ if x != nil {
+ return x.Proxy
}
return ""
}
-func (m *VoipUserProfile) GetPort() uint32 {
- if m != nil {
- return m.Port
+func (x *VoipUserProfile) GetPort() uint32 {
+ if x != nil {
+ return x.Port
}
return 0
}
-func (m *VoipUserProfile) GetSipDisplayName() string {
- if m != nil {
- return m.SipDisplayName
+func (x *VoipUserProfile) GetSipDisplayName() string {
+ if x != nil {
+ return x.SipDisplayName
}
return ""
}
-func (m *VoipUserProfile) GetRealm() string {
- if m != nil {
- return m.Realm
+func (x *VoipUserProfile) GetRealm() string {
+ if x != nil {
+ return x.Realm
}
return ""
}
-func init() {
- proto.RegisterType((*VoipUserProfileRequest)(nil), "voip_user_profile.VoipUserProfileRequest")
- proto.RegisterType((*VoipUserProfile)(nil), "voip_user_profile.VoipUserProfile")
+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
}
-func init() {
- proto.RegisterFile("voltha_protos/voip_user_profile.proto", fileDescriptor_0ecf0ef501fce1bc)
+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
}
-var fileDescriptor_0ecf0ef501fce1bc = []byte{
- // 322 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0xcb, 0x4b, 0x33, 0x31,
- 0x10, 0x67, 0xbf, 0x3e, 0xbe, 0x76, 0x44, 0xab, 0xa1, 0x94, 0x50, 0x3c, 0x94, 0x42, 0xa5, 0x17,
- 0x77, 0xa1, 0xe2, 0xc1, 0xab, 0x78, 0x53, 0x44, 0x56, 0xf4, 0xe0, 0xa5, 0xa4, 0x6d, 0xdc, 0x06,
- 0x77, 0x77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, 0x54, 0x86, 0xb6, 0x47, 0xc1, 0xf4, 0x38, 0x76, 0x35, 0xb9, 0x80,
- 0x13, 0x2d, 0xe4, 0x9d, 0xd0, 0x32, 0x65, 0xc5, 0xa3, 0x9d, 0xff, 0xdf, 0x45, 0x2a, 0xac, 0xed,
- 0xa8, 0x38, 0x4b, 0x33, 0xda, 0xf1, 0x1d, 0x1d, 0xb8, 0x5d, 0xc0, 0x04, 0x55, 0x12, 0xa2, 0xe4,
- 0xf9, 0x12, 0xd5, 0x2a, 0xf4, 0x1f, 0x5c, 0x7f, 0xc9, 0xb7, 0x9b, 0x44, 0x98, 0xf5, 0x66, 0x11,
- 0x2e, 0x31, 0x8b, 0x4a, 0x77, 0xe4, 0xdd, 0x97, 0xe5, 0x39, 0x5c, 0x47, 0x09, 0xd6, 0x8f, 0x62,
- 0xd1, 0x76, 0xfa, 0xd5, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x84, 0x23, 0x54, 0x5a, 0x3e, 0x02,
- 0x00, 0x00,
+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
}