context: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: POGOProtos/Map/Fort/GymEvent.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.Fort {
  
    /// <summary>Holder for reflection information generated from POGOProtos/Map/Fort/GymEvent.proto</summary>
    public static partial class GymEventReflection {
  
      #region Descriptor
      /// <summary>File descriptor for POGOProtos/Map/Fort/GymEvent.proto</summary>
      public static pbr::FileDescriptor Descriptor {
        get { return descriptor; }
      }
      private static pbr::FileDescriptor descriptor;
  
      static GymEventReflection() {
        byte[] descriptorData = global::System.Convert.FromBase64String(
            string.Concat(
              "CiJQT0dPUHJvdG9zL01hcC9Gb3J0L0d5bUV2ZW50LnByb3RvEhNQT0dPUHJv",
              "dG9zLk1hcC5Gb3J0IrkCCghHeW1FdmVudBIPCgd0cmFpbmVyGAEgASgJEhQK",
              "DHRpbWVzdGFtcF9tcxgCIAEoAxIyCgVldmVudBgDIAEoDjIjLlBPR09Qcm90",
              "b3MuTWFwLkZvcnQuR3ltRXZlbnQuRXZlbnQSEgoKcG9rZWRleF9pZBgEIAEo",
              "BRISCgpwb2tlbW9uX2lkGAUgASgGIqkBCgVFdmVudBILCgdVTktOT1dOEAAS",
              "DwoLUE9LRU1PTl9GRUQQARIUChBQT0tFTU9OX0RFUExPWUVEEAISFAoQUE9L",
              "RU1PTl9SRVRVUk5FRBADEg4KCkJBVFRMRV9XT04QBBIPCgtCQVRUTEVfTE9T",
              "UxAFEhAKDFJBSURfU1RBUlRFRBAGEg4KClJBSURfRU5ERUQQBxITCg9HWU1f",
              "TkVVVFJBTElaRUQQCGIGcHJvdG8z"));
        descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
            new pbr::FileDescriptor[] { },
            new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
              new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Map.Fort.GymEvent), global::POGOProtos.Map.Fort.GymEvent.Parser, new[]{ "Trainer", "TimestampMs", "Event", "PokedexId", "PokemonId" }, null, new[]{ typeof(global::POGOProtos.Map.Fort.GymEvent.Types.Event) }, null)
            }));
      }
      #endregion
  
    }
    #region Messages
    public sealed partial class GymEvent : pb::IMessage<GymEvent> {
      private static readonly pb::MessageParser<GymEvent> _parser = new pb::MessageParser<GymEvent>(() => new GymEvent());
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public static pb::MessageParser<GymEvent> Parser { get { return _parser; } }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public static pbr::MessageDescriptor Descriptor {
        get { return global::POGOProtos.Map.Fort.GymEventReflection.Descriptor.MessageTypes[0]; }
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      pbr::MessageDescriptor pb::IMessage.Descriptor {
        get { return Descriptor; }
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public GymEvent() {
        OnConstruction();
      }
  
      partial void OnConstruction();
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public GymEvent(GymEvent other) : this() {
        trainer_ = other.trainer_;
        timestampMs_ = other.timestampMs_;
        event_ = other.event_;
        pokedexId_ = other.pokedexId_;
        pokemonId_ = other.pokemonId_;
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public GymEvent Clone() {
        return new GymEvent(this);
      }
  
      /// <summary>Field number for the "trainer" field.</summary>
      public const int TrainerFieldNumber = 1;
      private string trainer_ = "";
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public string Trainer {
        get { return trainer_; }
        set {
          trainer_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
        }
      }
  
      /// <summary>Field number for the "timestamp_ms" field.</summary>
      public const int TimestampMsFieldNumber = 2;
      private long timestampMs_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public long TimestampMs {
        get { return timestampMs_; }
        set {
          timestampMs_ = value;
        }
      }
  
      /// <summary>Field number for the "event" field.</summary>
      public const int EventFieldNumber = 3;
      private global::POGOProtos.Map.Fort.GymEvent.Types.Event event_ = 0;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public global::POGOProtos.Map.Fort.GymEvent.Types.Event Event {
        get { return event_; }
        set {
          event_ = value;
        }
      }
  
      /// <summary>Field number for the "pokedex_id" field.</summary>
      public const int PokedexIdFieldNumber = 4;
      private int pokedexId_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public int PokedexId {
        get { return pokedexId_; }
        set {
          pokedexId_ = value;
        }
      }
  
      /// <summary>Field number for the "pokemon_id" field.</summary>
      public const int PokemonIdFieldNumber = 5;
      private ulong pokemonId_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public ulong PokemonId {
        get { return pokemonId_; }
        set {
          pokemonId_ = value;
        }
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public override bool Equals(object other) {
        return Equals(other as GymEvent);
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public bool Equals(GymEvent other) {
        if (ReferenceEquals(other, null)) {
          return false;
        }
        if (ReferenceEquals(other, this)) {
          return true;
        }
        if (Trainer != other.Trainer) return false;
        if (TimestampMs != other.TimestampMs) return false;
        if (Event != other.Event) return false;
        if (PokedexId != other.PokedexId) return false;
        if (PokemonId != other.PokemonId) return false;
        return true;
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public override int GetHashCode() {
        int hash = 1;
        if (Trainer.Length != 0) hash ^= Trainer.GetHashCode();
        if (TimestampMs != 0L) hash ^= TimestampMs.GetHashCode();
        if (Event != 0) hash ^= Event.GetHashCode();
        if (PokedexId != 0) hash ^= PokedexId.GetHashCode();
        if (PokemonId != 0UL) hash ^= PokemonId.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 (Trainer.Length != 0) {
          output.WriteRawTag(10);
          output.WriteString(Trainer);
        }
        if (TimestampMs != 0L) {
          output.WriteRawTag(16);
          output.WriteInt64(TimestampMs);
        }
        if (Event != 0) {
          output.WriteRawTag(24);
          output.WriteEnum((int) Event);
        }
        if (PokedexId != 0) {
          output.WriteRawTag(32);
          output.WriteInt32(PokedexId);
        }
        if (PokemonId != 0UL) {
          output.WriteRawTag(41);
          output.WriteFixed64(PokemonId);
        }
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public int CalculateSize() {
        int size = 0;
        if (Trainer.Length != 0) {
          size += 1 + pb::CodedOutputStream.ComputeStringSize(Trainer);
        }
        if (TimestampMs != 0L) {
          size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimestampMs);
        }
        if (Event != 0) {
          size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Event);
        }
        if (PokedexId != 0) {
          size += 1 + pb::CodedOutputStream.ComputeInt32Size(PokedexId);
        }
        if (PokemonId != 0UL) {
          size += 1 + 8;
        }
        return size;
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public void MergeFrom(GymEvent other) {
        if (other == null) {
          return;
        }
        if (other.Trainer.Length != 0) {
          Trainer = other.Trainer;
        }
  
gt:       if (other.TimestampMs != 0L) {