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

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

    static PlayerRoomRoleDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CjFyZWNfcm9vbS9wbGF5ZXJfcm9sZXMvcGxheWVyX3Jvb21fcm9sZV9kYXRh",
            "LnByb3RvEghyZWNfcm9vbRoxcmVjX3Jvb20vcGVyc2lzdGVuY2Uvb3ZlcnJp",
            "ZGFibGVfZmllbGRfZGF0YS5wcm90byKNDAoSUGxheWVyUm9vbVJvbGVEYXRh",
            "EhoKEkRFUFJFQ0FURURfcm9sZV9pZBgBIAEoBRIcChRERVBSRUNBVEVEX3Jv",
            "bGVfcmFuaxgCIAEoBRIhChlERVBSRUNBVEVEX2lzX3JvbGVfYWN0aXZlGAMg",
            "ASgIEh0KFURFUFJFQ0FURURfaXNfYWdfcm9sZRgEIAEoCBIRCglyb2xlX25h",
            "bWUYBSABKAkSLQoEbmFtZRgGIAEoCzIfLnJlY19yb29tLk92ZXJyaWRhYmxl",
            "U3RyaW5nRGF0YRI3ChBjYW5fYXNzaWduX3JvbGVzGAcgASgLMh0ucmVjX3Jv",
            "b20uT3ZlcnJpZGFibGVCb29sRGF0YRI6ChR2b3RlX2tpY2tfcGVybWlzc2lv",
            "bhgIIAEoCzIcLnJlY19yb29tLk92ZXJyaWRhYmxlSW50RGF0YRIxCgpjYW5f",
            "aW52aXRlGAkgASgLMh0ucmVjX3Jvb20uT3ZlcnJpZGFibGVCb29sRGF0YRJD",
            "ChxERVBSRUNBVEVEX2Nhbl9lZGl0X2NpcmN1aXRzGAogASgLMh0ucmVjX3Jv",
            "b20uT3ZlcnJpZGFibGVCb29sRGF0YRI2Cg9jYW5fc3RhcnRfZ2FtZXMYCyAB",
            "KAsyHS5yZWNfcm9vbS5PdmVycmlkYWJsZUJvb2xEYXRhEi8KCGNhbl90YWxr",
            "GAwgASgLMh0ucmVjX3Jvb20uT3ZlcnJpZGFibGVCb29sRGF0YRI3ChBjYW5f",
            "cHJpbnRfcGhvdG9zGA0gASgLMh0ucmVjX3Jvb20uT3ZlcnJpZGFibGVCb29s",
            "RGF0YRI6ChNjYW5fZWRpdF9yb29tX3JvbGVzGA4gASgLMh0ucmVjX3Jvb20u",
            "T3ZlcnJpZGFibGVCb29sRGF0YRI2Cg9jYW5fc2VsZl9yZXZpdmUYECABKAsy",
            "HS5yZWNfcm9vbS5PdmVycmlkYWJsZUJvb2xEYXRhEjoKE2Nhbl9lbmRfZ2Ft",
            "ZXNfZWFybHkYESABKAsyHS5yZWNfcm9vbS5PdmVycmlkYWJsZUJvb2xEYXRh",
            "EjsKFGNhbl9jaGFuZ2VfZ2FtZV9tb2RlGBUgASgLMh0ucmVjX3Jvb20uT3Zl",
            "cnJpZGFibGVCb29sRGF0YRI4ChFjYW5fdXNlX21ha2VyX3BlbhgWIAEoCzId",
            "LnJlY19yb29tLk92ZXJyaWRhYmxlQm9vbERhdGESQAoZY2FuX3VzZV9kZWxl",
            "dGVfYWxsX2J1dHRvbhgXIAEoCzIdLnJlY19yb29tLk92ZXJyaWRhYmxlQm9v",
            "bERhdGESOgoTY2FuX3NhdmVfaW52ZW50aW9ucxgYIAEoCzIdLnJlY19yb29t",
            "Lk92ZXJyaWRhYmxlQm9vbERhdGESPAoVZGlzYWJsZV9taWNfYXV0b19tdXRl",
            "GBkgASgLMh0ucmVjX3Jvb20uT3ZlcnJpZGFibGVCb29sRGF0YRI4ChFjYW5f",
            "dXNlX3NoYXJlX2NhbRgaIAEoCzIdLnJlY19yb29tLk92ZXJyaWRhYmxlQm9v",
            "bERhdGESOwoUY2FuX3NwYXduX2ludmVudGlvbnMYHCABKAsyHS5yZWNfcm9v",
            "bS5PdmVycmlkYWJsZUJvb2xEYXRhEjwKFWNhbl9zcGF3bl9jb25zdW1hYmxl",
            "cxgdIAEoCzIdLnJlY19yb29tLk92ZXJyaWRhYmxlQm9vbERhdGESQAoZY2Fu",
            "X3VzZV9yb29tX3Jlc2V0X2J1dHRvbhgeIAEoCzIdLnJlY19yb29tLk92ZXJy",
            "aWRhYmxlQm9vbERhdGESQQoaY2FuX3VzZV9wbGF5X2dpem1vc190b2dnbGUY",
            "HyABKAsyHS5yZWNfcm9vbS5PdmVycmlkYWJsZUJvb2xEYXRhEh0KFWlzX21v",
            "ZGlmaWVkX2J5X3BsYXllchgSIAEoCBJFChhhdXRvX2Fzc2lnbmVkX2dhbWVf",
            "cm9sZXMYEyABKAsyIy5yZWNfcm9vbS5PdmVycmlkYWJsZUxpc3RTdHJpbmdE",
            "YXRhEhQKDHJvbGVfdmVyc2lvbhgUIAEoBRIRCglyb2xlX2d1aWQYGyABKAlC",
            "E6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::RecRoom.Protobuf.OverridableFieldDataReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.PlayerRoomRoleData), global::RecRoom.Protobuf.PlayerRoomRoleData.Parser, new[]{ "DEPRECATEDRoleId", "DEPRECATEDRoleRank", "DEPRECATEDIsRoleActive", "DEPRECATEDIsAgRole", "RoleName", "Name", "CanAssignRoles", "VoteKickPermission", "CanInvite", "DEPRECATEDCanEditCircuits", "CanStartGames", "CanTalk", "CanPrintPhotos", "CanEditRoomRoles", "CanSelfRevive", "CanEndGamesEarly", "CanChangeGameMode", "CanUseMakerPen", "CanUseDeleteAllButton", "CanSaveInventions", "DisableMicAutoMute", "CanUseShareCam", "CanSpawnInventions", "CanSpawnConsumables", "CanUseRoomResetButton", "CanUsePlayGizmosToggle", "IsModifiedByPlayer", "AutoAssignedGameRoles", "RoleVersion", "RoleGuid" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PlayerRoomRoleData(PlayerRoomRoleData other) : this() {
      dEPRECATEDRoleId_ = other.dEPRECATEDRoleId_;
      dEPRECATEDRoleRank_ = other.dEPRECATEDRoleRank_;
      dEPRECATEDIsRoleActive_ = other.dEPRECATEDIsRoleActive_;
      dEPRECATEDIsAgRole_ = other.dEPRECATEDIsAgRole_;
      roleName_ = other.roleName_;
      name_ = other.name_ != null ? other.name_.Clone() : null;
      canAssignRoles_ = other.canAssignRoles_ != null ? other.canAssignRoles_.Clone() : null;
      voteKickPermission_ = other.voteKickPermission_ != null ? other.voteKickPermission_.Clone() : null;
      canInvite_ = other.canInvite_ != null ? other.canInvite_.Clone() : null;
      dEPRECATEDCanEditCircuits_ = other.dEPRECATEDCanEditCircuits_ != null ? other.dEPRECATEDCanEditCircuits_.Clone() : null;
      canStartGames_ = other.canStartGames_ != null ? other.canStartGames_.Clone() : null;
      canTalk_ = other.canTalk_ != null ? other.canTalk_.Clone() : null;
      canPrintPhotos_ = other.canPrintPhotos_ != null ? other.canPrintPhotos_.Clone() : null;
      canEditRoomRoles_ = other.canEditRoomRoles_ != null ? other.canEditRoomRoles_.Clone() : null;
      canSelfRevive_ = other.canSelfRevive_ != null ? other.canSelfRevive_.Clone() : null;
      canEndGamesEarly_ = other.canEndGamesEarly_ != null ? other.canEndGamesEarly_.Clone() : null;
      canChangeGameMode_ = other.canChangeGameMode_ != null ? other.canChangeGameMode_.Clone() : null;
      canUseMakerPen_ = other.canUseMakerPen_ != null ? other.canUseMakerPen_.Clone() : null;
      canUseDeleteAllButton_ = other.canUseDeleteAllButton_ != null ? other.canUseDeleteAllButton_.Clone() : null;
      canSaveInventions_ = other.canSaveInventions_ != null ? other.canSaveInventions_.Clone() : null;
      disableMicAutoMute_ = other.disableMicAutoMute_ != null ? other.disableMicAutoMute_.Clone() : null;
      canUseShareCam_ = other.canUseShareCam_ != null ? other.canUseShareCam_.Clone() : null;
      canSpawnInventions_ = other.canSpawnInventions_ != null ? other.canSpawnInventions_.Clone() : null;
      canSpawnConsumables_ = other.canSpawnConsumables_ != null ? other.canSpawnConsumables_.Clone() : null;
      canUseRoomResetButton_ = other.canUseRoomResetButton_ != null ? other.canUseRoomResetButton_.Clone() : null;
      canUsePlayGizmosToggle_ = other.canUsePlayGizmosToggle_ != null ? other.canUsePlayGizmosToggle_.Clone() : null;
      isModifiedByPlayer_ = other.isModifiedByPlayer_;
      autoAssignedGameRoles_ = other.autoAssignedGameRoles_ != null ? other.autoAssignedGameRoles_.Clone() : null;
      roleVersion_ = other.roleVersion_;
      roleGuid_ = other.roleGuid_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

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

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

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

    /// <summary>Field number for the "name" field.</summary>
    public const int NameFieldNumber = 6;
    private global::RecRoom.Protobuf.OverridableStringData name_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableStringData Name {
      get { return name_; }
      set {
        name_ = value;
      }
    }

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

    /// <summary>Field number for the "vote_kick_permission" field.</summary>
    public const int VoteKickPermissionFieldNumber = 8;
    private global::RecRoom.Protobuf.OverridableIntData voteKickPermission_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableIntData VoteKickPermission {
      get { return voteKickPermission_; }
      set {
        voteKickPermission_ = value;
      }
    }

    /// <summary>Field number for the "can_invite" field.</summary>
    public const int CanInviteFieldNumber = 9;
    private global::RecRoom.Protobuf.OverridableBoolData canInvite_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanInvite {
      get { return canInvite_; }
      set {
        canInvite_ = value;
      }
    }

    /// <summary>Field number for the "DEPRECATED_can_edit_circuits" field.</summary>
    public const int DEPRECATEDCanEditCircuitsFieldNumber = 10;
    private global::RecRoom.Protobuf.OverridableBoolData dEPRECATEDCanEditCircuits_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData DEPRECATEDCanEditCircuits {
      get { return dEPRECATEDCanEditCircuits_; }
      set {
        dEPRECATEDCanEditCircuits_ = value;
      }
    }

    /// <summary>Field number for the "can_start_games" field.</summary>
    public const int CanStartGamesFieldNumber = 11;
    private global::RecRoom.Protobuf.OverridableBoolData canStartGames_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanStartGames {
      get { return canStartGames_; }
      set {
        canStartGames_ = value;
      }
    }

    /// <summary>Field number for the "can_talk" field.</summary>
    public const int CanTalkFieldNumber = 12;
    private global::RecRoom.Protobuf.OverridableBoolData canTalk_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanTalk {
      get { return canTalk_; }
      set {
        canTalk_ = value;
      }
    }

    /// <summary>Field number for the "can_print_photos" field.</summary>
    public const int CanPrintPhotosFieldNumber = 13;
    private global::RecRoom.Protobuf.OverridableBoolData canPrintPhotos_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanPrintPhotos {
      get { return canPrintPhotos_; }
      set {
        canPrintPhotos_ = value;
      }
    }

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

    /// <summary>Field number for the "can_self_revive" field.</summary>
    public const int CanSelfReviveFieldNumber = 16;
    private global::RecRoom.Protobuf.OverridableBoolData canSelfRevive_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanSelfRevive {
      get { return canSelfRevive_; }
      set {
        canSelfRevive_ = value;
      }
    }

    /// <summary>Field number for the "can_end_games_early" field.</summary>
    public const int CanEndGamesEarlyFieldNumber = 17;
    private global::RecRoom.Protobuf.OverridableBoolData canEndGamesEarly_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanEndGamesEarly {
      get { return canEndGamesEarly_; }
      set {
        canEndGamesEarly_ = value;
      }
    }

    /// <summary>Field number for the "can_change_game_mode" field.</summary>
    public const int CanChangeGameModeFieldNumber = 21;
    private global::RecRoom.Protobuf.OverridableBoolData canChangeGameMode_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanChangeGameMode {
      get { return canChangeGameMode_; }
      set {
        canChangeGameMode_ = value;
      }
    }

    /// <summary>Field number for the "can_use_maker_pen" field.</summary>
    public const int CanUseMakerPenFieldNumber = 22;
    private global::RecRoom.Protobuf.OverridableBoolData canUseMakerPen_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanUseMakerPen {
      get { return canUseMakerPen_; }
      set {
        canUseMakerPen_ = value;
      }
    }

    /// <summary>Field number for the "can_use_delete_all_button" field.</summary>
    public const int CanUseDeleteAllButtonFieldNumber = 23;
    private global::RecRoom.Protobuf.OverridableBoolData canUseDeleteAllButton_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanUseDeleteAllButton {
      get { return canUseDeleteAllButton_; }
      set {
        canUseDeleteAllButton_ = value;
      }
    }

    /// <summary>Field number for the "can_save_inventions" field.</summary>
    public const int CanSaveInventionsFieldNumber = 24;
    private global::RecRoom.Protobuf.OverridableBoolData canSaveInventions_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanSaveInventions {
      get { return canSaveInventions_; }
      set {
        canSaveInventions_ = value;
      }
    }

    /// <summary>Field number for the "disable_mic_auto_mute" field.</summary>
    public const int DisableMicAutoMuteFieldNumber = 25;
    private global::RecRoom.Protobuf.OverridableBoolData disableMicAutoMute_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData DisableMicAutoMute {
      get { return disableMicAutoMute_; }
      set {
        disableMicAutoMute_ = value;
      }
    }

    /// <summary>Field number for the "can_use_share_cam" field.</summary>
    public const int CanUseShareCamFieldNumber = 26;
    private global::RecRoom.Protobuf.OverridableBoolData canUseShareCam_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanUseShareCam {
      get { return canUseShareCam_; }
      set {
        canUseShareCam_ = value;
      }
    }

    /// <summary>Field number for the "can_spawn_inventions" field.</summary>
    public const int CanSpawnInventionsFieldNumber = 28;
    private global::RecRoom.Protobuf.OverridableBoolData canSpawnInventions_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanSpawnInventions {
      get { return canSpawnInventions_; }
      set {
        canSpawnInventions_ = value;
      }
    }

    /// <summary>Field number for the "can_spawn_consumables" field.</summary>
    public const int CanSpawnConsumablesFieldNumber = 29;
    private global::RecRoom.Protobuf.OverridableBoolData canSpawnConsumables_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanSpawnConsumables {
      get { return canSpawnConsumables_; }
      set {
        canSpawnConsumables_ = value;
      }
    }

    /// <summary>Field number for the "can_use_room_reset_button" field.</summary>
    public const int CanUseRoomResetButtonFieldNumber = 30;
    private global::RecRoom.Protobuf.OverridableBoolData canUseRoomResetButton_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanUseRoomResetButton {
      get { return canUseRoomResetButton_; }
      set {
        canUseRoomResetButton_ = value;
      }
    }

    /// <summary>Field number for the "can_use_play_gizmos_toggle" field.</summary>
    public const int CanUsePlayGizmosToggleFieldNumber = 31;
    private global::RecRoom.Protobuf.OverridableBoolData canUsePlayGizmosToggle_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableBoolData CanUsePlayGizmosToggle {
      get { return canUsePlayGizmosToggle_; }
      set {
        canUsePlayGizmosToggle_ = value;
      }
    }

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

    /// <summary>Field number for the "auto_assigned_game_roles" field.</summary>
    public const int AutoAssignedGameRolesFieldNumber = 19;
    private global::RecRoom.Protobuf.OverridableListStringData autoAssignedGameRoles_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.OverridableListStringData AutoAssignedGameRoles {
      get { return autoAssignedGameRoles_; }
      set {
        autoAssignedGameRoles_ = value;
      }
    }

    /// <summary>Field number for the "role_version" field.</summary>
    public const int RoleVersionFieldNumber = 20;
    private int roleVersion_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int RoleVersion {
      get { return roleVersion_; }
      set {
        roleVersion_ = value;
      }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(PlayerRoomRoleData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (DEPRECATEDRoleId != other.DEPRECATEDRoleId) return false;
      if (DEPRECATEDRoleRank != other.DEPRECATEDRoleRank) return false;
      if (DEPRECATEDIsRoleActive != other.DEPRECATEDIsRoleActive) return false;
      if (DEPRECATEDIsAgRole != other.DEPRECATEDIsAgRole) return false;
      if (RoleName != other.RoleName) return false;
      if (!object.Equals(Name, other.Name)) return false;
      if (!object.Equals(CanAssignRoles, other.CanAssignRoles)) return false;
      if (!object.Equals(VoteKickPermission, other.VoteKickPermission)) return false;
      if (!object.Equals(CanInvite, other.CanInvite)) return false;
      if (!object.Equals(DEPRECATEDCanEditCircuits, other.DEPRECATEDCanEditCircuits)) return false;
      if (!object.Equals(CanStartGames, other.CanStartGames)) return false;
      if (!object.Equals(CanTalk, other.CanTalk)) return false;
      if (!object.Equals(CanPrintPhotos, other.CanPrintPhotos)) return false;
      if (!object.Equals(CanEditRoomRoles, other.CanEditRoomRoles)) return false;
      if (!object.Equals(CanSelfRevive, other.CanSelfRevive)) return false;
      if (!object.Equals(CanEndGamesEarly, other.CanEndGamesEarly)) return false;
      if (!object.Equals(CanChangeGameMode, other.CanChangeGameMode)) return false;
      if (!object.Equals(CanUseMakerPen, other.CanUseMakerPen)) return false;
      if (!object.Equals(CanUseDeleteAllButton, other.CanUseDeleteAllButton)) return false;
      if (!object.Equals(CanSaveInventions, other.CanSaveInventions)) return false;
      if (!object.Equals(DisableMicAutoMute, other.DisableMicAutoMute)) return false;
      if (!object.Equals(CanUseShareCam, other.CanUseShareCam)) return false;
      if (!object.Equals(CanSpawnInventions, other.CanSpawnInventions)) return false;
      if (!object.Equals(CanSpawnConsumables, other.CanSpawnConsumables)) return false;
      if (!object.Equals(CanUseRoomResetButton, other.CanUseRoomResetButton)) return false;
      if (!object.Equals(CanUsePlayGizmosToggle, other.CanUsePlayGizmosToggle)) return false;
      if (IsModifiedByPlayer != other.IsModifiedByPlayer) return false;
      if (!object.Equals(AutoAssignedGameRoles, other.AutoAssignedGameRoles)) return false;
      if (RoleVersion != other.RoleVersion) return false;
      if (RoleGuid != other.RoleGuid) 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 (DEPRECATEDRoleId != 0) hash ^= DEPRECATEDRoleId.GetHashCode();
      if (DEPRECATEDRoleRank != 0) hash ^= DEPRECATEDRoleRank.GetHashCode();
      if (DEPRECATEDIsRoleActive != false) hash ^= DEPRECATEDIsRoleActive.GetHashCode();
      if (DEPRECATEDIsAgRole != false) hash ^= DEPRECATEDIsAgRole.GetHashCode();
      if (RoleName.Length != 0) hash ^= RoleName.GetHashCode();
      if (name_ != null) hash ^= Name.GetHashCode();
      if (canAssignRoles_ != null) hash ^= CanAssignRoles.GetHashCode();
      if (voteKickPermission_ != null) hash ^= VoteKickPermission.GetHashCode();
      if (canInvite_ != null) hash ^= CanInvite.GetHashCode();
      if (dEPRECATEDCanEditCircuits_ != null) hash ^= DEPRECATEDCanEditCircuits.GetHashCode();
      if (canStartGames_ != null) hash ^= CanStartGames.GetHashCode();
      if (canTalk_ != null) hash ^= CanTalk.GetHashCode();
      if (canPrintPhotos_ != null) hash ^= CanPrintPhotos.GetHashCode();
      if (canEditRoomRoles_ != null) hash ^= CanEditRoomRoles.GetHashCode();
      if (canSelfRevive_ != null) hash ^= CanSelfRevive.GetHashCode();
      if (canEndGamesEarly_ != null) hash ^= CanEndGamesEarly.GetHashCode();
      if (canChangeGameMode_ != null) hash ^= CanChangeGameMode.GetHashCode();
      if (canUseMakerPen_ != null) hash ^= CanUseMakerPen.GetHashCode();
      if (canUseDeleteAllButton_ != null) hash ^= CanUseDeleteAllButton.GetHashCode();
      if (canSaveInventions_ != null) hash ^= CanSaveInventions.GetHashCode();
      if (disableMicAutoMute_ != null) hash ^= DisableMicAutoMute.GetHashCode();
      if (canUseShareCam_ != null) hash ^= CanUseShareCam.GetHashCode();
      if (canSpawnInventions_ != null) hash ^= CanSpawnInventions.GetHashCode();
      if (canSpawnConsumables_ != null) hash ^= CanSpawnConsumables.GetHashCode();
      if (canUseRoomResetButton_ != null) hash ^= CanUseRoomResetButton.GetHashCode();
      if (canUsePlayGizmosToggle_ != null) hash ^= CanUsePlayGizmosToggle.GetHashCode();
      if (IsModifiedByPlayer != false) hash ^= IsModifiedByPlayer.GetHashCode();
      if (autoAssignedGameRoles_ != null) hash ^= AutoAssignedGameRoles.GetHashCode();
      if (RoleVersion != 0) hash ^= RoleVersion.GetHashCode();
      if (RoleGuid.Length != 0) hash ^= RoleGuid.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 (DEPRECATEDRoleId != 0) {
        output.WriteRawTag(8);
        output.WriteInt32(DEPRECATEDRoleId);
      }
      if (DEPRECATEDRoleRank != 0) {
        output.WriteRawTag(16);
        output.WriteInt32(DEPRECATEDRoleRank);
      }
      if (DEPRECATEDIsRoleActive != false) {
        output.WriteRawTag(24);
        output.WriteBool(DEPRECATEDIsRoleActive);
      }
      if (DEPRECATEDIsAgRole != false) {
        output.WriteRawTag(32);
        output.WriteBool(DEPRECATEDIsAgRole);
      }
      if (RoleName.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(RoleName);
      }
      if (name_ != null) {
        output.WriteRawTag(50);
        output.WriteMessage(Name);
      }
      if (canAssignRoles_ != null) {
        output.WriteRawTag(58);
        output.WriteMessage(CanAssignRoles);
      }
      if (voteKickPermission_ != null) {
        output.WriteRawTag(66);
        output.WriteMessage(VoteKickPermission);
      }
      if (canInvite_ != null) {
        output.WriteRawTag(74);
        output.WriteMessage(CanInvite);
      }
      if (dEPRECATEDCanEditCircuits_ != null) {
        output.WriteRawTag(82);
        output.WriteMessage(DEPRECATEDCanEditCircuits);
      }
      if (canStartGames_ != null) {
        output.WriteRawTag(90);
        output.WriteMessage(CanStartGames);
      }
      if (canTalk_ != null) {
        output.WriteRawTag(98);
        output.WriteMessage(CanTalk);
      }
      if (canPrintPhotos_ != null) {
        output.WriteRawTag(106);
        output.WriteMessage(CanPrintPhotos);
      }
      if (canEditRoomRoles_ != null) {
        output.WriteRawTag(114);
        output.WriteMessage(CanEditRoomRoles);
      }
      if (canSelfRevive_ != null) {
        output.WriteRawTag(130, 1);
        output.WriteMessage(CanSelfRevive);
      }
      if (canEndGamesEarly_ != null) {
        output.WriteRawTag(138, 1);
        output.WriteMessage(CanEndGamesEarly);
      }
      if (IsModifiedByPlayer != false) {
        output.WriteRawTag(144, 1);
        output.WriteBool(IsModifiedByPlayer);
      }
      if (autoAssignedGameRoles_ != null) {
        output.WriteRawTag(154, 1);
        output.WriteMessage(AutoAssignedGameRoles);
      }
      if (RoleVersion != 0) {
        output.WriteRawTag(160, 1);
        output.WriteInt32(RoleVersion);
      }
      if (canChangeGameMode_ != null) {
        output.WriteRawTag(170, 1);
        output.WriteMessage(CanChangeGameMode);
      }
      if (canUseMakerPen_ != null) {
        output.WriteRawTag(178, 1);
        output.WriteMessage(CanUseMakerPen);
      }
      if (canUseDeleteAllButton_ != null) {
        output.WriteRawTag(186, 1);
        output.WriteMessage(CanUseDeleteAllButton);
      }
      if (canSaveInventions_ != null) {
        output.WriteRawTag(194, 1);
        output.WriteMessage(CanSaveInventions);
      }
      if (disableMicAutoMute_ != null) {
        output.WriteRawTag(202, 1);
        output.WriteMessage(DisableMicAutoMute);
      }
      if (canUseShareCam_ != null) {
        output.WriteRawTag(210, 1);
        output.WriteMessage(CanUseShareCam);
      }
      if (RoleGuid.Length != 0) {
        output.WriteRawTag(218, 1);
        output.WriteString(RoleGuid);
      }
      if (canSpawnInventions_ != null) {
        output.WriteRawTag(226, 1);
        output.WriteMessage(CanSpawnInventions);
      }
      if (canSpawnConsumables_ != null) {
        output.WriteRawTag(234, 1);
        output.WriteMessage(CanSpawnConsumables);
      }
      if (canUseRoomResetButton_ != null) {
        output.WriteRawTag(242, 1);
        output.WriteMessage(CanUseRoomResetButton);
      }
      if (canUsePlayGizmosToggle_ != null) {
        output.WriteRawTag(250, 1);
        output.WriteMessage(CanUsePlayGizmosToggle);
      }
      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 (DEPRECATEDRoleId != 0) {
        output.WriteRawTag(8);
        output.WriteInt32(DEPRECATEDRoleId);
      }
      if (DEPRECATEDRoleRank != 0) {
        output.WriteRawTag(16);
        output.WriteInt32(DEPRECATEDRoleRank);
      }
      if (DEPRECATEDIsRoleActive != false) {
        output.WriteRawTag(24);
        output.WriteBool(DEPRECATEDIsRoleActive);
      }
      if (DEPRECATEDIsAgRole != false) {
        output.WriteRawTag(32);
        output.WriteBool(DEPRECATEDIsAgRole);
      }
      if (RoleName.Length != 0) {
        output.WriteRawTag(42);
        output.WriteString(RoleName);
      }
      if (name_ != null) {
        output.WriteRawTag(50);
        output.WriteMessage(Name);
      }
      if (canAssignRoles_ != null) {
        output.WriteRawTag(58);
        output.WriteMessage(CanAssignRoles);
      }
      if (voteKickPermission_ != null) {
        output.WriteRawTag(66);
        output.WriteMessage(VoteKickPermission);
      }
      if (canInvite_ != null) {
        output.WriteRawTag(74);
        output.WriteMessage(CanInvite);
      }
      if (dEPRECATEDCanEditCircuits_ != null) {
        output.WriteRawTag(82);
        output.WriteMessage(DEPRECATEDCanEditCircuits);
      }
      if (canStartGames_ != null) {
        output.WriteRawTag(90);
        output.WriteMessage(CanStartGames);
      }
      if (canTalk_ != null) {
        output.WriteRawTag(98);
        output.WriteMessage(CanTalk);
      }
      if (canPrintPhotos_ != null) {
        output.WriteRawTag(106);
        output.WriteMessage(CanPrintPhotos);
      }
      if (canEditRoomRoles_ != null) {
        output.WriteRawTag(114);
        output.WriteMessage(CanEditRoomRoles);
      }
      if (canSelfRevive_ != null) {
        output.WriteRawTag(130, 1);
        output.WriteMessage(CanSelfRevive);
      }
      if (canEndGamesEarly_ != null) {
        output.WriteRawTag(138, 1);
        output.WriteMessage(CanEndGamesEarly);
      }
      if (IsModifiedByPlayer != false) {
        output.WriteRawTag(144, 1);
        output.WriteBool(IsModifiedByPlayer);
      }
      if (autoAssignedGameRoles_ != null) {
        output.WriteRawTag(154, 1);
        output.WriteMessage(AutoAssignedGameRoles);
      }
      if (RoleVersion != 0) {
        output.WriteRawTag(160, 1);
        output.WriteInt32(RoleVersion);
      }
      if (canChangeGameMode_ != null) {
        output.WriteRawTag(170, 1);
        output.WriteMessage(CanChangeGameMode);
      }
      if (canUseMakerPen_ != null) {
        output.WriteRawTag(178, 1);
        output.WriteMessage(CanUseMakerPen);
      }
      if (canUseDeleteAllButton_ != null) {
        output.WriteRawTag(186, 1);
        output.WriteMessage(CanUseDeleteAllButton);
      }
      if (canSaveInventions_ != null) {
        output.WriteRawTag(194, 1);
        output.WriteMessage(CanSaveInventions);
      }
      if (disableMicAutoMute_ != null) {
        output.WriteRawTag(202, 1);
        output.WriteMessage(DisableMicAutoMute);
      }
      if (canUseShareCam_ != null) {
        output.WriteRawTag(210, 1);
        output.WriteMessage(CanUseShareCam);
      }
      if (RoleGuid.Length != 0) {
        output.WriteRawTag(218, 1);
        output.WriteString(RoleGuid);
      }
      if (canSpawnInventions_ != null) {
        output.WriteRawTag(226, 1);
        output.WriteMessage(CanSpawnInventions);
      }
      if (canSpawnConsumables_ != null) {
        output.WriteRawTag(234, 1);
        output.WriteMessage(CanSpawnConsumables);
      }
      if (canUseRoomResetButton_ != null) {
        output.WriteRawTag(242, 1);
        output.WriteMessage(CanUseRoomResetButton);
      }
      if (canUsePlayGizmosToggle_ != null) {
        output.WriteRawTag(250, 1);
        output.WriteMessage(CanUsePlayGizmosToggle);
      }
      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 (DEPRECATEDRoleId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDRoleId);
      }
      if (DEPRECATEDRoleRank != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDRoleRank);
      }
      if (DEPRECATEDIsRoleActive != false) {
        size += 1 + 1;
      }
      if (DEPRECATEDIsAgRole != false) {
        size += 1 + 1;
      }
      if (RoleName.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleName);
      }
      if (name_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Name);
      }
      if (canAssignRoles_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(CanAssignRoles);
      }
      if (voteKickPermission_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(VoteKickPermission);
      }
      if (canInvite_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(CanInvite);
      }
      if (dEPRECATEDCanEditCircuits_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDCanEditCircuits);
      }
      if (canStartGames_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(CanStartGames);
      }
      if (canTalk_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(CanTalk);
      }
      if (canPrintPhotos_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(CanPrintPhotos);
      }
      if (canEditRoomRoles_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(CanEditRoomRoles);
      }
      if (canSelfRevive_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(CanSelfRevive);
      }
      if (canEndGamesEarly_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(CanEndGamesEarly);
      }
      if (canChangeGameMode_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(CanChangeGameMode);
      }
      if (canUseMakerPen_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(CanUseMakerPen);
      }
      if (canUseDeleteAllButton_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(CanUseDeleteAllButton);
      }
      if (canSaveInventions_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(CanSaveInventions);
      }
      if (disableMicAutoMute_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(DisableMicAutoMute);
      }
      if (canUseShareCam_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(CanUseShareCam);
      }
      if (canSpawnInventions_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(CanSpawnInventions);
      }
      if (canSpawnConsumables_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(CanSpawnConsumables);
      }
      if (canUseRoomResetButton_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(CanUseRoomResetButton);
      }
      if (canUsePlayGizmosToggle_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(CanUsePlayGizmosToggle);
      }
      if (IsModifiedByPlayer != false) {
        size += 2 + 1;
      }
      if (autoAssignedGameRoles_ != null) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(AutoAssignedGameRoles);
      }
      if (RoleVersion != 0) {
        size += 2 + pb::CodedOutputStream.ComputeInt32Size(RoleVersion);
      }
      if (RoleGuid.Length != 0) {
        size += 2 + pb::CodedOutputStream.ComputeStringSize(RoleGuid);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(PlayerRoomRoleData other) {
      if (other == null) {
        return;
      }
      if (other.DEPRECATEDRoleId != 0) {
        DEPRECATEDRoleId = other.DEPRECATEDRoleId;
      }
      if (other.DEPRECATEDRoleRank != 0) {
        DEPRECATEDRoleRank = other.DEPRECATEDRoleRank;
      }
      if (other.DEPRECATEDIsRoleActive != false) {
        DEPRECATEDIsRoleActive = other.DEPRECATEDIsRoleActive;
      }
      if (other.DEPRECATEDIsAgRole != false) {
        DEPRECATEDIsAgRole = other.DEPRECATEDIsAgRole;
      }
      if (other.RoleName.Length != 0) {
        RoleName = other.RoleName;
      }
      if (other.name_ != null) {
        if (name_ == null) {
          Name = new global::RecRoom.Protobuf.OverridableStringData();
        }
        Name.MergeFrom(other.Name);
      }
      if (other.canAssignRoles_ != null) {
        if (canAssignRoles_ == null) {
          CanAssignRoles = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanAssignRoles.MergeFrom(other.CanAssignRoles);
      }
      if (other.voteKickPermission_ != null) {
        if (voteKickPermission_ == null) {
          VoteKickPermission = new global::RecRoom.Protobuf.OverridableIntData();
        }
        VoteKickPermission.MergeFrom(other.VoteKickPermission);
      }
      if (other.canInvite_ != null) {
        if (canInvite_ == null) {
          CanInvite = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanInvite.MergeFrom(other.CanInvite);
      }
      if (other.dEPRECATEDCanEditCircuits_ != null) {
        if (dEPRECATEDCanEditCircuits_ == null) {
          DEPRECATEDCanEditCircuits = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        DEPRECATEDCanEditCircuits.MergeFrom(other.DEPRECATEDCanEditCircuits);
      }
      if (other.canStartGames_ != null) {
        if (canStartGames_ == null) {
          CanStartGames = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanStartGames.MergeFrom(other.CanStartGames);
      }
      if (other.canTalk_ != null) {
        if (canTalk_ == null) {
          CanTalk = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanTalk.MergeFrom(other.CanTalk);
      }
      if (other.canPrintPhotos_ != null) {
        if (canPrintPhotos_ == null) {
          CanPrintPhotos = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanPrintPhotos.MergeFrom(other.CanPrintPhotos);
      }
      if (other.canEditRoomRoles_ != null) {
        if (canEditRoomRoles_ == null) {
          CanEditRoomRoles = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanEditRoomRoles.MergeFrom(other.CanEditRoomRoles);
      }
      if (other.canSelfRevive_ != null) {
        if (canSelfRevive_ == null) {
          CanSelfRevive = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanSelfRevive.MergeFrom(other.CanSelfRevive);
      }
      if (other.canEndGamesEarly_ != null) {
        if (canEndGamesEarly_ == null) {
          CanEndGamesEarly = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanEndGamesEarly.MergeFrom(other.CanEndGamesEarly);
      }
      if (other.canChangeGameMode_ != null) {
        if (canChangeGameMode_ == null) {
          CanChangeGameMode = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanChangeGameMode.MergeFrom(other.CanChangeGameMode);
      }
      if (other.canUseMakerPen_ != null) {
        if (canUseMakerPen_ == null) {
          CanUseMakerPen = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanUseMakerPen.MergeFrom(other.CanUseMakerPen);
      }
      if (other.canUseDeleteAllButton_ != null) {
        if (canUseDeleteAllButton_ == null) {
          CanUseDeleteAllButton = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanUseDeleteAllButton.MergeFrom(other.CanUseDeleteAllButton);
      }
      if (other.canSaveInventions_ != null) {
        if (canSaveInventions_ == null) {
          CanSaveInventions = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanSaveInventions.MergeFrom(other.CanSaveInventions);
      }
      if (other.disableMicAutoMute_ != null) {
        if (disableMicAutoMute_ == null) {
          DisableMicAutoMute = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        DisableMicAutoMute.MergeFrom(other.DisableMicAutoMute);
      }
      if (other.canUseShareCam_ != null) {
        if (canUseShareCam_ == null) {
          CanUseShareCam = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanUseShareCam.MergeFrom(other.CanUseShareCam);
      }
      if (other.canSpawnInventions_ != null) {
        if (canSpawnInventions_ == null) {
          CanSpawnInventions = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanSpawnInventions.MergeFrom(other.CanSpawnInventions);
      }
      if (other.canSpawnConsumables_ != null) {
        if (canSpawnConsumables_ == null) {
          CanSpawnConsumables = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanSpawnConsumables.MergeFrom(other.CanSpawnConsumables);
      }
      if (other.canUseRoomResetButton_ != null) {
        if (canUseRoomResetButton_ == null) {
          CanUseRoomResetButton = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanUseRoomResetButton.MergeFrom(other.CanUseRoomResetButton);
      }
      if (other.canUsePlayGizmosToggle_ != null) {
        if (canUsePlayGizmosToggle_ == null) {
          CanUsePlayGizmosToggle = new global::RecRoom.Protobuf.OverridableBoolData();
        }
        CanUsePlayGizmosToggle.MergeFrom(other.CanUsePlayGizmosToggle);
      }
      if (other.IsModifiedByPlayer != false) {
        IsModifiedByPlayer = other.IsModifiedByPlayer;
      }
      if (other.autoAssignedGameRoles_ != null) {
        if (autoAssignedGameRoles_ == null) {
          AutoAssignedGameRoles = new global::RecRoom.Protobuf.OverridableListStringData();
        }
        AutoAssignedGameRoles.MergeFrom(other.AutoAssignedGameRoles);
      }
      if (other.RoleVersion != 0) {
        RoleVersion = other.RoleVersion;
      }
      if (other.RoleGuid.Length != 0) {
        RoleGuid = other.RoleGuid;
      }
      _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: {
            DEPRECATEDRoleId = input.ReadInt32();
            break;
          }
          case 16: {
            DEPRECATEDRoleRank = input.ReadInt32();
            break;
          }
          case 24: {
            DEPRECATEDIsRoleActive = input.ReadBool();
            break;
          }
          case 32: {
            DEPRECATEDIsAgRole = input.ReadBool();
            break;
          }
          case 42: {
            RoleName = input.ReadString();
            break;
          }
          case 50: {
            if (name_ == null) {
              Name = new global::RecRoom.Protobuf.OverridableStringData();
            }
            input.ReadMessage(Name);
            break;
          }
          case 58: {
            if (canAssignRoles_ == null) {
              CanAssignRoles = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanAssignRoles);
            break;
          }
          case 66: {
            if (voteKickPermission_ == null) {
              VoteKickPermission = new global::RecRoom.Protobuf.OverridableIntData();
            }
            input.ReadMessage(VoteKickPermission);
            break;
          }
          case 74: {
            if (canInvite_ == null) {
              CanInvite = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanInvite);
            break;
          }
          case 82: {
            if (dEPRECATEDCanEditCircuits_ == null) {
              DEPRECATEDCanEditCircuits = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(DEPRECATEDCanEditCircuits);
            break;
          }
          case 90: {
            if (canStartGames_ == null) {
              CanStartGames = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanStartGames);
            break;
          }
          case 98: {
            if (canTalk_ == null) {
              CanTalk = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanTalk);
            break;
          }
          case 106: {
            if (canPrintPhotos_ == null) {
              CanPrintPhotos = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanPrintPhotos);
            break;
          }
          case 114: {
            if (canEditRoomRoles_ == null) {
              CanEditRoomRoles = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanEditRoomRoles);
            break;
          }
          case 130: {
            if (canSelfRevive_ == null) {
              CanSelfRevive = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanSelfRevive);
            break;
          }
          case 138: {
            if (canEndGamesEarly_ == null) {
              CanEndGamesEarly = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanEndGamesEarly);
            break;
          }
          case 144: {
            IsModifiedByPlayer = input.ReadBool();
            break;
          }
          case 154: {
            if (autoAssignedGameRoles_ == null) {
              AutoAssignedGameRoles = new global::RecRoom.Protobuf.OverridableListStringData();
            }
            input.ReadMessage(AutoAssignedGameRoles);
            break;
          }
          case 160: {
            RoleVersion = input.ReadInt32();
            break;
          }
          case 170: {
            if (canChangeGameMode_ == null) {
              CanChangeGameMode = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanChangeGameMode);
            break;
          }
          case 178: {
            if (canUseMakerPen_ == null) {
              CanUseMakerPen = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanUseMakerPen);
            break;
          }
          case 186: {
            if (canUseDeleteAllButton_ == null) {
              CanUseDeleteAllButton = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanUseDeleteAllButton);
            break;
          }
          case 194: {
            if (canSaveInventions_ == null) {
              CanSaveInventions = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanSaveInventions);
            break;
          }
          case 202: {
            if (disableMicAutoMute_ == null) {
              DisableMicAutoMute = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(DisableMicAutoMute);
            break;
          }
          case 210: {
            if (canUseShareCam_ == null) {
              CanUseShareCam = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanUseShareCam);
            break;
          }
          case 218: {
            RoleGuid = input.ReadString();
            break;
          }
          case 226: {
            if (canSpawnInventions_ == null) {
              CanSpawnInventions = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanSpawnInventions);
            break;
          }
          case 234: {
            if (canSpawnConsumables_ == null) {
              CanSpawnConsumables = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanSpawnConsumables);
            break;
          }
          case 242: {
            if (canUseRoomResetButton_ == null) {
              CanUseRoomResetButton = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanUseRoomResetButton);
            break;
          }
          case 250: {
            if (canUsePlayGizmosToggle_ == null) {
              CanUsePlayGizmosToggle = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanUsePlayGizmosToggle);
            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: {
            DEPRECATEDRoleId = input.ReadInt32();
            break;
          }
          case 16: {
            DEPRECATEDRoleRank = input.ReadInt32();
            break;
          }
          case 24: {
            DEPRECATEDIsRoleActive = input.ReadBool();
            break;
          }
          case 32: {
            DEPRECATEDIsAgRole = input.ReadBool();
            break;
          }
          case 42: {
            RoleName = input.ReadString();
            break;
          }
          case 50: {
            if (name_ == null) {
              Name = new global::RecRoom.Protobuf.OverridableStringData();
            }
            input.ReadMessage(Name);
            break;
          }
          case 58: {
            if (canAssignRoles_ == null) {
              CanAssignRoles = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanAssignRoles);
            break;
          }
          case 66: {
            if (voteKickPermission_ == null) {
              VoteKickPermission = new global::RecRoom.Protobuf.OverridableIntData();
            }
            input.ReadMessage(VoteKickPermission);
            break;
          }
          case 74: {
            if (canInvite_ == null) {
              CanInvite = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanInvite);
            break;
          }
          case 82: {
            if (dEPRECATEDCanEditCircuits_ == null) {
              DEPRECATEDCanEditCircuits = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(DEPRECATEDCanEditCircuits);
            break;
          }
          case 90: {
            if (canStartGames_ == null) {
              CanStartGames = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanStartGames);
            break;
          }
          case 98: {
            if (canTalk_ == null) {
              CanTalk = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanTalk);
            break;
          }
          case 106: {
            if (canPrintPhotos_ == null) {
              CanPrintPhotos = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanPrintPhotos);
            break;
          }
          case 114: {
            if (canEditRoomRoles_ == null) {
              CanEditRoomRoles = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanEditRoomRoles);
            break;
          }
          case 130: {
            if (canSelfRevive_ == null) {
              CanSelfRevive = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanSelfRevive);
            break;
          }
          case 138: {
            if (canEndGamesEarly_ == null) {
              CanEndGamesEarly = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanEndGamesEarly);
            break;
          }
          case 144: {
            IsModifiedByPlayer = input.ReadBool();
            break;
          }
          case 154: {
            if (autoAssignedGameRoles_ == null) {
              AutoAssignedGameRoles = new global::RecRoom.Protobuf.OverridableListStringData();
            }
            input.ReadMessage(AutoAssignedGameRoles);
            break;
          }
          case 160: {
            RoleVersion = input.ReadInt32();
            break;
          }
          case 170: {
            if (canChangeGameMode_ == null) {
              CanChangeGameMode = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanChangeGameMode);
            break;
          }
          case 178: {
            if (canUseMakerPen_ == null) {
              CanUseMakerPen = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanUseMakerPen);
            break;
          }
          case 186: {
            if (canUseDeleteAllButton_ == null) {
              CanUseDeleteAllButton = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanUseDeleteAllButton);
            break;
          }
          case 194: {
            if (canSaveInventions_ == null) {
              CanSaveInventions = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanSaveInventions);
            break;
          }
          case 202: {
            if (disableMicAutoMute_ == null) {
              DisableMicAutoMute = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(DisableMicAutoMute);
            break;
          }
          case 210: {
            if (canUseShareCam_ == null) {
              CanUseShareCam = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanUseShareCam);
            break;
          }
          case 218: {
            RoleGuid = input.ReadString();
            break;
          }
          case 226: {
            if (canSpawnInventions_ == null) {
              CanSpawnInventions = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanSpawnInventions);
            break;
          }
          case 234: {
            if (canSpawnConsumables_ == null) {
              CanSpawnConsumables = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanSpawnConsumables);
            break;
          }
          case 242: {
            if (canUseRoomResetButton_ == null) {
              CanUseRoomResetButton = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanUseRoomResetButton);
            break;
          }
          case 250: {
            if (canUsePlayGizmosToggle_ == null) {
              CanUsePlayGizmosToggle = new global::RecRoom.Protobuf.OverridableBoolData();
            }
            input.ReadMessage(CanUsePlayGizmosToggle);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
