// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: circuits_v2/snapshot_only_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 CircuitsV2.Protobuf {

  /// <summary>Holder for reflection information generated from circuits_v2/snapshot_only_data.proto</summary>
  public static partial class SnapshotOnlyDataReflection {

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

    static SnapshotOnlyDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiRjaXJjdWl0c192Mi9zbmFwc2hvdF9vbmx5X2RhdGEucHJvdG8SC2NpcmN1",
            "aXRzX3YyGjVjaXJjdWl0cy9zdGF0aWMvYXBpL3N0YXRpY19jaXJjdWl0c19j",
            "b25maWdfZGF0YS5wcm90byJbChBTbmFwc2hvdE9ubHlEYXRhEkcKG3N0YXRp",
            "Y19jaXJjdWl0c19jb25maWdfZGF0YRgBIAEoCzIiLmNpcmN1aXRzLlN0YXRp",
            "Y0NpcmN1aXRzQ29uZmlnRGF0YUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIG",
            "cHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Circuits.Static.Api.Protobuf.StaticCircuitsConfigDataReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.SnapshotOnlyData), global::CircuitsV2.Protobuf.SnapshotOnlyData.Parser, new[]{ "StaticCircuitsConfigData" }, null, null, null, null)
          }));
    }
    #endregion

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

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

    partial void OnConstruction();

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

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

    /// <summary>Field number for the "static_circuits_config_data" field.</summary>
    public const int StaticCircuitsConfigDataFieldNumber = 1;
    private global::Circuits.Static.Api.Protobuf.StaticCircuitsConfigData staticCircuitsConfigData_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Circuits.Static.Api.Protobuf.StaticCircuitsConfigData StaticCircuitsConfigData {
      get { return staticCircuitsConfigData_; }
      set {
        staticCircuitsConfigData_ = value;
      }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SnapshotOnlyData other) {
      if (other == null) {
        return;
      }
      if (other.staticCircuitsConfigData_ != null) {
        if (staticCircuitsConfigData_ == null) {
          StaticCircuitsConfigData = new global::Circuits.Static.Api.Protobuf.StaticCircuitsConfigData();
        }
        StaticCircuitsConfigData.MergeFrom(other.StaticCircuitsConfigData);
      }
      _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 (staticCircuitsConfigData_ == null) {
              StaticCircuitsConfigData = new global::Circuits.Static.Api.Protobuf.StaticCircuitsConfigData();
            }
            input.ReadMessage(StaticCircuitsConfigData);
            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 (staticCircuitsConfigData_ == null) {
              StaticCircuitsConfigData = new global::Circuits.Static.Api.Protobuf.StaticCircuitsConfigData();
            }
            input.ReadMessage(StaticCircuitsConfigData);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
