// This is a generated file - do not edit.
//
// Generated from bilibili/im/interfaces/v1.proto.

// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports

import 'dart:core' as $core;

import 'package:fixnum/fixnum.dart' as $fixnum;
import 'package:protobuf/protobuf.dart' as $pb;

import '../type.pb.dart' as $1;
import 'v1.pbenum.dart';

export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;

export 'v1.pbenum.dart';

class DummyReq extends $pb.GeneratedMessage {
  factory DummyReq({
    $core.int? idl,
  }) {
    final result = create();
    if (idl != null) result.idl = idl;
    return result;
  }

  DummyReq._();

  factory DummyReq.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory DummyReq.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'DummyReq',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aI(1, _omitFieldNames ? '' : 'idl')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  DummyReq clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  DummyReq copyWith(void Function(DummyReq) updates) =>
      super.copyWith((message) => updates(message as DummyReq)) as DummyReq;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static DummyReq create() => DummyReq._();
  @$core.override
  DummyReq createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static DummyReq getDefault() =>
      _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DummyReq>(create);
  static DummyReq? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get idl => $_getIZ(0);
  @$pb.TagNumber(1)
  set idl($core.int value) => $_setSignedInt32(0, value);
  @$pb.TagNumber(1)
  $core.bool hasIdl() => $_has(0);
  @$pb.TagNumber(1)
  void clearIdl() => $_clearField(1);
}

class DummyRsp extends $pb.GeneratedMessage {
  factory DummyRsp() => create();

  DummyRsp._();

  factory DummyRsp.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory DummyRsp.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'DummyRsp',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  DummyRsp clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  DummyRsp copyWith(void Function(DummyRsp) updates) =>
      super.copyWith((message) => updates(message as DummyRsp)) as DummyRsp;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static DummyRsp create() => DummyRsp._();
  @$core.override
  DummyRsp createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static DummyRsp getDefault() =>
      _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DummyRsp>(create);
  static DummyRsp? _defaultInstance;
}

class EmotionInfo extends $pb.GeneratedMessage {
  factory EmotionInfo({
    $core.String? text,
    $core.String? url,
    $core.int? size,
    $core.String? gifUrl,
  }) {
    final result = create();
    if (text != null) result.text = text;
    if (url != null) result.url = url;
    if (size != null) result.size = size;
    if (gifUrl != null) result.gifUrl = gifUrl;
    return result;
  }

  EmotionInfo._();

  factory EmotionInfo.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory EmotionInfo.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'EmotionInfo',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'text')
    ..aOS(2, _omitFieldNames ? '' : 'url')
    ..aI(3, _omitFieldNames ? '' : 'size')
    ..aOS(4, _omitFieldNames ? '' : 'gifUrl')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  EmotionInfo clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  EmotionInfo copyWith(void Function(EmotionInfo) updates) =>
      super.copyWith((message) => updates(message as EmotionInfo))
          as EmotionInfo;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static EmotionInfo create() => EmotionInfo._();
  @$core.override
  EmotionInfo createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static EmotionInfo getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<EmotionInfo>(create);
  static EmotionInfo? _defaultInstance;

  @$pb.TagNumber(1)
  $core.String get text => $_getSZ(0);
  @$pb.TagNumber(1)
  set text($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasText() => $_has(0);
  @$pb.TagNumber(1)
  void clearText() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get url => $_getSZ(1);
  @$pb.TagNumber(2)
  set url($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasUrl() => $_has(1);
  @$pb.TagNumber(2)
  void clearUrl() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.int get size => $_getIZ(2);
  @$pb.TagNumber(3)
  set size($core.int value) => $_setSignedInt32(2, value);
  @$pb.TagNumber(3)
  $core.bool hasSize() => $_has(2);
  @$pb.TagNumber(3)
  void clearSize() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.String get gifUrl => $_getSZ(3);
  @$pb.TagNumber(4)
  set gifUrl($core.String value) => $_setString(3, value);
  @$pb.TagNumber(4)
  $core.bool hasGifUrl() => $_has(3);
  @$pb.TagNumber(4)
  void clearGifUrl() => $_clearField(4);
}

class GetUserCosmoStateReq extends $pb.GeneratedMessage {
  factory GetUserCosmoStateReq({
    $core.String? business,
    $fixnum.Int64? cardSendMid,
  }) {
    final result = create();
    if (business != null) result.business = business;
    if (cardSendMid != null) result.cardSendMid = cardSendMid;
    return result;
  }

  GetUserCosmoStateReq._();

  factory GetUserCosmoStateReq.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory GetUserCosmoStateReq.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'GetUserCosmoStateReq',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'business')
    ..aInt64(2, _omitFieldNames ? '' : 'cardSendMid')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetUserCosmoStateReq clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetUserCosmoStateReq copyWith(void Function(GetUserCosmoStateReq) updates) =>
      super.copyWith((message) => updates(message as GetUserCosmoStateReq))
          as GetUserCosmoStateReq;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static GetUserCosmoStateReq create() => GetUserCosmoStateReq._();
  @$core.override
  GetUserCosmoStateReq createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static GetUserCosmoStateReq getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<GetUserCosmoStateReq>(create);
  static GetUserCosmoStateReq? _defaultInstance;

  @$pb.TagNumber(1)
  $core.String get business => $_getSZ(0);
  @$pb.TagNumber(1)
  set business($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasBusiness() => $_has(0);
  @$pb.TagNumber(1)
  void clearBusiness() => $_clearField(1);

  @$pb.TagNumber(2)
  $fixnum.Int64 get cardSendMid => $_getI64(1);
  @$pb.TagNumber(2)
  set cardSendMid($fixnum.Int64 value) => $_setInt64(1, value);
  @$pb.TagNumber(2)
  $core.bool hasCardSendMid() => $_has(1);
  @$pb.TagNumber(2)
  void clearCardSendMid() => $_clearField(2);
}

class GetUserCosmoStateRsp extends $pb.GeneratedMessage {
  factory GetUserCosmoStateRsp({
    $core.String? business,
    $fixnum.Int64? cardSendMid,
    $core.int? cosmoState,
    $core.int? opType,
    $core.String? text,
  }) {
    final result = create();
    if (business != null) result.business = business;
    if (cardSendMid != null) result.cardSendMid = cardSendMid;
    if (cosmoState != null) result.cosmoState = cosmoState;
    if (opType != null) result.opType = opType;
    if (text != null) result.text = text;
    return result;
  }

  GetUserCosmoStateRsp._();

  factory GetUserCosmoStateRsp.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory GetUserCosmoStateRsp.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'GetUserCosmoStateRsp',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'business')
    ..aInt64(2, _omitFieldNames ? '' : 'cardSendMid')
    ..aI(3, _omitFieldNames ? '' : 'cosmoState')
    ..aI(4, _omitFieldNames ? '' : 'opType')
    ..aOS(5, _omitFieldNames ? '' : 'text')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetUserCosmoStateRsp clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetUserCosmoStateRsp copyWith(void Function(GetUserCosmoStateRsp) updates) =>
      super.copyWith((message) => updates(message as GetUserCosmoStateRsp))
          as GetUserCosmoStateRsp;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static GetUserCosmoStateRsp create() => GetUserCosmoStateRsp._();
  @$core.override
  GetUserCosmoStateRsp createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static GetUserCosmoStateRsp getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<GetUserCosmoStateRsp>(create);
  static GetUserCosmoStateRsp? _defaultInstance;

  @$pb.TagNumber(1)
  $core.String get business => $_getSZ(0);
  @$pb.TagNumber(1)
  set business($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasBusiness() => $_has(0);
  @$pb.TagNumber(1)
  void clearBusiness() => $_clearField(1);

  @$pb.TagNumber(2)
  $fixnum.Int64 get cardSendMid => $_getI64(1);
  @$pb.TagNumber(2)
  set cardSendMid($fixnum.Int64 value) => $_setInt64(1, value);
  @$pb.TagNumber(2)
  $core.bool hasCardSendMid() => $_has(1);
  @$pb.TagNumber(2)
  void clearCardSendMid() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.int get cosmoState => $_getIZ(2);
  @$pb.TagNumber(3)
  set cosmoState($core.int value) => $_setSignedInt32(2, value);
  @$pb.TagNumber(3)
  $core.bool hasCosmoState() => $_has(2);
  @$pb.TagNumber(3)
  void clearCosmoState() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.int get opType => $_getIZ(3);
  @$pb.TagNumber(4)
  set opType($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasOpType() => $_has(3);
  @$pb.TagNumber(4)
  void clearOpType() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.String get text => $_getSZ(4);
  @$pb.TagNumber(5)
  set text($core.String value) => $_setString(4, value);
  @$pb.TagNumber(5)
  $core.bool hasText() => $_has(4);
  @$pb.TagNumber(5)
  void clearText() => $_clearField(5);
}

class HasLikeState extends $pb.GeneratedMessage {
  factory HasLikeState({
    MSG_LIKE_STATE? state,
  }) {
    final result = create();
    if (state != null) result.state = state;
    return result;
  }

  HasLikeState._();

  factory HasLikeState.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory HasLikeState.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'HasLikeState',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aE<MSG_LIKE_STATE>(1, _omitFieldNames ? '' : 'state',
        enumValues: MSG_LIKE_STATE.values)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  HasLikeState clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  HasLikeState copyWith(void Function(HasLikeState) updates) =>
      super.copyWith((message) => updates(message as HasLikeState))
          as HasLikeState;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static HasLikeState create() => HasLikeState._();
  @$core.override
  HasLikeState createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static HasLikeState getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<HasLikeState>(create);
  static HasLikeState? _defaultInstance;

  @$pb.TagNumber(1)
  MSG_LIKE_STATE get state => $_getN(0);
  @$pb.TagNumber(1)
  set state(MSG_LIKE_STATE value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasState() => $_has(0);
  @$pb.TagNumber(1)
  void clearState() => $_clearField(1);
}

class MsgDetail extends $pb.GeneratedMessage {
  factory MsgDetail({
    $fixnum.Int64? msgKey,
    $fixnum.Int64? seqno,
  }) {
    final result = create();
    if (msgKey != null) result.msgKey = msgKey;
    if (seqno != null) result.seqno = seqno;
    return result;
  }

  MsgDetail._();

  factory MsgDetail.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory MsgDetail.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'MsgDetail',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'msgKey')
    ..aInt64(2, _omitFieldNames ? '' : 'seqno')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MsgDetail clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MsgDetail copyWith(void Function(MsgDetail) updates) =>
      super.copyWith((message) => updates(message as MsgDetail)) as MsgDetail;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static MsgDetail create() => MsgDetail._();
  @$core.override
  MsgDetail createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static MsgDetail getDefault() =>
      _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MsgDetail>(create);
  static MsgDetail? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get msgKey => $_getI64(0);
  @$pb.TagNumber(1)
  set msgKey($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasMsgKey() => $_has(0);
  @$pb.TagNumber(1)
  void clearMsgKey() => $_clearField(1);

  @$pb.TagNumber(2)
  $fixnum.Int64 get seqno => $_getI64(1);
  @$pb.TagNumber(2)
  set seqno($fixnum.Int64 value) => $_setInt64(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSeqno() => $_has(1);
  @$pb.TagNumber(2)
  void clearSeqno() => $_clearField(2);
}

class MsgFeedUnreadRsp extends $pb.GeneratedMessage {
  factory MsgFeedUnreadRsp({
    $core.Iterable<$core.MapEntry<$core.String, $fixnum.Int64>>? unread,
  }) {
    final result = create();
    if (unread != null) result.unread.addEntries(unread);
    return result;
  }

  MsgFeedUnreadRsp._();

  factory MsgFeedUnreadRsp.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory MsgFeedUnreadRsp.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'MsgFeedUnreadRsp',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..m<$core.String, $fixnum.Int64>(1, _omitFieldNames ? '' : 'unread',
        entryClassName: 'MsgFeedUnreadRsp.UnreadEntry',
        keyFieldType: $pb.PbFieldType.OS,
        valueFieldType: $pb.PbFieldType.O6,
        packageName: const $pb.PackageName('bilibili.im.interfaces.v1'))
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MsgFeedUnreadRsp clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MsgFeedUnreadRsp copyWith(void Function(MsgFeedUnreadRsp) updates) =>
      super.copyWith((message) => updates(message as MsgFeedUnreadRsp))
          as MsgFeedUnreadRsp;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static MsgFeedUnreadRsp create() => MsgFeedUnreadRsp._();
  @$core.override
  MsgFeedUnreadRsp createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static MsgFeedUnreadRsp getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<MsgFeedUnreadRsp>(create);
  static MsgFeedUnreadRsp? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbMap<$core.String, $fixnum.Int64> get unread => $_getMap(0);
}

class NewTotalUnread extends $pb.GeneratedMessage {
  factory NewTotalUnread({
    $core.int? unreadCount,
    $core.int? unreadType,
  }) {
    final result = create();
    if (unreadCount != null) result.unreadCount = unreadCount;
    if (unreadType != null) result.unreadType = unreadType;
    return result;
  }

  NewTotalUnread._();

  factory NewTotalUnread.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory NewTotalUnread.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'NewTotalUnread',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aI(1, _omitFieldNames ? '' : 'unreadCount')
    ..aI(2, _omitFieldNames ? '' : 'unreadType')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  NewTotalUnread clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  NewTotalUnread copyWith(void Function(NewTotalUnread) updates) =>
      super.copyWith((message) => updates(message as NewTotalUnread))
          as NewTotalUnread;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static NewTotalUnread create() => NewTotalUnread._();
  @$core.override
  NewTotalUnread createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static NewTotalUnread getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<NewTotalUnread>(create);
  static NewTotalUnread? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get unreadCount => $_getIZ(0);
  @$pb.TagNumber(1)
  set unreadCount($core.int value) => $_setSignedInt32(0, value);
  @$pb.TagNumber(1)
  $core.bool hasUnreadCount() => $_has(0);
  @$pb.TagNumber(1)
  void clearUnreadCount() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get unreadType => $_getIZ(1);
  @$pb.TagNumber(2)
  set unreadType($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasUnreadType() => $_has(1);
  @$pb.TagNumber(2)
  void clearUnreadType() => $_clearField(2);
}

class ReqAckAssisMsg extends $pb.GeneratedMessage {
  factory ReqAckAssisMsg({
    $fixnum.Int64? ackSeqno,
  }) {
    final result = create();
    if (ackSeqno != null) result.ackSeqno = ackSeqno;
    return result;
  }

  ReqAckAssisMsg._();

  factory ReqAckAssisMsg.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqAckAssisMsg.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqAckAssisMsg',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'ackSeqno')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqAckAssisMsg clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqAckAssisMsg copyWith(void Function(ReqAckAssisMsg) updates) =>
      super.copyWith((message) => updates(message as ReqAckAssisMsg))
          as ReqAckAssisMsg;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqAckAssisMsg create() => ReqAckAssisMsg._();
  @$core.override
  ReqAckAssisMsg createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqAckAssisMsg getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqAckAssisMsg>(create);
  static ReqAckAssisMsg? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get ackSeqno => $_getI64(0);
  @$pb.TagNumber(1)
  set ackSeqno($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasAckSeqno() => $_has(0);
  @$pb.TagNumber(1)
  void clearAckSeqno() => $_clearField(1);
}

class ReqAckSessions extends $pb.GeneratedMessage {
  factory ReqAckSessions({
    $fixnum.Int64? beginTs,
    $core.int? endTs,
    $core.int? size,
  }) {
    final result = create();
    if (beginTs != null) result.beginTs = beginTs;
    if (endTs != null) result.endTs = endTs;
    if (size != null) result.size = size;
    return result;
  }

  ReqAckSessions._();

  factory ReqAckSessions.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqAckSessions.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqAckSessions',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'beginTs')
    ..aI(2, _omitFieldNames ? '' : 'endTs')
    ..aI(3, _omitFieldNames ? '' : 'size')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqAckSessions clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqAckSessions copyWith(void Function(ReqAckSessions) updates) =>
      super.copyWith((message) => updates(message as ReqAckSessions))
          as ReqAckSessions;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqAckSessions create() => ReqAckSessions._();
  @$core.override
  ReqAckSessions createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqAckSessions getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqAckSessions>(create);
  static ReqAckSessions? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get beginTs => $_getI64(0);
  @$pb.TagNumber(1)
  set beginTs($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasBeginTs() => $_has(0);
  @$pb.TagNumber(1)
  void clearBeginTs() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get endTs => $_getIZ(1);
  @$pb.TagNumber(2)
  set endTs($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasEndTs() => $_has(1);
  @$pb.TagNumber(2)
  void clearEndTs() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.int get size => $_getIZ(2);
  @$pb.TagNumber(3)
  set size($core.int value) => $_setSignedInt32(2, value);
  @$pb.TagNumber(3)
  $core.bool hasSize() => $_has(2);
  @$pb.TagNumber(3)
  void clearSize() => $_clearField(3);
}

class ReqBatRmSess extends $pb.GeneratedMessage {
  factory ReqBatRmSess() => create();

  ReqBatRmSess._();

  factory ReqBatRmSess.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqBatRmSess.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqBatRmSess',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqBatRmSess clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqBatRmSess copyWith(void Function(ReqBatRmSess) updates) =>
      super.copyWith((message) => updates(message as ReqBatRmSess))
          as ReqBatRmSess;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqBatRmSess create() => ReqBatRmSess._();
  @$core.override
  ReqBatRmSess createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqBatRmSess getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqBatRmSess>(create);
  static ReqBatRmSess? _defaultInstance;
}

class ReqCloseClearUnreadUI extends $pb.GeneratedMessage {
  factory ReqCloseClearUnreadUI() => create();

  ReqCloseClearUnreadUI._();

  factory ReqCloseClearUnreadUI.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqCloseClearUnreadUI.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqCloseClearUnreadUI',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqCloseClearUnreadUI clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqCloseClearUnreadUI copyWith(
          void Function(ReqCloseClearUnreadUI) updates) =>
      super.copyWith((message) => updates(message as ReqCloseClearUnreadUI))
          as ReqCloseClearUnreadUI;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqCloseClearUnreadUI create() => ReqCloseClearUnreadUI._();
  @$core.override
  ReqCloseClearUnreadUI createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqCloseClearUnreadUI getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqCloseClearUnreadUI>(create);
  static ReqCloseClearUnreadUI? _defaultInstance;
}

class ReqGetDiscussListInImPage extends $pb.GeneratedMessage {
  factory ReqGetDiscussListInImPage() => create();

  ReqGetDiscussListInImPage._();

  factory ReqGetDiscussListInImPage.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqGetDiscussListInImPage.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqGetDiscussListInImPage',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqGetDiscussListInImPage clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqGetDiscussListInImPage copyWith(
          void Function(ReqGetDiscussListInImPage) updates) =>
      super.copyWith((message) => updates(message as ReqGetDiscussListInImPage))
          as ReqGetDiscussListInImPage;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqGetDiscussListInImPage create() => ReqGetDiscussListInImPage._();
  @$core.override
  ReqGetDiscussListInImPage createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqGetDiscussListInImPage getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqGetDiscussListInImPage>(create);
  static ReqGetDiscussListInImPage? _defaultInstance;
}

class ReqGetMsg extends $pb.GeneratedMessage {
  factory ReqGetMsg({
    $fixnum.Int64? talkerId,
    $core.int? sessionType,
    $core.Iterable<MsgDetail>? msgDetail,
  }) {
    final result = create();
    if (talkerId != null) result.talkerId = talkerId;
    if (sessionType != null) result.sessionType = sessionType;
    if (msgDetail != null) result.msgDetail.addAll(msgDetail);
    return result;
  }

  ReqGetMsg._();

  factory ReqGetMsg.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqGetMsg.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqGetMsg',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'talkerId')
    ..aI(2, _omitFieldNames ? '' : 'sessionType')
    ..pPM<MsgDetail>(3, _omitFieldNames ? '' : 'msgDetail',
        subBuilder: MsgDetail.create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqGetMsg clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqGetMsg copyWith(void Function(ReqGetMsg) updates) =>
      super.copyWith((message) => updates(message as ReqGetMsg)) as ReqGetMsg;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqGetMsg create() => ReqGetMsg._();
  @$core.override
  ReqGetMsg createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqGetMsg getDefault() =>
      _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ReqGetMsg>(create);
  static ReqGetMsg? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get talkerId => $_getI64(0);
  @$pb.TagNumber(1)
  set talkerId($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasTalkerId() => $_has(0);
  @$pb.TagNumber(1)
  void clearTalkerId() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get sessionType => $_getIZ(1);
  @$pb.TagNumber(2)
  set sessionType($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSessionType() => $_has(1);
  @$pb.TagNumber(2)
  void clearSessionType() => $_clearField(2);

  @$pb.TagNumber(3)
  $pb.PbList<MsgDetail> get msgDetail => $_getList(2);
}

class ReqGetSessions extends $pb.GeneratedMessage {
  factory ReqGetSessions({
    $fixnum.Int64? beginTs,
    $fixnum.Int64? endTs,
    $core.int? size,
    $core.int? sessionType,
    $core.int? unfollowFold,
    $core.int? groupFold,
    $core.int? sortRule,
    $core.int? teenagerMode,
    $core.int? lessonsMode,
    $core.Iterable<$core.int>? sids,
    $fixnum.Int64? aiUid,
  }) {
    final result = create();
    if (beginTs != null) result.beginTs = beginTs;
    if (endTs != null) result.endTs = endTs;
    if (size != null) result.size = size;
    if (sessionType != null) result.sessionType = sessionType;
    if (unfollowFold != null) result.unfollowFold = unfollowFold;
    if (groupFold != null) result.groupFold = groupFold;
    if (sortRule != null) result.sortRule = sortRule;
    if (teenagerMode != null) result.teenagerMode = teenagerMode;
    if (lessonsMode != null) result.lessonsMode = lessonsMode;
    if (sids != null) result.sids.addAll(sids);
    if (aiUid != null) result.aiUid = aiUid;
    return result;
  }

  ReqGetSessions._();

  factory ReqGetSessions.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqGetSessions.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqGetSessions',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'beginTs')
    ..aInt64(2, _omitFieldNames ? '' : 'endTs')
    ..aI(3, _omitFieldNames ? '' : 'size')
    ..aI(4, _omitFieldNames ? '' : 'sessionType')
    ..aI(5, _omitFieldNames ? '' : 'unfollowFold')
    ..aI(6, _omitFieldNames ? '' : 'groupFold')
    ..aI(7, _omitFieldNames ? '' : 'sortRule')
    ..aI(8, _omitFieldNames ? '' : 'teenagerMode')
    ..aI(9, _omitFieldNames ? '' : 'lessonsMode')
    ..p<$core.int>(10, _omitFieldNames ? '' : 'sids', $pb.PbFieldType.K3)
    ..aInt64(11, _omitFieldNames ? '' : 'aiUid')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqGetSessions clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqGetSessions copyWith(void Function(ReqGetSessions) updates) =>
      super.copyWith((message) => updates(message as ReqGetSessions))
          as ReqGetSessions;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqGetSessions create() => ReqGetSessions._();
  @$core.override
  ReqGetSessions createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqGetSessions getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqGetSessions>(create);
  static ReqGetSessions? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get beginTs => $_getI64(0);
  @$pb.TagNumber(1)
  set beginTs($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasBeginTs() => $_has(0);
  @$pb.TagNumber(1)
  void clearBeginTs() => $_clearField(1);

  @$pb.TagNumber(2)
  $fixnum.Int64 get endTs => $_getI64(1);
  @$pb.TagNumber(2)
  set endTs($fixnum.Int64 value) => $_setInt64(1, value);
  @$pb.TagNumber(2)
  $core.bool hasEndTs() => $_has(1);
  @$pb.TagNumber(2)
  void clearEndTs() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.int get size => $_getIZ(2);
  @$pb.TagNumber(3)
  set size($core.int value) => $_setSignedInt32(2, value);
  @$pb.TagNumber(3)
  $core.bool hasSize() => $_has(2);
  @$pb.TagNumber(3)
  void clearSize() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.int get sessionType => $_getIZ(3);
  @$pb.TagNumber(4)
  set sessionType($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasSessionType() => $_has(3);
  @$pb.TagNumber(4)
  void clearSessionType() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.int get unfollowFold => $_getIZ(4);
  @$pb.TagNumber(5)
  set unfollowFold($core.int value) => $_setSignedInt32(4, value);
  @$pb.TagNumber(5)
  $core.bool hasUnfollowFold() => $_has(4);
  @$pb.TagNumber(5)
  void clearUnfollowFold() => $_clearField(5);

  @$pb.TagNumber(6)
  $core.int get groupFold => $_getIZ(5);
  @$pb.TagNumber(6)
  set groupFold($core.int value) => $_setSignedInt32(5, value);
  @$pb.TagNumber(6)
  $core.bool hasGroupFold() => $_has(5);
  @$pb.TagNumber(6)
  void clearGroupFold() => $_clearField(6);

  @$pb.TagNumber(7)
  $core.int get sortRule => $_getIZ(6);
  @$pb.TagNumber(7)
  set sortRule($core.int value) => $_setSignedInt32(6, value);
  @$pb.TagNumber(7)
  $core.bool hasSortRule() => $_has(6);
  @$pb.TagNumber(7)
  void clearSortRule() => $_clearField(7);

  @$pb.TagNumber(8)
  $core.int get teenagerMode => $_getIZ(7);
  @$pb.TagNumber(8)
  set teenagerMode($core.int value) => $_setSignedInt32(7, value);
  @$pb.TagNumber(8)
  $core.bool hasTeenagerMode() => $_has(7);
  @$pb.TagNumber(8)
  void clearTeenagerMode() => $_clearField(8);

  @$pb.TagNumber(9)
  $core.int get lessonsMode => $_getIZ(8);
  @$pb.TagNumber(9)
  set lessonsMode($core.int value) => $_setSignedInt32(8, value);
  @$pb.TagNumber(9)
  $core.bool hasLessonsMode() => $_has(8);
  @$pb.TagNumber(9)
  void clearLessonsMode() => $_clearField(9);

  @$pb.TagNumber(10)
  $pb.PbList<$core.int> get sids => $_getList(9);

  @$pb.TagNumber(11)
  $fixnum.Int64 get aiUid => $_getI64(10);
  @$pb.TagNumber(11)
  set aiUid($fixnum.Int64 value) => $_setInt64(10, value);
  @$pb.TagNumber(11)
  $core.bool hasAiUid() => $_has(10);
  @$pb.TagNumber(11)
  void clearAiUid() => $_clearField(11);
}

class ReqGetSpecificSessions extends $pb.GeneratedMessage {
  factory ReqGetSpecificSessions({
    $core.Iterable<SimpleSession>? talkerSessions,
  }) {
    final result = create();
    if (talkerSessions != null) result.talkerSessions.addAll(talkerSessions);
    return result;
  }

  ReqGetSpecificSessions._();

  factory ReqGetSpecificSessions.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqGetSpecificSessions.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqGetSpecificSessions',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..pPM<SimpleSession>(1, _omitFieldNames ? '' : 'talkerSessions',
        subBuilder: SimpleSession.create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqGetSpecificSessions clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqGetSpecificSessions copyWith(
          void Function(ReqGetSpecificSessions) updates) =>
      super.copyWith((message) => updates(message as ReqGetSpecificSessions))
          as ReqGetSpecificSessions;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqGetSpecificSessions create() => ReqGetSpecificSessions._();
  @$core.override
  ReqGetSpecificSessions createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqGetSpecificSessions getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqGetSpecificSessions>(create);
  static ReqGetSpecificSessions? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<SimpleSession> get talkerSessions => $_getList(0);
}

class ReqGroupAssisMsg extends $pb.GeneratedMessage {
  factory ReqGroupAssisMsg({
    $fixnum.Int64? clientSeqno,
    $core.int? size,
  }) {
    final result = create();
    if (clientSeqno != null) result.clientSeqno = clientSeqno;
    if (size != null) result.size = size;
    return result;
  }

  ReqGroupAssisMsg._();

  factory ReqGroupAssisMsg.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqGroupAssisMsg.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqGroupAssisMsg',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'clientSeqno')
    ..aI(2, _omitFieldNames ? '' : 'size')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqGroupAssisMsg clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqGroupAssisMsg copyWith(void Function(ReqGroupAssisMsg) updates) =>
      super.copyWith((message) => updates(message as ReqGroupAssisMsg))
          as ReqGroupAssisMsg;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqGroupAssisMsg create() => ReqGroupAssisMsg._();
  @$core.override
  ReqGroupAssisMsg createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqGroupAssisMsg getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqGroupAssisMsg>(create);
  static ReqGroupAssisMsg? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get clientSeqno => $_getI64(0);
  @$pb.TagNumber(1)
  set clientSeqno($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasClientSeqno() => $_has(0);
  @$pb.TagNumber(1)
  void clearClientSeqno() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get size => $_getIZ(1);
  @$pb.TagNumber(2)
  set size($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSize() => $_has(1);
  @$pb.TagNumber(2)
  void clearSize() => $_clearField(2);
}

class ReqLikeMsg extends $pb.GeneratedMessage {
  factory ReqLikeMsg({
    $fixnum.Int64? msgKey,
    MSG_LIKE_ACTION? action,
  }) {
    final result = create();
    if (msgKey != null) result.msgKey = msgKey;
    if (action != null) result.action = action;
    return result;
  }

  ReqLikeMsg._();

  factory ReqLikeMsg.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqLikeMsg.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqLikeMsg',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'msgKey')
    ..aE<MSG_LIKE_ACTION>(2, _omitFieldNames ? '' : 'action',
        enumValues: MSG_LIKE_ACTION.values)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqLikeMsg clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqLikeMsg copyWith(void Function(ReqLikeMsg) updates) =>
      super.copyWith((message) => updates(message as ReqLikeMsg)) as ReqLikeMsg;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqLikeMsg create() => ReqLikeMsg._();
  @$core.override
  ReqLikeMsg createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqLikeMsg getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqLikeMsg>(create);
  static ReqLikeMsg? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get msgKey => $_getI64(0);
  @$pb.TagNumber(1)
  set msgKey($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasMsgKey() => $_has(0);
  @$pb.TagNumber(1)
  void clearMsgKey() => $_clearField(1);

  @$pb.TagNumber(2)
  MSG_LIKE_ACTION get action => $_getN(1);
  @$pb.TagNumber(2)
  set action(MSG_LIKE_ACTION value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasAction() => $_has(1);
  @$pb.TagNumber(2)
  void clearAction() => $_clearField(2);
}

class ReqLiveInfo extends $pb.GeneratedMessage {
  factory ReqLiveInfo({
    $fixnum.Int64? uid,
    $fixnum.Int64? talkerId,
  }) {
    final result = create();
    if (uid != null) result.uid = uid;
    if (talkerId != null) result.talkerId = talkerId;
    return result;
  }

  ReqLiveInfo._();

  factory ReqLiveInfo.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqLiveInfo.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqLiveInfo',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'uid')
    ..aInt64(2, _omitFieldNames ? '' : 'talkerId')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqLiveInfo clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqLiveInfo copyWith(void Function(ReqLiveInfo) updates) =>
      super.copyWith((message) => updates(message as ReqLiveInfo))
          as ReqLiveInfo;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqLiveInfo create() => ReqLiveInfo._();
  @$core.override
  ReqLiveInfo createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqLiveInfo getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqLiveInfo>(create);
  static ReqLiveInfo? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get uid => $_getI64(0);
  @$pb.TagNumber(1)
  set uid($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasUid() => $_has(0);
  @$pb.TagNumber(1)
  void clearUid() => $_clearField(1);

  @$pb.TagNumber(2)
  $fixnum.Int64 get talkerId => $_getI64(1);
  @$pb.TagNumber(2)
  set talkerId($fixnum.Int64 value) => $_setInt64(1, value);
  @$pb.TagNumber(2)
  $core.bool hasTalkerId() => $_has(1);
  @$pb.TagNumber(2)
  void clearTalkerId() => $_clearField(2);
}

class ReqMsgHasLike extends $pb.GeneratedMessage {
  factory ReqMsgHasLike({
    $core.Iterable<$fixnum.Int64>? msgKeys,
  }) {
    final result = create();
    if (msgKeys != null) result.msgKeys.addAll(msgKeys);
    return result;
  }

  ReqMsgHasLike._();

  factory ReqMsgHasLike.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqMsgHasLike.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqMsgHasLike',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..p<$fixnum.Int64>(1, _omitFieldNames ? '' : 'msgKeys', $pb.PbFieldType.K6)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqMsgHasLike clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqMsgHasLike copyWith(void Function(ReqMsgHasLike) updates) =>
      super.copyWith((message) => updates(message as ReqMsgHasLike))
          as ReqMsgHasLike;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqMsgHasLike create() => ReqMsgHasLike._();
  @$core.override
  ReqMsgHasLike createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqMsgHasLike getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqMsgHasLike>(create);
  static ReqMsgHasLike? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<$fixnum.Int64> get msgKeys => $_getList(0);
}

class ReqNewSessions extends $pb.GeneratedMessage {
  factory ReqNewSessions({
    $fixnum.Int64? beginTs,
    $core.int? size,
    $core.int? teenagerMode,
    $core.int? lessonsMode,
    $core.Iterable<$core.int>? sids,
  }) {
    final result = create();
    if (beginTs != null) result.beginTs = beginTs;
    if (size != null) result.size = size;
    if (teenagerMode != null) result.teenagerMode = teenagerMode;
    if (lessonsMode != null) result.lessonsMode = lessonsMode;
    if (sids != null) result.sids.addAll(sids);
    return result;
  }

  ReqNewSessions._();

  factory ReqNewSessions.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqNewSessions.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqNewSessions',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'beginTs')
    ..aI(2, _omitFieldNames ? '' : 'size')
    ..aI(3, _omitFieldNames ? '' : 'teenagerMode')
    ..aI(4, _omitFieldNames ? '' : 'lessonsMode')
    ..p<$core.int>(5, _omitFieldNames ? '' : 'sids', $pb.PbFieldType.K3)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqNewSessions clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqNewSessions copyWith(void Function(ReqNewSessions) updates) =>
      super.copyWith((message) => updates(message as ReqNewSessions))
          as ReqNewSessions;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqNewSessions create() => ReqNewSessions._();
  @$core.override
  ReqNewSessions createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqNewSessions getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqNewSessions>(create);
  static ReqNewSessions? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get beginTs => $_getI64(0);
  @$pb.TagNumber(1)
  set beginTs($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasBeginTs() => $_has(0);
  @$pb.TagNumber(1)
  void clearBeginTs() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get size => $_getIZ(1);
  @$pb.TagNumber(2)
  set size($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSize() => $_has(1);
  @$pb.TagNumber(2)
  void clearSize() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.int get teenagerMode => $_getIZ(2);
  @$pb.TagNumber(3)
  set teenagerMode($core.int value) => $_setSignedInt32(2, value);
  @$pb.TagNumber(3)
  $core.bool hasTeenagerMode() => $_has(2);
  @$pb.TagNumber(3)
  void clearTeenagerMode() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.int get lessonsMode => $_getIZ(3);
  @$pb.TagNumber(4)
  set lessonsMode($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasLessonsMode() => $_has(3);
  @$pb.TagNumber(4)
  void clearLessonsMode() => $_clearField(4);

  @$pb.TagNumber(5)
  $pb.PbList<$core.int> get sids => $_getList(4);
}

class ReqRelationSync extends $pb.GeneratedMessage {
  factory ReqRelationSync({
    $fixnum.Int64? clientRelationOplogSeqno,
  }) {
    final result = create();
    if (clientRelationOplogSeqno != null)
      result.clientRelationOplogSeqno = clientRelationOplogSeqno;
    return result;
  }

  ReqRelationSync._();

  factory ReqRelationSync.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqRelationSync.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqRelationSync',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'clientRelationOplogSeqno')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqRelationSync clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqRelationSync copyWith(void Function(ReqRelationSync) updates) =>
      super.copyWith((message) => updates(message as ReqRelationSync))
          as ReqRelationSync;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqRelationSync create() => ReqRelationSync._();
  @$core.override
  ReqRelationSync createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqRelationSync getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqRelationSync>(create);
  static ReqRelationSync? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get clientRelationOplogSeqno => $_getI64(0);
  @$pb.TagNumber(1)
  set clientRelationOplogSeqno($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasClientRelationOplogSeqno() => $_has(0);
  @$pb.TagNumber(1)
  void clearClientRelationOplogSeqno() => $_clearField(1);
}

class ReqRemoveSession extends $pb.GeneratedMessage {
  factory ReqRemoveSession({
    $fixnum.Int64? talkerId,
    $core.int? sessionType,
    $fixnum.Int64? shopId,
    $fixnum.Int64? shopFatherId,
  }) {
    final result = create();
    if (talkerId != null) result.talkerId = talkerId;
    if (sessionType != null) result.sessionType = sessionType;
    if (shopId != null) result.shopId = shopId;
    if (shopFatherId != null) result.shopFatherId = shopFatherId;
    return result;
  }

  ReqRemoveSession._();

  factory ReqRemoveSession.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqRemoveSession.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqRemoveSession',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'talkerId')
    ..aI(2, _omitFieldNames ? '' : 'sessionType')
    ..aInt64(3, _omitFieldNames ? '' : 'shopId')
    ..aInt64(4, _omitFieldNames ? '' : 'shopFatherId')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqRemoveSession clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqRemoveSession copyWith(void Function(ReqRemoveSession) updates) =>
      super.copyWith((message) => updates(message as ReqRemoveSession))
          as ReqRemoveSession;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqRemoveSession create() => ReqRemoveSession._();
  @$core.override
  ReqRemoveSession createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqRemoveSession getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqRemoveSession>(create);
  static ReqRemoveSession? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get talkerId => $_getI64(0);
  @$pb.TagNumber(1)
  set talkerId($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasTalkerId() => $_has(0);
  @$pb.TagNumber(1)
  void clearTalkerId() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get sessionType => $_getIZ(1);
  @$pb.TagNumber(2)
  set sessionType($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSessionType() => $_has(1);
  @$pb.TagNumber(2)
  void clearSessionType() => $_clearField(2);

  @$pb.TagNumber(3)
  $fixnum.Int64 get shopId => $_getI64(2);
  @$pb.TagNumber(3)
  set shopId($fixnum.Int64 value) => $_setInt64(2, value);
  @$pb.TagNumber(3)
  $core.bool hasShopId() => $_has(2);
  @$pb.TagNumber(3)
  void clearShopId() => $_clearField(3);

  @$pb.TagNumber(4)
  $fixnum.Int64 get shopFatherId => $_getI64(3);
  @$pb.TagNumber(4)
  set shopFatherId($fixnum.Int64 value) => $_setInt64(3, value);
  @$pb.TagNumber(4)
  $core.bool hasShopFatherId() => $_has(3);
  @$pb.TagNumber(4)
  void clearShopFatherId() => $_clearField(4);
}

class ReqSendMsg extends $pb.GeneratedMessage {
  factory ReqSendMsg({
    $1.Msg? msg,
    $core.String? cookie,
    $core.String? cookie2,
    $core.int? errorCode,
    $core.String? devId,
  }) {
    final result = create();
    if (msg != null) result.msg = msg;
    if (cookie != null) result.cookie = cookie;
    if (cookie2 != null) result.cookie2 = cookie2;
    if (errorCode != null) result.errorCode = errorCode;
    if (devId != null) result.devId = devId;
    return result;
  }

  ReqSendMsg._();

  factory ReqSendMsg.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqSendMsg.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqSendMsg',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aOM<$1.Msg>(1, _omitFieldNames ? '' : 'msg', subBuilder: $1.Msg.create)
    ..aOS(2, _omitFieldNames ? '' : 'cookie')
    ..aOS(3, _omitFieldNames ? '' : 'cookie2')
    ..aI(4, _omitFieldNames ? '' : 'errorCode')
    ..aOS(5, _omitFieldNames ? '' : 'devId')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSendMsg clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSendMsg copyWith(void Function(ReqSendMsg) updates) =>
      super.copyWith((message) => updates(message as ReqSendMsg)) as ReqSendMsg;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqSendMsg create() => ReqSendMsg._();
  @$core.override
  ReqSendMsg createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqSendMsg getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqSendMsg>(create);
  static ReqSendMsg? _defaultInstance;

  @$pb.TagNumber(1)
  $1.Msg get msg => $_getN(0);
  @$pb.TagNumber(1)
  set msg($1.Msg value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasMsg() => $_has(0);
  @$pb.TagNumber(1)
  void clearMsg() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.Msg ensureMsg() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get cookie => $_getSZ(1);
  @$pb.TagNumber(2)
  set cookie($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasCookie() => $_has(1);
  @$pb.TagNumber(2)
  void clearCookie() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get cookie2 => $_getSZ(2);
  @$pb.TagNumber(3)
  set cookie2($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasCookie2() => $_has(2);
  @$pb.TagNumber(3)
  void clearCookie2() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.int get errorCode => $_getIZ(3);
  @$pb.TagNumber(4)
  set errorCode($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasErrorCode() => $_has(3);
  @$pb.TagNumber(4)
  void clearErrorCode() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.String get devId => $_getSZ(4);
  @$pb.TagNumber(5)
  set devId($core.String value) => $_setString(4, value);
  @$pb.TagNumber(5)
  $core.bool hasDevId() => $_has(4);
  @$pb.TagNumber(5)
  void clearDevId() => $_clearField(5);
}

class ReqSessionDetail extends $pb.GeneratedMessage {
  factory ReqSessionDetail({
    $fixnum.Int64? talkerId,
    $core.int? sessionType,
    $fixnum.Int64? uid,
  }) {
    final result = create();
    if (talkerId != null) result.talkerId = talkerId;
    if (sessionType != null) result.sessionType = sessionType;
    if (uid != null) result.uid = uid;
    return result;
  }

  ReqSessionDetail._();

  factory ReqSessionDetail.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqSessionDetail.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqSessionDetail',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'talkerId')
    ..aI(2, _omitFieldNames ? '' : 'sessionType')
    ..aInt64(3, _omitFieldNames ? '' : 'uid')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSessionDetail clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSessionDetail copyWith(void Function(ReqSessionDetail) updates) =>
      super.copyWith((message) => updates(message as ReqSessionDetail))
          as ReqSessionDetail;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqSessionDetail create() => ReqSessionDetail._();
  @$core.override
  ReqSessionDetail createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqSessionDetail getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqSessionDetail>(create);
  static ReqSessionDetail? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get talkerId => $_getI64(0);
  @$pb.TagNumber(1)
  set talkerId($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasTalkerId() => $_has(0);
  @$pb.TagNumber(1)
  void clearTalkerId() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get sessionType => $_getIZ(1);
  @$pb.TagNumber(2)
  set sessionType($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSessionType() => $_has(1);
  @$pb.TagNumber(2)
  void clearSessionType() => $_clearField(2);

  @$pb.TagNumber(3)
  $fixnum.Int64 get uid => $_getI64(2);
  @$pb.TagNumber(3)
  set uid($fixnum.Int64 value) => $_setInt64(2, value);
  @$pb.TagNumber(3)
  $core.bool hasUid() => $_has(2);
  @$pb.TagNumber(3)
  void clearUid() => $_clearField(3);
}

class ReqSessionDetails extends $pb.GeneratedMessage {
  factory ReqSessionDetails({
    $core.Iterable<ReqSessionDetail>? sessIds,
  }) {
    final result = create();
    if (sessIds != null) result.sessIds.addAll(sessIds);
    return result;
  }

  ReqSessionDetails._();

  factory ReqSessionDetails.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqSessionDetails.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqSessionDetails',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..pPM<ReqSessionDetail>(1, _omitFieldNames ? '' : 'sessIds',
        subBuilder: ReqSessionDetail.create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSessionDetails clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSessionDetails copyWith(void Function(ReqSessionDetails) updates) =>
      super.copyWith((message) => updates(message as ReqSessionDetails))
          as ReqSessionDetails;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqSessionDetails create() => ReqSessionDetails._();
  @$core.override
  ReqSessionDetails createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqSessionDetails getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqSessionDetails>(create);
  static ReqSessionDetails? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<ReqSessionDetail> get sessIds => $_getList(0);
}

class ReqSessionMsg extends $pb.GeneratedMessage {
  factory ReqSessionMsg({
    $fixnum.Int64? talkerId,
    $core.int? sessionType,
    $fixnum.Int64? endSeqno,
    $fixnum.Int64? beginSeqno,
    $core.int? size,
    $core.int? order,
    $core.String? devId,
    $core.String? canalToken,
    $fixnum.Int64? aiUid,
    $core.bool? needAiMsg,
  }) {
    final result = create();
    if (talkerId != null) result.talkerId = talkerId;
    if (sessionType != null) result.sessionType = sessionType;
    if (endSeqno != null) result.endSeqno = endSeqno;
    if (beginSeqno != null) result.beginSeqno = beginSeqno;
    if (size != null) result.size = size;
    if (order != null) result.order = order;
    if (devId != null) result.devId = devId;
    if (canalToken != null) result.canalToken = canalToken;
    if (aiUid != null) result.aiUid = aiUid;
    if (needAiMsg != null) result.needAiMsg = needAiMsg;
    return result;
  }

  ReqSessionMsg._();

  factory ReqSessionMsg.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqSessionMsg.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqSessionMsg',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'talkerId')
    ..aI(2, _omitFieldNames ? '' : 'sessionType')
    ..aInt64(3, _omitFieldNames ? '' : 'endSeqno')
    ..aInt64(4, _omitFieldNames ? '' : 'beginSeqno')
    ..aI(5, _omitFieldNames ? '' : 'size')
    ..aI(6, _omitFieldNames ? '' : 'order')
    ..aOS(7, _omitFieldNames ? '' : 'devId')
    ..aOS(8, _omitFieldNames ? '' : 'canalToken')
    ..aInt64(9, _omitFieldNames ? '' : 'aiUid')
    ..aOB(10, _omitFieldNames ? '' : 'needAiMsg')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSessionMsg clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSessionMsg copyWith(void Function(ReqSessionMsg) updates) =>
      super.copyWith((message) => updates(message as ReqSessionMsg))
          as ReqSessionMsg;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqSessionMsg create() => ReqSessionMsg._();
  @$core.override
  ReqSessionMsg createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqSessionMsg getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqSessionMsg>(create);
  static ReqSessionMsg? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get talkerId => $_getI64(0);
  @$pb.TagNumber(1)
  set talkerId($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasTalkerId() => $_has(0);
  @$pb.TagNumber(1)
  void clearTalkerId() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get sessionType => $_getIZ(1);
  @$pb.TagNumber(2)
  set sessionType($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSessionType() => $_has(1);
  @$pb.TagNumber(2)
  void clearSessionType() => $_clearField(2);

  @$pb.TagNumber(3)
  $fixnum.Int64 get endSeqno => $_getI64(2);
  @$pb.TagNumber(3)
  set endSeqno($fixnum.Int64 value) => $_setInt64(2, value);
  @$pb.TagNumber(3)
  $core.bool hasEndSeqno() => $_has(2);
  @$pb.TagNumber(3)
  void clearEndSeqno() => $_clearField(3);

  @$pb.TagNumber(4)
  $fixnum.Int64 get beginSeqno => $_getI64(3);
  @$pb.TagNumber(4)
  set beginSeqno($fixnum.Int64 value) => $_setInt64(3, value);
  @$pb.TagNumber(4)
  $core.bool hasBeginSeqno() => $_has(3);
  @$pb.TagNumber(4)
  void clearBeginSeqno() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.int get size => $_getIZ(4);
  @$pb.TagNumber(5)
  set size($core.int value) => $_setSignedInt32(4, value);
  @$pb.TagNumber(5)
  $core.bool hasSize() => $_has(4);
  @$pb.TagNumber(5)
  void clearSize() => $_clearField(5);

  @$pb.TagNumber(6)
  $core.int get order => $_getIZ(5);
  @$pb.TagNumber(6)
  set order($core.int value) => $_setSignedInt32(5, value);
  @$pb.TagNumber(6)
  $core.bool hasOrder() => $_has(5);
  @$pb.TagNumber(6)
  void clearOrder() => $_clearField(6);

  @$pb.TagNumber(7)
  $core.String get devId => $_getSZ(6);
  @$pb.TagNumber(7)
  set devId($core.String value) => $_setString(6, value);
  @$pb.TagNumber(7)
  $core.bool hasDevId() => $_has(6);
  @$pb.TagNumber(7)
  void clearDevId() => $_clearField(7);

  @$pb.TagNumber(8)
  $core.String get canalToken => $_getSZ(7);
  @$pb.TagNumber(8)
  set canalToken($core.String value) => $_setString(7, value);
  @$pb.TagNumber(8)
  $core.bool hasCanalToken() => $_has(7);
  @$pb.TagNumber(8)
  void clearCanalToken() => $_clearField(8);

  @$pb.TagNumber(9)
  $fixnum.Int64 get aiUid => $_getI64(8);
  @$pb.TagNumber(9)
  set aiUid($fixnum.Int64 value) => $_setInt64(8, value);
  @$pb.TagNumber(9)
  $core.bool hasAiUid() => $_has(8);
  @$pb.TagNumber(9)
  void clearAiUid() => $_clearField(9);

  @$pb.TagNumber(10)
  $core.bool get needAiMsg => $_getBF(9);
  @$pb.TagNumber(10)
  set needAiMsg($core.bool value) => $_setBool(9, value);
  @$pb.TagNumber(10)
  $core.bool hasNeedAiMsg() => $_has(9);
  @$pb.TagNumber(10)
  void clearNeedAiMsg() => $_clearField(10);
}

class ReqSetTop extends $pb.GeneratedMessage {
  factory ReqSetTop({
    $fixnum.Int64? talkerId,
    $core.int? sessionType,
    $core.int? opType,
    $fixnum.Int64? shopId,
    $fixnum.Int64? shopFatherId,
  }) {
    final result = create();
    if (talkerId != null) result.talkerId = talkerId;
    if (sessionType != null) result.sessionType = sessionType;
    if (opType != null) result.opType = opType;
    if (shopId != null) result.shopId = shopId;
    if (shopFatherId != null) result.shopFatherId = shopFatherId;
    return result;
  }

  ReqSetTop._();

  factory ReqSetTop.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqSetTop.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqSetTop',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'talkerId')
    ..aI(2, _omitFieldNames ? '' : 'sessionType')
    ..aI(3, _omitFieldNames ? '' : 'opType')
    ..aInt64(4, _omitFieldNames ? '' : 'shopId')
    ..aInt64(5, _omitFieldNames ? '' : 'shopFatherId')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSetTop clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSetTop copyWith(void Function(ReqSetTop) updates) =>
      super.copyWith((message) => updates(message as ReqSetTop)) as ReqSetTop;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqSetTop create() => ReqSetTop._();
  @$core.override
  ReqSetTop createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqSetTop getDefault() =>
      _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ReqSetTop>(create);
  static ReqSetTop? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get talkerId => $_getI64(0);
  @$pb.TagNumber(1)
  set talkerId($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasTalkerId() => $_has(0);
  @$pb.TagNumber(1)
  void clearTalkerId() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get sessionType => $_getIZ(1);
  @$pb.TagNumber(2)
  set sessionType($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSessionType() => $_has(1);
  @$pb.TagNumber(2)
  void clearSessionType() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.int get opType => $_getIZ(2);
  @$pb.TagNumber(3)
  set opType($core.int value) => $_setSignedInt32(2, value);
  @$pb.TagNumber(3)
  $core.bool hasOpType() => $_has(2);
  @$pb.TagNumber(3)
  void clearOpType() => $_clearField(3);

  @$pb.TagNumber(4)
  $fixnum.Int64 get shopId => $_getI64(3);
  @$pb.TagNumber(4)
  set shopId($fixnum.Int64 value) => $_setInt64(3, value);
  @$pb.TagNumber(4)
  $core.bool hasShopId() => $_has(3);
  @$pb.TagNumber(4)
  void clearShopId() => $_clearField(4);

  @$pb.TagNumber(5)
  $fixnum.Int64 get shopFatherId => $_getI64(4);
  @$pb.TagNumber(5)
  set shopFatherId($fixnum.Int64 value) => $_setInt64(4, value);
  @$pb.TagNumber(5)
  $core.bool hasShopFatherId() => $_has(4);
  @$pb.TagNumber(5)
  void clearShopFatherId() => $_clearField(5);
}

class ReqShareList extends $pb.GeneratedMessage {
  factory ReqShareList({
    $core.int? size,
    $core.int? source,
  }) {
    final result = create();
    if (size != null) result.size = size;
    if (source != null) result.source = source;
    return result;
  }

  ReqShareList._();

  factory ReqShareList.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqShareList.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqShareList',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aI(1, _omitFieldNames ? '' : 'size')
    ..aI(2, _omitFieldNames ? '' : 'source')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqShareList clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqShareList copyWith(void Function(ReqShareList) updates) =>
      super.copyWith((message) => updates(message as ReqShareList))
          as ReqShareList;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqShareList create() => ReqShareList._();
  @$core.override
  ReqShareList createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqShareList getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqShareList>(create);
  static ReqShareList? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get size => $_getIZ(0);
  @$pb.TagNumber(1)
  set size($core.int value) => $_setSignedInt32(0, value);
  @$pb.TagNumber(1)
  $core.bool hasSize() => $_has(0);
  @$pb.TagNumber(1)
  void clearSize() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get source => $_getIZ(1);
  @$pb.TagNumber(2)
  set source($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSource() => $_has(1);
  @$pb.TagNumber(2)
  void clearSource() => $_clearField(2);
}

class ReqShowClearUnreadUI extends $pb.GeneratedMessage {
  factory ReqShowClearUnreadUI({
    $core.int? unreadType,
    $core.int? showUnfollowList,
    $core.int? showDustbin,
  }) {
    final result = create();
    if (unreadType != null) result.unreadType = unreadType;
    if (showUnfollowList != null) result.showUnfollowList = showUnfollowList;
    if (showDustbin != null) result.showDustbin = showDustbin;
    return result;
  }

  ReqShowClearUnreadUI._();

  factory ReqShowClearUnreadUI.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqShowClearUnreadUI.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqShowClearUnreadUI',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aI(1, _omitFieldNames ? '' : 'unreadType')
    ..aI(2, _omitFieldNames ? '' : 'showUnfollowList')
    ..aI(4, _omitFieldNames ? '' : 'showDustbin')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqShowClearUnreadUI clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqShowClearUnreadUI copyWith(void Function(ReqShowClearUnreadUI) updates) =>
      super.copyWith((message) => updates(message as ReqShowClearUnreadUI))
          as ReqShowClearUnreadUI;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqShowClearUnreadUI create() => ReqShowClearUnreadUI._();
  @$core.override
  ReqShowClearUnreadUI createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqShowClearUnreadUI getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqShowClearUnreadUI>(create);
  static ReqShowClearUnreadUI? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get unreadType => $_getIZ(0);
  @$pb.TagNumber(1)
  set unreadType($core.int value) => $_setSignedInt32(0, value);
  @$pb.TagNumber(1)
  $core.bool hasUnreadType() => $_has(0);
  @$pb.TagNumber(1)
  void clearUnreadType() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get showUnfollowList => $_getIZ(1);
  @$pb.TagNumber(2)
  set showUnfollowList($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasShowUnfollowList() => $_has(1);
  @$pb.TagNumber(2)
  void clearShowUnfollowList() => $_clearField(2);

  @$pb.TagNumber(4)
  $core.int get showDustbin => $_getIZ(2);
  @$pb.TagNumber(4)
  set showDustbin($core.int value) => $_setSignedInt32(2, value);
  @$pb.TagNumber(4)
  $core.bool hasShowDustbin() => $_has(2);
  @$pb.TagNumber(4)
  void clearShowDustbin() => $_clearField(4);
}

class ReqSingleUnread extends $pb.GeneratedMessage {
  factory ReqSingleUnread({
    $core.int? unreadType,
    $core.int? showUnfollowList,
    $fixnum.Int64? uid,
    $core.int? showDustbin,
  }) {
    final result = create();
    if (unreadType != null) result.unreadType = unreadType;
    if (showUnfollowList != null) result.showUnfollowList = showUnfollowList;
    if (uid != null) result.uid = uid;
    if (showDustbin != null) result.showDustbin = showDustbin;
    return result;
  }

  ReqSingleUnread._();

  factory ReqSingleUnread.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqSingleUnread.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqSingleUnread',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aI(1, _omitFieldNames ? '' : 'unreadType')
    ..aI(2, _omitFieldNames ? '' : 'showUnfollowList')
    ..aInt64(3, _omitFieldNames ? '' : 'uid')
    ..aI(4, _omitFieldNames ? '' : 'showDustbin')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSingleUnread clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSingleUnread copyWith(void Function(ReqSingleUnread) updates) =>
      super.copyWith((message) => updates(message as ReqSingleUnread))
          as ReqSingleUnread;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqSingleUnread create() => ReqSingleUnread._();
  @$core.override
  ReqSingleUnread createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqSingleUnread getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqSingleUnread>(create);
  static ReqSingleUnread? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get unreadType => $_getIZ(0);
  @$pb.TagNumber(1)
  set unreadType($core.int value) => $_setSignedInt32(0, value);
  @$pb.TagNumber(1)
  $core.bool hasUnreadType() => $_has(0);
  @$pb.TagNumber(1)
  void clearUnreadType() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get showUnfollowList => $_getIZ(1);
  @$pb.TagNumber(2)
  set showUnfollowList($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasShowUnfollowList() => $_has(1);
  @$pb.TagNumber(2)
  void clearShowUnfollowList() => $_clearField(2);

  @$pb.TagNumber(3)
  $fixnum.Int64 get uid => $_getI64(2);
  @$pb.TagNumber(3)
  set uid($fixnum.Int64 value) => $_setInt64(2, value);
  @$pb.TagNumber(3)
  $core.bool hasUid() => $_has(2);
  @$pb.TagNumber(3)
  void clearUid() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.int get showDustbin => $_getIZ(3);
  @$pb.TagNumber(4)
  set showDustbin($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasShowDustbin() => $_has(3);
  @$pb.TagNumber(4)
  void clearShowDustbin() => $_clearField(4);
}

class ReqSpecificSingleUnread extends $pb.GeneratedMessage {
  factory ReqSpecificSingleUnread({
    $core.Iterable<SimpleSession>? talkerSessions,
  }) {
    final result = create();
    if (talkerSessions != null) result.talkerSessions.addAll(talkerSessions);
    return result;
  }

  ReqSpecificSingleUnread._();

  factory ReqSpecificSingleUnread.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqSpecificSingleUnread.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqSpecificSingleUnread',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..pPM<SimpleSession>(1, _omitFieldNames ? '' : 'talkerSessions',
        subBuilder: SimpleSession.create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSpecificSingleUnread clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSpecificSingleUnread copyWith(
          void Function(ReqSpecificSingleUnread) updates) =>
      super.copyWith((message) => updates(message as ReqSpecificSingleUnread))
          as ReqSpecificSingleUnread;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqSpecificSingleUnread create() => ReqSpecificSingleUnread._();
  @$core.override
  ReqSpecificSingleUnread createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqSpecificSingleUnread getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqSpecificSingleUnread>(create);
  static ReqSpecificSingleUnread? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<SimpleSession> get talkerSessions => $_getList(0);
}

class ReqSyncAck extends $pb.GeneratedMessage {
  factory ReqSyncAck({
    $fixnum.Int64? clientSeqno,
  }) {
    final result = create();
    if (clientSeqno != null) result.clientSeqno = clientSeqno;
    return result;
  }

  ReqSyncAck._();

  factory ReqSyncAck.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqSyncAck.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqSyncAck',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'clientSeqno')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSyncAck clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqSyncAck copyWith(void Function(ReqSyncAck) updates) =>
      super.copyWith((message) => updates(message as ReqSyncAck)) as ReqSyncAck;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqSyncAck create() => ReqSyncAck._();
  @$core.override
  ReqSyncAck createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqSyncAck getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqSyncAck>(create);
  static ReqSyncAck? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get clientSeqno => $_getI64(0);
  @$pb.TagNumber(1)
  set clientSeqno($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasClientSeqno() => $_has(0);
  @$pb.TagNumber(1)
  void clearClientSeqno() => $_clearField(1);
}

class ReqTotalUnread extends $pb.GeneratedMessage {
  factory ReqTotalUnread({
    $core.int? unreadType,
    $core.int? showUnfollowList,
    $fixnum.Int64? uid,
    $core.int? showDustbin,
    $core.int? singleunreadOn,
    $core.int? msgfeedOn,
    $core.int? sysupOn,
  }) {
    final result = create();
    if (unreadType != null) result.unreadType = unreadType;
    if (showUnfollowList != null) result.showUnfollowList = showUnfollowList;
    if (uid != null) result.uid = uid;
    if (showDustbin != null) result.showDustbin = showDustbin;
    if (singleunreadOn != null) result.singleunreadOn = singleunreadOn;
    if (msgfeedOn != null) result.msgfeedOn = msgfeedOn;
    if (sysupOn != null) result.sysupOn = sysupOn;
    return result;
  }

  ReqTotalUnread._();

  factory ReqTotalUnread.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqTotalUnread.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqTotalUnread',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aI(1, _omitFieldNames ? '' : 'unreadType')
    ..aI(2, _omitFieldNames ? '' : 'showUnfollowList')
    ..aInt64(3, _omitFieldNames ? '' : 'uid')
    ..aI(4, _omitFieldNames ? '' : 'showDustbin')
    ..aI(5, _omitFieldNames ? '' : 'singleunreadOn')
    ..aI(6, _omitFieldNames ? '' : 'msgfeedOn')
    ..aI(7, _omitFieldNames ? '' : 'sysupOn')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqTotalUnread clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqTotalUnread copyWith(void Function(ReqTotalUnread) updates) =>
      super.copyWith((message) => updates(message as ReqTotalUnread))
          as ReqTotalUnread;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqTotalUnread create() => ReqTotalUnread._();
  @$core.override
  ReqTotalUnread createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqTotalUnread getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqTotalUnread>(create);
  static ReqTotalUnread? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get unreadType => $_getIZ(0);
  @$pb.TagNumber(1)
  set unreadType($core.int value) => $_setSignedInt32(0, value);
  @$pb.TagNumber(1)
  $core.bool hasUnreadType() => $_has(0);
  @$pb.TagNumber(1)
  void clearUnreadType() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get showUnfollowList => $_getIZ(1);
  @$pb.TagNumber(2)
  set showUnfollowList($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasShowUnfollowList() => $_has(1);
  @$pb.TagNumber(2)
  void clearShowUnfollowList() => $_clearField(2);

  @$pb.TagNumber(3)
  $fixnum.Int64 get uid => $_getI64(2);
  @$pb.TagNumber(3)
  set uid($fixnum.Int64 value) => $_setInt64(2, value);
  @$pb.TagNumber(3)
  $core.bool hasUid() => $_has(2);
  @$pb.TagNumber(3)
  void clearUid() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.int get showDustbin => $_getIZ(3);
  @$pb.TagNumber(4)
  set showDustbin($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasShowDustbin() => $_has(3);
  @$pb.TagNumber(4)
  void clearShowDustbin() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.int get singleunreadOn => $_getIZ(4);
  @$pb.TagNumber(5)
  set singleunreadOn($core.int value) => $_setSignedInt32(4, value);
  @$pb.TagNumber(5)
  $core.bool hasSingleunreadOn() => $_has(4);
  @$pb.TagNumber(5)
  void clearSingleunreadOn() => $_clearField(5);

  @$pb.TagNumber(6)
  $core.int get msgfeedOn => $_getIZ(5);
  @$pb.TagNumber(6)
  set msgfeedOn($core.int value) => $_setSignedInt32(5, value);
  @$pb.TagNumber(6)
  $core.bool hasMsgfeedOn() => $_has(5);
  @$pb.TagNumber(6)
  void clearMsgfeedOn() => $_clearField(6);

  @$pb.TagNumber(7)
  $core.int get sysupOn => $_getIZ(6);
  @$pb.TagNumber(7)
  set sysupOn($core.int value) => $_setSignedInt32(6, value);
  @$pb.TagNumber(7)
  $core.bool hasSysupOn() => $_has(6);
  @$pb.TagNumber(7)
  void clearSysupOn() => $_clearField(7);
}

class ReqUpdateAck extends $pb.GeneratedMessage {
  factory ReqUpdateAck({
    $fixnum.Int64? talkerId,
    $core.int? sessionType,
    $fixnum.Int64? ackSeqno,
  }) {
    final result = create();
    if (talkerId != null) result.talkerId = talkerId;
    if (sessionType != null) result.sessionType = sessionType;
    if (ackSeqno != null) result.ackSeqno = ackSeqno;
    return result;
  }

  ReqUpdateAck._();

  factory ReqUpdateAck.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqUpdateAck.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqUpdateAck',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'talkerId')
    ..aI(2, _omitFieldNames ? '' : 'sessionType')
    ..aInt64(3, _omitFieldNames ? '' : 'ackSeqno')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqUpdateAck clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqUpdateAck copyWith(void Function(ReqUpdateAck) updates) =>
      super.copyWith((message) => updates(message as ReqUpdateAck))
          as ReqUpdateAck;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqUpdateAck create() => ReqUpdateAck._();
  @$core.override
  ReqUpdateAck createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqUpdateAck getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqUpdateAck>(create);
  static ReqUpdateAck? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get talkerId => $_getI64(0);
  @$pb.TagNumber(1)
  set talkerId($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasTalkerId() => $_has(0);
  @$pb.TagNumber(1)
  void clearTalkerId() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get sessionType => $_getIZ(1);
  @$pb.TagNumber(2)
  set sessionType($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSessionType() => $_has(1);
  @$pb.TagNumber(2)
  void clearSessionType() => $_clearField(2);

  @$pb.TagNumber(3)
  $fixnum.Int64 get ackSeqno => $_getI64(2);
  @$pb.TagNumber(3)
  set ackSeqno($fixnum.Int64 value) => $_setInt64(2, value);
  @$pb.TagNumber(3)
  $core.bool hasAckSeqno() => $_has(2);
  @$pb.TagNumber(3)
  void clearAckSeqno() => $_clearField(3);
}

class ReqUpdateIntercept extends $pb.GeneratedMessage {
  factory ReqUpdateIntercept({
    $fixnum.Int64? uid,
    $fixnum.Int64? talkerId,
    $core.int? status,
  }) {
    final result = create();
    if (uid != null) result.uid = uid;
    if (talkerId != null) result.talkerId = talkerId;
    if (status != null) result.status = status;
    return result;
  }

  ReqUpdateIntercept._();

  factory ReqUpdateIntercept.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqUpdateIntercept.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqUpdateIntercept',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'uid')
    ..aInt64(2, _omitFieldNames ? '' : 'talkerId')
    ..aI(3, _omitFieldNames ? '' : 'status')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqUpdateIntercept clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqUpdateIntercept copyWith(void Function(ReqUpdateIntercept) updates) =>
      super.copyWith((message) => updates(message as ReqUpdateIntercept))
          as ReqUpdateIntercept;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqUpdateIntercept create() => ReqUpdateIntercept._();
  @$core.override
  ReqUpdateIntercept createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqUpdateIntercept getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqUpdateIntercept>(create);
  static ReqUpdateIntercept? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get uid => $_getI64(0);
  @$pb.TagNumber(1)
  set uid($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasUid() => $_has(0);
  @$pb.TagNumber(1)
  void clearUid() => $_clearField(1);

  @$pb.TagNumber(2)
  $fixnum.Int64 get talkerId => $_getI64(1);
  @$pb.TagNumber(2)
  set talkerId($fixnum.Int64 value) => $_setInt64(1, value);
  @$pb.TagNumber(2)
  $core.bool hasTalkerId() => $_has(1);
  @$pb.TagNumber(2)
  void clearTalkerId() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.int get status => $_getIZ(2);
  @$pb.TagNumber(3)
  set status($core.int value) => $_setSignedInt32(2, value);
  @$pb.TagNumber(3)
  $core.bool hasStatus() => $_has(2);
  @$pb.TagNumber(3)
  void clearStatus() => $_clearField(3);
}

class ReqUpdateTotalUnread extends $pb.GeneratedMessage {
  factory ReqUpdateTotalUnread({
    UpdateUnreadScope? scope,
  }) {
    final result = create();
    if (scope != null) result.scope = scope;
    return result;
  }

  ReqUpdateTotalUnread._();

  factory ReqUpdateTotalUnread.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ReqUpdateTotalUnread.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ReqUpdateTotalUnread',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aE<UpdateUnreadScope>(1, _omitFieldNames ? '' : 'scope',
        enumValues: UpdateUnreadScope.values)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqUpdateTotalUnread clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ReqUpdateTotalUnread copyWith(void Function(ReqUpdateTotalUnread) updates) =>
      super.copyWith((message) => updates(message as ReqUpdateTotalUnread))
          as ReqUpdateTotalUnread;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ReqUpdateTotalUnread create() => ReqUpdateTotalUnread._();
  @$core.override
  ReqUpdateTotalUnread createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ReqUpdateTotalUnread getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ReqUpdateTotalUnread>(create);
  static ReqUpdateTotalUnread? _defaultInstance;

  @$pb.TagNumber(1)
  UpdateUnreadScope get scope => $_getN(0);
  @$pb.TagNumber(1)
  set scope(UpdateUnreadScope value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasScope() => $_has(0);
  @$pb.TagNumber(1)
  void clearScope() => $_clearField(1);
}

class RspCloseClearUnreadUI extends $pb.GeneratedMessage {
  factory RspCloseClearUnreadUI() => create();

  RspCloseClearUnreadUI._();

  factory RspCloseClearUnreadUI.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspCloseClearUnreadUI.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspCloseClearUnreadUI',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspCloseClearUnreadUI clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspCloseClearUnreadUI copyWith(
          void Function(RspCloseClearUnreadUI) updates) =>
      super.copyWith((message) => updates(message as RspCloseClearUnreadUI))
          as RspCloseClearUnreadUI;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspCloseClearUnreadUI create() => RspCloseClearUnreadUI._();
  @$core.override
  RspCloseClearUnreadUI createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspCloseClearUnreadUI getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspCloseClearUnreadUI>(create);
  static RspCloseClearUnreadUI? _defaultInstance;
}

class RspGetDiscussListInImPage extends $pb.GeneratedMessage {
  factory RspGetDiscussListInImPage({
    $core.Iterable<SingleDiscussInImPage>? discussList,
  }) {
    final result = create();
    if (discussList != null) result.discussList.addAll(discussList);
    return result;
  }

  RspGetDiscussListInImPage._();

  factory RspGetDiscussListInImPage.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspGetDiscussListInImPage.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspGetDiscussListInImPage',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..pPM<SingleDiscussInImPage>(1, _omitFieldNames ? '' : 'discussList',
        subBuilder: SingleDiscussInImPage.create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspGetDiscussListInImPage clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspGetDiscussListInImPage copyWith(
          void Function(RspGetDiscussListInImPage) updates) =>
      super.copyWith((message) => updates(message as RspGetDiscussListInImPage))
          as RspGetDiscussListInImPage;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspGetDiscussListInImPage create() => RspGetDiscussListInImPage._();
  @$core.override
  RspGetDiscussListInImPage createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspGetDiscussListInImPage getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspGetDiscussListInImPage>(create);
  static RspGetDiscussListInImPage? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<SingleDiscussInImPage> get discussList => $_getList(0);
}

class RspGetMsg extends $pb.GeneratedMessage {
  factory RspGetMsg({
    $core.Iterable<$1.Msg>? msg,
  }) {
    final result = create();
    if (msg != null) result.msg.addAll(msg);
    return result;
  }

  RspGetMsg._();

  factory RspGetMsg.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspGetMsg.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspGetMsg',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..pPM<$1.Msg>(1, _omitFieldNames ? '' : 'msg', subBuilder: $1.Msg.create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspGetMsg clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspGetMsg copyWith(void Function(RspGetMsg) updates) =>
      super.copyWith((message) => updates(message as RspGetMsg)) as RspGetMsg;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspGetMsg create() => RspGetMsg._();
  @$core.override
  RspGetMsg createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspGetMsg getDefault() =>
      _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<RspGetMsg>(create);
  static RspGetMsg? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<$1.Msg> get msg => $_getList(0);
}

class RspLiveInfo extends $pb.GeneratedMessage {
  factory RspLiveInfo({
    $fixnum.Int64? liveStatus,
    $core.String? jumpUrl,
  }) {
    final result = create();
    if (liveStatus != null) result.liveStatus = liveStatus;
    if (jumpUrl != null) result.jumpUrl = jumpUrl;
    return result;
  }

  RspLiveInfo._();

  factory RspLiveInfo.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspLiveInfo.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspLiveInfo',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'liveStatus')
    ..aOS(2, _omitFieldNames ? '' : 'jumpUrl')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspLiveInfo clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspLiveInfo copyWith(void Function(RspLiveInfo) updates) =>
      super.copyWith((message) => updates(message as RspLiveInfo))
          as RspLiveInfo;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspLiveInfo create() => RspLiveInfo._();
  @$core.override
  RspLiveInfo createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspLiveInfo getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspLiveInfo>(create);
  static RspLiveInfo? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get liveStatus => $_getI64(0);
  @$pb.TagNumber(1)
  set liveStatus($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasLiveStatus() => $_has(0);
  @$pb.TagNumber(1)
  void clearLiveStatus() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get jumpUrl => $_getSZ(1);
  @$pb.TagNumber(2)
  set jumpUrl($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasJumpUrl() => $_has(1);
  @$pb.TagNumber(2)
  void clearJumpUrl() => $_clearField(2);
}

class RspMsgHasLike extends $pb.GeneratedMessage {
  factory RspMsgHasLike({
    $core.Iterable<$core.MapEntry<$fixnum.Int64, HasLikeState>>? states,
  }) {
    final result = create();
    if (states != null) result.states.addEntries(states);
    return result;
  }

  RspMsgHasLike._();

  factory RspMsgHasLike.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspMsgHasLike.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspMsgHasLike',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..m<$fixnum.Int64, HasLikeState>(1, _omitFieldNames ? '' : 'states',
        entryClassName: 'RspMsgHasLike.StatesEntry',
        keyFieldType: $pb.PbFieldType.O6,
        valueFieldType: $pb.PbFieldType.OM,
        valueCreator: HasLikeState.create,
        valueDefaultOrMaker: HasLikeState.getDefault,
        packageName: const $pb.PackageName('bilibili.im.interfaces.v1'))
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspMsgHasLike clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspMsgHasLike copyWith(void Function(RspMsgHasLike) updates) =>
      super.copyWith((message) => updates(message as RspMsgHasLike))
          as RspMsgHasLike;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspMsgHasLike create() => RspMsgHasLike._();
  @$core.override
  RspMsgHasLike createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspMsgHasLike getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspMsgHasLike>(create);
  static RspMsgHasLike? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbMap<$fixnum.Int64, HasLikeState> get states => $_getMap(0);
}

class RspMyGroupUnread extends $pb.GeneratedMessage {
  factory RspMyGroupUnread({
    $core.int? unreadCount,
  }) {
    final result = create();
    if (unreadCount != null) result.unreadCount = unreadCount;
    return result;
  }

  RspMyGroupUnread._();

  factory RspMyGroupUnread.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspMyGroupUnread.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspMyGroupUnread',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aI(1, _omitFieldNames ? '' : 'unreadCount')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspMyGroupUnread clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspMyGroupUnread copyWith(void Function(RspMyGroupUnread) updates) =>
      super.copyWith((message) => updates(message as RspMyGroupUnread))
          as RspMyGroupUnread;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspMyGroupUnread create() => RspMyGroupUnread._();
  @$core.override
  RspMyGroupUnread createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspMyGroupUnread getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspMyGroupUnread>(create);
  static RspMyGroupUnread? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get unreadCount => $_getIZ(0);
  @$pb.TagNumber(1)
  set unreadCount($core.int value) => $_setSignedInt32(0, value);
  @$pb.TagNumber(1)
  $core.bool hasUnreadCount() => $_has(0);
  @$pb.TagNumber(1)
  void clearUnreadCount() => $_clearField(1);
}

class RspRelationSync extends $pb.GeneratedMessage {
  factory RspRelationSync({
    $core.int? full,
    $core.Iterable<$1.RelationLog>? relationLogs,
    $core.Iterable<$1.FriendRelation>? friendList,
    $fixnum.Int64? serverRelationOplogSeqno,
    $core.Iterable<$1.GroupRelation>? groupList,
  }) {
    final result = create();
    if (full != null) result.full = full;
    if (relationLogs != null) result.relationLogs.addAll(relationLogs);
    if (friendList != null) result.friendList.addAll(friendList);
    if (serverRelationOplogSeqno != null)
      result.serverRelationOplogSeqno = serverRelationOplogSeqno;
    if (groupList != null) result.groupList.addAll(groupList);
    return result;
  }

  RspRelationSync._();

  factory RspRelationSync.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspRelationSync.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspRelationSync',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aI(1, _omitFieldNames ? '' : 'full')
    ..pPM<$1.RelationLog>(2, _omitFieldNames ? '' : 'relationLogs',
        subBuilder: $1.RelationLog.create)
    ..pPM<$1.FriendRelation>(3, _omitFieldNames ? '' : 'friendList',
        subBuilder: $1.FriendRelation.create)
    ..aInt64(4, _omitFieldNames ? '' : 'serverRelationOplogSeqno')
    ..pPM<$1.GroupRelation>(5, _omitFieldNames ? '' : 'groupList',
        subBuilder: $1.GroupRelation.create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspRelationSync clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspRelationSync copyWith(void Function(RspRelationSync) updates) =>
      super.copyWith((message) => updates(message as RspRelationSync))
          as RspRelationSync;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspRelationSync create() => RspRelationSync._();
  @$core.override
  RspRelationSync createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspRelationSync getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspRelationSync>(create);
  static RspRelationSync? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get full => $_getIZ(0);
  @$pb.TagNumber(1)
  set full($core.int value) => $_setSignedInt32(0, value);
  @$pb.TagNumber(1)
  $core.bool hasFull() => $_has(0);
  @$pb.TagNumber(1)
  void clearFull() => $_clearField(1);

  @$pb.TagNumber(2)
  $pb.PbList<$1.RelationLog> get relationLogs => $_getList(1);

  @$pb.TagNumber(3)
  $pb.PbList<$1.FriendRelation> get friendList => $_getList(2);

  @$pb.TagNumber(4)
  $fixnum.Int64 get serverRelationOplogSeqno => $_getI64(3);
  @$pb.TagNumber(4)
  set serverRelationOplogSeqno($fixnum.Int64 value) => $_setInt64(3, value);
  @$pb.TagNumber(4)
  $core.bool hasServerRelationOplogSeqno() => $_has(3);
  @$pb.TagNumber(4)
  void clearServerRelationOplogSeqno() => $_clearField(4);

  @$pb.TagNumber(5)
  $pb.PbList<$1.GroupRelation> get groupList => $_getList(4);
}

class RspSendMsg extends $pb.GeneratedMessage {
  factory RspSendMsg({
    $fixnum.Int64? msgKey,
    $core.Iterable<EmotionInfo>? eInfos,
    $core.String? msgContent,
    $1.KeyHitInfos? keyHitInfos,
    $1.RichTextMsgContent? richTextMsgContent,
    $fixnum.Int64? seqno,
  }) {
    final result = create();
    if (msgKey != null) result.msgKey = msgKey;
    if (eInfos != null) result.eInfos.addAll(eInfos);
    if (msgContent != null) result.msgContent = msgContent;
    if (keyHitInfos != null) result.keyHitInfos = keyHitInfos;
    if (richTextMsgContent != null)
      result.richTextMsgContent = richTextMsgContent;
    if (seqno != null) result.seqno = seqno;
    return result;
  }

  RspSendMsg._();

  factory RspSendMsg.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspSendMsg.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspSendMsg',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'msgKey')
    ..pPM<EmotionInfo>(2, _omitFieldNames ? '' : 'eInfos',
        subBuilder: EmotionInfo.create)
    ..aOS(3, _omitFieldNames ? '' : 'msgContent')
    ..aOM<$1.KeyHitInfos>(4, _omitFieldNames ? '' : 'keyHitInfos',
        subBuilder: $1.KeyHitInfos.create)
    ..aOM<$1.RichTextMsgContent>(5, _omitFieldNames ? '' : 'richTextMsgContent',
        subBuilder: $1.RichTextMsgContent.create)
    ..aInt64(6, _omitFieldNames ? '' : 'seqno')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSendMsg clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSendMsg copyWith(void Function(RspSendMsg) updates) =>
      super.copyWith((message) => updates(message as RspSendMsg)) as RspSendMsg;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspSendMsg create() => RspSendMsg._();
  @$core.override
  RspSendMsg createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspSendMsg getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspSendMsg>(create);
  static RspSendMsg? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get msgKey => $_getI64(0);
  @$pb.TagNumber(1)
  set msgKey($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasMsgKey() => $_has(0);
  @$pb.TagNumber(1)
  void clearMsgKey() => $_clearField(1);

  @$pb.TagNumber(2)
  $pb.PbList<EmotionInfo> get eInfos => $_getList(1);

  @$pb.TagNumber(3)
  $core.String get msgContent => $_getSZ(2);
  @$pb.TagNumber(3)
  set msgContent($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasMsgContent() => $_has(2);
  @$pb.TagNumber(3)
  void clearMsgContent() => $_clearField(3);

  @$pb.TagNumber(4)
  $1.KeyHitInfos get keyHitInfos => $_getN(3);
  @$pb.TagNumber(4)
  set keyHitInfos($1.KeyHitInfos value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasKeyHitInfos() => $_has(3);
  @$pb.TagNumber(4)
  void clearKeyHitInfos() => $_clearField(4);
  @$pb.TagNumber(4)
  $1.KeyHitInfos ensureKeyHitInfos() => $_ensure(3);

  @$pb.TagNumber(5)
  $1.RichTextMsgContent get richTextMsgContent => $_getN(4);
  @$pb.TagNumber(5)
  set richTextMsgContent($1.RichTextMsgContent value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasRichTextMsgContent() => $_has(4);
  @$pb.TagNumber(5)
  void clearRichTextMsgContent() => $_clearField(5);
  @$pb.TagNumber(5)
  $1.RichTextMsgContent ensureRichTextMsgContent() => $_ensure(4);

  @$pb.TagNumber(6)
  $fixnum.Int64 get seqno => $_getI64(5);
  @$pb.TagNumber(6)
  set seqno($fixnum.Int64 value) => $_setInt64(5, value);
  @$pb.TagNumber(6)
  $core.bool hasSeqno() => $_has(5);
  @$pb.TagNumber(6)
  void clearSeqno() => $_clearField(6);
}

class RspSessionDetails extends $pb.GeneratedMessage {
  factory RspSessionDetails({
    $core.Iterable<$1.SessionInfo>? sessInfos,
  }) {
    final result = create();
    if (sessInfos != null) result.sessInfos.addAll(sessInfos);
    return result;
  }

  RspSessionDetails._();

  factory RspSessionDetails.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspSessionDetails.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspSessionDetails',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..pPM<$1.SessionInfo>(1, _omitFieldNames ? '' : 'sessInfos',
        subBuilder: $1.SessionInfo.create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSessionDetails clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSessionDetails copyWith(void Function(RspSessionDetails) updates) =>
      super.copyWith((message) => updates(message as RspSessionDetails))
          as RspSessionDetails;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspSessionDetails create() => RspSessionDetails._();
  @$core.override
  RspSessionDetails createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspSessionDetails getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspSessionDetails>(create);
  static RspSessionDetails? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<$1.SessionInfo> get sessInfos => $_getList(0);
}

class RspSessionMsg extends $pb.GeneratedMessage {
  factory RspSessionMsg({
    $core.Iterable<$1.Msg>? messages,
    $core.int? hasMore,
    $fixnum.Int64? minSeqno,
    $fixnum.Int64? maxSeqno,
    $core.Iterable<EmotionInfo>? eInfos,
  }) {
    final result = create();
    if (messages != null) result.messages.addAll(messages);
    if (hasMore != null) result.hasMore = hasMore;
    if (minSeqno != null) result.minSeqno = minSeqno;
    if (maxSeqno != null) result.maxSeqno = maxSeqno;
    if (eInfos != null) result.eInfos.addAll(eInfos);
    return result;
  }

  RspSessionMsg._();

  factory RspSessionMsg.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspSessionMsg.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspSessionMsg',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..pPM<$1.Msg>(1, _omitFieldNames ? '' : 'messages',
        subBuilder: $1.Msg.create)
    ..aI(2, _omitFieldNames ? '' : 'hasMore')
    ..aInt64(3, _omitFieldNames ? '' : 'minSeqno')
    ..aInt64(4, _omitFieldNames ? '' : 'maxSeqno')
    ..pPM<EmotionInfo>(5, _omitFieldNames ? '' : 'eInfos',
        subBuilder: EmotionInfo.create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSessionMsg clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSessionMsg copyWith(void Function(RspSessionMsg) updates) =>
      super.copyWith((message) => updates(message as RspSessionMsg))
          as RspSessionMsg;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspSessionMsg create() => RspSessionMsg._();
  @$core.override
  RspSessionMsg createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspSessionMsg getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspSessionMsg>(create);
  static RspSessionMsg? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<$1.Msg> get messages => $_getList(0);

  @$pb.TagNumber(2)
  $core.int get hasMore => $_getIZ(1);
  @$pb.TagNumber(2)
  set hasMore($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasHasMore() => $_has(1);
  @$pb.TagNumber(2)
  void clearHasMore() => $_clearField(2);

  @$pb.TagNumber(3)
  $fixnum.Int64 get minSeqno => $_getI64(2);
  @$pb.TagNumber(3)
  set minSeqno($fixnum.Int64 value) => $_setInt64(2, value);
  @$pb.TagNumber(3)
  $core.bool hasMinSeqno() => $_has(2);
  @$pb.TagNumber(3)
  void clearMinSeqno() => $_clearField(3);

  @$pb.TagNumber(4)
  $fixnum.Int64 get maxSeqno => $_getI64(3);
  @$pb.TagNumber(4)
  set maxSeqno($fixnum.Int64 value) => $_setInt64(3, value);
  @$pb.TagNumber(4)
  $core.bool hasMaxSeqno() => $_has(3);
  @$pb.TagNumber(4)
  void clearMaxSeqno() => $_clearField(4);

  @$pb.TagNumber(5)
  $pb.PbList<EmotionInfo> get eInfos => $_getList(4);
}

class RspSessions extends $pb.GeneratedMessage {
  factory RspSessions({
    $core.Iterable<$1.SessionInfo>? sessionList,
    $core.int? hasMore,
    $core.bool? antiDisturbCleaning,
    $core.int? isAddressListEmpty,
    $core.Iterable<$core.MapEntry<$core.int, $fixnum.Int64>>? systemMsg,
    $core.bool? showLevel,
  }) {
    final result = create();
    if (sessionList != null) result.sessionList.addAll(sessionList);
    if (hasMore != null) result.hasMore = hasMore;
    if (antiDisturbCleaning != null)
      result.antiDisturbCleaning = antiDisturbCleaning;
    if (isAddressListEmpty != null)
      result.isAddressListEmpty = isAddressListEmpty;
    if (systemMsg != null) result.systemMsg.addEntries(systemMsg);
    if (showLevel != null) result.showLevel = showLevel;
    return result;
  }

  RspSessions._();

  factory RspSessions.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspSessions.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspSessions',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..pPM<$1.SessionInfo>(1, _omitFieldNames ? '' : 'sessionList',
        subBuilder: $1.SessionInfo.create)
    ..aI(2, _omitFieldNames ? '' : 'hasMore')
    ..aOB(3, _omitFieldNames ? '' : 'antiDisturbCleaning')
    ..aI(4, _omitFieldNames ? '' : 'isAddressListEmpty')
    ..m<$core.int, $fixnum.Int64>(5, _omitFieldNames ? '' : 'systemMsg',
        entryClassName: 'RspSessions.SystemMsgEntry',
        keyFieldType: $pb.PbFieldType.O3,
        valueFieldType: $pb.PbFieldType.O6,
        packageName: const $pb.PackageName('bilibili.im.interfaces.v1'))
    ..aOB(6, _omitFieldNames ? '' : 'showLevel')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSessions clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSessions copyWith(void Function(RspSessions) updates) =>
      super.copyWith((message) => updates(message as RspSessions))
          as RspSessions;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspSessions create() => RspSessions._();
  @$core.override
  RspSessions createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspSessions getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspSessions>(create);
  static RspSessions? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<$1.SessionInfo> get sessionList => $_getList(0);

  @$pb.TagNumber(2)
  $core.int get hasMore => $_getIZ(1);
  @$pb.TagNumber(2)
  set hasMore($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasHasMore() => $_has(1);
  @$pb.TagNumber(2)
  void clearHasMore() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.bool get antiDisturbCleaning => $_getBF(2);
  @$pb.TagNumber(3)
  set antiDisturbCleaning($core.bool value) => $_setBool(2, value);
  @$pb.TagNumber(3)
  $core.bool hasAntiDisturbCleaning() => $_has(2);
  @$pb.TagNumber(3)
  void clearAntiDisturbCleaning() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.int get isAddressListEmpty => $_getIZ(3);
  @$pb.TagNumber(4)
  set isAddressListEmpty($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasIsAddressListEmpty() => $_has(3);
  @$pb.TagNumber(4)
  void clearIsAddressListEmpty() => $_clearField(4);

  @$pb.TagNumber(5)
  $pb.PbMap<$core.int, $fixnum.Int64> get systemMsg => $_getMap(4);

  @$pb.TagNumber(6)
  $core.bool get showLevel => $_getBF(5);
  @$pb.TagNumber(6)
  set showLevel($core.bool value) => $_setBool(5, value);
  @$pb.TagNumber(6)
  $core.bool hasShowLevel() => $_has(5);
  @$pb.TagNumber(6)
  void clearShowLevel() => $_clearField(6);
}

class RspShareList extends $pb.GeneratedMessage {
  factory RspShareList({
    $core.Iterable<ShareSessionInfo>? sessionList,
    $core.int? isAddressListEmpty,
  }) {
    final result = create();
    if (sessionList != null) result.sessionList.addAll(sessionList);
    if (isAddressListEmpty != null)
      result.isAddressListEmpty = isAddressListEmpty;
    return result;
  }

  RspShareList._();

  factory RspShareList.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspShareList.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspShareList',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..pPM<ShareSessionInfo>(1, _omitFieldNames ? '' : 'sessionList',
        subBuilder: ShareSessionInfo.create)
    ..aI(2, _omitFieldNames ? '' : 'isAddressListEmpty')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspShareList clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspShareList copyWith(void Function(RspShareList) updates) =>
      super.copyWith((message) => updates(message as RspShareList))
          as RspShareList;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspShareList create() => RspShareList._();
  @$core.override
  RspShareList createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspShareList getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspShareList>(create);
  static RspShareList? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<ShareSessionInfo> get sessionList => $_getList(0);

  @$pb.TagNumber(2)
  $core.int get isAddressListEmpty => $_getIZ(1);
  @$pb.TagNumber(2)
  set isAddressListEmpty($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasIsAddressListEmpty() => $_has(1);
  @$pb.TagNumber(2)
  void clearIsAddressListEmpty() => $_clearField(2);
}

class RspShowClearUnreadUI extends $pb.GeneratedMessage {
  factory RspShowClearUnreadUI({
    $core.bool? display,
    $core.String? text,
  }) {
    final result = create();
    if (display != null) result.display = display;
    if (text != null) result.text = text;
    return result;
  }

  RspShowClearUnreadUI._();

  factory RspShowClearUnreadUI.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspShowClearUnreadUI.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspShowClearUnreadUI',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aOB(1, _omitFieldNames ? '' : 'display')
    ..aOS(2, _omitFieldNames ? '' : 'text')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspShowClearUnreadUI clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspShowClearUnreadUI copyWith(void Function(RspShowClearUnreadUI) updates) =>
      super.copyWith((message) => updates(message as RspShowClearUnreadUI))
          as RspShowClearUnreadUI;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspShowClearUnreadUI create() => RspShowClearUnreadUI._();
  @$core.override
  RspShowClearUnreadUI createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspShowClearUnreadUI getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspShowClearUnreadUI>(create);
  static RspShowClearUnreadUI? _defaultInstance;

  @$pb.TagNumber(1)
  $core.bool get display => $_getBF(0);
  @$pb.TagNumber(1)
  set display($core.bool value) => $_setBool(0, value);
  @$pb.TagNumber(1)
  $core.bool hasDisplay() => $_has(0);
  @$pb.TagNumber(1)
  void clearDisplay() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get text => $_getSZ(1);
  @$pb.TagNumber(2)
  set text($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasText() => $_has(1);
  @$pb.TagNumber(2)
  void clearText() => $_clearField(2);
}

class RspSingleUnread extends $pb.GeneratedMessage {
  factory RspSingleUnread({
    $fixnum.Int64? unfollowUnread,
    $fixnum.Int64? followUnread,
    $core.int? unfollowPushMsg,
    $core.int? dustbinPushMsg,
    $fixnum.Int64? dustbinUnread,
    $fixnum.Int64? bizMsgUnfollowUnread,
    $fixnum.Int64? bizMsgFollowUnread,
  }) {
    final result = create();
    if (unfollowUnread != null) result.unfollowUnread = unfollowUnread;
    if (followUnread != null) result.followUnread = followUnread;
    if (unfollowPushMsg != null) result.unfollowPushMsg = unfollowPushMsg;
    if (dustbinPushMsg != null) result.dustbinPushMsg = dustbinPushMsg;
    if (dustbinUnread != null) result.dustbinUnread = dustbinUnread;
    if (bizMsgUnfollowUnread != null)
      result.bizMsgUnfollowUnread = bizMsgUnfollowUnread;
    if (bizMsgFollowUnread != null)
      result.bizMsgFollowUnread = bizMsgFollowUnread;
    return result;
  }

  RspSingleUnread._();

  factory RspSingleUnread.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspSingleUnread.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspSingleUnread',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'unfollowUnread')
    ..aInt64(2, _omitFieldNames ? '' : 'followUnread')
    ..aI(3, _omitFieldNames ? '' : 'unfollowPushMsg')
    ..aI(4, _omitFieldNames ? '' : 'dustbinPushMsg')
    ..aInt64(5, _omitFieldNames ? '' : 'dustbinUnread')
    ..aInt64(6, _omitFieldNames ? '' : 'bizMsgUnfollowUnread')
    ..aInt64(7, _omitFieldNames ? '' : 'bizMsgFollowUnread')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSingleUnread clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSingleUnread copyWith(void Function(RspSingleUnread) updates) =>
      super.copyWith((message) => updates(message as RspSingleUnread))
          as RspSingleUnread;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspSingleUnread create() => RspSingleUnread._();
  @$core.override
  RspSingleUnread createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspSingleUnread getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspSingleUnread>(create);
  static RspSingleUnread? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get unfollowUnread => $_getI64(0);
  @$pb.TagNumber(1)
  set unfollowUnread($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasUnfollowUnread() => $_has(0);
  @$pb.TagNumber(1)
  void clearUnfollowUnread() => $_clearField(1);

  @$pb.TagNumber(2)
  $fixnum.Int64 get followUnread => $_getI64(1);
  @$pb.TagNumber(2)
  set followUnread($fixnum.Int64 value) => $_setInt64(1, value);
  @$pb.TagNumber(2)
  $core.bool hasFollowUnread() => $_has(1);
  @$pb.TagNumber(2)
  void clearFollowUnread() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.int get unfollowPushMsg => $_getIZ(2);
  @$pb.TagNumber(3)
  set unfollowPushMsg($core.int value) => $_setSignedInt32(2, value);
  @$pb.TagNumber(3)
  $core.bool hasUnfollowPushMsg() => $_has(2);
  @$pb.TagNumber(3)
  void clearUnfollowPushMsg() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.int get dustbinPushMsg => $_getIZ(3);
  @$pb.TagNumber(4)
  set dustbinPushMsg($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasDustbinPushMsg() => $_has(3);
  @$pb.TagNumber(4)
  void clearDustbinPushMsg() => $_clearField(4);

  @$pb.TagNumber(5)
  $fixnum.Int64 get dustbinUnread => $_getI64(4);
  @$pb.TagNumber(5)
  set dustbinUnread($fixnum.Int64 value) => $_setInt64(4, value);
  @$pb.TagNumber(5)
  $core.bool hasDustbinUnread() => $_has(4);
  @$pb.TagNumber(5)
  void clearDustbinUnread() => $_clearField(5);

  @$pb.TagNumber(6)
  $fixnum.Int64 get bizMsgUnfollowUnread => $_getI64(5);
  @$pb.TagNumber(6)
  set bizMsgUnfollowUnread($fixnum.Int64 value) => $_setInt64(5, value);
  @$pb.TagNumber(6)
  $core.bool hasBizMsgUnfollowUnread() => $_has(5);
  @$pb.TagNumber(6)
  void clearBizMsgUnfollowUnread() => $_clearField(6);

  @$pb.TagNumber(7)
  $fixnum.Int64 get bizMsgFollowUnread => $_getI64(6);
  @$pb.TagNumber(7)
  set bizMsgFollowUnread($fixnum.Int64 value) => $_setInt64(6, value);
  @$pb.TagNumber(7)
  $core.bool hasBizMsgFollowUnread() => $_has(6);
  @$pb.TagNumber(7)
  void clearBizMsgFollowUnread() => $_clearField(7);
}

class RspSpecificSingleUnread extends $pb.GeneratedMessage {
  factory RspSpecificSingleUnread({
    $core.Iterable<$core.MapEntry<$fixnum.Int64, $fixnum.Int64>>?
        talkerUnreadCnt,
    $fixnum.Int64? allUnreadCnt,
  }) {
    final result = create();
    if (talkerUnreadCnt != null)
      result.talkerUnreadCnt.addEntries(talkerUnreadCnt);
    if (allUnreadCnt != null) result.allUnreadCnt = allUnreadCnt;
    return result;
  }

  RspSpecificSingleUnread._();

  factory RspSpecificSingleUnread.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspSpecificSingleUnread.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspSpecificSingleUnread',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..m<$fixnum.Int64, $fixnum.Int64>(
        1, _omitFieldNames ? '' : 'talkerUnreadCnt',
        entryClassName: 'RspSpecificSingleUnread.TalkerUnreadCntEntry',
        keyFieldType: $pb.PbFieldType.O6,
        valueFieldType: $pb.PbFieldType.O6,
        packageName: const $pb.PackageName('bilibili.im.interfaces.v1'))
    ..aInt64(2, _omitFieldNames ? '' : 'allUnreadCnt')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSpecificSingleUnread clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSpecificSingleUnread copyWith(
          void Function(RspSpecificSingleUnread) updates) =>
      super.copyWith((message) => updates(message as RspSpecificSingleUnread))
          as RspSpecificSingleUnread;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspSpecificSingleUnread create() => RspSpecificSingleUnread._();
  @$core.override
  RspSpecificSingleUnread createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspSpecificSingleUnread getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspSpecificSingleUnread>(create);
  static RspSpecificSingleUnread? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbMap<$fixnum.Int64, $fixnum.Int64> get talkerUnreadCnt => $_getMap(0);

  @$pb.TagNumber(2)
  $fixnum.Int64 get allUnreadCnt => $_getI64(1);
  @$pb.TagNumber(2)
  set allUnreadCnt($fixnum.Int64 value) => $_setInt64(1, value);
  @$pb.TagNumber(2)
  $core.bool hasAllUnreadCnt() => $_has(1);
  @$pb.TagNumber(2)
  void clearAllUnreadCnt() => $_clearField(2);
}

class RspSyncAck extends $pb.GeneratedMessage {
  factory RspSyncAck() => create();

  RspSyncAck._();

  factory RspSyncAck.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspSyncAck.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspSyncAck',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSyncAck clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspSyncAck copyWith(void Function(RspSyncAck) updates) =>
      super.copyWith((message) => updates(message as RspSyncAck)) as RspSyncAck;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspSyncAck create() => RspSyncAck._();
  @$core.override
  RspSyncAck createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspSyncAck getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspSyncAck>(create);
  static RspSyncAck? _defaultInstance;
}

class RspTotalUnread extends $pb.GeneratedMessage {
  factory RspTotalUnread({
    SessionSingleUnreadRsp? sessionSingleUnread,
    MsgFeedUnreadRsp? msgFeedUnread,
    SysMsgInterfaceLastMsgRsp? sysMsgInterfaceLastMsg,
    $core.int? totalUnread,
    $fixnum.Int64? customUnread,
    NewTotalUnread? newTotalUnread,
  }) {
    final result = create();
    if (sessionSingleUnread != null)
      result.sessionSingleUnread = sessionSingleUnread;
    if (msgFeedUnread != null) result.msgFeedUnread = msgFeedUnread;
    if (sysMsgInterfaceLastMsg != null)
      result.sysMsgInterfaceLastMsg = sysMsgInterfaceLastMsg;
    if (totalUnread != null) result.totalUnread = totalUnread;
    if (customUnread != null) result.customUnread = customUnread;
    if (newTotalUnread != null) result.newTotalUnread = newTotalUnread;
    return result;
  }

  RspTotalUnread._();

  factory RspTotalUnread.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspTotalUnread.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspTotalUnread',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aOM<SessionSingleUnreadRsp>(
        1, _omitFieldNames ? '' : 'sessionSingleUnread',
        subBuilder: SessionSingleUnreadRsp.create)
    ..aOM<MsgFeedUnreadRsp>(2, _omitFieldNames ? '' : 'msgFeedUnread',
        subBuilder: MsgFeedUnreadRsp.create)
    ..aOM<SysMsgInterfaceLastMsgRsp>(
        3, _omitFieldNames ? '' : 'sysMsgInterfaceLastMsg',
        subBuilder: SysMsgInterfaceLastMsgRsp.create)
    ..aI(4, _omitFieldNames ? '' : 'totalUnread')
    ..aInt64(5, _omitFieldNames ? '' : 'customUnread')
    ..aOM<NewTotalUnread>(6, _omitFieldNames ? '' : 'newTotalUnread',
        subBuilder: NewTotalUnread.create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspTotalUnread clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspTotalUnread copyWith(void Function(RspTotalUnread) updates) =>
      super.copyWith((message) => updates(message as RspTotalUnread))
          as RspTotalUnread;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspTotalUnread create() => RspTotalUnread._();
  @$core.override
  RspTotalUnread createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspTotalUnread getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspTotalUnread>(create);
  static RspTotalUnread? _defaultInstance;

  @$pb.TagNumber(1)
  SessionSingleUnreadRsp get sessionSingleUnread => $_getN(0);
  @$pb.TagNumber(1)
  set sessionSingleUnread(SessionSingleUnreadRsp value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasSessionSingleUnread() => $_has(0);
  @$pb.TagNumber(1)
  void clearSessionSingleUnread() => $_clearField(1);
  @$pb.TagNumber(1)
  SessionSingleUnreadRsp ensureSessionSingleUnread() => $_ensure(0);

  @$pb.TagNumber(2)
  MsgFeedUnreadRsp get msgFeedUnread => $_getN(1);
  @$pb.TagNumber(2)
  set msgFeedUnread(MsgFeedUnreadRsp value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasMsgFeedUnread() => $_has(1);
  @$pb.TagNumber(2)
  void clearMsgFeedUnread() => $_clearField(2);
  @$pb.TagNumber(2)
  MsgFeedUnreadRsp ensureMsgFeedUnread() => $_ensure(1);

  @$pb.TagNumber(3)
  SysMsgInterfaceLastMsgRsp get sysMsgInterfaceLastMsg => $_getN(2);
  @$pb.TagNumber(3)
  set sysMsgInterfaceLastMsg(SysMsgInterfaceLastMsgRsp value) =>
      $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasSysMsgInterfaceLastMsg() => $_has(2);
  @$pb.TagNumber(3)
  void clearSysMsgInterfaceLastMsg() => $_clearField(3);
  @$pb.TagNumber(3)
  SysMsgInterfaceLastMsgRsp ensureSysMsgInterfaceLastMsg() => $_ensure(2);

  @$pb.TagNumber(4)
  $core.int get totalUnread => $_getIZ(3);
  @$pb.TagNumber(4)
  set totalUnread($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasTotalUnread() => $_has(3);
  @$pb.TagNumber(4)
  void clearTotalUnread() => $_clearField(4);

  @$pb.TagNumber(5)
  $fixnum.Int64 get customUnread => $_getI64(4);
  @$pb.TagNumber(5)
  set customUnread($fixnum.Int64 value) => $_setInt64(4, value);
  @$pb.TagNumber(5)
  $core.bool hasCustomUnread() => $_has(4);
  @$pb.TagNumber(5)
  void clearCustomUnread() => $_clearField(5);

  @$pb.TagNumber(6)
  NewTotalUnread get newTotalUnread => $_getN(5);
  @$pb.TagNumber(6)
  set newTotalUnread(NewTotalUnread value) => $_setField(6, value);
  @$pb.TagNumber(6)
  $core.bool hasNewTotalUnread() => $_has(5);
  @$pb.TagNumber(6)
  void clearNewTotalUnread() => $_clearField(6);
  @$pb.TagNumber(6)
  NewTotalUnread ensureNewTotalUnread() => $_ensure(5);
}

class RspUpdateTotalUnread extends $pb.GeneratedMessage {
  factory RspUpdateTotalUnread() => create();

  RspUpdateTotalUnread._();

  factory RspUpdateTotalUnread.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory RspUpdateTotalUnread.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'RspUpdateTotalUnread',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspUpdateTotalUnread clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  RspUpdateTotalUnread copyWith(void Function(RspUpdateTotalUnread) updates) =>
      super.copyWith((message) => updates(message as RspUpdateTotalUnread))
          as RspUpdateTotalUnread;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RspUpdateTotalUnread create() => RspUpdateTotalUnread._();
  @$core.override
  RspUpdateTotalUnread createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static RspUpdateTotalUnread getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<RspUpdateTotalUnread>(create);
  static RspUpdateTotalUnread? _defaultInstance;
}

class SessionSingleUnreadRsp extends $pb.GeneratedMessage {
  factory SessionSingleUnreadRsp({
    $fixnum.Int64? unfollowUnread,
    $fixnum.Int64? followUnread,
    $core.int? unfollowPushMsg,
    $core.int? dustbinPushMsg,
    $fixnum.Int64? dustbinUnread,
    $fixnum.Int64? bizMsgUnfollowUnread,
    $fixnum.Int64? bizMsgFollowUnread,
    $fixnum.Int64? huahuoUnread,
    $fixnum.Int64? customUnread,
  }) {
    final result = create();
    if (unfollowUnread != null) result.unfollowUnread = unfollowUnread;
    if (followUnread != null) result.followUnread = followUnread;
    if (unfollowPushMsg != null) result.unfollowPushMsg = unfollowPushMsg;
    if (dustbinPushMsg != null) result.dustbinPushMsg = dustbinPushMsg;
    if (dustbinUnread != null) result.dustbinUnread = dustbinUnread;
    if (bizMsgUnfollowUnread != null)
      result.bizMsgUnfollowUnread = bizMsgUnfollowUnread;
    if (bizMsgFollowUnread != null)
      result.bizMsgFollowUnread = bizMsgFollowUnread;
    if (huahuoUnread != null) result.huahuoUnread = huahuoUnread;
    if (customUnread != null) result.customUnread = customUnread;
    return result;
  }

  SessionSingleUnreadRsp._();

  factory SessionSingleUnreadRsp.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory SessionSingleUnreadRsp.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'SessionSingleUnreadRsp',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'unfollowUnread')
    ..aInt64(2, _omitFieldNames ? '' : 'followUnread')
    ..aI(3, _omitFieldNames ? '' : 'unfollowPushMsg')
    ..aI(4, _omitFieldNames ? '' : 'dustbinPushMsg')
    ..aInt64(5, _omitFieldNames ? '' : 'dustbinUnread')
    ..aInt64(6, _omitFieldNames ? '' : 'bizMsgUnfollowUnread')
    ..aInt64(7, _omitFieldNames ? '' : 'bizMsgFollowUnread')
    ..aInt64(8, _omitFieldNames ? '' : 'huahuoUnread')
    ..aInt64(9, _omitFieldNames ? '' : 'customUnread')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  SessionSingleUnreadRsp clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  SessionSingleUnreadRsp copyWith(
          void Function(SessionSingleUnreadRsp) updates) =>
      super.copyWith((message) => updates(message as SessionSingleUnreadRsp))
          as SessionSingleUnreadRsp;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static SessionSingleUnreadRsp create() => SessionSingleUnreadRsp._();
  @$core.override
  SessionSingleUnreadRsp createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static SessionSingleUnreadRsp getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<SessionSingleUnreadRsp>(create);
  static SessionSingleUnreadRsp? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get unfollowUnread => $_getI64(0);
  @$pb.TagNumber(1)
  set unfollowUnread($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasUnfollowUnread() => $_has(0);
  @$pb.TagNumber(1)
  void clearUnfollowUnread() => $_clearField(1);

  @$pb.TagNumber(2)
  $fixnum.Int64 get followUnread => $_getI64(1);
  @$pb.TagNumber(2)
  set followUnread($fixnum.Int64 value) => $_setInt64(1, value);
  @$pb.TagNumber(2)
  $core.bool hasFollowUnread() => $_has(1);
  @$pb.TagNumber(2)
  void clearFollowUnread() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.int get unfollowPushMsg => $_getIZ(2);
  @$pb.TagNumber(3)
  set unfollowPushMsg($core.int value) => $_setSignedInt32(2, value);
  @$pb.TagNumber(3)
  $core.bool hasUnfollowPushMsg() => $_has(2);
  @$pb.TagNumber(3)
  void clearUnfollowPushMsg() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.int get dustbinPushMsg => $_getIZ(3);
  @$pb.TagNumber(4)
  set dustbinPushMsg($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasDustbinPushMsg() => $_has(3);
  @$pb.TagNumber(4)
  void clearDustbinPushMsg() => $_clearField(4);

  @$pb.TagNumber(5)
  $fixnum.Int64 get dustbinUnread => $_getI64(4);
  @$pb.TagNumber(5)
  set dustbinUnread($fixnum.Int64 value) => $_setInt64(4, value);
  @$pb.TagNumber(5)
  $core.bool hasDustbinUnread() => $_has(4);
  @$pb.TagNumber(5)
  void clearDustbinUnread() => $_clearField(5);

  @$pb.TagNumber(6)
  $fixnum.Int64 get bizMsgUnfollowUnread => $_getI64(5);
  @$pb.TagNumber(6)
  set bizMsgUnfollowUnread($fixnum.Int64 value) => $_setInt64(5, value);
  @$pb.TagNumber(6)
  $core.bool hasBizMsgUnfollowUnread() => $_has(5);
  @$pb.TagNumber(6)
  void clearBizMsgUnfollowUnread() => $_clearField(6);

  @$pb.TagNumber(7)
  $fixnum.Int64 get bizMsgFollowUnread => $_getI64(6);
  @$pb.TagNumber(7)
  set bizMsgFollowUnread($fixnum.Int64 value) => $_setInt64(6, value);
  @$pb.TagNumber(7)
  $core.bool hasBizMsgFollowUnread() => $_has(6);
  @$pb.TagNumber(7)
  void clearBizMsgFollowUnread() => $_clearField(7);

  @$pb.TagNumber(8)
  $fixnum.Int64 get huahuoUnread => $_getI64(7);
  @$pb.TagNumber(8)
  set huahuoUnread($fixnum.Int64 value) => $_setInt64(7, value);
  @$pb.TagNumber(8)
  $core.bool hasHuahuoUnread() => $_has(7);
  @$pb.TagNumber(8)
  void clearHuahuoUnread() => $_clearField(8);

  @$pb.TagNumber(9)
  $fixnum.Int64 get customUnread => $_getI64(8);
  @$pb.TagNumber(9)
  set customUnread($fixnum.Int64 value) => $_setInt64(8, value);
  @$pb.TagNumber(9)
  $core.bool hasCustomUnread() => $_has(8);
  @$pb.TagNumber(9)
  void clearCustomUnread() => $_clearField(9);
}

class ShareSessionInfo extends $pb.GeneratedMessage {
  factory ShareSessionInfo({
    $fixnum.Int64? talkerId,
    $core.String? talkerUname,
    $core.String? talkerIcon,
    $core.int? officialType,
  }) {
    final result = create();
    if (talkerId != null) result.talkerId = talkerId;
    if (talkerUname != null) result.talkerUname = talkerUname;
    if (talkerIcon != null) result.talkerIcon = talkerIcon;
    if (officialType != null) result.officialType = officialType;
    return result;
  }

  ShareSessionInfo._();

  factory ShareSessionInfo.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory ShareSessionInfo.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ShareSessionInfo',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'talkerId')
    ..aOS(2, _omitFieldNames ? '' : 'talkerUname')
    ..aOS(3, _omitFieldNames ? '' : 'talkerIcon')
    ..aI(4, _omitFieldNames ? '' : 'officialType')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ShareSessionInfo clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ShareSessionInfo copyWith(void Function(ShareSessionInfo) updates) =>
      super.copyWith((message) => updates(message as ShareSessionInfo))
          as ShareSessionInfo;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ShareSessionInfo create() => ShareSessionInfo._();
  @$core.override
  ShareSessionInfo createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static ShareSessionInfo getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ShareSessionInfo>(create);
  static ShareSessionInfo? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get talkerId => $_getI64(0);
  @$pb.TagNumber(1)
  set talkerId($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasTalkerId() => $_has(0);
  @$pb.TagNumber(1)
  void clearTalkerId() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get talkerUname => $_getSZ(1);
  @$pb.TagNumber(2)
  set talkerUname($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasTalkerUname() => $_has(1);
  @$pb.TagNumber(2)
  void clearTalkerUname() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get talkerIcon => $_getSZ(2);
  @$pb.TagNumber(3)
  set talkerIcon($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasTalkerIcon() => $_has(2);
  @$pb.TagNumber(3)
  void clearTalkerIcon() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.int get officialType => $_getIZ(3);
  @$pb.TagNumber(4)
  set officialType($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasOfficialType() => $_has(3);
  @$pb.TagNumber(4)
  void clearOfficialType() => $_clearField(4);
}

class SimpleSession extends $pb.GeneratedMessage {
  factory SimpleSession({
    $fixnum.Int64? talkerId,
    $core.int? sessionType,
  }) {
    final result = create();
    if (talkerId != null) result.talkerId = talkerId;
    if (sessionType != null) result.sessionType = sessionType;
    return result;
  }

  SimpleSession._();

  factory SimpleSession.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory SimpleSession.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'SimpleSession',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'talkerId')
    ..aI(2, _omitFieldNames ? '' : 'sessionType')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  SimpleSession clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  SimpleSession copyWith(void Function(SimpleSession) updates) =>
      super.copyWith((message) => updates(message as SimpleSession))
          as SimpleSession;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static SimpleSession create() => SimpleSession._();
  @$core.override
  SimpleSession createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static SimpleSession getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<SimpleSession>(create);
  static SimpleSession? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get talkerId => $_getI64(0);
  @$pb.TagNumber(1)
  set talkerId($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasTalkerId() => $_has(0);
  @$pb.TagNumber(1)
  void clearTalkerId() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get sessionType => $_getIZ(1);
  @$pb.TagNumber(2)
  set sessionType($core.int value) => $_setSignedInt32(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSessionType() => $_has(1);
  @$pb.TagNumber(2)
  void clearSessionType() => $_clearField(2);
}

class SingleDiscussInImPage extends $pb.GeneratedMessage {
  factory SingleDiscussInImPage({
    $fixnum.Int64? discussId,
    $fixnum.Int64? mid,
    $core.String? face,
    $core.String? name,
    $core.int? unreadCount,
    $core.int? type,
  }) {
    final result = create();
    if (discussId != null) result.discussId = discussId;
    if (mid != null) result.mid = mid;
    if (face != null) result.face = face;
    if (name != null) result.name = name;
    if (unreadCount != null) result.unreadCount = unreadCount;
    if (type != null) result.type = type;
    return result;
  }

  SingleDiscussInImPage._();

  factory SingleDiscussInImPage.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory SingleDiscussInImPage.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'SingleDiscussInImPage',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'discussId')
    ..aInt64(2, _omitFieldNames ? '' : 'mid')
    ..aOS(3, _omitFieldNames ? '' : 'face')
    ..aOS(4, _omitFieldNames ? '' : 'name')
    ..aI(5, _omitFieldNames ? '' : 'unreadCount')
    ..aI(6, _omitFieldNames ? '' : 'type')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  SingleDiscussInImPage clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  SingleDiscussInImPage copyWith(
          void Function(SingleDiscussInImPage) updates) =>
      super.copyWith((message) => updates(message as SingleDiscussInImPage))
          as SingleDiscussInImPage;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static SingleDiscussInImPage create() => SingleDiscussInImPage._();
  @$core.override
  SingleDiscussInImPage createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static SingleDiscussInImPage getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<SingleDiscussInImPage>(create);
  static SingleDiscussInImPage? _defaultInstance;

  @$pb.TagNumber(1)
  $fixnum.Int64 get discussId => $_getI64(0);
  @$pb.TagNumber(1)
  set discussId($fixnum.Int64 value) => $_setInt64(0, value);
  @$pb.TagNumber(1)
  $core.bool hasDiscussId() => $_has(0);
  @$pb.TagNumber(1)
  void clearDiscussId() => $_clearField(1);

  @$pb.TagNumber(2)
  $fixnum.Int64 get mid => $_getI64(1);
  @$pb.TagNumber(2)
  set mid($fixnum.Int64 value) => $_setInt64(1, value);
  @$pb.TagNumber(2)
  $core.bool hasMid() => $_has(1);
  @$pb.TagNumber(2)
  void clearMid() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get face => $_getSZ(2);
  @$pb.TagNumber(3)
  set face($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasFace() => $_has(2);
  @$pb.TagNumber(3)
  void clearFace() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.String get name => $_getSZ(3);
  @$pb.TagNumber(4)
  set name($core.String value) => $_setString(3, value);
  @$pb.TagNumber(4)
  $core.bool hasName() => $_has(3);
  @$pb.TagNumber(4)
  void clearName() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.int get unreadCount => $_getIZ(4);
  @$pb.TagNumber(5)
  set unreadCount($core.int value) => $_setSignedInt32(4, value);
  @$pb.TagNumber(5)
  $core.bool hasUnreadCount() => $_has(4);
  @$pb.TagNumber(5)
  void clearUnreadCount() => $_clearField(5);

  @$pb.TagNumber(6)
  $core.int get type => $_getIZ(5);
  @$pb.TagNumber(6)
  set type($core.int value) => $_setSignedInt32(5, value);
  @$pb.TagNumber(6)
  $core.bool hasType() => $_has(5);
  @$pb.TagNumber(6)
  void clearType() => $_clearField(6);
}

class SysMsgInterfaceLastMsgRsp extends $pb.GeneratedMessage {
  factory SysMsgInterfaceLastMsgRsp({
    $core.int? unread,
    $core.String? title,
    $core.String? time,
    $fixnum.Int64? id,
  }) {
    final result = create();
    if (unread != null) result.unread = unread;
    if (title != null) result.title = title;
    if (time != null) result.time = time;
    if (id != null) result.id = id;
    return result;
  }

  SysMsgInterfaceLastMsgRsp._();

  factory SysMsgInterfaceLastMsgRsp.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory SysMsgInterfaceLastMsgRsp.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'SysMsgInterfaceLastMsgRsp',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aI(1, _omitFieldNames ? '' : 'unread')
    ..aOS(2, _omitFieldNames ? '' : 'title')
    ..aOS(3, _omitFieldNames ? '' : 'time')
    ..aInt64(4, _omitFieldNames ? '' : 'id')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  SysMsgInterfaceLastMsgRsp clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  SysMsgInterfaceLastMsgRsp copyWith(
          void Function(SysMsgInterfaceLastMsgRsp) updates) =>
      super.copyWith((message) => updates(message as SysMsgInterfaceLastMsgRsp))
          as SysMsgInterfaceLastMsgRsp;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static SysMsgInterfaceLastMsgRsp create() => SysMsgInterfaceLastMsgRsp._();
  @$core.override
  SysMsgInterfaceLastMsgRsp createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static SysMsgInterfaceLastMsgRsp getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<SysMsgInterfaceLastMsgRsp>(create);
  static SysMsgInterfaceLastMsgRsp? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get unread => $_getIZ(0);
  @$pb.TagNumber(1)
  set unread($core.int value) => $_setSignedInt32(0, value);
  @$pb.TagNumber(1)
  $core.bool hasUnread() => $_has(0);
  @$pb.TagNumber(1)
  void clearUnread() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get title => $_getSZ(1);
  @$pb.TagNumber(2)
  set title($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasTitle() => $_has(1);
  @$pb.TagNumber(2)
  void clearTitle() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get time => $_getSZ(2);
  @$pb.TagNumber(3)
  set time($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasTime() => $_has(2);
  @$pb.TagNumber(3)
  void clearTime() => $_clearField(3);

  @$pb.TagNumber(4)
  $fixnum.Int64 get id => $_getI64(3);
  @$pb.TagNumber(4)
  set id($fixnum.Int64 value) => $_setInt64(3, value);
  @$pb.TagNumber(4)
  $core.bool hasId() => $_has(3);
  @$pb.TagNumber(4)
  void clearId() => $_clearField(4);
}

class UpdateUserCosmoStateReq extends $pb.GeneratedMessage {
  factory UpdateUserCosmoStateReq({
    $core.String? business,
    $fixnum.Int64? cardSendMid,
    $core.int? cosmoState,
    $core.int? opType,
  }) {
    final result = create();
    if (business != null) result.business = business;
    if (cardSendMid != null) result.cardSendMid = cardSendMid;
    if (cosmoState != null) result.cosmoState = cosmoState;
    if (opType != null) result.opType = opType;
    return result;
  }

  UpdateUserCosmoStateReq._();

  factory UpdateUserCosmoStateReq.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory UpdateUserCosmoStateReq.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'UpdateUserCosmoStateReq',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'business')
    ..aInt64(2, _omitFieldNames ? '' : 'cardSendMid')
    ..aI(3, _omitFieldNames ? '' : 'cosmoState')
    ..aI(4, _omitFieldNames ? '' : 'opType')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  UpdateUserCosmoStateReq clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  UpdateUserCosmoStateReq copyWith(
          void Function(UpdateUserCosmoStateReq) updates) =>
      super.copyWith((message) => updates(message as UpdateUserCosmoStateReq))
          as UpdateUserCosmoStateReq;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static UpdateUserCosmoStateReq create() => UpdateUserCosmoStateReq._();
  @$core.override
  UpdateUserCosmoStateReq createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static UpdateUserCosmoStateReq getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<UpdateUserCosmoStateReq>(create);
  static UpdateUserCosmoStateReq? _defaultInstance;

  @$pb.TagNumber(1)
  $core.String get business => $_getSZ(0);
  @$pb.TagNumber(1)
  set business($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasBusiness() => $_has(0);
  @$pb.TagNumber(1)
  void clearBusiness() => $_clearField(1);

  @$pb.TagNumber(2)
  $fixnum.Int64 get cardSendMid => $_getI64(1);
  @$pb.TagNumber(2)
  set cardSendMid($fixnum.Int64 value) => $_setInt64(1, value);
  @$pb.TagNumber(2)
  $core.bool hasCardSendMid() => $_has(1);
  @$pb.TagNumber(2)
  void clearCardSendMid() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.int get cosmoState => $_getIZ(2);
  @$pb.TagNumber(3)
  set cosmoState($core.int value) => $_setSignedInt32(2, value);
  @$pb.TagNumber(3)
  $core.bool hasCosmoState() => $_has(2);
  @$pb.TagNumber(3)
  void clearCosmoState() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.int get opType => $_getIZ(3);
  @$pb.TagNumber(4)
  set opType($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasOpType() => $_has(3);
  @$pb.TagNumber(4)
  void clearOpType() => $_clearField(4);
}

class UpdateUserCosmoStateRsp extends $pb.GeneratedMessage {
  factory UpdateUserCosmoStateRsp({
    $core.String? text,
  }) {
    final result = create();
    if (text != null) result.text = text;
    return result;
  }

  UpdateUserCosmoStateRsp._();

  factory UpdateUserCosmoStateRsp.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory UpdateUserCosmoStateRsp.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'UpdateUserCosmoStateRsp',
      package: const $pb.PackageName(
          _omitMessageNames ? '' : 'bilibili.im.interfaces.v1'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'text')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  UpdateUserCosmoStateRsp clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  UpdateUserCosmoStateRsp copyWith(
          void Function(UpdateUserCosmoStateRsp) updates) =>
      super.copyWith((message) => updates(message as UpdateUserCosmoStateRsp))
          as UpdateUserCosmoStateRsp;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static UpdateUserCosmoStateRsp create() => UpdateUserCosmoStateRsp._();
  @$core.override
  UpdateUserCosmoStateRsp createEmptyInstance() => create();
  @$core.pragma('dart2js:noInline')
  static UpdateUserCosmoStateRsp getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<UpdateUserCosmoStateRsp>(create);
  static UpdateUserCosmoStateRsp? _defaultInstance;

  @$pb.TagNumber(1)
  $core.String get text => $_getSZ(0);
  @$pb.TagNumber(1)
  set text($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasText() => $_has(0);
  @$pb.TagNumber(1)
  void clearText() => $_clearField(1);
}

const $core.bool _omitFieldNames =
    $core.bool.fromEnvironment('protobuf.omit_field_names');
const $core.bool _omitMessageNames =
    $core.bool.fromEnvironment('protobuf.omit_message_names');
