// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: circuits/static/ev/ev_static_state_sys_data.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 Circuits.Static.EV.Protobuf {

  /// <summary>Holder for reflection information generated from circuits/static/ev/ev_static_state_sys_data.proto</summary>
  public static partial class EvStaticStateSysDataReflection {

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

    static EvStaticStateSysDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CjFjaXJjdWl0cy9zdGF0aWMvZXYvZXZfc3RhdGljX3N0YXRlX3N5c19kYXRh",
            "LnByb3RvEghjaXJjdWl0cxonY2lyY3VpdHMvc3RhdGljL2V2L2V2X2dyYXBo",
            "c19kYXRhLnByb3RvGiRjaXJjdWl0cy9zdGF0aWMvZXYvZ3JhcGhzX2RhdGEu",
            "cHJvdG8iZwoURVZTdGF0aWNTdGF0ZVN5c0RhdGESJAoGZ3JhcGhzGAEgASgL",
            "MhQuY2lyY3VpdHMuR3JhcGhzRGF0YRIpCglldl9ncmFwaHMYAiABKAsyFi5j",
            "aXJjdWl0cy5FVkdyYXBoc0RhdGFCHqoCG0NpcmN1aXRzLlN0YXRpYy5FVi5Q",
            "cm90b2J1ZmIGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Circuits.Static.EV.Protobuf.EvGraphsDataReflection.Descriptor, global::Circuits.Static.EV.Protobuf.GraphsDataReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::Circuits.Static.EV.Protobuf.EVStaticStateSysData), global::Circuits.Static.EV.Protobuf.EVStaticStateSysData.Parser, new[]{ "Graphs", "EvGraphs" }, null, null, null, null)
          }));
    }
    #endregion

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

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public EVStaticStateSysData(EVStaticStateSysData other) : this() {
      graphs_ = other.graphs_ != null ? other.graphs_.Clone() : null;
      evGraphs_ = other.evGraphs_ != null ? other.evGraphs_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "graphs" field.</summary>
    public const int GraphsFieldNumber = 1;
    private global::Circuits.Static.EV.Protobuf.GraphsData graphs_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Circuits.Static.EV.Protobuf.GraphsData Graphs {
      get { return graphs_; }
      set {
        graphs_ = value;
      }
    }

    /// <summary>Field number for the "ev_graphs" field.</summary>
    public const int EvGraphsFieldNumber = 2;
    private global::Circuits.Static.EV.Protobuf.EVGraphsData evGraphs_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Circuits.Static.EV.Protobuf.EVGraphsData EvGraphs {
      get { return evGraphs_; }
      set {
        evGraphs_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(EVStaticStateSysData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(Graphs, other.Graphs)) return false;
      if (!object.Equals(EvGraphs, other.EvGraphs)) 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 (graphs_ != null) hash ^= Graphs.GetHashCode();
      if (evGraphs_ != null) hash ^= EvGraphs.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 (graphs_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Graphs);
      }
      if (evGraphs_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(EvGraphs);
      }
      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 (graphs_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Graphs);
      }
      if (evGraphs_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(EvGraphs);
      }
      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 (graphs_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Graphs);
      }
      if (evGraphs_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(EvGraphs);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(EVStaticStateSysData other) {
      if (other == null) {
        return;
      }
      if (other.graphs_ != null) {
        if (graphs_ == null) {
          Graphs = new global::Circuits.Static.EV.Protobuf.GraphsData();
        }
        Graphs.MergeFrom(other.Graphs);
      }
      if (other.evGraphs_ != null) {
        if (evGraphs_ == null) {
          EvGraphs = new global::Circuits.Static.EV.Protobuf.EVGraphsData();
        }
        EvGraphs.MergeFrom(other.EvGraphs);
      }
      _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) {
      if ((tag & 7) == 4) {
        // Abort on any end group tag.
        return;
      }
      switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (graphs_ == null) {
              Graphs = new global::Circuits.Static.EV.Protobuf.GraphsData();
            }
            input.ReadMessage(Graphs);
            break;
          }
          case 18: {
            if (evGraphs_ == null) {
              EvGraphs = new global::Circuits.Static.EV.Protobuf.EVGraphsData();
            }
            input.ReadMessage(EvGraphs);
            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) {
      if ((tag & 7) == 4) {
        // Abort on any end group tag.
        return;
      }
      switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            if (graphs_ == null) {
              Graphs = new global::Circuits.Static.EV.Protobuf.GraphsData();
            }
            input.ReadMessage(Graphs);
            break;
          }
          case 18: {
            if (evGraphs_ == null) {
              EvGraphs = new global::Circuits.Static.EV.Protobuf.EVGraphsData();
            }
            input.ReadMessage(EvGraphs);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
