< Summary

Class:Decentraland.Quests.QuestsReflection
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/Quests.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:7513
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:2
Method coverage:0% (0 of 2)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
QuestsReflection()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/Quests.gen.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/renderer/quests/quests.proto
 4// </auto-generated>
 5#pragma warning disable 1591, 0612, 3021
 6#region Designer generated code
 7
 8using pb = global::Google.Protobuf;
 9using pbc = global::Google.Protobuf.Collections;
 10using pbr = global::Google.Protobuf.Reflection;
 11using scg = global::System.Collections.Generic;
 12namespace Decentraland.Quests {
 13
 14  /// <summary>Holder for reflection information generated from decentraland/renderer/quests/quests.proto</summary>
 15  public static partial class QuestsReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/renderer/quests/quests.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static QuestsReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CilkZWNlbnRyYWxhbmQvcmVuZGVyZXIvcXVlc3RzL3F1ZXN0cy5wcm90bxIT",
 28            "ZGVjZW50cmFsYW5kLnF1ZXN0cxobZ29vZ2xlL3Byb3RvYnVmL2VtcHR5LnBy",
 29            "b3RvIg4KDEludmFsaWRRdWVzdCIJCgdOb3RVVUlEIhUKE0ludGVybmFsU2Vy",
 30            "dmVyRXJyb3IiFwoVTm90Rm91bmRRdWVzdEluc3RhbmNlIhUKE1F1ZXN0QWxy",
 31            "ZWFkeVN0YXJ0ZWQiCgoITm90T3duZXIiDgoMSWdub3JlZEV2ZW50IiUKEVN0",
 32            "YXJ0UXVlc3RSZXF1ZXN0EhAKCHF1ZXN0X2lkGAEgASgJIvwCChJTdGFydFF1",
 33            "ZXN0UmVzcG9uc2USRAoIYWNjZXB0ZWQYASABKAsyMC5kZWNlbnRyYWxhbmQu",
 34            "cXVlc3RzLlN0YXJ0UXVlc3RSZXNwb25zZS5BY2NlcHRlZEgAEjoKDWludmFs",
 35            "aWRfcXVlc3QYAiABKAsyIS5kZWNlbnRyYWxhbmQucXVlc3RzLkludmFsaWRR",
 36            "dWVzdEgAEjYKDm5vdF91dWlkX2Vycm9yGAMgASgLMhwuZGVjZW50cmFsYW5k",
 37            "LnF1ZXN0cy5Ob3RVVUlESAASSQoVaW50ZXJuYWxfc2VydmVyX2Vycm9yGAQg",
 38            "ASgLMiguZGVjZW50cmFsYW5kLnF1ZXN0cy5JbnRlcm5hbFNlcnZlckVycm9y",
 39            "SAASSQoVcXVlc3RfYWxyZWFkeV9zdGFydGVkGAUgASgLMiguZGVjZW50cmFs",
 40            "YW5kLnF1ZXN0cy5RdWVzdEFscmVhZHlTdGFydGVkSAAaCgoIQWNjZXB0ZWRC",
 41            "CgoIcmVzcG9uc2UiLgoRQWJvcnRRdWVzdFJlcXVlc3QSGQoRcXVlc3RfaW5z",
 42            "dGFuY2VfaWQYASABKAki+QIKEkFib3J0UXVlc3RSZXNwb25zZRJECghhY2Nl",
 43            "cHRlZBgBIAEoCzIwLmRlY2VudHJhbGFuZC5xdWVzdHMuQWJvcnRRdWVzdFJl",
 44            "c3BvbnNlLkFjY2VwdGVkSAASTgoYbm90X2ZvdW5kX3F1ZXN0X2luc3RhbmNl",
 45            "GAIgASgLMiouZGVjZW50cmFsYW5kLnF1ZXN0cy5Ob3RGb3VuZFF1ZXN0SW5z",
 46            "dGFuY2VIABI2Cg5ub3RfdXVpZF9lcnJvchgDIAEoCzIcLmRlY2VudHJhbGFu",
 47            "ZC5xdWVzdHMuTm90VVVJREgAEjIKCW5vdF9vd25lchgEIAEoCzIdLmRlY2Vu",
 48            "dHJhbGFuZC5xdWVzdHMuTm90T3duZXJIABJJChVpbnRlcm5hbF9zZXJ2ZXJf",
 49            "ZXJyb3IYBSABKAsyKC5kZWNlbnRyYWxhbmQucXVlc3RzLkludGVybmFsU2Vy",
 50            "dmVyRXJyb3JIABoKCghBY2NlcHRlZEIKCghyZXNwb25zZSJRCgVFdmVudBIK",
 51            "CgJpZBgBIAEoCRIPCgdhZGRyZXNzGAIgASgJEisKBmFjdGlvbhgDIAEoCzIb",
 52            "LmRlY2VudHJhbGFuZC5xdWVzdHMuQWN0aW9uIjsKDEV2ZW50UmVxdWVzdBIr",
 53            "CgZhY3Rpb24YASABKAsyGy5kZWNlbnRyYWxhbmQucXVlc3RzLkFjdGlvbiK/",
 54            "AQoNRXZlbnRSZXNwb25zZRIbChFhY2NlcHRlZF9ldmVudF9pZBgBIAEoCUgA",
 55            "EjoKDWlnbm9yZWRfZXZlbnQYAiABKAsyIS5kZWNlbnRyYWxhbmQucXVlc3Rz",
 56            "Lklnbm9yZWRFdmVudEgAEkkKFWludGVybmFsX3NlcnZlcl9lcnJvchgDIAEo",
 57            "CzIoLmRlY2VudHJhbGFuZC5xdWVzdHMuSW50ZXJuYWxTZXJ2ZXJFcnJvckgA",
 58            "QgoKCHJlc3BvbnNlInEKD1F1ZXN0RGVmaW5pdGlvbhIoCgVzdGVwcxgBIAMo",
 59            "CzIZLmRlY2VudHJhbGFuZC5xdWVzdHMuU3RlcBI0Cgtjb25uZWN0aW9ucxgC",
 60            "IAMoCzIfLmRlY2VudHJhbGFuZC5xdWVzdHMuQ29ubmVjdGlvbiIwCgpDb25u",
 61            "ZWN0aW9uEhEKCXN0ZXBfZnJvbRgBIAEoCRIPCgdzdGVwX3RvGAIgASgJIlEK",
 62            "BFN0ZXASCgoCaWQYASABKAkSEwoLZGVzY3JpcHRpb24YAiABKAkSKAoFdGFz",
 63            "a3MYAyADKAsyGS5kZWNlbnRyYWxhbmQucXVlc3RzLlRhc2siigEKBkFjdGlv",
 64            "bhIMCgR0eXBlGAEgASgJEj8KCnBhcmFtZXRlcnMYAiADKAsyKy5kZWNlbnRy",
 65            "YWxhbmQucXVlc3RzLkFjdGlvbi5QYXJhbWV0ZXJzRW50cnkaMQoPUGFyYW1l",
 66            "dGVyc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEiWgoE",
 67            "VGFzaxIKCgJpZBgBIAEoCRITCgtkZXNjcmlwdGlvbhgCIAEoCRIxCgxhY3Rp",
 68            "b25faXRlbXMYAyADKAsyGy5kZWNlbnRyYWxhbmQucXVlc3RzLkFjdGlvbiJs",
 69            "CgtTdGVwQ29udGVudBIpCgZ0b19kb3MYASADKAsyGS5kZWNlbnRyYWxhbmQu",
 70            "cXVlc3RzLlRhc2sSMgoPdGFza3NfY29tcGxldGVkGAIgAygLMhkuZGVjZW50",
 71            "cmFsYW5kLnF1ZXN0cy5UYXNrIvIBCgpRdWVzdFN0YXRlEkgKDWN1cnJlbnRf",
 72            "c3RlcHMYAiADKAsyMS5kZWNlbnRyYWxhbmQucXVlc3RzLlF1ZXN0U3RhdGUu",
 73            "Q3VycmVudFN0ZXBzRW50cnkSEgoKc3RlcHNfbGVmdBgDIAEoBxIXCg9zdGVw",
 74            "c19jb21wbGV0ZWQYBCADKAkSFgoOcmVxdWlyZWRfc3RlcHMYBSADKAkaVQoR",
 75            "Q3VycmVudFN0ZXBzRW50cnkSCwoDa2V5GAEgASgJEi8KBXZhbHVlGAIgASgL",
 76            "MiAuZGVjZW50cmFsYW5kLnF1ZXN0cy5TdGVwQ29udGVudDoCOAEinAEKBVF1",
 77            "ZXN0EgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24Y",
 78            "AyABKAkSOAoKZGVmaW5pdGlvbhgEIAEoCzIkLmRlY2VudHJhbGFuZC5xdWVz",
 79            "dHMuUXVlc3REZWZpbml0aW9uEhcKD2NyZWF0b3JfYWRkcmVzcxgFIAEoCRIR",
 80            "CglpbWFnZV91cmwYBiABKAkidgoNUXVlc3RJbnN0YW5jZRIKCgJpZBgBIAEo",
 81            "CRIpCgVxdWVzdBgCIAEoCzIaLmRlY2VudHJhbGFuZC5xdWVzdHMuUXVlc3QS",
 82            "LgoFc3RhdGUYAyABKAsyHy5kZWNlbnRyYWxhbmQucXVlc3RzLlF1ZXN0U3Rh",
 83            "dGUibwoQUXVlc3RTdGF0ZVVwZGF0ZRITCgtpbnN0YW5jZV9pZBgBIAEoCRI0",
 84            "CgtxdWVzdF9zdGF0ZRgCIAEoCzIfLmRlY2VudHJhbGFuZC5xdWVzdHMuUXVl",
 85            "c3RTdGF0ZRIQCghldmVudF9pZBgDIAEoCSLiAQoKVXNlclVwZGF0ZRIUCgpz",
 86            "dWJzY3JpYmVkGAEgASgISAASQwoScXVlc3Rfc3RhdGVfdXBkYXRlGAIgASgL",
 87            "MiUuZGVjZW50cmFsYW5kLnF1ZXN0cy5RdWVzdFN0YXRlVXBkYXRlSAASPwoR",
 88            "bmV3X3F1ZXN0X3N0YXJ0ZWQYAyABKAsyIi5kZWNlbnRyYWxhbmQucXVlc3Rz",
 89            "LlF1ZXN0SW5zdGFuY2VIABIXCg1ldmVudF9pZ25vcmVkGAQgASgJSAASFAoM",
 90            "dXNlcl9hZGRyZXNzGAUgASgJQgkKB21lc3NhZ2UiPwoGUXVlc3RzEjUKCWlu",
 91            "c3RhbmNlcxgBIAMoCzIiLmRlY2VudHJhbGFuZC5xdWVzdHMuUXVlc3RJbnN0",
 92            "YW5jZSKcAQoUR2V0QWxsUXVlc3RzUmVzcG9uc2USLQoGcXVlc3RzGAEgASgL",
 93            "MhsuZGVjZW50cmFsYW5kLnF1ZXN0cy5RdWVzdHNIABJJChVpbnRlcm5hbF9z",
 94            "ZXJ2ZXJfZXJyb3IYAiABKAsyKC5kZWNlbnRyYWxhbmQucXVlc3RzLkludGVy",
 95            "bmFsU2VydmVyRXJyb3JIAEIKCghyZXNwb25zZSItChlHZXRRdWVzdERlZmlu",
 96            "aXRpb25SZXF1ZXN0EhAKCHF1ZXN0X2lkGAEgASgJIqABChpHZXRRdWVzdERl",
 97            "ZmluaXRpb25SZXNwb25zZRIrCgVxdWVzdBgBIAEoCzIaLmRlY2VudHJhbGFu",
 98            "ZC5xdWVzdHMuUXVlc3RIABJJChVpbnRlcm5hbF9zZXJ2ZXJfZXJyb3IYAiAB",
 99            "KAsyKC5kZWNlbnRyYWxhbmQucXVlc3RzLkludGVybmFsU2VydmVyRXJyb3JI",
 100            "AEIKCghyZXNwb25zZTK/BAoNUXVlc3RzU2VydmljZRJfCgpTdGFydFF1ZXN0",
 101            "EiYuZGVjZW50cmFsYW5kLnF1ZXN0cy5TdGFydFF1ZXN0UmVxdWVzdBonLmRl",
 102            "Y2VudHJhbGFuZC5xdWVzdHMuU3RhcnRRdWVzdFJlc3BvbnNlIgASXwoKQWJv",
 103            "cnRRdWVzdBImLmRlY2VudHJhbGFuZC5xdWVzdHMuQWJvcnRRdWVzdFJlcXVl",
 104            "c3QaJy5kZWNlbnRyYWxhbmQucXVlc3RzLkFib3J0UXVlc3RSZXNwb25zZSIA",
 105            "ElQKCVNlbmRFdmVudBIhLmRlY2VudHJhbGFuZC5xdWVzdHMuRXZlbnRSZXF1",
 106            "ZXN0GiIuZGVjZW50cmFsYW5kLnF1ZXN0cy5FdmVudFJlc3BvbnNlIgASSAoJ",
 107            "U3Vic2NyaWJlEhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5Gh8uZGVjZW50cmFs",
 108            "YW5kLnF1ZXN0cy5Vc2VyVXBkYXRlIgAwARJTCgxHZXRBbGxRdWVzdHMSFi5n",
 109            "b29nbGUucHJvdG9idWYuRW1wdHkaKS5kZWNlbnRyYWxhbmQucXVlc3RzLkdl",
 110            "dEFsbFF1ZXN0c1Jlc3BvbnNlIgASdwoSR2V0UXVlc3REZWZpbml0aW9uEi4u",
 111            "ZGVjZW50cmFsYW5kLnF1ZXN0cy5HZXRRdWVzdERlZmluaXRpb25SZXF1ZXN0",
 112            "Gi8uZGVjZW50cmFsYW5kLnF1ZXN0cy5HZXRRdWVzdERlZmluaXRpb25SZXNw",
 113            "b25zZSIAYgZwcm90bzM="));
 0114      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 115          new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, },
 116          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 117            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.InvalidQuest), global::Decentraland.Quests.
 118            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.NotUUID), global::Decentraland.Quests.NotUU
 119            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.InternalServerError), global::Decentraland.
 120            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.NotFoundQuestInstance), global::Decentralan
 121            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.QuestAlreadyStarted), global::Decentraland.
 122            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.NotOwner), global::Decentraland.Quests.NotO
 123            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.IgnoredEvent), global::Decentraland.Quests.
 124            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.StartQuestRequest), global::Decentraland.Qu
 125            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.StartQuestResponse), global::Decentraland.Q
 126            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.AbortQuestRequest), global::Decentraland.Qu
 127            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.AbortQuestResponse), global::Decentraland.Q
 128            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.Event), global::Decentraland.Quests.Event.P
 129            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.EventRequest), global::Decentraland.Quests.
 130            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.EventResponse), global::Decentraland.Quests
 131            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.QuestDefinition), global::Decentraland.Ques
 132            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.Connection), global::Decentraland.Quests.Co
 133            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.Step), global::Decentraland.Quests.Step.Par
 134            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.Action), global::Decentraland.Quests.Action
 135            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.Task), global::Decentraland.Quests.Task.Par
 136            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.StepContent), global::Decentraland.Quests.S
 137            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.QuestState), global::Decentraland.Quests.Qu
 138            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.Quest), global::Decentraland.Quests.Quest.P
 139            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.QuestInstance), global::Decentraland.Quests
 140            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.QuestStateUpdate), global::Decentraland.Que
 141            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.UserUpdate), global::Decentraland.Quests.Us
 142            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.Quests), global::Decentraland.Quests.Quests
 143            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.GetAllQuestsResponse), global::Decentraland
 144            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.GetQuestDefinitionRequest), global::Decentr
 145            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Quests.GetQuestDefinitionResponse), global::Decent
 146          }));
 0147    }
 148    #endregion
 149
 150  }
 151  #region Messages
 152  /// <summary>
 153  /// Errors
 154  /// </summary>
 155  public sealed partial class InvalidQuest : pb::IMessage<InvalidQuest>
 156  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 157      , pb::IBufferMessage
 158  #endif
 159  {
 160    private static readonly pb::MessageParser<InvalidQuest> _parser = new pb::MessageParser<InvalidQuest>(() => new Inva
 161    private pb::UnknownFieldSet _unknownFields;
 162    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 163    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 164    public static pb::MessageParser<InvalidQuest> Parser { get { return _parser; } }
 165
 166    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 167    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 168    public static pbr::MessageDescriptor Descriptor {
 169      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[0]; }
 170    }
 171
 172    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 173    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 174    pbr::MessageDescriptor pb::IMessage.Descriptor {
 175      get { return Descriptor; }
 176    }
 177
 178    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 179    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 180    public InvalidQuest() {
 181      OnConstruction();
 182    }
 183
 184    partial void OnConstruction();
 185
 186    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 187    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 188    public InvalidQuest(InvalidQuest other) : this() {
 189      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 190    }
 191
 192    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 193    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 194    public InvalidQuest Clone() {
 195      return new InvalidQuest(this);
 196    }
 197
 198    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 199    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 200    public override bool Equals(object other) {
 201      return Equals(other as InvalidQuest);
 202    }
 203
 204    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 205    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 206    public bool Equals(InvalidQuest other) {
 207      if (ReferenceEquals(other, null)) {
 208        return false;
 209      }
 210      if (ReferenceEquals(other, this)) {
 211        return true;
 212      }
 213      return Equals(_unknownFields, other._unknownFields);
 214    }
 215
 216    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 217    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 218    public override int GetHashCode() {
 219      int hash = 1;
 220      if (_unknownFields != null) {
 221        hash ^= _unknownFields.GetHashCode();
 222      }
 223      return hash;
 224    }
 225
 226    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 227    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 228    public override string ToString() {
 229      return pb::JsonFormatter.ToDiagnosticString(this);
 230    }
 231
 232    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 233    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 234    public void WriteTo(pb::CodedOutputStream output) {
 235    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 236      output.WriteRawMessage(this);
 237    #else
 238      if (_unknownFields != null) {
 239        _unknownFields.WriteTo(output);
 240      }
 241    #endif
 242    }
 243
 244    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 245    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 246    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 247    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 248      if (_unknownFields != null) {
 249        _unknownFields.WriteTo(ref output);
 250      }
 251    }
 252    #endif
 253
 254    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 255    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 256    public int CalculateSize() {
 257      int size = 0;
 258      if (_unknownFields != null) {
 259        size += _unknownFields.CalculateSize();
 260      }
 261      return size;
 262    }
 263
 264    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 265    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 266    public void MergeFrom(InvalidQuest other) {
 267      if (other == null) {
 268        return;
 269      }
 270      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 271    }
 272
 273    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 274    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 275    public void MergeFrom(pb::CodedInputStream input) {
 276    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 277      input.ReadRawMessage(this);
 278    #else
 279      uint tag;
 280      while ((tag = input.ReadTag()) != 0) {
 281        switch(tag) {
 282          default:
 283            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 284            break;
 285        }
 286      }
 287    #endif
 288    }
 289
 290    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 291    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 292    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 293    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 294      uint tag;
 295      while ((tag = input.ReadTag()) != 0) {
 296        switch(tag) {
 297          default:
 298            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 299            break;
 300        }
 301      }
 302    }
 303    #endif
 304
 305  }
 306
 307  public sealed partial class NotUUID : pb::IMessage<NotUUID>
 308  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 309      , pb::IBufferMessage
 310  #endif
 311  {
 312    private static readonly pb::MessageParser<NotUUID> _parser = new pb::MessageParser<NotUUID>(() => new NotUUID());
 313    private pb::UnknownFieldSet _unknownFields;
 314    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 315    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 316    public static pb::MessageParser<NotUUID> Parser { get { return _parser; } }
 317
 318    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 319    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 320    public static pbr::MessageDescriptor Descriptor {
 321      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[1]; }
 322    }
 323
 324    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 325    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 326    pbr::MessageDescriptor pb::IMessage.Descriptor {
 327      get { return Descriptor; }
 328    }
 329
 330    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 331    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 332    public NotUUID() {
 333      OnConstruction();
 334    }
 335
 336    partial void OnConstruction();
 337
 338    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 339    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 340    public NotUUID(NotUUID other) : this() {
 341      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 342    }
 343
 344    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 345    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 346    public NotUUID Clone() {
 347      return new NotUUID(this);
 348    }
 349
 350    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 351    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 352    public override bool Equals(object other) {
 353      return Equals(other as NotUUID);
 354    }
 355
 356    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 357    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 358    public bool Equals(NotUUID other) {
 359      if (ReferenceEquals(other, null)) {
 360        return false;
 361      }
 362      if (ReferenceEquals(other, this)) {
 363        return true;
 364      }
 365      return Equals(_unknownFields, other._unknownFields);
 366    }
 367
 368    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 369    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 370    public override int GetHashCode() {
 371      int hash = 1;
 372      if (_unknownFields != null) {
 373        hash ^= _unknownFields.GetHashCode();
 374      }
 375      return hash;
 376    }
 377
 378    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 379    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 380    public override string ToString() {
 381      return pb::JsonFormatter.ToDiagnosticString(this);
 382    }
 383
 384    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 385    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 386    public void WriteTo(pb::CodedOutputStream output) {
 387    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 388      output.WriteRawMessage(this);
 389    #else
 390      if (_unknownFields != null) {
 391        _unknownFields.WriteTo(output);
 392      }
 393    #endif
 394    }
 395
 396    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 397    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 398    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 399    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 400      if (_unknownFields != null) {
 401        _unknownFields.WriteTo(ref output);
 402      }
 403    }
 404    #endif
 405
 406    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 407    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 408    public int CalculateSize() {
 409      int size = 0;
 410      if (_unknownFields != null) {
 411        size += _unknownFields.CalculateSize();
 412      }
 413      return size;
 414    }
 415
 416    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 417    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 418    public void MergeFrom(NotUUID other) {
 419      if (other == null) {
 420        return;
 421      }
 422      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 423    }
 424
 425    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 426    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 427    public void MergeFrom(pb::CodedInputStream input) {
 428    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 429      input.ReadRawMessage(this);
 430    #else
 431      uint tag;
 432      while ((tag = input.ReadTag()) != 0) {
 433        switch(tag) {
 434          default:
 435            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 436            break;
 437        }
 438      }
 439    #endif
 440    }
 441
 442    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 443    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 444    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 445    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 446      uint tag;
 447      while ((tag = input.ReadTag()) != 0) {
 448        switch(tag) {
 449          default:
 450            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 451            break;
 452        }
 453      }
 454    }
 455    #endif
 456
 457  }
 458
 459  public sealed partial class InternalServerError : pb::IMessage<InternalServerError>
 460  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 461      , pb::IBufferMessage
 462  #endif
 463  {
 464    private static readonly pb::MessageParser<InternalServerError> _parser = new pb::MessageParser<InternalServerError>(
 465    private pb::UnknownFieldSet _unknownFields;
 466    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 467    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 468    public static pb::MessageParser<InternalServerError> Parser { get { return _parser; } }
 469
 470    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 471    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 472    public static pbr::MessageDescriptor Descriptor {
 473      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[2]; }
 474    }
 475
 476    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 477    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 478    pbr::MessageDescriptor pb::IMessage.Descriptor {
 479      get { return Descriptor; }
 480    }
 481
 482    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 483    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 484    public InternalServerError() {
 485      OnConstruction();
 486    }
 487
 488    partial void OnConstruction();
 489
 490    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 491    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 492    public InternalServerError(InternalServerError other) : this() {
 493      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 494    }
 495
 496    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 497    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 498    public InternalServerError Clone() {
 499      return new InternalServerError(this);
 500    }
 501
 502    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 503    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 504    public override bool Equals(object other) {
 505      return Equals(other as InternalServerError);
 506    }
 507
 508    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 509    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 510    public bool Equals(InternalServerError other) {
 511      if (ReferenceEquals(other, null)) {
 512        return false;
 513      }
 514      if (ReferenceEquals(other, this)) {
 515        return true;
 516      }
 517      return Equals(_unknownFields, other._unknownFields);
 518    }
 519
 520    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 521    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 522    public override int GetHashCode() {
 523      int hash = 1;
 524      if (_unknownFields != null) {
 525        hash ^= _unknownFields.GetHashCode();
 526      }
 527      return hash;
 528    }
 529
 530    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 531    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 532    public override string ToString() {
 533      return pb::JsonFormatter.ToDiagnosticString(this);
 534    }
 535
 536    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 537    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 538    public void WriteTo(pb::CodedOutputStream output) {
 539    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 540      output.WriteRawMessage(this);
 541    #else
 542      if (_unknownFields != null) {
 543        _unknownFields.WriteTo(output);
 544      }
 545    #endif
 546    }
 547
 548    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 549    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 550    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 551    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 552      if (_unknownFields != null) {
 553        _unknownFields.WriteTo(ref output);
 554      }
 555    }
 556    #endif
 557
 558    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 559    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 560    public int CalculateSize() {
 561      int size = 0;
 562      if (_unknownFields != null) {
 563        size += _unknownFields.CalculateSize();
 564      }
 565      return size;
 566    }
 567
 568    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 569    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 570    public void MergeFrom(InternalServerError other) {
 571      if (other == null) {
 572        return;
 573      }
 574      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 575    }
 576
 577    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 578    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 579    public void MergeFrom(pb::CodedInputStream input) {
 580    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 581      input.ReadRawMessage(this);
 582    #else
 583      uint tag;
 584      while ((tag = input.ReadTag()) != 0) {
 585        switch(tag) {
 586          default:
 587            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 588            break;
 589        }
 590      }
 591    #endif
 592    }
 593
 594    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 595    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 596    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 597    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 598      uint tag;
 599      while ((tag = input.ReadTag()) != 0) {
 600        switch(tag) {
 601          default:
 602            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 603            break;
 604        }
 605      }
 606    }
 607    #endif
 608
 609  }
 610
 611  public sealed partial class NotFoundQuestInstance : pb::IMessage<NotFoundQuestInstance>
 612  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 613      , pb::IBufferMessage
 614  #endif
 615  {
 616    private static readonly pb::MessageParser<NotFoundQuestInstance> _parser = new pb::MessageParser<NotFoundQuestInstan
 617    private pb::UnknownFieldSet _unknownFields;
 618    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 619    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 620    public static pb::MessageParser<NotFoundQuestInstance> Parser { get { return _parser; } }
 621
 622    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 623    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 624    public static pbr::MessageDescriptor Descriptor {
 625      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[3]; }
 626    }
 627
 628    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 629    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 630    pbr::MessageDescriptor pb::IMessage.Descriptor {
 631      get { return Descriptor; }
 632    }
 633
 634    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 635    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 636    public NotFoundQuestInstance() {
 637      OnConstruction();
 638    }
 639
 640    partial void OnConstruction();
 641
 642    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 643    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 644    public NotFoundQuestInstance(NotFoundQuestInstance other) : this() {
 645      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 646    }
 647
 648    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 649    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 650    public NotFoundQuestInstance Clone() {
 651      return new NotFoundQuestInstance(this);
 652    }
 653
 654    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 655    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 656    public override bool Equals(object other) {
 657      return Equals(other as NotFoundQuestInstance);
 658    }
 659
 660    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 661    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 662    public bool Equals(NotFoundQuestInstance other) {
 663      if (ReferenceEquals(other, null)) {
 664        return false;
 665      }
 666      if (ReferenceEquals(other, this)) {
 667        return true;
 668      }
 669      return Equals(_unknownFields, other._unknownFields);
 670    }
 671
 672    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 673    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 674    public override int GetHashCode() {
 675      int hash = 1;
 676      if (_unknownFields != null) {
 677        hash ^= _unknownFields.GetHashCode();
 678      }
 679      return hash;
 680    }
 681
 682    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 683    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 684    public override string ToString() {
 685      return pb::JsonFormatter.ToDiagnosticString(this);
 686    }
 687
 688    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 689    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 690    public void WriteTo(pb::CodedOutputStream output) {
 691    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 692      output.WriteRawMessage(this);
 693    #else
 694      if (_unknownFields != null) {
 695        _unknownFields.WriteTo(output);
 696      }
 697    #endif
 698    }
 699
 700    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 701    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 702    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 703    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 704      if (_unknownFields != null) {
 705        _unknownFields.WriteTo(ref output);
 706      }
 707    }
 708    #endif
 709
 710    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 711    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 712    public int CalculateSize() {
 713      int size = 0;
 714      if (_unknownFields != null) {
 715        size += _unknownFields.CalculateSize();
 716      }
 717      return size;
 718    }
 719
 720    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 721    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 722    public void MergeFrom(NotFoundQuestInstance other) {
 723      if (other == null) {
 724        return;
 725      }
 726      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 727    }
 728
 729    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 730    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 731    public void MergeFrom(pb::CodedInputStream input) {
 732    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 733      input.ReadRawMessage(this);
 734    #else
 735      uint tag;
 736      while ((tag = input.ReadTag()) != 0) {
 737        switch(tag) {
 738          default:
 739            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 740            break;
 741        }
 742      }
 743    #endif
 744    }
 745
 746    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 747    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 748    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 749    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 750      uint tag;
 751      while ((tag = input.ReadTag()) != 0) {
 752        switch(tag) {
 753          default:
 754            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 755            break;
 756        }
 757      }
 758    }
 759    #endif
 760
 761  }
 762
 763  public sealed partial class QuestAlreadyStarted : pb::IMessage<QuestAlreadyStarted>
 764  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 765      , pb::IBufferMessage
 766  #endif
 767  {
 768    private static readonly pb::MessageParser<QuestAlreadyStarted> _parser = new pb::MessageParser<QuestAlreadyStarted>(
 769    private pb::UnknownFieldSet _unknownFields;
 770    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 771    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 772    public static pb::MessageParser<QuestAlreadyStarted> Parser { get { return _parser; } }
 773
 774    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 775    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 776    public static pbr::MessageDescriptor Descriptor {
 777      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[4]; }
 778    }
 779
 780    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 781    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 782    pbr::MessageDescriptor pb::IMessage.Descriptor {
 783      get { return Descriptor; }
 784    }
 785
 786    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 787    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 788    public QuestAlreadyStarted() {
 789      OnConstruction();
 790    }
 791
 792    partial void OnConstruction();
 793
 794    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 795    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 796    public QuestAlreadyStarted(QuestAlreadyStarted other) : this() {
 797      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 798    }
 799
 800    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 801    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 802    public QuestAlreadyStarted Clone() {
 803      return new QuestAlreadyStarted(this);
 804    }
 805
 806    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 807    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 808    public override bool Equals(object other) {
 809      return Equals(other as QuestAlreadyStarted);
 810    }
 811
 812    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 813    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 814    public bool Equals(QuestAlreadyStarted other) {
 815      if (ReferenceEquals(other, null)) {
 816        return false;
 817      }
 818      if (ReferenceEquals(other, this)) {
 819        return true;
 820      }
 821      return Equals(_unknownFields, other._unknownFields);
 822    }
 823
 824    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 825    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 826    public override int GetHashCode() {
 827      int hash = 1;
 828      if (_unknownFields != null) {
 829        hash ^= _unknownFields.GetHashCode();
 830      }
 831      return hash;
 832    }
 833
 834    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 835    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 836    public override string ToString() {
 837      return pb::JsonFormatter.ToDiagnosticString(this);
 838    }
 839
 840    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 841    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 842    public void WriteTo(pb::CodedOutputStream output) {
 843    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 844      output.WriteRawMessage(this);
 845    #else
 846      if (_unknownFields != null) {
 847        _unknownFields.WriteTo(output);
 848      }
 849    #endif
 850    }
 851
 852    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 853    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 854    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 855    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 856      if (_unknownFields != null) {
 857        _unknownFields.WriteTo(ref output);
 858      }
 859    }
 860    #endif
 861
 862    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 863    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 864    public int CalculateSize() {
 865      int size = 0;
 866      if (_unknownFields != null) {
 867        size += _unknownFields.CalculateSize();
 868      }
 869      return size;
 870    }
 871
 872    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 873    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 874    public void MergeFrom(QuestAlreadyStarted other) {
 875      if (other == null) {
 876        return;
 877      }
 878      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 879    }
 880
 881    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 882    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 883    public void MergeFrom(pb::CodedInputStream input) {
 884    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 885      input.ReadRawMessage(this);
 886    #else
 887      uint tag;
 888      while ((tag = input.ReadTag()) != 0) {
 889        switch(tag) {
 890          default:
 891            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 892            break;
 893        }
 894      }
 895    #endif
 896    }
 897
 898    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 899    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 900    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 901    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 902      uint tag;
 903      while ((tag = input.ReadTag()) != 0) {
 904        switch(tag) {
 905          default:
 906            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 907            break;
 908        }
 909      }
 910    }
 911    #endif
 912
 913  }
 914
 915  public sealed partial class NotOwner : pb::IMessage<NotOwner>
 916  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 917      , pb::IBufferMessage
 918  #endif
 919  {
 920    private static readonly pb::MessageParser<NotOwner> _parser = new pb::MessageParser<NotOwner>(() => new NotOwner());
 921    private pb::UnknownFieldSet _unknownFields;
 922    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 923    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 924    public static pb::MessageParser<NotOwner> Parser { get { return _parser; } }
 925
 926    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 927    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 928    public static pbr::MessageDescriptor Descriptor {
 929      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[5]; }
 930    }
 931
 932    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 933    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 934    pbr::MessageDescriptor pb::IMessage.Descriptor {
 935      get { return Descriptor; }
 936    }
 937
 938    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 939    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 940    public NotOwner() {
 941      OnConstruction();
 942    }
 943
 944    partial void OnConstruction();
 945
 946    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 947    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 948    public NotOwner(NotOwner other) : this() {
 949      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 950    }
 951
 952    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 953    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 954    public NotOwner Clone() {
 955      return new NotOwner(this);
 956    }
 957
 958    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 959    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 960    public override bool Equals(object other) {
 961      return Equals(other as NotOwner);
 962    }
 963
 964    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 965    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 966    public bool Equals(NotOwner other) {
 967      if (ReferenceEquals(other, null)) {
 968        return false;
 969      }
 970      if (ReferenceEquals(other, this)) {
 971        return true;
 972      }
 973      return Equals(_unknownFields, other._unknownFields);
 974    }
 975
 976    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 977    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 978    public override int GetHashCode() {
 979      int hash = 1;
 980      if (_unknownFields != null) {
 981        hash ^= _unknownFields.GetHashCode();
 982      }
 983      return hash;
 984    }
 985
 986    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 987    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 988    public override string ToString() {
 989      return pb::JsonFormatter.ToDiagnosticString(this);
 990    }
 991
 992    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 993    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 994    public void WriteTo(pb::CodedOutputStream output) {
 995    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 996      output.WriteRawMessage(this);
 997    #else
 998      if (_unknownFields != null) {
 999        _unknownFields.WriteTo(output);
 1000      }
 1001    #endif
 1002    }
 1003
 1004    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1005    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1006    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1007    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1008      if (_unknownFields != null) {
 1009        _unknownFields.WriteTo(ref output);
 1010      }
 1011    }
 1012    #endif
 1013
 1014    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1015    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1016    public int CalculateSize() {
 1017      int size = 0;
 1018      if (_unknownFields != null) {
 1019        size += _unknownFields.CalculateSize();
 1020      }
 1021      return size;
 1022    }
 1023
 1024    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1025    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1026    public void MergeFrom(NotOwner other) {
 1027      if (other == null) {
 1028        return;
 1029      }
 1030      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1031    }
 1032
 1033    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1034    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1035    public void MergeFrom(pb::CodedInputStream input) {
 1036    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1037      input.ReadRawMessage(this);
 1038    #else
 1039      uint tag;
 1040      while ((tag = input.ReadTag()) != 0) {
 1041        switch(tag) {
 1042          default:
 1043            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1044            break;
 1045        }
 1046      }
 1047    #endif
 1048    }
 1049
 1050    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1051    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1052    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1053    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1054      uint tag;
 1055      while ((tag = input.ReadTag()) != 0) {
 1056        switch(tag) {
 1057          default:
 1058            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1059            break;
 1060        }
 1061      }
 1062    }
 1063    #endif
 1064
 1065  }
 1066
 1067  public sealed partial class IgnoredEvent : pb::IMessage<IgnoredEvent>
 1068  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1069      , pb::IBufferMessage
 1070  #endif
 1071  {
 1072    private static readonly pb::MessageParser<IgnoredEvent> _parser = new pb::MessageParser<IgnoredEvent>(() => new Igno
 1073    private pb::UnknownFieldSet _unknownFields;
 1074    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1075    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1076    public static pb::MessageParser<IgnoredEvent> Parser { get { return _parser; } }
 1077
 1078    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1079    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1080    public static pbr::MessageDescriptor Descriptor {
 1081      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[6]; }
 1082    }
 1083
 1084    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1085    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1086    pbr::MessageDescriptor pb::IMessage.Descriptor {
 1087      get { return Descriptor; }
 1088    }
 1089
 1090    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1091    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1092    public IgnoredEvent() {
 1093      OnConstruction();
 1094    }
 1095
 1096    partial void OnConstruction();
 1097
 1098    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1099    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1100    public IgnoredEvent(IgnoredEvent other) : this() {
 1101      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 1102    }
 1103
 1104    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1105    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1106    public IgnoredEvent Clone() {
 1107      return new IgnoredEvent(this);
 1108    }
 1109
 1110    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1111    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1112    public override bool Equals(object other) {
 1113      return Equals(other as IgnoredEvent);
 1114    }
 1115
 1116    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1117    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1118    public bool Equals(IgnoredEvent other) {
 1119      if (ReferenceEquals(other, null)) {
 1120        return false;
 1121      }
 1122      if (ReferenceEquals(other, this)) {
 1123        return true;
 1124      }
 1125      return Equals(_unknownFields, other._unknownFields);
 1126    }
 1127
 1128    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1129    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1130    public override int GetHashCode() {
 1131      int hash = 1;
 1132      if (_unknownFields != null) {
 1133        hash ^= _unknownFields.GetHashCode();
 1134      }
 1135      return hash;
 1136    }
 1137
 1138    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1139    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1140    public override string ToString() {
 1141      return pb::JsonFormatter.ToDiagnosticString(this);
 1142    }
 1143
 1144    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1145    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1146    public void WriteTo(pb::CodedOutputStream output) {
 1147    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1148      output.WriteRawMessage(this);
 1149    #else
 1150      if (_unknownFields != null) {
 1151        _unknownFields.WriteTo(output);
 1152      }
 1153    #endif
 1154    }
 1155
 1156    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1157    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1158    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1159    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1160      if (_unknownFields != null) {
 1161        _unknownFields.WriteTo(ref output);
 1162      }
 1163    }
 1164    #endif
 1165
 1166    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1167    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1168    public int CalculateSize() {
 1169      int size = 0;
 1170      if (_unknownFields != null) {
 1171        size += _unknownFields.CalculateSize();
 1172      }
 1173      return size;
 1174    }
 1175
 1176    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1177    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1178    public void MergeFrom(IgnoredEvent other) {
 1179      if (other == null) {
 1180        return;
 1181      }
 1182      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1183    }
 1184
 1185    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1186    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1187    public void MergeFrom(pb::CodedInputStream input) {
 1188    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1189      input.ReadRawMessage(this);
 1190    #else
 1191      uint tag;
 1192      while ((tag = input.ReadTag()) != 0) {
 1193        switch(tag) {
 1194          default:
 1195            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1196            break;
 1197        }
 1198      }
 1199    #endif
 1200    }
 1201
 1202    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1203    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1204    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1205    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1206      uint tag;
 1207      while ((tag = input.ReadTag()) != 0) {
 1208        switch(tag) {
 1209          default:
 1210            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1211            break;
 1212        }
 1213      }
 1214    }
 1215    #endif
 1216
 1217  }
 1218
 1219  public sealed partial class StartQuestRequest : pb::IMessage<StartQuestRequest>
 1220  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1221      , pb::IBufferMessage
 1222  #endif
 1223  {
 1224    private static readonly pb::MessageParser<StartQuestRequest> _parser = new pb::MessageParser<StartQuestRequest>(() =
 1225    private pb::UnknownFieldSet _unknownFields;
 1226    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1227    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1228    public static pb::MessageParser<StartQuestRequest> Parser { get { return _parser; } }
 1229
 1230    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1231    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1232    public static pbr::MessageDescriptor Descriptor {
 1233      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[7]; }
 1234    }
 1235
 1236    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1237    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1238    pbr::MessageDescriptor pb::IMessage.Descriptor {
 1239      get { return Descriptor; }
 1240    }
 1241
 1242    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1243    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1244    public StartQuestRequest() {
 1245      OnConstruction();
 1246    }
 1247
 1248    partial void OnConstruction();
 1249
 1250    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1251    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1252    public StartQuestRequest(StartQuestRequest other) : this() {
 1253      questId_ = other.questId_;
 1254      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 1255    }
 1256
 1257    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1258    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1259    public StartQuestRequest Clone() {
 1260      return new StartQuestRequest(this);
 1261    }
 1262
 1263    /// <summary>Field number for the "quest_id" field.</summary>
 1264    public const int QuestIdFieldNumber = 1;
 1265    private string questId_ = "";
 1266    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1267    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1268    public string QuestId {
 1269      get { return questId_; }
 1270      set {
 1271        questId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 1272      }
 1273    }
 1274
 1275    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1276    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1277    public override bool Equals(object other) {
 1278      return Equals(other as StartQuestRequest);
 1279    }
 1280
 1281    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1282    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1283    public bool Equals(StartQuestRequest other) {
 1284      if (ReferenceEquals(other, null)) {
 1285        return false;
 1286      }
 1287      if (ReferenceEquals(other, this)) {
 1288        return true;
 1289      }
 1290      if (QuestId != other.QuestId) return false;
 1291      return Equals(_unknownFields, other._unknownFields);
 1292    }
 1293
 1294    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1295    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1296    public override int GetHashCode() {
 1297      int hash = 1;
 1298      if (QuestId.Length != 0) hash ^= QuestId.GetHashCode();
 1299      if (_unknownFields != null) {
 1300        hash ^= _unknownFields.GetHashCode();
 1301      }
 1302      return hash;
 1303    }
 1304
 1305    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1306    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1307    public override string ToString() {
 1308      return pb::JsonFormatter.ToDiagnosticString(this);
 1309    }
 1310
 1311    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1312    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1313    public void WriteTo(pb::CodedOutputStream output) {
 1314    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1315      output.WriteRawMessage(this);
 1316    #else
 1317      if (QuestId.Length != 0) {
 1318        output.WriteRawTag(10);
 1319        output.WriteString(QuestId);
 1320      }
 1321      if (_unknownFields != null) {
 1322        _unknownFields.WriteTo(output);
 1323      }
 1324    #endif
 1325    }
 1326
 1327    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1328    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1329    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1330    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1331      if (QuestId.Length != 0) {
 1332        output.WriteRawTag(10);
 1333        output.WriteString(QuestId);
 1334      }
 1335      if (_unknownFields != null) {
 1336        _unknownFields.WriteTo(ref output);
 1337      }
 1338    }
 1339    #endif
 1340
 1341    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1342    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1343    public int CalculateSize() {
 1344      int size = 0;
 1345      if (QuestId.Length != 0) {
 1346        size += 1 + pb::CodedOutputStream.ComputeStringSize(QuestId);
 1347      }
 1348      if (_unknownFields != null) {
 1349        size += _unknownFields.CalculateSize();
 1350      }
 1351      return size;
 1352    }
 1353
 1354    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1355    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1356    public void MergeFrom(StartQuestRequest other) {
 1357      if (other == null) {
 1358        return;
 1359      }
 1360      if (other.QuestId.Length != 0) {
 1361        QuestId = other.QuestId;
 1362      }
 1363      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1364    }
 1365
 1366    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1367    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1368    public void MergeFrom(pb::CodedInputStream input) {
 1369    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1370      input.ReadRawMessage(this);
 1371    #else
 1372      uint tag;
 1373      while ((tag = input.ReadTag()) != 0) {
 1374        switch(tag) {
 1375          default:
 1376            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1377            break;
 1378          case 10: {
 1379            QuestId = input.ReadString();
 1380            break;
 1381          }
 1382        }
 1383      }
 1384    #endif
 1385    }
 1386
 1387    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1388    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1389    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1390    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1391      uint tag;
 1392      while ((tag = input.ReadTag()) != 0) {
 1393        switch(tag) {
 1394          default:
 1395            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1396            break;
 1397          case 10: {
 1398            QuestId = input.ReadString();
 1399            break;
 1400          }
 1401        }
 1402      }
 1403    }
 1404    #endif
 1405
 1406  }
 1407
 1408  public sealed partial class StartQuestResponse : pb::IMessage<StartQuestResponse>
 1409  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1410      , pb::IBufferMessage
 1411  #endif
 1412  {
 1413    private static readonly pb::MessageParser<StartQuestResponse> _parser = new pb::MessageParser<StartQuestResponse>(()
 1414    private pb::UnknownFieldSet _unknownFields;
 1415    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1416    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1417    public static pb::MessageParser<StartQuestResponse> Parser { get { return _parser; } }
 1418
 1419    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1420    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1421    public static pbr::MessageDescriptor Descriptor {
 1422      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[8]; }
 1423    }
 1424
 1425    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1426    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1427    pbr::MessageDescriptor pb::IMessage.Descriptor {
 1428      get { return Descriptor; }
 1429    }
 1430
 1431    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1432    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1433    public StartQuestResponse() {
 1434      OnConstruction();
 1435    }
 1436
 1437    partial void OnConstruction();
 1438
 1439    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1440    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1441    public StartQuestResponse(StartQuestResponse other) : this() {
 1442      switch (other.ResponseCase) {
 1443        case ResponseOneofCase.Accepted:
 1444          Accepted = other.Accepted.Clone();
 1445          break;
 1446        case ResponseOneofCase.InvalidQuest:
 1447          InvalidQuest = other.InvalidQuest.Clone();
 1448          break;
 1449        case ResponseOneofCase.NotUuidError:
 1450          NotUuidError = other.NotUuidError.Clone();
 1451          break;
 1452        case ResponseOneofCase.InternalServerError:
 1453          InternalServerError = other.InternalServerError.Clone();
 1454          break;
 1455        case ResponseOneofCase.QuestAlreadyStarted:
 1456          QuestAlreadyStarted = other.QuestAlreadyStarted.Clone();
 1457          break;
 1458      }
 1459
 1460      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 1461    }
 1462
 1463    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1464    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1465    public StartQuestResponse Clone() {
 1466      return new StartQuestResponse(this);
 1467    }
 1468
 1469    /// <summary>Field number for the "accepted" field.</summary>
 1470    public const int AcceptedFieldNumber = 1;
 1471    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1472    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1473    public global::Decentraland.Quests.StartQuestResponse.Types.Accepted Accepted {
 1474      get { return responseCase_ == ResponseOneofCase.Accepted ? (global::Decentraland.Quests.StartQuestResponse.Types.A
 1475      set {
 1476        response_ = value;
 1477        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.Accepted;
 1478      }
 1479    }
 1480
 1481    /// <summary>Field number for the "invalid_quest" field.</summary>
 1482    public const int InvalidQuestFieldNumber = 2;
 1483    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1484    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1485    public global::Decentraland.Quests.InvalidQuest InvalidQuest {
 1486      get { return responseCase_ == ResponseOneofCase.InvalidQuest ? (global::Decentraland.Quests.InvalidQuest) response
 1487      set {
 1488        response_ = value;
 1489        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.InvalidQuest;
 1490      }
 1491    }
 1492
 1493    /// <summary>Field number for the "not_uuid_error" field.</summary>
 1494    public const int NotUuidErrorFieldNumber = 3;
 1495    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1496    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1497    public global::Decentraland.Quests.NotUUID NotUuidError {
 1498      get { return responseCase_ == ResponseOneofCase.NotUuidError ? (global::Decentraland.Quests.NotUUID) response_ : n
 1499      set {
 1500        response_ = value;
 1501        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.NotUuidError;
 1502      }
 1503    }
 1504
 1505    /// <summary>Field number for the "internal_server_error" field.</summary>
 1506    public const int InternalServerErrorFieldNumber = 4;
 1507    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1508    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1509    public global::Decentraland.Quests.InternalServerError InternalServerError {
 1510      get { return responseCase_ == ResponseOneofCase.InternalServerError ? (global::Decentraland.Quests.InternalServerE
 1511      set {
 1512        response_ = value;
 1513        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.InternalServerError;
 1514      }
 1515    }
 1516
 1517    /// <summary>Field number for the "quest_already_started" field.</summary>
 1518    public const int QuestAlreadyStartedFieldNumber = 5;
 1519    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1520    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1521    public global::Decentraland.Quests.QuestAlreadyStarted QuestAlreadyStarted {
 1522      get { return responseCase_ == ResponseOneofCase.QuestAlreadyStarted ? (global::Decentraland.Quests.QuestAlreadySta
 1523      set {
 1524        response_ = value;
 1525        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.QuestAlreadyStarted;
 1526      }
 1527    }
 1528
 1529    private object response_;
 1530    /// <summary>Enum of possible cases for the "response" oneof.</summary>
 1531    public enum ResponseOneofCase {
 1532      None = 0,
 1533      Accepted = 1,
 1534      InvalidQuest = 2,
 1535      NotUuidError = 3,
 1536      InternalServerError = 4,
 1537      QuestAlreadyStarted = 5,
 1538    }
 1539    private ResponseOneofCase responseCase_ = ResponseOneofCase.None;
 1540    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1541    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1542    public ResponseOneofCase ResponseCase {
 1543      get { return responseCase_; }
 1544    }
 1545
 1546    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1547    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1548    public void ClearResponse() {
 1549      responseCase_ = ResponseOneofCase.None;
 1550      response_ = null;
 1551    }
 1552
 1553    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1554    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1555    public override bool Equals(object other) {
 1556      return Equals(other as StartQuestResponse);
 1557    }
 1558
 1559    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1560    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1561    public bool Equals(StartQuestResponse other) {
 1562      if (ReferenceEquals(other, null)) {
 1563        return false;
 1564      }
 1565      if (ReferenceEquals(other, this)) {
 1566        return true;
 1567      }
 1568      if (!object.Equals(Accepted, other.Accepted)) return false;
 1569      if (!object.Equals(InvalidQuest, other.InvalidQuest)) return false;
 1570      if (!object.Equals(NotUuidError, other.NotUuidError)) return false;
 1571      if (!object.Equals(InternalServerError, other.InternalServerError)) return false;
 1572      if (!object.Equals(QuestAlreadyStarted, other.QuestAlreadyStarted)) return false;
 1573      if (ResponseCase != other.ResponseCase) return false;
 1574      return Equals(_unknownFields, other._unknownFields);
 1575    }
 1576
 1577    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1578    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1579    public override int GetHashCode() {
 1580      int hash = 1;
 1581      if (responseCase_ == ResponseOneofCase.Accepted) hash ^= Accepted.GetHashCode();
 1582      if (responseCase_ == ResponseOneofCase.InvalidQuest) hash ^= InvalidQuest.GetHashCode();
 1583      if (responseCase_ == ResponseOneofCase.NotUuidError) hash ^= NotUuidError.GetHashCode();
 1584      if (responseCase_ == ResponseOneofCase.InternalServerError) hash ^= InternalServerError.GetHashCode();
 1585      if (responseCase_ == ResponseOneofCase.QuestAlreadyStarted) hash ^= QuestAlreadyStarted.GetHashCode();
 1586      hash ^= (int) responseCase_;
 1587      if (_unknownFields != null) {
 1588        hash ^= _unknownFields.GetHashCode();
 1589      }
 1590      return hash;
 1591    }
 1592
 1593    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1594    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1595    public override string ToString() {
 1596      return pb::JsonFormatter.ToDiagnosticString(this);
 1597    }
 1598
 1599    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1600    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1601    public void WriteTo(pb::CodedOutputStream output) {
 1602    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1603      output.WriteRawMessage(this);
 1604    #else
 1605      if (responseCase_ == ResponseOneofCase.Accepted) {
 1606        output.WriteRawTag(10);
 1607        output.WriteMessage(Accepted);
 1608      }
 1609      if (responseCase_ == ResponseOneofCase.InvalidQuest) {
 1610        output.WriteRawTag(18);
 1611        output.WriteMessage(InvalidQuest);
 1612      }
 1613      if (responseCase_ == ResponseOneofCase.NotUuidError) {
 1614        output.WriteRawTag(26);
 1615        output.WriteMessage(NotUuidError);
 1616      }
 1617      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 1618        output.WriteRawTag(34);
 1619        output.WriteMessage(InternalServerError);
 1620      }
 1621      if (responseCase_ == ResponseOneofCase.QuestAlreadyStarted) {
 1622        output.WriteRawTag(42);
 1623        output.WriteMessage(QuestAlreadyStarted);
 1624      }
 1625      if (_unknownFields != null) {
 1626        _unknownFields.WriteTo(output);
 1627      }
 1628    #endif
 1629    }
 1630
 1631    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1632    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1633    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1634    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1635      if (responseCase_ == ResponseOneofCase.Accepted) {
 1636        output.WriteRawTag(10);
 1637        output.WriteMessage(Accepted);
 1638      }
 1639      if (responseCase_ == ResponseOneofCase.InvalidQuest) {
 1640        output.WriteRawTag(18);
 1641        output.WriteMessage(InvalidQuest);
 1642      }
 1643      if (responseCase_ == ResponseOneofCase.NotUuidError) {
 1644        output.WriteRawTag(26);
 1645        output.WriteMessage(NotUuidError);
 1646      }
 1647      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 1648        output.WriteRawTag(34);
 1649        output.WriteMessage(InternalServerError);
 1650      }
 1651      if (responseCase_ == ResponseOneofCase.QuestAlreadyStarted) {
 1652        output.WriteRawTag(42);
 1653        output.WriteMessage(QuestAlreadyStarted);
 1654      }
 1655      if (_unknownFields != null) {
 1656        _unknownFields.WriteTo(ref output);
 1657      }
 1658    }
 1659    #endif
 1660
 1661    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1662    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1663    public int CalculateSize() {
 1664      int size = 0;
 1665      if (responseCase_ == ResponseOneofCase.Accepted) {
 1666        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Accepted);
 1667      }
 1668      if (responseCase_ == ResponseOneofCase.InvalidQuest) {
 1669        size += 1 + pb::CodedOutputStream.ComputeMessageSize(InvalidQuest);
 1670      }
 1671      if (responseCase_ == ResponseOneofCase.NotUuidError) {
 1672        size += 1 + pb::CodedOutputStream.ComputeMessageSize(NotUuidError);
 1673      }
 1674      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 1675        size += 1 + pb::CodedOutputStream.ComputeMessageSize(InternalServerError);
 1676      }
 1677      if (responseCase_ == ResponseOneofCase.QuestAlreadyStarted) {
 1678        size += 1 + pb::CodedOutputStream.ComputeMessageSize(QuestAlreadyStarted);
 1679      }
 1680      if (_unknownFields != null) {
 1681        size += _unknownFields.CalculateSize();
 1682      }
 1683      return size;
 1684    }
 1685
 1686    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1687    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1688    public void MergeFrom(StartQuestResponse other) {
 1689      if (other == null) {
 1690        return;
 1691      }
 1692      switch (other.ResponseCase) {
 1693        case ResponseOneofCase.Accepted:
 1694          if (Accepted == null) {
 1695            Accepted = new global::Decentraland.Quests.StartQuestResponse.Types.Accepted();
 1696          }
 1697          Accepted.MergeFrom(other.Accepted);
 1698          break;
 1699        case ResponseOneofCase.InvalidQuest:
 1700          if (InvalidQuest == null) {
 1701            InvalidQuest = new global::Decentraland.Quests.InvalidQuest();
 1702          }
 1703          InvalidQuest.MergeFrom(other.InvalidQuest);
 1704          break;
 1705        case ResponseOneofCase.NotUuidError:
 1706          if (NotUuidError == null) {
 1707            NotUuidError = new global::Decentraland.Quests.NotUUID();
 1708          }
 1709          NotUuidError.MergeFrom(other.NotUuidError);
 1710          break;
 1711        case ResponseOneofCase.InternalServerError:
 1712          if (InternalServerError == null) {
 1713            InternalServerError = new global::Decentraland.Quests.InternalServerError();
 1714          }
 1715          InternalServerError.MergeFrom(other.InternalServerError);
 1716          break;
 1717        case ResponseOneofCase.QuestAlreadyStarted:
 1718          if (QuestAlreadyStarted == null) {
 1719            QuestAlreadyStarted = new global::Decentraland.Quests.QuestAlreadyStarted();
 1720          }
 1721          QuestAlreadyStarted.MergeFrom(other.QuestAlreadyStarted);
 1722          break;
 1723      }
 1724
 1725      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1726    }
 1727
 1728    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1729    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1730    public void MergeFrom(pb::CodedInputStream input) {
 1731    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1732      input.ReadRawMessage(this);
 1733    #else
 1734      uint tag;
 1735      while ((tag = input.ReadTag()) != 0) {
 1736        switch(tag) {
 1737          default:
 1738            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1739            break;
 1740          case 10: {
 1741            global::Decentraland.Quests.StartQuestResponse.Types.Accepted subBuilder = new global::Decentraland.Quests.S
 1742            if (responseCase_ == ResponseOneofCase.Accepted) {
 1743              subBuilder.MergeFrom(Accepted);
 1744            }
 1745            input.ReadMessage(subBuilder);
 1746            Accepted = subBuilder;
 1747            break;
 1748          }
 1749          case 18: {
 1750            global::Decentraland.Quests.InvalidQuest subBuilder = new global::Decentraland.Quests.InvalidQuest();
 1751            if (responseCase_ == ResponseOneofCase.InvalidQuest) {
 1752              subBuilder.MergeFrom(InvalidQuest);
 1753            }
 1754            input.ReadMessage(subBuilder);
 1755            InvalidQuest = subBuilder;
 1756            break;
 1757          }
 1758          case 26: {
 1759            global::Decentraland.Quests.NotUUID subBuilder = new global::Decentraland.Quests.NotUUID();
 1760            if (responseCase_ == ResponseOneofCase.NotUuidError) {
 1761              subBuilder.MergeFrom(NotUuidError);
 1762            }
 1763            input.ReadMessage(subBuilder);
 1764            NotUuidError = subBuilder;
 1765            break;
 1766          }
 1767          case 34: {
 1768            global::Decentraland.Quests.InternalServerError subBuilder = new global::Decentraland.Quests.InternalServerE
 1769            if (responseCase_ == ResponseOneofCase.InternalServerError) {
 1770              subBuilder.MergeFrom(InternalServerError);
 1771            }
 1772            input.ReadMessage(subBuilder);
 1773            InternalServerError = subBuilder;
 1774            break;
 1775          }
 1776          case 42: {
 1777            global::Decentraland.Quests.QuestAlreadyStarted subBuilder = new global::Decentraland.Quests.QuestAlreadySta
 1778            if (responseCase_ == ResponseOneofCase.QuestAlreadyStarted) {
 1779              subBuilder.MergeFrom(QuestAlreadyStarted);
 1780            }
 1781            input.ReadMessage(subBuilder);
 1782            QuestAlreadyStarted = subBuilder;
 1783            break;
 1784          }
 1785        }
 1786      }
 1787    #endif
 1788    }
 1789
 1790    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1791    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1792    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1793    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1794      uint tag;
 1795      while ((tag = input.ReadTag()) != 0) {
 1796        switch(tag) {
 1797          default:
 1798            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1799            break;
 1800          case 10: {
 1801            global::Decentraland.Quests.StartQuestResponse.Types.Accepted subBuilder = new global::Decentraland.Quests.S
 1802            if (responseCase_ == ResponseOneofCase.Accepted) {
 1803              subBuilder.MergeFrom(Accepted);
 1804            }
 1805            input.ReadMessage(subBuilder);
 1806            Accepted = subBuilder;
 1807            break;
 1808          }
 1809          case 18: {
 1810            global::Decentraland.Quests.InvalidQuest subBuilder = new global::Decentraland.Quests.InvalidQuest();
 1811            if (responseCase_ == ResponseOneofCase.InvalidQuest) {
 1812              subBuilder.MergeFrom(InvalidQuest);
 1813            }
 1814            input.ReadMessage(subBuilder);
 1815            InvalidQuest = subBuilder;
 1816            break;
 1817          }
 1818          case 26: {
 1819            global::Decentraland.Quests.NotUUID subBuilder = new global::Decentraland.Quests.NotUUID();
 1820            if (responseCase_ == ResponseOneofCase.NotUuidError) {
 1821              subBuilder.MergeFrom(NotUuidError);
 1822            }
 1823            input.ReadMessage(subBuilder);
 1824            NotUuidError = subBuilder;
 1825            break;
 1826          }
 1827          case 34: {
 1828            global::Decentraland.Quests.InternalServerError subBuilder = new global::Decentraland.Quests.InternalServerE
 1829            if (responseCase_ == ResponseOneofCase.InternalServerError) {
 1830              subBuilder.MergeFrom(InternalServerError);
 1831            }
 1832            input.ReadMessage(subBuilder);
 1833            InternalServerError = subBuilder;
 1834            break;
 1835          }
 1836          case 42: {
 1837            global::Decentraland.Quests.QuestAlreadyStarted subBuilder = new global::Decentraland.Quests.QuestAlreadySta
 1838            if (responseCase_ == ResponseOneofCase.QuestAlreadyStarted) {
 1839              subBuilder.MergeFrom(QuestAlreadyStarted);
 1840            }
 1841            input.ReadMessage(subBuilder);
 1842            QuestAlreadyStarted = subBuilder;
 1843            break;
 1844          }
 1845        }
 1846      }
 1847    }
 1848    #endif
 1849
 1850    #region Nested types
 1851    /// <summary>Container for nested types declared in the StartQuestResponse message type.</summary>
 1852    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1853    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1854    public static partial class Types {
 1855      /// <summary>
 1856      /// There are a few valid reasons to not be accepted:
 1857      ///  - Quest is not found
 1858      ///  - Quest is deactivated (the owner deleted it)
 1859      ///  - User already started the quest
 1860      ///  - Internal errors (DB connection failed or something like that)
 1861      /// </summary>
 1862      public sealed partial class Accepted : pb::IMessage<Accepted>
 1863      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1864          , pb::IBufferMessage
 1865      #endif
 1866      {
 1867        private static readonly pb::MessageParser<Accepted> _parser = new pb::MessageParser<Accepted>(() => new Accepted
 1868        private pb::UnknownFieldSet _unknownFields;
 1869        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1870        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1871        public static pb::MessageParser<Accepted> Parser { get { return _parser; } }
 1872
 1873        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1874        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1875        public static pbr::MessageDescriptor Descriptor {
 1876          get { return global::Decentraland.Quests.StartQuestResponse.Descriptor.NestedTypes[0]; }
 1877        }
 1878
 1879        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1880        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1881        pbr::MessageDescriptor pb::IMessage.Descriptor {
 1882          get { return Descriptor; }
 1883        }
 1884
 1885        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1886        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1887        public Accepted() {
 1888          OnConstruction();
 1889        }
 1890
 1891        partial void OnConstruction();
 1892
 1893        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1894        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1895        public Accepted(Accepted other) : this() {
 1896          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 1897        }
 1898
 1899        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1900        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1901        public Accepted Clone() {
 1902          return new Accepted(this);
 1903        }
 1904
 1905        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1906        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1907        public override bool Equals(object other) {
 1908          return Equals(other as Accepted);
 1909        }
 1910
 1911        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1912        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1913        public bool Equals(Accepted other) {
 1914          if (ReferenceEquals(other, null)) {
 1915            return false;
 1916          }
 1917          if (ReferenceEquals(other, this)) {
 1918            return true;
 1919          }
 1920          return Equals(_unknownFields, other._unknownFields);
 1921        }
 1922
 1923        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1924        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1925        public override int GetHashCode() {
 1926          int hash = 1;
 1927          if (_unknownFields != null) {
 1928            hash ^= _unknownFields.GetHashCode();
 1929          }
 1930          return hash;
 1931        }
 1932
 1933        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1934        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1935        public override string ToString() {
 1936          return pb::JsonFormatter.ToDiagnosticString(this);
 1937        }
 1938
 1939        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1940        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1941        public void WriteTo(pb::CodedOutputStream output) {
 1942        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1943          output.WriteRawMessage(this);
 1944        #else
 1945          if (_unknownFields != null) {
 1946            _unknownFields.WriteTo(output);
 1947          }
 1948        #endif
 1949        }
 1950
 1951        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1952        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1953        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1954        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1955          if (_unknownFields != null) {
 1956            _unknownFields.WriteTo(ref output);
 1957          }
 1958        }
 1959        #endif
 1960
 1961        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1962        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1963        public int CalculateSize() {
 1964          int size = 0;
 1965          if (_unknownFields != null) {
 1966            size += _unknownFields.CalculateSize();
 1967          }
 1968          return size;
 1969        }
 1970
 1971        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1972        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1973        public void MergeFrom(Accepted other) {
 1974          if (other == null) {
 1975            return;
 1976          }
 1977          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1978        }
 1979
 1980        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1981        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1982        public void MergeFrom(pb::CodedInputStream input) {
 1983        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1984          input.ReadRawMessage(this);
 1985        #else
 1986          uint tag;
 1987          while ((tag = input.ReadTag()) != 0) {
 1988            switch(tag) {
 1989              default:
 1990                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1991                break;
 1992            }
 1993          }
 1994        #endif
 1995        }
 1996
 1997        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1998        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1999        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2000        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 2001          uint tag;
 2002          while ((tag = input.ReadTag()) != 0) {
 2003            switch(tag) {
 2004              default:
 2005                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 2006                break;
 2007            }
 2008          }
 2009        }
 2010        #endif
 2011
 2012      }
 2013
 2014    }
 2015    #endregion
 2016
 2017  }
 2018
 2019  public sealed partial class AbortQuestRequest : pb::IMessage<AbortQuestRequest>
 2020  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2021      , pb::IBufferMessage
 2022  #endif
 2023  {
 2024    private static readonly pb::MessageParser<AbortQuestRequest> _parser = new pb::MessageParser<AbortQuestRequest>(() =
 2025    private pb::UnknownFieldSet _unknownFields;
 2026    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2027    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2028    public static pb::MessageParser<AbortQuestRequest> Parser { get { return _parser; } }
 2029
 2030    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2031    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2032    public static pbr::MessageDescriptor Descriptor {
 2033      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[9]; }
 2034    }
 2035
 2036    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2037    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2038    pbr::MessageDescriptor pb::IMessage.Descriptor {
 2039      get { return Descriptor; }
 2040    }
 2041
 2042    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2043    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2044    public AbortQuestRequest() {
 2045      OnConstruction();
 2046    }
 2047
 2048    partial void OnConstruction();
 2049
 2050    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2051    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2052    public AbortQuestRequest(AbortQuestRequest other) : this() {
 2053      questInstanceId_ = other.questInstanceId_;
 2054      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 2055    }
 2056
 2057    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2058    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2059    public AbortQuestRequest Clone() {
 2060      return new AbortQuestRequest(this);
 2061    }
 2062
 2063    /// <summary>Field number for the "quest_instance_id" field.</summary>
 2064    public const int QuestInstanceIdFieldNumber = 1;
 2065    private string questInstanceId_ = "";
 2066    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2067    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2068    public string QuestInstanceId {
 2069      get { return questInstanceId_; }
 2070      set {
 2071        questInstanceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 2072      }
 2073    }
 2074
 2075    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2076    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2077    public override bool Equals(object other) {
 2078      return Equals(other as AbortQuestRequest);
 2079    }
 2080
 2081    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2082    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2083    public bool Equals(AbortQuestRequest other) {
 2084      if (ReferenceEquals(other, null)) {
 2085        return false;
 2086      }
 2087      if (ReferenceEquals(other, this)) {
 2088        return true;
 2089      }
 2090      if (QuestInstanceId != other.QuestInstanceId) return false;
 2091      return Equals(_unknownFields, other._unknownFields);
 2092    }
 2093
 2094    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2095    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2096    public override int GetHashCode() {
 2097      int hash = 1;
 2098      if (QuestInstanceId.Length != 0) hash ^= QuestInstanceId.GetHashCode();
 2099      if (_unknownFields != null) {
 2100        hash ^= _unknownFields.GetHashCode();
 2101      }
 2102      return hash;
 2103    }
 2104
 2105    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2106    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2107    public override string ToString() {
 2108      return pb::JsonFormatter.ToDiagnosticString(this);
 2109    }
 2110
 2111    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2112    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2113    public void WriteTo(pb::CodedOutputStream output) {
 2114    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2115      output.WriteRawMessage(this);
 2116    #else
 2117      if (QuestInstanceId.Length != 0) {
 2118        output.WriteRawTag(10);
 2119        output.WriteString(QuestInstanceId);
 2120      }
 2121      if (_unknownFields != null) {
 2122        _unknownFields.WriteTo(output);
 2123      }
 2124    #endif
 2125    }
 2126
 2127    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2128    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2129    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2130    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 2131      if (QuestInstanceId.Length != 0) {
 2132        output.WriteRawTag(10);
 2133        output.WriteString(QuestInstanceId);
 2134      }
 2135      if (_unknownFields != null) {
 2136        _unknownFields.WriteTo(ref output);
 2137      }
 2138    }
 2139    #endif
 2140
 2141    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2142    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2143    public int CalculateSize() {
 2144      int size = 0;
 2145      if (QuestInstanceId.Length != 0) {
 2146        size += 1 + pb::CodedOutputStream.ComputeStringSize(QuestInstanceId);
 2147      }
 2148      if (_unknownFields != null) {
 2149        size += _unknownFields.CalculateSize();
 2150      }
 2151      return size;
 2152    }
 2153
 2154    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2155    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2156    public void MergeFrom(AbortQuestRequest other) {
 2157      if (other == null) {
 2158        return;
 2159      }
 2160      if (other.QuestInstanceId.Length != 0) {
 2161        QuestInstanceId = other.QuestInstanceId;
 2162      }
 2163      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 2164    }
 2165
 2166    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2167    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2168    public void MergeFrom(pb::CodedInputStream input) {
 2169    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2170      input.ReadRawMessage(this);
 2171    #else
 2172      uint tag;
 2173      while ((tag = input.ReadTag()) != 0) {
 2174        switch(tag) {
 2175          default:
 2176            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 2177            break;
 2178          case 10: {
 2179            QuestInstanceId = input.ReadString();
 2180            break;
 2181          }
 2182        }
 2183      }
 2184    #endif
 2185    }
 2186
 2187    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2188    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2189    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2190    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 2191      uint tag;
 2192      while ((tag = input.ReadTag()) != 0) {
 2193        switch(tag) {
 2194          default:
 2195            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 2196            break;
 2197          case 10: {
 2198            QuestInstanceId = input.ReadString();
 2199            break;
 2200          }
 2201        }
 2202      }
 2203    }
 2204    #endif
 2205
 2206  }
 2207
 2208  public sealed partial class AbortQuestResponse : pb::IMessage<AbortQuestResponse>
 2209  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2210      , pb::IBufferMessage
 2211  #endif
 2212  {
 2213    private static readonly pb::MessageParser<AbortQuestResponse> _parser = new pb::MessageParser<AbortQuestResponse>(()
 2214    private pb::UnknownFieldSet _unknownFields;
 2215    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2216    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2217    public static pb::MessageParser<AbortQuestResponse> Parser { get { return _parser; } }
 2218
 2219    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2220    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2221    public static pbr::MessageDescriptor Descriptor {
 2222      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[10]; }
 2223    }
 2224
 2225    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2226    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2227    pbr::MessageDescriptor pb::IMessage.Descriptor {
 2228      get { return Descriptor; }
 2229    }
 2230
 2231    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2232    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2233    public AbortQuestResponse() {
 2234      OnConstruction();
 2235    }
 2236
 2237    partial void OnConstruction();
 2238
 2239    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2240    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2241    public AbortQuestResponse(AbortQuestResponse other) : this() {
 2242      switch (other.ResponseCase) {
 2243        case ResponseOneofCase.Accepted:
 2244          Accepted = other.Accepted.Clone();
 2245          break;
 2246        case ResponseOneofCase.NotFoundQuestInstance:
 2247          NotFoundQuestInstance = other.NotFoundQuestInstance.Clone();
 2248          break;
 2249        case ResponseOneofCase.NotUuidError:
 2250          NotUuidError = other.NotUuidError.Clone();
 2251          break;
 2252        case ResponseOneofCase.NotOwner:
 2253          NotOwner = other.NotOwner.Clone();
 2254          break;
 2255        case ResponseOneofCase.InternalServerError:
 2256          InternalServerError = other.InternalServerError.Clone();
 2257          break;
 2258      }
 2259
 2260      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 2261    }
 2262
 2263    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2264    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2265    public AbortQuestResponse Clone() {
 2266      return new AbortQuestResponse(this);
 2267    }
 2268
 2269    /// <summary>Field number for the "accepted" field.</summary>
 2270    public const int AcceptedFieldNumber = 1;
 2271    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2272    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2273    public global::Decentraland.Quests.AbortQuestResponse.Types.Accepted Accepted {
 2274      get { return responseCase_ == ResponseOneofCase.Accepted ? (global::Decentraland.Quests.AbortQuestResponse.Types.A
 2275      set {
 2276        response_ = value;
 2277        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.Accepted;
 2278      }
 2279    }
 2280
 2281    /// <summary>Field number for the "not_found_quest_instance" field.</summary>
 2282    public const int NotFoundQuestInstanceFieldNumber = 2;
 2283    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2284    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2285    public global::Decentraland.Quests.NotFoundQuestInstance NotFoundQuestInstance {
 2286      get { return responseCase_ == ResponseOneofCase.NotFoundQuestInstance ? (global::Decentraland.Quests.NotFoundQuest
 2287      set {
 2288        response_ = value;
 2289        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.NotFoundQuestInstance;
 2290      }
 2291    }
 2292
 2293    /// <summary>Field number for the "not_uuid_error" field.</summary>
 2294    public const int NotUuidErrorFieldNumber = 3;
 2295    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2296    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2297    public global::Decentraland.Quests.NotUUID NotUuidError {
 2298      get { return responseCase_ == ResponseOneofCase.NotUuidError ? (global::Decentraland.Quests.NotUUID) response_ : n
 2299      set {
 2300        response_ = value;
 2301        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.NotUuidError;
 2302      }
 2303    }
 2304
 2305    /// <summary>Field number for the "not_owner" field.</summary>
 2306    public const int NotOwnerFieldNumber = 4;
 2307    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2308    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2309    public global::Decentraland.Quests.NotOwner NotOwner {
 2310      get { return responseCase_ == ResponseOneofCase.NotOwner ? (global::Decentraland.Quests.NotOwner) response_ : null
 2311      set {
 2312        response_ = value;
 2313        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.NotOwner;
 2314      }
 2315    }
 2316
 2317    /// <summary>Field number for the "internal_server_error" field.</summary>
 2318    public const int InternalServerErrorFieldNumber = 5;
 2319    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2320    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2321    public global::Decentraland.Quests.InternalServerError InternalServerError {
 2322      get { return responseCase_ == ResponseOneofCase.InternalServerError ? (global::Decentraland.Quests.InternalServerE
 2323      set {
 2324        response_ = value;
 2325        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.InternalServerError;
 2326      }
 2327    }
 2328
 2329    private object response_;
 2330    /// <summary>Enum of possible cases for the "response" oneof.</summary>
 2331    public enum ResponseOneofCase {
 2332      None = 0,
 2333      Accepted = 1,
 2334      NotFoundQuestInstance = 2,
 2335      NotUuidError = 3,
 2336      NotOwner = 4,
 2337      InternalServerError = 5,
 2338    }
 2339    private ResponseOneofCase responseCase_ = ResponseOneofCase.None;
 2340    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2341    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2342    public ResponseOneofCase ResponseCase {
 2343      get { return responseCase_; }
 2344    }
 2345
 2346    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2347    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2348    public void ClearResponse() {
 2349      responseCase_ = ResponseOneofCase.None;
 2350      response_ = null;
 2351    }
 2352
 2353    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2354    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2355    public override bool Equals(object other) {
 2356      return Equals(other as AbortQuestResponse);
 2357    }
 2358
 2359    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2360    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2361    public bool Equals(AbortQuestResponse other) {
 2362      if (ReferenceEquals(other, null)) {
 2363        return false;
 2364      }
 2365      if (ReferenceEquals(other, this)) {
 2366        return true;
 2367      }
 2368      if (!object.Equals(Accepted, other.Accepted)) return false;
 2369      if (!object.Equals(NotFoundQuestInstance, other.NotFoundQuestInstance)) return false;
 2370      if (!object.Equals(NotUuidError, other.NotUuidError)) return false;
 2371      if (!object.Equals(NotOwner, other.NotOwner)) return false;
 2372      if (!object.Equals(InternalServerError, other.InternalServerError)) return false;
 2373      if (ResponseCase != other.ResponseCase) return false;
 2374      return Equals(_unknownFields, other._unknownFields);
 2375    }
 2376
 2377    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2378    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2379    public override int GetHashCode() {
 2380      int hash = 1;
 2381      if (responseCase_ == ResponseOneofCase.Accepted) hash ^= Accepted.GetHashCode();
 2382      if (responseCase_ == ResponseOneofCase.NotFoundQuestInstance) hash ^= NotFoundQuestInstance.GetHashCode();
 2383      if (responseCase_ == ResponseOneofCase.NotUuidError) hash ^= NotUuidError.GetHashCode();
 2384      if (responseCase_ == ResponseOneofCase.NotOwner) hash ^= NotOwner.GetHashCode();
 2385      if (responseCase_ == ResponseOneofCase.InternalServerError) hash ^= InternalServerError.GetHashCode();
 2386      hash ^= (int) responseCase_;
 2387      if (_unknownFields != null) {
 2388        hash ^= _unknownFields.GetHashCode();
 2389      }
 2390      return hash;
 2391    }
 2392
 2393    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2394    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2395    public override string ToString() {
 2396      return pb::JsonFormatter.ToDiagnosticString(this);
 2397    }
 2398
 2399    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2400    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2401    public void WriteTo(pb::CodedOutputStream output) {
 2402    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2403      output.WriteRawMessage(this);
 2404    #else
 2405      if (responseCase_ == ResponseOneofCase.Accepted) {
 2406        output.WriteRawTag(10);
 2407        output.WriteMessage(Accepted);
 2408      }
 2409      if (responseCase_ == ResponseOneofCase.NotFoundQuestInstance) {
 2410        output.WriteRawTag(18);
 2411        output.WriteMessage(NotFoundQuestInstance);
 2412      }
 2413      if (responseCase_ == ResponseOneofCase.NotUuidError) {
 2414        output.WriteRawTag(26);
 2415        output.WriteMessage(NotUuidError);
 2416      }
 2417      if (responseCase_ == ResponseOneofCase.NotOwner) {
 2418        output.WriteRawTag(34);
 2419        output.WriteMessage(NotOwner);
 2420      }
 2421      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 2422        output.WriteRawTag(42);
 2423        output.WriteMessage(InternalServerError);
 2424      }
 2425      if (_unknownFields != null) {
 2426        _unknownFields.WriteTo(output);
 2427      }
 2428    #endif
 2429    }
 2430
 2431    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2432    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2433    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2434    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 2435      if (responseCase_ == ResponseOneofCase.Accepted) {
 2436        output.WriteRawTag(10);
 2437        output.WriteMessage(Accepted);
 2438      }
 2439      if (responseCase_ == ResponseOneofCase.NotFoundQuestInstance) {
 2440        output.WriteRawTag(18);
 2441        output.WriteMessage(NotFoundQuestInstance);
 2442      }
 2443      if (responseCase_ == ResponseOneofCase.NotUuidError) {
 2444        output.WriteRawTag(26);
 2445        output.WriteMessage(NotUuidError);
 2446      }
 2447      if (responseCase_ == ResponseOneofCase.NotOwner) {
 2448        output.WriteRawTag(34);
 2449        output.WriteMessage(NotOwner);
 2450      }
 2451      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 2452        output.WriteRawTag(42);
 2453        output.WriteMessage(InternalServerError);
 2454      }
 2455      if (_unknownFields != null) {
 2456        _unknownFields.WriteTo(ref output);
 2457      }
 2458    }
 2459    #endif
 2460
 2461    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2462    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2463    public int CalculateSize() {
 2464      int size = 0;
 2465      if (responseCase_ == ResponseOneofCase.Accepted) {
 2466        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Accepted);
 2467      }
 2468      if (responseCase_ == ResponseOneofCase.NotFoundQuestInstance) {
 2469        size += 1 + pb::CodedOutputStream.ComputeMessageSize(NotFoundQuestInstance);
 2470      }
 2471      if (responseCase_ == ResponseOneofCase.NotUuidError) {
 2472        size += 1 + pb::CodedOutputStream.ComputeMessageSize(NotUuidError);
 2473      }
 2474      if (responseCase_ == ResponseOneofCase.NotOwner) {
 2475        size += 1 + pb::CodedOutputStream.ComputeMessageSize(NotOwner);
 2476      }
 2477      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 2478        size += 1 + pb::CodedOutputStream.ComputeMessageSize(InternalServerError);
 2479      }
 2480      if (_unknownFields != null) {
 2481        size += _unknownFields.CalculateSize();
 2482      }
 2483      return size;
 2484    }
 2485
 2486    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2487    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2488    public void MergeFrom(AbortQuestResponse other) {
 2489      if (other == null) {
 2490        return;
 2491      }
 2492      switch (other.ResponseCase) {
 2493        case ResponseOneofCase.Accepted:
 2494          if (Accepted == null) {
 2495            Accepted = new global::Decentraland.Quests.AbortQuestResponse.Types.Accepted();
 2496          }
 2497          Accepted.MergeFrom(other.Accepted);
 2498          break;
 2499        case ResponseOneofCase.NotFoundQuestInstance:
 2500          if (NotFoundQuestInstance == null) {
 2501            NotFoundQuestInstance = new global::Decentraland.Quests.NotFoundQuestInstance();
 2502          }
 2503          NotFoundQuestInstance.MergeFrom(other.NotFoundQuestInstance);
 2504          break;
 2505        case ResponseOneofCase.NotUuidError:
 2506          if (NotUuidError == null) {
 2507            NotUuidError = new global::Decentraland.Quests.NotUUID();
 2508          }
 2509          NotUuidError.MergeFrom(other.NotUuidError);
 2510          break;
 2511        case ResponseOneofCase.NotOwner:
 2512          if (NotOwner == null) {
 2513            NotOwner = new global::Decentraland.Quests.NotOwner();
 2514          }
 2515          NotOwner.MergeFrom(other.NotOwner);
 2516          break;
 2517        case ResponseOneofCase.InternalServerError:
 2518          if (InternalServerError == null) {
 2519            InternalServerError = new global::Decentraland.Quests.InternalServerError();
 2520          }
 2521          InternalServerError.MergeFrom(other.InternalServerError);
 2522          break;
 2523      }
 2524
 2525      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 2526    }
 2527
 2528    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2529    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2530    public void MergeFrom(pb::CodedInputStream input) {
 2531    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2532      input.ReadRawMessage(this);
 2533    #else
 2534      uint tag;
 2535      while ((tag = input.ReadTag()) != 0) {
 2536        switch(tag) {
 2537          default:
 2538            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 2539            break;
 2540          case 10: {
 2541            global::Decentraland.Quests.AbortQuestResponse.Types.Accepted subBuilder = new global::Decentraland.Quests.A
 2542            if (responseCase_ == ResponseOneofCase.Accepted) {
 2543              subBuilder.MergeFrom(Accepted);
 2544            }
 2545            input.ReadMessage(subBuilder);
 2546            Accepted = subBuilder;
 2547            break;
 2548          }
 2549          case 18: {
 2550            global::Decentraland.Quests.NotFoundQuestInstance subBuilder = new global::Decentraland.Quests.NotFoundQuest
 2551            if (responseCase_ == ResponseOneofCase.NotFoundQuestInstance) {
 2552              subBuilder.MergeFrom(NotFoundQuestInstance);
 2553            }
 2554            input.ReadMessage(subBuilder);
 2555            NotFoundQuestInstance = subBuilder;
 2556            break;
 2557          }
 2558          case 26: {
 2559            global::Decentraland.Quests.NotUUID subBuilder = new global::Decentraland.Quests.NotUUID();
 2560            if (responseCase_ == ResponseOneofCase.NotUuidError) {
 2561              subBuilder.MergeFrom(NotUuidError);
 2562            }
 2563            input.ReadMessage(subBuilder);
 2564            NotUuidError = subBuilder;
 2565            break;
 2566          }
 2567          case 34: {
 2568            global::Decentraland.Quests.NotOwner subBuilder = new global::Decentraland.Quests.NotOwner();
 2569            if (responseCase_ == ResponseOneofCase.NotOwner) {
 2570              subBuilder.MergeFrom(NotOwner);
 2571            }
 2572            input.ReadMessage(subBuilder);
 2573            NotOwner = subBuilder;
 2574            break;
 2575          }
 2576          case 42: {
 2577            global::Decentraland.Quests.InternalServerError subBuilder = new global::Decentraland.Quests.InternalServerE
 2578            if (responseCase_ == ResponseOneofCase.InternalServerError) {
 2579              subBuilder.MergeFrom(InternalServerError);
 2580            }
 2581            input.ReadMessage(subBuilder);
 2582            InternalServerError = subBuilder;
 2583            break;
 2584          }
 2585        }
 2586      }
 2587    #endif
 2588    }
 2589
 2590    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2591    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2592    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2593    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 2594      uint tag;
 2595      while ((tag = input.ReadTag()) != 0) {
 2596        switch(tag) {
 2597          default:
 2598            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 2599            break;
 2600          case 10: {
 2601            global::Decentraland.Quests.AbortQuestResponse.Types.Accepted subBuilder = new global::Decentraland.Quests.A
 2602            if (responseCase_ == ResponseOneofCase.Accepted) {
 2603              subBuilder.MergeFrom(Accepted);
 2604            }
 2605            input.ReadMessage(subBuilder);
 2606            Accepted = subBuilder;
 2607            break;
 2608          }
 2609          case 18: {
 2610            global::Decentraland.Quests.NotFoundQuestInstance subBuilder = new global::Decentraland.Quests.NotFoundQuest
 2611            if (responseCase_ == ResponseOneofCase.NotFoundQuestInstance) {
 2612              subBuilder.MergeFrom(NotFoundQuestInstance);
 2613            }
 2614            input.ReadMessage(subBuilder);
 2615            NotFoundQuestInstance = subBuilder;
 2616            break;
 2617          }
 2618          case 26: {
 2619            global::Decentraland.Quests.NotUUID subBuilder = new global::Decentraland.Quests.NotUUID();
 2620            if (responseCase_ == ResponseOneofCase.NotUuidError) {
 2621              subBuilder.MergeFrom(NotUuidError);
 2622            }
 2623            input.ReadMessage(subBuilder);
 2624            NotUuidError = subBuilder;
 2625            break;
 2626          }
 2627          case 34: {
 2628            global::Decentraland.Quests.NotOwner subBuilder = new global::Decentraland.Quests.NotOwner();
 2629            if (responseCase_ == ResponseOneofCase.NotOwner) {
 2630              subBuilder.MergeFrom(NotOwner);
 2631            }
 2632            input.ReadMessage(subBuilder);
 2633            NotOwner = subBuilder;
 2634            break;
 2635          }
 2636          case 42: {
 2637            global::Decentraland.Quests.InternalServerError subBuilder = new global::Decentraland.Quests.InternalServerE
 2638            if (responseCase_ == ResponseOneofCase.InternalServerError) {
 2639              subBuilder.MergeFrom(InternalServerError);
 2640            }
 2641            input.ReadMessage(subBuilder);
 2642            InternalServerError = subBuilder;
 2643            break;
 2644          }
 2645        }
 2646      }
 2647    }
 2648    #endif
 2649
 2650    #region Nested types
 2651    /// <summary>Container for nested types declared in the AbortQuestResponse message type.</summary>
 2652    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2653    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2654    public static partial class Types {
 2655      /// <summary>
 2656      /// There are a few valid reasons to not be accepted:
 2657      ///  - Quest instance is not found
 2658      ///  - Quest instance is from another user
 2659      ///  - Quest instance already aborted
 2660      ///  - Internal errors (DB connection failed or something like that)
 2661      /// </summary>
 2662      public sealed partial class Accepted : pb::IMessage<Accepted>
 2663      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2664          , pb::IBufferMessage
 2665      #endif
 2666      {
 2667        private static readonly pb::MessageParser<Accepted> _parser = new pb::MessageParser<Accepted>(() => new Accepted
 2668        private pb::UnknownFieldSet _unknownFields;
 2669        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2670        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2671        public static pb::MessageParser<Accepted> Parser { get { return _parser; } }
 2672
 2673        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2674        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2675        public static pbr::MessageDescriptor Descriptor {
 2676          get { return global::Decentraland.Quests.AbortQuestResponse.Descriptor.NestedTypes[0]; }
 2677        }
 2678
 2679        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2680        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2681        pbr::MessageDescriptor pb::IMessage.Descriptor {
 2682          get { return Descriptor; }
 2683        }
 2684
 2685        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2686        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2687        public Accepted() {
 2688          OnConstruction();
 2689        }
 2690
 2691        partial void OnConstruction();
 2692
 2693        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2694        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2695        public Accepted(Accepted other) : this() {
 2696          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 2697        }
 2698
 2699        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2700        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2701        public Accepted Clone() {
 2702          return new Accepted(this);
 2703        }
 2704
 2705        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2706        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2707        public override bool Equals(object other) {
 2708          return Equals(other as Accepted);
 2709        }
 2710
 2711        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2712        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2713        public bool Equals(Accepted other) {
 2714          if (ReferenceEquals(other, null)) {
 2715            return false;
 2716          }
 2717          if (ReferenceEquals(other, this)) {
 2718            return true;
 2719          }
 2720          return Equals(_unknownFields, other._unknownFields);
 2721        }
 2722
 2723        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2724        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2725        public override int GetHashCode() {
 2726          int hash = 1;
 2727          if (_unknownFields != null) {
 2728            hash ^= _unknownFields.GetHashCode();
 2729          }
 2730          return hash;
 2731        }
 2732
 2733        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2734        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2735        public override string ToString() {
 2736          return pb::JsonFormatter.ToDiagnosticString(this);
 2737        }
 2738
 2739        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2740        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2741        public void WriteTo(pb::CodedOutputStream output) {
 2742        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2743          output.WriteRawMessage(this);
 2744        #else
 2745          if (_unknownFields != null) {
 2746            _unknownFields.WriteTo(output);
 2747          }
 2748        #endif
 2749        }
 2750
 2751        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2752        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2753        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2754        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 2755          if (_unknownFields != null) {
 2756            _unknownFields.WriteTo(ref output);
 2757          }
 2758        }
 2759        #endif
 2760
 2761        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2762        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2763        public int CalculateSize() {
 2764          int size = 0;
 2765          if (_unknownFields != null) {
 2766            size += _unknownFields.CalculateSize();
 2767          }
 2768          return size;
 2769        }
 2770
 2771        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2772        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2773        public void MergeFrom(Accepted other) {
 2774          if (other == null) {
 2775            return;
 2776          }
 2777          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 2778        }
 2779
 2780        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2781        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2782        public void MergeFrom(pb::CodedInputStream input) {
 2783        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2784          input.ReadRawMessage(this);
 2785        #else
 2786          uint tag;
 2787          while ((tag = input.ReadTag()) != 0) {
 2788            switch(tag) {
 2789              default:
 2790                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 2791                break;
 2792            }
 2793          }
 2794        #endif
 2795        }
 2796
 2797        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2798        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2799        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2800        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 2801          uint tag;
 2802          while ((tag = input.ReadTag()) != 0) {
 2803            switch(tag) {
 2804              default:
 2805                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 2806                break;
 2807            }
 2808          }
 2809        }
 2810        #endif
 2811
 2812      }
 2813
 2814    }
 2815    #endregion
 2816
 2817  }
 2818
 2819  public sealed partial class Event : pb::IMessage<Event>
 2820  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2821      , pb::IBufferMessage
 2822  #endif
 2823  {
 2824    private static readonly pb::MessageParser<Event> _parser = new pb::MessageParser<Event>(() => new Event());
 2825    private pb::UnknownFieldSet _unknownFields;
 2826    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2827    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2828    public static pb::MessageParser<Event> Parser { get { return _parser; } }
 2829
 2830    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2831    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2832    public static pbr::MessageDescriptor Descriptor {
 2833      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[11]; }
 2834    }
 2835
 2836    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2837    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2838    pbr::MessageDescriptor pb::IMessage.Descriptor {
 2839      get { return Descriptor; }
 2840    }
 2841
 2842    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2843    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2844    public Event() {
 2845      OnConstruction();
 2846    }
 2847
 2848    partial void OnConstruction();
 2849
 2850    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2851    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2852    public Event(Event other) : this() {
 2853      id_ = other.id_;
 2854      address_ = other.address_;
 2855      action_ = other.action_ != null ? other.action_.Clone() : null;
 2856      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 2857    }
 2858
 2859    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2860    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2861    public Event Clone() {
 2862      return new Event(this);
 2863    }
 2864
 2865    /// <summary>Field number for the "id" field.</summary>
 2866    public const int IdFieldNumber = 1;
 2867    private string id_ = "";
 2868    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2869    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2870    public string Id {
 2871      get { return id_; }
 2872      set {
 2873        id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 2874      }
 2875    }
 2876
 2877    /// <summary>Field number for the "address" field.</summary>
 2878    public const int AddressFieldNumber = 2;
 2879    private string address_ = "";
 2880    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2881    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2882    public string Address {
 2883      get { return address_; }
 2884      set {
 2885        address_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 2886      }
 2887    }
 2888
 2889    /// <summary>Field number for the "action" field.</summary>
 2890    public const int ActionFieldNumber = 3;
 2891    private global::Decentraland.Quests.Action action_;
 2892    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2893    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2894    public global::Decentraland.Quests.Action Action {
 2895      get { return action_; }
 2896      set {
 2897        action_ = value;
 2898      }
 2899    }
 2900
 2901    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2902    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2903    public override bool Equals(object other) {
 2904      return Equals(other as Event);
 2905    }
 2906
 2907    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2908    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2909    public bool Equals(Event other) {
 2910      if (ReferenceEquals(other, null)) {
 2911        return false;
 2912      }
 2913      if (ReferenceEquals(other, this)) {
 2914        return true;
 2915      }
 2916      if (Id != other.Id) return false;
 2917      if (Address != other.Address) return false;
 2918      if (!object.Equals(Action, other.Action)) return false;
 2919      return Equals(_unknownFields, other._unknownFields);
 2920    }
 2921
 2922    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2923    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2924    public override int GetHashCode() {
 2925      int hash = 1;
 2926      if (Id.Length != 0) hash ^= Id.GetHashCode();
 2927      if (Address.Length != 0) hash ^= Address.GetHashCode();
 2928      if (action_ != null) hash ^= Action.GetHashCode();
 2929      if (_unknownFields != null) {
 2930        hash ^= _unknownFields.GetHashCode();
 2931      }
 2932      return hash;
 2933    }
 2934
 2935    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2936    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2937    public override string ToString() {
 2938      return pb::JsonFormatter.ToDiagnosticString(this);
 2939    }
 2940
 2941    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2942    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2943    public void WriteTo(pb::CodedOutputStream output) {
 2944    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2945      output.WriteRawMessage(this);
 2946    #else
 2947      if (Id.Length != 0) {
 2948        output.WriteRawTag(10);
 2949        output.WriteString(Id);
 2950      }
 2951      if (Address.Length != 0) {
 2952        output.WriteRawTag(18);
 2953        output.WriteString(Address);
 2954      }
 2955      if (action_ != null) {
 2956        output.WriteRawTag(26);
 2957        output.WriteMessage(Action);
 2958      }
 2959      if (_unknownFields != null) {
 2960        _unknownFields.WriteTo(output);
 2961      }
 2962    #endif
 2963    }
 2964
 2965    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 2966    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2967    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2968    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 2969      if (Id.Length != 0) {
 2970        output.WriteRawTag(10);
 2971        output.WriteString(Id);
 2972      }
 2973      if (Address.Length != 0) {
 2974        output.WriteRawTag(18);
 2975        output.WriteString(Address);
 2976      }
 2977      if (action_ != null) {
 2978        output.WriteRawTag(26);
 2979        output.WriteMessage(Action);
 2980      }
 2981      if (_unknownFields != null) {
 2982        _unknownFields.WriteTo(ref output);
 2983      }
 2984    }
 2985    #endif
 2986
 2987    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 2988    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2989    public int CalculateSize() {
 2990      int size = 0;
 2991      if (Id.Length != 0) {
 2992        size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
 2993      }
 2994      if (Address.Length != 0) {
 2995        size += 1 + pb::CodedOutputStream.ComputeStringSize(Address);
 2996      }
 2997      if (action_ != null) {
 2998        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Action);
 2999      }
 3000      if (_unknownFields != null) {
 3001        size += _unknownFields.CalculateSize();
 3002      }
 3003      return size;
 3004    }
 3005
 3006    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3007    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3008    public void MergeFrom(Event other) {
 3009      if (other == null) {
 3010        return;
 3011      }
 3012      if (other.Id.Length != 0) {
 3013        Id = other.Id;
 3014      }
 3015      if (other.Address.Length != 0) {
 3016        Address = other.Address;
 3017      }
 3018      if (other.action_ != null) {
 3019        if (action_ == null) {
 3020          Action = new global::Decentraland.Quests.Action();
 3021        }
 3022        Action.MergeFrom(other.Action);
 3023      }
 3024      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 3025    }
 3026
 3027    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3028    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3029    public void MergeFrom(pb::CodedInputStream input) {
 3030    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3031      input.ReadRawMessage(this);
 3032    #else
 3033      uint tag;
 3034      while ((tag = input.ReadTag()) != 0) {
 3035        switch(tag) {
 3036          default:
 3037            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 3038            break;
 3039          case 10: {
 3040            Id = input.ReadString();
 3041            break;
 3042          }
 3043          case 18: {
 3044            Address = input.ReadString();
 3045            break;
 3046          }
 3047          case 26: {
 3048            if (action_ == null) {
 3049              Action = new global::Decentraland.Quests.Action();
 3050            }
 3051            input.ReadMessage(Action);
 3052            break;
 3053          }
 3054        }
 3055      }
 3056    #endif
 3057    }
 3058
 3059    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3060    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3061    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3062    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 3063      uint tag;
 3064      while ((tag = input.ReadTag()) != 0) {
 3065        switch(tag) {
 3066          default:
 3067            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 3068            break;
 3069          case 10: {
 3070            Id = input.ReadString();
 3071            break;
 3072          }
 3073          case 18: {
 3074            Address = input.ReadString();
 3075            break;
 3076          }
 3077          case 26: {
 3078            if (action_ == null) {
 3079              Action = new global::Decentraland.Quests.Action();
 3080            }
 3081            input.ReadMessage(Action);
 3082            break;
 3083          }
 3084        }
 3085      }
 3086    }
 3087    #endif
 3088
 3089  }
 3090
 3091  public sealed partial class EventRequest : pb::IMessage<EventRequest>
 3092  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3093      , pb::IBufferMessage
 3094  #endif
 3095  {
 3096    private static readonly pb::MessageParser<EventRequest> _parser = new pb::MessageParser<EventRequest>(() => new Even
 3097    private pb::UnknownFieldSet _unknownFields;
 3098    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3099    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3100    public static pb::MessageParser<EventRequest> Parser { get { return _parser; } }
 3101
 3102    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3103    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3104    public static pbr::MessageDescriptor Descriptor {
 3105      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[12]; }
 3106    }
 3107
 3108    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3109    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3110    pbr::MessageDescriptor pb::IMessage.Descriptor {
 3111      get { return Descriptor; }
 3112    }
 3113
 3114    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3115    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3116    public EventRequest() {
 3117      OnConstruction();
 3118    }
 3119
 3120    partial void OnConstruction();
 3121
 3122    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3123    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3124    public EventRequest(EventRequest other) : this() {
 3125      action_ = other.action_ != null ? other.action_.Clone() : null;
 3126      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 3127    }
 3128
 3129    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3130    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3131    public EventRequest Clone() {
 3132      return new EventRequest(this);
 3133    }
 3134
 3135    /// <summary>Field number for the "action" field.</summary>
 3136    public const int ActionFieldNumber = 1;
 3137    private global::Decentraland.Quests.Action action_;
 3138    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3139    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3140    public global::Decentraland.Quests.Action Action {
 3141      get { return action_; }
 3142      set {
 3143        action_ = value;
 3144      }
 3145    }
 3146
 3147    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3148    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3149    public override bool Equals(object other) {
 3150      return Equals(other as EventRequest);
 3151    }
 3152
 3153    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3154    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3155    public bool Equals(EventRequest other) {
 3156      if (ReferenceEquals(other, null)) {
 3157        return false;
 3158      }
 3159      if (ReferenceEquals(other, this)) {
 3160        return true;
 3161      }
 3162      if (!object.Equals(Action, other.Action)) return false;
 3163      return Equals(_unknownFields, other._unknownFields);
 3164    }
 3165
 3166    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3167    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3168    public override int GetHashCode() {
 3169      int hash = 1;
 3170      if (action_ != null) hash ^= Action.GetHashCode();
 3171      if (_unknownFields != null) {
 3172        hash ^= _unknownFields.GetHashCode();
 3173      }
 3174      return hash;
 3175    }
 3176
 3177    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3178    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3179    public override string ToString() {
 3180      return pb::JsonFormatter.ToDiagnosticString(this);
 3181    }
 3182
 3183    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3184    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3185    public void WriteTo(pb::CodedOutputStream output) {
 3186    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3187      output.WriteRawMessage(this);
 3188    #else
 3189      if (action_ != null) {
 3190        output.WriteRawTag(10);
 3191        output.WriteMessage(Action);
 3192      }
 3193      if (_unknownFields != null) {
 3194        _unknownFields.WriteTo(output);
 3195      }
 3196    #endif
 3197    }
 3198
 3199    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3200    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3201    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3202    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 3203      if (action_ != null) {
 3204        output.WriteRawTag(10);
 3205        output.WriteMessage(Action);
 3206      }
 3207      if (_unknownFields != null) {
 3208        _unknownFields.WriteTo(ref output);
 3209      }
 3210    }
 3211    #endif
 3212
 3213    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3214    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3215    public int CalculateSize() {
 3216      int size = 0;
 3217      if (action_ != null) {
 3218        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Action);
 3219      }
 3220      if (_unknownFields != null) {
 3221        size += _unknownFields.CalculateSize();
 3222      }
 3223      return size;
 3224    }
 3225
 3226    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3227    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3228    public void MergeFrom(EventRequest other) {
 3229      if (other == null) {
 3230        return;
 3231      }
 3232      if (other.action_ != null) {
 3233        if (action_ == null) {
 3234          Action = new global::Decentraland.Quests.Action();
 3235        }
 3236        Action.MergeFrom(other.Action);
 3237      }
 3238      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 3239    }
 3240
 3241    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3242    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3243    public void MergeFrom(pb::CodedInputStream input) {
 3244    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3245      input.ReadRawMessage(this);
 3246    #else
 3247      uint tag;
 3248      while ((tag = input.ReadTag()) != 0) {
 3249        switch(tag) {
 3250          default:
 3251            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 3252            break;
 3253          case 10: {
 3254            if (action_ == null) {
 3255              Action = new global::Decentraland.Quests.Action();
 3256            }
 3257            input.ReadMessage(Action);
 3258            break;
 3259          }
 3260        }
 3261      }
 3262    #endif
 3263    }
 3264
 3265    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3266    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3267    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3268    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 3269      uint tag;
 3270      while ((tag = input.ReadTag()) != 0) {
 3271        switch(tag) {
 3272          default:
 3273            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 3274            break;
 3275          case 10: {
 3276            if (action_ == null) {
 3277              Action = new global::Decentraland.Quests.Action();
 3278            }
 3279            input.ReadMessage(Action);
 3280            break;
 3281          }
 3282        }
 3283      }
 3284    }
 3285    #endif
 3286
 3287  }
 3288
 3289  public sealed partial class EventResponse : pb::IMessage<EventResponse>
 3290  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3291      , pb::IBufferMessage
 3292  #endif
 3293  {
 3294    private static readonly pb::MessageParser<EventResponse> _parser = new pb::MessageParser<EventResponse>(() => new Ev
 3295    private pb::UnknownFieldSet _unknownFields;
 3296    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3297    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3298    public static pb::MessageParser<EventResponse> Parser { get { return _parser; } }
 3299
 3300    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3301    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3302    public static pbr::MessageDescriptor Descriptor {
 3303      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[13]; }
 3304    }
 3305
 3306    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3307    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3308    pbr::MessageDescriptor pb::IMessage.Descriptor {
 3309      get { return Descriptor; }
 3310    }
 3311
 3312    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3313    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3314    public EventResponse() {
 3315      OnConstruction();
 3316    }
 3317
 3318    partial void OnConstruction();
 3319
 3320    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3321    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3322    public EventResponse(EventResponse other) : this() {
 3323      switch (other.ResponseCase) {
 3324        case ResponseOneofCase.AcceptedEventId:
 3325          AcceptedEventId = other.AcceptedEventId;
 3326          break;
 3327        case ResponseOneofCase.IgnoredEvent:
 3328          IgnoredEvent = other.IgnoredEvent.Clone();
 3329          break;
 3330        case ResponseOneofCase.InternalServerError:
 3331          InternalServerError = other.InternalServerError.Clone();
 3332          break;
 3333      }
 3334
 3335      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 3336    }
 3337
 3338    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3339    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3340    public EventResponse Clone() {
 3341      return new EventResponse(this);
 3342    }
 3343
 3344    /// <summary>Field number for the "accepted_event_id" field.</summary>
 3345    public const int AcceptedEventIdFieldNumber = 1;
 3346    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3347    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3348    public string AcceptedEventId {
 3349      get { return responseCase_ == ResponseOneofCase.AcceptedEventId ? (string) response_ : ""; }
 3350      set {
 3351        response_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 3352        responseCase_ = ResponseOneofCase.AcceptedEventId;
 3353      }
 3354    }
 3355
 3356    /// <summary>Field number for the "ignored_event" field.</summary>
 3357    public const int IgnoredEventFieldNumber = 2;
 3358    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3359    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3360    public global::Decentraland.Quests.IgnoredEvent IgnoredEvent {
 3361      get { return responseCase_ == ResponseOneofCase.IgnoredEvent ? (global::Decentraland.Quests.IgnoredEvent) response
 3362      set {
 3363        response_ = value;
 3364        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.IgnoredEvent;
 3365      }
 3366    }
 3367
 3368    /// <summary>Field number for the "internal_server_error" field.</summary>
 3369    public const int InternalServerErrorFieldNumber = 3;
 3370    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3371    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3372    public global::Decentraland.Quests.InternalServerError InternalServerError {
 3373      get { return responseCase_ == ResponseOneofCase.InternalServerError ? (global::Decentraland.Quests.InternalServerE
 3374      set {
 3375        response_ = value;
 3376        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.InternalServerError;
 3377      }
 3378    }
 3379
 3380    private object response_;
 3381    /// <summary>Enum of possible cases for the "response" oneof.</summary>
 3382    public enum ResponseOneofCase {
 3383      None = 0,
 3384      AcceptedEventId = 1,
 3385      IgnoredEvent = 2,
 3386      InternalServerError = 3,
 3387    }
 3388    private ResponseOneofCase responseCase_ = ResponseOneofCase.None;
 3389    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3390    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3391    public ResponseOneofCase ResponseCase {
 3392      get { return responseCase_; }
 3393    }
 3394
 3395    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3396    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3397    public void ClearResponse() {
 3398      responseCase_ = ResponseOneofCase.None;
 3399      response_ = null;
 3400    }
 3401
 3402    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3403    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3404    public override bool Equals(object other) {
 3405      return Equals(other as EventResponse);
 3406    }
 3407
 3408    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3409    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3410    public bool Equals(EventResponse other) {
 3411      if (ReferenceEquals(other, null)) {
 3412        return false;
 3413      }
 3414      if (ReferenceEquals(other, this)) {
 3415        return true;
 3416      }
 3417      if (AcceptedEventId != other.AcceptedEventId) return false;
 3418      if (!object.Equals(IgnoredEvent, other.IgnoredEvent)) return false;
 3419      if (!object.Equals(InternalServerError, other.InternalServerError)) return false;
 3420      if (ResponseCase != other.ResponseCase) return false;
 3421      return Equals(_unknownFields, other._unknownFields);
 3422    }
 3423
 3424    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3425    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3426    public override int GetHashCode() {
 3427      int hash = 1;
 3428      if (responseCase_ == ResponseOneofCase.AcceptedEventId) hash ^= AcceptedEventId.GetHashCode();
 3429      if (responseCase_ == ResponseOneofCase.IgnoredEvent) hash ^= IgnoredEvent.GetHashCode();
 3430      if (responseCase_ == ResponseOneofCase.InternalServerError) hash ^= InternalServerError.GetHashCode();
 3431      hash ^= (int) responseCase_;
 3432      if (_unknownFields != null) {
 3433        hash ^= _unknownFields.GetHashCode();
 3434      }
 3435      return hash;
 3436    }
 3437
 3438    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3439    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3440    public override string ToString() {
 3441      return pb::JsonFormatter.ToDiagnosticString(this);
 3442    }
 3443
 3444    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3445    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3446    public void WriteTo(pb::CodedOutputStream output) {
 3447    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3448      output.WriteRawMessage(this);
 3449    #else
 3450      if (responseCase_ == ResponseOneofCase.AcceptedEventId) {
 3451        output.WriteRawTag(10);
 3452        output.WriteString(AcceptedEventId);
 3453      }
 3454      if (responseCase_ == ResponseOneofCase.IgnoredEvent) {
 3455        output.WriteRawTag(18);
 3456        output.WriteMessage(IgnoredEvent);
 3457      }
 3458      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 3459        output.WriteRawTag(26);
 3460        output.WriteMessage(InternalServerError);
 3461      }
 3462      if (_unknownFields != null) {
 3463        _unknownFields.WriteTo(output);
 3464      }
 3465    #endif
 3466    }
 3467
 3468    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3469    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3470    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3471    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 3472      if (responseCase_ == ResponseOneofCase.AcceptedEventId) {
 3473        output.WriteRawTag(10);
 3474        output.WriteString(AcceptedEventId);
 3475      }
 3476      if (responseCase_ == ResponseOneofCase.IgnoredEvent) {
 3477        output.WriteRawTag(18);
 3478        output.WriteMessage(IgnoredEvent);
 3479      }
 3480      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 3481        output.WriteRawTag(26);
 3482        output.WriteMessage(InternalServerError);
 3483      }
 3484      if (_unknownFields != null) {
 3485        _unknownFields.WriteTo(ref output);
 3486      }
 3487    }
 3488    #endif
 3489
 3490    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3491    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3492    public int CalculateSize() {
 3493      int size = 0;
 3494      if (responseCase_ == ResponseOneofCase.AcceptedEventId) {
 3495        size += 1 + pb::CodedOutputStream.ComputeStringSize(AcceptedEventId);
 3496      }
 3497      if (responseCase_ == ResponseOneofCase.IgnoredEvent) {
 3498        size += 1 + pb::CodedOutputStream.ComputeMessageSize(IgnoredEvent);
 3499      }
 3500      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 3501        size += 1 + pb::CodedOutputStream.ComputeMessageSize(InternalServerError);
 3502      }
 3503      if (_unknownFields != null) {
 3504        size += _unknownFields.CalculateSize();
 3505      }
 3506      return size;
 3507    }
 3508
 3509    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3510    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3511    public void MergeFrom(EventResponse other) {
 3512      if (other == null) {
 3513        return;
 3514      }
 3515      switch (other.ResponseCase) {
 3516        case ResponseOneofCase.AcceptedEventId:
 3517          AcceptedEventId = other.AcceptedEventId;
 3518          break;
 3519        case ResponseOneofCase.IgnoredEvent:
 3520          if (IgnoredEvent == null) {
 3521            IgnoredEvent = new global::Decentraland.Quests.IgnoredEvent();
 3522          }
 3523          IgnoredEvent.MergeFrom(other.IgnoredEvent);
 3524          break;
 3525        case ResponseOneofCase.InternalServerError:
 3526          if (InternalServerError == null) {
 3527            InternalServerError = new global::Decentraland.Quests.InternalServerError();
 3528          }
 3529          InternalServerError.MergeFrom(other.InternalServerError);
 3530          break;
 3531      }
 3532
 3533      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 3534    }
 3535
 3536    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3537    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3538    public void MergeFrom(pb::CodedInputStream input) {
 3539    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3540      input.ReadRawMessage(this);
 3541    #else
 3542      uint tag;
 3543      while ((tag = input.ReadTag()) != 0) {
 3544        switch(tag) {
 3545          default:
 3546            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 3547            break;
 3548          case 10: {
 3549            AcceptedEventId = input.ReadString();
 3550            break;
 3551          }
 3552          case 18: {
 3553            global::Decentraland.Quests.IgnoredEvent subBuilder = new global::Decentraland.Quests.IgnoredEvent();
 3554            if (responseCase_ == ResponseOneofCase.IgnoredEvent) {
 3555              subBuilder.MergeFrom(IgnoredEvent);
 3556            }
 3557            input.ReadMessage(subBuilder);
 3558            IgnoredEvent = subBuilder;
 3559            break;
 3560          }
 3561          case 26: {
 3562            global::Decentraland.Quests.InternalServerError subBuilder = new global::Decentraland.Quests.InternalServerE
 3563            if (responseCase_ == ResponseOneofCase.InternalServerError) {
 3564              subBuilder.MergeFrom(InternalServerError);
 3565            }
 3566            input.ReadMessage(subBuilder);
 3567            InternalServerError = subBuilder;
 3568            break;
 3569          }
 3570        }
 3571      }
 3572    #endif
 3573    }
 3574
 3575    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3576    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3577    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3578    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 3579      uint tag;
 3580      while ((tag = input.ReadTag()) != 0) {
 3581        switch(tag) {
 3582          default:
 3583            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 3584            break;
 3585          case 10: {
 3586            AcceptedEventId = input.ReadString();
 3587            break;
 3588          }
 3589          case 18: {
 3590            global::Decentraland.Quests.IgnoredEvent subBuilder = new global::Decentraland.Quests.IgnoredEvent();
 3591            if (responseCase_ == ResponseOneofCase.IgnoredEvent) {
 3592              subBuilder.MergeFrom(IgnoredEvent);
 3593            }
 3594            input.ReadMessage(subBuilder);
 3595            IgnoredEvent = subBuilder;
 3596            break;
 3597          }
 3598          case 26: {
 3599            global::Decentraland.Quests.InternalServerError subBuilder = new global::Decentraland.Quests.InternalServerE
 3600            if (responseCase_ == ResponseOneofCase.InternalServerError) {
 3601              subBuilder.MergeFrom(InternalServerError);
 3602            }
 3603            input.ReadMessage(subBuilder);
 3604            InternalServerError = subBuilder;
 3605            break;
 3606          }
 3607        }
 3608      }
 3609    }
 3610    #endif
 3611
 3612  }
 3613
 3614  public sealed partial class QuestDefinition : pb::IMessage<QuestDefinition>
 3615  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3616      , pb::IBufferMessage
 3617  #endif
 3618  {
 3619    private static readonly pb::MessageParser<QuestDefinition> _parser = new pb::MessageParser<QuestDefinition>(() => ne
 3620    private pb::UnknownFieldSet _unknownFields;
 3621    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3622    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3623    public static pb::MessageParser<QuestDefinition> Parser { get { return _parser; } }
 3624
 3625    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3626    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3627    public static pbr::MessageDescriptor Descriptor {
 3628      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[14]; }
 3629    }
 3630
 3631    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3632    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3633    pbr::MessageDescriptor pb::IMessage.Descriptor {
 3634      get { return Descriptor; }
 3635    }
 3636
 3637    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3638    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3639    public QuestDefinition() {
 3640      OnConstruction();
 3641    }
 3642
 3643    partial void OnConstruction();
 3644
 3645    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3646    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3647    public QuestDefinition(QuestDefinition other) : this() {
 3648      steps_ = other.steps_.Clone();
 3649      connections_ = other.connections_.Clone();
 3650      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 3651    }
 3652
 3653    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3654    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3655    public QuestDefinition Clone() {
 3656      return new QuestDefinition(this);
 3657    }
 3658
 3659    /// <summary>Field number for the "steps" field.</summary>
 3660    public const int StepsFieldNumber = 1;
 3661    private static readonly pb::FieldCodec<global::Decentraland.Quests.Step> _repeated_steps_codec
 3662        = pb::FieldCodec.ForMessage(10, global::Decentraland.Quests.Step.Parser);
 3663    private readonly pbc::RepeatedField<global::Decentraland.Quests.Step> steps_ = new pbc::RepeatedField<global::Decent
 3664    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3665    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3666    public pbc::RepeatedField<global::Decentraland.Quests.Step> Steps {
 3667      get { return steps_; }
 3668    }
 3669
 3670    /// <summary>Field number for the "connections" field.</summary>
 3671    public const int ConnectionsFieldNumber = 2;
 3672    private static readonly pb::FieldCodec<global::Decentraland.Quests.Connection> _repeated_connections_codec
 3673        = pb::FieldCodec.ForMessage(18, global::Decentraland.Quests.Connection.Parser);
 3674    private readonly pbc::RepeatedField<global::Decentraland.Quests.Connection> connections_ = new pbc::RepeatedField<gl
 3675    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3676    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3677    public pbc::RepeatedField<global::Decentraland.Quests.Connection> Connections {
 3678      get { return connections_; }
 3679    }
 3680
 3681    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3682    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3683    public override bool Equals(object other) {
 3684      return Equals(other as QuestDefinition);
 3685    }
 3686
 3687    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3688    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3689    public bool Equals(QuestDefinition other) {
 3690      if (ReferenceEquals(other, null)) {
 3691        return false;
 3692      }
 3693      if (ReferenceEquals(other, this)) {
 3694        return true;
 3695      }
 3696      if(!steps_.Equals(other.steps_)) return false;
 3697      if(!connections_.Equals(other.connections_)) return false;
 3698      return Equals(_unknownFields, other._unknownFields);
 3699    }
 3700
 3701    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3702    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3703    public override int GetHashCode() {
 3704      int hash = 1;
 3705      hash ^= steps_.GetHashCode();
 3706      hash ^= connections_.GetHashCode();
 3707      if (_unknownFields != null) {
 3708        hash ^= _unknownFields.GetHashCode();
 3709      }
 3710      return hash;
 3711    }
 3712
 3713    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3714    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3715    public override string ToString() {
 3716      return pb::JsonFormatter.ToDiagnosticString(this);
 3717    }
 3718
 3719    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3720    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3721    public void WriteTo(pb::CodedOutputStream output) {
 3722    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3723      output.WriteRawMessage(this);
 3724    #else
 3725      steps_.WriteTo(output, _repeated_steps_codec);
 3726      connections_.WriteTo(output, _repeated_connections_codec);
 3727      if (_unknownFields != null) {
 3728        _unknownFields.WriteTo(output);
 3729      }
 3730    #endif
 3731    }
 3732
 3733    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3734    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3735    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3736    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 3737      steps_.WriteTo(ref output, _repeated_steps_codec);
 3738      connections_.WriteTo(ref output, _repeated_connections_codec);
 3739      if (_unknownFields != null) {
 3740        _unknownFields.WriteTo(ref output);
 3741      }
 3742    }
 3743    #endif
 3744
 3745    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3746    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3747    public int CalculateSize() {
 3748      int size = 0;
 3749      size += steps_.CalculateSize(_repeated_steps_codec);
 3750      size += connections_.CalculateSize(_repeated_connections_codec);
 3751      if (_unknownFields != null) {
 3752        size += _unknownFields.CalculateSize();
 3753      }
 3754      return size;
 3755    }
 3756
 3757    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3758    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3759    public void MergeFrom(QuestDefinition other) {
 3760      if (other == null) {
 3761        return;
 3762      }
 3763      steps_.Add(other.steps_);
 3764      connections_.Add(other.connections_);
 3765      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 3766    }
 3767
 3768    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3769    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3770    public void MergeFrom(pb::CodedInputStream input) {
 3771    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3772      input.ReadRawMessage(this);
 3773    #else
 3774      uint tag;
 3775      while ((tag = input.ReadTag()) != 0) {
 3776        switch(tag) {
 3777          default:
 3778            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 3779            break;
 3780          case 10: {
 3781            steps_.AddEntriesFrom(input, _repeated_steps_codec);
 3782            break;
 3783          }
 3784          case 18: {
 3785            connections_.AddEntriesFrom(input, _repeated_connections_codec);
 3786            break;
 3787          }
 3788        }
 3789      }
 3790    #endif
 3791    }
 3792
 3793    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3794    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3795    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3796    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 3797      uint tag;
 3798      while ((tag = input.ReadTag()) != 0) {
 3799        switch(tag) {
 3800          default:
 3801            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 3802            break;
 3803          case 10: {
 3804            steps_.AddEntriesFrom(ref input, _repeated_steps_codec);
 3805            break;
 3806          }
 3807          case 18: {
 3808            connections_.AddEntriesFrom(ref input, _repeated_connections_codec);
 3809            break;
 3810          }
 3811        }
 3812      }
 3813    }
 3814    #endif
 3815
 3816  }
 3817
 3818  public sealed partial class Connection : pb::IMessage<Connection>
 3819  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3820      , pb::IBufferMessage
 3821  #endif
 3822  {
 3823    private static readonly pb::MessageParser<Connection> _parser = new pb::MessageParser<Connection>(() => new Connecti
 3824    private pb::UnknownFieldSet _unknownFields;
 3825    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3826    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3827    public static pb::MessageParser<Connection> Parser { get { return _parser; } }
 3828
 3829    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3830    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3831    public static pbr::MessageDescriptor Descriptor {
 3832      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[15]; }
 3833    }
 3834
 3835    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3836    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3837    pbr::MessageDescriptor pb::IMessage.Descriptor {
 3838      get { return Descriptor; }
 3839    }
 3840
 3841    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3842    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3843    public Connection() {
 3844      OnConstruction();
 3845    }
 3846
 3847    partial void OnConstruction();
 3848
 3849    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3850    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3851    public Connection(Connection other) : this() {
 3852      stepFrom_ = other.stepFrom_;
 3853      stepTo_ = other.stepTo_;
 3854      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 3855    }
 3856
 3857    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3858    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3859    public Connection Clone() {
 3860      return new Connection(this);
 3861    }
 3862
 3863    /// <summary>Field number for the "step_from" field.</summary>
 3864    public const int StepFromFieldNumber = 1;
 3865    private string stepFrom_ = "";
 3866    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3867    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3868    public string StepFrom {
 3869      get { return stepFrom_; }
 3870      set {
 3871        stepFrom_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 3872      }
 3873    }
 3874
 3875    /// <summary>Field number for the "step_to" field.</summary>
 3876    public const int StepToFieldNumber = 2;
 3877    private string stepTo_ = "";
 3878    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3879    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3880    public string StepTo {
 3881      get { return stepTo_; }
 3882      set {
 3883        stepTo_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 3884      }
 3885    }
 3886
 3887    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3888    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3889    public override bool Equals(object other) {
 3890      return Equals(other as Connection);
 3891    }
 3892
 3893    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3894    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3895    public bool Equals(Connection other) {
 3896      if (ReferenceEquals(other, null)) {
 3897        return false;
 3898      }
 3899      if (ReferenceEquals(other, this)) {
 3900        return true;
 3901      }
 3902      if (StepFrom != other.StepFrom) return false;
 3903      if (StepTo != other.StepTo) return false;
 3904      return Equals(_unknownFields, other._unknownFields);
 3905    }
 3906
 3907    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3908    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3909    public override int GetHashCode() {
 3910      int hash = 1;
 3911      if (StepFrom.Length != 0) hash ^= StepFrom.GetHashCode();
 3912      if (StepTo.Length != 0) hash ^= StepTo.GetHashCode();
 3913      if (_unknownFields != null) {
 3914        hash ^= _unknownFields.GetHashCode();
 3915      }
 3916      return hash;
 3917    }
 3918
 3919    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3920    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3921    public override string ToString() {
 3922      return pb::JsonFormatter.ToDiagnosticString(this);
 3923    }
 3924
 3925    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3926    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3927    public void WriteTo(pb::CodedOutputStream output) {
 3928    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3929      output.WriteRawMessage(this);
 3930    #else
 3931      if (StepFrom.Length != 0) {
 3932        output.WriteRawTag(10);
 3933        output.WriteString(StepFrom);
 3934      }
 3935      if (StepTo.Length != 0) {
 3936        output.WriteRawTag(18);
 3937        output.WriteString(StepTo);
 3938      }
 3939      if (_unknownFields != null) {
 3940        _unknownFields.WriteTo(output);
 3941      }
 3942    #endif
 3943    }
 3944
 3945    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3946    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3947    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3948    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 3949      if (StepFrom.Length != 0) {
 3950        output.WriteRawTag(10);
 3951        output.WriteString(StepFrom);
 3952      }
 3953      if (StepTo.Length != 0) {
 3954        output.WriteRawTag(18);
 3955        output.WriteString(StepTo);
 3956      }
 3957      if (_unknownFields != null) {
 3958        _unknownFields.WriteTo(ref output);
 3959      }
 3960    }
 3961    #endif
 3962
 3963    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3964    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3965    public int CalculateSize() {
 3966      int size = 0;
 3967      if (StepFrom.Length != 0) {
 3968        size += 1 + pb::CodedOutputStream.ComputeStringSize(StepFrom);
 3969      }
 3970      if (StepTo.Length != 0) {
 3971        size += 1 + pb::CodedOutputStream.ComputeStringSize(StepTo);
 3972      }
 3973      if (_unknownFields != null) {
 3974        size += _unknownFields.CalculateSize();
 3975      }
 3976      return size;
 3977    }
 3978
 3979    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3980    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3981    public void MergeFrom(Connection other) {
 3982      if (other == null) {
 3983        return;
 3984      }
 3985      if (other.StepFrom.Length != 0) {
 3986        StepFrom = other.StepFrom;
 3987      }
 3988      if (other.StepTo.Length != 0) {
 3989        StepTo = other.StepTo;
 3990      }
 3991      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 3992    }
 3993
 3994    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 3995    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3996    public void MergeFrom(pb::CodedInputStream input) {
 3997    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 3998      input.ReadRawMessage(this);
 3999    #else
 4000      uint tag;
 4001      while ((tag = input.ReadTag()) != 0) {
 4002        switch(tag) {
 4003          default:
 4004            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 4005            break;
 4006          case 10: {
 4007            StepFrom = input.ReadString();
 4008            break;
 4009          }
 4010          case 18: {
 4011            StepTo = input.ReadString();
 4012            break;
 4013          }
 4014        }
 4015      }
 4016    #endif
 4017    }
 4018
 4019    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4020    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4021    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4022    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 4023      uint tag;
 4024      while ((tag = input.ReadTag()) != 0) {
 4025        switch(tag) {
 4026          default:
 4027            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 4028            break;
 4029          case 10: {
 4030            StepFrom = input.ReadString();
 4031            break;
 4032          }
 4033          case 18: {
 4034            StepTo = input.ReadString();
 4035            break;
 4036          }
 4037        }
 4038      }
 4039    }
 4040    #endif
 4041
 4042  }
 4043
 4044  public sealed partial class Step : pb::IMessage<Step>
 4045  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4046      , pb::IBufferMessage
 4047  #endif
 4048  {
 4049    private static readonly pb::MessageParser<Step> _parser = new pb::MessageParser<Step>(() => new Step());
 4050    private pb::UnknownFieldSet _unknownFields;
 4051    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4052    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4053    public static pb::MessageParser<Step> Parser { get { return _parser; } }
 4054
 4055    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4056    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4057    public static pbr::MessageDescriptor Descriptor {
 4058      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[16]; }
 4059    }
 4060
 4061    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4062    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4063    pbr::MessageDescriptor pb::IMessage.Descriptor {
 4064      get { return Descriptor; }
 4065    }
 4066
 4067    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4068    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4069    public Step() {
 4070      OnConstruction();
 4071    }
 4072
 4073    partial void OnConstruction();
 4074
 4075    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4076    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4077    public Step(Step other) : this() {
 4078      id_ = other.id_;
 4079      description_ = other.description_;
 4080      tasks_ = other.tasks_.Clone();
 4081      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 4082    }
 4083
 4084    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4085    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4086    public Step Clone() {
 4087      return new Step(this);
 4088    }
 4089
 4090    /// <summary>Field number for the "id" field.</summary>
 4091    public const int IdFieldNumber = 1;
 4092    private string id_ = "";
 4093    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4094    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4095    public string Id {
 4096      get { return id_; }
 4097      set {
 4098        id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 4099      }
 4100    }
 4101
 4102    /// <summary>Field number for the "description" field.</summary>
 4103    public const int DescriptionFieldNumber = 2;
 4104    private string description_ = "";
 4105    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4106    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4107    public string Description {
 4108      get { return description_; }
 4109      set {
 4110        description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 4111      }
 4112    }
 4113
 4114    /// <summary>Field number for the "tasks" field.</summary>
 4115    public const int TasksFieldNumber = 3;
 4116    private static readonly pb::FieldCodec<global::Decentraland.Quests.Task> _repeated_tasks_codec
 4117        = pb::FieldCodec.ForMessage(26, global::Decentraland.Quests.Task.Parser);
 4118    private readonly pbc::RepeatedField<global::Decentraland.Quests.Task> tasks_ = new pbc::RepeatedField<global::Decent
 4119    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4120    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4121    public pbc::RepeatedField<global::Decentraland.Quests.Task> Tasks {
 4122      get { return tasks_; }
 4123    }
 4124
 4125    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4126    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4127    public override bool Equals(object other) {
 4128      return Equals(other as Step);
 4129    }
 4130
 4131    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4132    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4133    public bool Equals(Step other) {
 4134      if (ReferenceEquals(other, null)) {
 4135        return false;
 4136      }
 4137      if (ReferenceEquals(other, this)) {
 4138        return true;
 4139      }
 4140      if (Id != other.Id) return false;
 4141      if (Description != other.Description) return false;
 4142      if(!tasks_.Equals(other.tasks_)) return false;
 4143      return Equals(_unknownFields, other._unknownFields);
 4144    }
 4145
 4146    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4147    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4148    public override int GetHashCode() {
 4149      int hash = 1;
 4150      if (Id.Length != 0) hash ^= Id.GetHashCode();
 4151      if (Description.Length != 0) hash ^= Description.GetHashCode();
 4152      hash ^= tasks_.GetHashCode();
 4153      if (_unknownFields != null) {
 4154        hash ^= _unknownFields.GetHashCode();
 4155      }
 4156      return hash;
 4157    }
 4158
 4159    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4160    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4161    public override string ToString() {
 4162      return pb::JsonFormatter.ToDiagnosticString(this);
 4163    }
 4164
 4165    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4166    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4167    public void WriteTo(pb::CodedOutputStream output) {
 4168    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4169      output.WriteRawMessage(this);
 4170    #else
 4171      if (Id.Length != 0) {
 4172        output.WriteRawTag(10);
 4173        output.WriteString(Id);
 4174      }
 4175      if (Description.Length != 0) {
 4176        output.WriteRawTag(18);
 4177        output.WriteString(Description);
 4178      }
 4179      tasks_.WriteTo(output, _repeated_tasks_codec);
 4180      if (_unknownFields != null) {
 4181        _unknownFields.WriteTo(output);
 4182      }
 4183    #endif
 4184    }
 4185
 4186    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4187    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4188    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4189    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 4190      if (Id.Length != 0) {
 4191        output.WriteRawTag(10);
 4192        output.WriteString(Id);
 4193      }
 4194      if (Description.Length != 0) {
 4195        output.WriteRawTag(18);
 4196        output.WriteString(Description);
 4197      }
 4198      tasks_.WriteTo(ref output, _repeated_tasks_codec);
 4199      if (_unknownFields != null) {
 4200        _unknownFields.WriteTo(ref output);
 4201      }
 4202    }
 4203    #endif
 4204
 4205    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4206    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4207    public int CalculateSize() {
 4208      int size = 0;
 4209      if (Id.Length != 0) {
 4210        size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
 4211      }
 4212      if (Description.Length != 0) {
 4213        size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
 4214      }
 4215      size += tasks_.CalculateSize(_repeated_tasks_codec);
 4216      if (_unknownFields != null) {
 4217        size += _unknownFields.CalculateSize();
 4218      }
 4219      return size;
 4220    }
 4221
 4222    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4223    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4224    public void MergeFrom(Step other) {
 4225      if (other == null) {
 4226        return;
 4227      }
 4228      if (other.Id.Length != 0) {
 4229        Id = other.Id;
 4230      }
 4231      if (other.Description.Length != 0) {
 4232        Description = other.Description;
 4233      }
 4234      tasks_.Add(other.tasks_);
 4235      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 4236    }
 4237
 4238    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4239    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4240    public void MergeFrom(pb::CodedInputStream input) {
 4241    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4242      input.ReadRawMessage(this);
 4243    #else
 4244      uint tag;
 4245      while ((tag = input.ReadTag()) != 0) {
 4246        switch(tag) {
 4247          default:
 4248            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 4249            break;
 4250          case 10: {
 4251            Id = input.ReadString();
 4252            break;
 4253          }
 4254          case 18: {
 4255            Description = input.ReadString();
 4256            break;
 4257          }
 4258          case 26: {
 4259            tasks_.AddEntriesFrom(input, _repeated_tasks_codec);
 4260            break;
 4261          }
 4262        }
 4263      }
 4264    #endif
 4265    }
 4266
 4267    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4268    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4269    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4270    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 4271      uint tag;
 4272      while ((tag = input.ReadTag()) != 0) {
 4273        switch(tag) {
 4274          default:
 4275            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 4276            break;
 4277          case 10: {
 4278            Id = input.ReadString();
 4279            break;
 4280          }
 4281          case 18: {
 4282            Description = input.ReadString();
 4283            break;
 4284          }
 4285          case 26: {
 4286            tasks_.AddEntriesFrom(ref input, _repeated_tasks_codec);
 4287            break;
 4288          }
 4289        }
 4290      }
 4291    }
 4292    #endif
 4293
 4294  }
 4295
 4296  public sealed partial class Action : pb::IMessage<Action>
 4297  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4298      , pb::IBufferMessage
 4299  #endif
 4300  {
 4301    private static readonly pb::MessageParser<Action> _parser = new pb::MessageParser<Action>(() => new Action());
 4302    private pb::UnknownFieldSet _unknownFields;
 4303    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4304    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4305    public static pb::MessageParser<Action> Parser { get { return _parser; } }
 4306
 4307    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4308    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4309    public static pbr::MessageDescriptor Descriptor {
 4310      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[17]; }
 4311    }
 4312
 4313    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4314    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4315    pbr::MessageDescriptor pb::IMessage.Descriptor {
 4316      get { return Descriptor; }
 4317    }
 4318
 4319    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4320    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4321    public Action() {
 4322      OnConstruction();
 4323    }
 4324
 4325    partial void OnConstruction();
 4326
 4327    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4328    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4329    public Action(Action other) : this() {
 4330      type_ = other.type_;
 4331      parameters_ = other.parameters_.Clone();
 4332      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 4333    }
 4334
 4335    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4336    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4337    public Action Clone() {
 4338      return new Action(this);
 4339    }
 4340
 4341    /// <summary>Field number for the "type" field.</summary>
 4342    public const int TypeFieldNumber = 1;
 4343    private string type_ = "";
 4344    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4345    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4346    public string Type {
 4347      get { return type_; }
 4348      set {
 4349        type_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 4350      }
 4351    }
 4352
 4353    /// <summary>Field number for the "parameters" field.</summary>
 4354    public const int ParametersFieldNumber = 2;
 4355    private static readonly pbc::MapField<string, string>.Codec _map_parameters_codec
 4356        = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 18
 4357    private readonly pbc::MapField<string, string> parameters_ = new pbc::MapField<string, string>();
 4358    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4359    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4360    public pbc::MapField<string, string> Parameters {
 4361      get { return parameters_; }
 4362    }
 4363
 4364    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4365    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4366    public override bool Equals(object other) {
 4367      return Equals(other as Action);
 4368    }
 4369
 4370    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4371    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4372    public bool Equals(Action other) {
 4373      if (ReferenceEquals(other, null)) {
 4374        return false;
 4375      }
 4376      if (ReferenceEquals(other, this)) {
 4377        return true;
 4378      }
 4379      if (Type != other.Type) return false;
 4380      if (!Parameters.Equals(other.Parameters)) return false;
 4381      return Equals(_unknownFields, other._unknownFields);
 4382    }
 4383
 4384    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4385    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4386    public override int GetHashCode() {
 4387      int hash = 1;
 4388      if (Type.Length != 0) hash ^= Type.GetHashCode();
 4389      hash ^= Parameters.GetHashCode();
 4390      if (_unknownFields != null) {
 4391        hash ^= _unknownFields.GetHashCode();
 4392      }
 4393      return hash;
 4394    }
 4395
 4396    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4397    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4398    public override string ToString() {
 4399      return pb::JsonFormatter.ToDiagnosticString(this);
 4400    }
 4401
 4402    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4403    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4404    public void WriteTo(pb::CodedOutputStream output) {
 4405    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4406      output.WriteRawMessage(this);
 4407    #else
 4408      if (Type.Length != 0) {
 4409        output.WriteRawTag(10);
 4410        output.WriteString(Type);
 4411      }
 4412      parameters_.WriteTo(output, _map_parameters_codec);
 4413      if (_unknownFields != null) {
 4414        _unknownFields.WriteTo(output);
 4415      }
 4416    #endif
 4417    }
 4418
 4419    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4420    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4421    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4422    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 4423      if (Type.Length != 0) {
 4424        output.WriteRawTag(10);
 4425        output.WriteString(Type);
 4426      }
 4427      parameters_.WriteTo(ref output, _map_parameters_codec);
 4428      if (_unknownFields != null) {
 4429        _unknownFields.WriteTo(ref output);
 4430      }
 4431    }
 4432    #endif
 4433
 4434    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4435    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4436    public int CalculateSize() {
 4437      int size = 0;
 4438      if (Type.Length != 0) {
 4439        size += 1 + pb::CodedOutputStream.ComputeStringSize(Type);
 4440      }
 4441      size += parameters_.CalculateSize(_map_parameters_codec);
 4442      if (_unknownFields != null) {
 4443        size += _unknownFields.CalculateSize();
 4444      }
 4445      return size;
 4446    }
 4447
 4448    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4449    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4450    public void MergeFrom(Action other) {
 4451      if (other == null) {
 4452        return;
 4453      }
 4454      if (other.Type.Length != 0) {
 4455        Type = other.Type;
 4456      }
 4457      parameters_.Add(other.parameters_);
 4458      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 4459    }
 4460
 4461    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4462    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4463    public void MergeFrom(pb::CodedInputStream input) {
 4464    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4465      input.ReadRawMessage(this);
 4466    #else
 4467      uint tag;
 4468      while ((tag = input.ReadTag()) != 0) {
 4469        switch(tag) {
 4470          default:
 4471            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 4472            break;
 4473          case 10: {
 4474            Type = input.ReadString();
 4475            break;
 4476          }
 4477          case 18: {
 4478            parameters_.AddEntriesFrom(input, _map_parameters_codec);
 4479            break;
 4480          }
 4481        }
 4482      }
 4483    #endif
 4484    }
 4485
 4486    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4487    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4488    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4489    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 4490      uint tag;
 4491      while ((tag = input.ReadTag()) != 0) {
 4492        switch(tag) {
 4493          default:
 4494            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 4495            break;
 4496          case 10: {
 4497            Type = input.ReadString();
 4498            break;
 4499          }
 4500          case 18: {
 4501            parameters_.AddEntriesFrom(ref input, _map_parameters_codec);
 4502            break;
 4503          }
 4504        }
 4505      }
 4506    }
 4507    #endif
 4508
 4509  }
 4510
 4511  public sealed partial class Task : pb::IMessage<Task>
 4512  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4513      , pb::IBufferMessage
 4514  #endif
 4515  {
 4516    private static readonly pb::MessageParser<Task> _parser = new pb::MessageParser<Task>(() => new Task());
 4517    private pb::UnknownFieldSet _unknownFields;
 4518    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4519    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4520    public static pb::MessageParser<Task> Parser { get { return _parser; } }
 4521
 4522    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4523    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4524    public static pbr::MessageDescriptor Descriptor {
 4525      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[18]; }
 4526    }
 4527
 4528    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4529    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4530    pbr::MessageDescriptor pb::IMessage.Descriptor {
 4531      get { return Descriptor; }
 4532    }
 4533
 4534    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4535    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4536    public Task() {
 4537      OnConstruction();
 4538    }
 4539
 4540    partial void OnConstruction();
 4541
 4542    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4543    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4544    public Task(Task other) : this() {
 4545      id_ = other.id_;
 4546      description_ = other.description_;
 4547      actionItems_ = other.actionItems_.Clone();
 4548      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 4549    }
 4550
 4551    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4552    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4553    public Task Clone() {
 4554      return new Task(this);
 4555    }
 4556
 4557    /// <summary>Field number for the "id" field.</summary>
 4558    public const int IdFieldNumber = 1;
 4559    private string id_ = "";
 4560    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4561    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4562    public string Id {
 4563      get { return id_; }
 4564      set {
 4565        id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 4566      }
 4567    }
 4568
 4569    /// <summary>Field number for the "description" field.</summary>
 4570    public const int DescriptionFieldNumber = 2;
 4571    private string description_ = "";
 4572    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4573    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4574    public string Description {
 4575      get { return description_; }
 4576      set {
 4577        description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 4578      }
 4579    }
 4580
 4581    /// <summary>Field number for the "action_items" field.</summary>
 4582    public const int ActionItemsFieldNumber = 3;
 4583    private static readonly pb::FieldCodec<global::Decentraland.Quests.Action> _repeated_actionItems_codec
 4584        = pb::FieldCodec.ForMessage(26, global::Decentraland.Quests.Action.Parser);
 4585    private readonly pbc::RepeatedField<global::Decentraland.Quests.Action> actionItems_ = new pbc::RepeatedField<global
 4586    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4587    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4588    public pbc::RepeatedField<global::Decentraland.Quests.Action> ActionItems {
 4589      get { return actionItems_; }
 4590    }
 4591
 4592    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4593    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4594    public override bool Equals(object other) {
 4595      return Equals(other as Task);
 4596    }
 4597
 4598    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4599    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4600    public bool Equals(Task other) {
 4601      if (ReferenceEquals(other, null)) {
 4602        return false;
 4603      }
 4604      if (ReferenceEquals(other, this)) {
 4605        return true;
 4606      }
 4607      if (Id != other.Id) return false;
 4608      if (Description != other.Description) return false;
 4609      if(!actionItems_.Equals(other.actionItems_)) return false;
 4610      return Equals(_unknownFields, other._unknownFields);
 4611    }
 4612
 4613    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4614    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4615    public override int GetHashCode() {
 4616      int hash = 1;
 4617      if (Id.Length != 0) hash ^= Id.GetHashCode();
 4618      if (Description.Length != 0) hash ^= Description.GetHashCode();
 4619      hash ^= actionItems_.GetHashCode();
 4620      if (_unknownFields != null) {
 4621        hash ^= _unknownFields.GetHashCode();
 4622      }
 4623      return hash;
 4624    }
 4625
 4626    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4627    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4628    public override string ToString() {
 4629      return pb::JsonFormatter.ToDiagnosticString(this);
 4630    }
 4631
 4632    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4633    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4634    public void WriteTo(pb::CodedOutputStream output) {
 4635    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4636      output.WriteRawMessage(this);
 4637    #else
 4638      if (Id.Length != 0) {
 4639        output.WriteRawTag(10);
 4640        output.WriteString(Id);
 4641      }
 4642      if (Description.Length != 0) {
 4643        output.WriteRawTag(18);
 4644        output.WriteString(Description);
 4645      }
 4646      actionItems_.WriteTo(output, _repeated_actionItems_codec);
 4647      if (_unknownFields != null) {
 4648        _unknownFields.WriteTo(output);
 4649      }
 4650    #endif
 4651    }
 4652
 4653    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4654    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4655    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4656    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 4657      if (Id.Length != 0) {
 4658        output.WriteRawTag(10);
 4659        output.WriteString(Id);
 4660      }
 4661      if (Description.Length != 0) {
 4662        output.WriteRawTag(18);
 4663        output.WriteString(Description);
 4664      }
 4665      actionItems_.WriteTo(ref output, _repeated_actionItems_codec);
 4666      if (_unknownFields != null) {
 4667        _unknownFields.WriteTo(ref output);
 4668      }
 4669    }
 4670    #endif
 4671
 4672    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4673    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4674    public int CalculateSize() {
 4675      int size = 0;
 4676      if (Id.Length != 0) {
 4677        size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
 4678      }
 4679      if (Description.Length != 0) {
 4680        size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
 4681      }
 4682      size += actionItems_.CalculateSize(_repeated_actionItems_codec);
 4683      if (_unknownFields != null) {
 4684        size += _unknownFields.CalculateSize();
 4685      }
 4686      return size;
 4687    }
 4688
 4689    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4690    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4691    public void MergeFrom(Task other) {
 4692      if (other == null) {
 4693        return;
 4694      }
 4695      if (other.Id.Length != 0) {
 4696        Id = other.Id;
 4697      }
 4698      if (other.Description.Length != 0) {
 4699        Description = other.Description;
 4700      }
 4701      actionItems_.Add(other.actionItems_);
 4702      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 4703    }
 4704
 4705    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4706    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4707    public void MergeFrom(pb::CodedInputStream input) {
 4708    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4709      input.ReadRawMessage(this);
 4710    #else
 4711      uint tag;
 4712      while ((tag = input.ReadTag()) != 0) {
 4713        switch(tag) {
 4714          default:
 4715            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 4716            break;
 4717          case 10: {
 4718            Id = input.ReadString();
 4719            break;
 4720          }
 4721          case 18: {
 4722            Description = input.ReadString();
 4723            break;
 4724          }
 4725          case 26: {
 4726            actionItems_.AddEntriesFrom(input, _repeated_actionItems_codec);
 4727            break;
 4728          }
 4729        }
 4730      }
 4731    #endif
 4732    }
 4733
 4734    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4735    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4736    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4737    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 4738      uint tag;
 4739      while ((tag = input.ReadTag()) != 0) {
 4740        switch(tag) {
 4741          default:
 4742            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 4743            break;
 4744          case 10: {
 4745            Id = input.ReadString();
 4746            break;
 4747          }
 4748          case 18: {
 4749            Description = input.ReadString();
 4750            break;
 4751          }
 4752          case 26: {
 4753            actionItems_.AddEntriesFrom(ref input, _repeated_actionItems_codec);
 4754            break;
 4755          }
 4756        }
 4757      }
 4758    }
 4759    #endif
 4760
 4761  }
 4762
 4763  public sealed partial class StepContent : pb::IMessage<StepContent>
 4764  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4765      , pb::IBufferMessage
 4766  #endif
 4767  {
 4768    private static readonly pb::MessageParser<StepContent> _parser = new pb::MessageParser<StepContent>(() => new StepCo
 4769    private pb::UnknownFieldSet _unknownFields;
 4770    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4771    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4772    public static pb::MessageParser<StepContent> Parser { get { return _parser; } }
 4773
 4774    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4775    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4776    public static pbr::MessageDescriptor Descriptor {
 4777      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[19]; }
 4778    }
 4779
 4780    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4781    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4782    pbr::MessageDescriptor pb::IMessage.Descriptor {
 4783      get { return Descriptor; }
 4784    }
 4785
 4786    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4787    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4788    public StepContent() {
 4789      OnConstruction();
 4790    }
 4791
 4792    partial void OnConstruction();
 4793
 4794    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4795    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4796    public StepContent(StepContent other) : this() {
 4797      toDos_ = other.toDos_.Clone();
 4798      tasksCompleted_ = other.tasksCompleted_.Clone();
 4799      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 4800    }
 4801
 4802    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4803    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4804    public StepContent Clone() {
 4805      return new StepContent(this);
 4806    }
 4807
 4808    /// <summary>Field number for the "to_dos" field.</summary>
 4809    public const int ToDosFieldNumber = 1;
 4810    private static readonly pb::FieldCodec<global::Decentraland.Quests.Task> _repeated_toDos_codec
 4811        = pb::FieldCodec.ForMessage(10, global::Decentraland.Quests.Task.Parser);
 4812    private readonly pbc::RepeatedField<global::Decentraland.Quests.Task> toDos_ = new pbc::RepeatedField<global::Decent
 4813    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4814    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4815    public pbc::RepeatedField<global::Decentraland.Quests.Task> ToDos {
 4816      get { return toDos_; }
 4817    }
 4818
 4819    /// <summary>Field number for the "tasks_completed" field.</summary>
 4820    public const int TasksCompletedFieldNumber = 2;
 4821    private static readonly pb::FieldCodec<global::Decentraland.Quests.Task> _repeated_tasksCompleted_codec
 4822        = pb::FieldCodec.ForMessage(18, global::Decentraland.Quests.Task.Parser);
 4823    private readonly pbc::RepeatedField<global::Decentraland.Quests.Task> tasksCompleted_ = new pbc::RepeatedField<globa
 4824    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4825    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4826    public pbc::RepeatedField<global::Decentraland.Quests.Task> TasksCompleted {
 4827      get { return tasksCompleted_; }
 4828    }
 4829
 4830    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4831    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4832    public override bool Equals(object other) {
 4833      return Equals(other as StepContent);
 4834    }
 4835
 4836    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4837    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4838    public bool Equals(StepContent other) {
 4839      if (ReferenceEquals(other, null)) {
 4840        return false;
 4841      }
 4842      if (ReferenceEquals(other, this)) {
 4843        return true;
 4844      }
 4845      if(!toDos_.Equals(other.toDos_)) return false;
 4846      if(!tasksCompleted_.Equals(other.tasksCompleted_)) return false;
 4847      return Equals(_unknownFields, other._unknownFields);
 4848    }
 4849
 4850    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4851    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4852    public override int GetHashCode() {
 4853      int hash = 1;
 4854      hash ^= toDos_.GetHashCode();
 4855      hash ^= tasksCompleted_.GetHashCode();
 4856      if (_unknownFields != null) {
 4857        hash ^= _unknownFields.GetHashCode();
 4858      }
 4859      return hash;
 4860    }
 4861
 4862    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4863    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4864    public override string ToString() {
 4865      return pb::JsonFormatter.ToDiagnosticString(this);
 4866    }
 4867
 4868    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4869    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4870    public void WriteTo(pb::CodedOutputStream output) {
 4871    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4872      output.WriteRawMessage(this);
 4873    #else
 4874      toDos_.WriteTo(output, _repeated_toDos_codec);
 4875      tasksCompleted_.WriteTo(output, _repeated_tasksCompleted_codec);
 4876      if (_unknownFields != null) {
 4877        _unknownFields.WriteTo(output);
 4878      }
 4879    #endif
 4880    }
 4881
 4882    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4883    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4884    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4885    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 4886      toDos_.WriteTo(ref output, _repeated_toDos_codec);
 4887      tasksCompleted_.WriteTo(ref output, _repeated_tasksCompleted_codec);
 4888      if (_unknownFields != null) {
 4889        _unknownFields.WriteTo(ref output);
 4890      }
 4891    }
 4892    #endif
 4893
 4894    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4895    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4896    public int CalculateSize() {
 4897      int size = 0;
 4898      size += toDos_.CalculateSize(_repeated_toDos_codec);
 4899      size += tasksCompleted_.CalculateSize(_repeated_tasksCompleted_codec);
 4900      if (_unknownFields != null) {
 4901        size += _unknownFields.CalculateSize();
 4902      }
 4903      return size;
 4904    }
 4905
 4906    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4907    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4908    public void MergeFrom(StepContent other) {
 4909      if (other == null) {
 4910        return;
 4911      }
 4912      toDos_.Add(other.toDos_);
 4913      tasksCompleted_.Add(other.tasksCompleted_);
 4914      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 4915    }
 4916
 4917    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4918    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4919    public void MergeFrom(pb::CodedInputStream input) {
 4920    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4921      input.ReadRawMessage(this);
 4922    #else
 4923      uint tag;
 4924      while ((tag = input.ReadTag()) != 0) {
 4925        switch(tag) {
 4926          default:
 4927            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 4928            break;
 4929          case 10: {
 4930            toDos_.AddEntriesFrom(input, _repeated_toDos_codec);
 4931            break;
 4932          }
 4933          case 18: {
 4934            tasksCompleted_.AddEntriesFrom(input, _repeated_tasksCompleted_codec);
 4935            break;
 4936          }
 4937        }
 4938      }
 4939    #endif
 4940    }
 4941
 4942    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4943    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4944    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4945    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 4946      uint tag;
 4947      while ((tag = input.ReadTag()) != 0) {
 4948        switch(tag) {
 4949          default:
 4950            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 4951            break;
 4952          case 10: {
 4953            toDos_.AddEntriesFrom(ref input, _repeated_toDos_codec);
 4954            break;
 4955          }
 4956          case 18: {
 4957            tasksCompleted_.AddEntriesFrom(ref input, _repeated_tasksCompleted_codec);
 4958            break;
 4959          }
 4960        }
 4961      }
 4962    }
 4963    #endif
 4964
 4965  }
 4966
 4967  public sealed partial class QuestState : pb::IMessage<QuestState>
 4968  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 4969      , pb::IBufferMessage
 4970  #endif
 4971  {
 4972    private static readonly pb::MessageParser<QuestState> _parser = new pb::MessageParser<QuestState>(() => new QuestSta
 4973    private pb::UnknownFieldSet _unknownFields;
 4974    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4975    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4976    public static pb::MessageParser<QuestState> Parser { get { return _parser; } }
 4977
 4978    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4979    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4980    public static pbr::MessageDescriptor Descriptor {
 4981      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[20]; }
 4982    }
 4983
 4984    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4985    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4986    pbr::MessageDescriptor pb::IMessage.Descriptor {
 4987      get { return Descriptor; }
 4988    }
 4989
 4990    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4991    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4992    public QuestState() {
 4993      OnConstruction();
 4994    }
 4995
 4996    partial void OnConstruction();
 4997
 4998    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 4999    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5000    public QuestState(QuestState other) : this() {
 5001      currentSteps_ = other.currentSteps_.Clone();
 5002      stepsLeft_ = other.stepsLeft_;
 5003      stepsCompleted_ = other.stepsCompleted_.Clone();
 5004      requiredSteps_ = other.requiredSteps_.Clone();
 5005      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 5006    }
 5007
 5008    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5009    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5010    public QuestState Clone() {
 5011      return new QuestState(this);
 5012    }
 5013
 5014    /// <summary>Field number for the "current_steps" field.</summary>
 5015    public const int CurrentStepsFieldNumber = 2;
 5016    private static readonly pbc::MapField<string, global::Decentraland.Quests.StepContent>.Codec _map_currentSteps_codec
 5017        = new pbc::MapField<string, global::Decentraland.Quests.StepContent>.Codec(pb::FieldCodec.ForString(10, ""), pb:
 5018    private readonly pbc::MapField<string, global::Decentraland.Quests.StepContent> currentSteps_ = new pbc::MapField<st
 5019    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5020    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5021    public pbc::MapField<string, global::Decentraland.Quests.StepContent> CurrentSteps {
 5022      get { return currentSteps_; }
 5023    }
 5024
 5025    /// <summary>Field number for the "steps_left" field.</summary>
 5026    public const int StepsLeftFieldNumber = 3;
 5027    private uint stepsLeft_;
 5028    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5029    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5030    public uint StepsLeft {
 5031      get { return stepsLeft_; }
 5032      set {
 5033        stepsLeft_ = value;
 5034      }
 5035    }
 5036
 5037    /// <summary>Field number for the "steps_completed" field.</summary>
 5038    public const int StepsCompletedFieldNumber = 4;
 5039    private static readonly pb::FieldCodec<string> _repeated_stepsCompleted_codec
 5040        = pb::FieldCodec.ForString(34);
 5041    private readonly pbc::RepeatedField<string> stepsCompleted_ = new pbc::RepeatedField<string>();
 5042    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5043    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5044    public pbc::RepeatedField<string> StepsCompleted {
 5045      get { return stepsCompleted_; }
 5046    }
 5047
 5048    /// <summary>Field number for the "required_steps" field.</summary>
 5049    public const int RequiredStepsFieldNumber = 5;
 5050    private static readonly pb::FieldCodec<string> _repeated_requiredSteps_codec
 5051        = pb::FieldCodec.ForString(42);
 5052    private readonly pbc::RepeatedField<string> requiredSteps_ = new pbc::RepeatedField<string>();
 5053    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5054    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5055    public pbc::RepeatedField<string> RequiredSteps {
 5056      get { return requiredSteps_; }
 5057    }
 5058
 5059    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5060    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5061    public override bool Equals(object other) {
 5062      return Equals(other as QuestState);
 5063    }
 5064
 5065    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5066    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5067    public bool Equals(QuestState other) {
 5068      if (ReferenceEquals(other, null)) {
 5069        return false;
 5070      }
 5071      if (ReferenceEquals(other, this)) {
 5072        return true;
 5073      }
 5074      if (!CurrentSteps.Equals(other.CurrentSteps)) return false;
 5075      if (StepsLeft != other.StepsLeft) return false;
 5076      if(!stepsCompleted_.Equals(other.stepsCompleted_)) return false;
 5077      if(!requiredSteps_.Equals(other.requiredSteps_)) return false;
 5078      return Equals(_unknownFields, other._unknownFields);
 5079    }
 5080
 5081    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5082    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5083    public override int GetHashCode() {
 5084      int hash = 1;
 5085      hash ^= CurrentSteps.GetHashCode();
 5086      if (StepsLeft != 0) hash ^= StepsLeft.GetHashCode();
 5087      hash ^= stepsCompleted_.GetHashCode();
 5088      hash ^= requiredSteps_.GetHashCode();
 5089      if (_unknownFields != null) {
 5090        hash ^= _unknownFields.GetHashCode();
 5091      }
 5092      return hash;
 5093    }
 5094
 5095    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5096    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5097    public override string ToString() {
 5098      return pb::JsonFormatter.ToDiagnosticString(this);
 5099    }
 5100
 5101    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5102    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5103    public void WriteTo(pb::CodedOutputStream output) {
 5104    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5105      output.WriteRawMessage(this);
 5106    #else
 5107      currentSteps_.WriteTo(output, _map_currentSteps_codec);
 5108      if (StepsLeft != 0) {
 5109        output.WriteRawTag(29);
 5110        output.WriteFixed32(StepsLeft);
 5111      }
 5112      stepsCompleted_.WriteTo(output, _repeated_stepsCompleted_codec);
 5113      requiredSteps_.WriteTo(output, _repeated_requiredSteps_codec);
 5114      if (_unknownFields != null) {
 5115        _unknownFields.WriteTo(output);
 5116      }
 5117    #endif
 5118    }
 5119
 5120    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5121    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5122    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5123    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 5124      currentSteps_.WriteTo(ref output, _map_currentSteps_codec);
 5125      if (StepsLeft != 0) {
 5126        output.WriteRawTag(29);
 5127        output.WriteFixed32(StepsLeft);
 5128      }
 5129      stepsCompleted_.WriteTo(ref output, _repeated_stepsCompleted_codec);
 5130      requiredSteps_.WriteTo(ref output, _repeated_requiredSteps_codec);
 5131      if (_unknownFields != null) {
 5132        _unknownFields.WriteTo(ref output);
 5133      }
 5134    }
 5135    #endif
 5136
 5137    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5138    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5139    public int CalculateSize() {
 5140      int size = 0;
 5141      size += currentSteps_.CalculateSize(_map_currentSteps_codec);
 5142      if (StepsLeft != 0) {
 5143        size += 1 + 4;
 5144      }
 5145      size += stepsCompleted_.CalculateSize(_repeated_stepsCompleted_codec);
 5146      size += requiredSteps_.CalculateSize(_repeated_requiredSteps_codec);
 5147      if (_unknownFields != null) {
 5148        size += _unknownFields.CalculateSize();
 5149      }
 5150      return size;
 5151    }
 5152
 5153    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5154    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5155    public void MergeFrom(QuestState other) {
 5156      if (other == null) {
 5157        return;
 5158      }
 5159      currentSteps_.Add(other.currentSteps_);
 5160      if (other.StepsLeft != 0) {
 5161        StepsLeft = other.StepsLeft;
 5162      }
 5163      stepsCompleted_.Add(other.stepsCompleted_);
 5164      requiredSteps_.Add(other.requiredSteps_);
 5165      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 5166    }
 5167
 5168    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5169    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5170    public void MergeFrom(pb::CodedInputStream input) {
 5171    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5172      input.ReadRawMessage(this);
 5173    #else
 5174      uint tag;
 5175      while ((tag = input.ReadTag()) != 0) {
 5176        switch(tag) {
 5177          default:
 5178            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 5179            break;
 5180          case 18: {
 5181            currentSteps_.AddEntriesFrom(input, _map_currentSteps_codec);
 5182            break;
 5183          }
 5184          case 29: {
 5185            StepsLeft = input.ReadFixed32();
 5186            break;
 5187          }
 5188          case 34: {
 5189            stepsCompleted_.AddEntriesFrom(input, _repeated_stepsCompleted_codec);
 5190            break;
 5191          }
 5192          case 42: {
 5193            requiredSteps_.AddEntriesFrom(input, _repeated_requiredSteps_codec);
 5194            break;
 5195          }
 5196        }
 5197      }
 5198    #endif
 5199    }
 5200
 5201    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5202    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5203    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5204    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 5205      uint tag;
 5206      while ((tag = input.ReadTag()) != 0) {
 5207        switch(tag) {
 5208          default:
 5209            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 5210            break;
 5211          case 18: {
 5212            currentSteps_.AddEntriesFrom(ref input, _map_currentSteps_codec);
 5213            break;
 5214          }
 5215          case 29: {
 5216            StepsLeft = input.ReadFixed32();
 5217            break;
 5218          }
 5219          case 34: {
 5220            stepsCompleted_.AddEntriesFrom(ref input, _repeated_stepsCompleted_codec);
 5221            break;
 5222          }
 5223          case 42: {
 5224            requiredSteps_.AddEntriesFrom(ref input, _repeated_requiredSteps_codec);
 5225            break;
 5226          }
 5227        }
 5228      }
 5229    }
 5230    #endif
 5231
 5232  }
 5233
 5234  public sealed partial class Quest : pb::IMessage<Quest>
 5235  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5236      , pb::IBufferMessage
 5237  #endif
 5238  {
 5239    private static readonly pb::MessageParser<Quest> _parser = new pb::MessageParser<Quest>(() => new Quest());
 5240    private pb::UnknownFieldSet _unknownFields;
 5241    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5242    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5243    public static pb::MessageParser<Quest> Parser { get { return _parser; } }
 5244
 5245    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5246    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5247    public static pbr::MessageDescriptor Descriptor {
 5248      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[21]; }
 5249    }
 5250
 5251    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5252    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5253    pbr::MessageDescriptor pb::IMessage.Descriptor {
 5254      get { return Descriptor; }
 5255    }
 5256
 5257    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5258    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5259    public Quest() {
 5260      OnConstruction();
 5261    }
 5262
 5263    partial void OnConstruction();
 5264
 5265    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5266    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5267    public Quest(Quest other) : this() {
 5268      id_ = other.id_;
 5269      name_ = other.name_;
 5270      description_ = other.description_;
 5271      definition_ = other.definition_ != null ? other.definition_.Clone() : null;
 5272      creatorAddress_ = other.creatorAddress_;
 5273      imageUrl_ = other.imageUrl_;
 5274      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 5275    }
 5276
 5277    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5278    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5279    public Quest Clone() {
 5280      return new Quest(this);
 5281    }
 5282
 5283    /// <summary>Field number for the "id" field.</summary>
 5284    public const int IdFieldNumber = 1;
 5285    private string id_ = "";
 5286    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5287    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5288    public string Id {
 5289      get { return id_; }
 5290      set {
 5291        id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 5292      }
 5293    }
 5294
 5295    /// <summary>Field number for the "name" field.</summary>
 5296    public const int NameFieldNumber = 2;
 5297    private string name_ = "";
 5298    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5299    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5300    public string Name {
 5301      get { return name_; }
 5302      set {
 5303        name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 5304      }
 5305    }
 5306
 5307    /// <summary>Field number for the "description" field.</summary>
 5308    public const int DescriptionFieldNumber = 3;
 5309    private string description_ = "";
 5310    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5311    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5312    public string Description {
 5313      get { return description_; }
 5314      set {
 5315        description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 5316      }
 5317    }
 5318
 5319    /// <summary>Field number for the "definition" field.</summary>
 5320    public const int DefinitionFieldNumber = 4;
 5321    private global::Decentraland.Quests.QuestDefinition definition_;
 5322    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5323    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5324    public global::Decentraland.Quests.QuestDefinition Definition {
 5325      get { return definition_; }
 5326      set {
 5327        definition_ = value;
 5328      }
 5329    }
 5330
 5331    /// <summary>Field number for the "creator_address" field.</summary>
 5332    public const int CreatorAddressFieldNumber = 5;
 5333    private string creatorAddress_ = "";
 5334    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5335    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5336    public string CreatorAddress {
 5337      get { return creatorAddress_; }
 5338      set {
 5339        creatorAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 5340      }
 5341    }
 5342
 5343    /// <summary>Field number for the "image_url" field.</summary>
 5344    public const int ImageUrlFieldNumber = 6;
 5345    private string imageUrl_ = "";
 5346    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5347    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5348    public string ImageUrl {
 5349      get { return imageUrl_; }
 5350      set {
 5351        imageUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 5352      }
 5353    }
 5354
 5355    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5356    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5357    public override bool Equals(object other) {
 5358      return Equals(other as Quest);
 5359    }
 5360
 5361    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5362    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5363    public bool Equals(Quest other) {
 5364      if (ReferenceEquals(other, null)) {
 5365        return false;
 5366      }
 5367      if (ReferenceEquals(other, this)) {
 5368        return true;
 5369      }
 5370      if (Id != other.Id) return false;
 5371      if (Name != other.Name) return false;
 5372      if (Description != other.Description) return false;
 5373      if (!object.Equals(Definition, other.Definition)) return false;
 5374      if (CreatorAddress != other.CreatorAddress) return false;
 5375      if (ImageUrl != other.ImageUrl) return false;
 5376      return Equals(_unknownFields, other._unknownFields);
 5377    }
 5378
 5379    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5380    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5381    public override int GetHashCode() {
 5382      int hash = 1;
 5383      if (Id.Length != 0) hash ^= Id.GetHashCode();
 5384      if (Name.Length != 0) hash ^= Name.GetHashCode();
 5385      if (Description.Length != 0) hash ^= Description.GetHashCode();
 5386      if (definition_ != null) hash ^= Definition.GetHashCode();
 5387      if (CreatorAddress.Length != 0) hash ^= CreatorAddress.GetHashCode();
 5388      if (ImageUrl.Length != 0) hash ^= ImageUrl.GetHashCode();
 5389      if (_unknownFields != null) {
 5390        hash ^= _unknownFields.GetHashCode();
 5391      }
 5392      return hash;
 5393    }
 5394
 5395    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5396    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5397    public override string ToString() {
 5398      return pb::JsonFormatter.ToDiagnosticString(this);
 5399    }
 5400
 5401    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5402    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5403    public void WriteTo(pb::CodedOutputStream output) {
 5404    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5405      output.WriteRawMessage(this);
 5406    #else
 5407      if (Id.Length != 0) {
 5408        output.WriteRawTag(10);
 5409        output.WriteString(Id);
 5410      }
 5411      if (Name.Length != 0) {
 5412        output.WriteRawTag(18);
 5413        output.WriteString(Name);
 5414      }
 5415      if (Description.Length != 0) {
 5416        output.WriteRawTag(26);
 5417        output.WriteString(Description);
 5418      }
 5419      if (definition_ != null) {
 5420        output.WriteRawTag(34);
 5421        output.WriteMessage(Definition);
 5422      }
 5423      if (CreatorAddress.Length != 0) {
 5424        output.WriteRawTag(42);
 5425        output.WriteString(CreatorAddress);
 5426      }
 5427      if (ImageUrl.Length != 0) {
 5428        output.WriteRawTag(50);
 5429        output.WriteString(ImageUrl);
 5430      }
 5431      if (_unknownFields != null) {
 5432        _unknownFields.WriteTo(output);
 5433      }
 5434    #endif
 5435    }
 5436
 5437    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5438    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5439    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5440    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 5441      if (Id.Length != 0) {
 5442        output.WriteRawTag(10);
 5443        output.WriteString(Id);
 5444      }
 5445      if (Name.Length != 0) {
 5446        output.WriteRawTag(18);
 5447        output.WriteString(Name);
 5448      }
 5449      if (Description.Length != 0) {
 5450        output.WriteRawTag(26);
 5451        output.WriteString(Description);
 5452      }
 5453      if (definition_ != null) {
 5454        output.WriteRawTag(34);
 5455        output.WriteMessage(Definition);
 5456      }
 5457      if (CreatorAddress.Length != 0) {
 5458        output.WriteRawTag(42);
 5459        output.WriteString(CreatorAddress);
 5460      }
 5461      if (ImageUrl.Length != 0) {
 5462        output.WriteRawTag(50);
 5463        output.WriteString(ImageUrl);
 5464      }
 5465      if (_unknownFields != null) {
 5466        _unknownFields.WriteTo(ref output);
 5467      }
 5468    }
 5469    #endif
 5470
 5471    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5472    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5473    public int CalculateSize() {
 5474      int size = 0;
 5475      if (Id.Length != 0) {
 5476        size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
 5477      }
 5478      if (Name.Length != 0) {
 5479        size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
 5480      }
 5481      if (Description.Length != 0) {
 5482        size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
 5483      }
 5484      if (definition_ != null) {
 5485        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Definition);
 5486      }
 5487      if (CreatorAddress.Length != 0) {
 5488        size += 1 + pb::CodedOutputStream.ComputeStringSize(CreatorAddress);
 5489      }
 5490      if (ImageUrl.Length != 0) {
 5491        size += 1 + pb::CodedOutputStream.ComputeStringSize(ImageUrl);
 5492      }
 5493      if (_unknownFields != null) {
 5494        size += _unknownFields.CalculateSize();
 5495      }
 5496      return size;
 5497    }
 5498
 5499    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5500    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5501    public void MergeFrom(Quest other) {
 5502      if (other == null) {
 5503        return;
 5504      }
 5505      if (other.Id.Length != 0) {
 5506        Id = other.Id;
 5507      }
 5508      if (other.Name.Length != 0) {
 5509        Name = other.Name;
 5510      }
 5511      if (other.Description.Length != 0) {
 5512        Description = other.Description;
 5513      }
 5514      if (other.definition_ != null) {
 5515        if (definition_ == null) {
 5516          Definition = new global::Decentraland.Quests.QuestDefinition();
 5517        }
 5518        Definition.MergeFrom(other.Definition);
 5519      }
 5520      if (other.CreatorAddress.Length != 0) {
 5521        CreatorAddress = other.CreatorAddress;
 5522      }
 5523      if (other.ImageUrl.Length != 0) {
 5524        ImageUrl = other.ImageUrl;
 5525      }
 5526      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 5527    }
 5528
 5529    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5530    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5531    public void MergeFrom(pb::CodedInputStream input) {
 5532    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5533      input.ReadRawMessage(this);
 5534    #else
 5535      uint tag;
 5536      while ((tag = input.ReadTag()) != 0) {
 5537        switch(tag) {
 5538          default:
 5539            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 5540            break;
 5541          case 10: {
 5542            Id = input.ReadString();
 5543            break;
 5544          }
 5545          case 18: {
 5546            Name = input.ReadString();
 5547            break;
 5548          }
 5549          case 26: {
 5550            Description = input.ReadString();
 5551            break;
 5552          }
 5553          case 34: {
 5554            if (definition_ == null) {
 5555              Definition = new global::Decentraland.Quests.QuestDefinition();
 5556            }
 5557            input.ReadMessage(Definition);
 5558            break;
 5559          }
 5560          case 42: {
 5561            CreatorAddress = input.ReadString();
 5562            break;
 5563          }
 5564          case 50: {
 5565            ImageUrl = input.ReadString();
 5566            break;
 5567          }
 5568        }
 5569      }
 5570    #endif
 5571    }
 5572
 5573    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5574    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5575    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5576    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 5577      uint tag;
 5578      while ((tag = input.ReadTag()) != 0) {
 5579        switch(tag) {
 5580          default:
 5581            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 5582            break;
 5583          case 10: {
 5584            Id = input.ReadString();
 5585            break;
 5586          }
 5587          case 18: {
 5588            Name = input.ReadString();
 5589            break;
 5590          }
 5591          case 26: {
 5592            Description = input.ReadString();
 5593            break;
 5594          }
 5595          case 34: {
 5596            if (definition_ == null) {
 5597              Definition = new global::Decentraland.Quests.QuestDefinition();
 5598            }
 5599            input.ReadMessage(Definition);
 5600            break;
 5601          }
 5602          case 42: {
 5603            CreatorAddress = input.ReadString();
 5604            break;
 5605          }
 5606          case 50: {
 5607            ImageUrl = input.ReadString();
 5608            break;
 5609          }
 5610        }
 5611      }
 5612    }
 5613    #endif
 5614
 5615  }
 5616
 5617  public sealed partial class QuestInstance : pb::IMessage<QuestInstance>
 5618  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5619      , pb::IBufferMessage
 5620  #endif
 5621  {
 5622    private static readonly pb::MessageParser<QuestInstance> _parser = new pb::MessageParser<QuestInstance>(() => new Qu
 5623    private pb::UnknownFieldSet _unknownFields;
 5624    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5625    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5626    public static pb::MessageParser<QuestInstance> Parser { get { return _parser; } }
 5627
 5628    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5629    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5630    public static pbr::MessageDescriptor Descriptor {
 5631      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[22]; }
 5632    }
 5633
 5634    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5635    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5636    pbr::MessageDescriptor pb::IMessage.Descriptor {
 5637      get { return Descriptor; }
 5638    }
 5639
 5640    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5641    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5642    public QuestInstance() {
 5643      OnConstruction();
 5644    }
 5645
 5646    partial void OnConstruction();
 5647
 5648    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5649    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5650    public QuestInstance(QuestInstance other) : this() {
 5651      id_ = other.id_;
 5652      quest_ = other.quest_ != null ? other.quest_.Clone() : null;
 5653      state_ = other.state_ != null ? other.state_.Clone() : null;
 5654      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 5655    }
 5656
 5657    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5658    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5659    public QuestInstance Clone() {
 5660      return new QuestInstance(this);
 5661    }
 5662
 5663    /// <summary>Field number for the "id" field.</summary>
 5664    public const int IdFieldNumber = 1;
 5665    private string id_ = "";
 5666    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5667    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5668    public string Id {
 5669      get { return id_; }
 5670      set {
 5671        id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 5672      }
 5673    }
 5674
 5675    /// <summary>Field number for the "quest" field.</summary>
 5676    public const int QuestFieldNumber = 2;
 5677    private global::Decentraland.Quests.Quest quest_;
 5678    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5679    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5680    public global::Decentraland.Quests.Quest Quest {
 5681      get { return quest_; }
 5682      set {
 5683        quest_ = value;
 5684      }
 5685    }
 5686
 5687    /// <summary>Field number for the "state" field.</summary>
 5688    public const int StateFieldNumber = 3;
 5689    private global::Decentraland.Quests.QuestState state_;
 5690    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5691    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5692    public global::Decentraland.Quests.QuestState State {
 5693      get { return state_; }
 5694      set {
 5695        state_ = value;
 5696      }
 5697    }
 5698
 5699    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5700    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5701    public override bool Equals(object other) {
 5702      return Equals(other as QuestInstance);
 5703    }
 5704
 5705    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5706    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5707    public bool Equals(QuestInstance other) {
 5708      if (ReferenceEquals(other, null)) {
 5709        return false;
 5710      }
 5711      if (ReferenceEquals(other, this)) {
 5712        return true;
 5713      }
 5714      if (Id != other.Id) return false;
 5715      if (!object.Equals(Quest, other.Quest)) return false;
 5716      if (!object.Equals(State, other.State)) return false;
 5717      return Equals(_unknownFields, other._unknownFields);
 5718    }
 5719
 5720    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5721    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5722    public override int GetHashCode() {
 5723      int hash = 1;
 5724      if (Id.Length != 0) hash ^= Id.GetHashCode();
 5725      if (quest_ != null) hash ^= Quest.GetHashCode();
 5726      if (state_ != null) hash ^= State.GetHashCode();
 5727      if (_unknownFields != null) {
 5728        hash ^= _unknownFields.GetHashCode();
 5729      }
 5730      return hash;
 5731    }
 5732
 5733    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5734    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5735    public override string ToString() {
 5736      return pb::JsonFormatter.ToDiagnosticString(this);
 5737    }
 5738
 5739    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5740    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5741    public void WriteTo(pb::CodedOutputStream output) {
 5742    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5743      output.WriteRawMessage(this);
 5744    #else
 5745      if (Id.Length != 0) {
 5746        output.WriteRawTag(10);
 5747        output.WriteString(Id);
 5748      }
 5749      if (quest_ != null) {
 5750        output.WriteRawTag(18);
 5751        output.WriteMessage(Quest);
 5752      }
 5753      if (state_ != null) {
 5754        output.WriteRawTag(26);
 5755        output.WriteMessage(State);
 5756      }
 5757      if (_unknownFields != null) {
 5758        _unknownFields.WriteTo(output);
 5759      }
 5760    #endif
 5761    }
 5762
 5763    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5764    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5765    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5766    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 5767      if (Id.Length != 0) {
 5768        output.WriteRawTag(10);
 5769        output.WriteString(Id);
 5770      }
 5771      if (quest_ != null) {
 5772        output.WriteRawTag(18);
 5773        output.WriteMessage(Quest);
 5774      }
 5775      if (state_ != null) {
 5776        output.WriteRawTag(26);
 5777        output.WriteMessage(State);
 5778      }
 5779      if (_unknownFields != null) {
 5780        _unknownFields.WriteTo(ref output);
 5781      }
 5782    }
 5783    #endif
 5784
 5785    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5786    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5787    public int CalculateSize() {
 5788      int size = 0;
 5789      if (Id.Length != 0) {
 5790        size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
 5791      }
 5792      if (quest_ != null) {
 5793        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Quest);
 5794      }
 5795      if (state_ != null) {
 5796        size += 1 + pb::CodedOutputStream.ComputeMessageSize(State);
 5797      }
 5798      if (_unknownFields != null) {
 5799        size += _unknownFields.CalculateSize();
 5800      }
 5801      return size;
 5802    }
 5803
 5804    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5805    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5806    public void MergeFrom(QuestInstance other) {
 5807      if (other == null) {
 5808        return;
 5809      }
 5810      if (other.Id.Length != 0) {
 5811        Id = other.Id;
 5812      }
 5813      if (other.quest_ != null) {
 5814        if (quest_ == null) {
 5815          Quest = new global::Decentraland.Quests.Quest();
 5816        }
 5817        Quest.MergeFrom(other.Quest);
 5818      }
 5819      if (other.state_ != null) {
 5820        if (state_ == null) {
 5821          State = new global::Decentraland.Quests.QuestState();
 5822        }
 5823        State.MergeFrom(other.State);
 5824      }
 5825      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 5826    }
 5827
 5828    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5829    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5830    public void MergeFrom(pb::CodedInputStream input) {
 5831    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5832      input.ReadRawMessage(this);
 5833    #else
 5834      uint tag;
 5835      while ((tag = input.ReadTag()) != 0) {
 5836        switch(tag) {
 5837          default:
 5838            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 5839            break;
 5840          case 10: {
 5841            Id = input.ReadString();
 5842            break;
 5843          }
 5844          case 18: {
 5845            if (quest_ == null) {
 5846              Quest = new global::Decentraland.Quests.Quest();
 5847            }
 5848            input.ReadMessage(Quest);
 5849            break;
 5850          }
 5851          case 26: {
 5852            if (state_ == null) {
 5853              State = new global::Decentraland.Quests.QuestState();
 5854            }
 5855            input.ReadMessage(State);
 5856            break;
 5857          }
 5858        }
 5859      }
 5860    #endif
 5861    }
 5862
 5863    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5864    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5865    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5866    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 5867      uint tag;
 5868      while ((tag = input.ReadTag()) != 0) {
 5869        switch(tag) {
 5870          default:
 5871            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 5872            break;
 5873          case 10: {
 5874            Id = input.ReadString();
 5875            break;
 5876          }
 5877          case 18: {
 5878            if (quest_ == null) {
 5879              Quest = new global::Decentraland.Quests.Quest();
 5880            }
 5881            input.ReadMessage(Quest);
 5882            break;
 5883          }
 5884          case 26: {
 5885            if (state_ == null) {
 5886              State = new global::Decentraland.Quests.QuestState();
 5887            }
 5888            input.ReadMessage(State);
 5889            break;
 5890          }
 5891        }
 5892      }
 5893    }
 5894    #endif
 5895
 5896  }
 5897
 5898  public sealed partial class QuestStateUpdate : pb::IMessage<QuestStateUpdate>
 5899  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 5900      , pb::IBufferMessage
 5901  #endif
 5902  {
 5903    private static readonly pb::MessageParser<QuestStateUpdate> _parser = new pb::MessageParser<QuestStateUpdate>(() => 
 5904    private pb::UnknownFieldSet _unknownFields;
 5905    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5906    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5907    public static pb::MessageParser<QuestStateUpdate> Parser { get { return _parser; } }
 5908
 5909    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5910    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5911    public static pbr::MessageDescriptor Descriptor {
 5912      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[23]; }
 5913    }
 5914
 5915    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5916    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5917    pbr::MessageDescriptor pb::IMessage.Descriptor {
 5918      get { return Descriptor; }
 5919    }
 5920
 5921    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5922    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5923    public QuestStateUpdate() {
 5924      OnConstruction();
 5925    }
 5926
 5927    partial void OnConstruction();
 5928
 5929    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5930    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5931    public QuestStateUpdate(QuestStateUpdate other) : this() {
 5932      instanceId_ = other.instanceId_;
 5933      questState_ = other.questState_ != null ? other.questState_.Clone() : null;
 5934      eventId_ = other.eventId_;
 5935      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 5936    }
 5937
 5938    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5939    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5940    public QuestStateUpdate Clone() {
 5941      return new QuestStateUpdate(this);
 5942    }
 5943
 5944    /// <summary>Field number for the "instance_id" field.</summary>
 5945    public const int InstanceIdFieldNumber = 1;
 5946    private string instanceId_ = "";
 5947    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5948    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5949    public string InstanceId {
 5950      get { return instanceId_; }
 5951      set {
 5952        instanceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 5953      }
 5954    }
 5955
 5956    /// <summary>Field number for the "quest_state" field.</summary>
 5957    public const int QuestStateFieldNumber = 2;
 5958    private global::Decentraland.Quests.QuestState questState_;
 5959    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5960    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5961    public global::Decentraland.Quests.QuestState QuestState {
 5962      get { return questState_; }
 5963      set {
 5964        questState_ = value;
 5965      }
 5966    }
 5967
 5968    /// <summary>Field number for the "event_id" field.</summary>
 5969    public const int EventIdFieldNumber = 3;
 5970    private string eventId_ = "";
 5971    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5972    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5973    public string EventId {
 5974      get { return eventId_; }
 5975      set {
 5976        eventId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 5977      }
 5978    }
 5979
 5980    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5981    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5982    public override bool Equals(object other) {
 5983      return Equals(other as QuestStateUpdate);
 5984    }
 5985
 5986    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 5987    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 5988    public bool Equals(QuestStateUpdate other) {
 5989      if (ReferenceEquals(other, null)) {
 5990        return false;
 5991      }
 5992      if (ReferenceEquals(other, this)) {
 5993        return true;
 5994      }
 5995      if (InstanceId != other.InstanceId) return false;
 5996      if (!object.Equals(QuestState, other.QuestState)) return false;
 5997      if (EventId != other.EventId) return false;
 5998      return Equals(_unknownFields, other._unknownFields);
 5999    }
 6000
 6001    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6002    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6003    public override int GetHashCode() {
 6004      int hash = 1;
 6005      if (InstanceId.Length != 0) hash ^= InstanceId.GetHashCode();
 6006      if (questState_ != null) hash ^= QuestState.GetHashCode();
 6007      if (EventId.Length != 0) hash ^= EventId.GetHashCode();
 6008      if (_unknownFields != null) {
 6009        hash ^= _unknownFields.GetHashCode();
 6010      }
 6011      return hash;
 6012    }
 6013
 6014    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6015    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6016    public override string ToString() {
 6017      return pb::JsonFormatter.ToDiagnosticString(this);
 6018    }
 6019
 6020    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6021    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6022    public void WriteTo(pb::CodedOutputStream output) {
 6023    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6024      output.WriteRawMessage(this);
 6025    #else
 6026      if (InstanceId.Length != 0) {
 6027        output.WriteRawTag(10);
 6028        output.WriteString(InstanceId);
 6029      }
 6030      if (questState_ != null) {
 6031        output.WriteRawTag(18);
 6032        output.WriteMessage(QuestState);
 6033      }
 6034      if (EventId.Length != 0) {
 6035        output.WriteRawTag(26);
 6036        output.WriteString(EventId);
 6037      }
 6038      if (_unknownFields != null) {
 6039        _unknownFields.WriteTo(output);
 6040      }
 6041    #endif
 6042    }
 6043
 6044    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6045    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6046    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6047    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 6048      if (InstanceId.Length != 0) {
 6049        output.WriteRawTag(10);
 6050        output.WriteString(InstanceId);
 6051      }
 6052      if (questState_ != null) {
 6053        output.WriteRawTag(18);
 6054        output.WriteMessage(QuestState);
 6055      }
 6056      if (EventId.Length != 0) {
 6057        output.WriteRawTag(26);
 6058        output.WriteString(EventId);
 6059      }
 6060      if (_unknownFields != null) {
 6061        _unknownFields.WriteTo(ref output);
 6062      }
 6063    }
 6064    #endif
 6065
 6066    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6067    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6068    public int CalculateSize() {
 6069      int size = 0;
 6070      if (InstanceId.Length != 0) {
 6071        size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceId);
 6072      }
 6073      if (questState_ != null) {
 6074        size += 1 + pb::CodedOutputStream.ComputeMessageSize(QuestState);
 6075      }
 6076      if (EventId.Length != 0) {
 6077        size += 1 + pb::CodedOutputStream.ComputeStringSize(EventId);
 6078      }
 6079      if (_unknownFields != null) {
 6080        size += _unknownFields.CalculateSize();
 6081      }
 6082      return size;
 6083    }
 6084
 6085    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6086    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6087    public void MergeFrom(QuestStateUpdate other) {
 6088      if (other == null) {
 6089        return;
 6090      }
 6091      if (other.InstanceId.Length != 0) {
 6092        InstanceId = other.InstanceId;
 6093      }
 6094      if (other.questState_ != null) {
 6095        if (questState_ == null) {
 6096          QuestState = new global::Decentraland.Quests.QuestState();
 6097        }
 6098        QuestState.MergeFrom(other.QuestState);
 6099      }
 6100      if (other.EventId.Length != 0) {
 6101        EventId = other.EventId;
 6102      }
 6103      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 6104    }
 6105
 6106    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6107    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6108    public void MergeFrom(pb::CodedInputStream input) {
 6109    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6110      input.ReadRawMessage(this);
 6111    #else
 6112      uint tag;
 6113      while ((tag = input.ReadTag()) != 0) {
 6114        switch(tag) {
 6115          default:
 6116            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 6117            break;
 6118          case 10: {
 6119            InstanceId = input.ReadString();
 6120            break;
 6121          }
 6122          case 18: {
 6123            if (questState_ == null) {
 6124              QuestState = new global::Decentraland.Quests.QuestState();
 6125            }
 6126            input.ReadMessage(QuestState);
 6127            break;
 6128          }
 6129          case 26: {
 6130            EventId = input.ReadString();
 6131            break;
 6132          }
 6133        }
 6134      }
 6135    #endif
 6136    }
 6137
 6138    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6139    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6140    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6141    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 6142      uint tag;
 6143      while ((tag = input.ReadTag()) != 0) {
 6144        switch(tag) {
 6145          default:
 6146            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 6147            break;
 6148          case 10: {
 6149            InstanceId = input.ReadString();
 6150            break;
 6151          }
 6152          case 18: {
 6153            if (questState_ == null) {
 6154              QuestState = new global::Decentraland.Quests.QuestState();
 6155            }
 6156            input.ReadMessage(QuestState);
 6157            break;
 6158          }
 6159          case 26: {
 6160            EventId = input.ReadString();
 6161            break;
 6162          }
 6163        }
 6164      }
 6165    }
 6166    #endif
 6167
 6168  }
 6169
 6170  public sealed partial class UserUpdate : pb::IMessage<UserUpdate>
 6171  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6172      , pb::IBufferMessage
 6173  #endif
 6174  {
 6175    private static readonly pb::MessageParser<UserUpdate> _parser = new pb::MessageParser<UserUpdate>(() => new UserUpda
 6176    private pb::UnknownFieldSet _unknownFields;
 6177    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6178    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6179    public static pb::MessageParser<UserUpdate> Parser { get { return _parser; } }
 6180
 6181    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6182    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6183    public static pbr::MessageDescriptor Descriptor {
 6184      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[24]; }
 6185    }
 6186
 6187    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6188    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6189    pbr::MessageDescriptor pb::IMessage.Descriptor {
 6190      get { return Descriptor; }
 6191    }
 6192
 6193    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6194    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6195    public UserUpdate() {
 6196      OnConstruction();
 6197    }
 6198
 6199    partial void OnConstruction();
 6200
 6201    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6202    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6203    public UserUpdate(UserUpdate other) : this() {
 6204      userAddress_ = other.userAddress_;
 6205      switch (other.MessageCase) {
 6206        case MessageOneofCase.Subscribed:
 6207          Subscribed = other.Subscribed;
 6208          break;
 6209        case MessageOneofCase.QuestStateUpdate:
 6210          QuestStateUpdate = other.QuestStateUpdate.Clone();
 6211          break;
 6212        case MessageOneofCase.NewQuestStarted:
 6213          NewQuestStarted = other.NewQuestStarted.Clone();
 6214          break;
 6215        case MessageOneofCase.EventIgnored:
 6216          EventIgnored = other.EventIgnored;
 6217          break;
 6218      }
 6219
 6220      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 6221    }
 6222
 6223    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6224    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6225    public UserUpdate Clone() {
 6226      return new UserUpdate(this);
 6227    }
 6228
 6229    /// <summary>Field number for the "subscribed" field.</summary>
 6230    public const int SubscribedFieldNumber = 1;
 6231    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6232    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6233    public bool Subscribed {
 6234      get { return messageCase_ == MessageOneofCase.Subscribed ? (bool) message_ : false; }
 6235      set {
 6236        message_ = value;
 6237        messageCase_ = MessageOneofCase.Subscribed;
 6238      }
 6239    }
 6240
 6241    /// <summary>Field number for the "quest_state_update" field.</summary>
 6242    public const int QuestStateUpdateFieldNumber = 2;
 6243    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6244    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6245    public global::Decentraland.Quests.QuestStateUpdate QuestStateUpdate {
 6246      get { return messageCase_ == MessageOneofCase.QuestStateUpdate ? (global::Decentraland.Quests.QuestStateUpdate) me
 6247      set {
 6248        message_ = value;
 6249        messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.QuestStateUpdate;
 6250      }
 6251    }
 6252
 6253    /// <summary>Field number for the "new_quest_started" field.</summary>
 6254    public const int NewQuestStartedFieldNumber = 3;
 6255    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6256    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6257    public global::Decentraland.Quests.QuestInstance NewQuestStarted {
 6258      get { return messageCase_ == MessageOneofCase.NewQuestStarted ? (global::Decentraland.Quests.QuestInstance) messag
 6259      set {
 6260        message_ = value;
 6261        messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.NewQuestStarted;
 6262      }
 6263    }
 6264
 6265    /// <summary>Field number for the "event_ignored" field.</summary>
 6266    public const int EventIgnoredFieldNumber = 4;
 6267    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6268    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6269    public string EventIgnored {
 6270      get { return messageCase_ == MessageOneofCase.EventIgnored ? (string) message_ : ""; }
 6271      set {
 6272        message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 6273        messageCase_ = MessageOneofCase.EventIgnored;
 6274      }
 6275    }
 6276
 6277    /// <summary>Field number for the "user_address" field.</summary>
 6278    public const int UserAddressFieldNumber = 5;
 6279    private string userAddress_ = "";
 6280    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6281    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6282    public string UserAddress {
 6283      get { return userAddress_; }
 6284      set {
 6285        userAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 6286      }
 6287    }
 6288
 6289    private object message_;
 6290    /// <summary>Enum of possible cases for the "message" oneof.</summary>
 6291    public enum MessageOneofCase {
 6292      None = 0,
 6293      Subscribed = 1,
 6294      QuestStateUpdate = 2,
 6295      NewQuestStarted = 3,
 6296      EventIgnored = 4,
 6297    }
 6298    private MessageOneofCase messageCase_ = MessageOneofCase.None;
 6299    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6300    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6301    public MessageOneofCase MessageCase {
 6302      get { return messageCase_; }
 6303    }
 6304
 6305    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6306    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6307    public void ClearMessage() {
 6308      messageCase_ = MessageOneofCase.None;
 6309      message_ = null;
 6310    }
 6311
 6312    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6313    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6314    public override bool Equals(object other) {
 6315      return Equals(other as UserUpdate);
 6316    }
 6317
 6318    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6319    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6320    public bool Equals(UserUpdate other) {
 6321      if (ReferenceEquals(other, null)) {
 6322        return false;
 6323      }
 6324      if (ReferenceEquals(other, this)) {
 6325        return true;
 6326      }
 6327      if (Subscribed != other.Subscribed) return false;
 6328      if (!object.Equals(QuestStateUpdate, other.QuestStateUpdate)) return false;
 6329      if (!object.Equals(NewQuestStarted, other.NewQuestStarted)) return false;
 6330      if (EventIgnored != other.EventIgnored) return false;
 6331      if (UserAddress != other.UserAddress) return false;
 6332      if (MessageCase != other.MessageCase) return false;
 6333      return Equals(_unknownFields, other._unknownFields);
 6334    }
 6335
 6336    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6337    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6338    public override int GetHashCode() {
 6339      int hash = 1;
 6340      if (messageCase_ == MessageOneofCase.Subscribed) hash ^= Subscribed.GetHashCode();
 6341      if (messageCase_ == MessageOneofCase.QuestStateUpdate) hash ^= QuestStateUpdate.GetHashCode();
 6342      if (messageCase_ == MessageOneofCase.NewQuestStarted) hash ^= NewQuestStarted.GetHashCode();
 6343      if (messageCase_ == MessageOneofCase.EventIgnored) hash ^= EventIgnored.GetHashCode();
 6344      if (UserAddress.Length != 0) hash ^= UserAddress.GetHashCode();
 6345      hash ^= (int) messageCase_;
 6346      if (_unknownFields != null) {
 6347        hash ^= _unknownFields.GetHashCode();
 6348      }
 6349      return hash;
 6350    }
 6351
 6352    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6353    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6354    public override string ToString() {
 6355      return pb::JsonFormatter.ToDiagnosticString(this);
 6356    }
 6357
 6358    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6359    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6360    public void WriteTo(pb::CodedOutputStream output) {
 6361    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6362      output.WriteRawMessage(this);
 6363    #else
 6364      if (messageCase_ == MessageOneofCase.Subscribed) {
 6365        output.WriteRawTag(8);
 6366        output.WriteBool(Subscribed);
 6367      }
 6368      if (messageCase_ == MessageOneofCase.QuestStateUpdate) {
 6369        output.WriteRawTag(18);
 6370        output.WriteMessage(QuestStateUpdate);
 6371      }
 6372      if (messageCase_ == MessageOneofCase.NewQuestStarted) {
 6373        output.WriteRawTag(26);
 6374        output.WriteMessage(NewQuestStarted);
 6375      }
 6376      if (messageCase_ == MessageOneofCase.EventIgnored) {
 6377        output.WriteRawTag(34);
 6378        output.WriteString(EventIgnored);
 6379      }
 6380      if (UserAddress.Length != 0) {
 6381        output.WriteRawTag(42);
 6382        output.WriteString(UserAddress);
 6383      }
 6384      if (_unknownFields != null) {
 6385        _unknownFields.WriteTo(output);
 6386      }
 6387    #endif
 6388    }
 6389
 6390    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6391    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6392    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6393    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 6394      if (messageCase_ == MessageOneofCase.Subscribed) {
 6395        output.WriteRawTag(8);
 6396        output.WriteBool(Subscribed);
 6397      }
 6398      if (messageCase_ == MessageOneofCase.QuestStateUpdate) {
 6399        output.WriteRawTag(18);
 6400        output.WriteMessage(QuestStateUpdate);
 6401      }
 6402      if (messageCase_ == MessageOneofCase.NewQuestStarted) {
 6403        output.WriteRawTag(26);
 6404        output.WriteMessage(NewQuestStarted);
 6405      }
 6406      if (messageCase_ == MessageOneofCase.EventIgnored) {
 6407        output.WriteRawTag(34);
 6408        output.WriteString(EventIgnored);
 6409      }
 6410      if (UserAddress.Length != 0) {
 6411        output.WriteRawTag(42);
 6412        output.WriteString(UserAddress);
 6413      }
 6414      if (_unknownFields != null) {
 6415        _unknownFields.WriteTo(ref output);
 6416      }
 6417    }
 6418    #endif
 6419
 6420    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6421    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6422    public int CalculateSize() {
 6423      int size = 0;
 6424      if (messageCase_ == MessageOneofCase.Subscribed) {
 6425        size += 1 + 1;
 6426      }
 6427      if (messageCase_ == MessageOneofCase.QuestStateUpdate) {
 6428        size += 1 + pb::CodedOutputStream.ComputeMessageSize(QuestStateUpdate);
 6429      }
 6430      if (messageCase_ == MessageOneofCase.NewQuestStarted) {
 6431        size += 1 + pb::CodedOutputStream.ComputeMessageSize(NewQuestStarted);
 6432      }
 6433      if (messageCase_ == MessageOneofCase.EventIgnored) {
 6434        size += 1 + pb::CodedOutputStream.ComputeStringSize(EventIgnored);
 6435      }
 6436      if (UserAddress.Length != 0) {
 6437        size += 1 + pb::CodedOutputStream.ComputeStringSize(UserAddress);
 6438      }
 6439      if (_unknownFields != null) {
 6440        size += _unknownFields.CalculateSize();
 6441      }
 6442      return size;
 6443    }
 6444
 6445    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6446    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6447    public void MergeFrom(UserUpdate other) {
 6448      if (other == null) {
 6449        return;
 6450      }
 6451      if (other.UserAddress.Length != 0) {
 6452        UserAddress = other.UserAddress;
 6453      }
 6454      switch (other.MessageCase) {
 6455        case MessageOneofCase.Subscribed:
 6456          Subscribed = other.Subscribed;
 6457          break;
 6458        case MessageOneofCase.QuestStateUpdate:
 6459          if (QuestStateUpdate == null) {
 6460            QuestStateUpdate = new global::Decentraland.Quests.QuestStateUpdate();
 6461          }
 6462          QuestStateUpdate.MergeFrom(other.QuestStateUpdate);
 6463          break;
 6464        case MessageOneofCase.NewQuestStarted:
 6465          if (NewQuestStarted == null) {
 6466            NewQuestStarted = new global::Decentraland.Quests.QuestInstance();
 6467          }
 6468          NewQuestStarted.MergeFrom(other.NewQuestStarted);
 6469          break;
 6470        case MessageOneofCase.EventIgnored:
 6471          EventIgnored = other.EventIgnored;
 6472          break;
 6473      }
 6474
 6475      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 6476    }
 6477
 6478    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6479    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6480    public void MergeFrom(pb::CodedInputStream input) {
 6481    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6482      input.ReadRawMessage(this);
 6483    #else
 6484      uint tag;
 6485      while ((tag = input.ReadTag()) != 0) {
 6486        switch(tag) {
 6487          default:
 6488            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 6489            break;
 6490          case 8: {
 6491            Subscribed = input.ReadBool();
 6492            break;
 6493          }
 6494          case 18: {
 6495            global::Decentraland.Quests.QuestStateUpdate subBuilder = new global::Decentraland.Quests.QuestStateUpdate()
 6496            if (messageCase_ == MessageOneofCase.QuestStateUpdate) {
 6497              subBuilder.MergeFrom(QuestStateUpdate);
 6498            }
 6499            input.ReadMessage(subBuilder);
 6500            QuestStateUpdate = subBuilder;
 6501            break;
 6502          }
 6503          case 26: {
 6504            global::Decentraland.Quests.QuestInstance subBuilder = new global::Decentraland.Quests.QuestInstance();
 6505            if (messageCase_ == MessageOneofCase.NewQuestStarted) {
 6506              subBuilder.MergeFrom(NewQuestStarted);
 6507            }
 6508            input.ReadMessage(subBuilder);
 6509            NewQuestStarted = subBuilder;
 6510            break;
 6511          }
 6512          case 34: {
 6513            EventIgnored = input.ReadString();
 6514            break;
 6515          }
 6516          case 42: {
 6517            UserAddress = input.ReadString();
 6518            break;
 6519          }
 6520        }
 6521      }
 6522    #endif
 6523    }
 6524
 6525    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6526    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6527    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6528    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 6529      uint tag;
 6530      while ((tag = input.ReadTag()) != 0) {
 6531        switch(tag) {
 6532          default:
 6533            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 6534            break;
 6535          case 8: {
 6536            Subscribed = input.ReadBool();
 6537            break;
 6538          }
 6539          case 18: {
 6540            global::Decentraland.Quests.QuestStateUpdate subBuilder = new global::Decentraland.Quests.QuestStateUpdate()
 6541            if (messageCase_ == MessageOneofCase.QuestStateUpdate) {
 6542              subBuilder.MergeFrom(QuestStateUpdate);
 6543            }
 6544            input.ReadMessage(subBuilder);
 6545            QuestStateUpdate = subBuilder;
 6546            break;
 6547          }
 6548          case 26: {
 6549            global::Decentraland.Quests.QuestInstance subBuilder = new global::Decentraland.Quests.QuestInstance();
 6550            if (messageCase_ == MessageOneofCase.NewQuestStarted) {
 6551              subBuilder.MergeFrom(NewQuestStarted);
 6552            }
 6553            input.ReadMessage(subBuilder);
 6554            NewQuestStarted = subBuilder;
 6555            break;
 6556          }
 6557          case 34: {
 6558            EventIgnored = input.ReadString();
 6559            break;
 6560          }
 6561          case 42: {
 6562            UserAddress = input.ReadString();
 6563            break;
 6564          }
 6565        }
 6566      }
 6567    }
 6568    #endif
 6569
 6570  }
 6571
 6572  public sealed partial class Quests : pb::IMessage<Quests>
 6573  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6574      , pb::IBufferMessage
 6575  #endif
 6576  {
 6577    private static readonly pb::MessageParser<Quests> _parser = new pb::MessageParser<Quests>(() => new Quests());
 6578    private pb::UnknownFieldSet _unknownFields;
 6579    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6580    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6581    public static pb::MessageParser<Quests> Parser { get { return _parser; } }
 6582
 6583    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6584    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6585    public static pbr::MessageDescriptor Descriptor {
 6586      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[25]; }
 6587    }
 6588
 6589    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6590    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6591    pbr::MessageDescriptor pb::IMessage.Descriptor {
 6592      get { return Descriptor; }
 6593    }
 6594
 6595    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6596    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6597    public Quests() {
 6598      OnConstruction();
 6599    }
 6600
 6601    partial void OnConstruction();
 6602
 6603    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6604    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6605    public Quests(Quests other) : this() {
 6606      instances_ = other.instances_.Clone();
 6607      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 6608    }
 6609
 6610    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6611    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6612    public Quests Clone() {
 6613      return new Quests(this);
 6614    }
 6615
 6616    /// <summary>Field number for the "instances" field.</summary>
 6617    public const int InstancesFieldNumber = 1;
 6618    private static readonly pb::FieldCodec<global::Decentraland.Quests.QuestInstance> _repeated_instances_codec
 6619        = pb::FieldCodec.ForMessage(10, global::Decentraland.Quests.QuestInstance.Parser);
 6620    private readonly pbc::RepeatedField<global::Decentraland.Quests.QuestInstance> instances_ = new pbc::RepeatedField<g
 6621    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6622    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6623    public pbc::RepeatedField<global::Decentraland.Quests.QuestInstance> Instances {
 6624      get { return instances_; }
 6625    }
 6626
 6627    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6628    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6629    public override bool Equals(object other) {
 6630      return Equals(other as Quests);
 6631    }
 6632
 6633    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6634    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6635    public bool Equals(Quests other) {
 6636      if (ReferenceEquals(other, null)) {
 6637        return false;
 6638      }
 6639      if (ReferenceEquals(other, this)) {
 6640        return true;
 6641      }
 6642      if(!instances_.Equals(other.instances_)) return false;
 6643      return Equals(_unknownFields, other._unknownFields);
 6644    }
 6645
 6646    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6647    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6648    public override int GetHashCode() {
 6649      int hash = 1;
 6650      hash ^= instances_.GetHashCode();
 6651      if (_unknownFields != null) {
 6652        hash ^= _unknownFields.GetHashCode();
 6653      }
 6654      return hash;
 6655    }
 6656
 6657    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6658    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6659    public override string ToString() {
 6660      return pb::JsonFormatter.ToDiagnosticString(this);
 6661    }
 6662
 6663    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6664    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6665    public void WriteTo(pb::CodedOutputStream output) {
 6666    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6667      output.WriteRawMessage(this);
 6668    #else
 6669      instances_.WriteTo(output, _repeated_instances_codec);
 6670      if (_unknownFields != null) {
 6671        _unknownFields.WriteTo(output);
 6672      }
 6673    #endif
 6674    }
 6675
 6676    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6677    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6678    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6679    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 6680      instances_.WriteTo(ref output, _repeated_instances_codec);
 6681      if (_unknownFields != null) {
 6682        _unknownFields.WriteTo(ref output);
 6683      }
 6684    }
 6685    #endif
 6686
 6687    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6688    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6689    public int CalculateSize() {
 6690      int size = 0;
 6691      size += instances_.CalculateSize(_repeated_instances_codec);
 6692      if (_unknownFields != null) {
 6693        size += _unknownFields.CalculateSize();
 6694      }
 6695      return size;
 6696    }
 6697
 6698    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6699    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6700    public void MergeFrom(Quests other) {
 6701      if (other == null) {
 6702        return;
 6703      }
 6704      instances_.Add(other.instances_);
 6705      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 6706    }
 6707
 6708    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6709    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6710    public void MergeFrom(pb::CodedInputStream input) {
 6711    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6712      input.ReadRawMessage(this);
 6713    #else
 6714      uint tag;
 6715      while ((tag = input.ReadTag()) != 0) {
 6716        switch(tag) {
 6717          default:
 6718            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 6719            break;
 6720          case 10: {
 6721            instances_.AddEntriesFrom(input, _repeated_instances_codec);
 6722            break;
 6723          }
 6724        }
 6725      }
 6726    #endif
 6727    }
 6728
 6729    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6730    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6731    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6732    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 6733      uint tag;
 6734      while ((tag = input.ReadTag()) != 0) {
 6735        switch(tag) {
 6736          default:
 6737            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 6738            break;
 6739          case 10: {
 6740            instances_.AddEntriesFrom(ref input, _repeated_instances_codec);
 6741            break;
 6742          }
 6743        }
 6744      }
 6745    }
 6746    #endif
 6747
 6748  }
 6749
 6750  public sealed partial class GetAllQuestsResponse : pb::IMessage<GetAllQuestsResponse>
 6751  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6752      , pb::IBufferMessage
 6753  #endif
 6754  {
 6755    private static readonly pb::MessageParser<GetAllQuestsResponse> _parser = new pb::MessageParser<GetAllQuestsResponse
 6756    private pb::UnknownFieldSet _unknownFields;
 6757    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6758    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6759    public static pb::MessageParser<GetAllQuestsResponse> Parser { get { return _parser; } }
 6760
 6761    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6762    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6763    public static pbr::MessageDescriptor Descriptor {
 6764      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[26]; }
 6765    }
 6766
 6767    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6768    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6769    pbr::MessageDescriptor pb::IMessage.Descriptor {
 6770      get { return Descriptor; }
 6771    }
 6772
 6773    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6774    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6775    public GetAllQuestsResponse() {
 6776      OnConstruction();
 6777    }
 6778
 6779    partial void OnConstruction();
 6780
 6781    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6782    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6783    public GetAllQuestsResponse(GetAllQuestsResponse other) : this() {
 6784      switch (other.ResponseCase) {
 6785        case ResponseOneofCase.Quests:
 6786          Quests = other.Quests.Clone();
 6787          break;
 6788        case ResponseOneofCase.InternalServerError:
 6789          InternalServerError = other.InternalServerError.Clone();
 6790          break;
 6791      }
 6792
 6793      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 6794    }
 6795
 6796    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6797    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6798    public GetAllQuestsResponse Clone() {
 6799      return new GetAllQuestsResponse(this);
 6800    }
 6801
 6802    /// <summary>Field number for the "quests" field.</summary>
 6803    public const int QuestsFieldNumber = 1;
 6804    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6805    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6806    public global::Decentraland.Quests.Quests Quests {
 6807      get { return responseCase_ == ResponseOneofCase.Quests ? (global::Decentraland.Quests.Quests) response_ : null; }
 6808      set {
 6809        response_ = value;
 6810        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.Quests;
 6811      }
 6812    }
 6813
 6814    /// <summary>Field number for the "internal_server_error" field.</summary>
 6815    public const int InternalServerErrorFieldNumber = 2;
 6816    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6817    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6818    public global::Decentraland.Quests.InternalServerError InternalServerError {
 6819      get { return responseCase_ == ResponseOneofCase.InternalServerError ? (global::Decentraland.Quests.InternalServerE
 6820      set {
 6821        response_ = value;
 6822        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.InternalServerError;
 6823      }
 6824    }
 6825
 6826    private object response_;
 6827    /// <summary>Enum of possible cases for the "response" oneof.</summary>
 6828    public enum ResponseOneofCase {
 6829      None = 0,
 6830      Quests = 1,
 6831      InternalServerError = 2,
 6832    }
 6833    private ResponseOneofCase responseCase_ = ResponseOneofCase.None;
 6834    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6835    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6836    public ResponseOneofCase ResponseCase {
 6837      get { return responseCase_; }
 6838    }
 6839
 6840    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6841    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6842    public void ClearResponse() {
 6843      responseCase_ = ResponseOneofCase.None;
 6844      response_ = null;
 6845    }
 6846
 6847    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6848    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6849    public override bool Equals(object other) {
 6850      return Equals(other as GetAllQuestsResponse);
 6851    }
 6852
 6853    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6854    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6855    public bool Equals(GetAllQuestsResponse other) {
 6856      if (ReferenceEquals(other, null)) {
 6857        return false;
 6858      }
 6859      if (ReferenceEquals(other, this)) {
 6860        return true;
 6861      }
 6862      if (!object.Equals(Quests, other.Quests)) return false;
 6863      if (!object.Equals(InternalServerError, other.InternalServerError)) return false;
 6864      if (ResponseCase != other.ResponseCase) return false;
 6865      return Equals(_unknownFields, other._unknownFields);
 6866    }
 6867
 6868    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6869    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6870    public override int GetHashCode() {
 6871      int hash = 1;
 6872      if (responseCase_ == ResponseOneofCase.Quests) hash ^= Quests.GetHashCode();
 6873      if (responseCase_ == ResponseOneofCase.InternalServerError) hash ^= InternalServerError.GetHashCode();
 6874      hash ^= (int) responseCase_;
 6875      if (_unknownFields != null) {
 6876        hash ^= _unknownFields.GetHashCode();
 6877      }
 6878      return hash;
 6879    }
 6880
 6881    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6882    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6883    public override string ToString() {
 6884      return pb::JsonFormatter.ToDiagnosticString(this);
 6885    }
 6886
 6887    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6888    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6889    public void WriteTo(pb::CodedOutputStream output) {
 6890    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6891      output.WriteRawMessage(this);
 6892    #else
 6893      if (responseCase_ == ResponseOneofCase.Quests) {
 6894        output.WriteRawTag(10);
 6895        output.WriteMessage(Quests);
 6896      }
 6897      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 6898        output.WriteRawTag(18);
 6899        output.WriteMessage(InternalServerError);
 6900      }
 6901      if (_unknownFields != null) {
 6902        _unknownFields.WriteTo(output);
 6903      }
 6904    #endif
 6905    }
 6906
 6907    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6908    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6909    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6910    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 6911      if (responseCase_ == ResponseOneofCase.Quests) {
 6912        output.WriteRawTag(10);
 6913        output.WriteMessage(Quests);
 6914      }
 6915      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 6916        output.WriteRawTag(18);
 6917        output.WriteMessage(InternalServerError);
 6918      }
 6919      if (_unknownFields != null) {
 6920        _unknownFields.WriteTo(ref output);
 6921      }
 6922    }
 6923    #endif
 6924
 6925    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6926    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6927    public int CalculateSize() {
 6928      int size = 0;
 6929      if (responseCase_ == ResponseOneofCase.Quests) {
 6930        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Quests);
 6931      }
 6932      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 6933        size += 1 + pb::CodedOutputStream.ComputeMessageSize(InternalServerError);
 6934      }
 6935      if (_unknownFields != null) {
 6936        size += _unknownFields.CalculateSize();
 6937      }
 6938      return size;
 6939    }
 6940
 6941    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6942    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6943    public void MergeFrom(GetAllQuestsResponse other) {
 6944      if (other == null) {
 6945        return;
 6946      }
 6947      switch (other.ResponseCase) {
 6948        case ResponseOneofCase.Quests:
 6949          if (Quests == null) {
 6950            Quests = new global::Decentraland.Quests.Quests();
 6951          }
 6952          Quests.MergeFrom(other.Quests);
 6953          break;
 6954        case ResponseOneofCase.InternalServerError:
 6955          if (InternalServerError == null) {
 6956            InternalServerError = new global::Decentraland.Quests.InternalServerError();
 6957          }
 6958          InternalServerError.MergeFrom(other.InternalServerError);
 6959          break;
 6960      }
 6961
 6962      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 6963    }
 6964
 6965    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 6966    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6967    public void MergeFrom(pb::CodedInputStream input) {
 6968    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 6969      input.ReadRawMessage(this);
 6970    #else
 6971      uint tag;
 6972      while ((tag = input.ReadTag()) != 0) {
 6973        switch(tag) {
 6974          default:
 6975            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 6976            break;
 6977          case 10: {
 6978            global::Decentraland.Quests.Quests subBuilder = new global::Decentraland.Quests.Quests();
 6979            if (responseCase_ == ResponseOneofCase.Quests) {
 6980              subBuilder.MergeFrom(Quests);
 6981            }
 6982            input.ReadMessage(subBuilder);
 6983            Quests = subBuilder;
 6984            break;
 6985          }
 6986          case 18: {
 6987            global::Decentraland.Quests.InternalServerError subBuilder = new global::Decentraland.Quests.InternalServerE
 6988            if (responseCase_ == ResponseOneofCase.InternalServerError) {
 6989              subBuilder.MergeFrom(InternalServerError);
 6990            }
 6991            input.ReadMessage(subBuilder);
 6992            InternalServerError = subBuilder;
 6993            break;
 6994          }
 6995        }
 6996      }
 6997    #endif
 6998    }
 6999
 7000    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 7001    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7002    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7003    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 7004      uint tag;
 7005      while ((tag = input.ReadTag()) != 0) {
 7006        switch(tag) {
 7007          default:
 7008            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 7009            break;
 7010          case 10: {
 7011            global::Decentraland.Quests.Quests subBuilder = new global::Decentraland.Quests.Quests();
 7012            if (responseCase_ == ResponseOneofCase.Quests) {
 7013              subBuilder.MergeFrom(Quests);
 7014            }
 7015            input.ReadMessage(subBuilder);
 7016            Quests = subBuilder;
 7017            break;
 7018          }
 7019          case 18: {
 7020            global::Decentraland.Quests.InternalServerError subBuilder = new global::Decentraland.Quests.InternalServerE
 7021            if (responseCase_ == ResponseOneofCase.InternalServerError) {
 7022              subBuilder.MergeFrom(InternalServerError);
 7023            }
 7024            input.ReadMessage(subBuilder);
 7025            InternalServerError = subBuilder;
 7026            break;
 7027          }
 7028        }
 7029      }
 7030    }
 7031    #endif
 7032
 7033  }
 7034
 7035  public sealed partial class GetQuestDefinitionRequest : pb::IMessage<GetQuestDefinitionRequest>
 7036  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 7037      , pb::IBufferMessage
 7038  #endif
 7039  {
 7040    private static readonly pb::MessageParser<GetQuestDefinitionRequest> _parser = new pb::MessageParser<GetQuestDefinit
 7041    private pb::UnknownFieldSet _unknownFields;
 7042    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7043    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7044    public static pb::MessageParser<GetQuestDefinitionRequest> Parser { get { return _parser; } }
 7045
 7046    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7047    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7048    public static pbr::MessageDescriptor Descriptor {
 7049      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[27]; }
 7050    }
 7051
 7052    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7053    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7054    pbr::MessageDescriptor pb::IMessage.Descriptor {
 7055      get { return Descriptor; }
 7056    }
 7057
 7058    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7059    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7060    public GetQuestDefinitionRequest() {
 7061      OnConstruction();
 7062    }
 7063
 7064    partial void OnConstruction();
 7065
 7066    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7067    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7068    public GetQuestDefinitionRequest(GetQuestDefinitionRequest other) : this() {
 7069      questId_ = other.questId_;
 7070      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 7071    }
 7072
 7073    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7074    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7075    public GetQuestDefinitionRequest Clone() {
 7076      return new GetQuestDefinitionRequest(this);
 7077    }
 7078
 7079    /// <summary>Field number for the "quest_id" field.</summary>
 7080    public const int QuestIdFieldNumber = 1;
 7081    private string questId_ = "";
 7082    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7083    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7084    public string QuestId {
 7085      get { return questId_; }
 7086      set {
 7087        questId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 7088      }
 7089    }
 7090
 7091    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7092    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7093    public override bool Equals(object other) {
 7094      return Equals(other as GetQuestDefinitionRequest);
 7095    }
 7096
 7097    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7098    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7099    public bool Equals(GetQuestDefinitionRequest other) {
 7100      if (ReferenceEquals(other, null)) {
 7101        return false;
 7102      }
 7103      if (ReferenceEquals(other, this)) {
 7104        return true;
 7105      }
 7106      if (QuestId != other.QuestId) return false;
 7107      return Equals(_unknownFields, other._unknownFields);
 7108    }
 7109
 7110    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7111    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7112    public override int GetHashCode() {
 7113      int hash = 1;
 7114      if (QuestId.Length != 0) hash ^= QuestId.GetHashCode();
 7115      if (_unknownFields != null) {
 7116        hash ^= _unknownFields.GetHashCode();
 7117      }
 7118      return hash;
 7119    }
 7120
 7121    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7122    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7123    public override string ToString() {
 7124      return pb::JsonFormatter.ToDiagnosticString(this);
 7125    }
 7126
 7127    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7128    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7129    public void WriteTo(pb::CodedOutputStream output) {
 7130    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 7131      output.WriteRawMessage(this);
 7132    #else
 7133      if (QuestId.Length != 0) {
 7134        output.WriteRawTag(10);
 7135        output.WriteString(QuestId);
 7136      }
 7137      if (_unknownFields != null) {
 7138        _unknownFields.WriteTo(output);
 7139      }
 7140    #endif
 7141    }
 7142
 7143    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 7144    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7145    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7146    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 7147      if (QuestId.Length != 0) {
 7148        output.WriteRawTag(10);
 7149        output.WriteString(QuestId);
 7150      }
 7151      if (_unknownFields != null) {
 7152        _unknownFields.WriteTo(ref output);
 7153      }
 7154    }
 7155    #endif
 7156
 7157    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7158    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7159    public int CalculateSize() {
 7160      int size = 0;
 7161      if (QuestId.Length != 0) {
 7162        size += 1 + pb::CodedOutputStream.ComputeStringSize(QuestId);
 7163      }
 7164      if (_unknownFields != null) {
 7165        size += _unknownFields.CalculateSize();
 7166      }
 7167      return size;
 7168    }
 7169
 7170    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7171    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7172    public void MergeFrom(GetQuestDefinitionRequest other) {
 7173      if (other == null) {
 7174        return;
 7175      }
 7176      if (other.QuestId.Length != 0) {
 7177        QuestId = other.QuestId;
 7178      }
 7179      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 7180    }
 7181
 7182    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7183    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7184    public void MergeFrom(pb::CodedInputStream input) {
 7185    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 7186      input.ReadRawMessage(this);
 7187    #else
 7188      uint tag;
 7189      while ((tag = input.ReadTag()) != 0) {
 7190        switch(tag) {
 7191          default:
 7192            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 7193            break;
 7194          case 10: {
 7195            QuestId = input.ReadString();
 7196            break;
 7197          }
 7198        }
 7199      }
 7200    #endif
 7201    }
 7202
 7203    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 7204    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7205    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7206    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 7207      uint tag;
 7208      while ((tag = input.ReadTag()) != 0) {
 7209        switch(tag) {
 7210          default:
 7211            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 7212            break;
 7213          case 10: {
 7214            QuestId = input.ReadString();
 7215            break;
 7216          }
 7217        }
 7218      }
 7219    }
 7220    #endif
 7221
 7222  }
 7223
 7224  public sealed partial class GetQuestDefinitionResponse : pb::IMessage<GetQuestDefinitionResponse>
 7225  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 7226      , pb::IBufferMessage
 7227  #endif
 7228  {
 7229    private static readonly pb::MessageParser<GetQuestDefinitionResponse> _parser = new pb::MessageParser<GetQuestDefini
 7230    private pb::UnknownFieldSet _unknownFields;
 7231    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7232    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7233    public static pb::MessageParser<GetQuestDefinitionResponse> Parser { get { return _parser; } }
 7234
 7235    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7236    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7237    public static pbr::MessageDescriptor Descriptor {
 7238      get { return global::Decentraland.Quests.QuestsReflection.Descriptor.MessageTypes[28]; }
 7239    }
 7240
 7241    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7242    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7243    pbr::MessageDescriptor pb::IMessage.Descriptor {
 7244      get { return Descriptor; }
 7245    }
 7246
 7247    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7248    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7249    public GetQuestDefinitionResponse() {
 7250      OnConstruction();
 7251    }
 7252
 7253    partial void OnConstruction();
 7254
 7255    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7256    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7257    public GetQuestDefinitionResponse(GetQuestDefinitionResponse other) : this() {
 7258      switch (other.ResponseCase) {
 7259        case ResponseOneofCase.Quest:
 7260          Quest = other.Quest.Clone();
 7261          break;
 7262        case ResponseOneofCase.InternalServerError:
 7263          InternalServerError = other.InternalServerError.Clone();
 7264          break;
 7265      }
 7266
 7267      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 7268    }
 7269
 7270    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7271    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7272    public GetQuestDefinitionResponse Clone() {
 7273      return new GetQuestDefinitionResponse(this);
 7274    }
 7275
 7276    /// <summary>Field number for the "quest" field.</summary>
 7277    public const int QuestFieldNumber = 1;
 7278    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7279    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7280    public global::Decentraland.Quests.Quest Quest {
 7281      get { return responseCase_ == ResponseOneofCase.Quest ? (global::Decentraland.Quests.Quest) response_ : null; }
 7282      set {
 7283        response_ = value;
 7284        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.Quest;
 7285      }
 7286    }
 7287
 7288    /// <summary>Field number for the "internal_server_error" field.</summary>
 7289    public const int InternalServerErrorFieldNumber = 2;
 7290    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7291    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7292    public global::Decentraland.Quests.InternalServerError InternalServerError {
 7293      get { return responseCase_ == ResponseOneofCase.InternalServerError ? (global::Decentraland.Quests.InternalServerE
 7294      set {
 7295        response_ = value;
 7296        responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.InternalServerError;
 7297      }
 7298    }
 7299
 7300    private object response_;
 7301    /// <summary>Enum of possible cases for the "response" oneof.</summary>
 7302    public enum ResponseOneofCase {
 7303      None = 0,
 7304      Quest = 1,
 7305      InternalServerError = 2,
 7306    }
 7307    private ResponseOneofCase responseCase_ = ResponseOneofCase.None;
 7308    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7309    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7310    public ResponseOneofCase ResponseCase {
 7311      get { return responseCase_; }
 7312    }
 7313
 7314    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7315    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7316    public void ClearResponse() {
 7317      responseCase_ = ResponseOneofCase.None;
 7318      response_ = null;
 7319    }
 7320
 7321    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7322    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7323    public override bool Equals(object other) {
 7324      return Equals(other as GetQuestDefinitionResponse);
 7325    }
 7326
 7327    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7328    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7329    public bool Equals(GetQuestDefinitionResponse other) {
 7330      if (ReferenceEquals(other, null)) {
 7331        return false;
 7332      }
 7333      if (ReferenceEquals(other, this)) {
 7334        return true;
 7335      }
 7336      if (!object.Equals(Quest, other.Quest)) return false;
 7337      if (!object.Equals(InternalServerError, other.InternalServerError)) return false;
 7338      if (ResponseCase != other.ResponseCase) return false;
 7339      return Equals(_unknownFields, other._unknownFields);
 7340    }
 7341
 7342    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7343    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7344    public override int GetHashCode() {
 7345      int hash = 1;
 7346      if (responseCase_ == ResponseOneofCase.Quest) hash ^= Quest.GetHashCode();
 7347      if (responseCase_ == ResponseOneofCase.InternalServerError) hash ^= InternalServerError.GetHashCode();
 7348      hash ^= (int) responseCase_;
 7349      if (_unknownFields != null) {
 7350        hash ^= _unknownFields.GetHashCode();
 7351      }
 7352      return hash;
 7353    }
 7354
 7355    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7356    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7357    public override string ToString() {
 7358      return pb::JsonFormatter.ToDiagnosticString(this);
 7359    }
 7360
 7361    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7362    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7363    public void WriteTo(pb::CodedOutputStream output) {
 7364    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 7365      output.WriteRawMessage(this);
 7366    #else
 7367      if (responseCase_ == ResponseOneofCase.Quest) {
 7368        output.WriteRawTag(10);
 7369        output.WriteMessage(Quest);
 7370      }
 7371      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 7372        output.WriteRawTag(18);
 7373        output.WriteMessage(InternalServerError);
 7374      }
 7375      if (_unknownFields != null) {
 7376        _unknownFields.WriteTo(output);
 7377      }
 7378    #endif
 7379    }
 7380
 7381    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 7382    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7383    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7384    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 7385      if (responseCase_ == ResponseOneofCase.Quest) {
 7386        output.WriteRawTag(10);
 7387        output.WriteMessage(Quest);
 7388      }
 7389      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 7390        output.WriteRawTag(18);
 7391        output.WriteMessage(InternalServerError);
 7392      }
 7393      if (_unknownFields != null) {
 7394        _unknownFields.WriteTo(ref output);
 7395      }
 7396    }
 7397    #endif
 7398
 7399    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7400    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7401    public int CalculateSize() {
 7402      int size = 0;
 7403      if (responseCase_ == ResponseOneofCase.Quest) {
 7404        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Quest);
 7405      }
 7406      if (responseCase_ == ResponseOneofCase.InternalServerError) {
 7407        size += 1 + pb::CodedOutputStream.ComputeMessageSize(InternalServerError);
 7408      }
 7409      if (_unknownFields != null) {
 7410        size += _unknownFields.CalculateSize();
 7411      }
 7412      return size;
 7413    }
 7414
 7415    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7416    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7417    public void MergeFrom(GetQuestDefinitionResponse other) {
 7418      if (other == null) {
 7419        return;
 7420      }
 7421      switch (other.ResponseCase) {
 7422        case ResponseOneofCase.Quest:
 7423          if (Quest == null) {
 7424            Quest = new global::Decentraland.Quests.Quest();
 7425          }
 7426          Quest.MergeFrom(other.Quest);
 7427          break;
 7428        case ResponseOneofCase.InternalServerError:
 7429          if (InternalServerError == null) {
 7430            InternalServerError = new global::Decentraland.Quests.InternalServerError();
 7431          }
 7432          InternalServerError.MergeFrom(other.InternalServerError);
 7433          break;
 7434      }
 7435
 7436      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 7437    }
 7438
 7439    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7440    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7441    public void MergeFrom(pb::CodedInputStream input) {
 7442    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 7443      input.ReadRawMessage(this);
 7444    #else
 7445      uint tag;
 7446      while ((tag = input.ReadTag()) != 0) {
 7447        switch(tag) {
 7448          default:
 7449            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 7450            break;
 7451          case 10: {
 7452            global::Decentraland.Quests.Quest subBuilder = new global::Decentraland.Quests.Quest();
 7453            if (responseCase_ == ResponseOneofCase.Quest) {
 7454              subBuilder.MergeFrom(Quest);
 7455            }
 7456            input.ReadMessage(subBuilder);
 7457            Quest = subBuilder;
 7458            break;
 7459          }
 7460          case 18: {
 7461            global::Decentraland.Quests.InternalServerError subBuilder = new global::Decentraland.Quests.InternalServerE
 7462            if (responseCase_ == ResponseOneofCase.InternalServerError) {
 7463              subBuilder.MergeFrom(InternalServerError);
 7464            }
 7465            input.ReadMessage(subBuilder);
 7466            InternalServerError = subBuilder;
 7467            break;
 7468          }
 7469        }
 7470      }
 7471    #endif
 7472    }
 7473
 7474    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 7475    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 7476    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 7477    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 7478      uint tag;
 7479      while ((tag = input.ReadTag()) != 0) {
 7480        switch(tag) {
 7481          default:
 7482            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 7483            break;
 7484          case 10: {
 7485            global::Decentraland.Quests.Quest subBuilder = new global::Decentraland.Quests.Quest();
 7486            if (responseCase_ == ResponseOneofCase.Quest) {
 7487              subBuilder.MergeFrom(Quest);
 7488            }
 7489            input.ReadMessage(subBuilder);
 7490            Quest = subBuilder;
 7491            break;
 7492          }
 7493          case 18: {
 7494            global::Decentraland.Quests.InternalServerError subBuilder = new global::Decentraland.Quests.InternalServerE
 7495            if (responseCase_ == ResponseOneofCase.InternalServerError) {
 7496              subBuilder.MergeFrom(InternalServerError);
 7497            }
 7498            input.ReadMessage(subBuilder);
 7499            InternalServerError = subBuilder;
 7500            break;
 7501          }
 7502        }
 7503      }
 7504    }
 7505    #endif
 7506
 7507  }
 7508
 7509  #endregion
 7510
 7511}
 7512
 7513#endregion Designer generated code

Methods/Properties

Descriptor()
QuestsReflection()