< Summary

Class:DCL.ECSComponents.ContentMapping
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/ContentMapping.gen.cs
Covered lines:0
Uncovered lines:67
Coverable lines:67
Total lines:271
Line coverage:0% (0 of 67)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
ContentMapping()0%2100%
get_Descriptor()0%2100%
ContentMapping(...)0%2100%
Clone()0%2100%
ContentMapping()0%2100%
Equals(...)0%2100%
Equals(...)0%30500%
GetHashCode()0%20400%
ToString()0%2100%
WriteTo(...)0%20400%
CalculateSize()0%20400%
MergeFrom(...)0%20400%
MergeFrom(...)0%20400%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/ContentMapping.gen.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/common/content_mapping.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 DCL.ECSComponents {
 13
 14  /// <summary>Holder for reflection information generated from decentraland/common/content_mapping.proto</summary>
 15  public static partial class ContentMappingReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/common/content_mapping.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static ContentMappingReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CilkZWNlbnRyYWxhbmQvY29tbW9uL2NvbnRlbnRfbWFwcGluZy5wcm90bxIT",
 28            "ZGVjZW50cmFsYW5kLmNvbW1vbiIsCg5Db250ZW50TWFwcGluZxIMCgRmaWxl",
 29            "GAEgASgJEgwKBGhhc2gYAiABKAlCFKoCEURDTC5FQ1NDb21wb25lbnRzYgZw",
 30            "cm90bzM="));
 31      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 32          new pbr::FileDescriptor[] { },
 33          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 34            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.ContentMapping), global::DCL.ECSComponents.Co
 35          }));
 36    }
 37    #endregion
 38
 39  }
 40  #region Messages
 41  public sealed partial class ContentMapping : pb::IMessage<ContentMapping>
 42  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 43      , pb::IBufferMessage
 44  #endif
 45  {
 046    private static readonly pb::MessageParser<ContentMapping> _parser = new pb::MessageParser<ContentMapping>(() => new 
 47    private pb::UnknownFieldSet _unknownFields;
 48    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 49    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 050    public static pb::MessageParser<ContentMapping> Parser { get { return _parser; } }
 51
 52    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 53    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 54    public static pbr::MessageDescriptor Descriptor {
 055      get { return global::DCL.ECSComponents.ContentMappingReflection.Descriptor.MessageTypes[0]; }
 56    }
 57
 58    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 59    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 60    pbr::MessageDescriptor pb::IMessage.Descriptor {
 061      get { return Descriptor; }
 62    }
 63
 64    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 65    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 066    public ContentMapping() {
 67      OnConstruction();
 068    }
 69
 70    partial void OnConstruction();
 71
 72    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 73    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 074    public ContentMapping(ContentMapping other) : this() {
 075      file_ = other.file_;
 076      hash_ = other.hash_;
 077      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 078    }
 79
 80    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 81    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 82    public ContentMapping Clone() {
 083      return new ContentMapping(this);
 84    }
 85
 86    /// <summary>Field number for the "file" field.</summary>
 87    public const int FileFieldNumber = 1;
 088    private string file_ = "";
 89    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 90    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 91    public string File {
 092      get { return file_; }
 93      set {
 094        file_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 095      }
 96    }
 97
 98    /// <summary>Field number for the "hash" field.</summary>
 99    public const int HashFieldNumber = 2;
 0100    private string hash_ = "";
 101    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 102    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 103    public string Hash {
 0104      get { return hash_; }
 105      set {
 0106        hash_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0107      }
 108    }
 109
 110    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 111    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 112    public override bool Equals(object other) {
 0113      return Equals(other as ContentMapping);
 114    }
 115
 116    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 117    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 118    public bool Equals(ContentMapping other) {
 0119      if (ReferenceEquals(other, null)) {
 0120        return false;
 121      }
 0122      if (ReferenceEquals(other, this)) {
 0123        return true;
 124      }
 0125      if (File != other.File) return false;
 0126      if (Hash != other.Hash) return false;
 0127      return Equals(_unknownFields, other._unknownFields);
 128    }
 129
 130    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 131    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 132    public override int GetHashCode() {
 0133      int hash = 1;
 0134      if (File.Length != 0) hash ^= File.GetHashCode();
 0135      if (Hash.Length != 0) hash ^= Hash.GetHashCode();
 0136      if (_unknownFields != null) {
 0137        hash ^= _unknownFields.GetHashCode();
 138      }
 0139      return hash;
 140    }
 141
 142    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 143    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 144    public override string ToString() {
 0145      return pb::JsonFormatter.ToDiagnosticString(this);
 146    }
 147
 148    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 149    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 150    public void WriteTo(pb::CodedOutputStream output) {
 151    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 152      output.WriteRawMessage(this);
 153    #else
 0154      if (File.Length != 0) {
 0155        output.WriteRawTag(10);
 0156        output.WriteString(File);
 157      }
 0158      if (Hash.Length != 0) {
 0159        output.WriteRawTag(18);
 0160        output.WriteString(Hash);
 161      }
 0162      if (_unknownFields != null) {
 0163        _unknownFields.WriteTo(output);
 164      }
 165    #endif
 0166    }
 167
 168    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 169    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 170    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 171    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 172      if (File.Length != 0) {
 173        output.WriteRawTag(10);
 174        output.WriteString(File);
 175      }
 176      if (Hash.Length != 0) {
 177        output.WriteRawTag(18);
 178        output.WriteString(Hash);
 179      }
 180      if (_unknownFields != null) {
 181        _unknownFields.WriteTo(ref output);
 182      }
 183    }
 184    #endif
 185
 186    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 187    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 188    public int CalculateSize() {
 0189      int size = 0;
 0190      if (File.Length != 0) {
 0191        size += 1 + pb::CodedOutputStream.ComputeStringSize(File);
 192      }
 0193      if (Hash.Length != 0) {
 0194        size += 1 + pb::CodedOutputStream.ComputeStringSize(Hash);
 195      }
 0196      if (_unknownFields != null) {
 0197        size += _unknownFields.CalculateSize();
 198      }
 0199      return size;
 200    }
 201
 202    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 203    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 204    public void MergeFrom(ContentMapping other) {
 0205      if (other == null) {
 0206        return;
 207      }
 0208      if (other.File.Length != 0) {
 0209        File = other.File;
 210      }
 0211      if (other.Hash.Length != 0) {
 0212        Hash = other.Hash;
 213      }
 0214      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0215    }
 216
 217    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 218    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 219    public void MergeFrom(pb::CodedInputStream input) {
 220    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 221      input.ReadRawMessage(this);
 222    #else
 223      uint tag;
 0224      while ((tag = input.ReadTag()) != 0) {
 225        switch(tag) {
 226          default:
 0227            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0228            break;
 229          case 10: {
 0230            File = input.ReadString();
 0231            break;
 232          }
 233          case 18: {
 0234            Hash = input.ReadString();
 235            break;
 236          }
 237        }
 238      }
 239    #endif
 0240    }
 241
 242    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 243    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 244    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 245    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 246      uint tag;
 247      while ((tag = input.ReadTag()) != 0) {
 248        switch(tag) {
 249          default:
 250            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 251            break;
 252          case 10: {
 253            File = input.ReadString();
 254            break;
 255          }
 256          case 18: {
 257            Hash = input.ReadString();
 258            break;
 259          }
 260        }
 261      }
 262    }
 263    #endif
 264
 265  }
 266
 267  #endregion
 268
 269}
 270
 271#endregion Designer generated code