< Summary

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

Metrics

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

File(s)

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

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