< Summary

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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
SphericalCoordinates()0%2100%
get_Descriptor()0%2100%
SphericalCoordinates()0%2100%
SphericalCoordinates(...)0%2100%
Clone()0%2100%
Equals(...)0%2100%
Equals(...)0%42600%
GetHashCode()0%30500%
ToString()0%2100%
WriteTo(...)0%2100%
InternalWriteTo(...)0%30500%
CalculateSize()0%30500%
MergeFrom(...)0%30500%
MergeFrom(...)0%2100%
InternalMergeFrom(...)0%42600%

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  {
 53    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)]
 57    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 {
 62      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 {
 68      get { return Descriptor; }
 69    }
 70
 71    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 72    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 73    public CartesianCoordinates() {
 74      OnConstruction();
 75    }
 76
 77    partial void OnConstruction();
 78
 79    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 80    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 81    public CartesianCoordinates(CartesianCoordinates other) : this() {
 82      x_ = other.x_;
 83      y_ = other.y_;
 84      z_ = other.z_;
 85      roll_ = other.roll_;
 86      pitch_ = other.pitch_;
 87      yaw_ = other.yaw_;
 88      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 89    }
 90
 91    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 92    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 93    public CartesianCoordinates Clone() {
 94      return new CartesianCoordinates(this);
 95    }
 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 {
 106      get { return x_; }
 107      set {
 108        x_ = value;
 109      }
 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 {
 121      get { return y_; }
 122      set {
 123        y_ = value;
 124      }
 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 {
 136      get { return z_; }
 137      set {
 138        z_ = value;
 139      }
 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 {
 151      get { return roll_; }
 152      set {
 153        roll_ = value;
 154      }
 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 {
 166      get { return pitch_; }
 167      set {
 168        pitch_ = value;
 169      }
 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 {
 181      get { return yaw_; }
 182      set {
 183        yaw_ = value;
 184      }
 185    }
 186
 187    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 188    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 189    public override bool Equals(object other) {
 190      return Equals(other as CartesianCoordinates);
 191    }
 192
 193    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 194    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 195    public bool Equals(CartesianCoordinates other) {
 196      if (ReferenceEquals(other, null)) {
 197        return false;
 198      }
 199      if (ReferenceEquals(other, this)) {
 200        return true;
 201      }
 202      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false;
 203      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false;
 204      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false;
 205      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Roll, other.Roll)) return false;
 206      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Pitch, other.Pitch)) return false;
 207      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Yaw, other.Yaw)) return false;
 208      return Equals(_unknownFields, other._unknownFields);
 209    }
 210
 211    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 212    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 213    public override int GetHashCode() {
 214      int hash = 1;
 215      if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X);
 216      if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y);
 217      if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z);
 218      if (Roll != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Roll);
 219      if (Pitch != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Pitch);
 220      if (Yaw != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Yaw);
 221      if (_unknownFields != null) {
 222        hash ^= _unknownFields.GetHashCode();
 223      }
 224      return hash;
 225    }
 226
 227    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 228    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 229    public override string ToString() {
 230      return pb::JsonFormatter.ToDiagnosticString(this);
 231    }
 232
 233    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 234    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 235    public void WriteTo(pb::CodedOutputStream output) {
 236    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 237      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
 267    }
 268
 269    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 270    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 271    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 272    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 273      if (X != 0F) {
 274        output.WriteRawTag(13);
 275        output.WriteFloat(X);
 276      }
 277      if (Y != 0F) {
 278        output.WriteRawTag(21);
 279        output.WriteFloat(Y);
 280      }
 281      if (Z != 0F) {
 282        output.WriteRawTag(29);
 283        output.WriteFloat(Z);
 284      }
 285      if (Roll != 0F) {
 286        output.WriteRawTag(37);
 287        output.WriteFloat(Roll);
 288      }
 289      if (Pitch != 0F) {
 290        output.WriteRawTag(45);
 291        output.WriteFloat(Pitch);
 292      }
 293      if (Yaw != 0F) {
 294        output.WriteRawTag(53);
 295        output.WriteFloat(Yaw);
 296      }
 297      if (_unknownFields != null) {
 298        _unknownFields.WriteTo(ref output);
 299      }
 300    }
 301    #endif
 302
 303    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 304    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 305    public int CalculateSize() {
 306      int size = 0;
 307      if (X != 0F) {
 308        size += 1 + 4;
 309      }
 310      if (Y != 0F) {
 311        size += 1 + 4;
 312      }
 313      if (Z != 0F) {
 314        size += 1 + 4;
 315      }
 316      if (Roll != 0F) {
 317        size += 1 + 4;
 318      }
 319      if (Pitch != 0F) {
 320        size += 1 + 4;
 321      }
 322      if (Yaw != 0F) {
 323        size += 1 + 4;
 324      }
 325      if (_unknownFields != null) {
 326        size += _unknownFields.CalculateSize();
 327      }
 328      return size;
 329    }
 330
 331    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 332    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 333    public void MergeFrom(CartesianCoordinates other) {
 334      if (other == null) {
 335        return;
 336      }
 337      if (other.X != 0F) {
 338        X = other.X;
 339      }
 340      if (other.Y != 0F) {
 341        Y = other.Y;
 342      }
 343      if (other.Z != 0F) {
 344        Z = other.Z;
 345      }
 346      if (other.Roll != 0F) {
 347        Roll = other.Roll;
 348      }
 349      if (other.Pitch != 0F) {
 350        Pitch = other.Pitch;
 351      }
 352      if (other.Yaw != 0F) {
 353        Yaw = other.Yaw;
 354      }
 355      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 356    }
 357
 358    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 359    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 360    public void MergeFrom(pb::CodedInputStream input) {
 361    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 362      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
 401    }
 402
 403    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 404    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 405    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 406    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 407      uint tag;
 408      while ((tag = input.ReadTag()) != 0) {
 409      if ((tag & 7) == 4) {
 410        // Abort on any end group tag.
 411        return;
 412      }
 413      switch(tag) {
 414          default:
 415            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 416            break;
 417          case 13: {
 418            X = input.ReadFloat();
 419            break;
 420          }
 421          case 21: {
 422            Y = input.ReadFloat();
 423            break;
 424          }
 425          case 29: {
 426            Z = input.ReadFloat();
 427            break;
 428          }
 429          case 37: {
 430            Roll = input.ReadFloat();
 431            break;
 432          }
 433          case 45: {
 434            Pitch = input.ReadFloat();
 435            break;
 436          }
 437          case 53: {
 438            Yaw = input.ReadFloat();
 439            break;
 440          }
 441        }
 442      }
 443    }
 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  {
 0457    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)]
 0461    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 {
 0466      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 {
 0472      get { return Descriptor; }
 473    }
 474
 475    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 476    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0477    public SphericalCoordinates() {
 478      OnConstruction();
 0479    }
 480
 481    partial void OnConstruction();
 482
 483    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 484    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0485    public SphericalCoordinates(SphericalCoordinates other) : this() {
 0486      range_ = other.range_;
 0487      azimuth_ = other.azimuth_;
 0488      elevation_ = other.elevation_;
 0489      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0490    }
 491
 492    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 493    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0494    public SphericalCoordinates Clone() {
 0495      return new SphericalCoordinates(this);
 0496    }
 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 {
 0507      get { return range_; }
 0508      set {
 0509        range_ = value;
 0510      }
 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 {
 0522      get { return azimuth_; }
 0523      set {
 0524        azimuth_ = value;
 0525      }
 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 {
 0537      get { return elevation_; }
 0538      set {
 0539        elevation_ = value;
 0540      }
 541    }
 542
 543    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 544    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0545    public override bool Equals(object other) {
 0546      return Equals(other as SphericalCoordinates);
 0547    }
 548
 549    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 550    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0551    public bool Equals(SphericalCoordinates other) {
 0552      if (ReferenceEquals(other, null)) {
 0553        return false;
 554      }
 0555      if (ReferenceEquals(other, this)) {
 0556        return true;
 557      }
 0558      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Range, other.Range)) return false;
 0559      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Azimuth, other.Azimuth)) return false;
 0560      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Elevation, other.Elevation)) return false
 0561      return Equals(_unknownFields, other._unknownFields);
 0562    }
 563
 564    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 565    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0566    public override int GetHashCode() {
 0567      int hash = 1;
 0568      if (Range != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Range);
 0569      if (Azimuth != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Azimuth);
 0570      if (Elevation != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Elevation);
 0571      if (_unknownFields != null) {
 0572        hash ^= _unknownFields.GetHashCode();
 0573      }
 0574      return hash;
 0575    }
 576
 577    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 578    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0579    public override string ToString() {
 0580      return pb::JsonFormatter.ToDiagnosticString(this);
 0581    }
 582
 583    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 584    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0585    public void WriteTo(pb::CodedOutputStream output) {
 586    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 0587      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
 0605    }
 606
 607    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 608    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 609    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0610    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 0611      if (Range != 0F) {
 0612        output.WriteRawTag(13);
 0613        output.WriteFloat(Range);
 0614      }
 0615      if (Azimuth != 0F) {
 0616        output.WriteRawTag(21);
 0617        output.WriteFloat(Azimuth);
 0618      }
 0619      if (Elevation != 0F) {
 0620        output.WriteRawTag(29);
 0621        output.WriteFloat(Elevation);
 0622      }
 0623      if (_unknownFields != null) {
 0624        _unknownFields.WriteTo(ref output);
 0625      }
 0626    }
 627    #endif
 628
 629    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 630    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0631    public int CalculateSize() {
 0632      int size = 0;
 0633      if (Range != 0F) {
 0634        size += 1 + 4;
 0635      }
 0636      if (Azimuth != 0F) {
 0637        size += 1 + 4;
 0638      }
 0639      if (Elevation != 0F) {
 0640        size += 1 + 4;
 0641      }
 0642      if (_unknownFields != null) {
 0643        size += _unknownFields.CalculateSize();
 0644      }
 0645      return size;
 0646    }
 647
 648    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 649    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0650    public void MergeFrom(SphericalCoordinates other) {
 0651      if (other == null) {
 0652        return;
 653      }
 0654      if (other.Range != 0F) {
 0655        Range = other.Range;
 0656      }
 0657      if (other.Azimuth != 0F) {
 0658        Azimuth = other.Azimuth;
 0659      }
 0660      if (other.Elevation != 0F) {
 0661        Elevation = other.Elevation;
 0662      }
 0663      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0664    }
 665
 666    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 667    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0668    public void MergeFrom(pb::CodedInputStream input) {
 669    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 0670      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
 0697    }
 698
 699    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 700    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 701    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0702    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 703      uint tag;
 0704      while ((tag = input.ReadTag()) != 0) {
 0705      if ((tag & 7) == 4) {
 706        // Abort on any end group tag.
 0707        return;
 708      }
 0709      switch(tag) {
 710          default:
 0711            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 0712            break;
 0713          case 13: {
 0714            Range = input.ReadFloat();
 0715            break;
 716          }
 0717          case 21: {
 0718            Azimuth = input.ReadFloat();
 0719            break;
 720          }
 0721          case 29: {
 0722            Elevation = input.ReadFloat();
 0723            break;
 724          }
 725        }
 0726      }
 0727    }
 728    #endif
 729
 730  }
 731
 732  #endregion
 733
 734}
 735
 736#endregion Designer generated code