// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: ChangePropTimelineInfoCsReq.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;
namespace EggLink.DanhengServer.Proto {

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

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

    static ChangePropTimelineInfoCsReqReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiFDaGFuZ2VQcm9wVGltZWxpbmVJbmZvQ3NSZXEucHJvdG8aFlByb3BUaW1l",
            "bGluZUluZm8ucHJvdG8igwEKG0NoYW5nZVByb3BUaW1lbGluZUluZm9Dc1Jl",
            "cRIWCg5wcm9wX2VudGl0eV9pZBgDIAEoDRIoCg10aW1lbGluZV9pbmZvGAIg",
            "ASgLMhEuUHJvcFRpbWVsaW5lSW5mbxIMCgR1dWlkGA8gASgEEhQKDGlzX2Ns",
            "b3NlX21hcBgKIAEoCEIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
            "YgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PropTimelineInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChangePropTimelineInfoCsReq), global::EggLink.DanhengServer.Proto.ChangePropTimelineInfoCsReq.Parser, new[]{ "PropEntityId", "TimelineInfo", "Uuid", "IsCloseMap" }, null, null, null, null)
          }));
    }
    #endregion

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

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ChangePropTimelineInfoCsReq(ChangePropTimelineInfoCsReq other) : this() {
      propEntityId_ = other.propEntityId_;
      timelineInfo_ = other.timelineInfo_ != null ? other.timelineInfo_.Clone() : null;
      uuid_ = other.uuid_;
      isCloseMap_ = other.isCloseMap_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

    /// <summary>Field number for the "timeline_info" field.</summary>
    public const int TimelineInfoFieldNumber = 2;
    private global::EggLink.DanhengServer.Proto.PropTimelineInfo timelineInfo_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.PropTimelineInfo TimelineInfo {
      get { return timelineInfo_; }
      set {
        timelineInfo_ = value;
      }
    }

    /// <summary>Field number for the "uuid" field.</summary>
    public const int UuidFieldNumber = 15;
    private ulong uuid_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ulong Uuid {
      get { return uuid_; }
      set {
        uuid_ = value;
      }
    }

    /// <summary>Field number for the "is_close_map" field.</summary>
    public const int IsCloseMapFieldNumber = 10;
    private bool isCloseMap_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool IsCloseMap {
      get { return isCloseMap_; }
      set {
        isCloseMap_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ChangePropTimelineInfoCsReq other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (PropEntityId != other.PropEntityId) return false;
      if (!object.Equals(TimelineInfo, other.TimelineInfo)) return false;
      if (Uuid != other.Uuid) return false;
      if (IsCloseMap != other.IsCloseMap) 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 (PropEntityId != 0) hash ^= PropEntityId.GetHashCode();
      if (timelineInfo_ != null) hash ^= TimelineInfo.GetHashCode();
      if (Uuid != 0UL) hash ^= Uuid.GetHashCode();
      if (IsCloseMap != false) hash ^= IsCloseMap.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 (timelineInfo_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(TimelineInfo);
      }
      if (PropEntityId != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(PropEntityId);
      }
      if (IsCloseMap != false) {
        output.WriteRawTag(80);
        output.WriteBool(IsCloseMap);
      }
      if (Uuid != 0UL) {
        output.WriteRawTag(120);
        output.WriteUInt64(Uuid);
      }
      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 (timelineInfo_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(TimelineInfo);
      }
      if (PropEntityId != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(PropEntityId);
      }
      if (IsCloseMap != false) {
        output.WriteRawTag(80);
        output.WriteBool(IsCloseMap);
      }
      if (Uuid != 0UL) {
        output.WriteRawTag(120);
        output.WriteUInt64(Uuid);
      }
      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 (PropEntityId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PropEntityId);
      }
      if (timelineInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(TimelineInfo);
      }
      if (Uuid != 0UL) {
        size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Uuid);
      }
      if (IsCloseMap != false) {
        size += 1 + 1;
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ChangePropTimelineInfoCsReq other) {
      if (other == null) {
        return;
      }
      if (other.PropEntityId != 0) {
        PropEntityId = other.PropEntityId;
      }
      if (other.timelineInfo_ != null) {
        if (timelineInfo_ == null) {
          TimelineInfo = new global::EggLink.DanhengServer.Proto.PropTimelineInfo();
        }
        TimelineInfo.MergeFrom(other.TimelineInfo);
      }
      if (other.Uuid != 0UL) {
        Uuid = other.Uuid;
      }
      if (other.IsCloseMap != false) {
        IsCloseMap = other.IsCloseMap;
      }
      _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 18: {
            if (timelineInfo_ == null) {
              TimelineInfo = new global::EggLink.DanhengServer.Proto.PropTimelineInfo();
            }
            input.ReadMessage(TimelineInfo);
            break;
          }
          case 24: {
            PropEntityId = input.ReadUInt32();
            break;
          }
          case 80: {
            IsCloseMap = input.ReadBool();
            break;
          }
          case 120: {
            Uuid = input.ReadUInt64();
            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 18: {
            if (timelineInfo_ == null) {
              TimelineInfo = new global::EggLink.DanhengServer.Proto.PropTimelineInfo();
            }
            input.ReadMessage(TimelineInfo);
            break;
          }
          case 24: {
            PropEntityId = input.ReadUInt32();
            break;
          }
          case 80: {
            IsCloseMap = input.ReadBool();
            break;
          }
          case 120: {
            Uuid = input.ReadUInt64();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
