Exemple #1
0
 public void MergeFrom(Info other)
 {
     if (other == null)
     {
         return;
     }
     if (other.status_ != null)
     {
         if (status_ == null)
         {
             status_ = new global::Hapi.Release.Status();
         }
         Status.MergeFrom(other.Status);
     }
     if (other.firstDeployed_ != null)
     {
         if (firstDeployed_ == null)
         {
             firstDeployed_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         FirstDeployed.MergeFrom(other.FirstDeployed);
     }
     if (other.lastDeployed_ != null)
     {
         if (lastDeployed_ == null)
         {
             lastDeployed_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         LastDeployed.MergeFrom(other.LastDeployed);
     }
     if (other.deleted_ != null)
     {
         if (deleted_ == null)
         {
             deleted_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         Deleted.MergeFrom(other.Deleted);
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }