// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: struct.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#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;
/// <summary>Holder for reflection information generated from struct.proto</summary>
public static partial class StructReflection {

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

  static StructReflection() {
    byte[] descriptorData = global::System.Convert.FromBase64String(
        string.Concat(
          "CgxzdHJ1Y3QucHJvdG8aGWdvb2dsZS9wcm90b2J1Zi9hbnkucHJvdG8i1QEK",
          "B1REU0RhdGESDQoFdGFibGUYASABKAkSGQoHdGFibGVJZBgCIAEoDjIILlRh",
          "YmxlSWQSHQoFZmxhZ3MYAyABKA4yDi5URFNEYXRhLkZsYWdzEiAKB3BheWxv",
          "YWQYBCADKAsyDy5URFNEYXRhUGF5bG9hZBIVCg1wRHNfc3BsaXRfbnVtGAUg",
          "ASgFEhcKD3BEc19zcGxpdF9pbmRleBgGIAEoBSIvCgVGbGFncxITCg9OT1JN",
          "QUxfRElTUEFUQ0gQABIRCg1GVUxMX0RJU1BBVENIEAEirwIKDlREU0RhdGFQ",
          "YXlsb2FkEiwKCW9wZXJhdGlvbhgBIAEoDjIZLlREU0RhdGFQYXlsb2FkLk9w",
          "ZXJhdGlvbhImCgNyZXQYAiABKA4yGS5URFNEYXRhUGF5bG9hZC5PcGVyYV9y",
          "ZXQSCwoDbXNnGAMgASgJEiIKBGRhdGEYBCADKAsyFC5nb29nbGUucHJvdG9i",
          "dWYuQW55IlwKCU9wZXJhdGlvbhIRCg1PUEVSQVRJT05fQUREEAASEQoNT1BF",
          "UkFUSU9OX0RFTBABEhQKEE9QRVJBVElPTl9VUERBVEUQAhITCg9PUEVSQVRJ",
          "T05fUVVFUlkQAyI4CglPcGVyYV9yZXQSFQoRT1BFUkFUSU9OX1NVQ0NFRUQQ",
          "ABIUChBPUEVSQVRJT05fRkFJTEVEEAEq7QUKB1RhYmxlSWQSCAoETm9uZRAA",
          "Eg4KClVzZXJfTG9naW4QZBINCglVc2VyX0xpc3QQZRIMCghVc2VyX0FkZBBm",
          "EgwKCFVzZXJfRGVsEGcSDwoLVXNlcl9VcGRhdGUQaBIMCghTaXRlX0FkZBBu",
          "EgwKCFNpdGVfRGVsEG8SEgoOU2l0ZV9pbmZvX0xpc3QQcBITCg9TaXRlX1Bh",
          "cmFtX0xpc3QQcRIVChFTaXRlX1BhcmFtX1VwZGF0ZRByEhYKElNpdGVfUGFy",
          "YW1fRGVmYXVsdBBzEhoKFlNhdGVsbGl0ZV9FbGVtZW50X0xpc3QQeBIRCg1T",
          "YXRlbGxpdGVfRGVsEHkSHAoYU2F0ZWxsaXRlX0VsZW1lbnRfVXBkYXRlEHoS",
          "GQoVU2F0ZWxsaXRlX0luZm9fVXBkYXRlEHsSFwoTU2F0ZWxsaXRlX0luZm9f",
          "TGlzdBB8EhoKFlNhdGVsbGl0ZV9QYXJhbV9VcGRhdGUQfRIYChRTYXRlbGxp",
          "dGVfUGFyYW1fTGlzdBB+Eh0KGVNhdGVsbGl0ZV9GaW5kX0J5X0VsZW1lbnQQ",
          "fxIVChBTeXN0ZW1fUGFyYW1fR2V0EIwBEhUKEFN5c3RlbV9QYXJhbV9TZXQQ",
          "jQESGQoUU3lzdGVtX1BhcmFtX0RlZmF1bHQQjgESFAoPU3lzdGVtX0xvZ19s",
          "aXN0EJEBEhEKDFNlcnZpY2VfTGlzdBDIARITCg5TZXJ2aWNlX1VwZGF0ZRDJ",
          "ARIXChJTZXJ2aWNlX0ZhdWx0X2xpc3QQzQESEgoNVGFza19Gb3JlY2FzdBCs",
          "AhINCghUYXNrX0RlbBCtAhIQCgtUYXNrX1VwZGF0ZRCuAhIOCglUYXNrX0xp",
          "c3QQrwISFAoPVGFza19EZXRhaWxfRGF0ELYCEhYKEVRhc2tfRGV0YWlsX1Bv",
          "aW50ELcCEhMKDlRhc2tfRXhlY19MaXN0EN4CEhoKFVRhc2tfRXhlY19EZXRh",
          "aWxfU3BlYxDfAkIMWgouLi9wcm90b2dvYgZwcm90bzM="));
    descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
        new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.AnyReflection.Descriptor, },
        new pbr::GeneratedClrTypeInfo(new[] {typeof(global::TableId), }, null, new pbr::GeneratedClrTypeInfo[] {
          new pbr::GeneratedClrTypeInfo(typeof(global::TDSData), global::TDSData.Parser, new[]{ "Table", "TableId", "Flags", "Payload", "PDsSplitNum", "PDsSplitIndex" }, null, new[]{ typeof(global::TDSData.Types.Flags) }, null, null),
          new pbr::GeneratedClrTypeInfo(typeof(global::TDSDataPayload), global::TDSDataPayload.Parser, new[]{ "Operation", "Ret", "Msg", "Data" }, null, new[]{ typeof(global::TDSDataPayload.Types.Operation), typeof(global::TDSDataPayload.Types.Opera_ret) }, null, null)
        }));
  }
  #endregion

}
#region Enums
/// <summary>
/// 业务功能路由。每个模块都有对应的 mod-&lt;name>.proto
/// </summary>
public enum TableId {
  [pbr::OriginalName("None")] None = 0,
  [pbr::OriginalName("User_Login")] UserLogin = 100,
  [pbr::OriginalName("User_List")] UserList = 101,
  [pbr::OriginalName("User_Add")] UserAdd = 102,
  [pbr::OriginalName("User_Del")] UserDel = 103,
  [pbr::OriginalName("User_Update")] UserUpdate = 104,
  [pbr::OriginalName("Site_Add")] SiteAdd = 110,
  [pbr::OriginalName("Site_Del")] SiteDel = 111,
  [pbr::OriginalName("Site_info_List")] SiteInfoList = 112,
  [pbr::OriginalName("Site_Param_List")] SiteParamList = 113,
  [pbr::OriginalName("Site_Param_Update")] SiteParamUpdate = 114,
  /// <summary>
  /// 获取默认参数
  /// </summary>
  [pbr::OriginalName("Site_Param_Default")] SiteParamDefault = 115,
  /// <summary>
  /// 根数列表
  /// </summary>
  [pbr::OriginalName("Satellite_Element_List")] SatelliteElementList = 120,
  [pbr::OriginalName("Satellite_Del")] SatelliteDel = 121,
  [pbr::OriginalName("Satellite_Element_Update")] SatelliteElementUpdate = 122,
  /// <summary>
  /// 卫星基本信息更新
  /// </summary>
  [pbr::OriginalName("Satellite_Info_Update")] SatelliteInfoUpdate = 123,
  /// <summary>
  /// 卫星基本信息
  /// </summary>
  [pbr::OriginalName("Satellite_Info_List")] SatelliteInfoList = 124,
  /// <summary>
  /// 卫星工作参数更新
  /// </summary>
  [pbr::OriginalName("Satellite_Param_Update")] SatelliteParamUpdate = 125,
  [pbr::OriginalName("Satellite_Param_List")] SatelliteParamList = 126,
  /// <summary>
  /// 根据根数获取已录入的卫星信息
  /// </summary>
  [pbr::OriginalName("Satellite_Find_By_Element")] SatelliteFindByElement = 127,
  /// <summary>
  /// 系统参数：冲突规则、预报参数
  /// </summary>
  [pbr::OriginalName("System_Param_Get")] SystemParamGet = 140,
  [pbr::OriginalName("System_Param_Set")] SystemParamSet = 141,
  /// <summary>
  /// 获取默认参数
  /// </summary>
  [pbr::OriginalName("System_Param_Default")] SystemParamDefault = 142,
  /// <summary>
  /// 系统日志
  /// </summary>
  [pbr::OriginalName("System_Log_list")] SystemLogList = 145,
  /// <summary>
  /// 设备
  /// </summary>
  [pbr::OriginalName("Service_List")] ServiceList = 200,
  /// <summary>
  /// 修改设备通信参数
  /// </summary>
  [pbr::OriginalName("Service_Update")] ServiceUpdate = 201,
  /// <summary>
  /// 设备故障列表
  /// </summary>
  [pbr::OriginalName("Service_Fault_list")] ServiceFaultList = 205,
  /// <summary>
  /// task
  /// </summary>
  [pbr::OriginalName("Task_Forecast")] TaskForecast = 300,
  [pbr::OriginalName("Task_Del")] TaskDel = 301,
  /// <summary>
  /// 变更任务状态
  /// </summary>
  [pbr::OriginalName("Task_Update")] TaskUpdate = 302,
  [pbr::OriginalName("Task_List")] TaskList = 303,
  /// <summary>
  /// 获取任务的俯仰角轨迹
  /// </summary>
  [pbr::OriginalName("Task_Detail_Dat")] TaskDetailDat = 310,
  /// <summary>
  /// 获取任务的星下点轨迹
  /// </summary>
  [pbr::OriginalName("Task_Detail_Point")] TaskDetailPoint = 311,
  /// <summary>
  /// 目标特征数据列表和任务执行列表
  /// </summary>
  [pbr::OriginalName("Task_Exec_List")] TaskExecList = 350,
  /// <summary>
  /// 频谱回放
  /// </summary>
  [pbr::OriginalName("Task_Exec_Detail_Spec")] TaskExecDetailSpec = 351,
}

#endregion

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

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pbr::MessageDescriptor Descriptor {
    get { return global::StructReflection.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 TDSData() {
    OnConstruction();
  }

  partial void OnConstruction();

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public TDSData(TDSData other) : this() {
    table_ = other.table_;
    tableId_ = other.tableId_;
    flags_ = other.flags_;
    payload_ = other.payload_.Clone();
    pDsSplitNum_ = other.pDsSplitNum_;
    pDsSplitIndex_ = other.pDsSplitIndex_;
    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  }

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

  /// <summary>Field number for the "table" field.</summary>
  public const int TableFieldNumber = 1;
  private string table_ = "";
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Table {
    get { return table_; }
    set {
      table_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "tableId" field.</summary>
  public const int TableIdFieldNumber = 2;
  private global::TableId tableId_ = global::TableId.None;
  /// <summary>
  /// 标识业务路由
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public global::TableId TableId {
    get { return tableId_; }
    set {
      tableId_ = value;
    }
  }

  /// <summary>Field number for the "flags" field.</summary>
  public const int FlagsFieldNumber = 3;
  private global::TDSData.Types.Flags flags_ = global::TDSData.Types.Flags.NormalDispatch;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public global::TDSData.Types.Flags Flags {
    get { return flags_; }
    set {
      flags_ = value;
    }
  }

  /// <summary>Field number for the "payload" field.</summary>
  public const int PayloadFieldNumber = 4;
  private static readonly pb::FieldCodec<global::TDSDataPayload> _repeated_payload_codec
      = pb::FieldCodec.ForMessage(34, global::TDSDataPayload.Parser);
  private readonly pbc::RepeatedField<global::TDSDataPayload> payload_ = new pbc::RepeatedField<global::TDSDataPayload>();
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public pbc::RepeatedField<global::TDSDataPayload> Payload {
    get { return payload_; }
  }

  /// <summary>Field number for the "pDs_split_num" field.</summary>
  public const int PDsSplitNumFieldNumber = 5;
  private int pDsSplitNum_;
  /// <summary>
  /// 当TDSData压缩好后长度超过上限的时候，用于记录一共被拆分了几个数据包。应用层不用
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public int PDsSplitNum {
    get { return pDsSplitNum_; }
    set {
      pDsSplitNum_ = value;
    }
  }

  /// <summary>Field number for the "pDs_split_index" field.</summary>
  public const int PDsSplitIndexFieldNumber = 6;
  private int pDsSplitIndex_;
  /// <summary>
  /// 记录当前是第几个拆分包。应用层不用
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public int PDsSplitIndex {
    get { return pDsSplitIndex_; }
    set {
      pDsSplitIndex_ = value;
    }
  }

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

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Equals(TDSData other) {
    if (ReferenceEquals(other, null)) {
      return false;
    }
    if (ReferenceEquals(other, this)) {
      return true;
    }
    if (Table != other.Table) return false;
    if (TableId != other.TableId) return false;
    if (Flags != other.Flags) return false;
    if(!payload_.Equals(other.payload_)) return false;
    if (PDsSplitNum != other.PDsSplitNum) return false;
    if (PDsSplitIndex != other.PDsSplitIndex) 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 (Table.Length != 0) hash ^= Table.GetHashCode();
    if (TableId != global::TableId.None) hash ^= TableId.GetHashCode();
    if (Flags != global::TDSData.Types.Flags.NormalDispatch) hash ^= Flags.GetHashCode();
    hash ^= payload_.GetHashCode();
    if (PDsSplitNum != 0) hash ^= PDsSplitNum.GetHashCode();
    if (PDsSplitIndex != 0) hash ^= PDsSplitIndex.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 (Table.Length != 0) {
      output.WriteRawTag(10);
      output.WriteString(Table);
    }
    if (TableId != global::TableId.None) {
      output.WriteRawTag(16);
      output.WriteEnum((int) TableId);
    }
    if (Flags != global::TDSData.Types.Flags.NormalDispatch) {
      output.WriteRawTag(24);
      output.WriteEnum((int) Flags);
    }
    payload_.WriteTo(output, _repeated_payload_codec);
    if (PDsSplitNum != 0) {
      output.WriteRawTag(40);
      output.WriteInt32(PDsSplitNum);
    }
    if (PDsSplitIndex != 0) {
      output.WriteRawTag(48);
      output.WriteInt32(PDsSplitIndex);
    }
    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 (Table.Length != 0) {
      output.WriteRawTag(10);
      output.WriteString(Table);
    }
    if (TableId != global::TableId.None) {
      output.WriteRawTag(16);
      output.WriteEnum((int) TableId);
    }
    if (Flags != global::TDSData.Types.Flags.NormalDispatch) {
      output.WriteRawTag(24);
      output.WriteEnum((int) Flags);
    }
    payload_.WriteTo(ref output, _repeated_payload_codec);
    if (PDsSplitNum != 0) {
      output.WriteRawTag(40);
      output.WriteInt32(PDsSplitNum);
    }
    if (PDsSplitIndex != 0) {
      output.WriteRawTag(48);
      output.WriteInt32(PDsSplitIndex);
    }
    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 (Table.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Table);
    }
    if (TableId != global::TableId.None) {
      size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TableId);
    }
    if (Flags != global::TDSData.Types.Flags.NormalDispatch) {
      size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Flags);
    }
    size += payload_.CalculateSize(_repeated_payload_codec);
    if (PDsSplitNum != 0) {
      size += 1 + pb::CodedOutputStream.ComputeInt32Size(PDsSplitNum);
    }
    if (PDsSplitIndex != 0) {
      size += 1 + pb::CodedOutputStream.ComputeInt32Size(PDsSplitIndex);
    }
    if (_unknownFields != null) {
      size += _unknownFields.CalculateSize();
    }
    return size;
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public void MergeFrom(TDSData other) {
    if (other == null) {
      return;
    }
    if (other.Table.Length != 0) {
      Table = other.Table;
    }
    if (other.TableId != global::TableId.None) {
      TableId = other.TableId;
    }
    if (other.Flags != global::TDSData.Types.Flags.NormalDispatch) {
      Flags = other.Flags;
    }
    payload_.Add(other.payload_);
    if (other.PDsSplitNum != 0) {
      PDsSplitNum = other.PDsSplitNum;
    }
    if (other.PDsSplitIndex != 0) {
      PDsSplitIndex = other.PDsSplitIndex;
    }
    _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 10: {
          Table = input.ReadString();
          break;
        }
        case 16: {
          TableId = (global::TableId) input.ReadEnum();
          break;
        }
        case 24: {
          Flags = (global::TDSData.Types.Flags) input.ReadEnum();
          break;
        }
        case 34: {
          payload_.AddEntriesFrom(input, _repeated_payload_codec);
          break;
        }
        case 40: {
          PDsSplitNum = input.ReadInt32();
          break;
        }
        case 48: {
          PDsSplitIndex = input.ReadInt32();
          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 10: {
          Table = input.ReadString();
          break;
        }
        case 16: {
          TableId = (global::TableId) input.ReadEnum();
          break;
        }
        case 24: {
          Flags = (global::TDSData.Types.Flags) input.ReadEnum();
          break;
        }
        case 34: {
          payload_.AddEntriesFrom(ref input, _repeated_payload_codec);
          break;
        }
        case 40: {
          PDsSplitNum = input.ReadInt32();
          break;
        }
        case 48: {
          PDsSplitIndex = input.ReadInt32();
          break;
        }
      }
    }
  }
  #endif

  #region Nested types
  /// <summary>Container for nested types declared in the TDSData message type.</summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static partial class Types {
    public enum Flags {
      /// <summary>
      ///增量
      /// </summary>
      [pbr::OriginalName("NORMAL_DISPATCH")] NormalDispatch = 0,
      /// <summary>
      ///全量
      /// </summary>
      [pbr::OriginalName("FULL_DISPATCH")] FullDispatch = 1,
    }

  }
  #endregion

}

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

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

  [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 TDSDataPayload() {
    OnConstruction();
  }

  partial void OnConstruction();

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public TDSDataPayload(TDSDataPayload other) : this() {
    operation_ = other.operation_;
    ret_ = other.ret_;
    msg_ = other.msg_;
    data_ = other.data_.Clone();
    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  }

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

  /// <summary>Field number for the "operation" field.</summary>
  public const int OperationFieldNumber = 1;
  private global::TDSDataPayload.Types.Operation operation_ = global::TDSDataPayload.Types.Operation.Add;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public global::TDSDataPayload.Types.Operation Operation {
    get { return operation_; }
    set {
      operation_ = value;
    }
  }

  /// <summary>Field number for the "ret" field.</summary>
  public const int RetFieldNumber = 2;
  private global::TDSDataPayload.Types.Opera_ret ret_ = global::TDSDataPayload.Types.Opera_ret.OperationSucceed;
  /// <summary>
  /// 回执
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public global::TDSDataPayload.Types.Opera_ret Ret {
    get { return ret_; }
    set {
      ret_ = value;
    }
  }

  /// <summary>Field number for the "msg" field.</summary>
  public const int MsgFieldNumber = 3;
  private string msg_ = "";
  /// <summary>
  /// 回执消息
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Msg {
    get { return msg_; }
    set {
      msg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "data" field.</summary>
  public const int DataFieldNumber = 4;
  private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Any> _repeated_data_codec
      = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.WellKnownTypes.Any.Parser);
  private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> data_ = 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> Data {
    get { return data_; }
  }

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

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Equals(TDSDataPayload other) {
    if (ReferenceEquals(other, null)) {
      return false;
    }
    if (ReferenceEquals(other, this)) {
      return true;
    }
    if (Operation != other.Operation) return false;
    if (Ret != other.Ret) return false;
    if (Msg != other.Msg) return false;
    if(!data_.Equals(other.data_)) 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 (Operation != global::TDSDataPayload.Types.Operation.Add) hash ^= Operation.GetHashCode();
    if (Ret != global::TDSDataPayload.Types.Opera_ret.OperationSucceed) hash ^= Ret.GetHashCode();
    if (Msg.Length != 0) hash ^= Msg.GetHashCode();
    hash ^= data_.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 (Operation != global::TDSDataPayload.Types.Operation.Add) {
      output.WriteRawTag(8);
      output.WriteEnum((int) Operation);
    }
    if (Ret != global::TDSDataPayload.Types.Opera_ret.OperationSucceed) {
      output.WriteRawTag(16);
      output.WriteEnum((int) Ret);
    }
    if (Msg.Length != 0) {
      output.WriteRawTag(26);
      output.WriteString(Msg);
    }
    data_.WriteTo(output, _repeated_data_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 (Operation != global::TDSDataPayload.Types.Operation.Add) {
      output.WriteRawTag(8);
      output.WriteEnum((int) Operation);
    }
    if (Ret != global::TDSDataPayload.Types.Opera_ret.OperationSucceed) {
      output.WriteRawTag(16);
      output.WriteEnum((int) Ret);
    }
    if (Msg.Length != 0) {
      output.WriteRawTag(26);
      output.WriteString(Msg);
    }
    data_.WriteTo(ref output, _repeated_data_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 (Operation != global::TDSDataPayload.Types.Operation.Add) {
      size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Operation);
    }
    if (Ret != global::TDSDataPayload.Types.Opera_ret.OperationSucceed) {
      size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Ret);
    }
    if (Msg.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Msg);
    }
    size += data_.CalculateSize(_repeated_data_codec);
    if (_unknownFields != null) {
      size += _unknownFields.CalculateSize();
    }
    return size;
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public void MergeFrom(TDSDataPayload other) {
    if (other == null) {
      return;
    }
    if (other.Operation != global::TDSDataPayload.Types.Operation.Add) {
      Operation = other.Operation;
    }
    if (other.Ret != global::TDSDataPayload.Types.Opera_ret.OperationSucceed) {
      Ret = other.Ret;
    }
    if (other.Msg.Length != 0) {
      Msg = other.Msg;
    }
    data_.Add(other.data_);
    _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: {
          Operation = (global::TDSDataPayload.Types.Operation) input.ReadEnum();
          break;
        }
        case 16: {
          Ret = (global::TDSDataPayload.Types.Opera_ret) input.ReadEnum();
          break;
        }
        case 26: {
          Msg = input.ReadString();
          break;
        }
        case 34: {
          data_.AddEntriesFrom(input, _repeated_data_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: {
          Operation = (global::TDSDataPayload.Types.Operation) input.ReadEnum();
          break;
        }
        case 16: {
          Ret = (global::TDSDataPayload.Types.Opera_ret) input.ReadEnum();
          break;
        }
        case 26: {
          Msg = input.ReadString();
          break;
        }
        case 34: {
          data_.AddEntriesFrom(ref input, _repeated_data_codec);
          break;
        }
      }
    }
  }
  #endif

  #region Nested types
  /// <summary>Container for nested types declared in the TDSDataPayload message type.</summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static partial class Types {
    /// <summary>
    /// 应用层不用
    /// </summary>
    public enum Operation {
      [pbr::OriginalName("OPERATION_ADD")] Add = 0,
      [pbr::OriginalName("OPERATION_DEL")] Del = 1,
      [pbr::OriginalName("OPERATION_UPDATE")] Update = 2,
      [pbr::OriginalName("OPERATION_QUERY")] Query = 3,
    }

    public enum Opera_ret {
      [pbr::OriginalName("OPERATION_SUCCEED")] OperationSucceed = 0,
      [pbr::OriginalName("OPERATION_FAILED")] OperationFailed = 1,
    }

  }
  #endregion

}

#endregion


#endregion Designer generated code
