// This is a generated file - do not edit.
//
// Generated from api/websocket/client_to_server.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 'error.pbenum.dart' as $0;

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

enum ClientToServer_V { v0, notSet }

class ClientToServer extends $pb.GeneratedMessage {
  factory ClientToServer({
    V0? v0,
  }) {
    final result = create();
    if (v0 != null) result.v0 = v0;
    return result;
  }

  ClientToServer._();

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

  static const $core.Map<$core.int, ClientToServer_V> _ClientToServer_VByTag = {
    1: ClientToServer_V.v0,
    0: ClientToServer_V.notSet
  };
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ClientToServer',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..oo(0, [1])
    ..aOM<V0>(1, _omitFieldNames ? '' : 'V0',
        protoName: 'V0', subBuilder: V0.create)
    ..hasRequiredFields = false;

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

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

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

  @$pb.TagNumber(1)
  ClientToServer_V whichV() => _ClientToServer_VByTag[$_whichOneof(0)]!;
  @$pb.TagNumber(1)
  void clearV() => $_clearField($_whichOneof(0));

  @$pb.TagNumber(1)
  V0 get v0 => $_getN(0);
  @$pb.TagNumber(1)
  set v0(V0 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasV0() => $_has(0);
  @$pb.TagNumber(1)
  void clearV0() => $_clearField(1);
  @$pb.TagNumber(1)
  V0 ensureV0() => $_ensure(0);
}

enum V0_Kind { handshake, applicationdata, response, notSet }

class V0 extends $pb.GeneratedMessage {
  factory V0({
    $fixnum.Int64? seq,
    Handshake? handshake,
    ApplicationData? applicationdata,
    Response? response,
  }) {
    final result = create();
    if (seq != null) result.seq = seq;
    if (handshake != null) result.handshake = handshake;
    if (applicationdata != null) result.applicationdata = applicationdata;
    if (response != null) result.response = response;
    return result;
  }

  V0._();

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

  static const $core.Map<$core.int, V0_Kind> _V0_KindByTag = {
    2: V0_Kind.handshake,
    3: V0_Kind.applicationdata,
    4: V0_Kind.response,
    0: V0_Kind.notSet
  };
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'V0',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..oo(0, [2, 3, 4])
    ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'seq', $pb.PbFieldType.OU6,
        defaultOrMaker: $fixnum.Int64.ZERO)
    ..aOM<Handshake>(2, _omitFieldNames ? '' : 'handshake',
        subBuilder: Handshake.create)
    ..aOM<ApplicationData>(3, _omitFieldNames ? '' : 'applicationdata',
        subBuilder: ApplicationData.create)
    ..aOM<Response>(4, _omitFieldNames ? '' : 'response',
        subBuilder: Response.create)
    ..hasRequiredFields = false;

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

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

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

  @$pb.TagNumber(2)
  @$pb.TagNumber(3)
  @$pb.TagNumber(4)
  V0_Kind whichKind() => _V0_KindByTag[$_whichOneof(0)]!;
  @$pb.TagNumber(2)
  @$pb.TagNumber(3)
  @$pb.TagNumber(4)
  void clearKind() => $_clearField($_whichOneof(0));

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

  @$pb.TagNumber(2)
  Handshake get handshake => $_getN(1);
  @$pb.TagNumber(2)
  set handshake(Handshake value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasHandshake() => $_has(1);
  @$pb.TagNumber(2)
  void clearHandshake() => $_clearField(2);
  @$pb.TagNumber(2)
  Handshake ensureHandshake() => $_ensure(1);

  @$pb.TagNumber(3)
  ApplicationData get applicationdata => $_getN(2);
  @$pb.TagNumber(3)
  set applicationdata(ApplicationData value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasApplicationdata() => $_has(2);
  @$pb.TagNumber(3)
  void clearApplicationdata() => $_clearField(3);
  @$pb.TagNumber(3)
  ApplicationData ensureApplicationdata() => $_ensure(2);

  @$pb.TagNumber(4)
  Response get response => $_getN(3);
  @$pb.TagNumber(4)
  set response(Response value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasResponse() => $_has(3);
  @$pb.TagNumber(4)
  void clearResponse() => $_clearField(4);
  @$pb.TagNumber(4)
  Response ensureResponse() => $_ensure(3);
}

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

  Handshake_RequestPOW._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Handshake.RequestPOW',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

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

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

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

class Handshake_Register extends $pb.GeneratedMessage {
  factory Handshake_Register({
    $core.String? username,
    $core.String? inviteCode,
    $core.List<$core.int>? publicIdentityKey,
    $core.List<$core.int>? signedPrekey,
    $core.List<$core.int>? signedPrekeySignature,
    $fixnum.Int64? signedPrekeyId,
    $fixnum.Int64? registrationId,
    $core.bool? isIos,
    $core.String? langCode,
    $fixnum.Int64? proofOfWork,
    $core.List<$core.int>? loginToken,
  }) {
    final result = create();
    if (username != null) result.username = username;
    if (inviteCode != null) result.inviteCode = inviteCode;
    if (publicIdentityKey != null) result.publicIdentityKey = publicIdentityKey;
    if (signedPrekey != null) result.signedPrekey = signedPrekey;
    if (signedPrekeySignature != null)
      result.signedPrekeySignature = signedPrekeySignature;
    if (signedPrekeyId != null) result.signedPrekeyId = signedPrekeyId;
    if (registrationId != null) result.registrationId = registrationId;
    if (isIos != null) result.isIos = isIos;
    if (langCode != null) result.langCode = langCode;
    if (proofOfWork != null) result.proofOfWork = proofOfWork;
    if (loginToken != null) result.loginToken = loginToken;
    return result;
  }

  Handshake_Register._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Handshake.Register',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'username')
    ..aOS(2, _omitFieldNames ? '' : 'inviteCode')
    ..a<$core.List<$core.int>>(
        3, _omitFieldNames ? '' : 'publicIdentityKey', $pb.PbFieldType.OY)
    ..a<$core.List<$core.int>>(
        4, _omitFieldNames ? '' : 'signedPrekey', $pb.PbFieldType.OY)
    ..a<$core.List<$core.int>>(
        5, _omitFieldNames ? '' : 'signedPrekeySignature', $pb.PbFieldType.OY)
    ..aInt64(6, _omitFieldNames ? '' : 'signedPrekeyId')
    ..aInt64(7, _omitFieldNames ? '' : 'registrationId')
    ..aOB(8, _omitFieldNames ? '' : 'isIos')
    ..aOS(9, _omitFieldNames ? '' : 'langCode')
    ..aInt64(10, _omitFieldNames ? '' : 'proofOfWork')
    ..a<$core.List<$core.int>>(
        11, _omitFieldNames ? '' : 'loginToken', $pb.PbFieldType.OY)
    ..hasRequiredFields = false;

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

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

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

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

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

  @$pb.TagNumber(3)
  $core.List<$core.int> get publicIdentityKey => $_getN(2);
  @$pb.TagNumber(3)
  set publicIdentityKey($core.List<$core.int> value) => $_setBytes(2, value);
  @$pb.TagNumber(3)
  $core.bool hasPublicIdentityKey() => $_has(2);
  @$pb.TagNumber(3)
  void clearPublicIdentityKey() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.List<$core.int> get signedPrekey => $_getN(3);
  @$pb.TagNumber(4)
  set signedPrekey($core.List<$core.int> value) => $_setBytes(3, value);
  @$pb.TagNumber(4)
  $core.bool hasSignedPrekey() => $_has(3);
  @$pb.TagNumber(4)
  void clearSignedPrekey() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.List<$core.int> get signedPrekeySignature => $_getN(4);
  @$pb.TagNumber(5)
  set signedPrekeySignature($core.List<$core.int> value) =>
      $_setBytes(4, value);
  @$pb.TagNumber(5)
  $core.bool hasSignedPrekeySignature() => $_has(4);
  @$pb.TagNumber(5)
  void clearSignedPrekeySignature() => $_clearField(5);

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

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

  @$pb.TagNumber(8)
  $core.bool get isIos => $_getBF(7);
  @$pb.TagNumber(8)
  set isIos($core.bool value) => $_setBool(7, value);
  @$pb.TagNumber(8)
  $core.bool hasIsIos() => $_has(7);
  @$pb.TagNumber(8)
  void clearIsIos() => $_clearField(8);

  @$pb.TagNumber(9)
  $core.String get langCode => $_getSZ(8);
  @$pb.TagNumber(9)
  set langCode($core.String value) => $_setString(8, value);
  @$pb.TagNumber(9)
  $core.bool hasLangCode() => $_has(8);
  @$pb.TagNumber(9)
  void clearLangCode() => $_clearField(9);

  @$pb.TagNumber(10)
  $fixnum.Int64 get proofOfWork => $_getI64(9);
  @$pb.TagNumber(10)
  set proofOfWork($fixnum.Int64 value) => $_setInt64(9, value);
  @$pb.TagNumber(10)
  $core.bool hasProofOfWork() => $_has(9);
  @$pb.TagNumber(10)
  void clearProofOfWork() => $_clearField(10);

  @$pb.TagNumber(11)
  $core.List<$core.int> get loginToken => $_getN(10);
  @$pb.TagNumber(11)
  set loginToken($core.List<$core.int> value) => $_setBytes(10, value);
  @$pb.TagNumber(11)
  $core.bool hasLoginToken() => $_has(10);
  @$pb.TagNumber(11)
  void clearLoginToken() => $_clearField(11);
}

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

  Handshake_GetAuthChallenge._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Handshake.GetAuthChallenge',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

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

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

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

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

  Handshake_GetUserIdByUsername._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Handshake.GetUserIdByUsername',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'username')
    ..hasRequiredFields = false;

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

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

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

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

class Handshake_GetAuthToken extends $pb.GeneratedMessage {
  factory Handshake_GetAuthToken({
    $fixnum.Int64? userId,
    $core.List<$core.int>? response,
  }) {
    final result = create();
    if (userId != null) result.userId = userId;
    if (response != null) result.response = response;
    return result;
  }

  Handshake_GetAuthToken._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Handshake.GetAuthToken',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'userId')
    ..a<$core.List<$core.int>>(
        2, _omitFieldNames ? '' : 'response', $pb.PbFieldType.OY)
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get response => $_getN(1);
  @$pb.TagNumber(2)
  set response($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(2)
  $core.bool hasResponse() => $_has(1);
  @$pb.TagNumber(2)
  void clearResponse() => $_clearField(2);
}

class Handshake_Authenticate extends $pb.GeneratedMessage {
  factory Handshake_Authenticate({
    $fixnum.Int64? userId,
    $core.List<$core.int>? authToken,
    $core.String? appVersion,
    $fixnum.Int64? deviceId,
    $core.bool? inBackground,
  }) {
    final result = create();
    if (userId != null) result.userId = userId;
    if (authToken != null) result.authToken = authToken;
    if (appVersion != null) result.appVersion = appVersion;
    if (deviceId != null) result.deviceId = deviceId;
    if (inBackground != null) result.inBackground = inBackground;
    return result;
  }

  Handshake_Authenticate._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Handshake.Authenticate',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'userId')
    ..a<$core.List<$core.int>>(
        2, _omitFieldNames ? '' : 'authToken', $pb.PbFieldType.OY)
    ..aOS(3, _omitFieldNames ? '' : 'appVersion')
    ..aInt64(4, _omitFieldNames ? '' : 'deviceId')
    ..aOB(5, _omitFieldNames ? '' : 'inBackground')
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get authToken => $_getN(1);
  @$pb.TagNumber(2)
  set authToken($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(2)
  $core.bool hasAuthToken() => $_has(1);
  @$pb.TagNumber(2)
  void clearAuthToken() => $_clearField(2);

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

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

  @$pb.TagNumber(5)
  $core.bool get inBackground => $_getBF(4);
  @$pb.TagNumber(5)
  set inBackground($core.bool value) => $_setBool(4, value);
  @$pb.TagNumber(5)
  $core.bool hasInBackground() => $_has(4);
  @$pb.TagNumber(5)
  void clearInBackground() => $_clearField(5);
}

class Handshake_AuthenticateWithLoginToken extends $pb.GeneratedMessage {
  factory Handshake_AuthenticateWithLoginToken({
    $fixnum.Int64? userId,
    $core.List<$core.int>? secretLoginToken,
    $core.String? appVersion,
    $fixnum.Int64? deviceId,
    $core.bool? inBackground,
  }) {
    final result = create();
    if (userId != null) result.userId = userId;
    if (secretLoginToken != null) result.secretLoginToken = secretLoginToken;
    if (appVersion != null) result.appVersion = appVersion;
    if (deviceId != null) result.deviceId = deviceId;
    if (inBackground != null) result.inBackground = inBackground;
    return result;
  }

  Handshake_AuthenticateWithLoginToken._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Handshake.AuthenticateWithLoginToken',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'userId')
    ..a<$core.List<$core.int>>(
        2, _omitFieldNames ? '' : 'secretLoginToken', $pb.PbFieldType.OY)
    ..aOS(3, _omitFieldNames ? '' : 'appVersion')
    ..aInt64(4, _omitFieldNames ? '' : 'deviceId')
    ..aOB(5, _omitFieldNames ? '' : 'inBackground')
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get secretLoginToken => $_getN(1);
  @$pb.TagNumber(2)
  set secretLoginToken($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSecretLoginToken() => $_has(1);
  @$pb.TagNumber(2)
  void clearSecretLoginToken() => $_clearField(2);

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

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

  @$pb.TagNumber(5)
  $core.bool get inBackground => $_getBF(4);
  @$pb.TagNumber(5)
  set inBackground($core.bool value) => $_setBool(4, value);
  @$pb.TagNumber(5)
  $core.bool hasInBackground() => $_has(4);
  @$pb.TagNumber(5)
  void clearInBackground() => $_clearField(5);
}

class Handshake_GetServerKeyForPasswordLessRecovery
    extends $pb.GeneratedMessage {
  factory Handshake_GetServerKeyForPasswordLessRecovery({
    $fixnum.Int64? userId,
    $core.List<$core.int>? serverKeyProtection,
    $core.List<$core.int>? pinUnlockToken,
    $core.List<$core.int>? pinProtectionKey,
    $core.String? email,
  }) {
    final result = create();
    if (userId != null) result.userId = userId;
    if (serverKeyProtection != null)
      result.serverKeyProtection = serverKeyProtection;
    if (pinUnlockToken != null) result.pinUnlockToken = pinUnlockToken;
    if (pinProtectionKey != null) result.pinProtectionKey = pinProtectionKey;
    if (email != null) result.email = email;
    return result;
  }

  Handshake_GetServerKeyForPasswordLessRecovery._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Handshake.GetServerKeyForPasswordLessRecovery',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'userId')
    ..a<$core.List<$core.int>>(
        2, _omitFieldNames ? '' : 'serverKeyProtection', $pb.PbFieldType.OY)
    ..a<$core.List<$core.int>>(
        3, _omitFieldNames ? '' : 'pinUnlockToken', $pb.PbFieldType.OY)
    ..a<$core.List<$core.int>>(
        4, _omitFieldNames ? '' : 'pinProtectionKey', $pb.PbFieldType.OY)
    ..aOS(5, _omitFieldNames ? '' : 'email')
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get serverKeyProtection => $_getN(1);
  @$pb.TagNumber(2)
  set serverKeyProtection($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(2)
  $core.bool hasServerKeyProtection() => $_has(1);
  @$pb.TagNumber(2)
  void clearServerKeyProtection() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.List<$core.int> get pinUnlockToken => $_getN(2);
  @$pb.TagNumber(3)
  set pinUnlockToken($core.List<$core.int> value) => $_setBytes(2, value);
  @$pb.TagNumber(3)
  $core.bool hasPinUnlockToken() => $_has(2);
  @$pb.TagNumber(3)
  void clearPinUnlockToken() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.List<$core.int> get pinProtectionKey => $_getN(3);
  @$pb.TagNumber(4)
  set pinProtectionKey($core.List<$core.int> value) => $_setBytes(3, value);
  @$pb.TagNumber(4)
  $core.bool hasPinProtectionKey() => $_has(3);
  @$pb.TagNumber(4)
  void clearPinProtectionKey() => $_clearField(4);

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

class Handshake_RegisterPasswordlessNotification extends $pb.GeneratedMessage {
  factory Handshake_RegisterPasswordlessNotification({
    $core.String? notificationId,
    $core.List<$core.int>? downloadAuthToken,
    $core.String? langCode,
    $core.String? googleFcm,
  }) {
    final result = create();
    if (notificationId != null) result.notificationId = notificationId;
    if (downloadAuthToken != null) result.downloadAuthToken = downloadAuthToken;
    if (langCode != null) result.langCode = langCode;
    if (googleFcm != null) result.googleFcm = googleFcm;
    return result;
  }

  Handshake_RegisterPasswordlessNotification._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Handshake.RegisterPasswordlessNotification',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'notificationId')
    ..a<$core.List<$core.int>>(
        2, _omitFieldNames ? '' : 'downloadAuthToken', $pb.PbFieldType.OY)
    ..aOS(3, _omitFieldNames ? '' : 'langCode')
    ..aOS(4, _omitFieldNames ? '' : 'googleFcm')
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get downloadAuthToken => $_getN(1);
  @$pb.TagNumber(2)
  set downloadAuthToken($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(2)
  $core.bool hasDownloadAuthToken() => $_has(1);
  @$pb.TagNumber(2)
  void clearDownloadAuthToken() => $_clearField(2);

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

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

class Handshake_CheckForPasswordlessNotification extends $pb.GeneratedMessage {
  factory Handshake_CheckForPasswordlessNotification({
    $core.String? notificationId,
    $core.List<$core.int>? downloadAuthToken,
    $core.Iterable<$fixnum.Int64>? alreadyReceivedMessageIds,
  }) {
    final result = create();
    if (notificationId != null) result.notificationId = notificationId;
    if (downloadAuthToken != null) result.downloadAuthToken = downloadAuthToken;
    if (alreadyReceivedMessageIds != null)
      result.alreadyReceivedMessageIds.addAll(alreadyReceivedMessageIds);
    return result;
  }

  Handshake_CheckForPasswordlessNotification._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Handshake.CheckForPasswordlessNotification',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'notificationId')
    ..a<$core.List<$core.int>>(
        2, _omitFieldNames ? '' : 'downloadAuthToken', $pb.PbFieldType.OY)
    ..p<$fixnum.Int64>(3, _omitFieldNames ? '' : 'alreadyReceivedMessageIds',
        $pb.PbFieldType.K6)
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get downloadAuthToken => $_getN(1);
  @$pb.TagNumber(2)
  set downloadAuthToken($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(2)
  $core.bool hasDownloadAuthToken() => $_has(1);
  @$pb.TagNumber(2)
  void clearDownloadAuthToken() => $_clearField(2);

  @$pb.TagNumber(3)
  $pb.PbList<$fixnum.Int64> get alreadyReceivedMessageIds => $_getList(2);
}

enum Handshake_Handshake {
  register,
  getAuthChallenge,
  getAuthToken,
  authenticate,
  requestPOW,
  authenticateWithLoginToken,
  getUseridByUsername,
  getServerKeyForPasswordlessRecovery,
  registerPasswordlessNotification,
  checkForPasswordlessNotification,
  notSet
}

class Handshake extends $pb.GeneratedMessage {
  factory Handshake({
    Handshake_Register? register,
    Handshake_GetAuthChallenge? getAuthChallenge,
    Handshake_GetAuthToken? getAuthToken,
    Handshake_Authenticate? authenticate,
    Handshake_RequestPOW? requestPOW,
    Handshake_AuthenticateWithLoginToken? authenticateWithLoginToken,
    Handshake_GetUserIdByUsername? getUseridByUsername,
    Handshake_GetServerKeyForPasswordLessRecovery?
        getServerKeyForPasswordlessRecovery,
    Handshake_RegisterPasswordlessNotification?
        registerPasswordlessNotification,
    Handshake_CheckForPasswordlessNotification?
        checkForPasswordlessNotification,
  }) {
    final result = create();
    if (register != null) result.register = register;
    if (getAuthChallenge != null) result.getAuthChallenge = getAuthChallenge;
    if (getAuthToken != null) result.getAuthToken = getAuthToken;
    if (authenticate != null) result.authenticate = authenticate;
    if (requestPOW != null) result.requestPOW = requestPOW;
    if (authenticateWithLoginToken != null)
      result.authenticateWithLoginToken = authenticateWithLoginToken;
    if (getUseridByUsername != null)
      result.getUseridByUsername = getUseridByUsername;
    if (getServerKeyForPasswordlessRecovery != null)
      result.getServerKeyForPasswordlessRecovery =
          getServerKeyForPasswordlessRecovery;
    if (registerPasswordlessNotification != null)
      result.registerPasswordlessNotification =
          registerPasswordlessNotification;
    if (checkForPasswordlessNotification != null)
      result.checkForPasswordlessNotification =
          checkForPasswordlessNotification;
    return result;
  }

  Handshake._();

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

  static const $core.Map<$core.int, Handshake_Handshake>
      _Handshake_HandshakeByTag = {
    1: Handshake_Handshake.register,
    2: Handshake_Handshake.getAuthChallenge,
    3: Handshake_Handshake.getAuthToken,
    4: Handshake_Handshake.authenticate,
    5: Handshake_Handshake.requestPOW,
    6: Handshake_Handshake.authenticateWithLoginToken,
    7: Handshake_Handshake.getUseridByUsername,
    8: Handshake_Handshake.getServerKeyForPasswordlessRecovery,
    9: Handshake_Handshake.registerPasswordlessNotification,
    10: Handshake_Handshake.checkForPasswordlessNotification,
    0: Handshake_Handshake.notSet
  };
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Handshake',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
    ..aOM<Handshake_Register>(1, _omitFieldNames ? '' : 'register',
        subBuilder: Handshake_Register.create)
    ..aOM<Handshake_GetAuthChallenge>(
        2, _omitFieldNames ? '' : 'getAuthChallenge',
        protoName: 'getAuthChallenge',
        subBuilder: Handshake_GetAuthChallenge.create)
    ..aOM<Handshake_GetAuthToken>(3, _omitFieldNames ? '' : 'getAuthToken',
        protoName: 'getAuthToken', subBuilder: Handshake_GetAuthToken.create)
    ..aOM<Handshake_Authenticate>(4, _omitFieldNames ? '' : 'authenticate',
        subBuilder: Handshake_Authenticate.create)
    ..aOM<Handshake_RequestPOW>(5, _omitFieldNames ? '' : 'requestPOW',
        protoName: 'requestPOW', subBuilder: Handshake_RequestPOW.create)
    ..aOM<Handshake_AuthenticateWithLoginToken>(
        6, _omitFieldNames ? '' : 'authenticateWithLoginToken',
        subBuilder: Handshake_AuthenticateWithLoginToken.create)
    ..aOM<Handshake_GetUserIdByUsername>(
        7, _omitFieldNames ? '' : 'getUseridByUsername',
        subBuilder: Handshake_GetUserIdByUsername.create)
    ..aOM<Handshake_GetServerKeyForPasswordLessRecovery>(
        8, _omitFieldNames ? '' : 'getServerKeyForPasswordlessRecovery',
        subBuilder: Handshake_GetServerKeyForPasswordLessRecovery.create)
    ..aOM<Handshake_RegisterPasswordlessNotification>(
        9, _omitFieldNames ? '' : 'registerPasswordlessNotification',
        subBuilder: Handshake_RegisterPasswordlessNotification.create)
    ..aOM<Handshake_CheckForPasswordlessNotification>(
        10, _omitFieldNames ? '' : 'checkForPasswordlessNotification',
        subBuilder: Handshake_CheckForPasswordlessNotification.create)
    ..hasRequiredFields = false;

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

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

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

  @$pb.TagNumber(1)
  @$pb.TagNumber(2)
  @$pb.TagNumber(3)
  @$pb.TagNumber(4)
  @$pb.TagNumber(5)
  @$pb.TagNumber(6)
  @$pb.TagNumber(7)
  @$pb.TagNumber(8)
  @$pb.TagNumber(9)
  @$pb.TagNumber(10)
  Handshake_Handshake whichHandshake() =>
      _Handshake_HandshakeByTag[$_whichOneof(0)]!;
  @$pb.TagNumber(1)
  @$pb.TagNumber(2)
  @$pb.TagNumber(3)
  @$pb.TagNumber(4)
  @$pb.TagNumber(5)
  @$pb.TagNumber(6)
  @$pb.TagNumber(7)
  @$pb.TagNumber(8)
  @$pb.TagNumber(9)
  @$pb.TagNumber(10)
  void clearHandshake() => $_clearField($_whichOneof(0));

  @$pb.TagNumber(1)
  Handshake_Register get register => $_getN(0);
  @$pb.TagNumber(1)
  set register(Handshake_Register value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasRegister() => $_has(0);
  @$pb.TagNumber(1)
  void clearRegister() => $_clearField(1);
  @$pb.TagNumber(1)
  Handshake_Register ensureRegister() => $_ensure(0);

  @$pb.TagNumber(2)
  Handshake_GetAuthChallenge get getAuthChallenge => $_getN(1);
  @$pb.TagNumber(2)
  set getAuthChallenge(Handshake_GetAuthChallenge value) =>
      $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasGetAuthChallenge() => $_has(1);
  @$pb.TagNumber(2)
  void clearGetAuthChallenge() => $_clearField(2);
  @$pb.TagNumber(2)
  Handshake_GetAuthChallenge ensureGetAuthChallenge() => $_ensure(1);

  @$pb.TagNumber(3)
  Handshake_GetAuthToken get getAuthToken => $_getN(2);
  @$pb.TagNumber(3)
  set getAuthToken(Handshake_GetAuthToken value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasGetAuthToken() => $_has(2);
  @$pb.TagNumber(3)
  void clearGetAuthToken() => $_clearField(3);
  @$pb.TagNumber(3)
  Handshake_GetAuthToken ensureGetAuthToken() => $_ensure(2);

  @$pb.TagNumber(4)
  Handshake_Authenticate get authenticate => $_getN(3);
  @$pb.TagNumber(4)
  set authenticate(Handshake_Authenticate value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasAuthenticate() => $_has(3);
  @$pb.TagNumber(4)
  void clearAuthenticate() => $_clearField(4);
  @$pb.TagNumber(4)
  Handshake_Authenticate ensureAuthenticate() => $_ensure(3);

  @$pb.TagNumber(5)
  Handshake_RequestPOW get requestPOW => $_getN(4);
  @$pb.TagNumber(5)
  set requestPOW(Handshake_RequestPOW value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasRequestPOW() => $_has(4);
  @$pb.TagNumber(5)
  void clearRequestPOW() => $_clearField(5);
  @$pb.TagNumber(5)
  Handshake_RequestPOW ensureRequestPOW() => $_ensure(4);

  @$pb.TagNumber(6)
  Handshake_AuthenticateWithLoginToken get authenticateWithLoginToken =>
      $_getN(5);
  @$pb.TagNumber(6)
  set authenticateWithLoginToken(Handshake_AuthenticateWithLoginToken value) =>
      $_setField(6, value);
  @$pb.TagNumber(6)
  $core.bool hasAuthenticateWithLoginToken() => $_has(5);
  @$pb.TagNumber(6)
  void clearAuthenticateWithLoginToken() => $_clearField(6);
  @$pb.TagNumber(6)
  Handshake_AuthenticateWithLoginToken ensureAuthenticateWithLoginToken() =>
      $_ensure(5);

  @$pb.TagNumber(7)
  Handshake_GetUserIdByUsername get getUseridByUsername => $_getN(6);
  @$pb.TagNumber(7)
  set getUseridByUsername(Handshake_GetUserIdByUsername value) =>
      $_setField(7, value);
  @$pb.TagNumber(7)
  $core.bool hasGetUseridByUsername() => $_has(6);
  @$pb.TagNumber(7)
  void clearGetUseridByUsername() => $_clearField(7);
  @$pb.TagNumber(7)
  Handshake_GetUserIdByUsername ensureGetUseridByUsername() => $_ensure(6);

  @$pb.TagNumber(8)
  Handshake_GetServerKeyForPasswordLessRecovery
      get getServerKeyForPasswordlessRecovery => $_getN(7);
  @$pb.TagNumber(8)
  set getServerKeyForPasswordlessRecovery(
          Handshake_GetServerKeyForPasswordLessRecovery value) =>
      $_setField(8, value);
  @$pb.TagNumber(8)
  $core.bool hasGetServerKeyForPasswordlessRecovery() => $_has(7);
  @$pb.TagNumber(8)
  void clearGetServerKeyForPasswordlessRecovery() => $_clearField(8);
  @$pb.TagNumber(8)
  Handshake_GetServerKeyForPasswordLessRecovery
      ensureGetServerKeyForPasswordlessRecovery() => $_ensure(7);

  @$pb.TagNumber(9)
  Handshake_RegisterPasswordlessNotification
      get registerPasswordlessNotification => $_getN(8);
  @$pb.TagNumber(9)
  set registerPasswordlessNotification(
          Handshake_RegisterPasswordlessNotification value) =>
      $_setField(9, value);
  @$pb.TagNumber(9)
  $core.bool hasRegisterPasswordlessNotification() => $_has(8);
  @$pb.TagNumber(9)
  void clearRegisterPasswordlessNotification() => $_clearField(9);
  @$pb.TagNumber(9)
  Handshake_RegisterPasswordlessNotification
      ensureRegisterPasswordlessNotification() => $_ensure(8);

  @$pb.TagNumber(10)
  Handshake_CheckForPasswordlessNotification
      get checkForPasswordlessNotification => $_getN(9);
  @$pb.TagNumber(10)
  set checkForPasswordlessNotification(
          Handshake_CheckForPasswordlessNotification value) =>
      $_setField(10, value);
  @$pb.TagNumber(10)
  $core.bool hasCheckForPasswordlessNotification() => $_has(9);
  @$pb.TagNumber(10)
  void clearCheckForPasswordlessNotification() => $_clearField(10);
  @$pb.TagNumber(10)
  Handshake_CheckForPasswordlessNotification
      ensureCheckForPasswordlessNotification() => $_ensure(9);
}

class ApplicationData_TextMessage extends $pb.GeneratedMessage {
  factory ApplicationData_TextMessage({
    $fixnum.Int64? userId,
    $core.List<$core.int>? body,
    $core.List<$core.int>? pushData,
  }) {
    final result = create();
    if (userId != null) result.userId = userId;
    if (body != null) result.body = body;
    if (pushData != null) result.pushData = pushData;
    return result;
  }

  ApplicationData_TextMessage._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.TextMessage',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'userId')
    ..a<$core.List<$core.int>>(
        3, _omitFieldNames ? '' : 'body', $pb.PbFieldType.OY)
    ..a<$core.List<$core.int>>(
        4, _omitFieldNames ? '' : 'pushData', $pb.PbFieldType.OY)
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(3)
  $core.List<$core.int> get body => $_getN(1);
  @$pb.TagNumber(3)
  set body($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(3)
  $core.bool hasBody() => $_has(1);
  @$pb.TagNumber(3)
  void clearBody() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.List<$core.int> get pushData => $_getN(2);
  @$pb.TagNumber(4)
  set pushData($core.List<$core.int> value) => $_setBytes(2, value);
  @$pb.TagNumber(4)
  $core.bool hasPushData() => $_has(2);
  @$pb.TagNumber(4)
  void clearPushData() => $_clearField(4);
}

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

  ApplicationData_GetUserByUsername._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.GetUserByUsername',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'username')
    ..hasRequiredFields = false;

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

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

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

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

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

  ApplicationData_ChangeUsername._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.ChangeUsername',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'username')
    ..hasRequiredFields = false;

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

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

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

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

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

  ApplicationData_UpdateGoogleFcmToken._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.UpdateGoogleFcmToken',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'googleFcm')
    ..hasRequiredFields = false;

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

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

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

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

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

  ApplicationData_GetUserById._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.GetUserById',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'userId')
    ..hasRequiredFields = false;

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

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

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

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

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

  ApplicationData_GetAvailablePlans._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.GetAvailablePlans',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

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

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

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

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

  ApplicationData_GetCurrentPlanInfos._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.GetCurrentPlanInfos',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

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

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

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

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

  ApplicationData_RemoveAdditionalUser._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.RemoveAdditionalUser',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'userId')
    ..hasRequiredFields = false;

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

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

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

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

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

  ApplicationData_GetPrekeysByUserId._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.GetPrekeysByUserId',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'userId')
    ..hasRequiredFields = false;

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

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

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

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

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

  ApplicationData_GetSignedPreKeyByUserId._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.GetSignedPreKeyByUserId',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'userId')
    ..hasRequiredFields = false;

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

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

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

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

class ApplicationData_UpdateSignedPreKey extends $pb.GeneratedMessage {
  factory ApplicationData_UpdateSignedPreKey({
    $fixnum.Int64? signedPrekeyId,
    $core.List<$core.int>? signedPrekey,
    $core.List<$core.int>? signedPrekeySignature,
  }) {
    final result = create();
    if (signedPrekeyId != null) result.signedPrekeyId = signedPrekeyId;
    if (signedPrekey != null) result.signedPrekey = signedPrekey;
    if (signedPrekeySignature != null)
      result.signedPrekeySignature = signedPrekeySignature;
    return result;
  }

  ApplicationData_UpdateSignedPreKey._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.UpdateSignedPreKey',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'signedPrekeyId')
    ..a<$core.List<$core.int>>(
        2, _omitFieldNames ? '' : 'signedPrekey', $pb.PbFieldType.OY)
    ..a<$core.List<$core.int>>(
        3, _omitFieldNames ? '' : 'signedPrekeySignature', $pb.PbFieldType.OY)
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get signedPrekey => $_getN(1);
  @$pb.TagNumber(2)
  set signedPrekey($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSignedPrekey() => $_has(1);
  @$pb.TagNumber(2)
  void clearSignedPrekey() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.List<$core.int> get signedPrekeySignature => $_getN(2);
  @$pb.TagNumber(3)
  set signedPrekeySignature($core.List<$core.int> value) =>
      $_setBytes(2, value);
  @$pb.TagNumber(3)
  $core.bool hasSignedPrekeySignature() => $_has(2);
  @$pb.TagNumber(3)
  void clearSignedPrekeySignature() => $_clearField(3);
}

class ApplicationData_PqcPreKey extends $pb.GeneratedMessage {
  factory ApplicationData_PqcPreKey({
    $fixnum.Int64? eccPreKeyId,
    $core.List<$core.int>? eccPreKey,
    $fixnum.Int64? kyberPreKeyId,
    $core.List<$core.int>? kyberPreKey,
    $core.List<$core.int>? kyberPreKeySignature,
  }) {
    final result = create();
    if (eccPreKeyId != null) result.eccPreKeyId = eccPreKeyId;
    if (eccPreKey != null) result.eccPreKey = eccPreKey;
    if (kyberPreKeyId != null) result.kyberPreKeyId = kyberPreKeyId;
    if (kyberPreKey != null) result.kyberPreKey = kyberPreKey;
    if (kyberPreKeySignature != null)
      result.kyberPreKeySignature = kyberPreKeySignature;
    return result;
  }

  ApplicationData_PqcPreKey._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.PqcPreKey',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'eccPreKeyId')
    ..a<$core.List<$core.int>>(
        2, _omitFieldNames ? '' : 'eccPreKey', $pb.PbFieldType.OY)
    ..aInt64(3, _omitFieldNames ? '' : 'kyberPreKeyId')
    ..a<$core.List<$core.int>>(
        4, _omitFieldNames ? '' : 'kyberPreKey', $pb.PbFieldType.OY)
    ..a<$core.List<$core.int>>(
        5, _omitFieldNames ? '' : 'kyberPreKeySignature', $pb.PbFieldType.OY)
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get eccPreKey => $_getN(1);
  @$pb.TagNumber(2)
  set eccPreKey($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(2)
  $core.bool hasEccPreKey() => $_has(1);
  @$pb.TagNumber(2)
  void clearEccPreKey() => $_clearField(2);

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

  @$pb.TagNumber(4)
  $core.List<$core.int> get kyberPreKey => $_getN(3);
  @$pb.TagNumber(4)
  set kyberPreKey($core.List<$core.int> value) => $_setBytes(3, value);
  @$pb.TagNumber(4)
  $core.bool hasKyberPreKey() => $_has(3);
  @$pb.TagNumber(4)
  void clearKyberPreKey() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.List<$core.int> get kyberPreKeySignature => $_getN(4);
  @$pb.TagNumber(5)
  set kyberPreKeySignature($core.List<$core.int> value) => $_setBytes(4, value);
  @$pb.TagNumber(5)
  $core.bool hasKyberPreKeySignature() => $_has(4);
  @$pb.TagNumber(5)
  void clearKyberPreKeySignature() => $_clearField(5);
}

class ApplicationData_UploadPqcPreKeys extends $pb.GeneratedMessage {
  factory ApplicationData_UploadPqcPreKeys({
    $fixnum.Int64? eccSignedPrekeyId,
    $core.List<$core.int>? eccSignedPrekey,
    $core.List<$core.int>? eccSignedPrekeySignature,
    $fixnum.Int64? kyberSignedPrekeyId,
    $core.List<$core.int>? kyberSignedPrekey,
    $core.List<$core.int>? kyberSignedPrekeySignature,
    $core.Iterable<ApplicationData_PqcPreKey>? prekeys,
  }) {
    final result = create();
    if (eccSignedPrekeyId != null) result.eccSignedPrekeyId = eccSignedPrekeyId;
    if (eccSignedPrekey != null) result.eccSignedPrekey = eccSignedPrekey;
    if (eccSignedPrekeySignature != null)
      result.eccSignedPrekeySignature = eccSignedPrekeySignature;
    if (kyberSignedPrekeyId != null)
      result.kyberSignedPrekeyId = kyberSignedPrekeyId;
    if (kyberSignedPrekey != null) result.kyberSignedPrekey = kyberSignedPrekey;
    if (kyberSignedPrekeySignature != null)
      result.kyberSignedPrekeySignature = kyberSignedPrekeySignature;
    if (prekeys != null) result.prekeys.addAll(prekeys);
    return result;
  }

  ApplicationData_UploadPqcPreKeys._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.UploadPqcPreKeys',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'eccSignedPrekeyId')
    ..a<$core.List<$core.int>>(
        2, _omitFieldNames ? '' : 'eccSignedPrekey', $pb.PbFieldType.OY)
    ..a<$core.List<$core.int>>(3,
        _omitFieldNames ? '' : 'eccSignedPrekeySignature', $pb.PbFieldType.OY)
    ..aInt64(4, _omitFieldNames ? '' : 'kyberSignedPrekeyId')
    ..a<$core.List<$core.int>>(
        5, _omitFieldNames ? '' : 'kyberSignedPrekey', $pb.PbFieldType.OY)
    ..a<$core.List<$core.int>>(6,
        _omitFieldNames ? '' : 'kyberSignedPrekeySignature', $pb.PbFieldType.OY)
    ..pPM<ApplicationData_PqcPreKey>(7, _omitFieldNames ? '' : 'prekeys',
        subBuilder: ApplicationData_PqcPreKey.create)
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get eccSignedPrekey => $_getN(1);
  @$pb.TagNumber(2)
  set eccSignedPrekey($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(2)
  $core.bool hasEccSignedPrekey() => $_has(1);
  @$pb.TagNumber(2)
  void clearEccSignedPrekey() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.List<$core.int> get eccSignedPrekeySignature => $_getN(2);
  @$pb.TagNumber(3)
  set eccSignedPrekeySignature($core.List<$core.int> value) =>
      $_setBytes(2, value);
  @$pb.TagNumber(3)
  $core.bool hasEccSignedPrekeySignature() => $_has(2);
  @$pb.TagNumber(3)
  void clearEccSignedPrekeySignature() => $_clearField(3);

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

  @$pb.TagNumber(5)
  $core.List<$core.int> get kyberSignedPrekey => $_getN(4);
  @$pb.TagNumber(5)
  set kyberSignedPrekey($core.List<$core.int> value) => $_setBytes(4, value);
  @$pb.TagNumber(5)
  $core.bool hasKyberSignedPrekey() => $_has(4);
  @$pb.TagNumber(5)
  void clearKyberSignedPrekey() => $_clearField(5);

  @$pb.TagNumber(6)
  $core.List<$core.int> get kyberSignedPrekeySignature => $_getN(5);
  @$pb.TagNumber(6)
  set kyberSignedPrekeySignature($core.List<$core.int> value) =>
      $_setBytes(5, value);
  @$pb.TagNumber(6)
  $core.bool hasKyberSignedPrekeySignature() => $_has(5);
  @$pb.TagNumber(6)
  void clearKyberSignedPrekeySignature() => $_clearField(6);

  @$pb.TagNumber(7)
  $pb.PbList<ApplicationData_PqcPreKey> get prekeys => $_getList(6);
}

class ApplicationData_DownloadDone extends $pb.GeneratedMessage {
  factory ApplicationData_DownloadDone({
    $core.List<$core.int>? downloadToken,
  }) {
    final result = create();
    if (downloadToken != null) result.downloadToken = downloadToken;
    return result;
  }

  ApplicationData_DownloadDone._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.DownloadDone',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..a<$core.List<$core.int>>(
        1, _omitFieldNames ? '' : 'downloadToken', $pb.PbFieldType.OY)
    ..hasRequiredFields = false;

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

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

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

  @$pb.TagNumber(1)
  $core.List<$core.int> get downloadToken => $_getN(0);
  @$pb.TagNumber(1)
  set downloadToken($core.List<$core.int> value) => $_setBytes(0, value);
  @$pb.TagNumber(1)
  $core.bool hasDownloadToken() => $_has(0);
  @$pb.TagNumber(1)
  void clearDownloadToken() => $_clearField(1);
}

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

  ApplicationData_ReportUser._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.ReportUser',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'reportedUserId')
    ..aOS(2, _omitFieldNames ? '' : 'reason')
    ..hasRequiredFields = false;

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

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

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

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

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

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

  ApplicationData_IPAPurchase._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.IPAPurchase',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'productId')
    ..aOS(2, _omitFieldNames ? '' : 'source')
    ..aOS(3, _omitFieldNames ? '' : 'verificationData')
    ..hasRequiredFields = false;

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

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

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

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

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

  @$pb.TagNumber(3)
  $core.String get verificationData => $_getSZ(2);
  @$pb.TagNumber(3)
  set verificationData($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasVerificationData() => $_has(2);
  @$pb.TagNumber(3)
  void clearVerificationData() => $_clearField(3);
}

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

  ApplicationData_IPAForceCheck._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.IPAForceCheck',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

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

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

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

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

  ApplicationData_DeleteAccount._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.DeleteAccount',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

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

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

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

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

  ApplicationData_AddAdditionalUser._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.AddAdditionalUser',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'userId')
    ..hasRequiredFields = false;

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

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

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

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

class ApplicationData_SetLoginToken extends $pb.GeneratedMessage {
  factory ApplicationData_SetLoginToken({
    $core.List<$core.int>? loginToken,
  }) {
    final result = create();
    if (loginToken != null) result.loginToken = loginToken;
    return result;
  }

  ApplicationData_SetLoginToken._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.SetLoginToken',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..a<$core.List<$core.int>>(
        1, _omitFieldNames ? '' : 'loginToken', $pb.PbFieldType.OY)
    ..hasRequiredFields = false;

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

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

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

  @$pb.TagNumber(1)
  $core.List<$core.int> get loginToken => $_getN(0);
  @$pb.TagNumber(1)
  set loginToken($core.List<$core.int> value) => $_setBytes(0, value);
  @$pb.TagNumber(1)
  $core.bool hasLoginToken() => $_has(0);
  @$pb.TagNumber(1)
  void clearLoginToken() => $_clearField(1);
}

class ApplicationData_RegisterPasswordLessRecovery
    extends $pb.GeneratedMessage {
  factory ApplicationData_RegisterPasswordLessRecovery({
    $core.List<$core.int>? encryptedServerKey,
    $core.List<$core.int>? pinUnlockToken,
  }) {
    final result = create();
    if (encryptedServerKey != null)
      result.encryptedServerKey = encryptedServerKey;
    if (pinUnlockToken != null) result.pinUnlockToken = pinUnlockToken;
    return result;
  }

  ApplicationData_RegisterPasswordLessRecovery._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.RegisterPasswordLessRecovery',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..a<$core.List<$core.int>>(
        1, _omitFieldNames ? '' : 'encryptedServerKey', $pb.PbFieldType.OY,
        protoName: 'encryptedServerKey')
    ..a<$core.List<$core.int>>(
        2, _omitFieldNames ? '' : 'pinUnlockToken', $pb.PbFieldType.OY,
        protoName: 'pinUnlockToken')
    ..hasRequiredFields = false;

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

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

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

  @$pb.TagNumber(1)
  $core.List<$core.int> get encryptedServerKey => $_getN(0);
  @$pb.TagNumber(1)
  set encryptedServerKey($core.List<$core.int> value) => $_setBytes(0, value);
  @$pb.TagNumber(1)
  $core.bool hasEncryptedServerKey() => $_has(0);
  @$pb.TagNumber(1)
  void clearEncryptedServerKey() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.List<$core.int> get pinUnlockToken => $_getN(1);
  @$pb.TagNumber(2)
  set pinUnlockToken($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(2)
  $core.bool hasPinUnlockToken() => $_has(1);
  @$pb.TagNumber(2)
  void clearPinUnlockToken() => $_clearField(2);
}

class ApplicationData_PasswordlessNotification extends $pb.GeneratedMessage {
  factory ApplicationData_PasswordlessNotification({
    $core.String? notificationId,
    $core.List<$core.int>? encryptedMessage,
  }) {
    final result = create();
    if (notificationId != null) result.notificationId = notificationId;
    if (encryptedMessage != null) result.encryptedMessage = encryptedMessage;
    return result;
  }

  ApplicationData_PasswordlessNotification._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.PasswordlessNotification',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'notificationId')
    ..a<$core.List<$core.int>>(
        2, _omitFieldNames ? '' : 'encryptedMessage', $pb.PbFieldType.OY)
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get encryptedMessage => $_getN(1);
  @$pb.TagNumber(2)
  set encryptedMessage($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(2)
  $core.bool hasEncryptedMessage() => $_has(1);
  @$pb.TagNumber(2)
  void clearEncryptedMessage() => $_clearField(2);
}

class ApplicationData_RequestMemoriesUpload extends $pb.GeneratedMessage {
  factory ApplicationData_RequestMemoriesUpload({
    $fixnum.Int64? size,
    $fixnum.Int64? originalDate,
    $core.String? mediaId,
  }) {
    final result = create();
    if (size != null) result.size = size;
    if (originalDate != null) result.originalDate = originalDate;
    if (mediaId != null) result.mediaId = mediaId;
    return result;
  }

  ApplicationData_RequestMemoriesUpload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.RequestMemoriesUpload',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'size')
    ..aInt64(2, _omitFieldNames ? '' : 'originalDate')
    ..aOS(3, _omitFieldNames ? '' : 'mediaId')
    ..hasRequiredFields = false;

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

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

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

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

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

  @$pb.TagNumber(3)
  $core.String get mediaId => $_getSZ(2);
  @$pb.TagNumber(3)
  set mediaId($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasMediaId() => $_has(2);
  @$pb.TagNumber(3)
  void clearMediaId() => $_clearField(3);
}

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

  ApplicationData_ConfirmMemoriesUpload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.ConfirmMemoriesUpload',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'mediaId')
    ..hasRequiredFields = false;

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

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

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

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

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

  ApplicationData_GetMemoriesList._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.GetMemoriesList',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'offsetDate')
    ..aInt64(2, _omitFieldNames ? '' : 'limit')
    ..hasRequiredFields = false;

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

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

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

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

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

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

  ApplicationData_GetMemoriesUrl._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.GetMemoriesUrl',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'mediaId')
    ..aOB(2, _omitFieldNames ? '' : 'thumbnail')
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(2)
  $core.bool get thumbnail => $_getBF(1);
  @$pb.TagNumber(2)
  set thumbnail($core.bool value) => $_setBool(1, value);
  @$pb.TagNumber(2)
  $core.bool hasThumbnail() => $_has(1);
  @$pb.TagNumber(2)
  void clearThumbnail() => $_clearField(2);
}

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

  ApplicationData_GetMemoriesUsage._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.GetMemoriesUsage',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

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

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

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

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

  ApplicationData_DeleteMemory._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.DeleteMemory',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'mediaId')
    ..hasRequiredFields = false;

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

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

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

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

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

  ApplicationData_DisableMemoriesBackup._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData.DisableMemoriesBackup',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..hasRequiredFields = false;

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

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

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

enum ApplicationData_ApplicationData {
  textMessage,
  getUserByUsername,
  getPrekeysByUserId,
  getUserById,
  updateGoogleFcmToken,
  getCurrentPlanInfos,
  getAvailablePlans,
  removeAdditionalUser,
  downloadDone,
  getSignedPrekeyByUserid,
  updateSignedPrekey,
  deleteAccount,
  reportUser,
  changeUsername,
  ipaPurchase,
  ipaForceCheck,
  addAdditionalUser,
  setLoginToken,
  registerPasswordlessRecovery,
  passwordlessNotification,
  requestMemoriesUpload,
  confirmMemoriesUpload,
  getMemoriesList,
  getMemoriesUrl,
  getMemoriesUsage,
  deleteMemory,
  disableMemoriesBackup,
  uploadPqcPrekeys,
  notSet
}

class ApplicationData extends $pb.GeneratedMessage {
  factory ApplicationData({
    ApplicationData_TextMessage? textMessage,
    ApplicationData_GetUserByUsername? getUserByUsername,
    ApplicationData_GetPrekeysByUserId? getPrekeysByUserId,
    ApplicationData_GetUserById? getUserById,
    ApplicationData_UpdateGoogleFcmToken? updateGoogleFcmToken,
    ApplicationData_GetCurrentPlanInfos? getCurrentPlanInfos,
    ApplicationData_GetAvailablePlans? getAvailablePlans,
    ApplicationData_RemoveAdditionalUser? removeAdditionalUser,
    ApplicationData_DownloadDone? downloadDone,
    ApplicationData_GetSignedPreKeyByUserId? getSignedPrekeyByUserid,
    ApplicationData_UpdateSignedPreKey? updateSignedPrekey,
    ApplicationData_DeleteAccount? deleteAccount,
    ApplicationData_ReportUser? reportUser,
    ApplicationData_ChangeUsername? changeUsername,
    ApplicationData_IPAPurchase? ipaPurchase,
    ApplicationData_IPAForceCheck? ipaForceCheck,
    ApplicationData_AddAdditionalUser? addAdditionalUser,
    ApplicationData_SetLoginToken? setLoginToken,
    ApplicationData_RegisterPasswordLessRecovery? registerPasswordlessRecovery,
    ApplicationData_PasswordlessNotification? passwordlessNotification,
    ApplicationData_RequestMemoriesUpload? requestMemoriesUpload,
    ApplicationData_ConfirmMemoriesUpload? confirmMemoriesUpload,
    ApplicationData_GetMemoriesList? getMemoriesList,
    ApplicationData_GetMemoriesUrl? getMemoriesUrl,
    ApplicationData_GetMemoriesUsage? getMemoriesUsage,
    ApplicationData_DeleteMemory? deleteMemory,
    ApplicationData_DisableMemoriesBackup? disableMemoriesBackup,
    ApplicationData_UploadPqcPreKeys? uploadPqcPrekeys,
  }) {
    final result = create();
    if (textMessage != null) result.textMessage = textMessage;
    if (getUserByUsername != null) result.getUserByUsername = getUserByUsername;
    if (getPrekeysByUserId != null)
      result.getPrekeysByUserId = getPrekeysByUserId;
    if (getUserById != null) result.getUserById = getUserById;
    if (updateGoogleFcmToken != null)
      result.updateGoogleFcmToken = updateGoogleFcmToken;
    if (getCurrentPlanInfos != null)
      result.getCurrentPlanInfos = getCurrentPlanInfos;
    if (getAvailablePlans != null) result.getAvailablePlans = getAvailablePlans;
    if (removeAdditionalUser != null)
      result.removeAdditionalUser = removeAdditionalUser;
    if (downloadDone != null) result.downloadDone = downloadDone;
    if (getSignedPrekeyByUserid != null)
      result.getSignedPrekeyByUserid = getSignedPrekeyByUserid;
    if (updateSignedPrekey != null)
      result.updateSignedPrekey = updateSignedPrekey;
    if (deleteAccount != null) result.deleteAccount = deleteAccount;
    if (reportUser != null) result.reportUser = reportUser;
    if (changeUsername != null) result.changeUsername = changeUsername;
    if (ipaPurchase != null) result.ipaPurchase = ipaPurchase;
    if (ipaForceCheck != null) result.ipaForceCheck = ipaForceCheck;
    if (addAdditionalUser != null) result.addAdditionalUser = addAdditionalUser;
    if (setLoginToken != null) result.setLoginToken = setLoginToken;
    if (registerPasswordlessRecovery != null)
      result.registerPasswordlessRecovery = registerPasswordlessRecovery;
    if (passwordlessNotification != null)
      result.passwordlessNotification = passwordlessNotification;
    if (requestMemoriesUpload != null)
      result.requestMemoriesUpload = requestMemoriesUpload;
    if (confirmMemoriesUpload != null)
      result.confirmMemoriesUpload = confirmMemoriesUpload;
    if (getMemoriesList != null) result.getMemoriesList = getMemoriesList;
    if (getMemoriesUrl != null) result.getMemoriesUrl = getMemoriesUrl;
    if (getMemoriesUsage != null) result.getMemoriesUsage = getMemoriesUsage;
    if (deleteMemory != null) result.deleteMemory = deleteMemory;
    if (disableMemoriesBackup != null)
      result.disableMemoriesBackup = disableMemoriesBackup;
    if (uploadPqcPrekeys != null) result.uploadPqcPrekeys = uploadPqcPrekeys;
    return result;
  }

  ApplicationData._();

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

  static const $core.Map<$core.int, ApplicationData_ApplicationData>
      _ApplicationData_ApplicationDataByTag = {
    1: ApplicationData_ApplicationData.textMessage,
    2: ApplicationData_ApplicationData.getUserByUsername,
    3: ApplicationData_ApplicationData.getPrekeysByUserId,
    6: ApplicationData_ApplicationData.getUserById,
    8: ApplicationData_ApplicationData.updateGoogleFcmToken,
    10: ApplicationData_ApplicationData.getCurrentPlanInfos,
    12: ApplicationData_ApplicationData.getAvailablePlans,
    18: ApplicationData_ApplicationData.removeAdditionalUser,
    20: ApplicationData_ApplicationData.downloadDone,
    22: ApplicationData_ApplicationData.getSignedPrekeyByUserid,
    23: ApplicationData_ApplicationData.updateSignedPrekey,
    24: ApplicationData_ApplicationData.deleteAccount,
    25: ApplicationData_ApplicationData.reportUser,
    26: ApplicationData_ApplicationData.changeUsername,
    27: ApplicationData_ApplicationData.ipaPurchase,
    28: ApplicationData_ApplicationData.ipaForceCheck,
    29: ApplicationData_ApplicationData.addAdditionalUser,
    30: ApplicationData_ApplicationData.setLoginToken,
    31: ApplicationData_ApplicationData.registerPasswordlessRecovery,
    32: ApplicationData_ApplicationData.passwordlessNotification,
    33: ApplicationData_ApplicationData.requestMemoriesUpload,
    34: ApplicationData_ApplicationData.confirmMemoriesUpload,
    35: ApplicationData_ApplicationData.getMemoriesList,
    36: ApplicationData_ApplicationData.getMemoriesUrl,
    37: ApplicationData_ApplicationData.getMemoriesUsage,
    38: ApplicationData_ApplicationData.deleteMemory,
    39: ApplicationData_ApplicationData.disableMemoriesBackup,
    40: ApplicationData_ApplicationData.uploadPqcPrekeys,
    0: ApplicationData_ApplicationData.notSet
  };
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'ApplicationData',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..oo(0, [
      1,
      2,
      3,
      6,
      8,
      10,
      12,
      18,
      20,
      22,
      23,
      24,
      25,
      26,
      27,
      28,
      29,
      30,
      31,
      32,
      33,
      34,
      35,
      36,
      37,
      38,
      39,
      40
    ])
    ..aOM<ApplicationData_TextMessage>(1, _omitFieldNames ? '' : 'textMessage',
        protoName: 'textMessage',
        subBuilder: ApplicationData_TextMessage.create)
    ..aOM<ApplicationData_GetUserByUsername>(
        2, _omitFieldNames ? '' : 'getUserByUsername',
        protoName: 'getUserByUsername',
        subBuilder: ApplicationData_GetUserByUsername.create)
    ..aOM<ApplicationData_GetPrekeysByUserId>(
        3, _omitFieldNames ? '' : 'getPrekeysByUserId',
        protoName: 'getPrekeysByUserId',
        subBuilder: ApplicationData_GetPrekeysByUserId.create)
    ..aOM<ApplicationData_GetUserById>(6, _omitFieldNames ? '' : 'getUserById',
        protoName: 'getUserById',
        subBuilder: ApplicationData_GetUserById.create)
    ..aOM<ApplicationData_UpdateGoogleFcmToken>(
        8, _omitFieldNames ? '' : 'updateGoogleFcmToken',
        protoName: 'updateGoogleFcmToken',
        subBuilder: ApplicationData_UpdateGoogleFcmToken.create)
    ..aOM<ApplicationData_GetCurrentPlanInfos>(
        10, _omitFieldNames ? '' : 'getCurrentPlanInfos',
        protoName: 'getCurrentPlanInfos',
        subBuilder: ApplicationData_GetCurrentPlanInfos.create)
    ..aOM<ApplicationData_GetAvailablePlans>(
        12, _omitFieldNames ? '' : 'getAvailablePlans',
        protoName: 'getAvailablePlans',
        subBuilder: ApplicationData_GetAvailablePlans.create)
    ..aOM<ApplicationData_RemoveAdditionalUser>(
        18, _omitFieldNames ? '' : 'removeAdditionalUser',
        protoName: 'removeAdditionalUser',
        subBuilder: ApplicationData_RemoveAdditionalUser.create)
    ..aOM<ApplicationData_DownloadDone>(
        20, _omitFieldNames ? '' : 'downloadDone',
        protoName: 'downloadDone',
        subBuilder: ApplicationData_DownloadDone.create)
    ..aOM<ApplicationData_GetSignedPreKeyByUserId>(
        22, _omitFieldNames ? '' : 'getSignedPrekeyByUserid',
        protoName: 'getSignedPrekeyByUserid',
        subBuilder: ApplicationData_GetSignedPreKeyByUserId.create)
    ..aOM<ApplicationData_UpdateSignedPreKey>(
        23, _omitFieldNames ? '' : 'updateSignedPrekey',
        protoName: 'updateSignedPrekey',
        subBuilder: ApplicationData_UpdateSignedPreKey.create)
    ..aOM<ApplicationData_DeleteAccount>(
        24, _omitFieldNames ? '' : 'deleteAccount',
        protoName: 'deleteAccount',
        subBuilder: ApplicationData_DeleteAccount.create)
    ..aOM<ApplicationData_ReportUser>(25, _omitFieldNames ? '' : 'reportUser',
        protoName: 'reportUser', subBuilder: ApplicationData_ReportUser.create)
    ..aOM<ApplicationData_ChangeUsername>(
        26, _omitFieldNames ? '' : 'changeUsername',
        protoName: 'changeUsername',
        subBuilder: ApplicationData_ChangeUsername.create)
    ..aOM<ApplicationData_IPAPurchase>(27, _omitFieldNames ? '' : 'ipaPurchase',
        protoName: 'ipaPurchase',
        subBuilder: ApplicationData_IPAPurchase.create)
    ..aOM<ApplicationData_IPAForceCheck>(
        28, _omitFieldNames ? '' : 'ipaForceCheck',
        protoName: 'ipaForceCheck',
        subBuilder: ApplicationData_IPAForceCheck.create)
    ..aOM<ApplicationData_AddAdditionalUser>(
        29, _omitFieldNames ? '' : 'addAdditionalUser',
        protoName: 'addAdditionalUser',
        subBuilder: ApplicationData_AddAdditionalUser.create)
    ..aOM<ApplicationData_SetLoginToken>(
        30, _omitFieldNames ? '' : 'setLoginToken',
        subBuilder: ApplicationData_SetLoginToken.create)
    ..aOM<ApplicationData_RegisterPasswordLessRecovery>(
        31, _omitFieldNames ? '' : 'registerPasswordlessRecovery',
        subBuilder: ApplicationData_RegisterPasswordLessRecovery.create)
    ..aOM<ApplicationData_PasswordlessNotification>(
        32, _omitFieldNames ? '' : 'passwordlessNotification',
        subBuilder: ApplicationData_PasswordlessNotification.create)
    ..aOM<ApplicationData_RequestMemoriesUpload>(
        33, _omitFieldNames ? '' : 'requestMemoriesUpload',
        subBuilder: ApplicationData_RequestMemoriesUpload.create)
    ..aOM<ApplicationData_ConfirmMemoriesUpload>(
        34, _omitFieldNames ? '' : 'confirmMemoriesUpload',
        subBuilder: ApplicationData_ConfirmMemoriesUpload.create)
    ..aOM<ApplicationData_GetMemoriesList>(
        35, _omitFieldNames ? '' : 'getMemoriesList',
        subBuilder: ApplicationData_GetMemoriesList.create)
    ..aOM<ApplicationData_GetMemoriesUrl>(
        36, _omitFieldNames ? '' : 'getMemoriesUrl',
        subBuilder: ApplicationData_GetMemoriesUrl.create)
    ..aOM<ApplicationData_GetMemoriesUsage>(
        37, _omitFieldNames ? '' : 'getMemoriesUsage',
        subBuilder: ApplicationData_GetMemoriesUsage.create)
    ..aOM<ApplicationData_DeleteMemory>(
        38, _omitFieldNames ? '' : 'deleteMemory',
        subBuilder: ApplicationData_DeleteMemory.create)
    ..aOM<ApplicationData_DisableMemoriesBackup>(
        39, _omitFieldNames ? '' : 'disableMemoriesBackup',
        subBuilder: ApplicationData_DisableMemoriesBackup.create)
    ..aOM<ApplicationData_UploadPqcPreKeys>(
        40, _omitFieldNames ? '' : 'uploadPqcPrekeys',
        subBuilder: ApplicationData_UploadPqcPreKeys.create)
    ..hasRequiredFields = false;

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

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

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

  @$pb.TagNumber(1)
  @$pb.TagNumber(2)
  @$pb.TagNumber(3)
  @$pb.TagNumber(6)
  @$pb.TagNumber(8)
  @$pb.TagNumber(10)
  @$pb.TagNumber(12)
  @$pb.TagNumber(18)
  @$pb.TagNumber(20)
  @$pb.TagNumber(22)
  @$pb.TagNumber(23)
  @$pb.TagNumber(24)
  @$pb.TagNumber(25)
  @$pb.TagNumber(26)
  @$pb.TagNumber(27)
  @$pb.TagNumber(28)
  @$pb.TagNumber(29)
  @$pb.TagNumber(30)
  @$pb.TagNumber(31)
  @$pb.TagNumber(32)
  @$pb.TagNumber(33)
  @$pb.TagNumber(34)
  @$pb.TagNumber(35)
  @$pb.TagNumber(36)
  @$pb.TagNumber(37)
  @$pb.TagNumber(38)
  @$pb.TagNumber(39)
  @$pb.TagNumber(40)
  ApplicationData_ApplicationData whichApplicationData() =>
      _ApplicationData_ApplicationDataByTag[$_whichOneof(0)]!;
  @$pb.TagNumber(1)
  @$pb.TagNumber(2)
  @$pb.TagNumber(3)
  @$pb.TagNumber(6)
  @$pb.TagNumber(8)
  @$pb.TagNumber(10)
  @$pb.TagNumber(12)
  @$pb.TagNumber(18)
  @$pb.TagNumber(20)
  @$pb.TagNumber(22)
  @$pb.TagNumber(23)
  @$pb.TagNumber(24)
  @$pb.TagNumber(25)
  @$pb.TagNumber(26)
  @$pb.TagNumber(27)
  @$pb.TagNumber(28)
  @$pb.TagNumber(29)
  @$pb.TagNumber(30)
  @$pb.TagNumber(31)
  @$pb.TagNumber(32)
  @$pb.TagNumber(33)
  @$pb.TagNumber(34)
  @$pb.TagNumber(35)
  @$pb.TagNumber(36)
  @$pb.TagNumber(37)
  @$pb.TagNumber(38)
  @$pb.TagNumber(39)
  @$pb.TagNumber(40)
  void clearApplicationData() => $_clearField($_whichOneof(0));

  @$pb.TagNumber(1)
  ApplicationData_TextMessage get textMessage => $_getN(0);
  @$pb.TagNumber(1)
  set textMessage(ApplicationData_TextMessage value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasTextMessage() => $_has(0);
  @$pb.TagNumber(1)
  void clearTextMessage() => $_clearField(1);
  @$pb.TagNumber(1)
  ApplicationData_TextMessage ensureTextMessage() => $_ensure(0);

  @$pb.TagNumber(2)
  ApplicationData_GetUserByUsername get getUserByUsername => $_getN(1);
  @$pb.TagNumber(2)
  set getUserByUsername(ApplicationData_GetUserByUsername value) =>
      $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasGetUserByUsername() => $_has(1);
  @$pb.TagNumber(2)
  void clearGetUserByUsername() => $_clearField(2);
  @$pb.TagNumber(2)
  ApplicationData_GetUserByUsername ensureGetUserByUsername() => $_ensure(1);

  @$pb.TagNumber(3)
  ApplicationData_GetPrekeysByUserId get getPrekeysByUserId => $_getN(2);
  @$pb.TagNumber(3)
  set getPrekeysByUserId(ApplicationData_GetPrekeysByUserId value) =>
      $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasGetPrekeysByUserId() => $_has(2);
  @$pb.TagNumber(3)
  void clearGetPrekeysByUserId() => $_clearField(3);
  @$pb.TagNumber(3)
  ApplicationData_GetPrekeysByUserId ensureGetPrekeysByUserId() => $_ensure(2);

  @$pb.TagNumber(6)
  ApplicationData_GetUserById get getUserById => $_getN(3);
  @$pb.TagNumber(6)
  set getUserById(ApplicationData_GetUserById value) => $_setField(6, value);
  @$pb.TagNumber(6)
  $core.bool hasGetUserById() => $_has(3);
  @$pb.TagNumber(6)
  void clearGetUserById() => $_clearField(6);
  @$pb.TagNumber(6)
  ApplicationData_GetUserById ensureGetUserById() => $_ensure(3);

  @$pb.TagNumber(8)
  ApplicationData_UpdateGoogleFcmToken get updateGoogleFcmToken => $_getN(4);
  @$pb.TagNumber(8)
  set updateGoogleFcmToken(ApplicationData_UpdateGoogleFcmToken value) =>
      $_setField(8, value);
  @$pb.TagNumber(8)
  $core.bool hasUpdateGoogleFcmToken() => $_has(4);
  @$pb.TagNumber(8)
  void clearUpdateGoogleFcmToken() => $_clearField(8);
  @$pb.TagNumber(8)
  ApplicationData_UpdateGoogleFcmToken ensureUpdateGoogleFcmToken() =>
      $_ensure(4);

  @$pb.TagNumber(10)
  ApplicationData_GetCurrentPlanInfos get getCurrentPlanInfos => $_getN(5);
  @$pb.TagNumber(10)
  set getCurrentPlanInfos(ApplicationData_GetCurrentPlanInfos value) =>
      $_setField(10, value);
  @$pb.TagNumber(10)
  $core.bool hasGetCurrentPlanInfos() => $_has(5);
  @$pb.TagNumber(10)
  void clearGetCurrentPlanInfos() => $_clearField(10);
  @$pb.TagNumber(10)
  ApplicationData_GetCurrentPlanInfos ensureGetCurrentPlanInfos() =>
      $_ensure(5);

  @$pb.TagNumber(12)
  ApplicationData_GetAvailablePlans get getAvailablePlans => $_getN(6);
  @$pb.TagNumber(12)
  set getAvailablePlans(ApplicationData_GetAvailablePlans value) =>
      $_setField(12, value);
  @$pb.TagNumber(12)
  $core.bool hasGetAvailablePlans() => $_has(6);
  @$pb.TagNumber(12)
  void clearGetAvailablePlans() => $_clearField(12);
  @$pb.TagNumber(12)
  ApplicationData_GetAvailablePlans ensureGetAvailablePlans() => $_ensure(6);

  @$pb.TagNumber(18)
  ApplicationData_RemoveAdditionalUser get removeAdditionalUser => $_getN(7);
  @$pb.TagNumber(18)
  set removeAdditionalUser(ApplicationData_RemoveAdditionalUser value) =>
      $_setField(18, value);
  @$pb.TagNumber(18)
  $core.bool hasRemoveAdditionalUser() => $_has(7);
  @$pb.TagNumber(18)
  void clearRemoveAdditionalUser() => $_clearField(18);
  @$pb.TagNumber(18)
  ApplicationData_RemoveAdditionalUser ensureRemoveAdditionalUser() =>
      $_ensure(7);

  @$pb.TagNumber(20)
  ApplicationData_DownloadDone get downloadDone => $_getN(8);
  @$pb.TagNumber(20)
  set downloadDone(ApplicationData_DownloadDone value) => $_setField(20, value);
  @$pb.TagNumber(20)
  $core.bool hasDownloadDone() => $_has(8);
  @$pb.TagNumber(20)
  void clearDownloadDone() => $_clearField(20);
  @$pb.TagNumber(20)
  ApplicationData_DownloadDone ensureDownloadDone() => $_ensure(8);

  @$pb.TagNumber(22)
  ApplicationData_GetSignedPreKeyByUserId get getSignedPrekeyByUserid =>
      $_getN(9);
  @$pb.TagNumber(22)
  set getSignedPrekeyByUserid(ApplicationData_GetSignedPreKeyByUserId value) =>
      $_setField(22, value);
  @$pb.TagNumber(22)
  $core.bool hasGetSignedPrekeyByUserid() => $_has(9);
  @$pb.TagNumber(22)
  void clearGetSignedPrekeyByUserid() => $_clearField(22);
  @$pb.TagNumber(22)
  ApplicationData_GetSignedPreKeyByUserId ensureGetSignedPrekeyByUserid() =>
      $_ensure(9);

  @$pb.TagNumber(23)
  ApplicationData_UpdateSignedPreKey get updateSignedPrekey => $_getN(10);
  @$pb.TagNumber(23)
  set updateSignedPrekey(ApplicationData_UpdateSignedPreKey value) =>
      $_setField(23, value);
  @$pb.TagNumber(23)
  $core.bool hasUpdateSignedPrekey() => $_has(10);
  @$pb.TagNumber(23)
  void clearUpdateSignedPrekey() => $_clearField(23);
  @$pb.TagNumber(23)
  ApplicationData_UpdateSignedPreKey ensureUpdateSignedPrekey() => $_ensure(10);

  @$pb.TagNumber(24)
  ApplicationData_DeleteAccount get deleteAccount => $_getN(11);
  @$pb.TagNumber(24)
  set deleteAccount(ApplicationData_DeleteAccount value) =>
      $_setField(24, value);
  @$pb.TagNumber(24)
  $core.bool hasDeleteAccount() => $_has(11);
  @$pb.TagNumber(24)
  void clearDeleteAccount() => $_clearField(24);
  @$pb.TagNumber(24)
  ApplicationData_DeleteAccount ensureDeleteAccount() => $_ensure(11);

  @$pb.TagNumber(25)
  ApplicationData_ReportUser get reportUser => $_getN(12);
  @$pb.TagNumber(25)
  set reportUser(ApplicationData_ReportUser value) => $_setField(25, value);
  @$pb.TagNumber(25)
  $core.bool hasReportUser() => $_has(12);
  @$pb.TagNumber(25)
  void clearReportUser() => $_clearField(25);
  @$pb.TagNumber(25)
  ApplicationData_ReportUser ensureReportUser() => $_ensure(12);

  @$pb.TagNumber(26)
  ApplicationData_ChangeUsername get changeUsername => $_getN(13);
  @$pb.TagNumber(26)
  set changeUsername(ApplicationData_ChangeUsername value) =>
      $_setField(26, value);
  @$pb.TagNumber(26)
  $core.bool hasChangeUsername() => $_has(13);
  @$pb.TagNumber(26)
  void clearChangeUsername() => $_clearField(26);
  @$pb.TagNumber(26)
  ApplicationData_ChangeUsername ensureChangeUsername() => $_ensure(13);

  @$pb.TagNumber(27)
  ApplicationData_IPAPurchase get ipaPurchase => $_getN(14);
  @$pb.TagNumber(27)
  set ipaPurchase(ApplicationData_IPAPurchase value) => $_setField(27, value);
  @$pb.TagNumber(27)
  $core.bool hasIpaPurchase() => $_has(14);
  @$pb.TagNumber(27)
  void clearIpaPurchase() => $_clearField(27);
  @$pb.TagNumber(27)
  ApplicationData_IPAPurchase ensureIpaPurchase() => $_ensure(14);

  @$pb.TagNumber(28)
  ApplicationData_IPAForceCheck get ipaForceCheck => $_getN(15);
  @$pb.TagNumber(28)
  set ipaForceCheck(ApplicationData_IPAForceCheck value) =>
      $_setField(28, value);
  @$pb.TagNumber(28)
  $core.bool hasIpaForceCheck() => $_has(15);
  @$pb.TagNumber(28)
  void clearIpaForceCheck() => $_clearField(28);
  @$pb.TagNumber(28)
  ApplicationData_IPAForceCheck ensureIpaForceCheck() => $_ensure(15);

  @$pb.TagNumber(29)
  ApplicationData_AddAdditionalUser get addAdditionalUser => $_getN(16);
  @$pb.TagNumber(29)
  set addAdditionalUser(ApplicationData_AddAdditionalUser value) =>
      $_setField(29, value);
  @$pb.TagNumber(29)
  $core.bool hasAddAdditionalUser() => $_has(16);
  @$pb.TagNumber(29)
  void clearAddAdditionalUser() => $_clearField(29);
  @$pb.TagNumber(29)
  ApplicationData_AddAdditionalUser ensureAddAdditionalUser() => $_ensure(16);

  @$pb.TagNumber(30)
  ApplicationData_SetLoginToken get setLoginToken => $_getN(17);
  @$pb.TagNumber(30)
  set setLoginToken(ApplicationData_SetLoginToken value) =>
      $_setField(30, value);
  @$pb.TagNumber(30)
  $core.bool hasSetLoginToken() => $_has(17);
  @$pb.TagNumber(30)
  void clearSetLoginToken() => $_clearField(30);
  @$pb.TagNumber(30)
  ApplicationData_SetLoginToken ensureSetLoginToken() => $_ensure(17);

  @$pb.TagNumber(31)
  ApplicationData_RegisterPasswordLessRecovery
      get registerPasswordlessRecovery => $_getN(18);
  @$pb.TagNumber(31)
  set registerPasswordlessRecovery(
          ApplicationData_RegisterPasswordLessRecovery value) =>
      $_setField(31, value);
  @$pb.TagNumber(31)
  $core.bool hasRegisterPasswordlessRecovery() => $_has(18);
  @$pb.TagNumber(31)
  void clearRegisterPasswordlessRecovery() => $_clearField(31);
  @$pb.TagNumber(31)
  ApplicationData_RegisterPasswordLessRecovery
      ensureRegisterPasswordlessRecovery() => $_ensure(18);

  @$pb.TagNumber(32)
  ApplicationData_PasswordlessNotification get passwordlessNotification =>
      $_getN(19);
  @$pb.TagNumber(32)
  set passwordlessNotification(
          ApplicationData_PasswordlessNotification value) =>
      $_setField(32, value);
  @$pb.TagNumber(32)
  $core.bool hasPasswordlessNotification() => $_has(19);
  @$pb.TagNumber(32)
  void clearPasswordlessNotification() => $_clearField(32);
  @$pb.TagNumber(32)
  ApplicationData_PasswordlessNotification ensurePasswordlessNotification() =>
      $_ensure(19);

  @$pb.TagNumber(33)
  ApplicationData_RequestMemoriesUpload get requestMemoriesUpload => $_getN(20);
  @$pb.TagNumber(33)
  set requestMemoriesUpload(ApplicationData_RequestMemoriesUpload value) =>
      $_setField(33, value);
  @$pb.TagNumber(33)
  $core.bool hasRequestMemoriesUpload() => $_has(20);
  @$pb.TagNumber(33)
  void clearRequestMemoriesUpload() => $_clearField(33);
  @$pb.TagNumber(33)
  ApplicationData_RequestMemoriesUpload ensureRequestMemoriesUpload() =>
      $_ensure(20);

  @$pb.TagNumber(34)
  ApplicationData_ConfirmMemoriesUpload get confirmMemoriesUpload => $_getN(21);
  @$pb.TagNumber(34)
  set confirmMemoriesUpload(ApplicationData_ConfirmMemoriesUpload value) =>
      $_setField(34, value);
  @$pb.TagNumber(34)
  $core.bool hasConfirmMemoriesUpload() => $_has(21);
  @$pb.TagNumber(34)
  void clearConfirmMemoriesUpload() => $_clearField(34);
  @$pb.TagNumber(34)
  ApplicationData_ConfirmMemoriesUpload ensureConfirmMemoriesUpload() =>
      $_ensure(21);

  @$pb.TagNumber(35)
  ApplicationData_GetMemoriesList get getMemoriesList => $_getN(22);
  @$pb.TagNumber(35)
  set getMemoriesList(ApplicationData_GetMemoriesList value) =>
      $_setField(35, value);
  @$pb.TagNumber(35)
  $core.bool hasGetMemoriesList() => $_has(22);
  @$pb.TagNumber(35)
  void clearGetMemoriesList() => $_clearField(35);
  @$pb.TagNumber(35)
  ApplicationData_GetMemoriesList ensureGetMemoriesList() => $_ensure(22);

  @$pb.TagNumber(36)
  ApplicationData_GetMemoriesUrl get getMemoriesUrl => $_getN(23);
  @$pb.TagNumber(36)
  set getMemoriesUrl(ApplicationData_GetMemoriesUrl value) =>
      $_setField(36, value);
  @$pb.TagNumber(36)
  $core.bool hasGetMemoriesUrl() => $_has(23);
  @$pb.TagNumber(36)
  void clearGetMemoriesUrl() => $_clearField(36);
  @$pb.TagNumber(36)
  ApplicationData_GetMemoriesUrl ensureGetMemoriesUrl() => $_ensure(23);

  @$pb.TagNumber(37)
  ApplicationData_GetMemoriesUsage get getMemoriesUsage => $_getN(24);
  @$pb.TagNumber(37)
  set getMemoriesUsage(ApplicationData_GetMemoriesUsage value) =>
      $_setField(37, value);
  @$pb.TagNumber(37)
  $core.bool hasGetMemoriesUsage() => $_has(24);
  @$pb.TagNumber(37)
  void clearGetMemoriesUsage() => $_clearField(37);
  @$pb.TagNumber(37)
  ApplicationData_GetMemoriesUsage ensureGetMemoriesUsage() => $_ensure(24);

  @$pb.TagNumber(38)
  ApplicationData_DeleteMemory get deleteMemory => $_getN(25);
  @$pb.TagNumber(38)
  set deleteMemory(ApplicationData_DeleteMemory value) => $_setField(38, value);
  @$pb.TagNumber(38)
  $core.bool hasDeleteMemory() => $_has(25);
  @$pb.TagNumber(38)
  void clearDeleteMemory() => $_clearField(38);
  @$pb.TagNumber(38)
  ApplicationData_DeleteMemory ensureDeleteMemory() => $_ensure(25);

  @$pb.TagNumber(39)
  ApplicationData_DisableMemoriesBackup get disableMemoriesBackup => $_getN(26);
  @$pb.TagNumber(39)
  set disableMemoriesBackup(ApplicationData_DisableMemoriesBackup value) =>
      $_setField(39, value);
  @$pb.TagNumber(39)
  $core.bool hasDisableMemoriesBackup() => $_has(26);
  @$pb.TagNumber(39)
  void clearDisableMemoriesBackup() => $_clearField(39);
  @$pb.TagNumber(39)
  ApplicationData_DisableMemoriesBackup ensureDisableMemoriesBackup() =>
      $_ensure(26);

  @$pb.TagNumber(40)
  ApplicationData_UploadPqcPreKeys get uploadPqcPrekeys => $_getN(27);
  @$pb.TagNumber(40)
  set uploadPqcPrekeys(ApplicationData_UploadPqcPreKeys value) =>
      $_setField(40, value);
  @$pb.TagNumber(40)
  $core.bool hasUploadPqcPrekeys() => $_has(27);
  @$pb.TagNumber(40)
  void clearUploadPqcPrekeys() => $_clearField(40);
  @$pb.TagNumber(40)
  ApplicationData_UploadPqcPreKeys ensureUploadPqcPrekeys() => $_ensure(27);
}

class Response_PreKey extends $pb.GeneratedMessage {
  factory Response_PreKey({
    $fixnum.Int64? id,
    $core.List<$core.int>? prekey,
  }) {
    final result = create();
    if (id != null) result.id = id;
    if (prekey != null) result.prekey = prekey;
    return result;
  }

  Response_PreKey._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Response.PreKey',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'id')
    ..a<$core.List<$core.int>>(
        2, _omitFieldNames ? '' : 'prekey', $pb.PbFieldType.OY)
    ..hasRequiredFields = false;

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

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

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get prekey => $_getN(1);
  @$pb.TagNumber(2)
  set prekey($core.List<$core.int> value) => $_setBytes(1, value);
  @$pb.TagNumber(2)
  $core.bool hasPrekey() => $_has(1);
  @$pb.TagNumber(2)
  void clearPrekey() => $_clearField(2);
}

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

  Response_Prekeys._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Response.Prekeys',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..pPM<Response_PreKey>(1, _omitFieldNames ? '' : 'prekeys',
        subBuilder: Response_PreKey.create)
    ..hasRequiredFields = false;

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

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

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

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

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

  Response_PqcPrekeys._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Response.PqcPrekeys',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..pPM<ApplicationData_PqcPreKey>(1, _omitFieldNames ? '' : 'prekeys',
        subBuilder: ApplicationData_PqcPreKey.create)
    ..hasRequiredFields = false;

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

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

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

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

enum Response_Ok_Ok { none, prekeys, prekeysPqc, notSet }

class Response_Ok extends $pb.GeneratedMessage {
  factory Response_Ok({
    $core.bool? none,
    Response_Prekeys? prekeys,
    Response_PqcPrekeys? prekeysPqc,
  }) {
    final result = create();
    if (none != null) result.none = none;
    if (prekeys != null) result.prekeys = prekeys;
    if (prekeysPqc != null) result.prekeysPqc = prekeysPqc;
    return result;
  }

  Response_Ok._();

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

  static const $core.Map<$core.int, Response_Ok_Ok> _Response_Ok_OkByTag = {
    1: Response_Ok_Ok.none,
    2: Response_Ok_Ok.prekeys,
    3: Response_Ok_Ok.prekeysPqc,
    0: Response_Ok_Ok.notSet
  };
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Response.Ok',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..oo(0, [1, 2, 3])
    ..aOB(1, _omitFieldNames ? '' : 'None', protoName: 'None')
    ..aOM<Response_Prekeys>(2, _omitFieldNames ? '' : 'prekeys',
        subBuilder: Response_Prekeys.create)
    ..aOM<Response_PqcPrekeys>(3, _omitFieldNames ? '' : 'prekeysPqc',
        subBuilder: Response_PqcPrekeys.create)
    ..hasRequiredFields = false;

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

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

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

  @$pb.TagNumber(1)
  @$pb.TagNumber(2)
  @$pb.TagNumber(3)
  Response_Ok_Ok whichOk() => _Response_Ok_OkByTag[$_whichOneof(0)]!;
  @$pb.TagNumber(1)
  @$pb.TagNumber(2)
  @$pb.TagNumber(3)
  void clearOk() => $_clearField($_whichOneof(0));

  @$pb.TagNumber(1)
  $core.bool get none => $_getBF(0);
  @$pb.TagNumber(1)
  set none($core.bool value) => $_setBool(0, value);
  @$pb.TagNumber(1)
  $core.bool hasNone() => $_has(0);
  @$pb.TagNumber(1)
  void clearNone() => $_clearField(1);

  @$pb.TagNumber(2)
  Response_Prekeys get prekeys => $_getN(1);
  @$pb.TagNumber(2)
  set prekeys(Response_Prekeys value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasPrekeys() => $_has(1);
  @$pb.TagNumber(2)
  void clearPrekeys() => $_clearField(2);
  @$pb.TagNumber(2)
  Response_Prekeys ensurePrekeys() => $_ensure(1);

  @$pb.TagNumber(3)
  Response_PqcPrekeys get prekeysPqc => $_getN(2);
  @$pb.TagNumber(3)
  set prekeysPqc(Response_PqcPrekeys value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPrekeysPqc() => $_has(2);
  @$pb.TagNumber(3)
  void clearPrekeysPqc() => $_clearField(3);
  @$pb.TagNumber(3)
  Response_PqcPrekeys ensurePrekeysPqc() => $_ensure(2);
}

enum Response_Response { ok, error, notSet }

class Response extends $pb.GeneratedMessage {
  factory Response({
    Response_Ok? ok,
    $0.ErrorCode? error,
  }) {
    final result = create();
    if (ok != null) result.ok = ok;
    if (error != null) result.error = error;
    return result;
  }

  Response._();

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

  static const $core.Map<$core.int, Response_Response> _Response_ResponseByTag =
      {
    1: Response_Response.ok,
    2: Response_Response.error,
    0: Response_Response.notSet
  };
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ? '' : 'Response',
      package:
          const $pb.PackageName(_omitMessageNames ? '' : 'client_to_server'),
      createEmptyInstance: create)
    ..oo(0, [1, 2])
    ..aOM<Response_Ok>(1, _omitFieldNames ? '' : 'ok',
        subBuilder: Response_Ok.create)
    ..aE<$0.ErrorCode>(2, _omitFieldNames ? '' : 'error',
        enumValues: $0.ErrorCode.values)
    ..hasRequiredFields = false;

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

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

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

  @$pb.TagNumber(1)
  @$pb.TagNumber(2)
  Response_Response whichResponse() =>
      _Response_ResponseByTag[$_whichOneof(0)]!;
  @$pb.TagNumber(1)
  @$pb.TagNumber(2)
  void clearResponse() => $_clearField($_whichOneof(0));

  @$pb.TagNumber(1)
  Response_Ok get ok => $_getN(0);
  @$pb.TagNumber(1)
  set ok(Response_Ok value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasOk() => $_has(0);
  @$pb.TagNumber(1)
  void clearOk() => $_clearField(1);
  @$pb.TagNumber(1)
  Response_Ok ensureOk() => $_ensure(0);

  @$pb.TagNumber(2)
  $0.ErrorCode get error => $_getN(1);
  @$pb.TagNumber(2)
  set error($0.ErrorCode value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasError() => $_has(1);
  @$pb.TagNumber(2)
  void clearError() => $_clearField(2);
}

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