< Summary

Class:DCL.ECSComponents.GLTFShapeReflection
Assembly:DCL.Components.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/PBFiles/GLTFShape.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:258
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/PBFiles/GLTFShape.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: GLTFShape.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 GLTFShape.proto</summary>
 15  public static partial class GLTFShapeReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for GLTFShape.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static GLTFShapeReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "Cg9HTFRGU2hhcGUucHJvdG8SEGRlY2VudHJhbGFuZC5lY3MiYAoLUEJHTFRG",
 28            "U2hhcGUSFwoPd2l0aF9jb2xsaXNpb25zGAEgASgIEhoKEmlzX3BvaW50ZXJf",
 29            "YmxvY2tlchgCIAEoCBIPCgd2aXNpYmxlGAMgASgIEgsKA3NyYxgEIAEoCUIU",
 30            "qgIRRENMLkVDU0NvbXBvbmVudHNiBnByb3RvMw=="));
 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.PBGLTFShape), global::DCL.ECSComponents.PBGLT
 35          }));
 036    }
 37    #endregion
 38
 39  }
 40  #region Messages
 41  public sealed partial class PBGLTFShape : pb::IMessage<PBGLTFShape> {
 42    private static readonly pb::MessageParser<PBGLTFShape> _parser = new pb::MessageParser<PBGLTFShape>(() => new PBGLTF
 43    private pb::UnknownFieldSet _unknownFields;
 44    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 45    public static pb::MessageParser<PBGLTFShape> Parser { get { return _parser; } }
 46
 47    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 48    public static pbr::MessageDescriptor Descriptor {
 49      get { return global::DCL.ECSComponents.GLTFShapeReflection.Descriptor.MessageTypes[0]; }
 50    }
 51
 52    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 53    pbr::MessageDescriptor pb::IMessage.Descriptor {
 54      get { return Descriptor; }
 55    }
 56
 57    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 58    public PBGLTFShape() {
 59      OnConstruction();
 60    }
 61
 62    partial void OnConstruction();
 63
 64    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 65    public PBGLTFShape(PBGLTFShape other) : this() {
 66      withCollisions_ = other.withCollisions_;
 67      isPointerBlocker_ = other.isPointerBlocker_;
 68      visible_ = other.visible_;
 69      src_ = other.src_;
 70      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 71    }
 72
 73    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 74    public PBGLTFShape Clone() {
 75      return new PBGLTFShape(this);
 76    }
 77
 78    /// <summary>Field number for the "with_collisions" field.</summary>
 79    public const int WithCollisionsFieldNumber = 1;
 80    private bool withCollisions_;
 81    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 82    public bool WithCollisions {
 83      get { return withCollisions_; }
 84      set {
 85        withCollisions_ = value;
 86      }
 87    }
 88
 89    /// <summary>Field number for the "is_pointer_blocker" field.</summary>
 90    public const int IsPointerBlockerFieldNumber = 2;
 91    private bool isPointerBlocker_;
 92    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 93    public bool IsPointerBlocker {
 94      get { return isPointerBlocker_; }
 95      set {
 96        isPointerBlocker_ = value;
 97      }
 98    }
 99
 100    /// <summary>Field number for the "visible" field.</summary>
 101    public const int VisibleFieldNumber = 3;
 102    private bool visible_;
 103    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 104    public bool Visible {
 105      get { return visible_; }
 106      set {
 107        visible_ = value;
 108      }
 109    }
 110
 111    /// <summary>Field number for the "src" field.</summary>
 112    public const int SrcFieldNumber = 4;
 113    private string src_ = "";
 114    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 115    public string Src {
 116      get { return src_; }
 117      set {
 118        src_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 119      }
 120    }
 121
 122    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 123    public override bool Equals(object other) {
 124      return Equals(other as PBGLTFShape);
 125    }
 126
 127    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 128    public bool Equals(PBGLTFShape other) {
 129      if (ReferenceEquals(other, null)) {
 130        return false;
 131      }
 132      if (ReferenceEquals(other, this)) {
 133        return true;
 134      }
 135      if (WithCollisions != other.WithCollisions) return false;
 136      if (IsPointerBlocker != other.IsPointerBlocker) return false;
 137      if (Visible != other.Visible) return false;
 138      if (Src != other.Src) return false;
 139      return Equals(_unknownFields, other._unknownFields);
 140    }
 141
 142    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 143    public override int GetHashCode() {
 144      int hash = 1;
 145      if (WithCollisions != false) hash ^= WithCollisions.GetHashCode();
 146      if (IsPointerBlocker != false) hash ^= IsPointerBlocker.GetHashCode();
 147      if (Visible != false) hash ^= Visible.GetHashCode();
 148      if (Src.Length != 0) hash ^= Src.GetHashCode();
 149      if (_unknownFields != null) {
 150        hash ^= _unknownFields.GetHashCode();
 151      }
 152      return hash;
 153    }
 154
 155    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 156    public override string ToString() {
 157      return pb::JsonFormatter.ToDiagnosticString(this);
 158    }
 159
 160    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 161    public void WriteTo(pb::CodedOutputStream output) {
 162      if (WithCollisions != false) {
 163        output.WriteRawTag(8);
 164        output.WriteBool(WithCollisions);
 165      }
 166      if (IsPointerBlocker != false) {
 167        output.WriteRawTag(16);
 168        output.WriteBool(IsPointerBlocker);
 169      }
 170      if (Visible != false) {
 171        output.WriteRawTag(24);
 172        output.WriteBool(Visible);
 173      }
 174      if (Src.Length != 0) {
 175        output.WriteRawTag(34);
 176        output.WriteString(Src);
 177      }
 178      if (_unknownFields != null) {
 179        _unknownFields.WriteTo(output);
 180      }
 181    }
 182
 183    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 184    public int CalculateSize() {
 185      int size = 0;
 186      if (WithCollisions != false) {
 187        size += 1 + 1;
 188      }
 189      if (IsPointerBlocker != false) {
 190        size += 1 + 1;
 191      }
 192      if (Visible != false) {
 193        size += 1 + 1;
 194      }
 195      if (Src.Length != 0) {
 196        size += 1 + pb::CodedOutputStream.ComputeStringSize(Src);
 197      }
 198      if (_unknownFields != null) {
 199        size += _unknownFields.CalculateSize();
 200      }
 201      return size;
 202    }
 203
 204    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 205    public void MergeFrom(PBGLTFShape other) {
 206      if (other == null) {
 207        return;
 208      }
 209      if (other.WithCollisions != false) {
 210        WithCollisions = other.WithCollisions;
 211      }
 212      if (other.IsPointerBlocker != false) {
 213        IsPointerBlocker = other.IsPointerBlocker;
 214      }
 215      if (other.Visible != false) {
 216        Visible = other.Visible;
 217      }
 218      if (other.Src.Length != 0) {
 219        Src = other.Src;
 220      }
 221      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 222    }
 223
 224    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 225    public void MergeFrom(pb::CodedInputStream input) {
 226      uint tag;
 227      while ((tag = input.ReadTag()) != 0) {
 228        switch(tag) {
 229          default:
 230            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 231            break;
 232          case 8: {
 233            WithCollisions = input.ReadBool();
 234            break;
 235          }
 236          case 16: {
 237            IsPointerBlocker = input.ReadBool();
 238            break;
 239          }
 240          case 24: {
 241            Visible = input.ReadBool();
 242            break;
 243          }
 244          case 34: {
 245            Src = input.ReadString();
 246            break;
 247          }
 248        }
 249      }
 250    }
 251
 252  }
 253
 254  #endregion
 255
 256}
 257
 258#endregion Designer generated code

Methods/Properties

Descriptor()
GLTFShapeReflection()