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

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

    static RaycastGizmoDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ci1yZWNfcm9vbS9wZXJzaXN0ZW5jZS9yYXljYXN0X2dpem1vX2RhdGEucHJv",
            "dG8SCHJlY19yb29tIrcBChBSYXljYXN0R2l6bW9EYXRhEhUKDWRpc3RhbmNl",
            "X3VuaXQYASABKAUSFgoOaWdub3JlX29iamVjdHMYAiABKAgSFgoOaWdub3Jl",
            "X3BsYXllcnMYAyABKAgSEgoKZmlsdGVyX3RhZxgEIAEoCRITCgtmaWx0ZXJf",
            "cm9sZRgFIAEoCRIYChBmaWx0ZXJfcm9sZV9ndWlkGAYgASgJEhkKEWFsd2F5",
            "c19zaG93X2xhc2VyGAcgASgIQhOqAhBSZWNSb29tLlByb3RvYnVmYgZwcm90",
            "bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.RaycastGizmoData), global::RecRoom.Protobuf.RaycastGizmoData.Parser, new[]{ "DistanceUnit", "IgnoreObjects", "IgnorePlayers", "FilterTag", "FilterRole", "FilterRoleGuid", "AlwaysShowLaser" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RaycastGizmoData(RaycastGizmoData other) : this() {
      distanceUnit_ = other.distanceUnit_;
      ignoreObjects_ = other.ignoreObjects_;
      ignorePlayers_ = other.ignorePlayers_;
      filterTag_ = other.filterTag_;
      filterRole_ = other.filterRole_;
      filterRoleGuid_ = other.filterRoleGuid_;
      alwaysShowLaser_ = other.alwaysShowLaser_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

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

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

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

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

    /// <summary>Field number for the "always_show_laser" field.</summary>
    public const int AlwaysShowLaserFieldNumber = 7;
    private bool alwaysShowLaser_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool AlwaysShowLaser {
      get { return alwaysShowLaser_; }
      set {
        alwaysShowLaser_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RaycastGizmoData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (DistanceUnit != other.DistanceUnit) return false;
      if (IgnoreObjects != other.IgnoreObjects) return false;
      if (IgnorePlayers != other.IgnorePlayers) return false;
      if (FilterTag != other.FilterTag) return false;
      if (FilterRole != other.FilterRole) return false;
      if (FilterRoleGuid != other.FilterRoleGuid) return false;
      if (AlwaysShowLaser != other.AlwaysShowLaser) 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 (DistanceUnit != 0) hash ^= DistanceUnit.GetHashCode();
      if (IgnoreObjects != false) hash ^= IgnoreObjects.GetHashCode();
      if (IgnorePlayers != false) hash ^= IgnorePlayers.GetHashCode();
      if (FilterTag.Length != 0) hash ^= FilterTag.GetHashCode();
      if (FilterRole.Length != 0) hash ^= FilterRole.GetHashCode();
      if (FilterRoleGuid.Length != 0) hash ^= FilterRoleGuid.GetHashCode();
      if (AlwaysShowLaser != false) hash ^= AlwaysShowLaser.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 (DistanceUnit != 0) {
        output.WriteRawTag(8);
        output.WriteInt32(DistanceUnit);
      }
      if (IgnoreObjects != false) {
        output.WriteRawTag(16);
        output.WriteBool(IgnoreObjects);
      }
      if (IgnorePlayers != false) {
        output.WriteRawTag(24);
        output.WriteBool(IgnorePlayers);
      }
      if (FilterTag.Length != 0) {
        output.WriteRawTag(34);
        output.WriteString(FilterTag);
      }
      if (FilterRole.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(FilterRole);
      }
      if (FilterRoleGuid.Length != 0) {
        output.WriteRawTag(50);
        output.WriteString(FilterRoleGuid);
      }
      if (AlwaysShowLaser != false) {
        output.WriteRawTag(56);
        output.WriteBool(AlwaysShowLaser);
      }
      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 (DistanceUnit != 0) {
        output.WriteRawTag(8);
        output.WriteInt32(DistanceUnit);
      }
      if (IgnoreObjects != false) {
        output.WriteRawTag(16);
        output.WriteBool(IgnoreObjects);
      }
      if (IgnorePlayers != false) {
        output.WriteRawTag(24);
        output.WriteBool(IgnorePlayers);
      }
      if (FilterTag.Length != 0) {
        output.WriteRawTag(34);
        output.WriteString(FilterTag);
      }
      if (FilterRole.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(FilterRole);
      }
      if (FilterRoleGuid.Length != 0) {
        output.WriteRawTag(50);
        output.WriteString(FilterRoleGuid);
      }
      if (AlwaysShowLaser != false) {
        output.WriteRawTag(56);
        output.WriteBool(AlwaysShowLaser);
      }
      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 (DistanceUnit != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(DistanceUnit);
      }
      if (IgnoreObjects != false) {
        size += 1 + 1;
      }
      if (IgnorePlayers != false) {
        size += 1 + 1;
      }
      if (FilterTag.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(FilterTag);
      }
      if (FilterRole.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(FilterRole);
      }
      if (FilterRoleGuid.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(FilterRoleGuid);
      }
      if (AlwaysShowLaser != 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(RaycastGizmoData other) {
      if (other == null) {
        return;
      }
      if (other.DistanceUnit != 0) {
        DistanceUnit = other.DistanceUnit;
      }
      if (other.IgnoreObjects != false) {
        IgnoreObjects = other.IgnoreObjects;
      }
      if (other.IgnorePlayers != false) {
        IgnorePlayers = other.IgnorePlayers;
      }
      if (other.FilterTag.Length != 0) {
        FilterTag = other.FilterTag;
      }
      if (other.FilterRole.Length != 0) {
        FilterRole = other.FilterRole;
      }
      if (other.FilterRoleGuid.Length != 0) {
        FilterRoleGuid = other.FilterRoleGuid;
      }
      if (other.AlwaysShowLaser != false) {
        AlwaysShowLaser = other.AlwaysShowLaser;
      }
      _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: {
            DistanceUnit = input.ReadInt32();
            break;
          }
          case 16: {
            IgnoreObjects = input.ReadBool();
            break;
          }
          case 24: {
            IgnorePlayers = input.ReadBool();
            break;
          }
          case 34: {
            FilterTag = input.ReadString();
            break;
          }
          case 42: {
            FilterRole = input.ReadString();
            break;
          }
          case 50: {
            FilterRoleGuid = input.ReadString();
            break;
          }
          case 56: {
            AlwaysShowLaser = 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: {
            DistanceUnit = input.ReadInt32();
            break;
          }
          case 16: {
            IgnoreObjects = input.ReadBool();
            break;
          }
          case 24: {
            IgnorePlayers = input.ReadBool();
            break;
          }
          case 34: {
            FilterTag = input.ReadString();
            break;
          }
          case 42: {
            FilterRole = input.ReadString();
            break;
          }
          case 50: {
            FilterRoleGuid = input.ReadString();
            break;
          }
          case 56: {
            AlwaysShowLaser = input.ReadBool();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
