< Summary

Class:DCL.ECSComponents.MeshRendererReflection
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/MeshRenderer.gen.cs
Covered lines:4
Uncovered lines:0
Coverable lines:4
Total lines:1227
Line coverage:100% (4 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
MeshRendererReflection()0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/MeshRenderer.gen.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: ecs/components/MeshRenderer.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 ecs/components/MeshRenderer.proto</summary>
 15  public static partial class MeshRendererReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for ecs/components/MeshRenderer.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 3620      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static MeshRendererReflection() {
 125      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CiFlY3MvY29tcG9uZW50cy9NZXNoUmVuZGVyZXIucHJvdG8SEGRlY2VudHJh",
 28            "bGFuZC5lY3MitgMKDlBCTWVzaFJlbmRlcmVyEjcKA2JveBgBIAEoCzIoLmRl",
 29            "Y2VudHJhbGFuZC5lY3MuUEJNZXNoUmVuZGVyZXIuQm94TWVzaEgAEj0KBnNw",
 30            "aGVyZRgCIAEoCzIrLmRlY2VudHJhbGFuZC5lY3MuUEJNZXNoUmVuZGVyZXIu",
 31            "U3BoZXJlTWVzaEgAEkEKCGN5bGluZGVyGAMgASgLMi0uZGVjZW50cmFsYW5k",
 32            "LmVjcy5QQk1lc2hSZW5kZXJlci5DeWxpbmRlck1lc2hIABI7CgVwbGFuZRgE",
 33            "IAEoCzIqLmRlY2VudHJhbGFuZC5lY3MuUEJNZXNoUmVuZGVyZXIuUGxhbmVN",
 34            "ZXNoSAAaFgoHQm94TWVzaBILCgN1dnMYASADKAIaZAoMQ3lsaW5kZXJNZXNo",
 35            "EhcKCnJhZGl1c190b3AYASABKAJIAIgBARIaCg1yYWRpdXNfYm90dG9tGAIg",
 36            "ASgCSAGIAQFCDQoLX3JhZGl1c190b3BCEAoOX3JhZGl1c19ib3R0b20aGAoJ",
 37            "UGxhbmVNZXNoEgsKA3V2cxgBIAMoAhoMCgpTcGhlcmVNZXNoQgYKBG1lc2hC",
 38            "FKoCEURDTC5FQ1NDb21wb25lbnRzYgZwcm90bzM="));
 139      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 40          new pbr::FileDescriptor[] { },
 41          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 42            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshRenderer), global::DCL.ECSComponents.PB
 43            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh), global::D
 44            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh), global::DCL.
 45            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh), global::DCL
 46          }));
 147    }
 48    #endregion
 49
 50  }
 51  #region Messages
 52  public sealed partial class PBMeshRenderer : pb::IMessage<PBMeshRenderer>
 53  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 54      , pb::IBufferMessage
 55  #endif
 56  {
 57    private static readonly pb::MessageParser<PBMeshRenderer> _parser = new pb::MessageParser<PBMeshRenderer>(() => new 
 58    private pb::UnknownFieldSet _unknownFields;
 59    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 60    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 61    public static pb::MessageParser<PBMeshRenderer> Parser { get { return _parser; } }
 62
 63    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 64    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 65    public static pbr::MessageDescriptor Descriptor {
 66      get { return global::DCL.ECSComponents.MeshRendererReflection.Descriptor.MessageTypes[0]; }
 67    }
 68
 69    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 70    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 71    pbr::MessageDescriptor pb::IMessage.Descriptor {
 72      get { return Descriptor; }
 73    }
 74
 75    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 76    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 77    public PBMeshRenderer() {
 78      OnConstruction();
 79    }
 80
 81    partial void OnConstruction();
 82
 83    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 84    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 85    public PBMeshRenderer(PBMeshRenderer other) : this() {
 86      switch (other.MeshCase) {
 87        case MeshOneofCase.Box:
 88          Box = other.Box.Clone();
 89          break;
 90        case MeshOneofCase.Sphere:
 91          Sphere = other.Sphere.Clone();
 92          break;
 93        case MeshOneofCase.Cylinder:
 94          Cylinder = other.Cylinder.Clone();
 95          break;
 96        case MeshOneofCase.Plane:
 97          Plane = other.Plane.Clone();
 98          break;
 99      }
 100
 101      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 102    }
 103
 104    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 105    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 106    public PBMeshRenderer Clone() {
 107      return new PBMeshRenderer(this);
 108    }
 109
 110    /// <summary>Field number for the "box" field.</summary>
 111    public const int BoxFieldNumber = 1;
 112    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 113    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 114    public global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh Box {
 115      get { return meshCase_ == MeshOneofCase.Box ? (global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh) mesh_ : nul
 116      set {
 117        mesh_ = value;
 118        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Box;
 119      }
 120    }
 121
 122    /// <summary>Field number for the "sphere" field.</summary>
 123    public const int SphereFieldNumber = 2;
 124    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 125    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 126    public global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh Sphere {
 127      get { return meshCase_ == MeshOneofCase.Sphere ? (global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh) mesh_
 128      set {
 129        mesh_ = value;
 130        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Sphere;
 131      }
 132    }
 133
 134    /// <summary>Field number for the "cylinder" field.</summary>
 135    public const int CylinderFieldNumber = 3;
 136    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 137    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 138    public global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh Cylinder {
 139      get { return meshCase_ == MeshOneofCase.Cylinder ? (global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh) m
 140      set {
 141        mesh_ = value;
 142        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Cylinder;
 143      }
 144    }
 145
 146    /// <summary>Field number for the "plane" field.</summary>
 147    public const int PlaneFieldNumber = 4;
 148    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 149    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 150    public global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh Plane {
 151      get { return meshCase_ == MeshOneofCase.Plane ? (global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh) mesh_ :
 152      set {
 153        mesh_ = value;
 154        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Plane;
 155      }
 156    }
 157
 158    private object mesh_;
 159    /// <summary>Enum of possible cases for the "mesh" oneof.</summary>
 160    public enum MeshOneofCase {
 161      None = 0,
 162      Box = 1,
 163      Sphere = 2,
 164      Cylinder = 3,
 165      Plane = 4,
 166    }
 167    private MeshOneofCase meshCase_ = MeshOneofCase.None;
 168    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 169    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 170    public MeshOneofCase MeshCase {
 171      get { return meshCase_; }
 172    }
 173
 174    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 175    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 176    public void ClearMesh() {
 177      meshCase_ = MeshOneofCase.None;
 178      mesh_ = null;
 179    }
 180
 181    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 182    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 183    public override bool Equals(object other) {
 184      return Equals(other as PBMeshRenderer);
 185    }
 186
 187    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 188    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 189    public bool Equals(PBMeshRenderer other) {
 190      if (ReferenceEquals(other, null)) {
 191        return false;
 192      }
 193      if (ReferenceEquals(other, this)) {
 194        return true;
 195      }
 196      if (!object.Equals(Box, other.Box)) return false;
 197      if (!object.Equals(Sphere, other.Sphere)) return false;
 198      if (!object.Equals(Cylinder, other.Cylinder)) return false;
 199      if (!object.Equals(Plane, other.Plane)) return false;
 200      if (MeshCase != other.MeshCase) return false;
 201      return Equals(_unknownFields, other._unknownFields);
 202    }
 203
 204    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 205    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 206    public override int GetHashCode() {
 207      int hash = 1;
 208      if (meshCase_ == MeshOneofCase.Box) hash ^= Box.GetHashCode();
 209      if (meshCase_ == MeshOneofCase.Sphere) hash ^= Sphere.GetHashCode();
 210      if (meshCase_ == MeshOneofCase.Cylinder) hash ^= Cylinder.GetHashCode();
 211      if (meshCase_ == MeshOneofCase.Plane) hash ^= Plane.GetHashCode();
 212      hash ^= (int) meshCase_;
 213      if (_unknownFields != null) {
 214        hash ^= _unknownFields.GetHashCode();
 215      }
 216      return hash;
 217    }
 218
 219    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 220    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 221    public override string ToString() {
 222      return pb::JsonFormatter.ToDiagnosticString(this);
 223    }
 224
 225    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 226    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 227    public void WriteTo(pb::CodedOutputStream output) {
 228    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 229      output.WriteRawMessage(this);
 230    #else
 231      if (meshCase_ == MeshOneofCase.Box) {
 232        output.WriteRawTag(10);
 233        output.WriteMessage(Box);
 234      }
 235      if (meshCase_ == MeshOneofCase.Sphere) {
 236        output.WriteRawTag(18);
 237        output.WriteMessage(Sphere);
 238      }
 239      if (meshCase_ == MeshOneofCase.Cylinder) {
 240        output.WriteRawTag(26);
 241        output.WriteMessage(Cylinder);
 242      }
 243      if (meshCase_ == MeshOneofCase.Plane) {
 244        output.WriteRawTag(34);
 245        output.WriteMessage(Plane);
 246      }
 247      if (_unknownFields != null) {
 248        _unknownFields.WriteTo(output);
 249      }
 250    #endif
 251    }
 252
 253    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 254    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 255    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 256    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 257      if (meshCase_ == MeshOneofCase.Box) {
 258        output.WriteRawTag(10);
 259        output.WriteMessage(Box);
 260      }
 261      if (meshCase_ == MeshOneofCase.Sphere) {
 262        output.WriteRawTag(18);
 263        output.WriteMessage(Sphere);
 264      }
 265      if (meshCase_ == MeshOneofCase.Cylinder) {
 266        output.WriteRawTag(26);
 267        output.WriteMessage(Cylinder);
 268      }
 269      if (meshCase_ == MeshOneofCase.Plane) {
 270        output.WriteRawTag(34);
 271        output.WriteMessage(Plane);
 272      }
 273      if (_unknownFields != null) {
 274        _unknownFields.WriteTo(ref output);
 275      }
 276    }
 277    #endif
 278
 279    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 280    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 281    public int CalculateSize() {
 282      int size = 0;
 283      if (meshCase_ == MeshOneofCase.Box) {
 284        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Box);
 285      }
 286      if (meshCase_ == MeshOneofCase.Sphere) {
 287        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sphere);
 288      }
 289      if (meshCase_ == MeshOneofCase.Cylinder) {
 290        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cylinder);
 291      }
 292      if (meshCase_ == MeshOneofCase.Plane) {
 293        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Plane);
 294      }
 295      if (_unknownFields != null) {
 296        size += _unknownFields.CalculateSize();
 297      }
 298      return size;
 299    }
 300
 301    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 302    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 303    public void MergeFrom(PBMeshRenderer other) {
 304      if (other == null) {
 305        return;
 306      }
 307      switch (other.MeshCase) {
 308        case MeshOneofCase.Box:
 309          if (Box == null) {
 310            Box = new global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh();
 311          }
 312          Box.MergeFrom(other.Box);
 313          break;
 314        case MeshOneofCase.Sphere:
 315          if (Sphere == null) {
 316            Sphere = new global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh();
 317          }
 318          Sphere.MergeFrom(other.Sphere);
 319          break;
 320        case MeshOneofCase.Cylinder:
 321          if (Cylinder == null) {
 322            Cylinder = new global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh();
 323          }
 324          Cylinder.MergeFrom(other.Cylinder);
 325          break;
 326        case MeshOneofCase.Plane:
 327          if (Plane == null) {
 328            Plane = new global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh();
 329          }
 330          Plane.MergeFrom(other.Plane);
 331          break;
 332      }
 333
 334      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 335    }
 336
 337    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 338    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 339    public void MergeFrom(pb::CodedInputStream input) {
 340    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 341      input.ReadRawMessage(this);
 342    #else
 343      uint tag;
 344      while ((tag = input.ReadTag()) != 0) {
 345        switch(tag) {
 346          default:
 347            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 348            break;
 349          case 10: {
 350            global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshRend
 351            if (meshCase_ == MeshOneofCase.Box) {
 352              subBuilder.MergeFrom(Box);
 353            }
 354            input.ReadMessage(subBuilder);
 355            Box = subBuilder;
 356            break;
 357          }
 358          case 18: {
 359            global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshR
 360            if (meshCase_ == MeshOneofCase.Sphere) {
 361              subBuilder.MergeFrom(Sphere);
 362            }
 363            input.ReadMessage(subBuilder);
 364            Sphere = subBuilder;
 365            break;
 366          }
 367          case 26: {
 368            global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 369            if (meshCase_ == MeshOneofCase.Cylinder) {
 370              subBuilder.MergeFrom(Cylinder);
 371            }
 372            input.ReadMessage(subBuilder);
 373            Cylinder = subBuilder;
 374            break;
 375          }
 376          case 34: {
 377            global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshRe
 378            if (meshCase_ == MeshOneofCase.Plane) {
 379              subBuilder.MergeFrom(Plane);
 380            }
 381            input.ReadMessage(subBuilder);
 382            Plane = subBuilder;
 383            break;
 384          }
 385        }
 386      }
 387    #endif
 388    }
 389
 390    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 391    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 392    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 393    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 394      uint tag;
 395      while ((tag = input.ReadTag()) != 0) {
 396        switch(tag) {
 397          default:
 398            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 399            break;
 400          case 10: {
 401            global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshRend
 402            if (meshCase_ == MeshOneofCase.Box) {
 403              subBuilder.MergeFrom(Box);
 404            }
 405            input.ReadMessage(subBuilder);
 406            Box = subBuilder;
 407            break;
 408          }
 409          case 18: {
 410            global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshR
 411            if (meshCase_ == MeshOneofCase.Sphere) {
 412              subBuilder.MergeFrom(Sphere);
 413            }
 414            input.ReadMessage(subBuilder);
 415            Sphere = subBuilder;
 416            break;
 417          }
 418          case 26: {
 419            global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 420            if (meshCase_ == MeshOneofCase.Cylinder) {
 421              subBuilder.MergeFrom(Cylinder);
 422            }
 423            input.ReadMessage(subBuilder);
 424            Cylinder = subBuilder;
 425            break;
 426          }
 427          case 34: {
 428            global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshRe
 429            if (meshCase_ == MeshOneofCase.Plane) {
 430              subBuilder.MergeFrom(Plane);
 431            }
 432            input.ReadMessage(subBuilder);
 433            Plane = subBuilder;
 434            break;
 435          }
 436        }
 437      }
 438    }
 439    #endif
 440
 441    #region Nested types
 442    /// <summary>Container for nested types declared in the PBMeshRenderer message type.</summary>
 443    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 444    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 445    public static partial class Types {
 446      public sealed partial class BoxMesh : pb::IMessage<BoxMesh>
 447      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 448          , pb::IBufferMessage
 449      #endif
 450      {
 451        private static readonly pb::MessageParser<BoxMesh> _parser = new pb::MessageParser<BoxMesh>(() => new BoxMesh())
 452        private pb::UnknownFieldSet _unknownFields;
 453        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 454        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 455        public static pb::MessageParser<BoxMesh> Parser { get { return _parser; } }
 456
 457        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 458        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 459        public static pbr::MessageDescriptor Descriptor {
 460          get { return global::DCL.ECSComponents.PBMeshRenderer.Descriptor.NestedTypes[0]; }
 461        }
 462
 463        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 464        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 465        pbr::MessageDescriptor pb::IMessage.Descriptor {
 466          get { return Descriptor; }
 467        }
 468
 469        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 470        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 471        public BoxMesh() {
 472          OnConstruction();
 473        }
 474
 475        partial void OnConstruction();
 476
 477        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 478        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 479        public BoxMesh(BoxMesh other) : this() {
 480          uvs_ = other.uvs_.Clone();
 481          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 482        }
 483
 484        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 485        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 486        public BoxMesh Clone() {
 487          return new BoxMesh(this);
 488        }
 489
 490        /// <summary>Field number for the "uvs" field.</summary>
 491        public const int UvsFieldNumber = 1;
 492        private static readonly pb::FieldCodec<float> _repeated_uvs_codec
 493            = pb::FieldCodec.ForFloat(10);
 494        private readonly pbc::RepeatedField<float> uvs_ = new pbc::RepeatedField<float>();
 495        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 496        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 497        public pbc::RepeatedField<float> Uvs {
 498          get { return uvs_; }
 499        }
 500
 501        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 502        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 503        public override bool Equals(object other) {
 504          return Equals(other as BoxMesh);
 505        }
 506
 507        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 508        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 509        public bool Equals(BoxMesh other) {
 510          if (ReferenceEquals(other, null)) {
 511            return false;
 512          }
 513          if (ReferenceEquals(other, this)) {
 514            return true;
 515          }
 516          if(!uvs_.Equals(other.uvs_)) return false;
 517          return Equals(_unknownFields, other._unknownFields);
 518        }
 519
 520        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 521        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 522        public override int GetHashCode() {
 523          int hash = 1;
 524          hash ^= uvs_.GetHashCode();
 525          if (_unknownFields != null) {
 526            hash ^= _unknownFields.GetHashCode();
 527          }
 528          return hash;
 529        }
 530
 531        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 532        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 533        public override string ToString() {
 534          return pb::JsonFormatter.ToDiagnosticString(this);
 535        }
 536
 537        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 538        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 539        public void WriteTo(pb::CodedOutputStream output) {
 540        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 541          output.WriteRawMessage(this);
 542        #else
 543          uvs_.WriteTo(output, _repeated_uvs_codec);
 544          if (_unknownFields != null) {
 545            _unknownFields.WriteTo(output);
 546          }
 547        #endif
 548        }
 549
 550        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 551        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 552        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 553        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 554          uvs_.WriteTo(ref output, _repeated_uvs_codec);
 555          if (_unknownFields != null) {
 556            _unknownFields.WriteTo(ref output);
 557          }
 558        }
 559        #endif
 560
 561        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 562        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 563        public int CalculateSize() {
 564          int size = 0;
 565          size += uvs_.CalculateSize(_repeated_uvs_codec);
 566          if (_unknownFields != null) {
 567            size += _unknownFields.CalculateSize();
 568          }
 569          return size;
 570        }
 571
 572        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 573        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 574        public void MergeFrom(BoxMesh other) {
 575          if (other == null) {
 576            return;
 577          }
 578          uvs_.Add(other.uvs_);
 579          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 580        }
 581
 582        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 583        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 584        public void MergeFrom(pb::CodedInputStream input) {
 585        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 586          input.ReadRawMessage(this);
 587        #else
 588          uint tag;
 589          while ((tag = input.ReadTag()) != 0) {
 590            switch(tag) {
 591              default:
 592                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 593                break;
 594              case 10:
 595              case 13: {
 596                uvs_.AddEntriesFrom(input, _repeated_uvs_codec);
 597                break;
 598              }
 599            }
 600          }
 601        #endif
 602        }
 603
 604        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 605        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 606        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 607        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 608          uint tag;
 609          while ((tag = input.ReadTag()) != 0) {
 610            switch(tag) {
 611              default:
 612                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 613                break;
 614              case 10:
 615              case 13: {
 616                uvs_.AddEntriesFrom(ref input, _repeated_uvs_codec);
 617                break;
 618              }
 619            }
 620          }
 621        }
 622        #endif
 623
 624      }
 625
 626      public sealed partial class CylinderMesh : pb::IMessage<CylinderMesh>
 627      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 628          , pb::IBufferMessage
 629      #endif
 630      {
 631        private static readonly pb::MessageParser<CylinderMesh> _parser = new pb::MessageParser<CylinderMesh>(() => new 
 632        private pb::UnknownFieldSet _unknownFields;
 633        private int _hasBits0;
 634        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 635        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 636        public static pb::MessageParser<CylinderMesh> Parser { get { return _parser; } }
 637
 638        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 639        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 640        public static pbr::MessageDescriptor Descriptor {
 641          get { return global::DCL.ECSComponents.PBMeshRenderer.Descriptor.NestedTypes[1]; }
 642        }
 643
 644        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 645        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 646        pbr::MessageDescriptor pb::IMessage.Descriptor {
 647          get { return Descriptor; }
 648        }
 649
 650        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 651        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 652        public CylinderMesh() {
 653          OnConstruction();
 654        }
 655
 656        partial void OnConstruction();
 657
 658        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 659        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 660        public CylinderMesh(CylinderMesh other) : this() {
 661          _hasBits0 = other._hasBits0;
 662          radiusTop_ = other.radiusTop_;
 663          radiusBottom_ = other.radiusBottom_;
 664          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 665        }
 666
 667        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 668        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 669        public CylinderMesh Clone() {
 670          return new CylinderMesh(this);
 671        }
 672
 673        /// <summary>Field number for the "radius_top" field.</summary>
 674        public const int RadiusTopFieldNumber = 1;
 675        private float radiusTop_;
 676        /// <summary>
 677        /// default=1.0
 678        /// </summary>
 679        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 680        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 681        public float RadiusTop {
 682          get { if ((_hasBits0 & 1) != 0) { return radiusTop_; } else { return 0F; } }
 683          set {
 684            _hasBits0 |= 1;
 685            radiusTop_ = value;
 686          }
 687        }
 688        /// <summary>Gets whether the "radius_top" field is set</summary>
 689        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 690        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 691        public bool HasRadiusTop {
 692          get { return (_hasBits0 & 1) != 0; }
 693        }
 694        /// <summary>Clears the value of the "radius_top" field</summary>
 695        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 696        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 697        public void ClearRadiusTop() {
 698          _hasBits0 &= ~1;
 699        }
 700
 701        /// <summary>Field number for the "radius_bottom" field.</summary>
 702        public const int RadiusBottomFieldNumber = 2;
 703        private float radiusBottom_;
 704        /// <summary>
 705        /// default=1.0
 706        /// </summary>
 707        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 708        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 709        public float RadiusBottom {
 710          get { if ((_hasBits0 & 2) != 0) { return radiusBottom_; } else { return 0F; } }
 711          set {
 712            _hasBits0 |= 2;
 713            radiusBottom_ = value;
 714          }
 715        }
 716        /// <summary>Gets whether the "radius_bottom" field is set</summary>
 717        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 718        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 719        public bool HasRadiusBottom {
 720          get { return (_hasBits0 & 2) != 0; }
 721        }
 722        /// <summary>Clears the value of the "radius_bottom" field</summary>
 723        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 724        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 725        public void ClearRadiusBottom() {
 726          _hasBits0 &= ~2;
 727        }
 728
 729        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 730        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 731        public override bool Equals(object other) {
 732          return Equals(other as CylinderMesh);
 733        }
 734
 735        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 736        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 737        public bool Equals(CylinderMesh other) {
 738          if (ReferenceEquals(other, null)) {
 739            return false;
 740          }
 741          if (ReferenceEquals(other, this)) {
 742            return true;
 743          }
 744          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return f
 745          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) re
 746          return Equals(_unknownFields, other._unknownFields);
 747        }
 748
 749        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 750        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 751        public override int GetHashCode() {
 752          int hash = 1;
 753          if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop);
 754          if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBo
 755          if (_unknownFields != null) {
 756            hash ^= _unknownFields.GetHashCode();
 757          }
 758          return hash;
 759        }
 760
 761        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 762        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 763        public override string ToString() {
 764          return pb::JsonFormatter.ToDiagnosticString(this);
 765        }
 766
 767        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 768        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 769        public void WriteTo(pb::CodedOutputStream output) {
 770        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 771          output.WriteRawMessage(this);
 772        #else
 773          if (HasRadiusTop) {
 774            output.WriteRawTag(13);
 775            output.WriteFloat(RadiusTop);
 776          }
 777          if (HasRadiusBottom) {
 778            output.WriteRawTag(21);
 779            output.WriteFloat(RadiusBottom);
 780          }
 781          if (_unknownFields != null) {
 782            _unknownFields.WriteTo(output);
 783          }
 784        #endif
 785        }
 786
 787        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 788        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 789        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 790        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 791          if (HasRadiusTop) {
 792            output.WriteRawTag(13);
 793            output.WriteFloat(RadiusTop);
 794          }
 795          if (HasRadiusBottom) {
 796            output.WriteRawTag(21);
 797            output.WriteFloat(RadiusBottom);
 798          }
 799          if (_unknownFields != null) {
 800            _unknownFields.WriteTo(ref output);
 801          }
 802        }
 803        #endif
 804
 805        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 806        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 807        public int CalculateSize() {
 808          int size = 0;
 809          if (HasRadiusTop) {
 810            size += 1 + 4;
 811          }
 812          if (HasRadiusBottom) {
 813            size += 1 + 4;
 814          }
 815          if (_unknownFields != null) {
 816            size += _unknownFields.CalculateSize();
 817          }
 818          return size;
 819        }
 820
 821        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 822        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 823        public void MergeFrom(CylinderMesh other) {
 824          if (other == null) {
 825            return;
 826          }
 827          if (other.HasRadiusTop) {
 828            RadiusTop = other.RadiusTop;
 829          }
 830          if (other.HasRadiusBottom) {
 831            RadiusBottom = other.RadiusBottom;
 832          }
 833          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 834        }
 835
 836        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 837        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 838        public void MergeFrom(pb::CodedInputStream input) {
 839        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 840          input.ReadRawMessage(this);
 841        #else
 842          uint tag;
 843          while ((tag = input.ReadTag()) != 0) {
 844            switch(tag) {
 845              default:
 846                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 847                break;
 848              case 13: {
 849                RadiusTop = input.ReadFloat();
 850                break;
 851              }
 852              case 21: {
 853                RadiusBottom = input.ReadFloat();
 854                break;
 855              }
 856            }
 857          }
 858        #endif
 859        }
 860
 861        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 862        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 863        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 864        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 865          uint tag;
 866          while ((tag = input.ReadTag()) != 0) {
 867            switch(tag) {
 868              default:
 869                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 870                break;
 871              case 13: {
 872                RadiusTop = input.ReadFloat();
 873                break;
 874              }
 875              case 21: {
 876                RadiusBottom = input.ReadFloat();
 877                break;
 878              }
 879            }
 880          }
 881        }
 882        #endif
 883
 884      }
 885
 886      public sealed partial class PlaneMesh : pb::IMessage<PlaneMesh>
 887      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 888          , pb::IBufferMessage
 889      #endif
 890      {
 891        private static readonly pb::MessageParser<PlaneMesh> _parser = new pb::MessageParser<PlaneMesh>(() => new PlaneM
 892        private pb::UnknownFieldSet _unknownFields;
 893        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 894        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 895        public static pb::MessageParser<PlaneMesh> Parser { get { return _parser; } }
 896
 897        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 898        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 899        public static pbr::MessageDescriptor Descriptor {
 900          get { return global::DCL.ECSComponents.PBMeshRenderer.Descriptor.NestedTypes[2]; }
 901        }
 902
 903        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 904        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 905        pbr::MessageDescriptor pb::IMessage.Descriptor {
 906          get { return Descriptor; }
 907        }
 908
 909        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 910        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 911        public PlaneMesh() {
 912          OnConstruction();
 913        }
 914
 915        partial void OnConstruction();
 916
 917        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 918        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 919        public PlaneMesh(PlaneMesh other) : this() {
 920          uvs_ = other.uvs_.Clone();
 921          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 922        }
 923
 924        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 925        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 926        public PlaneMesh Clone() {
 927          return new PlaneMesh(this);
 928        }
 929
 930        /// <summary>Field number for the "uvs" field.</summary>
 931        public const int UvsFieldNumber = 1;
 932        private static readonly pb::FieldCodec<float> _repeated_uvs_codec
 933            = pb::FieldCodec.ForFloat(10);
 934        private readonly pbc::RepeatedField<float> uvs_ = new pbc::RepeatedField<float>();
 935        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 936        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 937        public pbc::RepeatedField<float> Uvs {
 938          get { return uvs_; }
 939        }
 940
 941        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 942        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 943        public override bool Equals(object other) {
 944          return Equals(other as PlaneMesh);
 945        }
 946
 947        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 948        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 949        public bool Equals(PlaneMesh other) {
 950          if (ReferenceEquals(other, null)) {
 951            return false;
 952          }
 953          if (ReferenceEquals(other, this)) {
 954            return true;
 955          }
 956          if(!uvs_.Equals(other.uvs_)) return false;
 957          return Equals(_unknownFields, other._unknownFields);
 958        }
 959
 960        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 961        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 962        public override int GetHashCode() {
 963          int hash = 1;
 964          hash ^= uvs_.GetHashCode();
 965          if (_unknownFields != null) {
 966            hash ^= _unknownFields.GetHashCode();
 967          }
 968          return hash;
 969        }
 970
 971        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 972        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 973        public override string ToString() {
 974          return pb::JsonFormatter.ToDiagnosticString(this);
 975        }
 976
 977        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 978        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 979        public void WriteTo(pb::CodedOutputStream output) {
 980        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 981          output.WriteRawMessage(this);
 982        #else
 983          uvs_.WriteTo(output, _repeated_uvs_codec);
 984          if (_unknownFields != null) {
 985            _unknownFields.WriteTo(output);
 986          }
 987        #endif
 988        }
 989
 990        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 991        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 992        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 993        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 994          uvs_.WriteTo(ref output, _repeated_uvs_codec);
 995          if (_unknownFields != null) {
 996            _unknownFields.WriteTo(ref output);
 997          }
 998        }
 999        #endif
 1000
 1001        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1002        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1003        public int CalculateSize() {
 1004          int size = 0;
 1005          size += uvs_.CalculateSize(_repeated_uvs_codec);
 1006          if (_unknownFields != null) {
 1007            size += _unknownFields.CalculateSize();
 1008          }
 1009          return size;
 1010        }
 1011
 1012        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1013        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1014        public void MergeFrom(PlaneMesh other) {
 1015          if (other == null) {
 1016            return;
 1017          }
 1018          uvs_.Add(other.uvs_);
 1019          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1020        }
 1021
 1022        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1023        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1024        public void MergeFrom(pb::CodedInputStream input) {
 1025        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1026          input.ReadRawMessage(this);
 1027        #else
 1028          uint tag;
 1029          while ((tag = input.ReadTag()) != 0) {
 1030            switch(tag) {
 1031              default:
 1032                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1033                break;
 1034              case 10:
 1035              case 13: {
 1036                uvs_.AddEntriesFrom(input, _repeated_uvs_codec);
 1037                break;
 1038              }
 1039            }
 1040          }
 1041        #endif
 1042        }
 1043
 1044        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1045        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1046        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1047        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1048          uint tag;
 1049          while ((tag = input.ReadTag()) != 0) {
 1050            switch(tag) {
 1051              default:
 1052                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1053                break;
 1054              case 10:
 1055              case 13: {
 1056                uvs_.AddEntriesFrom(ref input, _repeated_uvs_codec);
 1057                break;
 1058              }
 1059            }
 1060          }
 1061        }
 1062        #endif
 1063
 1064      }
 1065
 1066      public sealed partial class SphereMesh : pb::IMessage<SphereMesh>
 1067      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1068          , pb::IBufferMessage
 1069      #endif
 1070      {
 1071        private static readonly pb::MessageParser<SphereMesh> _parser = new pb::MessageParser<SphereMesh>(() => new Sphe
 1072        private pb::UnknownFieldSet _unknownFields;
 1073        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1074        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1075        public static pb::MessageParser<SphereMesh> Parser { get { return _parser; } }
 1076
 1077        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1078        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1079        public static pbr::MessageDescriptor Descriptor {
 1080          get { return global::DCL.ECSComponents.PBMeshRenderer.Descriptor.NestedTypes[3]; }
 1081        }
 1082
 1083        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1084        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1085        pbr::MessageDescriptor pb::IMessage.Descriptor {
 1086          get { return Descriptor; }
 1087        }
 1088
 1089        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1090        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1091        public SphereMesh() {
 1092          OnConstruction();
 1093        }
 1094
 1095        partial void OnConstruction();
 1096
 1097        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1098        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1099        public SphereMesh(SphereMesh other) : this() {
 1100          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 1101        }
 1102
 1103        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1104        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1105        public SphereMesh Clone() {
 1106          return new SphereMesh(this);
 1107        }
 1108
 1109        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1110        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1111        public override bool Equals(object other) {
 1112          return Equals(other as SphereMesh);
 1113        }
 1114
 1115        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1116        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1117        public bool Equals(SphereMesh other) {
 1118          if (ReferenceEquals(other, null)) {
 1119            return false;
 1120          }
 1121          if (ReferenceEquals(other, this)) {
 1122            return true;
 1123          }
 1124          return Equals(_unknownFields, other._unknownFields);
 1125        }
 1126
 1127        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1128        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1129        public override int GetHashCode() {
 1130          int hash = 1;
 1131          if (_unknownFields != null) {
 1132            hash ^= _unknownFields.GetHashCode();
 1133          }
 1134          return hash;
 1135        }
 1136
 1137        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1138        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1139        public override string ToString() {
 1140          return pb::JsonFormatter.ToDiagnosticString(this);
 1141        }
 1142
 1143        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1144        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1145        public void WriteTo(pb::CodedOutputStream output) {
 1146        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1147          output.WriteRawMessage(this);
 1148        #else
 1149          if (_unknownFields != null) {
 1150            _unknownFields.WriteTo(output);
 1151          }
 1152        #endif
 1153        }
 1154
 1155        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1156        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1157        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1158        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1159          if (_unknownFields != null) {
 1160            _unknownFields.WriteTo(ref output);
 1161          }
 1162        }
 1163        #endif
 1164
 1165        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1166        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1167        public int CalculateSize() {
 1168          int size = 0;
 1169          if (_unknownFields != null) {
 1170            size += _unknownFields.CalculateSize();
 1171          }
 1172          return size;
 1173        }
 1174
 1175        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1176        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1177        public void MergeFrom(SphereMesh other) {
 1178          if (other == null) {
 1179            return;
 1180          }
 1181          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1182        }
 1183
 1184        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1185        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1186        public void MergeFrom(pb::CodedInputStream input) {
 1187        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1188          input.ReadRawMessage(this);
 1189        #else
 1190          uint tag;
 1191          while ((tag = input.ReadTag()) != 0) {
 1192            switch(tag) {
 1193              default:
 1194                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1195                break;
 1196            }
 1197          }
 1198        #endif
 1199        }
 1200
 1201        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1202        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1203        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1204        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1205          uint tag;
 1206          while ((tag = input.ReadTag()) != 0) {
 1207            switch(tag) {
 1208              default:
 1209                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1210                break;
 1211            }
 1212          }
 1213        }
 1214        #endif
 1215
 1216      }
 1217
 1218    }
 1219    #endregion
 1220
 1221  }
 1222
 1223  #endregion
 1224
 1225}
 1226
 1227#endregion Designer generated code