// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: circuits/static/rec_room/rr_graph_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.RecRoom.Protobuf {

  /// <summary>Holder for reflection information generated from circuits/static/rec_room/rr_graph_data.proto</summary>
  public static partial class RrGraphDataReflection {

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

    static RrGraphDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CixjaXJjdWl0cy9zdGF0aWMvcmVjX3Jvb20vcnJfZ3JhcGhfZGF0YS5wcm90",
            "bxIIY2lyY3VpdHMaMWNpcmN1aXRzL3N0YXRpYy9yZWNfcm9vbS9mdW5jdGlv",
            "bl9ub2RlX2RhdGEucHJvdG8aK2NpcmN1aXRzL3N0YXRpYy9yZWNfcm9vbS9y",
            "cl9ub2RlX2RhdGEucHJvdG8aLmNpcmN1aXRzL3NoYXJlZC91dGlsaXRpZXMv",
            "c29hX2lkXzMyX2RhdGEucHJvdG8imwEKC1JSR3JhcGhEYXRhEiYKCHJyX25v",
            "ZGVzGAEgAygLMhQuY2lyY3VpdHMuUlJOb2RlRGF0YRIwChFmdW5jdGlvbl9u",
            "b2RlX2lkcxgCIAEoCzIVLmNpcmN1aXRzLlNPQUlkMzJEYXRhEjIKDmZ1bmN0",
            "aW9uX25vZGVzGAMgAygLMhouY2lyY3VpdHMuRnVuY3Rpb25Ob2RlRGF0YUIj",
            "qgIgQ2lyY3VpdHMuU3RhdGljLlJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Circuits.Static.RecRoom.Protobuf.FunctionNodeDataReflection.Descriptor, global::Circuits.Static.RecRoom.Protobuf.RrNodeDataReflection.Descriptor, global::Circuits.Shared.Utilities.Protobuf.SoaId32DataReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::Circuits.Static.RecRoom.Protobuf.RRGraphData), global::Circuits.Static.RecRoom.Protobuf.RRGraphData.Parser, new[]{ "RrNodes", "FunctionNodeIds", "FunctionNodes" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

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

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

    /// <summary>Field number for the "rr_nodes" field.</summary>
    public const int RrNodesFieldNumber = 1;
    private static readonly pb::FieldCodec<global::Circuits.Static.RecRoom.Protobuf.RRNodeData> _repeated_rrNodes_codec
        = pb::FieldCodec.ForMessage(10, global::Circuits.Static.RecRoom.Protobuf.RRNodeData.Parser);
    private readonly pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.RRNodeData> rrNodes_ = new pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.RRNodeData>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.RRNodeData> RrNodes {
      get { return rrNodes_; }
    }

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

    /// <summary>Field number for the "function_nodes" field.</summary>
    public const int FunctionNodesFieldNumber = 3;
    private static readonly pb::FieldCodec<global::Circuits.Static.RecRoom.Protobuf.FunctionNodeData> _repeated_functionNodes_codec
        = pb::FieldCodec.ForMessage(26, global::Circuits.Static.RecRoom.Protobuf.FunctionNodeData.Parser);
    private readonly pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.FunctionNodeData> functionNodes_ = new pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.FunctionNodeData>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.FunctionNodeData> FunctionNodes {
      get { return functionNodes_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RRGraphData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!rrNodes_.Equals(other.rrNodes_)) return false;
      if (!object.Equals(FunctionNodeIds, other.FunctionNodeIds)) return false;
      if(!functionNodes_.Equals(other.functionNodes_)) 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;
      hash ^= rrNodes_.GetHashCode();
      if (functionNodeIds_ != null) hash ^= FunctionNodeIds.GetHashCode();
      hash ^= functionNodes_.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
      rrNodes_.WriteTo(output, _repeated_rrNodes_codec);
      if (functionNodeIds_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(FunctionNodeIds);
      }
      functionNodes_.WriteTo(output, _repeated_functionNodes_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) {
      rrNodes_.WriteTo(ref output, _repeated_rrNodes_codec);
      if (functionNodeIds_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(FunctionNodeIds);
      }
      functionNodes_.WriteTo(ref output, _repeated_functionNodes_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;
      size += rrNodes_.CalculateSize(_repeated_rrNodes_codec);
      if (functionNodeIds_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(FunctionNodeIds);
      }
      size += functionNodes_.CalculateSize(_repeated_functionNodes_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RRGraphData other) {
      if (other == null) {
        return;
      }
      rrNodes_.Add(other.rrNodes_);
      if (other.functionNodeIds_ != null) {
        if (functionNodeIds_ == null) {
          FunctionNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
        }
        FunctionNodeIds.MergeFrom(other.FunctionNodeIds);
      }
      functionNodes_.Add(other.functionNodes_);
      _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: {
            rrNodes_.AddEntriesFrom(input, _repeated_rrNodes_codec);
            break;
          }
          case 18: {
            if (functionNodeIds_ == null) {
              FunctionNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
            }
            input.ReadMessage(FunctionNodeIds);
            break;
          }
          case 26: {
            functionNodes_.AddEntriesFrom(input, _repeated_functionNodes_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: {
            rrNodes_.AddEntriesFrom(ref input, _repeated_rrNodes_codec);
            break;
          }
          case 18: {
            if (functionNodeIds_ == null) {
              FunctionNodeIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
            }
            input.ReadMessage(FunctionNodeIds);
            break;
          }
          case 26: {
            functionNodes_.AddEntriesFrom(ref input, _repeated_functionNodes_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
