예제 #1
0
 public void MergeFrom(PBCertFile other)
 {
     if (other == null)
     {
         return;
     }
     if (other.keys_ != null)
     {
         if (keys_ == null)
         {
             keys_ = new global::PBKeyPair();
         }
         Keys.MergeFrom(other.Keys);
     }
     if (other.cert_ != null)
     {
         if (cert_ == null)
         {
             cert_ = new global::PBCertificate();
         }
         Cert.MergeFrom(other.Cert);
     }
     if (other.masterPublic_ != null)
     {
         if (masterPublic_ == null)
         {
             masterPublic_ = new global::PBPublicKey();
         }
         MasterPublic.MergeFrom(other.MasterPublic);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }