< Summary

Class:Micromissiles.CartesianCoordinates
Assembly:bamlab.micromissiles
File(s):/github/workspace/Assets/Scripts/Generated/Protobuf/Coordinates.cs
Covered lines:0
Uncovered lines:184
Coverable lines:184
Total lines:736
Line coverage:0% (0 of 184)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:29
Method coverage:0% (0 of 29)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
CartesianCoordinates()0%2100%
get_Descriptor()0%2100%
CartesianCoordinates()0%2100%
CartesianCoordinates(...)0%2100%
Clone()0%2100%
Equals(...)0%2100%
Equals(...)0%90900%
GetHashCode()0%72800%
ToString()0%2100%
WriteTo(...)0%2100%
InternalWriteTo(...)0%72800%
CalculateSize()0%72800%
MergeFrom(...)0%72800%
MergeFrom(...)0%2100%
InternalMergeFrom(...)0%1101000%

File(s)

/github/workspace/Assets/Scripts/Generated/Protobuf/Coordinates.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: configs/proto/coordinates.proto
 4// </auto-generated>
 5#pragma warning disable 1591, 0612, 3021, 8981
 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 Micromissiles {
 13
 14  /// <summary>Holder for reflection information generated from configs/proto/coordinates.proto</summary>
 15  public static partial class CoordinatesReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for configs/proto/coordinates.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static CoordinatesReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "Ch9jb25maWdzL3Byb3RvL2Nvb3JkaW5hdGVzLnByb3RvEg1taWNyb21pc3Np",
 28            "bGVzImEKFENhcnRlc2lhbkNvb3JkaW5hdGVzEgkKAXgYASABKAISCQoBeRgC",
 29            "IAEoAhIJCgF6GAMgASgCEgwKBHJvbGwYBCABKAISDQoFcGl0Y2gYBSABKAIS",
 30            "CwoDeWF3GAYgASgCIkkKFFNwaGVyaWNhbENvb3JkaW5hdGVzEg0KBXJhbmdl",
 31            "GAEgASgCEg8KB2F6aW11dGgYAiABKAISEQoJZWxldmF0aW9uGAMgASgCYgZw",
 32            "cm90bzM="));
 33      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 34          new pbr::FileDescriptor[] { },
 35          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 36            new pbr::GeneratedClrTypeInfo(typeof(global::Micromissiles.CartesianCoordinates), global::Micromissiles.Cart
 37            new pbr::GeneratedClrTypeInfo(typeof(global::Micromissiles.SphericalCoordinates), global::Micromissiles.Sphe
 38          }));
 39    }
 40    #endregion
 41
 42  }
 43  #region Messages
 44  /// <summary>
 45  /// Cartesian coordinates.
 46  /// </summary>
 47  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
 48  public sealed partial class CartesianCoordinates : pb::IMessage<CartesianCoordinates>
 49  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 50      , pb::IBufferMessage
 51  #endif
 52  {
 053    private static readonly pb::MessageParser<CartesianCoordinates> _parser = new pb::MessageParser<CartesianCoordinates
 54    private pb::UnknownFieldSet _unknownFields;
 55    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 56    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 057    public static pb::MessageParser<CartesianCoordinates> Parser { get { return _parser; } }
 58
 59    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 60    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 61    public static pbr::MessageDescriptor Descriptor {
 062      get { return global::Micromissiles.CoordinatesReflection.Descriptor.MessageTypes[0]; }
 63    }
 64
 65    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 66    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 67    pbr::MessageDescriptor pb::IMessage.Descriptor {
 068      get { return Descriptor; }
 69    }
 70
 71    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 72    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 073    public CartesianCoordinates() {
 74      OnConstruction();
 075    }
 76
 77    partial void OnConstruction();
 78
 79    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 80    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 081    public CartesianCoordinates(CartesianCoordinates other) : this() {
 082      x_ = other.x_;
 083      y_ = other.y_;
 084      z_ = other.z_;
 085      roll_ = other.roll_;
 086      pitch_ = other.pitch_;
 087      yaw_ = other.yaw_;
 088      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 089    }
 90
 91    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 92    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 093    public CartesianCoordinates Clone() {
 094      return new CartesianCoordinates(this);
 095    }
 96
 97    /// <summary>Field number for the "x" field.</summary>
 98    public const int XFieldNumber = 1;
 99    private float x_;
 100    /// <summary>
 101    /// x-coordinate.
 102    /// </summary>
 103    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 104    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 105    public float X {
 0106      get { return x_; }
 0107      set {
 0108        x_ = value;
 0109      }
 110    }
 111
 112    /// <summary>Field number for the "y" field.</summary>
 113    public const int YFieldNumber = 2;
 114    private float y_;
 115    /// <summary>
 116    /// y-coordinate.
 117    /// </summary>
 118    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 119    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 120    public float Y {
 0121      get { return y_; }
 0122      set {
 0123        y_ = value;
 0124      }
 125    }
 126
 127    /// <summary>Field number for the "z" field.</summary>
 128    public const int ZFieldNumber = 3;
 129    private float z_;
 130    /// <summary>
 131    /// z-coordinate.
 132    /// </summary>
 133    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 134    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 135    public float Z {
 0136      get { return z_; }
 0137      set {
 0138        z_ = value;
 0139      }
 140    }
 141
 142    /// <summary>Field number for the "roll" field.</summary>
 143    public const int RollFieldNumber = 4;
 144    private float roll_;
 145    /// <summary>
 146    /// Roll.
 147    /// </summary>
 148    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 149    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 150    public float Roll {
 0151      get { return roll_; }
 0152      set {
 0153        roll_ = value;
 0154      }
 155    }
 156
 157    /// <summary>Field number for the "pitch" field.</summary>
 158    public const int PitchFieldNumber = 5;
 159    private float pitch_;
 160    /// <summary>
 161    /// Pitch.
 162    /// </summary>
 163    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 164    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 165    public float Pitch {
 0166      get { return pitch_; }
 0167      set {
 0168        pitch_ = value;
 0169      }
 170    }
 171
 172    /// <summary>Field number for the "yaw" field.</summary>
 173    public const int YawFieldNumber = 6;
 174    private float yaw_;
 175    /// <summary>
 176    /// Yaw.
 177    /// </summary>
 178    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 179    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 180    public float Yaw {
 0181      get { return yaw_; }
 0182      set {
 0183        yaw_ = value;
 0184      }
 185    }
 186
 187    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 188    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0189    public override bool Equals(object other) {
 0190      return Equals(other as CartesianCoordinates);
 0191    }
 192
 193    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 194    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0195    public bool Equals(CartesianCoordinates other) {
 0196      if (ReferenceEquals(other, null)) {
 0197        return false;
 198      }
 0199      if (ReferenceEquals(other, this)) {
 0200        return true;
 201      }
 0202      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false;
 0203      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false;
 0204      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false;
 0205      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Roll, other.Roll)) return false;
 0206      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Pitch, other.Pitch)) return false;
 0207      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Yaw, other.Yaw)) return false;
 0208      return Equals(_unknownFields, other._unknownFields);
 0209    }
 210
 211    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 212    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0213    public override int GetHashCode() {
 0214      int hash = 1;
 0215      if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X);
 0216      if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y);
 0217      if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z);
 0218      if (Roll != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Roll);
 0219      if (Pitch != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Pitch);
 0220      if (Yaw != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Yaw);
 0221      if (_unknownFields != null) {
 0222        hash ^= _unknownFields.GetHashCode();
 0223      }
 0224      return hash;
 0225    }
 226
 227    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 228    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0229    public override string ToString() {
 0230      return pb::JsonFormatter.ToDiagnosticString(this);
 0231    }
 232
 233    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 234    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0235    public void WriteTo(pb::CodedOutputStream output) {
 236    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 0237      output.WriteRawMessage(this);
 238    #else
 239      if (X != 0F) {
 240        output.WriteRawTag(13);
 241        output.WriteFloat(X);
 242      }
 243      if (Y != 0F) {
 244        output.WriteRawTag(21);
 245        output.WriteFloat(Y);
 246      }
 247      if (Z != 0F) {
 248        output.WriteRawTag(29);
 249        output.WriteFloat(Z);
 250      }
 251      if (Roll != 0F) {
 252        output.WriteRawTag(37);
 253        output.WriteFloat(Roll);
 254      }
 255      if (Pitch != 0F) {
 256        output.WriteRawTag(45);
 257        output.WriteFloat(Pitch);
 258      }
 259      if (Yaw != 0F) {
 260        output.WriteRawTag(53);
 261        output.WriteFloat(Yaw);
 262      }
 263      if (_unknownFields != null) {
 264        _unknownFields.WriteTo(output);
 265      }
 266    #endif
 0267    }
 268
 269    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 270    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 271    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0272    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 0273      if (X != 0F) {
 0274        output.WriteRawTag(13);
 0275        output.WriteFloat(X);
 0276      }
 0277      if (Y != 0F) {
 0278        output.WriteRawTag(21);
 0279        output.WriteFloat(Y);
 0280      }
 0281      if (Z != 0F) {
 0282        output.WriteRawTag(29);
 0283        output.WriteFloat(Z);
 0284      }
 0285      if (Roll != 0F) {
 0286        output.WriteRawTag(37);
 0287        output.WriteFloat(Roll);
 0288      }
 0289      if (Pitch != 0F) {
 0290        output.WriteRawTag(45);
 0291        output.WriteFloat(Pitch);
 0292      }
 0293      if (Yaw != 0F) {
 0294        output.WriteRawTag(53);
 0295        output.WriteFloat(Yaw);
 0296      }
 0297      if (_unknownFields != null) {
 0298        _unknownFields.WriteTo(ref output);
 0299      }
 0300    }
 301    #endif
 302
 303    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 304    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0305    public int CalculateSize() {
 0306      int size = 0;
 0307      if (X != 0F) {
 0308        size += 1 + 4;
 0309      }
 0310      if (Y != 0F) {
 0311        size += 1 + 4;
 0312      }
 0313      if (Z != 0F) {
 0314        size += 1 + 4;
 0315      }
 0316      if (Roll != 0F) {
 0317        size += 1 + 4;
 0318      }
 0319      if (Pitch != 0F) {
 0320        size += 1 + 4;
 0321      }
 0322      if (Yaw != 0F) {
 0323        size += 1 + 4;
 0324      }
 0325      if (_unknownFields != null) {
 0326        size += _unknownFields.CalculateSize();
 0327      }
 0328      return size;
 0329    }
 330
 331    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 332    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0333    public void MergeFrom(CartesianCoordinates other) {
 0334      if (other == null) {
 0335        return;
 336      }
 0337      if (other.X != 0F) {
 0338        X = other.X;
 0339      }
 0340      if (other.Y != 0F) {
 0341        Y = other.Y;
 0342      }
 0343      if (other.Z != 0F) {
 0344        Z = other.Z;
 0345      }
 0346      if (other.Roll != 0F) {
 0347        Roll = other.Roll;
 0348      }
 0349      if (other.Pitch != 0F) {
 0350        Pitch = other.Pitch;
 0351      }
 0352      if (other.Yaw != 0F) {
 0353        Yaw = other.Yaw;
 0354      }
 0355      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0356    }
 357
 358    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 359    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0360    public void MergeFrom(pb::CodedInputStream input) {
 361    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 0362      input.ReadRawMessage(this);
 363    #else
 364      uint tag;
 365      while ((tag = input.ReadTag()) != 0) {
 366      if ((tag & 7) == 4) {
 367        // Abort on any end group tag.
 368        return;
 369      }
 370      switch(tag) {
 371          default:
 372            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 373            break;
 374          case 13: {
 375            X = input.ReadFloat();
 376            break;
 377          }
 378          case 21: {
 379            Y = input.ReadFloat();
 380            break;
 381          }
 382          case 29: {
 383            Z = input.ReadFloat();
 384            break;
 385          }
 386          case 37: {
 387            Roll = input.ReadFloat();
 388            break;
 389          }
 390          case 45: {
 391            Pitch = input.ReadFloat();
 392            break;
 393          }
 394          case 53: {
 395            Yaw = input.ReadFloat();
 396            break;
 397          }
 398        }
 399      }
 400    #endif
 0401    }
 402
 403    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 404    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 405    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0406    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 407      uint tag;
 0408      while ((tag = input.ReadTag()) != 0) {
 0409      if ((tag & 7) == 4) {
 410        // Abort on any end group tag.
 0411        return;
 412      }
 0413      switch(tag) {
 414          default:
 0415            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 0416            break;
 0417          case 13: {
 0418            X = input.ReadFloat();
 0419            break;
 420          }
 0421          case 21: {
 0422            Y = input.ReadFloat();
 0423            break;
 424          }
 0425          case 29: {
 0426            Z = input.ReadFloat();
 0427            break;
 428          }
 0429          case 37: {
 0430            Roll = input.ReadFloat();
 0431            break;
 432          }
 0433          case 45: {
 0434            Pitch = input.ReadFloat();
 0435            break;
 436          }
 0437          case 53: {
 0438            Yaw = input.ReadFloat();
 0439            break;
 440          }
 441        }
 0442      }
 0443    }
 444    #endif
 445
 446  }
 447
 448  /// <summary>
 449  /// Spherical coordinates.
 450  /// </summary>
 451  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
 452  public sealed partial class SphericalCoordinates : pb::IMessage<SphericalCoordinates>
 453  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 454      , pb::IBufferMessage
 455  #endif
 456  {
 457    private static readonly pb::MessageParser<SphericalCoordinates> _parser = new pb::MessageParser<SphericalCoordinates
 458    private pb::UnknownFieldSet _unknownFields;
 459    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 460    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 461    public static pb::MessageParser<SphericalCoordinates> Parser { get { return _parser; } }
 462
 463    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 464    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 465    public static pbr::MessageDescriptor Descriptor {
 466      get { return global::Micromissiles.CoordinatesReflection.Descriptor.MessageTypes[1]; }
 467    }
 468
 469    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 470    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 471    pbr::MessageDescriptor pb::IMessage.Descriptor {
 472      get { return Descriptor; }
 473    }
 474
 475    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 476    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 477    public SphericalCoordinates() {
 478      OnConstruction();
 479    }
 480
 481    partial void OnConstruction();
 482
 483    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 484    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 485    public SphericalCoordinates(SphericalCoordinates other) : this() {
 486      range_ = other.range_;
 487      azimuth_ = other.azimuth_;
 488      elevation_ = other.elevation_;
 489      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 490    }
 491
 492    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 493    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 494    public SphericalCoordinates Clone() {
 495      return new SphericalCoordinates(this);
 496    }
 497
 498    /// <summary>Field number for the "range" field.</summary>
 499    public const int RangeFieldNumber = 1;
 500    private float range_;
 501    /// <summary>
 502    /// Range.
 503    /// </summary>
 504    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 505    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 506    public float Range {
 507      get { return range_; }
 508      set {
 509        range_ = value;
 510      }
 511    }
 512
 513    /// <summary>Field number for the "azimuth" field.</summary>
 514    public const int AzimuthFieldNumber = 2;
 515    private float azimuth_;
 516    /// <summary>
 517    /// Azimuth.
 518    /// </summary>
 519    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 520    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 521    public float Azimuth {
 522      get { return azimuth_; }
 523      set {
 524        azimuth_ = value;
 525      }
 526    }
 527
 528    /// <summary>Field number for the "elevation" field.</summary>
 529    public const int ElevationFieldNumber = 3;
 530    private float elevation_;
 531    /// <summary>
 532    /// Elevation.
 533    /// </summary>
 534    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 535    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 536    public float Elevation {
 537      get { return elevation_; }
 538      set {
 539        elevation_ = value;
 540      }
 541    }
 542
 543    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 544    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 545    public override bool Equals(object other) {
 546      return Equals(other as SphericalCoordinates);
 547    }
 548
 549    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 550    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 551    public bool Equals(SphericalCoordinates other) {
 552      if (ReferenceEquals(other, null)) {
 553        return false;
 554      }
 555      if (ReferenceEquals(other, this)) {
 556        return true;
 557      }
 558      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Range, other.Range)) return false;
 559      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Azimuth, other.Azimuth)) return false;
 560      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Elevation, other.Elevation)) return false
 561      return Equals(_unknownFields, other._unknownFields);
 562    }
 563
 564    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 565    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 566    public override int GetHashCode() {
 567      int hash = 1;
 568      if (Range != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Range);
 569      if (Azimuth != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Azimuth);
 570      if (Elevation != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Elevation);
 571      if (_unknownFields != null) {
 572        hash ^= _unknownFields.GetHashCode();
 573      }
 574      return hash;
 575    }
 576
 577    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 578    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 579    public override string ToString() {
 580      return pb::JsonFormatter.ToDiagnosticString(this);
 581    }
 582
 583    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 584    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 585    public void WriteTo(pb::CodedOutputStream output) {
 586    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 587      output.WriteRawMessage(this);
 588    #else
 589      if (Range != 0F) {
 590        output.WriteRawTag(13);
 591        output.WriteFloat(Range);
 592      }
 593      if (Azimuth != 0F) {
 594        output.WriteRawTag(21);
 595        output.WriteFloat(Azimuth);
 596      }
 597      if (Elevation != 0F) {
 598        output.WriteRawTag(29);
 599        output.WriteFloat(Elevation);
 600      }
 601      if (_unknownFields != null) {
 602        _unknownFields.WriteTo(output);
 603      }
 604    #endif
 605    }
 606
 607    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 608    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 609    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 610    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 611      if (Range != 0F) {
 612        output.WriteRawTag(13);
 613        output.WriteFloat(Range);
 614      }
 615      if (Azimuth != 0F) {
 616        output.WriteRawTag(21);
 617        output.WriteFloat(Azimuth);
 618      }
 619      if (Elevation != 0F) {
 620        output.WriteRawTag(29);
 621        output.WriteFloat(Elevation);
 622      }
 623      if (_unknownFields != null) {
 624        _unknownFields.WriteTo(ref output);
 625      }
 626    }
 627    #endif
 628
 629    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 630    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 631    public int CalculateSize() {
 632      int size = 0;
 633      if (Range != 0F) {
 634        size += 1 + 4;
 635      }
 636      if (Azimuth != 0F) {
 637        size += 1 + 4;
 638      }
 639      if (Elevation != 0F) {
 640        size += 1 + 4;
 641      }
 642      if (_unknownFields != null) {
 643        size += _unknownFields.CalculateSize();
 644      }
 645      return size;
 646    }
 647
 648    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 649    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 650    public void MergeFrom(SphericalCoordinates other) {
 651      if (other == null) {
 652        return;
 653      }
 654      if (other.Range != 0F) {
 655        Range = other.Range;
 656      }
 657      if (other.Azimuth != 0F) {
 658        Azimuth = other.Azimuth;
 659      }
 660      if (other.Elevation != 0F) {
 661        Elevation = other.Elevation;
 662      }
 663      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 664    }
 665
 666    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 667    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 668    public void MergeFrom(pb::CodedInputStream input) {
 669    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 670      input.ReadRawMessage(this);
 671    #else
 672      uint tag;
 673      while ((tag = input.ReadTag()) != 0) {
 674      if ((tag & 7) == 4) {
 675        // Abort on any end group tag.
 676        return;
 677      }
 678      switch(tag) {
 679          default:
 680            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 681            break;
 682          case 13: {
 683            Range = input.ReadFloat();
 684            break;
 685          }
 686          case 21: {
 687            Azimuth = input.ReadFloat();
 688            break;
 689          }
 690          case 29: {
 691            Elevation = input.ReadFloat();
 692            break;
 693          }
 694        }
 695      }
 696    #endif
 697    }
 698
 699    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 700    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 701    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 702    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 703      uint tag;
 704      while ((tag = input.ReadTag()) != 0) {
 705      if ((tag & 7) == 4) {
 706        // Abort on any end group tag.
 707        return;
 708      }
 709      switch(tag) {
 710          default:
 711            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 712            break;
 713          case 13: {
 714            Range = input.ReadFloat();
 715            break;
 716          }
 717          case 21: {
 718            Azimuth = input.ReadFloat();
 719            break;
 720          }
 721          case 29: {
 722            Elevation = input.ReadFloat();
 723            break;
 724          }
 725        }
 726      }
 727    }
 728    #endif
 729
 730  }
 731
 732  #endregion
 733
 734}
 735
 736#endregion Designer generated code