< Summary

Class:DCL.ECSComponents.SphereShapeReflection
Assembly:DCL.ECSComponents.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:359
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            "ChFTcGhlcmVTaGFwZS5wcm90bxIQZGVjZW50cmFsYW5kLmVjcyKbAQoNUEJT",
 28            "cGhlcmVTaGFwZRIcCg93aXRoX2NvbGxpc2lvbnMYASABKAhIAIgBARIfChJp",
 29            "c19wb2ludGVyX2Jsb2NrZXIYAiABKAhIAYgBARIUCgd2aXNpYmxlGAMgASgI",
 30            "SAKIAQFCEgoQX3dpdGhfY29sbGlzaW9uc0IVChNfaXNfcG9pbnRlcl9ibG9j",
 31            "a2VyQgoKCF92aXNpYmxlQhSqAhFEQ0wuRUNTQ29tcG9uZW50c2IGcHJvdG8z"));
 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.PBSphereShape), global::DCL.ECSComponents.PBS
 36          }));
 037    }
 38    #endregion
 39
 40  }
 41  #region Messages
 42  public sealed partial class PBSphereShape : pb::IMessage<PBSphereShape>
 43  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 44      , pb::IBufferMessage
 45  #endif
 46  {
 47    private static readonly pb::MessageParser<PBSphereShape> _parser = new pb::MessageParser<PBSphereShape>(() => new PB
 48    private pb::UnknownFieldSet _unknownFields;
 49    private int _hasBits0;
 50    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 51    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 52    public static pb::MessageParser<PBSphereShape> Parser { get { return _parser; } }
 53
 54    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 55    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 56    public static pbr::MessageDescriptor Descriptor {
 57      get { return global::DCL.ECSComponents.SphereShapeReflection.Descriptor.MessageTypes[0]; }
 58    }
 59
 60    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 61    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 62    pbr::MessageDescriptor pb::IMessage.Descriptor {
 63      get { return Descriptor; }
 64    }
 65
 66    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 67    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 68    public PBSphereShape() {
 69      OnConstruction();
 70    }
 71
 72    partial void OnConstruction();
 73
 74    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 75    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 76    public PBSphereShape(PBSphereShape other) : this() {
 77      _hasBits0 = other._hasBits0;
 78      withCollisions_ = other.withCollisions_;
 79      isPointerBlocker_ = other.isPointerBlocker_;
 80      visible_ = other.visible_;
 81      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 82    }
 83
 84    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 85    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 86    public PBSphereShape Clone() {
 87      return new PBSphereShape(this);
 88    }
 89
 90    /// <summary>Field number for the "with_collisions" field.</summary>
 91    public const int WithCollisionsFieldNumber = 1;
 92    private bool withCollisions_;
 93    /// <summary>
 94    /// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
 95    /// </summary>
 96    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 97    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 98    public bool WithCollisions {
 99      get { if ((_hasBits0 & 1) != 0) { return withCollisions_; } else { return false; } }
 100      set {
 101        _hasBits0 |= 1;
 102        withCollisions_ = value;
 103      }
 104    }
 105    /// <summary>Gets whether the "with_collisions" field is set</summary>
 106    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 107    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 108    public bool HasWithCollisions {
 109      get { return (_hasBits0 & 1) != 0; }
 110    }
 111    /// <summary>Clears the value of the "with_collisions" field</summary>
 112    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 113    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 114    public void ClearWithCollisions() {
 115      _hasBits0 &= ~1;
 116    }
 117
 118    /// <summary>Field number for the "is_pointer_blocker" field.</summary>
 119    public const int IsPointerBlockerFieldNumber = 2;
 120    private bool isPointerBlocker_;
 121    /// <summary>
 122    /// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
 123    /// </summary>
 124    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 125    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 126    public bool IsPointerBlocker {
 127      get { if ((_hasBits0 & 2) != 0) { return isPointerBlocker_; } else { return false; } }
 128      set {
 129        _hasBits0 |= 2;
 130        isPointerBlocker_ = value;
 131      }
 132    }
 133    /// <summary>Gets whether the "is_pointer_blocker" field is set</summary>
 134    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 135    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 136    public bool HasIsPointerBlocker {
 137      get { return (_hasBits0 & 2) != 0; }
 138    }
 139    /// <summary>Clears the value of the "is_pointer_blocker" field</summary>
 140    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 141    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 142    public void ClearIsPointerBlocker() {
 143      _hasBits0 &= ~2;
 144    }
 145
 146    /// <summary>Field number for the "visible" field.</summary>
 147    public const int VisibleFieldNumber = 3;
 148    private bool visible_;
 149    /// <summary>
 150    /// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
 151    /// </summary>
 152    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 153    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 154    public bool Visible {
 155      get { if ((_hasBits0 & 4) != 0) { return visible_; } else { return false; } }
 156      set {
 157        _hasBits0 |= 4;
 158        visible_ = value;
 159      }
 160    }
 161    /// <summary>Gets whether the "visible" field is set</summary>
 162    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 163    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 164    public bool HasVisible {
 165      get { return (_hasBits0 & 4) != 0; }
 166    }
 167    /// <summary>Clears the value of the "visible" field</summary>
 168    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 169    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 170    public void ClearVisible() {
 171      _hasBits0 &= ~4;
 172    }
 173
 174    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 175    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 176    public override bool Equals(object other) {
 177      return Equals(other as PBSphereShape);
 178    }
 179
 180    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 181    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 182    public bool Equals(PBSphereShape other) {
 183      if (ReferenceEquals(other, null)) {
 184        return false;
 185      }
 186      if (ReferenceEquals(other, this)) {
 187        return true;
 188      }
 189      if (WithCollisions != other.WithCollisions) return false;
 190      if (IsPointerBlocker != other.IsPointerBlocker) return false;
 191      if (Visible != other.Visible) return false;
 192      return Equals(_unknownFields, other._unknownFields);
 193    }
 194
 195    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 196    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 197    public override int GetHashCode() {
 198      int hash = 1;
 199      if (HasWithCollisions) hash ^= WithCollisions.GetHashCode();
 200      if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode();
 201      if (HasVisible) hash ^= Visible.GetHashCode();
 202      if (_unknownFields != null) {
 203        hash ^= _unknownFields.GetHashCode();
 204      }
 205      return hash;
 206    }
 207
 208    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 209    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 210    public override string ToString() {
 211      return pb::JsonFormatter.ToDiagnosticString(this);
 212    }
 213
 214    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 215    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 216    public void WriteTo(pb::CodedOutputStream output) {
 217    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 218      output.WriteRawMessage(this);
 219    #else
 220      if (HasWithCollisions) {
 221        output.WriteRawTag(8);
 222        output.WriteBool(WithCollisions);
 223      }
 224      if (HasIsPointerBlocker) {
 225        output.WriteRawTag(16);
 226        output.WriteBool(IsPointerBlocker);
 227      }
 228      if (HasVisible) {
 229        output.WriteRawTag(24);
 230        output.WriteBool(Visible);
 231      }
 232      if (_unknownFields != null) {
 233        _unknownFields.WriteTo(output);
 234      }
 235    #endif
 236    }
 237
 238    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 239    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 240    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 241    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 242      if (HasWithCollisions) {
 243        output.WriteRawTag(8);
 244        output.WriteBool(WithCollisions);
 245      }
 246      if (HasIsPointerBlocker) {
 247        output.WriteRawTag(16);
 248        output.WriteBool(IsPointerBlocker);
 249      }
 250      if (HasVisible) {
 251        output.WriteRawTag(24);
 252        output.WriteBool(Visible);
 253      }
 254      if (_unknownFields != null) {
 255        _unknownFields.WriteTo(ref output);
 256      }
 257    }
 258    #endif
 259
 260    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 261    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 262    public int CalculateSize() {
 263      int size = 0;
 264      if (HasWithCollisions) {
 265        size += 1 + 1;
 266      }
 267      if (HasIsPointerBlocker) {
 268        size += 1 + 1;
 269      }
 270      if (HasVisible) {
 271        size += 1 + 1;
 272      }
 273      if (_unknownFields != null) {
 274        size += _unknownFields.CalculateSize();
 275      }
 276      return size;
 277    }
 278
 279    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 280    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 281    public void MergeFrom(PBSphereShape other) {
 282      if (other == null) {
 283        return;
 284      }
 285      if (other.HasWithCollisions) {
 286        WithCollisions = other.WithCollisions;
 287      }
 288      if (other.HasIsPointerBlocker) {
 289        IsPointerBlocker = other.IsPointerBlocker;
 290      }
 291      if (other.HasVisible) {
 292        Visible = other.Visible;
 293      }
 294      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 295    }
 296
 297    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 298    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 299    public void MergeFrom(pb::CodedInputStream input) {
 300    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 301      input.ReadRawMessage(this);
 302    #else
 303      uint tag;
 304      while ((tag = input.ReadTag()) != 0) {
 305        switch(tag) {
 306          default:
 307            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 308            break;
 309          case 8: {
 310            WithCollisions = input.ReadBool();
 311            break;
 312          }
 313          case 16: {
 314            IsPointerBlocker = input.ReadBool();
 315            break;
 316          }
 317          case 24: {
 318            Visible = input.ReadBool();
 319            break;
 320          }
 321        }
 322      }
 323    #endif
 324    }
 325
 326    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 327    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 328    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 329    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 330      uint tag;
 331      while ((tag = input.ReadTag()) != 0) {
 332        switch(tag) {
 333          default:
 334            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 335            break;
 336          case 8: {
 337            WithCollisions = input.ReadBool();
 338            break;
 339          }
 340          case 16: {
 341            IsPointerBlocker = input.ReadBool();
 342            break;
 343          }
 344          case 24: {
 345            Visible = input.ReadBool();
 346            break;
 347          }
 348        }
 349      }
 350    }
 351    #endif
 352
 353  }
 354
 355  #endregion
 356
 357}
 358
 359#endregion Designer generated code