< Summary

Class:Decentraland.Bff.CommsServiceReflection
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/CommsService.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:441
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

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

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/bff/comms_service.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.Bff {
 13
 14  /// <summary>Holder for reflection information generated from decentraland/bff/comms_service.proto</summary>
 15  public static partial class CommsServiceReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/bff/comms_service.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static CommsServiceReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CiRkZWNlbnRyYWxhbmQvYmZmL2NvbW1zX3NlcnZpY2UucHJvdG8SEGRlY2Vu",
 28            "dHJhbGFuZC5iZmYaJWRlY2VudHJhbGFuZC9iZmYvdG9waWNzX3NlcnZpY2Uu",
 29            "cHJvdG8iJwoMU3Vic2NyaXB0aW9uEhcKD3N1YnNjcmlwdGlvbl9pZBgBIAEo",
 30            "DSIiChRVbnN1YnNjcmlwdGlvblJlc3VsdBIKCgJvaxgBIAEoCDLlBQoMQ29t",
 31            "bXNTZXJ2aWNlEmIKF1N1YnNjcmliZVRvUGVlck1lc3NhZ2VzEiUuZGVjZW50",
 32            "cmFsYW5kLmJmZi5TdWJzY3JpcHRpb25SZXF1ZXN0Gh4uZGVjZW50cmFsYW5k",
 33            "LmJmZi5TdWJzY3JpcHRpb24iABJoCg9HZXRQZWVyTWVzc2FnZXMSHi5kZWNl",
 34            "bnRyYWxhbmQuYmZmLlN1YnNjcmlwdGlvbhoxLmRlY2VudHJhbGFuZC5iZmYu",
 35            "UGVlclRvcGljU3Vic2NyaXB0aW9uUmVzdWx0RWxlbSIAMAESZQoZVW5zdWJz",
 36            "Y3JpYmVUb1BlZXJNZXNzYWdlcxIeLmRlY2VudHJhbGFuZC5iZmYuU3Vic2Ny",
 37            "aXB0aW9uGiYuZGVjZW50cmFsYW5kLmJmZi5VbnN1YnNjcmlwdGlvblJlc3Vs",
 38            "dCIAEmQKGVN1YnNjcmliZVRvU3lzdGVtTWVzc2FnZXMSJS5kZWNlbnRyYWxh",
 39            "bmQuYmZmLlN1YnNjcmlwdGlvblJlcXVlc3QaHi5kZWNlbnRyYWxhbmQuYmZm",
 40            "LlN1YnNjcmlwdGlvbiIAEmwKEUdldFN5c3RlbU1lc3NhZ2VzEh4uZGVjZW50",
 41            "cmFsYW5kLmJmZi5TdWJzY3JpcHRpb24aMy5kZWNlbnRyYWxhbmQuYmZmLlN5",
 42            "c3RlbVRvcGljU3Vic2NyaXB0aW9uUmVzdWx0RWxlbSIAMAESZwobVW5zdWJz",
 43            "Y3JpYmVUb1N5c3RlbU1lc3NhZ2VzEh4uZGVjZW50cmFsYW5kLmJmZi5TdWJz",
 44            "Y3JpcHRpb24aJi5kZWNlbnRyYWxhbmQuYmZmLlVuc3Vic2NyaXB0aW9uUmVz",
 45            "dWx0IgASYwoOUHVibGlzaFRvVG9waWMSJy5kZWNlbnRyYWxhbmQuYmZmLlB1",
 46            "Ymxpc2hUb1RvcGljUmVxdWVzdBomLmRlY2VudHJhbGFuZC5iZmYuUHVibGlz",
 47            "aFRvVG9waWNSZXN1bHQiAGIGcHJvdG8z"));
 048      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 49          new pbr::FileDescriptor[] { global::Decentraland.Bff.TopicsServiceReflection.Descriptor, },
 50          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 51            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Bff.Subscription), global::Decentraland.Bff.Subscr
 52            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Bff.UnsubscriptionResult), global::Decentraland.Bf
 53          }));
 054    }
 55    #endregion
 56
 57  }
 58  #region Messages
 59  public sealed partial class Subscription : pb::IMessage<Subscription>
 60  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 61      , pb::IBufferMessage
 62  #endif
 63  {
 64    private static readonly pb::MessageParser<Subscription> _parser = new pb::MessageParser<Subscription>(() => new Subs
 65    private pb::UnknownFieldSet _unknownFields;
 66    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 67    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 68    public static pb::MessageParser<Subscription> Parser { get { return _parser; } }
 69
 70    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 71    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 72    public static pbr::MessageDescriptor Descriptor {
 73      get { return global::Decentraland.Bff.CommsServiceReflection.Descriptor.MessageTypes[0]; }
 74    }
 75
 76    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 77    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 78    pbr::MessageDescriptor pb::IMessage.Descriptor {
 79      get { return Descriptor; }
 80    }
 81
 82    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 83    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 84    public Subscription() {
 85      OnConstruction();
 86    }
 87
 88    partial void OnConstruction();
 89
 90    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 91    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 92    public Subscription(Subscription other) : this() {
 93      subscriptionId_ = other.subscriptionId_;
 94      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 95    }
 96
 97    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 98    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 99    public Subscription Clone() {
 100      return new Subscription(this);
 101    }
 102
 103    /// <summary>Field number for the "subscription_id" field.</summary>
 104    public const int SubscriptionIdFieldNumber = 1;
 105    private uint subscriptionId_;
 106    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 107    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 108    public uint SubscriptionId {
 109      get { return subscriptionId_; }
 110      set {
 111        subscriptionId_ = value;
 112      }
 113    }
 114
 115    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 116    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 117    public override bool Equals(object other) {
 118      return Equals(other as Subscription);
 119    }
 120
 121    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 122    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 123    public bool Equals(Subscription other) {
 124      if (ReferenceEquals(other, null)) {
 125        return false;
 126      }
 127      if (ReferenceEquals(other, this)) {
 128        return true;
 129      }
 130      if (SubscriptionId != other.SubscriptionId) return false;
 131      return Equals(_unknownFields, other._unknownFields);
 132    }
 133
 134    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 135    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 136    public override int GetHashCode() {
 137      int hash = 1;
 138      if (SubscriptionId != 0) hash ^= SubscriptionId.GetHashCode();
 139      if (_unknownFields != null) {
 140        hash ^= _unknownFields.GetHashCode();
 141      }
 142      return hash;
 143    }
 144
 145    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 146    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 147    public override string ToString() {
 148      return pb::JsonFormatter.ToDiagnosticString(this);
 149    }
 150
 151    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 152    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 153    public void WriteTo(pb::CodedOutputStream output) {
 154    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 155      output.WriteRawMessage(this);
 156    #else
 157      if (SubscriptionId != 0) {
 158        output.WriteRawTag(8);
 159        output.WriteUInt32(SubscriptionId);
 160      }
 161      if (_unknownFields != null) {
 162        _unknownFields.WriteTo(output);
 163      }
 164    #endif
 165    }
 166
 167    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 168    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 169    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 170    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 171      if (SubscriptionId != 0) {
 172        output.WriteRawTag(8);
 173        output.WriteUInt32(SubscriptionId);
 174      }
 175      if (_unknownFields != null) {
 176        _unknownFields.WriteTo(ref output);
 177      }
 178    }
 179    #endif
 180
 181    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 182    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 183    public int CalculateSize() {
 184      int size = 0;
 185      if (SubscriptionId != 0) {
 186        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SubscriptionId);
 187      }
 188      if (_unknownFields != null) {
 189        size += _unknownFields.CalculateSize();
 190      }
 191      return size;
 192    }
 193
 194    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 195    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 196    public void MergeFrom(Subscription other) {
 197      if (other == null) {
 198        return;
 199      }
 200      if (other.SubscriptionId != 0) {
 201        SubscriptionId = other.SubscriptionId;
 202      }
 203      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 204    }
 205
 206    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 207    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 208    public void MergeFrom(pb::CodedInputStream input) {
 209    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 210      input.ReadRawMessage(this);
 211    #else
 212      uint tag;
 213      while ((tag = input.ReadTag()) != 0) {
 214        switch(tag) {
 215          default:
 216            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 217            break;
 218          case 8: {
 219            SubscriptionId = input.ReadUInt32();
 220            break;
 221          }
 222        }
 223      }
 224    #endif
 225    }
 226
 227    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 228    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 229    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 230    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 231      uint tag;
 232      while ((tag = input.ReadTag()) != 0) {
 233        switch(tag) {
 234          default:
 235            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 236            break;
 237          case 8: {
 238            SubscriptionId = input.ReadUInt32();
 239            break;
 240          }
 241        }
 242      }
 243    }
 244    #endif
 245
 246  }
 247
 248  public sealed partial class UnsubscriptionResult : pb::IMessage<UnsubscriptionResult>
 249  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 250      , pb::IBufferMessage
 251  #endif
 252  {
 253    private static readonly pb::MessageParser<UnsubscriptionResult> _parser = new pb::MessageParser<UnsubscriptionResult
 254    private pb::UnknownFieldSet _unknownFields;
 255    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 256    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 257    public static pb::MessageParser<UnsubscriptionResult> Parser { get { return _parser; } }
 258
 259    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 260    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 261    public static pbr::MessageDescriptor Descriptor {
 262      get { return global::Decentraland.Bff.CommsServiceReflection.Descriptor.MessageTypes[1]; }
 263    }
 264
 265    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 266    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 267    pbr::MessageDescriptor pb::IMessage.Descriptor {
 268      get { return Descriptor; }
 269    }
 270
 271    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 272    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 273    public UnsubscriptionResult() {
 274      OnConstruction();
 275    }
 276
 277    partial void OnConstruction();
 278
 279    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 280    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 281    public UnsubscriptionResult(UnsubscriptionResult other) : this() {
 282      ok_ = other.ok_;
 283      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 284    }
 285
 286    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 287    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 288    public UnsubscriptionResult Clone() {
 289      return new UnsubscriptionResult(this);
 290    }
 291
 292    /// <summary>Field number for the "ok" field.</summary>
 293    public const int OkFieldNumber = 1;
 294    private bool ok_;
 295    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 296    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 297    public bool Ok {
 298      get { return ok_; }
 299      set {
 300        ok_ = value;
 301      }
 302    }
 303
 304    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 305    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 306    public override bool Equals(object other) {
 307      return Equals(other as UnsubscriptionResult);
 308    }
 309
 310    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 311    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 312    public bool Equals(UnsubscriptionResult other) {
 313      if (ReferenceEquals(other, null)) {
 314        return false;
 315      }
 316      if (ReferenceEquals(other, this)) {
 317        return true;
 318      }
 319      if (Ok != other.Ok) return false;
 320      return Equals(_unknownFields, other._unknownFields);
 321    }
 322
 323    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 324    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 325    public override int GetHashCode() {
 326      int hash = 1;
 327      if (Ok != false) hash ^= Ok.GetHashCode();
 328      if (_unknownFields != null) {
 329        hash ^= _unknownFields.GetHashCode();
 330      }
 331      return hash;
 332    }
 333
 334    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 335    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 336    public override string ToString() {
 337      return pb::JsonFormatter.ToDiagnosticString(this);
 338    }
 339
 340    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 341    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 342    public void WriteTo(pb::CodedOutputStream output) {
 343    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 344      output.WriteRawMessage(this);
 345    #else
 346      if (Ok != false) {
 347        output.WriteRawTag(8);
 348        output.WriteBool(Ok);
 349      }
 350      if (_unknownFields != null) {
 351        _unknownFields.WriteTo(output);
 352      }
 353    #endif
 354    }
 355
 356    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 357    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 358    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 359    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 360      if (Ok != false) {
 361        output.WriteRawTag(8);
 362        output.WriteBool(Ok);
 363      }
 364      if (_unknownFields != null) {
 365        _unknownFields.WriteTo(ref output);
 366      }
 367    }
 368    #endif
 369
 370    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 371    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 372    public int CalculateSize() {
 373      int size = 0;
 374      if (Ok != false) {
 375        size += 1 + 1;
 376      }
 377      if (_unknownFields != null) {
 378        size += _unknownFields.CalculateSize();
 379      }
 380      return size;
 381    }
 382
 383    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 384    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 385    public void MergeFrom(UnsubscriptionResult other) {
 386      if (other == null) {
 387        return;
 388      }
 389      if (other.Ok != false) {
 390        Ok = other.Ok;
 391      }
 392      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 393    }
 394
 395    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 396    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 397    public void MergeFrom(pb::CodedInputStream input) {
 398    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 399      input.ReadRawMessage(this);
 400    #else
 401      uint tag;
 402      while ((tag = input.ReadTag()) != 0) {
 403        switch(tag) {
 404          default:
 405            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 406            break;
 407          case 8: {
 408            Ok = input.ReadBool();
 409            break;
 410          }
 411        }
 412      }
 413    #endif
 414    }
 415
 416    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 417    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 418    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 419    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 420      uint tag;
 421      while ((tag = input.ReadTag()) != 0) {
 422        switch(tag) {
 423          default:
 424            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 425            break;
 426          case 8: {
 427            Ok = input.ReadBool();
 428            break;
 429          }
 430        }
 431      }
 432    }
 433    #endif
 434
 435  }
 436
 437  #endregion
 438
 439}
 440
 441#endregion Designer generated code