< Summary

Class:Micromissiles.AgentConfig
Assembly:bamlab.micromissiles
File(s):/github/workspace/Assets/Scripts/Generated/Protobuf/Agent.cs
Covered lines:0
Uncovered lines:344
Coverable lines:344
Total lines:1112
Line coverage:0% (0 of 344)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:56
Method coverage:0% (0 of 56)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
AgentConfig()0%2100%
get_Descriptor()0%2100%
AgentConfig(...)0%1321100%
Clone()0%2100%
ClearInterceptorType()0%6200%
ClearThreatType()0%6200%
AgentConfig()0%2100%
ClearTypeOneof()0%2100%
Equals(...)0%2100%
Equals(...)0%1101000%
GetHashCode()0%72800%
ToString()0%2100%
WriteTo(...)0%2100%
InternalWriteTo(...)0%72800%
CalculateSize()0%72800%
MergeFrom(...)0%1561200%
MergeFrom(...)0%2100%
InternalMergeFrom(...)0%2101400%
SubmunitionsConfig()0%2100%
get_Descriptor()0%2100%
SubmunitionsConfig()0%2100%
SubmunitionsConfig(...)0%12300%
Clone()0%2100%
Equals(...)0%2100%
Equals(...)0%30500%
GetHashCode()0%20400%
ToString()0%2100%
WriteTo(...)0%2100%
InternalWriteTo(...)0%20400%
CalculateSize()0%20400%
MergeFrom(...)0%30500%
MergeFrom(...)0%2100%
InternalMergeFrom(...)0%42600%

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: configs/proto/agent.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/agent.proto</summary>
 15  public static partial class AgentReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for configs/proto/agent.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static AgentReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "Chljb25maWdzL3Byb3RvL2FnZW50LnByb3RvEg1taWNyb21pc3NpbGVzGiJj",
 28            "b25maWdzL3Byb3RvL2R5bmFtaWNfY29uZmlnLnByb3RvGhljb25maWdzL3By",
 29            "b3RvL3N0YXRlLnByb3RvIswDCgtBZ2VudENvbmZpZxI6ChBpbnRlcmNlcHRv",
 30            "cl90eXBlGAEgASgOMh4ubWljcm9taXNzaWxlcy5JbnRlcmNlcHRvclR5cGVI",
 31            "ABIwCgt0aHJlYXRfdHlwZRgCIAEoDjIZLm1pY3JvbWlzc2lsZXMuVGhyZWF0",
 32            "VHlwZUgAEisKDWluaXRpYWxfc3RhdGUYAyABKAsyFC5taWNyb21pc3NpbGVz",
 33            "LlN0YXRlEjAKEnN0YW5kYXJkX2RldmlhdGlvbhgEIAEoCzIULm1pY3JvbWlz",
 34            "c2lsZXMuU3RhdGUSNAoOZHluYW1pY19jb25maWcYBSABKAsyHC5taWNyb21p",
 35            "c3NpbGVzLkR5bmFtaWNDb25maWcSSgoTc3VibXVuaXRpb25zX2NvbmZpZxgG",
 36            "IAEoCzItLm1pY3JvbWlzc2lsZXMuQWdlbnRDb25maWcuU3VibXVuaXRpb25z",
 37            "Q29uZmlnGmAKElN1Ym11bml0aW9uc0NvbmZpZxIYChBudW1fc3VibXVuaXRp",
 38            "b25zGAEgASgNEjAKDGFnZW50X2NvbmZpZxgCIAEoCzIaLm1pY3JvbWlzc2ls",
 39            "ZXMuQWdlbnRDb25maWdCDAoKdHlwZV9vbmVvZiJYChBBZ2VudFN3YXJtQ29u",
 40            "ZmlnEhIKCm51bV9hZ2VudHMYASABKA0SMAoMYWdlbnRfY29uZmlnGAIgASgL",
 41            "MhoubWljcm9taXNzaWxlcy5BZ2VudENvbmZpZyoxCg9JbnRlcmNlcHRvclR5",
 42            "cGUSEAoMTUlDUk9NSVNTSUxFEAASDAoISFlEUkFfNzAQASomCgpUaHJlYXRU",
 43            "eXBlEg4KClFVQURDT1BURVIQABIICgRVQ0FWEAEqYQoLRmxpZ2h0UGhhc2US",
 44            "DwoLSU5JVElBTElaRUQQABIJCgVSRUFEWRABEgkKBUJPT1NUEAISDQoJTUlE",
 45            "Q09VUlNFEAMSDAoIVEVSTUlOQUwQBBIOCgpURVJNSU5BVEVEEAViBnByb3Rv",
 46            "Mw=="));
 47      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 48          new pbr::FileDescriptor[] { global::Micromissiles.DynamicConfigReflection.Descriptor, global::Micromissiles.St
 49          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Micromissiles.InterceptorType), typeof(global::Micromissil
 50            new pbr::GeneratedClrTypeInfo(typeof(global::Micromissiles.AgentConfig), global::Micromissiles.AgentConfig.P
 51            new pbr::GeneratedClrTypeInfo(typeof(global::Micromissiles.AgentSwarmConfig), global::Micromissiles.AgentSwa
 52          }));
 53    }
 54    #endregion
 55
 56  }
 57  #region Enums
 58  /// <summary>
 59  /// Interceptor type enumeration.
 60  /// </summary>
 61  public enum InterceptorType {
 62    [pbr::OriginalName("MICROMISSILE")] Micromissile = 0,
 63    [pbr::OriginalName("HYDRA_70")] Hydra70 = 1,
 64  }
 65
 66  /// <summary>
 67  /// Threat type enumeration.
 68  /// </summary>
 69  public enum ThreatType {
 70    [pbr::OriginalName("QUADCOPTER")] Quadcopter = 0,
 71    [pbr::OriginalName("UCAV")] Ucav = 1,
 72  }
 73
 74  /// <summary>
 75  /// Flight phase enumeration.
 76  /// </summary>
 77  public enum FlightPhase {
 78    [pbr::OriginalName("INITIALIZED")] Initialized = 0,
 79    [pbr::OriginalName("READY")] Ready = 1,
 80    [pbr::OriginalName("BOOST")] Boost = 2,
 81    [pbr::OriginalName("MIDCOURSE")] Midcourse = 3,
 82    [pbr::OriginalName("TERMINAL")] Terminal = 4,
 83    [pbr::OriginalName("TERMINATED")] Terminated = 5,
 84  }
 85
 86  #endregion
 87
 88  #region Messages
 89  /// <summary>
 90  /// Agent configuration.
 91  /// </summary>
 92  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
 93  public sealed partial class AgentConfig : pb::IMessage<AgentConfig>
 94  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 95      , pb::IBufferMessage
 96  #endif
 97  {
 098    private static readonly pb::MessageParser<AgentConfig> _parser = new pb::MessageParser<AgentConfig>(() => new AgentC
 99    private pb::UnknownFieldSet _unknownFields;
 100    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 101    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0102    public static pb::MessageParser<AgentConfig> Parser { get { return _parser; } }
 103
 104    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 105    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 106    public static pbr::MessageDescriptor Descriptor {
 0107      get { return global::Micromissiles.AgentReflection.Descriptor.MessageTypes[0]; }
 108    }
 109
 110    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 111    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 112    pbr::MessageDescriptor pb::IMessage.Descriptor {
 0113      get { return Descriptor; }
 114    }
 115
 116    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 117    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0118    public AgentConfig() {
 119      OnConstruction();
 0120    }
 121
 122    partial void OnConstruction();
 123
 124    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 125    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0126    public AgentConfig(AgentConfig other) : this() {
 0127      initialState_ = other.initialState_ != null ? other.initialState_.Clone() : null;
 0128      standardDeviation_ = other.standardDeviation_ != null ? other.standardDeviation_.Clone() : null;
 0129      dynamicConfig_ = other.dynamicConfig_ != null ? other.dynamicConfig_.Clone() : null;
 0130      submunitionsConfig_ = other.submunitionsConfig_ != null ? other.submunitionsConfig_.Clone() : null;
 0131      switch (other.TypeOneofCase) {
 132        case TypeOneofOneofCase.InterceptorType:
 0133          InterceptorType = other.InterceptorType;
 0134          break;
 135        case TypeOneofOneofCase.ThreatType:
 0136          ThreatType = other.ThreatType;
 0137          break;
 138      }
 139
 0140      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0141    }
 142
 143    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 144    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0145    public AgentConfig Clone() {
 0146      return new AgentConfig(this);
 0147    }
 148
 149    /// <summary>Field number for the "interceptor_type" field.</summary>
 150    public const int InterceptorTypeFieldNumber = 1;
 151    /// <summary>
 152    /// Interceptor type.
 153    /// </summary>
 154    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 155    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 156    public global::Micromissiles.InterceptorType InterceptorType {
 0157      get { return HasInterceptorType ? (global::Micromissiles.InterceptorType) typeOneof_ : global::Micromissiles.Inter
 0158      set {
 0159        typeOneof_ = value;
 0160        typeOneofCase_ = TypeOneofOneofCase.InterceptorType;
 0161      }
 162    }
 163    /// <summary>Gets whether the "interceptor_type" field is set</summary>
 164    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 165    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 166    public bool HasInterceptorType {
 0167      get { return typeOneofCase_ == TypeOneofOneofCase.InterceptorType; }
 168    }
 169    /// <summary> Clears the value of the oneof if it's currently set to "interceptor_type" </summary>
 170    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 171    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0172    public void ClearInterceptorType() {
 0173      if (HasInterceptorType) {
 0174        ClearTypeOneof();
 0175      }
 0176    }
 177
 178    /// <summary>Field number for the "threat_type" field.</summary>
 179    public const int ThreatTypeFieldNumber = 2;
 180    /// <summary>
 181    /// Threat type.
 182    /// </summary>
 183    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 184    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 185    public global::Micromissiles.ThreatType ThreatType {
 0186      get { return HasThreatType ? (global::Micromissiles.ThreatType) typeOneof_ : global::Micromissiles.ThreatType.Quad
 0187      set {
 0188        typeOneof_ = value;
 0189        typeOneofCase_ = TypeOneofOneofCase.ThreatType;
 0190      }
 191    }
 192    /// <summary>Gets whether the "threat_type" field is set</summary>
 193    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 194    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 195    public bool HasThreatType {
 0196      get { return typeOneofCase_ == TypeOneofOneofCase.ThreatType; }
 197    }
 198    /// <summary> Clears the value of the oneof if it's currently set to "threat_type" </summary>
 199    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 200    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0201    public void ClearThreatType() {
 0202      if (HasThreatType) {
 0203        ClearTypeOneof();
 0204      }
 0205    }
 206
 207    /// <summary>Field number for the "initial_state" field.</summary>
 208    public const int InitialStateFieldNumber = 3;
 209    private global::Micromissiles.State initialState_;
 210    /// <summary>
 211    /// Initial state.
 212    /// </summary>
 213    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 214    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 215    public global::Micromissiles.State InitialState {
 0216      get { return initialState_; }
 0217      set {
 0218        initialState_ = value;
 0219      }
 220    }
 221
 222    /// <summary>Field number for the "standard_deviation" field.</summary>
 223    public const int StandardDeviationFieldNumber = 4;
 224    private global::Micromissiles.State standardDeviation_;
 225    /// <summary>
 226    /// Initial state standard deviation to randomize the state variables.
 227    /// </summary>
 228    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 229    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 230    public global::Micromissiles.State StandardDeviation {
 0231      get { return standardDeviation_; }
 0232      set {
 0233        standardDeviation_ = value;
 0234      }
 235    }
 236
 237    /// <summary>Field number for the "dynamic_config" field.</summary>
 238    public const int DynamicConfigFieldNumber = 5;
 239    private global::Micromissiles.DynamicConfig dynamicConfig_;
 240    /// <summary>
 241    /// Dynamic configuration.
 242    /// </summary>
 243    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 244    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 245    public global::Micromissiles.DynamicConfig DynamicConfig {
 0246      get { return dynamicConfig_; }
 0247      set {
 0248        dynamicConfig_ = value;
 0249      }
 250    }
 251
 252    /// <summary>Field number for the "submunitions_config" field.</summary>
 253    public const int SubmunitionsConfigFieldNumber = 6;
 254    private global::Micromissiles.AgentConfig.Types.SubmunitionsConfig submunitionsConfig_;
 255    /// <summary>
 256    /// Submunitions configuration.
 257    /// </summary>
 258    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 259    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 260    public global::Micromissiles.AgentConfig.Types.SubmunitionsConfig SubmunitionsConfig {
 0261      get { return submunitionsConfig_; }
 0262      set {
 0263        submunitionsConfig_ = value;
 0264      }
 265    }
 266
 267    private object typeOneof_;
 268    /// <summary>Enum of possible cases for the "type_oneof" oneof.</summary>
 269    public enum TypeOneofOneofCase {
 270      None = 0,
 271      InterceptorType = 1,
 272      ThreatType = 2,
 273    }
 0274    private TypeOneofOneofCase typeOneofCase_ = TypeOneofOneofCase.None;
 275    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 276    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 277    public TypeOneofOneofCase TypeOneofCase {
 0278      get { return typeOneofCase_; }
 279    }
 280
 281    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 282    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0283    public void ClearTypeOneof() {
 0284      typeOneofCase_ = TypeOneofOneofCase.None;
 0285      typeOneof_ = null;
 0286    }
 287
 288    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 289    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0290    public override bool Equals(object other) {
 0291      return Equals(other as AgentConfig);
 0292    }
 293
 294    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 295    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0296    public bool Equals(AgentConfig other) {
 0297      if (ReferenceEquals(other, null)) {
 0298        return false;
 299      }
 0300      if (ReferenceEquals(other, this)) {
 0301        return true;
 302      }
 0303      if (InterceptorType != other.InterceptorType) return false;
 0304      if (ThreatType != other.ThreatType) return false;
 0305      if (!object.Equals(InitialState, other.InitialState)) return false;
 0306      if (!object.Equals(StandardDeviation, other.StandardDeviation)) return false;
 0307      if (!object.Equals(DynamicConfig, other.DynamicConfig)) return false;
 0308      if (!object.Equals(SubmunitionsConfig, other.SubmunitionsConfig)) return false;
 0309      if (TypeOneofCase != other.TypeOneofCase) return false;
 0310      return Equals(_unknownFields, other._unknownFields);
 0311    }
 312
 313    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 314    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0315    public override int GetHashCode() {
 0316      int hash = 1;
 0317      if (HasInterceptorType) hash ^= InterceptorType.GetHashCode();
 0318      if (HasThreatType) hash ^= ThreatType.GetHashCode();
 0319      if (initialState_ != null) hash ^= InitialState.GetHashCode();
 0320      if (standardDeviation_ != null) hash ^= StandardDeviation.GetHashCode();
 0321      if (dynamicConfig_ != null) hash ^= DynamicConfig.GetHashCode();
 0322      if (submunitionsConfig_ != null) hash ^= SubmunitionsConfig.GetHashCode();
 0323      hash ^= (int) typeOneofCase_;
 0324      if (_unknownFields != null) {
 0325        hash ^= _unknownFields.GetHashCode();
 0326      }
 0327      return hash;
 0328    }
 329
 330    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 331    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0332    public override string ToString() {
 0333      return pb::JsonFormatter.ToDiagnosticString(this);
 0334    }
 335
 336    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 337    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0338    public void WriteTo(pb::CodedOutputStream output) {
 339    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 0340      output.WriteRawMessage(this);
 341    #else
 342      if (HasInterceptorType) {
 343        output.WriteRawTag(8);
 344        output.WriteEnum((int) InterceptorType);
 345      }
 346      if (HasThreatType) {
 347        output.WriteRawTag(16);
 348        output.WriteEnum((int) ThreatType);
 349      }
 350      if (initialState_ != null) {
 351        output.WriteRawTag(26);
 352        output.WriteMessage(InitialState);
 353      }
 354      if (standardDeviation_ != null) {
 355        output.WriteRawTag(34);
 356        output.WriteMessage(StandardDeviation);
 357      }
 358      if (dynamicConfig_ != null) {
 359        output.WriteRawTag(42);
 360        output.WriteMessage(DynamicConfig);
 361      }
 362      if (submunitionsConfig_ != null) {
 363        output.WriteRawTag(50);
 364        output.WriteMessage(SubmunitionsConfig);
 365      }
 366      if (_unknownFields != null) {
 367        _unknownFields.WriteTo(output);
 368      }
 369    #endif
 0370    }
 371
 372    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 373    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 374    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0375    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 0376      if (HasInterceptorType) {
 0377        output.WriteRawTag(8);
 0378        output.WriteEnum((int) InterceptorType);
 0379      }
 0380      if (HasThreatType) {
 0381        output.WriteRawTag(16);
 0382        output.WriteEnum((int) ThreatType);
 0383      }
 0384      if (initialState_ != null) {
 0385        output.WriteRawTag(26);
 0386        output.WriteMessage(InitialState);
 0387      }
 0388      if (standardDeviation_ != null) {
 0389        output.WriteRawTag(34);
 0390        output.WriteMessage(StandardDeviation);
 0391      }
 0392      if (dynamicConfig_ != null) {
 0393        output.WriteRawTag(42);
 0394        output.WriteMessage(DynamicConfig);
 0395      }
 0396      if (submunitionsConfig_ != null) {
 0397        output.WriteRawTag(50);
 0398        output.WriteMessage(SubmunitionsConfig);
 0399      }
 0400      if (_unknownFields != null) {
 0401        _unknownFields.WriteTo(ref output);
 0402      }
 0403    }
 404    #endif
 405
 406    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 407    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0408    public int CalculateSize() {
 0409      int size = 0;
 0410      if (HasInterceptorType) {
 0411        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) InterceptorType);
 0412      }
 0413      if (HasThreatType) {
 0414        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ThreatType);
 0415      }
 0416      if (initialState_ != null) {
 0417        size += 1 + pb::CodedOutputStream.ComputeMessageSize(InitialState);
 0418      }
 0419      if (standardDeviation_ != null) {
 0420        size += 1 + pb::CodedOutputStream.ComputeMessageSize(StandardDeviation);
 0421      }
 0422      if (dynamicConfig_ != null) {
 0423        size += 1 + pb::CodedOutputStream.ComputeMessageSize(DynamicConfig);
 0424      }
 0425      if (submunitionsConfig_ != null) {
 0426        size += 1 + pb::CodedOutputStream.ComputeMessageSize(SubmunitionsConfig);
 0427      }
 0428      if (_unknownFields != null) {
 0429        size += _unknownFields.CalculateSize();
 0430      }
 0431      return size;
 0432    }
 433
 434    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 435    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0436    public void MergeFrom(AgentConfig other) {
 0437      if (other == null) {
 0438        return;
 439      }
 0440      if (other.initialState_ != null) {
 0441        if (initialState_ == null) {
 0442          InitialState = new global::Micromissiles.State();
 0443        }
 0444        InitialState.MergeFrom(other.InitialState);
 0445      }
 0446      if (other.standardDeviation_ != null) {
 0447        if (standardDeviation_ == null) {
 0448          StandardDeviation = new global::Micromissiles.State();
 0449        }
 0450        StandardDeviation.MergeFrom(other.StandardDeviation);
 0451      }
 0452      if (other.dynamicConfig_ != null) {
 0453        if (dynamicConfig_ == null) {
 0454          DynamicConfig = new global::Micromissiles.DynamicConfig();
 0455        }
 0456        DynamicConfig.MergeFrom(other.DynamicConfig);
 0457      }
 0458      if (other.submunitionsConfig_ != null) {
 0459        if (submunitionsConfig_ == null) {
 0460          SubmunitionsConfig = new global::Micromissiles.AgentConfig.Types.SubmunitionsConfig();
 0461        }
 0462        SubmunitionsConfig.MergeFrom(other.SubmunitionsConfig);
 0463      }
 0464      switch (other.TypeOneofCase) {
 465        case TypeOneofOneofCase.InterceptorType:
 0466          InterceptorType = other.InterceptorType;
 0467          break;
 468        case TypeOneofOneofCase.ThreatType:
 0469          ThreatType = other.ThreatType;
 0470          break;
 471      }
 472
 0473      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0474    }
 475
 476    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 477    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0478    public void MergeFrom(pb::CodedInputStream input) {
 479    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 0480      input.ReadRawMessage(this);
 481    #else
 482      uint tag;
 483      while ((tag = input.ReadTag()) != 0) {
 484      if ((tag & 7) == 4) {
 485        // Abort on any end group tag.
 486        return;
 487      }
 488      switch(tag) {
 489          default:
 490            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 491            break;
 492          case 8: {
 493            typeOneof_ = input.ReadEnum();
 494            typeOneofCase_ = TypeOneofOneofCase.InterceptorType;
 495            break;
 496          }
 497          case 16: {
 498            typeOneof_ = input.ReadEnum();
 499            typeOneofCase_ = TypeOneofOneofCase.ThreatType;
 500            break;
 501          }
 502          case 26: {
 503            if (initialState_ == null) {
 504              InitialState = new global::Micromissiles.State();
 505            }
 506            input.ReadMessage(InitialState);
 507            break;
 508          }
 509          case 34: {
 510            if (standardDeviation_ == null) {
 511              StandardDeviation = new global::Micromissiles.State();
 512            }
 513            input.ReadMessage(StandardDeviation);
 514            break;
 515          }
 516          case 42: {
 517            if (dynamicConfig_ == null) {
 518              DynamicConfig = new global::Micromissiles.DynamicConfig();
 519            }
 520            input.ReadMessage(DynamicConfig);
 521            break;
 522          }
 523          case 50: {
 524            if (submunitionsConfig_ == null) {
 525              SubmunitionsConfig = new global::Micromissiles.AgentConfig.Types.SubmunitionsConfig();
 526            }
 527            input.ReadMessage(SubmunitionsConfig);
 528            break;
 529          }
 530        }
 531      }
 532    #endif
 0533    }
 534
 535    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 536    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 537    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0538    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 539      uint tag;
 0540      while ((tag = input.ReadTag()) != 0) {
 0541      if ((tag & 7) == 4) {
 542        // Abort on any end group tag.
 0543        return;
 544      }
 0545      switch(tag) {
 546          default:
 0547            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 0548            break;
 0549          case 8: {
 0550            typeOneof_ = input.ReadEnum();
 0551            typeOneofCase_ = TypeOneofOneofCase.InterceptorType;
 0552            break;
 553          }
 0554          case 16: {
 0555            typeOneof_ = input.ReadEnum();
 0556            typeOneofCase_ = TypeOneofOneofCase.ThreatType;
 0557            break;
 558          }
 0559          case 26: {
 0560            if (initialState_ == null) {
 0561              InitialState = new global::Micromissiles.State();
 0562            }
 0563            input.ReadMessage(InitialState);
 0564            break;
 565          }
 0566          case 34: {
 0567            if (standardDeviation_ == null) {
 0568              StandardDeviation = new global::Micromissiles.State();
 0569            }
 0570            input.ReadMessage(StandardDeviation);
 0571            break;
 572          }
 0573          case 42: {
 0574            if (dynamicConfig_ == null) {
 0575              DynamicConfig = new global::Micromissiles.DynamicConfig();
 0576            }
 0577            input.ReadMessage(DynamicConfig);
 0578            break;
 579          }
 0580          case 50: {
 0581            if (submunitionsConfig_ == null) {
 0582              SubmunitionsConfig = new global::Micromissiles.AgentConfig.Types.SubmunitionsConfig();
 0583            }
 0584            input.ReadMessage(SubmunitionsConfig);
 0585            break;
 586          }
 587        }
 0588      }
 0589    }
 590    #endif
 591
 592    #region Nested types
 593    /// <summary>Container for nested types declared in the AgentConfig message type.</summary>
 594    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 595    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 596    public static partial class Types {
 597      /// <summary>
 598      /// Submunitions configuration.
 599      /// </summary>
 600      [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
 601      public sealed partial class SubmunitionsConfig : pb::IMessage<SubmunitionsConfig>
 602      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 603          , pb::IBufferMessage
 604      #endif
 605      {
 0606        private static readonly pb::MessageParser<SubmunitionsConfig> _parser = new pb::MessageParser<SubmunitionsConfig
 607        private pb::UnknownFieldSet _unknownFields;
 608        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 609        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0610        public static pb::MessageParser<SubmunitionsConfig> Parser { get { return _parser; } }
 611
 612        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 613        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 614        public static pbr::MessageDescriptor Descriptor {
 0615          get { return global::Micromissiles.AgentConfig.Descriptor.NestedTypes[0]; }
 616        }
 617
 618        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 619        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 620        pbr::MessageDescriptor pb::IMessage.Descriptor {
 0621          get { return Descriptor; }
 622        }
 623
 624        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 625        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0626        public SubmunitionsConfig() {
 627          OnConstruction();
 0628        }
 629
 630        partial void OnConstruction();
 631
 632        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 633        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0634        public SubmunitionsConfig(SubmunitionsConfig other) : this() {
 0635          numSubmunitions_ = other.numSubmunitions_;
 0636          agentConfig_ = other.agentConfig_ != null ? other.agentConfig_.Clone() : null;
 0637          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0638        }
 639
 640        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 641        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0642        public SubmunitionsConfig Clone() {
 0643          return new SubmunitionsConfig(this);
 0644        }
 645
 646        /// <summary>Field number for the "num_submunitions" field.</summary>
 647        public const int NumSubmunitionsFieldNumber = 1;
 648        private uint numSubmunitions_;
 649        /// <summary>
 650        /// Number of submunitions.
 651        /// </summary>
 652        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 653        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 654        public uint NumSubmunitions {
 0655          get { return numSubmunitions_; }
 0656          set {
 0657            numSubmunitions_ = value;
 0658          }
 659        }
 660
 661        /// <summary>Field number for the "agent_config" field.</summary>
 662        public const int AgentConfigFieldNumber = 2;
 663        private global::Micromissiles.AgentConfig agentConfig_;
 664        /// <summary>
 665        /// Agent configuration.
 666        /// </summary>
 667        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 668        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 669        public global::Micromissiles.AgentConfig AgentConfig {
 0670          get { return agentConfig_; }
 0671          set {
 0672            agentConfig_ = value;
 0673          }
 674        }
 675
 676        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 677        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0678        public override bool Equals(object other) {
 0679          return Equals(other as SubmunitionsConfig);
 0680        }
 681
 682        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 683        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0684        public bool Equals(SubmunitionsConfig other) {
 0685          if (ReferenceEquals(other, null)) {
 0686            return false;
 687          }
 0688          if (ReferenceEquals(other, this)) {
 0689            return true;
 690          }
 0691          if (NumSubmunitions != other.NumSubmunitions) return false;
 0692          if (!object.Equals(AgentConfig, other.AgentConfig)) return false;
 0693          return Equals(_unknownFields, other._unknownFields);
 0694        }
 695
 696        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 697        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0698        public override int GetHashCode() {
 0699          int hash = 1;
 0700          if (NumSubmunitions != 0) hash ^= NumSubmunitions.GetHashCode();
 0701          if (agentConfig_ != null) hash ^= AgentConfig.GetHashCode();
 0702          if (_unknownFields != null) {
 0703            hash ^= _unknownFields.GetHashCode();
 0704          }
 0705          return hash;
 0706        }
 707
 708        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 709        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0710        public override string ToString() {
 0711          return pb::JsonFormatter.ToDiagnosticString(this);
 0712        }
 713
 714        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 715        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0716        public void WriteTo(pb::CodedOutputStream output) {
 717        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 0718          output.WriteRawMessage(this);
 719        #else
 720          if (NumSubmunitions != 0) {
 721            output.WriteRawTag(8);
 722            output.WriteUInt32(NumSubmunitions);
 723          }
 724          if (agentConfig_ != null) {
 725            output.WriteRawTag(18);
 726            output.WriteMessage(AgentConfig);
 727          }
 728          if (_unknownFields != null) {
 729            _unknownFields.WriteTo(output);
 730          }
 731        #endif
 0732        }
 733
 734        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 735        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 736        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0737        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 0738          if (NumSubmunitions != 0) {
 0739            output.WriteRawTag(8);
 0740            output.WriteUInt32(NumSubmunitions);
 0741          }
 0742          if (agentConfig_ != null) {
 0743            output.WriteRawTag(18);
 0744            output.WriteMessage(AgentConfig);
 0745          }
 0746          if (_unknownFields != null) {
 0747            _unknownFields.WriteTo(ref output);
 0748          }
 0749        }
 750        #endif
 751
 752        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 753        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0754        public int CalculateSize() {
 0755          int size = 0;
 0756          if (NumSubmunitions != 0) {
 0757            size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NumSubmunitions);
 0758          }
 0759          if (agentConfig_ != null) {
 0760            size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentConfig);
 0761          }
 0762          if (_unknownFields != null) {
 0763            size += _unknownFields.CalculateSize();
 0764          }
 0765          return size;
 0766        }
 767
 768        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 769        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0770        public void MergeFrom(SubmunitionsConfig other) {
 0771          if (other == null) {
 0772            return;
 773          }
 0774          if (other.NumSubmunitions != 0) {
 0775            NumSubmunitions = other.NumSubmunitions;
 0776          }
 0777          if (other.agentConfig_ != null) {
 0778            if (agentConfig_ == null) {
 0779              AgentConfig = new global::Micromissiles.AgentConfig();
 0780            }
 0781            AgentConfig.MergeFrom(other.AgentConfig);
 0782          }
 0783          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0784        }
 785
 786        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 787        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0788        public void MergeFrom(pb::CodedInputStream input) {
 789        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 0790          input.ReadRawMessage(this);
 791        #else
 792          uint tag;
 793          while ((tag = input.ReadTag()) != 0) {
 794          if ((tag & 7) == 4) {
 795            // Abort on any end group tag.
 796            return;
 797          }
 798          switch(tag) {
 799              default:
 800                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 801                break;
 802              case 8: {
 803                NumSubmunitions = input.ReadUInt32();
 804                break;
 805              }
 806              case 18: {
 807                if (agentConfig_ == null) {
 808                  AgentConfig = new global::Micromissiles.AgentConfig();
 809                }
 810                input.ReadMessage(AgentConfig);
 811                break;
 812              }
 813            }
 814          }
 815        #endif
 0816        }
 817
 818        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 819        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 820        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0821        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 822          uint tag;
 0823          while ((tag = input.ReadTag()) != 0) {
 0824          if ((tag & 7) == 4) {
 825            // Abort on any end group tag.
 0826            return;
 827          }
 0828          switch(tag) {
 829              default:
 0830                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 0831                break;
 0832              case 8: {
 0833                NumSubmunitions = input.ReadUInt32();
 0834                break;
 835              }
 0836              case 18: {
 0837                if (agentConfig_ == null) {
 0838                  AgentConfig = new global::Micromissiles.AgentConfig();
 0839                }
 0840                input.ReadMessage(AgentConfig);
 0841                break;
 842              }
 843            }
 0844          }
 0845        }
 846        #endif
 847
 848      }
 849
 850    }
 851    #endregion
 852
 853  }
 854
 855  /// <summary>
 856  /// Agent swarm configuration.
 857  /// </summary>
 858  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
 859  public sealed partial class AgentSwarmConfig : pb::IMessage<AgentSwarmConfig>
 860  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 861      , pb::IBufferMessage
 862  #endif
 863  {
 864    private static readonly pb::MessageParser<AgentSwarmConfig> _parser = new pb::MessageParser<AgentSwarmConfig>(() => 
 865    private pb::UnknownFieldSet _unknownFields;
 866    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 867    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 868    public static pb::MessageParser<AgentSwarmConfig> Parser { get { return _parser; } }
 869
 870    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 871    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 872    public static pbr::MessageDescriptor Descriptor {
 873      get { return global::Micromissiles.AgentReflection.Descriptor.MessageTypes[1]; }
 874    }
 875
 876    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 877    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 878    pbr::MessageDescriptor pb::IMessage.Descriptor {
 879      get { return Descriptor; }
 880    }
 881
 882    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 883    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 884    public AgentSwarmConfig() {
 885      OnConstruction();
 886    }
 887
 888    partial void OnConstruction();
 889
 890    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 891    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 892    public AgentSwarmConfig(AgentSwarmConfig other) : this() {
 893      numAgents_ = other.numAgents_;
 894      agentConfig_ = other.agentConfig_ != null ? other.agentConfig_.Clone() : null;
 895      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 896    }
 897
 898    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 899    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 900    public AgentSwarmConfig Clone() {
 901      return new AgentSwarmConfig(this);
 902    }
 903
 904    /// <summary>Field number for the "num_agents" field.</summary>
 905    public const int NumAgentsFieldNumber = 1;
 906    private uint numAgents_;
 907    /// <summary>
 908    /// Number of agents.
 909    /// </summary>
 910    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 911    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 912    public uint NumAgents {
 913      get { return numAgents_; }
 914      set {
 915        numAgents_ = value;
 916      }
 917    }
 918
 919    /// <summary>Field number for the "agent_config" field.</summary>
 920    public const int AgentConfigFieldNumber = 2;
 921    private global::Micromissiles.AgentConfig agentConfig_;
 922    /// <summary>
 923    /// Agent configuration.
 924    /// </summary>
 925    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 926    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 927    public global::Micromissiles.AgentConfig AgentConfig {
 928      get { return agentConfig_; }
 929      set {
 930        agentConfig_ = value;
 931      }
 932    }
 933
 934    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 935    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 936    public override bool Equals(object other) {
 937      return Equals(other as AgentSwarmConfig);
 938    }
 939
 940    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 941    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 942    public bool Equals(AgentSwarmConfig other) {
 943      if (ReferenceEquals(other, null)) {
 944        return false;
 945      }
 946      if (ReferenceEquals(other, this)) {
 947        return true;
 948      }
 949      if (NumAgents != other.NumAgents) return false;
 950      if (!object.Equals(AgentConfig, other.AgentConfig)) return false;
 951      return Equals(_unknownFields, other._unknownFields);
 952    }
 953
 954    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 955    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 956    public override int GetHashCode() {
 957      int hash = 1;
 958      if (NumAgents != 0) hash ^= NumAgents.GetHashCode();
 959      if (agentConfig_ != null) hash ^= AgentConfig.GetHashCode();
 960      if (_unknownFields != null) {
 961        hash ^= _unknownFields.GetHashCode();
 962      }
 963      return hash;
 964    }
 965
 966    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 967    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 968    public override string ToString() {
 969      return pb::JsonFormatter.ToDiagnosticString(this);
 970    }
 971
 972    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 973    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 974    public void WriteTo(pb::CodedOutputStream output) {
 975    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 976      output.WriteRawMessage(this);
 977    #else
 978      if (NumAgents != 0) {
 979        output.WriteRawTag(8);
 980        output.WriteUInt32(NumAgents);
 981      }
 982      if (agentConfig_ != null) {
 983        output.WriteRawTag(18);
 984        output.WriteMessage(AgentConfig);
 985      }
 986      if (_unknownFields != null) {
 987        _unknownFields.WriteTo(output);
 988      }
 989    #endif
 990    }
 991
 992    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 993    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 994    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 995    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 996      if (NumAgents != 0) {
 997        output.WriteRawTag(8);
 998        output.WriteUInt32(NumAgents);
 999      }
 1000      if (agentConfig_ != null) {
 1001        output.WriteRawTag(18);
 1002        output.WriteMessage(AgentConfig);
 1003      }
 1004      if (_unknownFields != null) {
 1005        _unknownFields.WriteTo(ref output);
 1006      }
 1007    }
 1008    #endif
 1009
 1010    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1011    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1012    public int CalculateSize() {
 1013      int size = 0;
 1014      if (NumAgents != 0) {
 1015        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NumAgents);
 1016      }
 1017      if (agentConfig_ != null) {
 1018        size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentConfig);
 1019      }
 1020      if (_unknownFields != null) {
 1021        size += _unknownFields.CalculateSize();
 1022      }
 1023      return size;
 1024    }
 1025
 1026    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1027    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1028    public void MergeFrom(AgentSwarmConfig other) {
 1029      if (other == null) {
 1030        return;
 1031      }
 1032      if (other.NumAgents != 0) {
 1033        NumAgents = other.NumAgents;
 1034      }
 1035      if (other.agentConfig_ != null) {
 1036        if (agentConfig_ == null) {
 1037          AgentConfig = new global::Micromissiles.AgentConfig();
 1038        }
 1039        AgentConfig.MergeFrom(other.AgentConfig);
 1040      }
 1041      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1042    }
 1043
 1044    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1045    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1046    public void MergeFrom(pb::CodedInputStream input) {
 1047    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1048      input.ReadRawMessage(this);
 1049    #else
 1050      uint tag;
 1051      while ((tag = input.ReadTag()) != 0) {
 1052      if ((tag & 7) == 4) {
 1053        // Abort on any end group tag.
 1054        return;
 1055      }
 1056      switch(tag) {
 1057          default:
 1058            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1059            break;
 1060          case 8: {
 1061            NumAgents = input.ReadUInt32();
 1062            break;
 1063          }
 1064          case 18: {
 1065            if (agentConfig_ == null) {
 1066              AgentConfig = new global::Micromissiles.AgentConfig();
 1067            }
 1068            input.ReadMessage(AgentConfig);
 1069            break;
 1070          }
 1071        }
 1072      }
 1073    #endif
 1074    }
 1075
 1076    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1077    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1078    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1079    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1080      uint tag;
 1081      while ((tag = input.ReadTag()) != 0) {
 1082      if ((tag & 7) == 4) {
 1083        // Abort on any end group tag.
 1084        return;
 1085      }
 1086      switch(tag) {
 1087          default:
 1088            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1089            break;
 1090          case 8: {
 1091            NumAgents = input.ReadUInt32();
 1092            break;
 1093          }
 1094          case 18: {
 1095            if (agentConfig_ == null) {
 1096              AgentConfig = new global::Micromissiles.AgentConfig();
 1097            }
 1098            input.ReadMessage(AgentConfig);
 1099            break;
 1100          }
 1101        }
 1102      }
 1103    }
 1104    #endif
 1105
 1106  }
 1107
 1108  #endregion
 1109
 1110}
 1111
 1112#endregion Designer generated code

Methods/Properties

AgentConfig()
Parser()
Descriptor()
get_Descriptor()
AgentConfig()
AgentConfig(Micromissiles.AgentConfig)
Clone()
InterceptorType()
InterceptorType(Micromissiles.InterceptorType)
HasInterceptorType()
ClearInterceptorType()
ThreatType()
ThreatType(Micromissiles.ThreatType)
HasThreatType()
ClearThreatType()
InitialState()
InitialState(Micromissiles.State)
StandardDeviation()
StandardDeviation(Micromissiles.State)
DynamicConfig()
DynamicConfig(Micromissiles.DynamicConfig)
SubmunitionsConfig()
SubmunitionsConfig(Micromissiles.AgentConfig/Types/SubmunitionsConfig)
TypeOneofCase()
ClearTypeOneof()
Equals(System.Object)
Equals(Micromissiles.AgentConfig)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
InternalWriteTo(Google.Protobuf.WriteContext&)
CalculateSize()
MergeFrom(Micromissiles.AgentConfig)
MergeFrom(Google.Protobuf.CodedInputStream)
InternalMergeFrom(Google.Protobuf.ParseContext&)
SubmunitionsConfig()
Parser()
Descriptor()
get_Descriptor()
SubmunitionsConfig()
SubmunitionsConfig(Micromissiles.AgentConfig/Types/SubmunitionsConfig)
Clone()
NumSubmunitions()
NumSubmunitions(System.UInt32)
AgentConfig()
AgentConfig(Micromissiles.AgentConfig)
Equals(System.Object)
Equals(Micromissiles.AgentConfig/Types/SubmunitionsConfig)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
InternalWriteTo(Google.Protobuf.WriteContext&)
CalculateSize()
MergeFrom(Micromissiles.AgentConfig/Types/SubmunitionsConfig)
MergeFrom(Google.Protobuf.CodedInputStream)
InternalMergeFrom(Google.Protobuf.ParseContext&)