< Summary

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