< Summary

Class:Decentraland.Renderer.KernelServices.EmotesKernelReflection
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/EmotesKernel.gen.cs
Covered lines:4
Uncovered lines:0
Coverable lines:4
Total lines:429
Line coverage:100% (4 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
EmotesKernelReflection()0%110100%

File(s)

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

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