// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: datastruct.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 datastruct.proto</summary>
  public static partial class DatastructReflection {

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

    static DatastructReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChBkYXRhc3RydWN0LnByb3RvEhhzYXRsbGl0ZS5wcm90b2J1Zi5URFNDbWQa",
            "GWdvb2dsZS9wcm90b2J1Zi9hbnkucHJvdG8irgQKBlREU0NtZBIxCgNDbWQY",
            "ASABKA4yJC5zYXRsbGl0ZS5wcm90b2J1Zi5URFNDbWQuVERTQ21kLklJRBIP",
            "CgdEc3RTVUlEGAIgASgNEg8KB1NyY1NVSUQYAyABKA0SEwoLRm9yd2FyZEZs",
            "YWcYBCABKA0SKAoKUGFyYW1ldGVycxgFIAMoCzIULmdvb2dsZS5wcm90b2J1",
            "Zi5BbnkijwMKA0lJRBIMCghJSURfQmFzZRAAEhQKD0lJRF9TZXJ2ZXJfQmFz",
            "ZRDoBxITCg5JSURfU2VydmVyX3h4eBDpBxIbChZJSURfU2VydmVyX3h4eF9y",
            "ZXNwb25kEOoHEhAKC0lJRF9VSV9CYXNlENAPEg8KCklJRF9VSV94eHgQ0Q8S",
            "FwoSSUlEX1VJX3h4eF9yZXNwb25kENIPEhQKD0lJRF9EZXZpY2VfQmFzZRC4",
            "FxITCg5JSURfRGV2aWNlX3h4eBC5FxIbChZJSURfRGV2aWNlX3h4eF9yZXNw",
            "b25kELoXEhEKDElJRF9BR0lfQmFzZRCgHxIQCgtJSURfQUdJX1RMRRChHxIY",
            "ChNJSURfQUdJX1RMRV9yZXNwb25kEKIfEhMKDklJRF9BR0lfUmVwb3J0EKMf",
            "EhsKFklJRF9BR0lfUmVwb3J0X3Jlc3BvbmQQpB8SEQoMSUlEX09BTV9CYXNl",
            "EIgnEhAKC0lJRF9PQU1feHh4EIknEhgKE0lJRF9PQU1feHh4X3Jlc3BvbmQQ",
            "iidiBnByb3RvMw=="));
      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.DatastructReflection.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
