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

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

    static CreationObjectDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ci9yZWNfcm9vbS9wZXJzaXN0ZW5jZS9jcmVhdGlvbl9vYmplY3RfZGF0YS5w",
            "cm90bxIIcmVjX3Jvb20aFWNvcmUvY29sb3JfZGF0YS5wcm90bxovcmVjX3Jv",
            "b20vcGVyc2lzdGVuY2UvaW52ZW50aW9uX3BpZWNlX2RhdGEucHJvdG8aLXJl",
            "Y19yb29tL3BlcnNpc3RlbmNlL2ludGVyYWN0aW9uX2ZpbHRlci5wcm90byK6",
            "BAoSQ3JlYXRpb25PYmplY3REYXRhEicKDmNvbG9yX292ZXJyaWRlGAIgASgL",
            "Mg8uY29yZS5Db2xvckRhdGESFQoNdGVhbV9vdmVycmlkZRgDIAEoERIRCglp",
            "c19mcm96ZW4YBCABKAgSOgoUaW52ZW50aW9uX3BpZWNlX2RhdGEYBSABKAsy",
            "HC5yZWNfcm9vbS5JbnZlbnRpb25QaWVjZURhdGESFAoMaXNfZ3JhYmJhYmxl",
            "GAYgASgIEhQKDGlzX2NsaW1iYWJsZRgHIAEoCBIZChFwcmV2ZW50c193YWxs",
            "X3J1bhgIIAEoCBIbChNwcmV2ZW50c19jbGFtYmVyaW5nGAkgASgIEh8KF25h",
            "dm1lc2hfZ2VuZXJhdGlvbl9tb2RlGAogASgFEh8KF3BpY2t1cF9sb2NrZWRf",
            "Ynlfa2V5X2lkGAsgASgMEkAKF2ludGVyYWN0aW9uX2ZpbHRlcl9kYXRhGA4g",
            "ASgLMh8ucmVjX3Jvb20uSW50ZXJhY3Rpb25GaWx0ZXJEYXRhEi0KJURFUFJF",
            "Q0FURURfaW50ZXJhY3Rpb25fZmlsdGVyX2VuYWJsZWQYDyABKAgSMAoodG9v",
            "bF9wcmVmZXJyZWRfaGFuZF90eXBlX2Zvcl9pbnRlcmFjdGlvbhgQIAEoBRIk",
            "ChxtYWtlcl9wZW5faW50ZXJhY3Rpb25fZmlsdGVyGBEgASgFEiYKHmlzX2xv",
            "Y2tlZF9ieV9yb29tX2NvbnRyaWJ1dG9ycxgSIAEoCEITqgIQUmVjUm9vbS5Q",
            "cm90b2J1ZmIGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.ColorDataReflection.Descriptor, global::RecRoom.Protobuf.InventionPieceDataReflection.Descriptor, global::RecRoom.Protobuf.InteractionFilterReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.CreationObjectData), global::RecRoom.Protobuf.CreationObjectData.Parser, new[]{ "ColorOverride", "TeamOverride", "IsFrozen", "InventionPieceData", "IsGrabbable", "IsClimbable", "PreventsWallRun", "PreventsClambering", "NavmeshGenerationMode", "PickupLockedByKeyId", "InteractionFilterData", "DEPRECATEDInteractionFilterEnabled", "ToolPreferredHandTypeForInteraction", "MakerPenInteractionFilter", "IsLockedByRoomContributors" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public CreationObjectData(CreationObjectData other) : this() {
      colorOverride_ = other.colorOverride_ != null ? other.colorOverride_.Clone() : null;
      teamOverride_ = other.teamOverride_;
      isFrozen_ = other.isFrozen_;
      inventionPieceData_ = other.inventionPieceData_ != null ? other.inventionPieceData_.Clone() : null;
      isGrabbable_ = other.isGrabbable_;
      isClimbable_ = other.isClimbable_;
      preventsWallRun_ = other.preventsWallRun_;
      preventsClambering_ = other.preventsClambering_;
      navmeshGenerationMode_ = other.navmeshGenerationMode_;
      pickupLockedByKeyId_ = other.pickupLockedByKeyId_;
      interactionFilterData_ = other.interactionFilterData_ != null ? other.interactionFilterData_.Clone() : null;
      dEPRECATEDInteractionFilterEnabled_ = other.dEPRECATEDInteractionFilterEnabled_;
      toolPreferredHandTypeForInteraction_ = other.toolPreferredHandTypeForInteraction_;
      makerPenInteractionFilter_ = other.makerPenInteractionFilter_;
      isLockedByRoomContributors_ = other.isLockedByRoomContributors_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "color_override" field.</summary>
    public const int ColorOverrideFieldNumber = 2;
    private global::RecRoom.Protobuf.Core.ColorData colorOverride_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.Core.ColorData ColorOverride {
      get { return colorOverride_; }
      set {
        colorOverride_ = value;
      }
    }

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

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

    /// <summary>Field number for the "invention_piece_data" field.</summary>
    public const int InventionPieceDataFieldNumber = 5;
    private global::RecRoom.Protobuf.InventionPieceData inventionPieceData_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.InventionPieceData InventionPieceData {
      get { return inventionPieceData_; }
      set {
        inventionPieceData_ = value;
      }
    }

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

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

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

    /// <summary>Field number for the "prevents_clambering" field.</summary>
    public const int PreventsClamberingFieldNumber = 9;
    private bool preventsClambering_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool PreventsClambering {
      get { return preventsClambering_; }
      set {
        preventsClambering_ = value;
      }
    }

    /// <summary>Field number for the "navmesh_generation_mode" field.</summary>
    public const int NavmeshGenerationModeFieldNumber = 10;
    private int navmeshGenerationMode_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int NavmeshGenerationMode {
      get { return navmeshGenerationMode_; }
      set {
        navmeshGenerationMode_ = value;
      }
    }

    /// <summary>Field number for the "pickup_locked_by_key_id" field.</summary>
    public const int PickupLockedByKeyIdFieldNumber = 11;
    private pb::ByteString pickupLockedByKeyId_ = pb::ByteString.Empty;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pb::ByteString PickupLockedByKeyId {
      get { return pickupLockedByKeyId_; }
      set {
        pickupLockedByKeyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

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

    /// <summary>Field number for the "DEPRECATED_interaction_filter_enabled" field.</summary>
    public const int DEPRECATEDInteractionFilterEnabledFieldNumber = 15;
    private bool dEPRECATEDInteractionFilterEnabled_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool DEPRECATEDInteractionFilterEnabled {
      get { return dEPRECATEDInteractionFilterEnabled_; }
      set {
        dEPRECATEDInteractionFilterEnabled_ = value;
      }
    }

    /// <summary>Field number for the "tool_preferred_hand_type_for_interaction" field.</summary>
    public const int ToolPreferredHandTypeForInteractionFieldNumber = 16;
    private int toolPreferredHandTypeForInteraction_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int ToolPreferredHandTypeForInteraction {
      get { return toolPreferredHandTypeForInteraction_; }
      set {
        toolPreferredHandTypeForInteraction_ = value;
      }
    }

    /// <summary>Field number for the "maker_pen_interaction_filter" field.</summary>
    public const int MakerPenInteractionFilterFieldNumber = 17;
    private int makerPenInteractionFilter_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int MakerPenInteractionFilter {
      get { return makerPenInteractionFilter_; }
      set {
        makerPenInteractionFilter_ = value;
      }
    }

    /// <summary>Field number for the "is_locked_by_room_contributors" field.</summary>
    public const int IsLockedByRoomContributorsFieldNumber = 18;
    private bool isLockedByRoomContributors_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool IsLockedByRoomContributors {
      get { return isLockedByRoomContributors_; }
      set {
        isLockedByRoomContributors_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(CreationObjectData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(ColorOverride, other.ColorOverride)) return false;
      if (TeamOverride != other.TeamOverride) return false;
      if (IsFrozen != other.IsFrozen) return false;
      if (!object.Equals(InventionPieceData, other.InventionPieceData)) return false;
      if (IsGrabbable != other.IsGrabbable) return false;
      if (IsClimbable != other.IsClimbable) return false;
      if (PreventsWallRun != other.PreventsWallRun) return false;
      if (PreventsClambering != other.PreventsClambering) return false;
      if (NavmeshGenerationMode != other.NavmeshGenerationMode) return false;
      if (PickupLockedByKeyId != other.PickupLockedByKeyId) return false;
      if (!object.Equals(InteractionFilterData, other.InteractionFilterData)) return false;
      if (DEPRECATEDInteractionFilterEnabled != other.DEPRECATEDInteractionFilterEnabled) return false;
      if (ToolPreferredHandTypeForInteraction != other.ToolPreferredHandTypeForInteraction) return false;
      if (MakerPenInteractionFilter != other.MakerPenInteractionFilter) return false;
      if (IsLockedByRoomContributors != other.IsLockedByRoomContributors) 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 (colorOverride_ != null) hash ^= ColorOverride.GetHashCode();
      if (TeamOverride != 0) hash ^= TeamOverride.GetHashCode();
      if (IsFrozen != false) hash ^= IsFrozen.GetHashCode();
      if (inventionPieceData_ != null) hash ^= InventionPieceData.GetHashCode();
      if (IsGrabbable != false) hash ^= IsGrabbable.GetHashCode();
      if (IsClimbable != false) hash ^= IsClimbable.GetHashCode();
      if (PreventsWallRun != false) hash ^= PreventsWallRun.GetHashCode();
      if (PreventsClambering != false) hash ^= PreventsClambering.GetHashCode();
      if (NavmeshGenerationMode != 0) hash ^= NavmeshGenerationMode.GetHashCode();
      if (PickupLockedByKeyId.Length != 0) hash ^= PickupLockedByKeyId.GetHashCode();
      if (interactionFilterData_ != null) hash ^= InteractionFilterData.GetHashCode();
      if (DEPRECATEDInteractionFilterEnabled != false) hash ^= DEPRECATEDInteractionFilterEnabled.GetHashCode();
      if (ToolPreferredHandTypeForInteraction != 0) hash ^= ToolPreferredHandTypeForInteraction.GetHashCode();
      if (MakerPenInteractionFilter != 0) hash ^= MakerPenInteractionFilter.GetHashCode();
      if (IsLockedByRoomContributors != false) hash ^= IsLockedByRoomContributors.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 (colorOverride_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(ColorOverride);
      }
      if (TeamOverride != 0) {
        output.WriteRawTag(24);
        output.WriteSInt32(TeamOverride);
      }
      if (IsFrozen != false) {
        output.WriteRawTag(32);
        output.WriteBool(IsFrozen);
      }
      if (inventionPieceData_ != null) {
        output.WriteRawTag(42);
        output.WriteMessage(InventionPieceData);
      }
      if (IsGrabbable != false) {
        output.WriteRawTag(48);
        output.WriteBool(IsGrabbable);
      }
      if (IsClimbable != false) {
        output.WriteRawTag(56);
        output.WriteBool(IsClimbable);
      }
      if (PreventsWallRun != false) {
        output.WriteRawTag(64);
        output.WriteBool(PreventsWallRun);
      }
      if (PreventsClambering != false) {
        output.WriteRawTag(72);
        output.WriteBool(PreventsClambering);
      }
      if (NavmeshGenerationMode != 0) {
        output.WriteRawTag(80);
        output.WriteInt32(NavmeshGenerationMode);
      }
      if (PickupLockedByKeyId.Length != 0) {
        output.WriteRawTag(90);
        output.WriteBytes(PickupLockedByKeyId);
      }
      if (interactionFilterData_ != null) {
        output.WriteRawTag(114);
        output.WriteMessage(InteractionFilterData);
      }
      if (DEPRECATEDInteractionFilterEnabled != false) {
        output.WriteRawTag(120);
        output.WriteBool(DEPRECATEDInteractionFilterEnabled);
      }
      if (ToolPreferredHandTypeForInteraction != 0) {
        output.WriteRawTag(128, 1);
        output.WriteInt32(ToolPreferredHandTypeForInteraction);
      }
      if (MakerPenInteractionFilter != 0) {
        output.WriteRawTag(136, 1);
        output.WriteInt32(MakerPenInteractionFilter);
      }
      if (IsLockedByRoomContributors != false) {
        output.WriteRawTag(144, 1);
        output.WriteBool(IsLockedByRoomContributors);
      }
      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 (colorOverride_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(ColorOverride);
      }
      if (TeamOverride != 0) {
        output.WriteRawTag(24);
        output.WriteSInt32(TeamOverride);
      }
      if (IsFrozen != false) {
        output.WriteRawTag(32);
        output.WriteBool(IsFrozen);
      }
      if (inventionPieceData_ != null) {
        output.WriteRawTag(42);
        output.WriteMessage(InventionPieceData);
      }
      if (IsGrabbable != false) {
        output.WriteRawTag(48);
        output.WriteBool(IsGrabbable);
      }
      if (IsClimbable != false) {
        output.WriteRawTag(56);
        output.WriteBool(IsClimbable);
      }
      if (PreventsWallRun != false) {
        output.WriteRawTag(64);
        output.WriteBool(PreventsWallRun);
      }
      if (PreventsClambering != false) {
        output.WriteRawTag(72);
        output.WriteBool(PreventsClambering);
      }
      if (NavmeshGenerationMode != 0) {
        output.WriteRawTag(80);
        output.WriteInt32(NavmeshGenerationMode);
      }
      if (PickupLockedByKeyId.Length != 0) {
        output.WriteRawTag(90);
        output.WriteBytes(PickupLockedByKeyId);
      }
      if (interactionFilterData_ != null) {
        output.WriteRawTag(114);
        output.WriteMessage(InteractionFilterData);
      }
      if (DEPRECATEDInteractionFilterEnabled != false) {
        output.WriteRawTag(120);
        output.WriteBool(DEPRECATEDInteractionFilterEnabled);
      }
      if (ToolPreferredHandTypeForInteraction != 0) {
        output.WriteRawTag(128, 1);
        output.WriteInt32(ToolPreferredHandTypeForInteraction);
      }
      if (MakerPenInteractionFilter != 0) {
        output.WriteRawTag(136, 1);
        output.WriteInt32(MakerPenInteractionFilter);
      }
      if (IsLockedByRoomContributors != false) {
        output.WriteRawTag(144, 1);
        output.WriteBool(IsLockedByRoomContributors);
      }
      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 (colorOverride_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ColorOverride);
      }
      if (TeamOverride != 0) {
        size += 1 + pb::CodedOutputStream.ComputeSInt32Size(TeamOverride);
      }
      if (IsFrozen != false) {
        size += 1 + 1;
      }
      if (inventionPieceData_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(InventionPieceData);
      }
      if (IsGrabbable != false) {
        size += 1 + 1;
      }
      if (IsClimbable != false) {
        size += 1 + 1;
      }
      if (PreventsWallRun != false) {
        size += 1 + 1;
      }
      if (PreventsClambering != false) {
        size += 1 + 1;
      }
      if (NavmeshGenerationMode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(NavmeshGenerationMode);
      }
      if (PickupLockedByKeyId.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeBytesSize(PickupLockedByKeyId);
      }
      if (interactionFilterData_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(InteractionFilterData);
      }
      if (DEPRECATEDInteractionFilterEnabled != false) {
        size += 1 + 1;
      }
      if (ToolPreferredHandTypeForInteraction != 0) {
        size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToolPreferredHandTypeForInteraction);
      }
      if (MakerPenInteractionFilter != 0) {
        size += 2 + pb::CodedOutputStream.ComputeInt32Size(MakerPenInteractionFilter);
      }
      if (IsLockedByRoomContributors != false) {
        size += 2 + 1;
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(CreationObjectData other) {
      if (other == null) {
        return;
      }
      if (other.colorOverride_ != null) {
        if (colorOverride_ == null) {
          ColorOverride = new global::RecRoom.Protobuf.Core.ColorData();
        }
        ColorOverride.MergeFrom(other.ColorOverride);
      }
      if (other.TeamOverride != 0) {
        TeamOverride = other.TeamOverride;
      }
      if (other.IsFrozen != false) {
        IsFrozen = other.IsFrozen;
      }
      if (other.inventionPieceData_ != null) {
        if (inventionPieceData_ == null) {
          InventionPieceData = new global::RecRoom.Protobuf.InventionPieceData();
        }
        InventionPieceData.MergeFrom(other.InventionPieceData);
      }
      if (other.IsGrabbable != false) {
        IsGrabbable = other.IsGrabbable;
      }
      if (other.IsClimbable != false) {
        IsClimbable = other.IsClimbable;
      }
      if (other.PreventsWallRun != false) {
        PreventsWallRun = other.PreventsWallRun;
      }
      if (other.PreventsClambering != false) {
        PreventsClambering = other.PreventsClambering;
      }
      if (other.NavmeshGenerationMode != 0) {
        NavmeshGenerationMode = other.NavmeshGenerationMode;
      }
      if (other.PickupLockedByKeyId.Length != 0) {
        PickupLockedByKeyId = other.PickupLockedByKeyId;
      }
      if (other.interactionFilterData_ != null) {
        if (interactionFilterData_ == null) {
          InteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
        }
        InteractionFilterData.MergeFrom(other.InteractionFilterData);
      }
      if (other.DEPRECATEDInteractionFilterEnabled != false) {
        DEPRECATEDInteractionFilterEnabled = other.DEPRECATEDInteractionFilterEnabled;
      }
      if (other.ToolPreferredHandTypeForInteraction != 0) {
        ToolPreferredHandTypeForInteraction = other.ToolPreferredHandTypeForInteraction;
      }
      if (other.MakerPenInteractionFilter != 0) {
        MakerPenInteractionFilter = other.MakerPenInteractionFilter;
      }
      if (other.IsLockedByRoomContributors != false) {
        IsLockedByRoomContributors = other.IsLockedByRoomContributors;
      }
      _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 18: {
            if (colorOverride_ == null) {
              ColorOverride = new global::RecRoom.Protobuf.Core.ColorData();
            }
            input.ReadMessage(ColorOverride);
            break;
          }
          case 24: {
            TeamOverride = input.ReadSInt32();
            break;
          }
          case 32: {
            IsFrozen = input.ReadBool();
            break;
          }
          case 42: {
            if (inventionPieceData_ == null) {
              InventionPieceData = new global::RecRoom.Protobuf.InventionPieceData();
            }
            input.ReadMessage(InventionPieceData);
            break;
          }
          case 48: {
            IsGrabbable = input.ReadBool();
            break;
          }
          case 56: {
            IsClimbable = input.ReadBool();
            break;
          }
          case 64: {
            PreventsWallRun = input.ReadBool();
            break;
          }
          case 72: {
            PreventsClambering = input.ReadBool();
            break;
          }
          case 80: {
            NavmeshGenerationMode = input.ReadInt32();
            break;
          }
          case 90: {
            PickupLockedByKeyId = input.ReadBytes();
            break;
          }
          case 114: {
            if (interactionFilterData_ == null) {
              InteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
            }
            input.ReadMessage(InteractionFilterData);
            break;
          }
          case 120: {
            DEPRECATEDInteractionFilterEnabled = input.ReadBool();
            break;
          }
          case 128: {
            ToolPreferredHandTypeForInteraction = input.ReadInt32();
            break;
          }
          case 136: {
            MakerPenInteractionFilter = input.ReadInt32();
            break;
          }
          case 144: {
            IsLockedByRoomContributors = 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 18: {
            if (colorOverride_ == null) {
              ColorOverride = new global::RecRoom.Protobuf.Core.ColorData();
            }
            input.ReadMessage(ColorOverride);
            break;
          }
          case 24: {
            TeamOverride = input.ReadSInt32();
            break;
          }
          case 32: {
            IsFrozen = input.ReadBool();
            break;
          }
          case 42: {
            if (inventionPieceData_ == null) {
              InventionPieceData = new global::RecRoom.Protobuf.InventionPieceData();
            }
            input.ReadMessage(InventionPieceData);
            break;
          }
          case 48: {
            IsGrabbable = input.ReadBool();
            break;
          }
          case 56: {
            IsClimbable = input.ReadBool();
            break;
          }
          case 64: {
            PreventsWallRun = input.ReadBool();
            break;
          }
          case 72: {
            PreventsClambering = input.ReadBool();
            break;
          }
          case 80: {
            NavmeshGenerationMode = input.ReadInt32();
            break;
          }
          case 90: {
            PickupLockedByKeyId = input.ReadBytes();
            break;
          }
          case 114: {
            if (interactionFilterData_ == null) {
              InteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
            }
            input.ReadMessage(InteractionFilterData);
            break;
          }
          case 120: {
            DEPRECATEDInteractionFilterEnabled = input.ReadBool();
            break;
          }
          case 128: {
            ToolPreferredHandTypeForInteraction = input.ReadInt32();
            break;
          }
          case 136: {
            MakerPenInteractionFilter = input.ReadInt32();
            break;
          }
          case 144: {
            IsLockedByRoomContributors = input.ReadBool();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
