public void MergeFrom(WeatherForecast other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } if (other.creationTime_ != null) { if (creationTime_ == null) { CreationTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreationTime.MergeFrom(other.CreationTime); } if (other.date_ != null) { if (date_ == null) { Date = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } Date.MergeFrom(other.Date); } if (other.City.Length != 0) { City = other.City; } if (other.Context != global::Forecast.Context.InSun) { Context = other.Context; } if (other.TemperatureC != 0) { TemperatureC = other.TemperatureC; } if (other.Summary != global::Forecast.Summary.Freezing) { Summary = other.Summary; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }