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

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

    static ConstantDestinationNodeDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CjBjaXJjdWl0c192Mi9jb25zdGFudF9kZXN0aW5hdGlvbl9ub2RlX2RhdGEu",
            "cHJvdG8SC2NpcmN1aXRzX3YyIvUBChdDb25zdGFudERlc3RpbmF0aW9uRGF0",
            "YRIdChVyb29tX2Rvb3JfaW52aXRlX21vZGUYBCABKAUSGgoSZm9yY2VfbmV3",
            "X2luc3RhbmNlGAUgASgIEhEKCXJvb21fbmFtZRgGIAEoCRIUCgxzdWJyb29t",
            "X25hbWUYByABKAkSGAoQd2VsY29tZV9tYXRfbmFtZRgIIAEoCRIaChJERVBS",
            "RUNBVEVEX3Jvb21faWQYASABKAMSHQoVREVQUkVDQVRFRF9zdWJyb29tX2lk",
            "GAIgASgDEiEKGURFUFJFQ0FURURfd2VsY29tZV9tYXRfaWQYAyABKAVCFqoC",
            "E0NpcmN1aXRzVjIuUHJvdG9idWZiBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ConstantDestinationData), global::CircuitsV2.Protobuf.ConstantDestinationData.Parser, new[]{ "RoomDoorInviteMode", "ForceNewInstance", "RoomName", "SubroomName", "WelcomeMatName", "DEPRECATEDRoomId", "DEPRECATEDSubroomId", "DEPRECATEDWelcomeMatId" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ConstantDestinationData(ConstantDestinationData other) : this() {
      roomDoorInviteMode_ = other.roomDoorInviteMode_;
      forceNewInstance_ = other.forceNewInstance_;
      roomName_ = other.roomName_;
      subroomName_ = other.subroomName_;
      welcomeMatName_ = other.welcomeMatName_;
      dEPRECATEDRoomId_ = other.dEPRECATEDRoomId_;
      dEPRECATEDSubroomId_ = other.dEPRECATEDSubroomId_;
      dEPRECATEDWelcomeMatId_ = other.dEPRECATEDWelcomeMatId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

    /// <summary>Field number for the "room_name" field.</summary>
    public const int RoomNameFieldNumber = 6;
    private string roomName_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string RoomName {
      get { return roomName_; }
      set {
        roomName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "subroom_name" field.</summary>
    public const int SubroomNameFieldNumber = 7;
    private string subroomName_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string SubroomName {
      get { return subroomName_; }
      set {
        subroomName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "welcome_mat_name" field.</summary>
    public const int WelcomeMatNameFieldNumber = 8;
    private string welcomeMatName_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string WelcomeMatName {
      get { return welcomeMatName_; }
      set {
        welcomeMatName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "DEPRECATED_room_id" field.</summary>
    public const int DEPRECATEDRoomIdFieldNumber = 1;
    private long dEPRECATEDRoomId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public long DEPRECATEDRoomId {
      get { return dEPRECATEDRoomId_; }
      set {
        dEPRECATEDRoomId_ = value;
      }
    }

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

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ConstantDestinationData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (RoomDoorInviteMode != other.RoomDoorInviteMode) return false;
      if (ForceNewInstance != other.ForceNewInstance) return false;
      if (RoomName != other.RoomName) return false;
      if (SubroomName != other.SubroomName) return false;
      if (WelcomeMatName != other.WelcomeMatName) return false;
      if (DEPRECATEDRoomId != other.DEPRECATEDRoomId) return false;
      if (DEPRECATEDSubroomId != other.DEPRECATEDSubroomId) return false;
      if (DEPRECATEDWelcomeMatId != other.DEPRECATEDWelcomeMatId) 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 (RoomDoorInviteMode != 0) hash ^= RoomDoorInviteMode.GetHashCode();
      if (ForceNewInstance != false) hash ^= ForceNewInstance.GetHashCode();
      if (RoomName.Length != 0) hash ^= RoomName.GetHashCode();
      if (SubroomName.Length != 0) hash ^= SubroomName.GetHashCode();
      if (WelcomeMatName.Length != 0) hash ^= WelcomeMatName.GetHashCode();
      if (DEPRECATEDRoomId != 0L) hash ^= DEPRECATEDRoomId.GetHashCode();
      if (DEPRECATEDSubroomId != 0L) hash ^= DEPRECATEDSubroomId.GetHashCode();
      if (DEPRECATEDWelcomeMatId != 0) hash ^= DEPRECATEDWelcomeMatId.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 (DEPRECATEDRoomId != 0L) {
        output.WriteRawTag(8);
        output.WriteInt64(DEPRECATEDRoomId);
      }
      if (DEPRECATEDSubroomId != 0L) {
        output.WriteRawTag(16);
        output.WriteInt64(DEPRECATEDSubroomId);
      }
      if (DEPRECATEDWelcomeMatId != 0) {
        output.WriteRawTag(24);
        output.WriteInt32(DEPRECATEDWelcomeMatId);
      }
      if (RoomDoorInviteMode != 0) {
        output.WriteRawTag(32);
        output.WriteInt32(RoomDoorInviteMode);
      }
      if (ForceNewInstance != false) {
        output.WriteRawTag(40);
        output.WriteBool(ForceNewInstance);
      }
      if (RoomName.Length != 0) {
        output.WriteRawTag(50);
        output.WriteString(RoomName);
      }
      if (SubroomName.Length != 0) {
        output.WriteRawTag(58);
        output.WriteString(SubroomName);
      }
      if (WelcomeMatName.Length != 0) {
        output.WriteRawTag(66);
        output.WriteString(WelcomeMatName);
      }
      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 (DEPRECATEDRoomId != 0L) {
        output.WriteRawTag(8);
        output.WriteInt64(DEPRECATEDRoomId);
      }
      if (DEPRECATEDSubroomId != 0L) {
        output.WriteRawTag(16);
        output.WriteInt64(DEPRECATEDSubroomId);
      }
      if (DEPRECATEDWelcomeMatId != 0) {
        output.WriteRawTag(24);
        output.WriteInt32(DEPRECATEDWelcomeMatId);
      }
      if (RoomDoorInviteMode != 0) {
        output.WriteRawTag(32);
        output.WriteInt32(RoomDoorInviteMode);
      }
      if (ForceNewInstance != false) {
        output.WriteRawTag(40);
        output.WriteBool(ForceNewInstance);
      }
      if (RoomName.Length != 0) {
        output.WriteRawTag(50);
        output.WriteString(RoomName);
      }
      if (SubroomName.Length != 0) {
        output.WriteRawTag(58);
        output.WriteString(SubroomName);
      }
      if (WelcomeMatName.Length != 0) {
        output.WriteRawTag(66);
        output.WriteString(WelcomeMatName);
      }
      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 (RoomDoorInviteMode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomDoorInviteMode);
      }
      if (ForceNewInstance != false) {
        size += 1 + 1;
      }
      if (RoomName.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomName);
      }
      if (SubroomName.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(SubroomName);
      }
      if (WelcomeMatName.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(WelcomeMatName);
      }
      if (DEPRECATEDRoomId != 0L) {
        size += 1 + pb::CodedOutputStream.ComputeInt64Size(DEPRECATEDRoomId);
      }
      if (DEPRECATEDSubroomId != 0L) {
        size += 1 + pb::CodedOutputStream.ComputeInt64Size(DEPRECATEDSubroomId);
      }
      if (DEPRECATEDWelcomeMatId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDWelcomeMatId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ConstantDestinationData other) {
      if (other == null) {
        return;
      }
      if (other.RoomDoorInviteMode != 0) {
        RoomDoorInviteMode = other.RoomDoorInviteMode;
      }
      if (other.ForceNewInstance != false) {
        ForceNewInstance = other.ForceNewInstance;
      }
      if (other.RoomName.Length != 0) {
        RoomName = other.RoomName;
      }
      if (other.SubroomName.Length != 0) {
        SubroomName = other.SubroomName;
      }
      if (other.WelcomeMatName.Length != 0) {
        WelcomeMatName = other.WelcomeMatName;
      }
      if (other.DEPRECATEDRoomId != 0L) {
        DEPRECATEDRoomId = other.DEPRECATEDRoomId;
      }
      if (other.DEPRECATEDSubroomId != 0L) {
        DEPRECATEDSubroomId = other.DEPRECATEDSubroomId;
      }
      if (other.DEPRECATEDWelcomeMatId != 0) {
        DEPRECATEDWelcomeMatId = other.DEPRECATEDWelcomeMatId;
      }
      _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 8: {
            DEPRECATEDRoomId = input.ReadInt64();
            break;
          }
          case 16: {
            DEPRECATEDSubroomId = input.ReadInt64();
            break;
          }
          case 24: {
            DEPRECATEDWelcomeMatId = input.ReadInt32();
            break;
          }
          case 32: {
            RoomDoorInviteMode = input.ReadInt32();
            break;
          }
          case 40: {
            ForceNewInstance = input.ReadBool();
            break;
          }
          case 50: {
            RoomName = input.ReadString();
            break;
          }
          case 58: {
            SubroomName = input.ReadString();
            break;
          }
          case 66: {
            WelcomeMatName = input.ReadString();
            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 8: {
            DEPRECATEDRoomId = input.ReadInt64();
            break;
          }
          case 16: {
            DEPRECATEDSubroomId = input.ReadInt64();
            break;
          }
          case 24: {
            DEPRECATEDWelcomeMatId = input.ReadInt32();
            break;
          }
          case 32: {
            RoomDoorInviteMode = input.ReadInt32();
            break;
          }
          case 40: {
            ForceNewInstance = input.ReadBool();
            break;
          }
          case 50: {
            RoomName = input.ReadString();
            break;
          }
          case 58: {
            SubroomName = input.ReadString();
            break;
          }
          case 66: {
            WelcomeMatName = input.ReadString();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
