context: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: POGOProtos/Map/Weather/ClientWeather.proto
  #pragma warning disable 1591, 0612, 3021
  #region Designer generated code
  
  using pb = global::Google.Protobuf;
  using pbc = global::Google.Protobuf.Collections;
  using pbr = global::Google.Protobuf.Reflection;
  using scg = global::System.Collections.Generic;
  namespace POGOProtos.Map.Weather {
  
    /// <summary>Holder for reflection information generated from POGOProtos/Map/Weather/ClientWeather.proto</summary>
    public static partial class ClientWeatherReflection {
  
      #region Descriptor
      /// <summary>File descriptor for POGOProtos/Map/Weather/ClientWeather.proto</summary>
      public static pbr::FileDescriptor Descriptor {
        get { return descriptor; }
      }
      private static pbr::FileDescriptor descriptor;
  
      static ClientWeatherReflection() {
        byte[] descriptorData = global::System.Convert.FromBase64String(
            string.Concat(
              "CipQT0dPUHJvdG9zL01hcC9XZWF0aGVyL0NsaWVudFdlYXRoZXIucHJvdG8S",
              "FlBPR09Qcm90b3MuTWFwLldlYXRoZXIaK1BPR09Qcm90b3MvTWFwL1dlYXRo",
              "ZXIvRGlzcGxheVdlYXRoZXIucHJvdG8aLFBPR09Qcm90b3MvTWFwL1dlYXRo",
              "ZXIvR2FtZXBsYXlXZWF0aGVyLnByb3RvGilQT0dPUHJvdG9zL01hcC9XZWF0",
              "aGVyL1dlYXRoZXJBbGVydC5wcm90byLdAQoNQ2xpZW50V2VhdGhlchISCgpz",
              "Ml9jZWxsX2lkGAEgASgDEj8KD2Rpc3BsYXlfd2VhdGhlchgCIAEoCzImLlBP",
              "R09Qcm90b3MuTWFwLldlYXRoZXIuRGlzcGxheVdlYXRoZXISQQoQZ2FtZXBs",
              "YXlfd2VhdGhlchgDIAEoCzInLlBPR09Qcm90b3MuTWFwLldlYXRoZXIuR2Ft",
              "ZXBsYXlXZWF0aGVyEjQKBmFsZXJ0cxgEIAMoCzIkLlBPR09Qcm90b3MuTWFw",
              "LldlYXRoZXIuV2VhdGhlckFsZXJ0YgZwcm90bzM="));
        descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
            new pbr::FileDescriptor[] { global::POGOProtos.Map.Weather.DisplayWeatherReflection.Descriptor, global::POGOProtos.Map.Weather.GameplayWeatherReflection.Descriptor, global::POGOProtos.Map.Weather.WeatherAlertReflection.Descriptor, },
            new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
              new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Map.Weather.ClientWeather), global::POGOProtos.Map.Weather.ClientWeather.Parser, new[]{ "S2CellId", "DisplayWeather", "GameplayWeather", "Alerts" }, null, null, null)
            }));
      }
      #endregion
  
    }
    #region Messages
    public sealed partial class ClientWeather : pb::IMessage<ClientWeather> {
      private static readonly pb::MessageParser<ClientWeather> _parser = new pb::MessageParser<ClientWeather>(() => new ClientWeather());
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public static pb::MessageParser<ClientWeather> Parser { get { return _parser; } }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public static pbr::MessageDescriptor Descriptor {
        get { return global::POGOProtos.Map.Weather.ClientWeatherReflection.Descriptor.MessageTypes[0]; }
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      pbr::MessageDescriptor pb::IMessage.Descriptor {
        get { return Descriptor; }
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public ClientWeather() {
        OnConstruction();
      }
  
      partial void OnConstruction();
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public ClientWeather(ClientWeather other) : this() {
        s2CellId_ = other.s2CellId_;
        DisplayWeather = other.displayWeather_ != null ? other.DisplayWeather.Clone() : null;
        GameplayWeather = other.gameplayWeather_ != null ? other.GameplayWeather.Clone() : null;
        alerts_ = other.alerts_.Clone();
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public ClientWeather Clone() {
        return new ClientWeather(this);
      }
  
      /// <summary>Field number for the "s2_cell_id" field.</summary>
      public const int S2CellIdFieldNumber = 1;
      private long s2CellId_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public long S2CellId {
        get { return s2CellId_; }
        set {
          s2CellId_ = value;
        }
      }
  
      /// <summary>Field number for the "display_weather" field.</summary>
      public const int DisplayWeatherFieldNumber = 2;
      private global::POGOProtos.Map.Weather.DisplayWeather displayWeather_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public global::POGOProtos.Map.Weather.DisplayWeather DisplayWeather {
        get { return displayWeather_; }
        set {
          displayWeather_ = value;
        }
      }
  
      /// <summary>Field number for the "gameplay_weather" field.</summary>
      public const int GameplayWeatherFieldNumber = 3;
      private global::POGOProtos.Map.Weather.GameplayWeather gameplayWeather_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public global::POGOProtos.Map.Weather.GameplayWeather GameplayWeather {
        get { return gameplayWeather_; }
        set {
          gameplayWeather_ = value;
        }
      }
  
      /// <summary>Field number for the "alerts" field.</summary>
      public const int AlertsFieldNumber = 4;
      private static readonly pb::FieldCodec<global::POGOProtos.Map.Weather.WeatherAlert> _repeated_alerts_codec
          = pb::FieldCodec.ForMessage(34, global::POGOProtos.Map.Weather.WeatherAlert.Parser);
      private readonly pbc::RepeatedField<global::POGOProtos.Map.Weather.WeatherAlert> alerts_ = new pbc::RepeatedField<global::POGOProtos.Map.Weather.WeatherAlert>();
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public pbc::RepeatedField<global::POGOProtos.Map.Weather.WeatherAlert> Alerts {
        get { return alerts_; }
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public override bool Equals(object other) {
        return Equals(other as ClientWeather);
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public bool Equals(ClientWeather other) {
        if (ReferenceEquals(other, null)) {
          return false;
        }
        if (ReferenceEquals(other, this)) {
          return true;
        }
        if (S2CellId != other.S2CellId) return false;
        if (!object.Equals(DisplayWeather, other.DisplayWeather)) return false;
        if (!object.Equals(GameplayWeather, other.GameplayWeather)) return false;
        if(!alerts_.Equals(other.alerts_)) return false;
        return true;
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public override int GetHashCode() {
        int hash = 1;
        if (S2CellId != 0L) hash ^= S2CellId.GetHashCode();
        if (displayWeather_ != null) hash ^= DisplayWeather.GetHashCode();
        if (gameplayWeather_ != null) hash ^= GameplayWeather.GetHashCode();
        hash ^= alerts_.GetHashCode();
        return hash;
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public override string ToString() {
        return pb::JsonFormatter.ToDiagnosticString(this);
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public void WriteTo(pb::CodedOutputStream output) {
        if (S2CellId != 0L) {
          output.WriteRawTag(8);
          output.WriteInt64(S2CellId);
        }
        if (displayWeather_ != null) {
          output.WriteRawTag(18);
          output.WriteMessage(DisplayWeather);
        }
        if (gameplayWeather_ != null) {
          output.WriteRawTag(26);
          output.WriteMessage(GameplayWeather);
        }
        alerts_.WriteTo(output, _repeated_alerts_codec);
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public int CalculateSize() {
        int size = 0;
        if (S2CellId != 0L) {
          size += 1 + pb::CodedOutputStream.ComputeInt64Size(S2CellId);
        }
        if (displayWeather_ != null) {
          size += 1 + pb::CodedOutputStream.ComputeMessageSize(DisplayWeather);
        }
        if (gameplayWeather_ != null) {
          size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameplayWeather);
        }
        size += alerts_.CalculateSize(_repeated_alerts_codec);
        return size;
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      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_);
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public void MergeFrom(pb::CodedInputStream input) {
        uint tag;
        while ((tag = input.ReadTag()) != 0) {
          switch(tag) {
            default:
              input.SkipLastField();
              break;
            case 8: {
              S2CellId = input.ReadInt64();
              break;
            }
            case 18: {
  
gt:             if (displayWeather_ == null) {