< Summary

Class:DCL.ECSComponents.GltfContainerReflection
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/GltfContainer.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:237
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

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

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/sdk/components/gltf_container.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/sdk/components/gltf_container.proto</summar
 15  public static partial class GltfContainerReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/sdk/components/gltf_container.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static GltfContainerReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CjBkZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvZ2x0Zl9jb250YWluZXIu",
 28            "cHJvdG8SG2RlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cyIeCg9QQkdsdGZD",
 29            "b250YWluZXISCwoDc3JjGAEgASgJQhSqAhFEQ0wuRUNTQ29tcG9uZW50c2IG",
 30            "cHJvdG8z"));
 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.PBGltfContainer), global::DCL.ECSComponents.P
 35          }));
 036    }
 37    #endregion
 38
 39  }
 40  #region Messages
 41  public sealed partial class PBGltfContainer : pb::IMessage<PBGltfContainer>
 42  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 43      , pb::IBufferMessage
 44  #endif
 45  {
 46    private static readonly pb::MessageParser<PBGltfContainer> _parser = new pb::MessageParser<PBGltfContainer>(() => ne
 47    private pb::UnknownFieldSet _unknownFields;
 48    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 49    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 50    public static pb::MessageParser<PBGltfContainer> 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.GltfContainerReflection.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 PBGltfContainer() {
 67      OnConstruction();
 68    }
 69
 70    partial void OnConstruction();
 71
 72    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 73    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 74    public PBGltfContainer(PBGltfContainer other) : this() {
 75      src_ = other.src_;
 76      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 77    }
 78
 79    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 80    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 81    public PBGltfContainer Clone() {
 82      return new PBGltfContainer(this);
 83    }
 84
 85    /// <summary>Field number for the "src" field.</summary>
 86    public const int SrcFieldNumber = 1;
 87    private string src_ = "";
 88    /// <summary>
 89    /// which file to load
 90    /// </summary>
 91    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 92    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 93    public string Src {
 94      get { return src_; }
 95      set {
 96        src_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 97      }
 98    }
 99
 100    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 101    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 102    public override bool Equals(object other) {
 103      return Equals(other as PBGltfContainer);
 104    }
 105
 106    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 107    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 108    public bool Equals(PBGltfContainer other) {
 109      if (ReferenceEquals(other, null)) {
 110        return false;
 111      }
 112      if (ReferenceEquals(other, this)) {
 113        return true;
 114      }
 115      if (Src != other.Src) return false;
 116      return Equals(_unknownFields, other._unknownFields);
 117    }
 118
 119    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 120    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 121    public override int GetHashCode() {
 122      int hash = 1;
 123      if (Src.Length != 0) hash ^= Src.GetHashCode();
 124      if (_unknownFields != null) {
 125        hash ^= _unknownFields.GetHashCode();
 126      }
 127      return hash;
 128    }
 129
 130    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 131    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 132    public override string ToString() {
 133      return pb::JsonFormatter.ToDiagnosticString(this);
 134    }
 135
 136    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 137    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 138    public void WriteTo(pb::CodedOutputStream output) {
 139    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 140      output.WriteRawMessage(this);
 141    #else
 142      if (Src.Length != 0) {
 143        output.WriteRawTag(10);
 144        output.WriteString(Src);
 145      }
 146      if (_unknownFields != null) {
 147        _unknownFields.WriteTo(output);
 148      }
 149    #endif
 150    }
 151
 152    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 153    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 154    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 155    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 156      if (Src.Length != 0) {
 157        output.WriteRawTag(10);
 158        output.WriteString(Src);
 159      }
 160      if (_unknownFields != null) {
 161        _unknownFields.WriteTo(ref output);
 162      }
 163    }
 164    #endif
 165
 166    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 167    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 168    public int CalculateSize() {
 169      int size = 0;
 170      if (Src.Length != 0) {
 171        size += 1 + pb::CodedOutputStream.ComputeStringSize(Src);
 172      }
 173      if (_unknownFields != null) {
 174        size += _unknownFields.CalculateSize();
 175      }
 176      return size;
 177    }
 178
 179    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 180    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 181    public void MergeFrom(PBGltfContainer other) {
 182      if (other == null) {
 183        return;
 184      }
 185      if (other.Src.Length != 0) {
 186        Src = other.Src;
 187      }
 188      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 189    }
 190
 191    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 192    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 193    public void MergeFrom(pb::CodedInputStream input) {
 194    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 195      input.ReadRawMessage(this);
 196    #else
 197      uint tag;
 198      while ((tag = input.ReadTag()) != 0) {
 199        switch(tag) {
 200          default:
 201            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 202            break;
 203          case 10: {
 204            Src = input.ReadString();
 205            break;
 206          }
 207        }
 208      }
 209    #endif
 210    }
 211
 212    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 213    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 214    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 215    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 216      uint tag;
 217      while ((tag = input.ReadTag()) != 0) {
 218        switch(tag) {
 219          default:
 220            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 221            break;
 222          case 10: {
 223            Src = input.ReadString();
 224            break;
 225          }
 226        }
 227      }
 228    }
 229    #endif
 230
 231  }
 232
 233  #endregion
 234
 235}
 236
 237#endregion Designer generated code