Beispiel #1
0
 public void MergeFrom(ProtoTransferDispatchMessage other)
 {
     if (other == null)
     {
         return;
     }
     if (other.message_ != null)
     {
         if (message_ == null)
         {
             Message = new global::OpenVASP.ProtocolMessages.Messages.ProtoMessage();
         }
         Message.MergeFrom(other.Message);
     }
     if (other.originator_ != null)
     {
         if (originator_ == null)
         {
             Originator = new global::OpenVASP.ProtocolMessages.Messages.ProtoOriginator();
         }
         Originator.MergeFrom(other.Originator);
     }
     if (other.beneficiary_ != null)
     {
         if (beneficiary_ == null)
         {
             Beneficiary = new global::OpenVASP.ProtocolMessages.Messages.ProtoBeneficiary();
         }
         Beneficiary.MergeFrom(other.Beneficiary);
     }
     if (other.transfer_ != null)
     {
         if (transfer_ == null)
         {
             Transfer = new global::OpenVASP.ProtocolMessages.Messages.ProtoTransferReply();
         }
         Transfer.MergeFrom(other.Transfer);
     }
     if (other.transaction_ != null)
     {
         if (transaction_ == null)
         {
             Transaction = new global::OpenVASP.ProtocolMessages.Messages.ProtoTransaction();
         }
         Transaction.MergeFrom(other.Transaction);
     }
     if (other.Comment.Length != 0)
     {
         Comment = other.Comment;
     }
     if (other.vaspInfo_ != null)
     {
         if (vaspInfo_ == null)
         {
             VaspInfo = new global::OpenVASP.ProtocolMessages.Messages.ProtoVaspInfo();
         }
         VaspInfo.MergeFrom(other.VaspInfo);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }