Ejemplo n.º 1
0
 public void MergeFrom(Record other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.createdDate_ != null)
     {
         if (createdDate_ == null)
         {
             CreatedDate = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedDate.MergeFrom(other.CreatedDate);
     }
     if (other.payload_ != null)
     {
         if (payload_ == null)
         {
             Payload = new global::Google.Protobuf.WellKnownTypes.Any();
         }
         Payload.MergeFrom(other.Payload);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }