< Summary

Class:DCL.ECSComponents.CylinderShapeReflection
Assembly:DCL.ECSComponents.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:467
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            "ChNDeWxpbmRlclNoYXBlLnByb3RvEhBkZWNlbnRyYWxhbmQuZWNzIvMBCg9Q",
 28            "QkN5bGluZGVyU2hhcGUSHAoPd2l0aF9jb2xsaXNpb25zGAEgASgISACIAQES",
 29            "HwoSaXNfcG9pbnRlcl9ibG9ja2VyGAIgASgISAGIAQESFAoHdmlzaWJsZRgD",
 30            "IAEoCEgCiAEBEhcKCnJhZGl1c190b3AYBCABKAJIA4gBARIaCg1yYWRpdXNf",
 31            "Ym90dG9tGAUgASgCSASIAQFCEgoQX3dpdGhfY29sbGlzaW9uc0IVChNfaXNf",
 32            "cG9pbnRlcl9ibG9ja2VyQgoKCF92aXNpYmxlQg0KC19yYWRpdXNfdG9wQhAK",
 33            "Dl9yYWRpdXNfYm90dG9tQhSqAhFEQ0wuRUNTQ29tcG9uZW50c2IGcHJvdG8z"));
 034      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 35          new pbr::FileDescriptor[] { },
 36          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 37            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBCylinderShape), global::DCL.ECSComponents.P
 38          }));
 039    }
 40    #endregion
 41
 42  }
 43  #region Messages
 44  public sealed partial class PBCylinderShape : pb::IMessage<PBCylinderShape>
 45  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 46      , pb::IBufferMessage
 47  #endif
 48  {
 49    private static readonly pb::MessageParser<PBCylinderShape> _parser = new pb::MessageParser<PBCylinderShape>(() => ne
 50    private pb::UnknownFieldSet _unknownFields;
 51    private int _hasBits0;
 52    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 53    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 54    public static pb::MessageParser<PBCylinderShape> Parser { get { return _parser; } }
 55
 56    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 57    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 58    public static pbr::MessageDescriptor Descriptor {
 59      get { return global::DCL.ECSComponents.CylinderShapeReflection.Descriptor.MessageTypes[0]; }
 60    }
 61
 62    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 63    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 64    pbr::MessageDescriptor pb::IMessage.Descriptor {
 65      get { return Descriptor; }
 66    }
 67
 68    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 69    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 70    public PBCylinderShape() {
 71      OnConstruction();
 72    }
 73
 74    partial void OnConstruction();
 75
 76    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 77    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 78    public PBCylinderShape(PBCylinderShape other) : this() {
 79      _hasBits0 = other._hasBits0;
 80      withCollisions_ = other.withCollisions_;
 81      isPointerBlocker_ = other.isPointerBlocker_;
 82      visible_ = other.visible_;
 83      radiusTop_ = other.radiusTop_;
 84      radiusBottom_ = other.radiusBottom_;
 85      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 86    }
 87
 88    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 89    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 90    public PBCylinderShape Clone() {
 91      return new PBCylinderShape(this);
 92    }
 93
 94    /// <summary>Field number for the "with_collisions" field.</summary>
 95    public const int WithCollisionsFieldNumber = 1;
 96    private bool withCollisions_;
 97    /// <summary>
 98    /// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
 99    /// </summary>
 100    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 101    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 102    public bool WithCollisions {
 103      get { if ((_hasBits0 & 1) != 0) { return withCollisions_; } else { return false; } }
 104      set {
 105        _hasBits0 |= 1;
 106        withCollisions_ = value;
 107      }
 108    }
 109    /// <summary>Gets whether the "with_collisions" field is set</summary>
 110    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 111    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 112    public bool HasWithCollisions {
 113      get { return (_hasBits0 & 1) != 0; }
 114    }
 115    /// <summary>Clears the value of the "with_collisions" field</summary>
 116    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 117    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 118    public void ClearWithCollisions() {
 119      _hasBits0 &= ~1;
 120    }
 121
 122    /// <summary>Field number for the "is_pointer_blocker" field.</summary>
 123    public const int IsPointerBlockerFieldNumber = 2;
 124    private bool isPointerBlocker_;
 125    /// <summary>
 126    /// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
 127    /// </summary>
 128    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 129    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 130    public bool IsPointerBlocker {
 131      get { if ((_hasBits0 & 2) != 0) { return isPointerBlocker_; } else { return false; } }
 132      set {
 133        _hasBits0 |= 2;
 134        isPointerBlocker_ = value;
 135      }
 136    }
 137    /// <summary>Gets whether the "is_pointer_blocker" field is set</summary>
 138    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 139    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 140    public bool HasIsPointerBlocker {
 141      get { return (_hasBits0 & 2) != 0; }
 142    }
 143    /// <summary>Clears the value of the "is_pointer_blocker" field</summary>
 144    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 145    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 146    public void ClearIsPointerBlocker() {
 147      _hasBits0 &= ~2;
 148    }
 149
 150    /// <summary>Field number for the "visible" field.</summary>
 151    public const int VisibleFieldNumber = 3;
 152    private bool visible_;
 153    /// <summary>
 154    /// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
 155    /// </summary>
 156    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 157    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 158    public bool Visible {
 159      get { if ((_hasBits0 & 4) != 0) { return visible_; } else { return false; } }
 160      set {
 161        _hasBits0 |= 4;
 162        visible_ = value;
 163      }
 164    }
 165    /// <summary>Gets whether the "visible" field is set</summary>
 166    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 167    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 168    public bool HasVisible {
 169      get { return (_hasBits0 & 4) != 0; }
 170    }
 171    /// <summary>Clears the value of the "visible" field</summary>
 172    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 173    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 174    public void ClearVisible() {
 175      _hasBits0 &= ~4;
 176    }
 177
 178    /// <summary>Field number for the "radius_top" field.</summary>
 179    public const int RadiusTopFieldNumber = 4;
 180    private float radiusTop_;
 181    /// <summary>
 182    /// default=1.0
 183    /// </summary>
 184    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 185    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 186    public float RadiusTop {
 187      get { if ((_hasBits0 & 8) != 0) { return radiusTop_; } else { return 0F; } }
 188      set {
 189        _hasBits0 |= 8;
 190        radiusTop_ = value;
 191      }
 192    }
 193    /// <summary>Gets whether the "radius_top" field is set</summary>
 194    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 195    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 196    public bool HasRadiusTop {
 197      get { return (_hasBits0 & 8) != 0; }
 198    }
 199    /// <summary>Clears the value of the "radius_top" field</summary>
 200    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 201    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 202    public void ClearRadiusTop() {
 203      _hasBits0 &= ~8;
 204    }
 205
 206    /// <summary>Field number for the "radius_bottom" field.</summary>
 207    public const int RadiusBottomFieldNumber = 5;
 208    private float radiusBottom_;
 209    /// <summary>
 210    /// default=1.0
 211    /// </summary>
 212    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 213    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 214    public float RadiusBottom {
 215      get { if ((_hasBits0 & 16) != 0) { return radiusBottom_; } else { return 0F; } }
 216      set {
 217        _hasBits0 |= 16;
 218        radiusBottom_ = value;
 219      }
 220    }
 221    /// <summary>Gets whether the "radius_bottom" field is set</summary>
 222    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 223    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 224    public bool HasRadiusBottom {
 225      get { return (_hasBits0 & 16) != 0; }
 226    }
 227    /// <summary>Clears the value of the "radius_bottom" field</summary>
 228    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 229    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 230    public void ClearRadiusBottom() {
 231      _hasBits0 &= ~16;
 232    }
 233
 234    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 235    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 236    public override bool Equals(object other) {
 237      return Equals(other as PBCylinderShape);
 238    }
 239
 240    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 241    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 242    public bool Equals(PBCylinderShape other) {
 243      if (ReferenceEquals(other, null)) {
 244        return false;
 245      }
 246      if (ReferenceEquals(other, this)) {
 247        return true;
 248      }
 249      if (WithCollisions != other.WithCollisions) return false;
 250      if (IsPointerBlocker != other.IsPointerBlocker) return false;
 251      if (Visible != other.Visible) return false;
 252      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return false
 253      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) return
 254      return Equals(_unknownFields, other._unknownFields);
 255    }
 256
 257    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 258    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 259    public override int GetHashCode() {
 260      int hash = 1;
 261      if (HasWithCollisions) hash ^= WithCollisions.GetHashCode();
 262      if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode();
 263      if (HasVisible) hash ^= Visible.GetHashCode();
 264      if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop);
 265      if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBottom
 266      if (_unknownFields != null) {
 267        hash ^= _unknownFields.GetHashCode();
 268      }
 269      return hash;
 270    }
 271
 272    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 273    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 274    public override string ToString() {
 275      return pb::JsonFormatter.ToDiagnosticString(this);
 276    }
 277
 278    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 279    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 280    public void WriteTo(pb::CodedOutputStream output) {
 281    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 282      output.WriteRawMessage(this);
 283    #else
 284      if (HasWithCollisions) {
 285        output.WriteRawTag(8);
 286        output.WriteBool(WithCollisions);
 287      }
 288      if (HasIsPointerBlocker) {
 289        output.WriteRawTag(16);
 290        output.WriteBool(IsPointerBlocker);
 291      }
 292      if (HasVisible) {
 293        output.WriteRawTag(24);
 294        output.WriteBool(Visible);
 295      }
 296      if (HasRadiusTop) {
 297        output.WriteRawTag(37);
 298        output.WriteFloat(RadiusTop);
 299      }
 300      if (HasRadiusBottom) {
 301        output.WriteRawTag(45);
 302        output.WriteFloat(RadiusBottom);
 303      }
 304      if (_unknownFields != null) {
 305        _unknownFields.WriteTo(output);
 306      }
 307    #endif
 308    }
 309
 310    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 311    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 312    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 313    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 314      if (HasWithCollisions) {
 315        output.WriteRawTag(8);
 316        output.WriteBool(WithCollisions);
 317      }
 318      if (HasIsPointerBlocker) {
 319        output.WriteRawTag(16);
 320        output.WriteBool(IsPointerBlocker);
 321      }
 322      if (HasVisible) {
 323        output.WriteRawTag(24);
 324        output.WriteBool(Visible);
 325      }
 326      if (HasRadiusTop) {
 327        output.WriteRawTag(37);
 328        output.WriteFloat(RadiusTop);
 329      }
 330      if (HasRadiusBottom) {
 331        output.WriteRawTag(45);
 332        output.WriteFloat(RadiusBottom);
 333      }
 334      if (_unknownFields != null) {
 335        _unknownFields.WriteTo(ref output);
 336      }
 337    }
 338    #endif
 339
 340    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 341    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 342    public int CalculateSize() {
 343      int size = 0;
 344      if (HasWithCollisions) {
 345        size += 1 + 1;
 346      }
 347      if (HasIsPointerBlocker) {
 348        size += 1 + 1;
 349      }
 350      if (HasVisible) {
 351        size += 1 + 1;
 352      }
 353      if (HasRadiusTop) {
 354        size += 1 + 4;
 355      }
 356      if (HasRadiusBottom) {
 357        size += 1 + 4;
 358      }
 359      if (_unknownFields != null) {
 360        size += _unknownFields.CalculateSize();
 361      }
 362      return size;
 363    }
 364
 365    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 366    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 367    public void MergeFrom(PBCylinderShape other) {
 368      if (other == null) {
 369        return;
 370      }
 371      if (other.HasWithCollisions) {
 372        WithCollisions = other.WithCollisions;
 373      }
 374      if (other.HasIsPointerBlocker) {
 375        IsPointerBlocker = other.IsPointerBlocker;
 376      }
 377      if (other.HasVisible) {
 378        Visible = other.Visible;
 379      }
 380      if (other.HasRadiusTop) {
 381        RadiusTop = other.RadiusTop;
 382      }
 383      if (other.HasRadiusBottom) {
 384        RadiusBottom = other.RadiusBottom;
 385      }
 386      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 387    }
 388
 389    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 390    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 391    public void MergeFrom(pb::CodedInputStream input) {
 392    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 393      input.ReadRawMessage(this);
 394    #else
 395      uint tag;
 396      while ((tag = input.ReadTag()) != 0) {
 397        switch(tag) {
 398          default:
 399            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 400            break;
 401          case 8: {
 402            WithCollisions = input.ReadBool();
 403            break;
 404          }
 405          case 16: {
 406            IsPointerBlocker = input.ReadBool();
 407            break;
 408          }
 409          case 24: {
 410            Visible = input.ReadBool();
 411            break;
 412          }
 413          case 37: {
 414            RadiusTop = input.ReadFloat();
 415            break;
 416          }
 417          case 45: {
 418            RadiusBottom = input.ReadFloat();
 419            break;
 420          }
 421        }
 422      }
 423    #endif
 424    }
 425
 426    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 427    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 428    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 429    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 430      uint tag;
 431      while ((tag = input.ReadTag()) != 0) {
 432        switch(tag) {
 433          default:
 434            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 435            break;
 436          case 8: {
 437            WithCollisions = input.ReadBool();
 438            break;
 439          }
 440          case 16: {
 441            IsPointerBlocker = input.ReadBool();
 442            break;
 443          }
 444          case 24: {
 445            Visible = input.ReadBool();
 446            break;
 447          }
 448          case 37: {
 449            RadiusTop = input.ReadFloat();
 450            break;
 451          }
 452          case 45: {
 453            RadiusBottom = input.ReadFloat();
 454            break;
 455          }
 456        }
 457      }
 458    }
 459    #endif
 460
 461  }
 462
 463  #endregion
 464
 465}
 466
 467#endregion Designer generated code