(in *pbx.SetDesc)
| 656 | } |
| 657 | |
| 658 | func pbSetDescDeserialize(in *pbx.SetDesc) *MsgSetDesc { |
| 659 | if in == nil { |
| 660 | return nil |
| 661 | } |
| 662 | |
| 663 | defacs := pbDefaultAcsDeserialize(in.GetDefaultAcs()) |
| 664 | public := in.GetPublic() |
| 665 | trusted := in.GetTrusted() |
| 666 | private := in.GetPrivate() |
| 667 | |
| 668 | if defacs != nil || public != nil || private != nil || trusted != nil { |
| 669 | return &MsgSetDesc{ |
| 670 | DefaultAcs: defacs, |
| 671 | Public: bytesToInterface(public), |
| 672 | Trusted: bytesToInterface(trusted), |
| 673 | Private: bytesToInterface(private), |
| 674 | } |
| 675 | } |
| 676 | |
| 677 | return nil |
| 678 | } |
| 679 | |
| 680 | func pbSetQuerySerialize(in *MsgSetQuery) *pbx.SetQuery { |
| 681 | if in == nil { |
no test coverage detected
searching dependent graphs…