// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: circuits/static/rec_room/group_board_port_mappings_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/group_board_port_mappings_data.proto</summary>
  public static partial class GroupBoardPortMappingsDataReflection {

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

    static GroupBoardPortMappingsDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Cj1jaXJjdWl0cy9zdGF0aWMvcmVjX3Jvb20vZ3JvdXBfYm9hcmRfcG9ydF9t",
            "YXBwaW5nc19kYXRhLnByb3RvEghjaXJjdWl0cxolY2lyY3VpdHMvc2hhcmVk",
            "L2FwaS9pZF8xMjhfZGF0YS5wcm90byKkAQoaR3JvdXBCb2FyZFBvcnRNYXBw",
            "aW5nc0RhdGESJAoHbm9kZV9pZBgBIAEoCzITLmNpcmN1aXRzLklkMTI4RGF0",
            "YRIaChJub2RlX3BvcnRfZ3JvdXBfaWQYAiABKAUSFAoMbm9kZV9wb3J0X2lk",
            "GAMgASgFEhkKEWJ1c19wb3J0X2dyb3VwX2lkGAQgASgFEhMKC2J1c19wb3J0",
            "X2lkGAUgASgFQiOqAiBDaXJjdWl0cy5TdGF0aWMuUmVjUm9vbS5Qcm90b2J1",
            "ZmIGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Circuits.Shared.Api.Protobuf.Id128DataReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::Circuits.Static.RecRoom.Protobuf.GroupBoardPortMappingsData), global::Circuits.Static.RecRoom.Protobuf.GroupBoardPortMappingsData.Parser, new[]{ "NodeId", "NodePortGroupId", "NodePortId", "BusPortGroupId", "BusPortId" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GroupBoardPortMappingsData(GroupBoardPortMappingsData other) : this() {
      nodeId_ = other.nodeId_ != null ? other.nodeId_.Clone() : null;
      nodePortGroupId_ = other.nodePortGroupId_;
      nodePortId_ = other.nodePortId_;
      busPortGroupId_ = other.busPortGroupId_;
      busPortId_ = other.busPortId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

    /// <summary>Field number for the "node_port_group_id" field.</summary>
    public const int NodePortGroupIdFieldNumber = 2;
    private int nodePortGroupId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int NodePortGroupId {
      get { return nodePortGroupId_; }
      set {
        nodePortGroupId_ = value;
      }
    }

    /// <summary>Field number for the "node_port_id" field.</summary>
    public const int NodePortIdFieldNumber = 3;
    private int nodePortId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int NodePortId {
      get { return nodePortId_; }
      set {
        nodePortId_ = value;
      }
    }

    /// <summary>Field number for the "bus_port_group_id" field.</summary>
    public const int BusPortGroupIdFieldNumber = 4;
    private int busPortGroupId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int BusPortGroupId {
      get { return busPortGroupId_; }
      set {
        busPortGroupId_ = value;
      }
    }

    /// <summary>Field number for the "bus_port_id" field.</summary>
    public const int BusPortIdFieldNumber = 5;
    private int busPortId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int BusPortId {
      get { return busPortId_; }
      set {
        busPortId_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GroupBoardPortMappingsData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(NodeId, other.NodeId)) return false;
      if (NodePortGroupId != other.NodePortGroupId) return false;
      if (NodePortId != other.NodePortId) return false;
      if (BusPortGroupId != other.BusPortGroupId) return false;
      if (BusPortId != other.BusPortId) 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 (nodeId_ != null) hash ^= NodeId.GetHashCode();
      if (NodePortGroupId != 0) hash ^= NodePortGroupId.GetHashCode();
      if (NodePortId != 0) hash ^= NodePortId.GetHashCode();
      if (BusPortGroupId != 0) hash ^= BusPortGroupId.GetHashCode();
      if (BusPortId != 0) hash ^= BusPortId.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 (nodeId_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(NodeId);
      }
      if (NodePortGroupId != 0) {
        output.WriteRawTag(16);
        output.WriteInt32(NodePortGroupId);
      }
      if (NodePortId != 0) {
        output.WriteRawTag(24);
        output.WriteInt32(NodePortId);
      }
      if (BusPortGroupId != 0) {
        output.WriteRawTag(32);
        output.WriteInt32(BusPortGroupId);
      }
      if (BusPortId != 0) {
        output.WriteRawTag(40);
        output.WriteInt32(BusPortId);
      }
      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 (nodeId_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(NodeId);
      }
      if (NodePortGroupId != 0) {
        output.WriteRawTag(16);
        output.WriteInt32(NodePortGroupId);
      }
      if (NodePortId != 0) {
        output.WriteRawTag(24);
        output.WriteInt32(NodePortId);
      }
      if (BusPortGroupId != 0) {
        output.WriteRawTag(32);
        output.WriteInt32(BusPortGroupId);
      }
      if (BusPortId != 0) {
        output.WriteRawTag(40);
        output.WriteInt32(BusPortId);
      }
      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 (nodeId_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(NodeId);
      }
      if (NodePortGroupId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(NodePortGroupId);
      }
      if (NodePortId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(NodePortId);
      }
      if (BusPortGroupId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(BusPortGroupId);
      }
      if (BusPortId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(BusPortId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GroupBoardPortMappingsData other) {
      if (other == null) {
        return;
      }
      if (other.nodeId_ != null) {
        if (nodeId_ == null) {
          NodeId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
        }
        NodeId.MergeFrom(other.NodeId);
      }
      if (other.NodePortGroupId != 0) {
        NodePortGroupId = other.NodePortGroupId;
      }
      if (other.NodePortId != 0) {
        NodePortId = other.NodePortId;
      }
      if (other.BusPortGroupId != 0) {
        BusPortGroupId = other.BusPortGroupId;
      }
      if (other.BusPortId != 0) {
        BusPortId = other.BusPortId;
      }
      _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 (nodeId_ == null) {
              NodeId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
            }
            input.ReadMessage(NodeId);
            break;
          }
          case 16: {
            NodePortGroupId = input.ReadInt32();
            break;
          }
          case 24: {
            NodePortId = input.ReadInt32();
            break;
          }
          case 32: {
            BusPortGroupId = input.ReadInt32();
            break;
          }
          case 40: {
            BusPortId = input.ReadInt32();
            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 (nodeId_ == null) {
              NodeId = new global::Circuits.Shared.Api.Protobuf.Id128Data();
            }
            input.ReadMessage(NodeId);
            break;
          }
          case 16: {
            NodePortGroupId = input.ReadInt32();
            break;
          }
          case 24: {
            NodePortId = input.ReadInt32();
            break;
          }
          case 32: {
            BusPortGroupId = input.ReadInt32();
            break;
          }
          case 40: {
            BusPortId = input.ReadInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
