< Summary

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

Metrics

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

File(s)

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

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