Example #1
0
 public void MergeFrom(TimeModel other)
 {
     if (other == null)
     {
         return;
     }
     if (other.minTransactionLatency_ != null)
     {
         if (minTransactionLatency_ == null)
         {
             MinTransactionLatency = new global::Google.Protobuf.WellKnownTypes.Duration();
         }
         MinTransactionLatency.MergeFrom(other.MinTransactionLatency);
     }
     if (other.maxClockSkew_ != null)
     {
         if (maxClockSkew_ == null)
         {
             MaxClockSkew = new global::Google.Protobuf.WellKnownTypes.Duration();
         }
         MaxClockSkew.MergeFrom(other.MaxClockSkew);
     }
     if (other.maxTtl_ != null)
     {
         if (maxTtl_ == null)
         {
             MaxTtl = new global::Google.Protobuf.WellKnownTypes.Duration();
         }
         MaxTtl.MergeFrom(other.MaxTtl);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }