public void MergeFrom(ClientWeather other)
 {
     if (other == null)
     {
         return;
     }
     if (other.S2CellId != 0L)
     {
         S2CellId = other.S2CellId;
     }
     if (other.displayWeather_ != null)
     {
         if (displayWeather_ == null)
         {
             displayWeather_ = new global::POGOProtos.Map.Weather.DisplayWeather();
         }
         DisplayWeather.MergeFrom(other.DisplayWeather);
     }
     if (other.gameplayWeather_ != null)
     {
         if (gameplayWeather_ == null)
         {
             gameplayWeather_ = new global::POGOProtos.Map.Weather.GameplayWeather();
         }
         GameplayWeather.MergeFrom(other.GameplayWeather);
     }
     alerts_.Add(other.alerts_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    S2CellId = input.ReadInt64();
                    break;
                }

                case 18: {
                    if (displayWeather_ == null)
                    {
                        displayWeather_ = new global::POGOProtos.Map.Weather.DisplayWeather();
                    }
                    input.ReadMessage(displayWeather_);
                    break;
                }

                case 26: {
                    if (gameplayWeather_ == null)
                    {
                        gameplayWeather_ = new global::POGOProtos.Map.Weather.GameplayWeather();
                    }
                    input.ReadMessage(gameplayWeather_);
                    break;
                }

                case 34: {
                    alerts_.AddEntriesFrom(input, _repeated_alerts_codec);
                    break;
                }
                }
            }
        }