yasin sapli | 2bbfbb4 | 2021-11-01 14:30:10 +0000 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: voltha_protos/voip_user_profile.proto |
| 3 | |
| 4 | package voip_user_profile |
| 5 | |
| 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
| 9 | _ "google.golang.org/genproto/googleapis/api/annotations" |
| 10 | math "math" |
| 11 | ) |
| 12 | |
| 13 | // Reference imports to suppress errors if they are not otherwise used. |
| 14 | var _ = proto.Marshal |
| 15 | var _ = fmt.Errorf |
| 16 | var _ = math.Inf |
| 17 | |
| 18 | // This is a compile-time assertion to ensure that this generated file |
| 19 | // is compatible with the proto package it is being compiled against. |
| 20 | // A compilation error at this line likely means your copy of the |
| 21 | // proto package needs to be updated. |
| 22 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 23 | |
| 24 | // A user specific profile for voip service |
| 25 | type VoipUserProfileRequest struct { |
| 26 | // for the path in KV store |
| 27 | Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` |
| 28 | VoipUserProfile *VoipUserProfile `protobuf:"bytes,2,opt,name=voipUserProfile,proto3" json:"voipUserProfile,omitempty"` |
| 29 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 30 | XXX_unrecognized []byte `json:"-"` |
| 31 | XXX_sizecache int32 `json:"-"` |
| 32 | } |
| 33 | |
| 34 | func (m *VoipUserProfileRequest) Reset() { *m = VoipUserProfileRequest{} } |
| 35 | func (m *VoipUserProfileRequest) String() string { return proto.CompactTextString(m) } |
| 36 | func (*VoipUserProfileRequest) ProtoMessage() {} |
| 37 | func (*VoipUserProfileRequest) Descriptor() ([]byte, []int) { |
| 38 | return fileDescriptor_0ecf0ef501fce1bc, []int{0} |
| 39 | } |
| 40 | |
| 41 | func (m *VoipUserProfileRequest) XXX_Unmarshal(b []byte) error { |
| 42 | return xxx_messageInfo_VoipUserProfileRequest.Unmarshal(m, b) |
| 43 | } |
| 44 | func (m *VoipUserProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 45 | return xxx_messageInfo_VoipUserProfileRequest.Marshal(b, m, deterministic) |
| 46 | } |
| 47 | func (m *VoipUserProfileRequest) XXX_Merge(src proto.Message) { |
| 48 | xxx_messageInfo_VoipUserProfileRequest.Merge(m, src) |
| 49 | } |
| 50 | func (m *VoipUserProfileRequest) XXX_Size() int { |
| 51 | return xxx_messageInfo_VoipUserProfileRequest.Size(m) |
| 52 | } |
| 53 | func (m *VoipUserProfileRequest) XXX_DiscardUnknown() { |
| 54 | xxx_messageInfo_VoipUserProfileRequest.DiscardUnknown(m) |
| 55 | } |
| 56 | |
| 57 | var xxx_messageInfo_VoipUserProfileRequest proto.InternalMessageInfo |
| 58 | |
| 59 | func (m *VoipUserProfileRequest) GetKey() string { |
| 60 | if m != nil { |
| 61 | return m.Key |
| 62 | } |
| 63 | return "" |
| 64 | } |
| 65 | |
| 66 | func (m *VoipUserProfileRequest) GetVoipUserProfile() *VoipUserProfile { |
| 67 | if m != nil { |
| 68 | return m.VoipUserProfile |
| 69 | } |
| 70 | return nil |
| 71 | } |
| 72 | |
| 73 | type VoipUserProfile struct { |
| 74 | VoipSystemProfileKey string `protobuf:"bytes,1,opt,name=voipSystemProfileKey,proto3" json:"voipSystemProfileKey,omitempty"` |
| 75 | Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` |
| 76 | Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` |
| 77 | Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"` |
| 78 | Proxy string `protobuf:"bytes,5,opt,name=proxy,proto3" json:"proxy,omitempty"` |
| 79 | Port uint32 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"` |
| 80 | SipDisplayName string `protobuf:"bytes,7,opt,name=sipDisplayName,proto3" json:"sipDisplayName,omitempty"` |
| 81 | Realm string `protobuf:"bytes,8,opt,name=realm,proto3" json:"realm,omitempty"` |
| 82 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 83 | XXX_unrecognized []byte `json:"-"` |
| 84 | XXX_sizecache int32 `json:"-"` |
| 85 | } |
| 86 | |
| 87 | func (m *VoipUserProfile) Reset() { *m = VoipUserProfile{} } |
| 88 | func (m *VoipUserProfile) String() string { return proto.CompactTextString(m) } |
| 89 | func (*VoipUserProfile) ProtoMessage() {} |
| 90 | func (*VoipUserProfile) Descriptor() ([]byte, []int) { |
| 91 | return fileDescriptor_0ecf0ef501fce1bc, []int{1} |
| 92 | } |
| 93 | |
| 94 | func (m *VoipUserProfile) XXX_Unmarshal(b []byte) error { |
| 95 | return xxx_messageInfo_VoipUserProfile.Unmarshal(m, b) |
| 96 | } |
| 97 | func (m *VoipUserProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 98 | return xxx_messageInfo_VoipUserProfile.Marshal(b, m, deterministic) |
| 99 | } |
| 100 | func (m *VoipUserProfile) XXX_Merge(src proto.Message) { |
| 101 | xxx_messageInfo_VoipUserProfile.Merge(m, src) |
| 102 | } |
| 103 | func (m *VoipUserProfile) XXX_Size() int { |
| 104 | return xxx_messageInfo_VoipUserProfile.Size(m) |
| 105 | } |
| 106 | func (m *VoipUserProfile) XXX_DiscardUnknown() { |
| 107 | xxx_messageInfo_VoipUserProfile.DiscardUnknown(m) |
| 108 | } |
| 109 | |
| 110 | var xxx_messageInfo_VoipUserProfile proto.InternalMessageInfo |
| 111 | |
| 112 | func (m *VoipUserProfile) GetVoipSystemProfileKey() string { |
| 113 | if m != nil { |
| 114 | return m.VoipSystemProfileKey |
| 115 | } |
| 116 | return "" |
| 117 | } |
| 118 | |
| 119 | func (m *VoipUserProfile) GetUsername() string { |
| 120 | if m != nil { |
| 121 | return m.Username |
| 122 | } |
| 123 | return "" |
| 124 | } |
| 125 | |
| 126 | func (m *VoipUserProfile) GetPassword() string { |
| 127 | if m != nil { |
| 128 | return m.Password |
| 129 | } |
| 130 | return "" |
| 131 | } |
| 132 | |
| 133 | func (m *VoipUserProfile) GetDomain() string { |
| 134 | if m != nil { |
| 135 | return m.Domain |
| 136 | } |
| 137 | return "" |
| 138 | } |
| 139 | |
| 140 | func (m *VoipUserProfile) GetProxy() string { |
| 141 | if m != nil { |
| 142 | return m.Proxy |
| 143 | } |
| 144 | return "" |
| 145 | } |
| 146 | |
| 147 | func (m *VoipUserProfile) GetPort() uint32 { |
| 148 | if m != nil { |
| 149 | return m.Port |
| 150 | } |
| 151 | return 0 |
| 152 | } |
| 153 | |
| 154 | func (m *VoipUserProfile) GetSipDisplayName() string { |
| 155 | if m != nil { |
| 156 | return m.SipDisplayName |
| 157 | } |
| 158 | return "" |
| 159 | } |
| 160 | |
| 161 | func (m *VoipUserProfile) GetRealm() string { |
| 162 | if m != nil { |
| 163 | return m.Realm |
| 164 | } |
| 165 | return "" |
| 166 | } |
| 167 | |
| 168 | func init() { |
| 169 | proto.RegisterType((*VoipUserProfileRequest)(nil), "voip_user_profile.VoipUserProfileRequest") |
| 170 | proto.RegisterType((*VoipUserProfile)(nil), "voip_user_profile.VoipUserProfile") |
| 171 | } |
| 172 | |
| 173 | func init() { |
| 174 | proto.RegisterFile("voltha_protos/voip_user_profile.proto", fileDescriptor_0ecf0ef501fce1bc) |
| 175 | } |
| 176 | |
| 177 | var fileDescriptor_0ecf0ef501fce1bc = []byte{ |
| 178 | // 322 bytes of a gzipped FileDescriptorProto |
| 179 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0xcb, 0x4b, 0x33, 0x31, |
| 180 | 0x10, 0x67, 0xbf, 0x3e, 0xbe, 0x76, 0x44, 0xab, 0xa1, 0x94, 0x50, 0x3c, 0x94, 0x42, 0xa5, 0x17, |
| 181 | 0x77, 0xa1, 0xe2, 0xc1, 0xab, 0x78, 0x53, 0x44, 0x56, 0xf4, 0xe0, 0xa5, 0xa4, 0x6d, 0xdc, 0x06, |
| 182 | 0x77, 0x77, 0x62, 0x92, 0xd6, 0xee, 0x1f, 0x2f, 0x48, 0x92, 0x6e, 0xc1, 0x5d, 0x6f, 0xf3, 0x7b, |
| 183 | 0xcd, 0x0c, 0xc9, 0xc0, 0x64, 0x8b, 0xa9, 0x59, 0xb3, 0xb9, 0x54, 0x68, 0x50, 0x47, 0x5b, 0x14, |
| 184 | 0x72, 0xbe, 0xd1, 0x5c, 0x59, 0xe2, 0x5d, 0xa4, 0x3c, 0x74, 0x02, 0x39, 0xab, 0x09, 0xc3, 0xf3, |
| 185 | 0x04, 0x31, 0x49, 0x79, 0xc4, 0xa4, 0x88, 0x58, 0x9e, 0xa3, 0x61, 0x46, 0x60, 0xae, 0x7d, 0x60, |
| 186 | 0xbc, 0x83, 0xc1, 0x2b, 0x0a, 0xf9, 0xa2, 0xb9, 0x7a, 0xf2, 0x81, 0x98, 0x7f, 0x6e, 0xb8, 0x36, |
| 187 | 0xe4, 0x14, 0x1a, 0x1f, 0xbc, 0xa0, 0xc1, 0x28, 0x98, 0x76, 0x63, 0x5b, 0x92, 0x07, 0xe8, 0x6d, |
| 188 | 0x7f, 0x7b, 0xe9, 0xbf, 0x51, 0x30, 0x3d, 0x9a, 0x8d, 0xc3, 0xfa, 0x3e, 0xd5, 0xae, 0xd5, 0xe8, |
| 189 | 0xf8, 0x3b, 0x80, 0x5e, 0xc5, 0x44, 0x66, 0xd0, 0xb7, 0xb6, 0xe7, 0x42, 0x1b, 0x9e, 0xed, 0xc9, |
| 190 | 0xfb, 0xc3, 0x12, 0x7f, 0x6a, 0x64, 0x08, 0x1d, 0x3b, 0x38, 0x67, 0x99, 0x5f, 0xa7, 0x1b, 0x1f, |
| 191 | 0xb0, 0xd5, 0x24, 0xd3, 0xfa, 0x0b, 0xd5, 0x8a, 0x36, 0xbc, 0x56, 0x62, 0x32, 0x80, 0xf6, 0x0a, |
| 192 | 0x33, 0x26, 0x72, 0xda, 0x74, 0xca, 0x1e, 0x91, 0x3e, 0xb4, 0xa4, 0xc2, 0x5d, 0x41, 0x5b, 0x8e, |
| 193 | 0xf6, 0x80, 0x10, 0x68, 0x4a, 0x54, 0x86, 0xb6, 0x47, 0xc1, 0xf4, 0x38, 0x76, 0x35, 0xb9, 0x80, |
| 194 | 0x13, 0x2d, 0xe4, 0x9d, 0xd0, 0x32, 0x65, 0xc5, 0xa3, 0x9d, 0xff, 0xdf, 0x45, 0x2a, 0xac, 0xed, |
| 195 | 0xa8, 0x38, 0x4b, 0x33, 0xda, 0xf1, 0x1d, 0x1d, 0xb8, 0x5d, 0xc0, 0x04, 0x55, 0x12, 0xa2, 0xe4, |
| 196 | 0xf9, 0x12, 0xd5, 0x2a, 0xf4, 0x1f, 0x5c, 0x7f, 0xc9, 0xb7, 0x9b, 0x44, 0x98, 0xf5, 0x66, 0x11, |
| 197 | 0x2e, 0x31, 0x8b, 0x4a, 0x77, 0xe4, 0xdd, 0x97, 0xe5, 0x39, 0x5c, 0x47, 0x09, 0xd6, 0x8f, 0x62, |
| 198 | 0xd1, 0x76, 0xfa, 0xd5, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x84, 0x23, 0x54, 0x5a, 0x3e, 0x02, |
| 199 | 0x00, 0x00, |
| 200 | } |