< Summary

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

Metrics

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

File(s)

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

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