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

  /// <summary>Holder for reflection information generated from rec_room/persistence/button_data.proto</summary>
  public static partial class ButtonDataReflection {

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

    static ButtonDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiZyZWNfcm9vbS9wZXJzaXN0ZW5jZS9idXR0b25fZGF0YS5wcm90bxIIcmVj",
            "X3Jvb20aLXJlY19yb29tL3BlcnNpc3RlbmNlL2ludGVyYWN0aW9uX2ZpbHRl",
            "ci5wcm90byKmAQoKQnV0dG9uRGF0YRIbChNzaWduYWxfaXNfcGxheWVyX2lk",
            "GAEgASgIEhYKDmp1bmlvcl9lbmFibGVkGAIgASgIEksKIkRFUFJFQ0FURURf",
            "aW50ZXJhY3Rpb25fZmlsdGVyX2RhdGEYAyABKAsyHy5yZWNfcm9vbS5JbnRl",
            "cmFjdGlvbkZpbHRlckRhdGESFgoOc291bmRfZGlzYWJsZWQYBCABKAgisAIK",
            "EFRvZ2dsZUJ1dHRvbkRhdGESHAoUZGVmYXVsdF90b2dnbGVfc3RhdGUYASAB",
            "KAgSGwoTc2lnbmFsX2lzX3BsYXllcl9pZBgCIAEoCBIkChxwcm9qZWN0aWxl",
            "X2NvbGxpc2lvbl9lbmFibGVkGAMgASgIEhYKDmp1bmlvcl9lbmFibGVkGAQg",
            "ASgIEhsKE3RvZ2dsZV9idXR0b25fc3RhdGUYBSABKAgSIQoZdmVoaWNsZV9j",
            "b2xsaXNpb25fZW5hYmxlZBgGIAEoCBJLCiJERVBSRUNBVEVEX2ludGVyYWN0",
            "aW9uX2ZpbHRlcl9kYXRhGAcgASgLMh8ucmVjX3Jvb20uSW50ZXJhY3Rpb25G",
            "aWx0ZXJEYXRhEhYKDnNvdW5kX2Rpc2FibGVkGAggASgIIjsKDkxpbmtCdXR0",
            "b25EYXRhEhEKCWxpbmtfdHlwZRgBIAEoBRIWCg5saW5rX3RhcmdldF9pZBgC",
            "IAEoA0ITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::RecRoom.Protobuf.InteractionFilterReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ButtonData), global::RecRoom.Protobuf.ButtonData.Parser, new[]{ "SignalIsPlayerId", "JuniorEnabled", "DEPRECATEDInteractionFilterData", "SoundDisabled" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ToggleButtonData), global::RecRoom.Protobuf.ToggleButtonData.Parser, new[]{ "DefaultToggleState", "SignalIsPlayerId", "ProjectileCollisionEnabled", "JuniorEnabled", "ToggleButtonState", "VehicleCollisionEnabled", "DEPRECATEDInteractionFilterData", "SoundDisabled" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.LinkButtonData), global::RecRoom.Protobuf.LinkButtonData.Parser, new[]{ "LinkType", "LinkTargetId" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class ButtonData : pb::IMessage<ButtonData>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<ButtonData> _parser = new pb::MessageParser<ButtonData>(() => new ButtonData());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<ButtonData> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::RecRoom.Protobuf.ButtonDataReflection.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 ButtonData() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ButtonData(ButtonData other) : this() {
      signalIsPlayerId_ = other.signalIsPlayerId_;
      juniorEnabled_ = other.juniorEnabled_;
      dEPRECATEDInteractionFilterData_ = other.dEPRECATEDInteractionFilterData_ != null ? other.dEPRECATEDInteractionFilterData_.Clone() : null;
      soundDisabled_ = other.soundDisabled_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "signal_is_player_id" field.</summary>
    public const int SignalIsPlayerIdFieldNumber = 1;
    private bool signalIsPlayerId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool SignalIsPlayerId {
      get { return signalIsPlayerId_; }
      set {
        signalIsPlayerId_ = value;
      }
    }

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

    /// <summary>Field number for the "DEPRECATED_interaction_filter_data" field.</summary>
    public const int DEPRECATEDInteractionFilterDataFieldNumber = 3;
    private global::RecRoom.Protobuf.InteractionFilterData dEPRECATEDInteractionFilterData_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.InteractionFilterData DEPRECATEDInteractionFilterData {
      get { return dEPRECATEDInteractionFilterData_; }
      set {
        dEPRECATEDInteractionFilterData_ = value;
      }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ButtonData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (SignalIsPlayerId != other.SignalIsPlayerId) return false;
      if (JuniorEnabled != other.JuniorEnabled) return false;
      if (!object.Equals(DEPRECATEDInteractionFilterData, other.DEPRECATEDInteractionFilterData)) return false;
      if (SoundDisabled != other.SoundDisabled) 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 (SignalIsPlayerId != false) hash ^= SignalIsPlayerId.GetHashCode();
      if (JuniorEnabled != false) hash ^= JuniorEnabled.GetHashCode();
      if (dEPRECATEDInteractionFilterData_ != null) hash ^= DEPRECATEDInteractionFilterData.GetHashCode();
      if (SoundDisabled != false) hash ^= SoundDisabled.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 (SignalIsPlayerId != false) {
        output.WriteRawTag(8);
        output.WriteBool(SignalIsPlayerId);
      }
      if (JuniorEnabled != false) {
        output.WriteRawTag(16);
        output.WriteBool(JuniorEnabled);
      }
      if (dEPRECATEDInteractionFilterData_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(DEPRECATEDInteractionFilterData);
      }
      if (SoundDisabled != false) {
        output.WriteRawTag(32);
        output.WriteBool(SoundDisabled);
      }
      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 (SignalIsPlayerId != false) {
        output.WriteRawTag(8);
        output.WriteBool(SignalIsPlayerId);
      }
      if (JuniorEnabled != false) {
        output.WriteRawTag(16);
        output.WriteBool(JuniorEnabled);
      }
      if (dEPRECATEDInteractionFilterData_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(DEPRECATEDInteractionFilterData);
      }
      if (SoundDisabled != false) {
        output.WriteRawTag(32);
        output.WriteBool(SoundDisabled);
      }
      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 (SignalIsPlayerId != false) {
        size += 1 + 1;
      }
      if (JuniorEnabled != false) {
        size += 1 + 1;
      }
      if (dEPRECATEDInteractionFilterData_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDInteractionFilterData);
      }
      if (SoundDisabled != false) {
        size += 1 + 1;
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ButtonData other) {
      if (other == null) {
        return;
      }
      if (other.SignalIsPlayerId != false) {
        SignalIsPlayerId = other.SignalIsPlayerId;
      }
      if (other.JuniorEnabled != false) {
        JuniorEnabled = other.JuniorEnabled;
      }
      if (other.dEPRECATEDInteractionFilterData_ != null) {
        if (dEPRECATEDInteractionFilterData_ == null) {
          DEPRECATEDInteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
        }
        DEPRECATEDInteractionFilterData.MergeFrom(other.DEPRECATEDInteractionFilterData);
      }
      if (other.SoundDisabled != false) {
        SoundDisabled = other.SoundDisabled;
      }
      _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: {
            SignalIsPlayerId = input.ReadBool();
            break;
          }
          case 16: {
            JuniorEnabled = input.ReadBool();
            break;
          }
          case 26: {
            if (dEPRECATEDInteractionFilterData_ == null) {
              DEPRECATEDInteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
            }
            input.ReadMessage(DEPRECATEDInteractionFilterData);
            break;
          }
          case 32: {
            SoundDisabled = input.ReadBool();
            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: {
            SignalIsPlayerId = input.ReadBool();
            break;
          }
          case 16: {
            JuniorEnabled = input.ReadBool();
            break;
          }
          case 26: {
            if (dEPRECATEDInteractionFilterData_ == null) {
              DEPRECATEDInteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
            }
            input.ReadMessage(DEPRECATEDInteractionFilterData);
            break;
          }
          case 32: {
            SoundDisabled = input.ReadBool();
            break;
          }
        }
      }
    }
    #endif

  }

  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class ToggleButtonData : pb::IMessage<ToggleButtonData>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<ToggleButtonData> _parser = new pb::MessageParser<ToggleButtonData>(() => new ToggleButtonData());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<ToggleButtonData> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::RecRoom.Protobuf.ButtonDataReflection.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 ToggleButtonData() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ToggleButtonData(ToggleButtonData other) : this() {
      defaultToggleState_ = other.defaultToggleState_;
      signalIsPlayerId_ = other.signalIsPlayerId_;
      projectileCollisionEnabled_ = other.projectileCollisionEnabled_;
      juniorEnabled_ = other.juniorEnabled_;
      toggleButtonState_ = other.toggleButtonState_;
      vehicleCollisionEnabled_ = other.vehicleCollisionEnabled_;
      dEPRECATEDInteractionFilterData_ = other.dEPRECATEDInteractionFilterData_ != null ? other.dEPRECATEDInteractionFilterData_.Clone() : null;
      soundDisabled_ = other.soundDisabled_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "default_toggle_state" field.</summary>
    public const int DefaultToggleStateFieldNumber = 1;
    private bool defaultToggleState_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool DefaultToggleState {
      get { return defaultToggleState_; }
      set {
        defaultToggleState_ = value;
      }
    }

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

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

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

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

    /// <summary>Field number for the "vehicle_collision_enabled" field.</summary>
    public const int VehicleCollisionEnabledFieldNumber = 6;
    private bool vehicleCollisionEnabled_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool VehicleCollisionEnabled {
      get { return vehicleCollisionEnabled_; }
      set {
        vehicleCollisionEnabled_ = value;
      }
    }

    /// <summary>Field number for the "DEPRECATED_interaction_filter_data" field.</summary>
    public const int DEPRECATEDInteractionFilterDataFieldNumber = 7;
    private global::RecRoom.Protobuf.InteractionFilterData dEPRECATEDInteractionFilterData_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.InteractionFilterData DEPRECATEDInteractionFilterData {
      get { return dEPRECATEDInteractionFilterData_; }
      set {
        dEPRECATEDInteractionFilterData_ = value;
      }
    }

    /// <summary>Field number for the "sound_disabled" field.</summary>
    public const int SoundDisabledFieldNumber = 8;
    private bool soundDisabled_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool SoundDisabled {
      get { return soundDisabled_; }
      set {
        soundDisabled_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ToggleButtonData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (DefaultToggleState != other.DefaultToggleState) return false;
      if (SignalIsPlayerId != other.SignalIsPlayerId) return false;
      if (ProjectileCollisionEnabled != other.ProjectileCollisionEnabled) return false;
      if (JuniorEnabled != other.JuniorEnabled) return false;
      if (ToggleButtonState != other.ToggleButtonState) return false;
      if (VehicleCollisionEnabled != other.VehicleCollisionEnabled) return false;
      if (!object.Equals(DEPRECATEDInteractionFilterData, other.DEPRECATEDInteractionFilterData)) return false;
      if (SoundDisabled != other.SoundDisabled) 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 (DefaultToggleState != false) hash ^= DefaultToggleState.GetHashCode();
      if (SignalIsPlayerId != false) hash ^= SignalIsPlayerId.GetHashCode();
      if (ProjectileCollisionEnabled != false) hash ^= ProjectileCollisionEnabled.GetHashCode();
      if (JuniorEnabled != false) hash ^= JuniorEnabled.GetHashCode();
      if (ToggleButtonState != false) hash ^= ToggleButtonState.GetHashCode();
      if (VehicleCollisionEnabled != false) hash ^= VehicleCollisionEnabled.GetHashCode();
      if (dEPRECATEDInteractionFilterData_ != null) hash ^= DEPRECATEDInteractionFilterData.GetHashCode();
      if (SoundDisabled != false) hash ^= SoundDisabled.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 (DefaultToggleState != false) {
        output.WriteRawTag(8);
        output.WriteBool(DefaultToggleState);
      }
      if (SignalIsPlayerId != false) {
        output.WriteRawTag(16);
        output.WriteBool(SignalIsPlayerId);
      }
      if (ProjectileCollisionEnabled != false) {
        output.WriteRawTag(24);
        output.WriteBool(ProjectileCollisionEnabled);
      }
      if (JuniorEnabled != false) {
        output.WriteRawTag(32);
        output.WriteBool(JuniorEnabled);
      }
      if (ToggleButtonState != false) {
        output.WriteRawTag(40);
        output.WriteBool(ToggleButtonState);
      }
      if (VehicleCollisionEnabled != false) {
        output.WriteRawTag(48);
        output.WriteBool(VehicleCollisionEnabled);
      }
      if (dEPRECATEDInteractionFilterData_ != null) {
        output.WriteRawTag(58);
        output.WriteMessage(DEPRECATEDInteractionFilterData);
      }
      if (SoundDisabled != false) {
        output.WriteRawTag(64);
        output.WriteBool(SoundDisabled);
      }
      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 (DefaultToggleState != false) {
        output.WriteRawTag(8);
        output.WriteBool(DefaultToggleState);
      }
      if (SignalIsPlayerId != false) {
        output.WriteRawTag(16);
        output.WriteBool(SignalIsPlayerId);
      }
      if (ProjectileCollisionEnabled != false) {
        output.WriteRawTag(24);
        output.WriteBool(ProjectileCollisionEnabled);
      }
      if (JuniorEnabled != false) {
        output.WriteRawTag(32);
        output.WriteBool(JuniorEnabled);
      }
      if (ToggleButtonState != false) {
        output.WriteRawTag(40);
        output.WriteBool(ToggleButtonState);
      }
      if (VehicleCollisionEnabled != false) {
        output.WriteRawTag(48);
        output.WriteBool(VehicleCollisionEnabled);
      }
      if (dEPRECATEDInteractionFilterData_ != null) {
        output.WriteRawTag(58);
        output.WriteMessage(DEPRECATEDInteractionFilterData);
      }
      if (SoundDisabled != false) {
        output.WriteRawTag(64);
        output.WriteBool(SoundDisabled);
      }
      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 (DefaultToggleState != false) {
        size += 1 + 1;
      }
      if (SignalIsPlayerId != false) {
        size += 1 + 1;
      }
      if (ProjectileCollisionEnabled != false) {
        size += 1 + 1;
      }
      if (JuniorEnabled != false) {
        size += 1 + 1;
      }
      if (ToggleButtonState != false) {
        size += 1 + 1;
      }
      if (VehicleCollisionEnabled != false) {
        size += 1 + 1;
      }
      if (dEPRECATEDInteractionFilterData_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDInteractionFilterData);
      }
      if (SoundDisabled != false) {
        size += 1 + 1;
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ToggleButtonData other) {
      if (other == null) {
        return;
      }
      if (other.DefaultToggleState != false) {
        DefaultToggleState = other.DefaultToggleState;
      }
      if (other.SignalIsPlayerId != false) {
        SignalIsPlayerId = other.SignalIsPlayerId;
      }
      if (other.ProjectileCollisionEnabled != false) {
        ProjectileCollisionEnabled = other.ProjectileCollisionEnabled;
      }
      if (other.JuniorEnabled != false) {
        JuniorEnabled = other.JuniorEnabled;
      }
      if (other.ToggleButtonState != false) {
        ToggleButtonState = other.ToggleButtonState;
      }
      if (other.VehicleCollisionEnabled != false) {
        VehicleCollisionEnabled = other.VehicleCollisionEnabled;
      }
      if (other.dEPRECATEDInteractionFilterData_ != null) {
        if (dEPRECATEDInteractionFilterData_ == null) {
          DEPRECATEDInteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
        }
        DEPRECATEDInteractionFilterData.MergeFrom(other.DEPRECATEDInteractionFilterData);
      }
      if (other.SoundDisabled != false) {
        SoundDisabled = other.SoundDisabled;
      }
      _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: {
            DefaultToggleState = input.ReadBool();
            break;
          }
          case 16: {
            SignalIsPlayerId = input.ReadBool();
            break;
          }
          case 24: {
            ProjectileCollisionEnabled = input.ReadBool();
            break;
          }
          case 32: {
            JuniorEnabled = input.ReadBool();
            break;
          }
          case 40: {
            ToggleButtonState = input.ReadBool();
            break;
          }
          case 48: {
            VehicleCollisionEnabled = input.ReadBool();
            break;
          }
          case 58: {
            if (dEPRECATEDInteractionFilterData_ == null) {
              DEPRECATEDInteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
            }
            input.ReadMessage(DEPRECATEDInteractionFilterData);
            break;
          }
          case 64: {
            SoundDisabled = input.ReadBool();
            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: {
            DefaultToggleState = input.ReadBool();
            break;
          }
          case 16: {
            SignalIsPlayerId = input.ReadBool();
            break;
          }
          case 24: {
            ProjectileCollisionEnabled = input.ReadBool();
            break;
          }
          case 32: {
            JuniorEnabled = input.ReadBool();
            break;
          }
          case 40: {
            ToggleButtonState = input.ReadBool();
            break;
          }
          case 48: {
            VehicleCollisionEnabled = input.ReadBool();
            break;
          }
          case 58: {
            if (dEPRECATEDInteractionFilterData_ == null) {
              DEPRECATEDInteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
            }
            input.ReadMessage(DEPRECATEDInteractionFilterData);
            break;
          }
          case 64: {
            SoundDisabled = input.ReadBool();
            break;
          }
        }
      }
    }
    #endif

  }

  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class LinkButtonData : pb::IMessage<LinkButtonData>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<LinkButtonData> _parser = new pb::MessageParser<LinkButtonData>(() => new LinkButtonData());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<LinkButtonData> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::RecRoom.Protobuf.ButtonDataReflection.Descriptor.MessageTypes[2]; }
    }

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

    partial void OnConstruction();

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

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

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

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(LinkButtonData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (LinkType != other.LinkType) return false;
      if (LinkTargetId != other.LinkTargetId) 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 (LinkType != 0) hash ^= LinkType.GetHashCode();
      if (LinkTargetId != 0L) hash ^= LinkTargetId.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 (LinkType != 0) {
        output.WriteRawTag(8);
        output.WriteInt32(LinkType);
      }
      if (LinkTargetId != 0L) {
        output.WriteRawTag(16);
        output.WriteInt64(LinkTargetId);
      }
      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 (LinkType != 0) {
        output.WriteRawTag(8);
        output.WriteInt32(LinkType);
      }
      if (LinkTargetId != 0L) {
        output.WriteRawTag(16);
        output.WriteInt64(LinkTargetId);
      }
      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 (LinkType != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(LinkType);
      }
      if (LinkTargetId != 0L) {
        size += 1 + pb::CodedOutputStream.ComputeInt64Size(LinkTargetId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(LinkButtonData other) {
      if (other == null) {
        return;
      }
      if (other.LinkType != 0) {
        LinkType = other.LinkType;
      }
      if (other.LinkTargetId != 0L) {
        LinkTargetId = other.LinkTargetId;
      }
      _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: {
            LinkType = input.ReadInt32();
            break;
          }
          case 16: {
            LinkTargetId = input.ReadInt64();
            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: {
            LinkType = input.ReadInt32();
            break;
          }
          case 16: {
            LinkTargetId = input.ReadInt64();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
