< Summary

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

Metrics

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

File(s)

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

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