< Summary

Class:DCL.ECSComponents.ContentMappingReflection
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:4
Coverable lines:4
Total lines:271
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

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

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 {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static ContentMappingReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CilkZWNlbnRyYWxhbmQvY29tbW9uL2NvbnRlbnRfbWFwcGluZy5wcm90bxIT",
 28            "ZGVjZW50cmFsYW5kLmNvbW1vbiIsCg5Db250ZW50TWFwcGluZxIMCgRmaWxl",
 29            "GAEgASgJEgwKBGhhc2gYAiABKAlCFKoCEURDTC5FQ1NDb21wb25lbnRzYgZw",
 30            "cm90bzM="));
 031      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          }));
 036    }
 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  {
 46    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)]
 50    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 {
 55      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 {
 61      get { return Descriptor; }
 62    }
 63
 64    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 65    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 66    public ContentMapping() {
 67      OnConstruction();
 68    }
 69
 70    partial void OnConstruction();
 71
 72    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 73    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 74    public ContentMapping(ContentMapping other) : this() {
 75      file_ = other.file_;
 76      hash_ = other.hash_;
 77      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 78    }
 79
 80    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 81    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 82    public ContentMapping Clone() {
 83      return new ContentMapping(this);
 84    }
 85
 86    /// <summary>Field number for the "file" field.</summary>
 87    public const int FileFieldNumber = 1;
 88    private string file_ = "";
 89    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 90    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 91    public string File {
 92      get { return file_; }
 93      set {
 94        file_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 95      }
 96    }
 97
 98    /// <summary>Field number for the "hash" field.</summary>
 99    public const int HashFieldNumber = 2;
 100    private string hash_ = "";
 101    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 102    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 103    public string Hash {
 104      get { return hash_; }
 105      set {
 106        hash_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 107      }
 108    }
 109
 110    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 111    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 112    public override bool Equals(object other) {
 113      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) {
 119      if (ReferenceEquals(other, null)) {
 120        return false;
 121      }
 122      if (ReferenceEquals(other, this)) {
 123        return true;
 124      }
 125      if (File != other.File) return false;
 126      if (Hash != other.Hash) return false;
 127      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() {
 133      int hash = 1;
 134      if (File.Length != 0) hash ^= File.GetHashCode();
 135      if (Hash.Length != 0) hash ^= Hash.GetHashCode();
 136      if (_unknownFields != null) {
 137        hash ^= _unknownFields.GetHashCode();
 138      }
 139      return hash;
 140    }
 141
 142    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 143    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 144    public override string ToString() {
 145      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
 154      if (File.Length != 0) {
 155        output.WriteRawTag(10);
 156        output.WriteString(File);
 157      }
 158      if (Hash.Length != 0) {
 159        output.WriteRawTag(18);
 160        output.WriteString(Hash);
 161      }
 162      if (_unknownFields != null) {
 163        _unknownFields.WriteTo(output);
 164      }
 165    #endif
 166    }
 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() {
 189      int size = 0;
 190      if (File.Length != 0) {
 191        size += 1 + pb::CodedOutputStream.ComputeStringSize(File);
 192      }
 193      if (Hash.Length != 0) {
 194        size += 1 + pb::CodedOutputStream.ComputeStringSize(Hash);
 195      }
 196      if (_unknownFields != null) {
 197        size += _unknownFields.CalculateSize();
 198      }
 199      return size;
 200    }
 201
 202    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 203    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 204    public void MergeFrom(ContentMapping other) {
 205      if (other == null) {
 206        return;
 207      }
 208      if (other.File.Length != 0) {
 209        File = other.File;
 210      }
 211      if (other.Hash.Length != 0) {
 212        Hash = other.Hash;
 213      }
 214      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 215    }
 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;
 224      while ((tag = input.ReadTag()) != 0) {
 225        switch(tag) {
 226          default:
 227            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 228            break;
 229          case 10: {
 230            File = input.ReadString();
 231            break;
 232          }
 233          case 18: {
 234            Hash = input.ReadString();
 235            break;
 236          }
 237        }
 238      }
 239    #endif
 240    }
 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