< Summary

Class:DCL.ECSComponents.GltfContainerReflection
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/GltfContainer.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:236
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/DCLPlugins/ECS7/ProtocolBuffers/Generated/GltfContainer.gen.cs

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