< Summary

Class:Decentraland.Renderer.KernelServices.MutualFriendsKernelReflection
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/MutualFriendsKernel.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:421
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
MutualFriendsKernelReflection()0%2100%

File(s)

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

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