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

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

    static InvisibleCollisionDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CjNyZWNfcm9vbS9wZXJzaXN0ZW5jZS9pbnZpc2libGVfY29sbGlzaW9uX2Rh",
            "dGEucHJvdG8SCHJlY19yb29tIp4BChZJbnZpc2libGVDb2xsaXNpb25EYXRh",
            "EhwKFGNvbGxpZGVfd2l0aF9wbGF5ZXJzGAEgASgIEhwKFGNvbGxpZGVfd2l0",
            "aF9vYmplY3RzGAIgASgIEhQKDGZpbHRlcl9yb2xlcxgDIAMoCRIWCg5yZXN0",
            "cmljdF9yb2xlcxgEIAEoCBIaChJvY2NsdWRlc190YXJnZXRpbmcYBSABKAhC",
            "E6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.InvisibleCollisionData), global::RecRoom.Protobuf.InvisibleCollisionData.Parser, new[]{ "CollideWithPlayers", "CollideWithObjects", "FilterRoles", "RestrictRoles", "OccludesTargeting" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public InvisibleCollisionData(InvisibleCollisionData other) : this() {
      collideWithPlayers_ = other.collideWithPlayers_;
      collideWithObjects_ = other.collideWithObjects_;
      filterRoles_ = other.filterRoles_.Clone();
      restrictRoles_ = other.restrictRoles_;
      occludesTargeting_ = other.occludesTargeting_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

    /// <summary>Field number for the "filter_roles" field.</summary>
    public const int FilterRolesFieldNumber = 3;
    private static readonly pb::FieldCodec<string> _repeated_filterRoles_codec
        = pb::FieldCodec.ForString(26);
    private readonly pbc::RepeatedField<string> filterRoles_ = new pbc::RepeatedField<string>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<string> FilterRoles {
      get { return filterRoles_; }
    }

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

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(InvisibleCollisionData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (CollideWithPlayers != other.CollideWithPlayers) return false;
      if (CollideWithObjects != other.CollideWithObjects) return false;
      if(!filterRoles_.Equals(other.filterRoles_)) return false;
      if (RestrictRoles != other.RestrictRoles) return false;
      if (OccludesTargeting != other.OccludesTargeting) 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 (CollideWithPlayers != false) hash ^= CollideWithPlayers.GetHashCode();
      if (CollideWithObjects != false) hash ^= CollideWithObjects.GetHashCode();
      hash ^= filterRoles_.GetHashCode();
      if (RestrictRoles != false) hash ^= RestrictRoles.GetHashCode();
      if (OccludesTargeting != false) hash ^= OccludesTargeting.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 (CollideWithPlayers != false) {
        output.WriteRawTag(8);
        output.WriteBool(CollideWithPlayers);
      }
      if (CollideWithObjects != false) {
        output.WriteRawTag(16);
        output.WriteBool(CollideWithObjects);
      }
      filterRoles_.WriteTo(output, _repeated_filterRoles_codec);
      if (RestrictRoles != false) {
        output.WriteRawTag(32);
        output.WriteBool(RestrictRoles);
      }
      if (OccludesTargeting != false) {
        output.WriteRawTag(40);
        output.WriteBool(OccludesTargeting);
      }
      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 (CollideWithPlayers != false) {
        output.WriteRawTag(8);
        output.WriteBool(CollideWithPlayers);
      }
      if (CollideWithObjects != false) {
        output.WriteRawTag(16);
        output.WriteBool(CollideWithObjects);
      }
      filterRoles_.WriteTo(ref output, _repeated_filterRoles_codec);
      if (RestrictRoles != false) {
        output.WriteRawTag(32);
        output.WriteBool(RestrictRoles);
      }
      if (OccludesTargeting != false) {
        output.WriteRawTag(40);
        output.WriteBool(OccludesTargeting);
      }
      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 (CollideWithPlayers != false) {
        size += 1 + 1;
      }
      if (CollideWithObjects != false) {
        size += 1 + 1;
      }
      size += filterRoles_.CalculateSize(_repeated_filterRoles_codec);
      if (RestrictRoles != false) {
        size += 1 + 1;
      }
      if (OccludesTargeting != 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(InvisibleCollisionData other) {
      if (other == null) {
        return;
      }
      if (other.CollideWithPlayers != false) {
        CollideWithPlayers = other.CollideWithPlayers;
      }
      if (other.CollideWithObjects != false) {
        CollideWithObjects = other.CollideWithObjects;
      }
      filterRoles_.Add(other.filterRoles_);
      if (other.RestrictRoles != false) {
        RestrictRoles = other.RestrictRoles;
      }
      if (other.OccludesTargeting != false) {
        OccludesTargeting = other.OccludesTargeting;
      }
      _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: {
            CollideWithPlayers = input.ReadBool();
            break;
          }
          case 16: {
            CollideWithObjects = input.ReadBool();
            break;
          }
          case 26: {
            filterRoles_.AddEntriesFrom(input, _repeated_filterRoles_codec);
            break;
          }
          case 32: {
            RestrictRoles = input.ReadBool();
            break;
          }
          case 40: {
            OccludesTargeting = 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: {
            CollideWithPlayers = input.ReadBool();
            break;
          }
          case 16: {
            CollideWithObjects = input.ReadBool();
            break;
          }
          case 26: {
            filterRoles_.AddEntriesFrom(ref input, _repeated_filterRoles_codec);
            break;
          }
          case 32: {
            RestrictRoles = input.ReadBool();
            break;
          }
          case 40: {
            OccludesTargeting = input.ReadBool();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
