< Summary

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

Metrics

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

File(s)

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

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

Methods/Properties

Descriptor()
BillboardReflection()