// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: tdscmd.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code

using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Satllite.Protobuf.TDSCmd {

  /// <summary>Holder for reflection information generated from tdscmd.proto</summary>
  public static partial class TdscmdReflection {

    #region Descriptor
    /// <summary>File descriptor for tdscmd.proto</summary>
    public static pbr::FileDescriptor Descriptor {
      get { return descriptor; }
    }
    private static pbr::FileDescriptor descriptor;

    static TdscmdReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Cgx0ZHNjbWQucHJvdG8SGHNhdGxsaXRlLnByb3RvYnVmLlREU0NtZBoZZ29v",
            "Z2xlL3Byb3RvYnVmL2FueS5wcm90byKuBAoGVERTQ21kEjEKA0NtZBgBIAEo",
            "DjIkLnNhdGxsaXRlLnByb3RvYnVmLlREU0NtZC5URFNDbWQuSUlEEg8KB0Rz",
            "dFNVSUQYAiABKA0SDwoHU3JjU1VJRBgDIAEoDRITCgtGb3J3YXJkRmxhZxgE",
            "IAEoDRIoCgpQYXJhbWV0ZXJzGAUgAygLMhQuZ29vZ2xlLnByb3RvYnVmLkFu",
            "eSKPAwoDSUlEEgwKCElJRF9CYXNlEAASFAoPSUlEX1NlcnZlcl9CYXNlEOgH",
            "EhMKDklJRF9TZXJ2ZXJfeHh4EOkHEhsKFklJRF9TZXJ2ZXJfeHh4X3Jlc3Bv",
            "bmQQ6gcSEAoLSUlEX1VJX0Jhc2UQ0A8SDwoKSUlEX1VJX3h4eBDRDxIXChJJ",
            "SURfVUlfeHh4X3Jlc3BvbmQQ0g8SFAoPSUlEX0RldmljZV9CYXNlELgXEhMK",
            "DklJRF9EZXZpY2VfeHh4ELkXEhsKFklJRF9EZXZpY2VfeHh4X3Jlc3BvbmQQ",
            "uhcSEQoMSUlEX0FHSV9CYXNlEKAfEhAKC0lJRF9BR0lfVExFEKEfEhgKE0lJ",
            "RF9BR0lfVExFX3Jlc3BvbmQQoh8SEwoOSUlEX0FHSV9SZXBvcnQQox8SGwoW",
            "SUlEX0FHSV9SZXBvcnRfcmVzcG9uZBCkHxIRCgxJSURfT0FNX0Jhc2UQiCcS",
            "EAoLSUlEX09BTV94eHgQiScSGAoTSUlEX09BTV94eHhfcmVzcG9uZBCKJ2IG",
            "cHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.AnyReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::Satllite.Protobuf.TDSCmd.TDSCmd), global::Satllite.Protobuf.TDSCmd.TDSCmd.Parser, new[]{ "Cmd", "DstSUID", "SrcSUID", "ForwardFlag", "Parameters" }, null, new[]{ typeof(global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID) }, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  public sealed partial class TDSCmd : pb::IMessage<TDSCmd>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<TDSCmd> _parser = new pb::MessageParser<TDSCmd>(() => new TDSCmd());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<TDSCmd> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Satllite.Protobuf.TDSCmd.TdscmdReflection.Descriptor.MessageTypes[0]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TDSCmd() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TDSCmd(TDSCmd other) : this() {
      cmd_ = other.cmd_;
      dstSUID_ = other.dstSUID_;
      srcSUID_ = other.srcSUID_;
      forwardFlag_ = other.forwardFlag_;
      parameters_ = other.parameters_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TDSCmd Clone() {
      return new TDSCmd(this);
    }

    /// <summary>Field number for the "Cmd" field.</summary>
    public const int CmdFieldNumber = 1;
    private global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID cmd_ = global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID Cmd {
      get { return cmd_; }
      set {
        cmd_ = value;
      }
    }

    /// <summary>Field number for the "DstSUID" field.</summary>
    public const int DstSUIDFieldNumber = 2;
    private uint dstSUID_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint DstSUID {
      get { return dstSUID_; }
      set {
        dstSUID_ = value;
      }
    }

    /// <summary>Field number for the "SrcSUID" field.</summary>
    public const int SrcSUIDFieldNumber = 3;
    private uint srcSUID_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint SrcSUID {
      get { return srcSUID_; }
      set {
        srcSUID_ = value;
      }
    }

    /// <summary>Field number for the "ForwardFlag" field.</summary>
    public const int ForwardFlagFieldNumber = 4;
    private uint forwardFlag_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint ForwardFlag {
      get { return forwardFlag_; }
      set {
        forwardFlag_ = value;
      }
    }

    /// <summary>Field number for the "Parameters" field.</summary>
    public const int ParametersFieldNumber = 5;
    private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Any> _repeated_parameters_codec
        = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.WellKnownTypes.Any.Parser);
    private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> parameters_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> Parameters {
      get { return parameters_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as TDSCmd);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(TDSCmd other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Cmd != other.Cmd) return false;
      if (DstSUID != other.DstSUID) return false;
      if (SrcSUID != other.SrcSUID) return false;
      if (ForwardFlag != other.ForwardFlag) return false;
      if(!parameters_.Equals(other.parameters_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) hash ^= Cmd.GetHashCode();
      if (DstSUID != 0) hash ^= DstSUID.GetHashCode();
      if (SrcSUID != 0) hash ^= SrcSUID.GetHashCode();
      if (ForwardFlag != 0) hash ^= ForwardFlag.GetHashCode();
      hash ^= parameters_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) {
        output.WriteRawTag(8);
        output.WriteEnum((int) Cmd);
      }
      if (DstSUID != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(DstSUID);
      }
      if (SrcSUID != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(SrcSUID);
      }
      if (ForwardFlag != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(ForwardFlag);
      }
      parameters_.WriteTo(output, _repeated_parameters_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) {
        output.WriteRawTag(8);
        output.WriteEnum((int) Cmd);
      }
      if (DstSUID != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(DstSUID);
      }
      if (SrcSUID != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(SrcSUID);
      }
      if (ForwardFlag != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(ForwardFlag);
      }
      parameters_.WriteTo(ref output, _repeated_parameters_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Cmd);
      }
      if (DstSUID != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DstSUID);
      }
      if (SrcSUID != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SrcSUID);
      }
      if (ForwardFlag != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ForwardFlag);
      }
      size += parameters_.CalculateSize(_repeated_parameters_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(TDSCmd other) {
      if (other == null) {
        return;
      }
      if (other.Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) {
        Cmd = other.Cmd;
      }
      if (other.DstSUID != 0) {
        DstSUID = other.DstSUID;
      }
      if (other.SrcSUID != 0) {
        SrcSUID = other.SrcSUID;
      }
      if (other.ForwardFlag != 0) {
        ForwardFlag = other.ForwardFlag;
      }
      parameters_.Add(other.parameters_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            Cmd = (global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID) input.ReadEnum();
            break;
          }
          case 16: {
            DstSUID = input.ReadUInt32();
            break;
          }
          case 24: {
            SrcSUID = input.ReadUInt32();
            break;
          }
          case 32: {
            ForwardFlag = input.ReadUInt32();
            break;
          }
          case 42: {
            parameters_.AddEntriesFrom(input, _repeated_parameters_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Cmd = (global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID) input.ReadEnum();
            break;
          }
          case 16: {
            DstSUID = input.ReadUInt32();
            break;
          }
          case 24: {
            SrcSUID = input.ReadUInt32();
            break;
          }
          case 32: {
            ForwardFlag = input.ReadUInt32();
            break;
          }
          case 42: {
            parameters_.AddEntriesFrom(ref input, _repeated_parameters_codec);
            break;
          }
        }
      }
    }
    #endif

    #region Nested types
    /// <summary>Container for nested types declared in the TDSCmd message type.</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static partial class Types {
      public enum IID {
        [pbr::OriginalName("IID_Base")] Base = 0,
        [pbr::OriginalName("IID_Server_Base")] ServerBase = 1000,
        [pbr::OriginalName("IID_Server_xxx")] ServerXxx = 1001,
        [pbr::OriginalName("IID_Server_xxx_respond")] ServerXxxRespond = 1002,
        [pbr::OriginalName("IID_UI_Base")] UiBase = 2000,
        [pbr::OriginalName("IID_UI_xxx")] UiXxx = 2001,
        [pbr::OriginalName("IID_UI_xxx_respond")] UiXxxRespond = 2002,
        [pbr::OriginalName("IID_Device_Base")] DeviceBase = 3000,
        [pbr::OriginalName("IID_Device_xxx")] DeviceXxx = 3001,
        [pbr::OriginalName("IID_Device_xxx_respond")] DeviceXxxRespond = 3002,
        [pbr::OriginalName("IID_AGI_Base")] AgiBase = 4000,
        [pbr::OriginalName("IID_AGI_TLE")] AgiTle = 4001,
        [pbr::OriginalName("IID_AGI_TLE_respond")] AgiTleRespond = 4002,
        [pbr::OriginalName("IID_AGI_Report")] AgiReport = 4003,
        [pbr::OriginalName("IID_AGI_Report_respond")] AgiReportRespond = 4004,
        [pbr::OriginalName("IID_OAM_Base")] OamBase = 5000,
        [pbr::OriginalName("IID_OAM_xxx")] OamXxx = 5001,
        [pbr::OriginalName("IID_OAM_xxx_respond")] OamXxxRespond = 5002,
      }

    }
    #endregion

  }

  #endregion

}

#endregion Designer generated code
