// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: circuits_v2/circuit_graph_tool_mapping_registry_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/circuit_graph_tool_mapping_registry_data.proto</summary>
  public static partial class CircuitGraphToolMappingRegistryDataReflection {

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

    static CircuitGraphToolMappingRegistryDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CjpjaXJjdWl0c192Mi9jaXJjdWl0X2dyYXBoX3Rvb2xfbWFwcGluZ19yZWdp",
            "c3RyeV9kYXRhLnByb3RvEgtjaXJjdWl0c192MholY2lyY3VpdHMvc2hhcmVk",
            "L2FwaS9pZF8xMjhfZGF0YS5wcm90bxoUY29yZS9ndWlkX2RhdGEucHJvdG8i",
            "dQojQ2lyY3VpdEdyYXBoVG9vbE1hcHBpbmdSZWdpc3RyeURhdGESTgoPbWFw",
            "cGluZ19lbnRyaWVzGAEgAygLMjUuY2lyY3VpdHNfdjIuQ2lyY3VpdEdyYXBo",
            "VG9vbE1hcHBpbmdSZWdpc3RyeUVudHJ5RGF0YSKCAQooQ2lyY3VpdEdyYXBo",
            "VG9vbE1hcHBpbmdSZWdpc3RyeUVudHJ5RGF0YRItChBjaXJjdWl0X2dyYXBo",
            "X2lkGAEgASgLMhMuY2lyY3VpdHMuSWQxMjhEYXRhEicKD3Rvb2xfbWFwcGlu",
            "Z19pZBgCIAEoCzIOLmNvcmUuR3VpZERhdGFCFqoCE0NpcmN1aXRzVjIuUHJv",
            "dG9idWZiBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Circuits.Shared.Api.Protobuf.Id128DataReflection.Descriptor, global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryData), global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryData.Parser, new[]{ "MappingEntries" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData), global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData.Parser, new[]{ "CircuitGraphId", "ToolMappingId" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

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

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

    /// <summary>Field number for the "mapping_entries" field.</summary>
    public const int MappingEntriesFieldNumber = 1;
    private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData> _repeated_mappingEntries_codec
        = pb::FieldCodec.ForMessage(10, global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData.Parser);
    private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData> mappingEntries_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitGraphToolMappingRegistryEntryData> MappingEntries {
      get { return mappingEntries_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(CircuitGraphToolMappingRegistryData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!mappingEntries_.Equals(other.mappingEntries_)) 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 ^= mappingEntries_.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
      mappingEntries_.WriteTo(output, _repeated_mappingEntries_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) {
      mappingEntries_.WriteTo(ref output, _repeated_mappingEntries_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 += mappingEntries_.CalculateSize(_repeated_mappingEntries_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(CircuitGraphToolMappingRegistryData other) {
      if (other == null) {
        return;
      }
      mappingEntries_.Add(other.mappingEntries_);
      _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: {
            mappingEntries_.AddEntriesFrom(input, _repeated_mappingEntries_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: {
            mappingEntries_.AddEntriesFrom(ref input, _repeated_mappingEntries_codec);
            break;
          }
        }
      }
    }
    #endif

  }

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

    [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 CircuitGraphToolMappingRegistryEntryData() {
      OnConstruction();
    }

    partial void OnConstruction();

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

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

    /// <summary>Field number for the "circuit_graph_id" field.</summary>
    public const int CircuitGraphIdFieldNumber = 1;
    private global::Circuits.Shared.Api.Protobuf.Id128Data circuitGraphId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Circuits.Shared.Api.Protobuf.Id128Data CircuitGraphId {
      get { return circuitGraphId_; }
      set {
        circuitGraphId_ = value;
      }
    }

    /// <summary>Field number for the "tool_mapping_id" field.</summary>
    public const int ToolMappingIdFieldNumber = 2;
    private global::RecRoom.Protobuf.Core.GuidData toolMappingId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.Core.GuidData ToolMappingId {
      get { return toolMappingId_; }
      set {
        toolMappingId_ = value;
      }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(CircuitGraphToolMappingRegistryEntryData other) {
      if (other == null) {
        return;
      }
      if (other.circuitGraphId_ != null) {
        if (circuitGraphId_ == null) {
          CircuitGraphId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
        }
        CircuitGraphId.MergeFrom(other.CircuitGraphId);
      }
      if (other.toolMappingId_ != null) {
        if (toolMappingId_ == null) {
          ToolMappingId = new global::RecRoom.Protobuf.Core.GuidData();
        }
        ToolMappingId.MergeFrom(other.ToolMappingId);
      }
      _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 (circuitGraphId_ == null) {
              CircuitGraphId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
            }
            input.ReadMessage(CircuitGraphId);
            break;
          }
          case 18: {
            if (toolMappingId_ == null) {
              ToolMappingId = new global::RecRoom.Protobuf.Core.GuidData();
            }
            input.ReadMessage(ToolMappingId);
            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 (circuitGraphId_ == null) {
              CircuitGraphId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
            }
            input.ReadMessage(CircuitGraphId);
            break;
          }
          case 18: {
            if (toolMappingId_ == null) {
              ToolMappingId = new global::RecRoom.Protobuf.Core.GuidData();
            }
            input.ReadMessage(ToolMappingId);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
