| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: Simulation/transformation.proto |
| | 4 | | // </auto-generated> |
| | 5 | | #pragma warning disable 1591, 0612, 3021, 8981 |
| | 6 | | #region Designer generated code |
| | 7 | |
|
| | 8 | | using pb = global::Google.Protobuf; |
| | 9 | | using pbc = global::Google.Protobuf.Collections; |
| | 10 | | using pbr = global::Google.Protobuf.Reflection; |
| | 11 | | using scg = global::System.Collections.Generic; |
| | 12 | | namespace Simulation { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from Simulation/transformation.proto</summary> |
| | 15 | | public static partial class TransformationReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for Simulation/transformation.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static TransformationReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "Ch9TaW11bGF0aW9uL3RyYW5zZm9ybWF0aW9uLnByb3RvEgpzaW11bGF0aW9u", |
| | 28 | | "GhxTaW11bGF0aW9uL2Nvb3JkaW5hdGVzLnByb3RvIrYCCg5UcmFuc2Zvcm1h", |
| | 29 | | "dGlvbhIyCghwb3NpdGlvbhgBIAEoCzIgLnNpbXVsYXRpb24uU3BoZXJpY2Fs", |
| | 30 | | "Q29vcmRpbmF0ZXMSMgoIdmVsb2NpdHkYAiABKAsyIC5zaW11bGF0aW9uLlNw", |
| | 31 | | "aGVyaWNhbENvb3JkaW5hdGVzEjwKEnBvc2l0aW9uX2NhcnRlc2lhbhgDIAEo", |
| | 32 | | "CzIgLnNpbXVsYXRpb24uQ2FydGVzaWFuQ29vcmRpbmF0ZXMSPAoSdmVsb2Np", |
| | 33 | | "dHlfY2FydGVzaWFuGAQgASgLMiAuc2ltdWxhdGlvbi5DYXJ0ZXNpYW5Db29y", |
| | 34 | | "ZGluYXRlcxJAChZhY2NlbGVyYXRpb25fY2FydGVzaWFuGAUgASgLMiAuc2lt", |
| | 35 | | "dWxhdGlvbi5DYXJ0ZXNpYW5Db29yZGluYXRlc2IGcHJvdG8z")); |
| | 36 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 37 | | new pbr::FileDescriptor[] { global::Simulation.CoordinatesReflection.Descriptor, }, |
| | 38 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 39 | | new pbr::GeneratedClrTypeInfo(typeof(global::Simulation.Transformation), global::Simulation.Transformation.P |
| | 40 | | })); |
| | 41 | | } |
| | 42 | | #endregion |
| | 43 | |
|
| | 44 | | } |
| | 45 | | #region Messages |
| | 46 | | /// <summary> |
| | 47 | | /// Relative transformation between two agents. |
| | 48 | | /// </summary> |
| | 49 | | [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] |
| | 50 | | public sealed partial class Transformation : pb::IMessage<Transformation> |
| | 51 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 52 | | , pb::IBufferMessage |
| | 53 | | #endif |
| | 54 | | { |
| 0 | 55 | | private static readonly pb::MessageParser<Transformation> _parser = new pb::MessageParser<Transformation>(() => new |
| | 56 | | private pb::UnknownFieldSet _unknownFields; |
| | 57 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 58 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 59 | | public static pb::MessageParser<Transformation> Parser { get { return _parser; } } |
| | 60 | |
|
| | 61 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 62 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 63 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 64 | | get { return global::Simulation.TransformationReflection.Descriptor.MessageTypes[0]; } |
| | 65 | | } |
| | 66 | |
|
| | 67 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 68 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 69 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 70 | | get { return Descriptor; } |
| | 71 | | } |
| | 72 | |
|
| | 73 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 74 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 75 | | public Transformation() { |
| | 76 | | OnConstruction(); |
| 0 | 77 | | } |
| | 78 | |
|
| | 79 | | partial void OnConstruction(); |
| | 80 | |
|
| | 81 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 82 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 83 | | public Transformation(Transformation other) : this() { |
| 0 | 84 | | position_ = other.position_ != null ? other.position_.Clone() : null; |
| 0 | 85 | | velocity_ = other.velocity_ != null ? other.velocity_.Clone() : null; |
| 0 | 86 | | positionCartesian_ = other.positionCartesian_ != null ? other.positionCartesian_.Clone() : null; |
| 0 | 87 | | velocityCartesian_ = other.velocityCartesian_ != null ? other.velocityCartesian_.Clone() : null; |
| 0 | 88 | | accelerationCartesian_ = other.accelerationCartesian_ != null ? other.accelerationCartesian_.Clone() : null; |
| 0 | 89 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 90 | | } |
| | 91 | |
|
| | 92 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 93 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 94 | | public Transformation Clone() { |
| 0 | 95 | | return new Transformation(this); |
| 0 | 96 | | } |
| | 97 | |
|
| | 98 | | /// <summary>Field number for the "position" field.</summary> |
| | 99 | | public const int PositionFieldNumber = 1; |
| | 100 | | private global::Simulation.SphericalCoordinates position_; |
| | 101 | | /// <summary> |
| | 102 | | /// Range in m, azimuth and elevation in rad. |
| | 103 | | /// </summary> |
| | 104 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 105 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 106 | | public global::Simulation.SphericalCoordinates Position { |
| 0 | 107 | | get { return position_; } |
| 0 | 108 | | set { |
| 0 | 109 | | position_ = value; |
| 0 | 110 | | } |
| | 111 | | } |
| | 112 | |
|
| | 113 | | /// <summary>Field number for the "velocity" field.</summary> |
| | 114 | | public const int VelocityFieldNumber = 2; |
| | 115 | | private global::Simulation.SphericalCoordinates velocity_; |
| | 116 | | /// <summary> |
| | 117 | | /// Range rate in m/s, azimuth and elevation rate in rad/s. |
| | 118 | | /// </summary> |
| | 119 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 120 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 121 | | public global::Simulation.SphericalCoordinates Velocity { |
| 0 | 122 | | get { return velocity_; } |
| 0 | 123 | | set { |
| 0 | 124 | | velocity_ = value; |
| 0 | 125 | | } |
| | 126 | | } |
| | 127 | |
|
| | 128 | | /// <summary>Field number for the "position_cartesian" field.</summary> |
| | 129 | | public const int PositionCartesianFieldNumber = 3; |
| | 130 | | private global::Simulation.CartesianCoordinates positionCartesian_; |
| | 131 | | /// <summary> |
| | 132 | | /// Range in m. |
| | 133 | | /// </summary> |
| | 134 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 135 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 136 | | public global::Simulation.CartesianCoordinates PositionCartesian { |
| 0 | 137 | | get { return positionCartesian_; } |
| 0 | 138 | | set { |
| 0 | 139 | | positionCartesian_ = value; |
| 0 | 140 | | } |
| | 141 | | } |
| | 142 | |
|
| | 143 | | /// <summary>Field number for the "velocity_cartesian" field.</summary> |
| | 144 | | public const int VelocityCartesianFieldNumber = 4; |
| | 145 | | private global::Simulation.CartesianCoordinates velocityCartesian_; |
| | 146 | | /// <summary> |
| | 147 | | /// Velocity in m/s. |
| | 148 | | /// </summary> |
| | 149 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 150 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 151 | | public global::Simulation.CartesianCoordinates VelocityCartesian { |
| 0 | 152 | | get { return velocityCartesian_; } |
| 0 | 153 | | set { |
| 0 | 154 | | velocityCartesian_ = value; |
| 0 | 155 | | } |
| | 156 | | } |
| | 157 | |
|
| | 158 | | /// <summary>Field number for the "acceleration_cartesian" field.</summary> |
| | 159 | | public const int AccelerationCartesianFieldNumber = 5; |
| | 160 | | private global::Simulation.CartesianCoordinates accelerationCartesian_; |
| | 161 | | /// <summary> |
| | 162 | | /// Acceleration in m/s^2. |
| | 163 | | /// </summary> |
| | 164 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 165 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 166 | | public global::Simulation.CartesianCoordinates AccelerationCartesian { |
| 0 | 167 | | get { return accelerationCartesian_; } |
| 0 | 168 | | set { |
| 0 | 169 | | accelerationCartesian_ = value; |
| 0 | 170 | | } |
| | 171 | | } |
| | 172 | |
|
| | 173 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 174 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 175 | | public override bool Equals(object other) { |
| 0 | 176 | | return Equals(other as Transformation); |
| 0 | 177 | | } |
| | 178 | |
|
| | 179 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 180 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 181 | | public bool Equals(Transformation other) { |
| 0 | 182 | | if (ReferenceEquals(other, null)) { |
| 0 | 183 | | return false; |
| | 184 | | } |
| 0 | 185 | | if (ReferenceEquals(other, this)) { |
| 0 | 186 | | return true; |
| | 187 | | } |
| 0 | 188 | | if (!object.Equals(Position, other.Position)) return false; |
| 0 | 189 | | if (!object.Equals(Velocity, other.Velocity)) return false; |
| 0 | 190 | | if (!object.Equals(PositionCartesian, other.PositionCartesian)) return false; |
| 0 | 191 | | if (!object.Equals(VelocityCartesian, other.VelocityCartesian)) return false; |
| 0 | 192 | | if (!object.Equals(AccelerationCartesian, other.AccelerationCartesian)) return false; |
| 0 | 193 | | return Equals(_unknownFields, other._unknownFields); |
| 0 | 194 | | } |
| | 195 | |
|
| | 196 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 197 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 198 | | public override int GetHashCode() { |
| 0 | 199 | | int hash = 1; |
| 0 | 200 | | if (position_ != null) hash ^= Position.GetHashCode(); |
| 0 | 201 | | if (velocity_ != null) hash ^= Velocity.GetHashCode(); |
| 0 | 202 | | if (positionCartesian_ != null) hash ^= PositionCartesian.GetHashCode(); |
| 0 | 203 | | if (velocityCartesian_ != null) hash ^= VelocityCartesian.GetHashCode(); |
| 0 | 204 | | if (accelerationCartesian_ != null) hash ^= AccelerationCartesian.GetHashCode(); |
| 0 | 205 | | if (_unknownFields != null) { |
| 0 | 206 | | hash ^= _unknownFields.GetHashCode(); |
| 0 | 207 | | } |
| 0 | 208 | | return hash; |
| 0 | 209 | | } |
| | 210 | |
|
| | 211 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 212 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 213 | | public override string ToString() { |
| 0 | 214 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| 0 | 215 | | } |
| | 216 | |
|
| | 217 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 218 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 219 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 220 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| 0 | 221 | | output.WriteRawMessage(this); |
| | 222 | | #else |
| | 223 | | if (position_ != null) { |
| | 224 | | output.WriteRawTag(10); |
| | 225 | | output.WriteMessage(Position); |
| | 226 | | } |
| | 227 | | if (velocity_ != null) { |
| | 228 | | output.WriteRawTag(18); |
| | 229 | | output.WriteMessage(Velocity); |
| | 230 | | } |
| | 231 | | if (positionCartesian_ != null) { |
| | 232 | | output.WriteRawTag(26); |
| | 233 | | output.WriteMessage(PositionCartesian); |
| | 234 | | } |
| | 235 | | if (velocityCartesian_ != null) { |
| | 236 | | output.WriteRawTag(34); |
| | 237 | | output.WriteMessage(VelocityCartesian); |
| | 238 | | } |
| | 239 | | if (accelerationCartesian_ != null) { |
| | 240 | | output.WriteRawTag(42); |
| | 241 | | output.WriteMessage(AccelerationCartesian); |
| | 242 | | } |
| | 243 | | if (_unknownFields != null) { |
| | 244 | | _unknownFields.WriteTo(output); |
| | 245 | | } |
| | 246 | | #endif |
| 0 | 247 | | } |
| | 248 | |
|
| | 249 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 250 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 251 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 252 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| 0 | 253 | | if (position_ != null) { |
| 0 | 254 | | output.WriteRawTag(10); |
| 0 | 255 | | output.WriteMessage(Position); |
| 0 | 256 | | } |
| 0 | 257 | | if (velocity_ != null) { |
| 0 | 258 | | output.WriteRawTag(18); |
| 0 | 259 | | output.WriteMessage(Velocity); |
| 0 | 260 | | } |
| 0 | 261 | | if (positionCartesian_ != null) { |
| 0 | 262 | | output.WriteRawTag(26); |
| 0 | 263 | | output.WriteMessage(PositionCartesian); |
| 0 | 264 | | } |
| 0 | 265 | | if (velocityCartesian_ != null) { |
| 0 | 266 | | output.WriteRawTag(34); |
| 0 | 267 | | output.WriteMessage(VelocityCartesian); |
| 0 | 268 | | } |
| 0 | 269 | | if (accelerationCartesian_ != null) { |
| 0 | 270 | | output.WriteRawTag(42); |
| 0 | 271 | | output.WriteMessage(AccelerationCartesian); |
| 0 | 272 | | } |
| 0 | 273 | | if (_unknownFields != null) { |
| 0 | 274 | | _unknownFields.WriteTo(ref output); |
| 0 | 275 | | } |
| 0 | 276 | | } |
| | 277 | | #endif |
| | 278 | |
|
| | 279 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 280 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 281 | | public int CalculateSize() { |
| 0 | 282 | | int size = 0; |
| 0 | 283 | | if (position_ != null) { |
| 0 | 284 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Position); |
| 0 | 285 | | } |
| 0 | 286 | | if (velocity_ != null) { |
| 0 | 287 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Velocity); |
| 0 | 288 | | } |
| 0 | 289 | | if (positionCartesian_ != null) { |
| 0 | 290 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionCartesian); |
| 0 | 291 | | } |
| 0 | 292 | | if (velocityCartesian_ != null) { |
| 0 | 293 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(VelocityCartesian); |
| 0 | 294 | | } |
| 0 | 295 | | if (accelerationCartesian_ != null) { |
| 0 | 296 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccelerationCartesian); |
| 0 | 297 | | } |
| 0 | 298 | | if (_unknownFields != null) { |
| 0 | 299 | | size += _unknownFields.CalculateSize(); |
| 0 | 300 | | } |
| 0 | 301 | | return size; |
| 0 | 302 | | } |
| | 303 | |
|
| | 304 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 305 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 306 | | public void MergeFrom(Transformation other) { |
| 0 | 307 | | if (other == null) { |
| 0 | 308 | | return; |
| | 309 | | } |
| 0 | 310 | | if (other.position_ != null) { |
| 0 | 311 | | if (position_ == null) { |
| 0 | 312 | | Position = new global::Simulation.SphericalCoordinates(); |
| 0 | 313 | | } |
| 0 | 314 | | Position.MergeFrom(other.Position); |
| 0 | 315 | | } |
| 0 | 316 | | if (other.velocity_ != null) { |
| 0 | 317 | | if (velocity_ == null) { |
| 0 | 318 | | Velocity = new global::Simulation.SphericalCoordinates(); |
| 0 | 319 | | } |
| 0 | 320 | | Velocity.MergeFrom(other.Velocity); |
| 0 | 321 | | } |
| 0 | 322 | | if (other.positionCartesian_ != null) { |
| 0 | 323 | | if (positionCartesian_ == null) { |
| 0 | 324 | | PositionCartesian = new global::Simulation.CartesianCoordinates(); |
| 0 | 325 | | } |
| 0 | 326 | | PositionCartesian.MergeFrom(other.PositionCartesian); |
| 0 | 327 | | } |
| 0 | 328 | | if (other.velocityCartesian_ != null) { |
| 0 | 329 | | if (velocityCartesian_ == null) { |
| 0 | 330 | | VelocityCartesian = new global::Simulation.CartesianCoordinates(); |
| 0 | 331 | | } |
| 0 | 332 | | VelocityCartesian.MergeFrom(other.VelocityCartesian); |
| 0 | 333 | | } |
| 0 | 334 | | if (other.accelerationCartesian_ != null) { |
| 0 | 335 | | if (accelerationCartesian_ == null) { |
| 0 | 336 | | AccelerationCartesian = new global::Simulation.CartesianCoordinates(); |
| 0 | 337 | | } |
| 0 | 338 | | AccelerationCartesian.MergeFrom(other.AccelerationCartesian); |
| 0 | 339 | | } |
| 0 | 340 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 341 | | } |
| | 342 | |
|
| | 343 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 344 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 345 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 346 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| 0 | 347 | | input.ReadRawMessage(this); |
| | 348 | | #else |
| | 349 | | uint tag; |
| | 350 | | while ((tag = input.ReadTag()) != 0) { |
| | 351 | | if ((tag & 7) == 4) { |
| | 352 | | // Abort on any end group tag. |
| | 353 | | return; |
| | 354 | | } |
| | 355 | | switch(tag) { |
| | 356 | | default: |
| | 357 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 358 | | break; |
| | 359 | | case 10: { |
| | 360 | | if (position_ == null) { |
| | 361 | | Position = new global::Simulation.SphericalCoordinates(); |
| | 362 | | } |
| | 363 | | input.ReadMessage(Position); |
| | 364 | | break; |
| | 365 | | } |
| | 366 | | case 18: { |
| | 367 | | if (velocity_ == null) { |
| | 368 | | Velocity = new global::Simulation.SphericalCoordinates(); |
| | 369 | | } |
| | 370 | | input.ReadMessage(Velocity); |
| | 371 | | break; |
| | 372 | | } |
| | 373 | | case 26: { |
| | 374 | | if (positionCartesian_ == null) { |
| | 375 | | PositionCartesian = new global::Simulation.CartesianCoordinates(); |
| | 376 | | } |
| | 377 | | input.ReadMessage(PositionCartesian); |
| | 378 | | break; |
| | 379 | | } |
| | 380 | | case 34: { |
| | 381 | | if (velocityCartesian_ == null) { |
| | 382 | | VelocityCartesian = new global::Simulation.CartesianCoordinates(); |
| | 383 | | } |
| | 384 | | input.ReadMessage(VelocityCartesian); |
| | 385 | | break; |
| | 386 | | } |
| | 387 | | case 42: { |
| | 388 | | if (accelerationCartesian_ == null) { |
| | 389 | | AccelerationCartesian = new global::Simulation.CartesianCoordinates(); |
| | 390 | | } |
| | 391 | | input.ReadMessage(AccelerationCartesian); |
| | 392 | | break; |
| | 393 | | } |
| | 394 | | } |
| | 395 | | } |
| | 396 | | #endif |
| 0 | 397 | | } |
| | 398 | |
|
| | 399 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 400 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 401 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 402 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 403 | | uint tag; |
| 0 | 404 | | while ((tag = input.ReadTag()) != 0) { |
| 0 | 405 | | if ((tag & 7) == 4) { |
| | 406 | | // Abort on any end group tag. |
| 0 | 407 | | return; |
| | 408 | | } |
| 0 | 409 | | switch(tag) { |
| | 410 | | default: |
| 0 | 411 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| 0 | 412 | | break; |
| 0 | 413 | | case 10: { |
| 0 | 414 | | if (position_ == null) { |
| 0 | 415 | | Position = new global::Simulation.SphericalCoordinates(); |
| 0 | 416 | | } |
| 0 | 417 | | input.ReadMessage(Position); |
| 0 | 418 | | break; |
| | 419 | | } |
| 0 | 420 | | case 18: { |
| 0 | 421 | | if (velocity_ == null) { |
| 0 | 422 | | Velocity = new global::Simulation.SphericalCoordinates(); |
| 0 | 423 | | } |
| 0 | 424 | | input.ReadMessage(Velocity); |
| 0 | 425 | | break; |
| | 426 | | } |
| 0 | 427 | | case 26: { |
| 0 | 428 | | if (positionCartesian_ == null) { |
| 0 | 429 | | PositionCartesian = new global::Simulation.CartesianCoordinates(); |
| 0 | 430 | | } |
| 0 | 431 | | input.ReadMessage(PositionCartesian); |
| 0 | 432 | | break; |
| | 433 | | } |
| 0 | 434 | | case 34: { |
| 0 | 435 | | if (velocityCartesian_ == null) { |
| 0 | 436 | | VelocityCartesian = new global::Simulation.CartesianCoordinates(); |
| 0 | 437 | | } |
| 0 | 438 | | input.ReadMessage(VelocityCartesian); |
| 0 | 439 | | break; |
| | 440 | | } |
| 0 | 441 | | case 42: { |
| 0 | 442 | | if (accelerationCartesian_ == null) { |
| 0 | 443 | | AccelerationCartesian = new global::Simulation.CartesianCoordinates(); |
| 0 | 444 | | } |
| 0 | 445 | | input.ReadMessage(AccelerationCartesian); |
| 0 | 446 | | break; |
| | 447 | | } |
| | 448 | | } |
| 0 | 449 | | } |
| 0 | 450 | | } |
| | 451 | | #endif |
| | 452 | |
|
| | 453 | | } |
| | 454 | |
|
| | 455 | | #endregion |
| | 456 | |
|
| | 457 | | } |
| | 458 | |
|
| | 459 | | #endregion Designer generated code |