// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: circuits/static/core/graph_system/outputs_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.Core.GraphSystem.Protobuf {

  /// <summary>Holder for reflection information generated from circuits/static/core/graph_system/outputs_data.proto</summary>
  public static partial class OutputsDataReflection {

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

    static OutputsDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CjRjaXJjdWl0cy9zdGF0aWMvY29yZS9ncmFwaF9zeXN0ZW0vb3V0cHV0c19k",
            "YXRhLnByb3RvEghjaXJjdWl0cxo6Y2lyY3VpdHMvc3RhdGljL2NvcmUvZ3Jh",
            "cGhfc3lzdGVtL291dHB1dF9pbnB1dHNfZGF0YS5wcm90bxouY2lyY3VpdHMv",
            "c2hhcmVkL3V0aWxpdGllcy9zb2FfaWRfMzJfZGF0YS5wcm90byJsCgtPdXRw",
            "dXRzRGF0YRIiCgNpZHMYASABKAsyFS5jaXJjdWl0cy5TT0FJZDMyRGF0YRIN",
            "CgVub2RlcxgCIAMoBRIqCgZpbnB1dHMYAyADKAsyGi5jaXJjdWl0cy5PdXRw",
            "dXRJbnB1dHNEYXRhQiyqAilDaXJjdWl0cy5TdGF0aWMuQ29yZS5HcmFwaFN5",
            "c3RlbS5Qcm90b2J1ZmIGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Circuits.Static.Core.GraphSystem.Protobuf.OutputInputsDataReflection.Descriptor, global::Circuits.Shared.Utilities.Protobuf.SoaId32DataReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::Circuits.Static.Core.GraphSystem.Protobuf.OutputsData), global::Circuits.Static.Core.GraphSystem.Protobuf.OutputsData.Parser, new[]{ "Ids", "Nodes", "Inputs" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class OutputsData : pb::IMessage<OutputsData>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<OutputsData> _parser = new pb::MessageParser<OutputsData>(() => new OutputsData());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<OutputsData> 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.Core.GraphSystem.Protobuf.OutputsDataReflection.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 OutputsData() {
      OnConstruction();
    }

    partial void OnConstruction();

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

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

    /// <summary>Field number for the "ids" field.</summary>
    public const int IdsFieldNumber = 1;
    private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data ids_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data Ids {
      get { return ids_; }
      set {
        ids_ = value;
      }
    }

    /// <summary>Field number for the "nodes" field.</summary>
    public const int NodesFieldNumber = 2;
    private static readonly pb::FieldCodec<int> _repeated_nodes_codec
        = pb::FieldCodec.ForInt32(18);
    private readonly pbc::RepeatedField<int> nodes_ = new pbc::RepeatedField<int>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<int> Nodes {
      get { return nodes_; }
    }

    /// <summary>Field number for the "inputs" field.</summary>
    public const int InputsFieldNumber = 3;
    private static readonly pb::FieldCodec<global::Circuits.Static.Core.GraphSystem.Protobuf.OutputInputsData> _repeated_inputs_codec
        = pb::FieldCodec.ForMessage(26, global::Circuits.Static.Core.GraphSystem.Protobuf.OutputInputsData.Parser);
    private readonly pbc::RepeatedField<global::Circuits.Static.Core.GraphSystem.Protobuf.OutputInputsData> inputs_ = new pbc::RepeatedField<global::Circuits.Static.Core.GraphSystem.Protobuf.OutputInputsData>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::Circuits.Static.Core.GraphSystem.Protobuf.OutputInputsData> Inputs {
      get { return inputs_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(OutputsData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(Ids, other.Ids)) return false;
      if(!nodes_.Equals(other.nodes_)) return false;
      if(!inputs_.Equals(other.inputs_)) 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 (ids_ != null) hash ^= Ids.GetHashCode();
      hash ^= nodes_.GetHashCode();
      hash ^= inputs_.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 (ids_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Ids);
      }
      nodes_.WriteTo(output, _repeated_nodes_codec);
      inputs_.WriteTo(output, _repeated_inputs_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 (ids_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(Ids);
      }
      nodes_.WriteTo(ref output, _repeated_nodes_codec);
      inputs_.WriteTo(ref output, _repeated_inputs_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 (ids_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ids);
      }
      size += nodes_.CalculateSize(_repeated_nodes_codec);
      size += inputs_.CalculateSize(_repeated_inputs_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(OutputsData other) {
      if (other == null) {
        return;
      }
      if (other.ids_ != null) {
        if (ids_ == null) {
          Ids = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
        }
        Ids.MergeFrom(other.Ids);
      }
      nodes_.Add(other.nodes_);
      inputs_.Add(other.inputs_);
      _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 (ids_ == null) {
              Ids = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
            }
            input.ReadMessage(Ids);
            break;
          }
          case 18:
          case 16: {
            nodes_.AddEntriesFrom(input, _repeated_nodes_codec);
            break;
          }
          case 26: {
            inputs_.AddEntriesFrom(input, _repeated_inputs_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) {
      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 (ids_ == null) {
              Ids = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
            }
            input.ReadMessage(Ids);
            break;
          }
          case 18:
          case 16: {
            nodes_.AddEntriesFrom(ref input, _repeated_nodes_codec);
            break;
          }
          case 26: {
            inputs_.AddEntriesFrom(ref input, _repeated_inputs_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
