internal override object ToProto()
 {
     BaseRespP.Builder builder = BaseRespP.CreateBuilder();
     builder.Type        = (uint)this.Type();
     builder.Transaction = this.Transaction;
     builder.ErrCode     = (uint)this.ErrCode;
     builder.ErrStr      = this.ErrStr;
     GetMessageFromWXResp.Builder builder2 = GetMessageFromWXResp.CreateBuilder();
     builder2.Base = builder.Build();
     return(builder2.Build());
 }
 internal override object ToProto()
 {
     BaseRespP.Builder builder = BaseRespP.CreateBuilder();
     builder.Type        = (uint)Type();
     builder.Transaction = Transaction;
     builder.ErrCode     = (uint)ErrCode;
     builder.ErrStr      = ErrStr;
     GetMessageFromWXResp.Builder builder2 = GetMessageFromWXResp.CreateBuilder();
     builder2.Base = builder.Build();
     if (Message != null)
     {
         WXMessageP ep = Message.ToProto() as WXMessageP;
         builder2.Msg = ep;
     }
     builder2.Username = Username;
     return(builder2.Build());
 }