//
//  Generated code. Do not modify.
//  source: user.proto
//
// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import

import 'dart:core' as $core;

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

import 'shared.pb.dart' as $3;
import 'user.pbenum.dart';

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

export 'user.pbenum.dart';

class User extends $pb.GeneratedMessage {
  factory User({
    $core.String? iD,
    $core.String? firstName,
    $core.String? lastName,
    $core.String? mail,
    $core.String? languageCode,
    $core.String? timezoneCode,
    UserStatus? status,
    $core.String? createdAt,
    UserType? type,
    $core.String? partnerAppID,
    $core.String? expiresAt,
    $core.String? partnerID,
    TwoFAValue? twoFA,
    $core.bool? temporarilyLocked,
  }) {
    final $result = create();
    if (iD != null) {
      $result.iD = iD;
    }
    if (firstName != null) {
      $result.firstName = firstName;
    }
    if (lastName != null) {
      $result.lastName = lastName;
    }
    if (mail != null) {
      $result.mail = mail;
    }
    if (languageCode != null) {
      $result.languageCode = languageCode;
    }
    if (timezoneCode != null) {
      $result.timezoneCode = timezoneCode;
    }
    if (status != null) {
      $result.status = status;
    }
    if (createdAt != null) {
      $result.createdAt = createdAt;
    }
    if (type != null) {
      $result.type = type;
    }
    if (partnerAppID != null) {
      $result.partnerAppID = partnerAppID;
    }
    if (expiresAt != null) {
      $result.expiresAt = expiresAt;
    }
    if (partnerID != null) {
      $result.partnerID = partnerID;
    }
    if (twoFA != null) {
      $result.twoFA = twoFA;
    }
    if (temporarilyLocked != null) {
      $result.temporarilyLocked = temporarilyLocked;
    }
    return $result;
  }
  User._() : super();
  factory User.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory User.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'User', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'ID', protoName: 'ID')
    ..aOS(2, _omitFieldNames ? '' : 'FirstName', protoName: 'FirstName')
    ..aOS(3, _omitFieldNames ? '' : 'LastName', protoName: 'LastName')
    ..aOS(4, _omitFieldNames ? '' : 'Mail', protoName: 'Mail')
    ..aOS(6, _omitFieldNames ? '' : 'LanguageCode', protoName: 'LanguageCode')
    ..aOS(7, _omitFieldNames ? '' : 'TimezoneCode', protoName: 'TimezoneCode')
    ..e<UserStatus>(10, _omitFieldNames ? '' : 'Status', $pb.PbFieldType.OE, protoName: 'Status', defaultOrMaker: UserStatus.USER_STATUS_UNKNOWN, valueOf: UserStatus.valueOf, enumValues: UserStatus.values)
    ..aOS(11, _omitFieldNames ? '' : 'CreatedAt', protoName: 'CreatedAt')
    ..e<UserType>(12, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: UserType.USER_TYPE_UNKNOWN, valueOf: UserType.valueOf, enumValues: UserType.values)
    ..aOS(13, _omitFieldNames ? '' : 'PartnerAppID', protoName: 'PartnerAppID')
    ..aOS(14, _omitFieldNames ? '' : 'ExpiresAt', protoName: 'ExpiresAt')
    ..aOS(15, _omitFieldNames ? '' : 'PartnerID', protoName: 'PartnerID')
    ..e<TwoFAValue>(16, _omitFieldNames ? '' : 'TwoFA', $pb.PbFieldType.OE, protoName: 'TwoFA', defaultOrMaker: TwoFAValue.TWOFA_VALUE_UNKNOWN, valueOf: TwoFAValue.valueOf, enumValues: TwoFAValue.values)
    ..aOB(17, _omitFieldNames ? '' : 'TemporarilyLocked', protoName: 'TemporarilyLocked')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  User clone() => User()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  User copyWith(void Function(User) updates) => super.copyWith((message) => updates(message as User)) as User;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get iD => $_getSZ(0);
  @$pb.TagNumber(1)
  set iD($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasID() => $_has(0);
  @$pb.TagNumber(1)
  void clearID() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get firstName => $_getSZ(1);
  @$pb.TagNumber(2)
  set firstName($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasFirstName() => $_has(1);
  @$pb.TagNumber(2)
  void clearFirstName() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get lastName => $_getSZ(2);
  @$pb.TagNumber(3)
  set lastName($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasLastName() => $_has(2);
  @$pb.TagNumber(3)
  void clearLastName() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.String get mail => $_getSZ(3);
  @$pb.TagNumber(4)
  set mail($core.String v) { $_setString(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasMail() => $_has(3);
  @$pb.TagNumber(4)
  void clearMail() => $_clearField(4);

  /// bool Active = 5;
  @$pb.TagNumber(6)
  $core.String get languageCode => $_getSZ(4);
  @$pb.TagNumber(6)
  set languageCode($core.String v) { $_setString(4, v); }
  @$pb.TagNumber(6)
  $core.bool hasLanguageCode() => $_has(4);
  @$pb.TagNumber(6)
  void clearLanguageCode() => $_clearField(6);

  @$pb.TagNumber(7)
  $core.String get timezoneCode => $_getSZ(5);
  @$pb.TagNumber(7)
  set timezoneCode($core.String v) { $_setString(5, v); }
  @$pb.TagNumber(7)
  $core.bool hasTimezoneCode() => $_has(5);
  @$pb.TagNumber(7)
  void clearTimezoneCode() => $_clearField(7);

  /// repeated string Roles = 8;
  /// repeated string InheritedRoles = 9;
  @$pb.TagNumber(10)
  UserStatus get status => $_getN(6);
  @$pb.TagNumber(10)
  set status(UserStatus v) { $_setField(10, v); }
  @$pb.TagNumber(10)
  $core.bool hasStatus() => $_has(6);
  @$pb.TagNumber(10)
  void clearStatus() => $_clearField(10);

  /// UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format
  @$pb.TagNumber(11)
  $core.String get createdAt => $_getSZ(7);
  @$pb.TagNumber(11)
  set createdAt($core.String v) { $_setString(7, v); }
  @$pb.TagNumber(11)
  $core.bool hasCreatedAt() => $_has(7);
  @$pb.TagNumber(11)
  void clearCreatedAt() => $_clearField(11);

  @$pb.TagNumber(12)
  UserType get type => $_getN(8);
  @$pb.TagNumber(12)
  set type(UserType v) { $_setField(12, v); }
  @$pb.TagNumber(12)
  $core.bool hasType() => $_has(8);
  @$pb.TagNumber(12)
  void clearType() => $_clearField(12);

  @$pb.TagNumber(13)
  $core.String get partnerAppID => $_getSZ(9);
  @$pb.TagNumber(13)
  set partnerAppID($core.String v) { $_setString(9, v); }
  @$pb.TagNumber(13)
  $core.bool hasPartnerAppID() => $_has(9);
  @$pb.TagNumber(13)
  void clearPartnerAppID() => $_clearField(13);

  /// Only for SA
  @$pb.TagNumber(14)
  $core.String get expiresAt => $_getSZ(10);
  @$pb.TagNumber(14)
  set expiresAt($core.String v) { $_setString(10, v); }
  @$pb.TagNumber(14)
  $core.bool hasExpiresAt() => $_has(10);
  @$pb.TagNumber(14)
  void clearExpiresAt() => $_clearField(14);

  @$pb.TagNumber(15)
  $core.String get partnerID => $_getSZ(11);
  @$pb.TagNumber(15)
  set partnerID($core.String v) { $_setString(11, v); }
  @$pb.TagNumber(15)
  $core.bool hasPartnerID() => $_has(11);
  @$pb.TagNumber(15)
  void clearPartnerID() => $_clearField(15);

  @$pb.TagNumber(16)
  TwoFAValue get twoFA => $_getN(12);
  @$pb.TagNumber(16)
  set twoFA(TwoFAValue v) { $_setField(16, v); }
  @$pb.TagNumber(16)
  $core.bool hasTwoFA() => $_has(12);
  @$pb.TagNumber(16)
  void clearTwoFA() => $_clearField(16);

  @$pb.TagNumber(17)
  $core.bool get temporarilyLocked => $_getBF(13);
  @$pb.TagNumber(17)
  set temporarilyLocked($core.bool v) { $_setBool(13, v); }
  @$pb.TagNumber(17)
  $core.bool hasTemporarilyLocked() => $_has(13);
  @$pb.TagNumber(17)
  void clearTemporarilyLocked() => $_clearField(17);
}

class RemoveUserRequest extends $pb.GeneratedMessage {
  factory RemoveUserRequest({
    $core.String? userID,
  }) {
    final $result = create();
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  RemoveUserRequest._() : super();
  factory RemoveUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory RemoveUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  RemoveUserRequest clone() => RemoveUserRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  RemoveUserRequest copyWith(void Function(RemoveUserRequest) updates) => super.copyWith((message) => updates(message as RemoveUserRequest)) as RemoveUserRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get userID => $_getSZ(0);
  @$pb.TagNumber(1)
  set userID($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasUserID() => $_has(0);
  @$pb.TagNumber(1)
  void clearUserID() => $_clearField(1);
}

class EnrollUserRequest extends $pb.GeneratedMessage {
  factory EnrollUserRequest({
    $3.RequestOrganisationHeader? header,
    $core.String? mail,
    $core.String? locale,
    $core.bool? forceTwoFA,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (mail != null) {
      $result.mail = mail;
    }
    if (locale != null) {
      $result.locale = locale;
    }
    if (forceTwoFA != null) {
      $result.forceTwoFA = forceTwoFA;
    }
    return $result;
  }
  EnrollUserRequest._() : super();
  factory EnrollUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory EnrollUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnrollUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'Mail', protoName: 'Mail')
    ..aOS(3, _omitFieldNames ? '' : 'locale')
    ..aOB(4, _omitFieldNames ? '' : 'ForceTwoFA', protoName: 'ForceTwoFA')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  EnrollUserRequest clone() => EnrollUserRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  EnrollUserRequest copyWith(void Function(EnrollUserRequest) updates) => super.copyWith((message) => updates(message as EnrollUserRequest)) as EnrollUserRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get mail => $_getSZ(1);
  @$pb.TagNumber(2)
  set mail($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasMail() => $_has(1);
  @$pb.TagNumber(2)
  void clearMail() => $_clearField(2);

  /// The locale the user will be enrolled with following the specification defined at
  /// http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
  /// Examples are: "en-US", "fr-CH", "es-MX"
  @$pb.TagNumber(3)
  $core.String get locale => $_getSZ(2);
  @$pb.TagNumber(3)
  set locale($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasLocale() => $_has(2);
  @$pb.TagNumber(3)
  void clearLocale() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.bool get forceTwoFA => $_getBF(3);
  @$pb.TagNumber(4)
  set forceTwoFA($core.bool v) { $_setBool(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasForceTwoFA() => $_has(3);
  @$pb.TagNumber(4)
  void clearForceTwoFA() => $_clearField(4);
}

class SendVerificationMailRequest extends $pb.GeneratedMessage {
  factory SendVerificationMailRequest({
    $3.RequestOrganisationHeader? header,
    $core.String? userID,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  SendVerificationMailRequest._() : super();
  factory SendVerificationMailRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SendVerificationMailRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SendVerificationMailRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SendVerificationMailRequest clone() => SendVerificationMailRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SendVerificationMailRequest copyWith(void Function(SendVerificationMailRequest) updates) => super.copyWith((message) => updates(message as SendVerificationMailRequest)) as SendVerificationMailRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get userID => $_getSZ(1);
  @$pb.TagNumber(2)
  set userID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasUserID() => $_has(1);
  @$pb.TagNumber(2)
  void clearUserID() => $_clearField(2);
}

class SendVerificationMailAsRequest extends $pb.GeneratedMessage {
  factory SendVerificationMailAsRequest({
    $core.String? senderMail,
    $core.String? userID,
    $core.String? organisationID,
    $core.String? projectID,
  }) {
    final $result = create();
    if (senderMail != null) {
      $result.senderMail = senderMail;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    if (organisationID != null) {
      $result.organisationID = organisationID;
    }
    if (projectID != null) {
      $result.projectID = projectID;
    }
    return $result;
  }
  SendVerificationMailAsRequest._() : super();
  factory SendVerificationMailAsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SendVerificationMailAsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SendVerificationMailAsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'SenderMail', protoName: 'SenderMail')
    ..aOS(2, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..aOS(3, _omitFieldNames ? '' : 'OrganisationID', protoName: 'OrganisationID')
    ..aOS(4, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SendVerificationMailAsRequest clone() => SendVerificationMailAsRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SendVerificationMailAsRequest copyWith(void Function(SendVerificationMailAsRequest) updates) => super.copyWith((message) => updates(message as SendVerificationMailAsRequest)) as SendVerificationMailAsRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get senderMail => $_getSZ(0);
  @$pb.TagNumber(1)
  set senderMail($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasSenderMail() => $_has(0);
  @$pb.TagNumber(1)
  void clearSenderMail() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get userID => $_getSZ(1);
  @$pb.TagNumber(2)
  set userID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasUserID() => $_has(1);
  @$pb.TagNumber(2)
  void clearUserID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get organisationID => $_getSZ(2);
  @$pb.TagNumber(3)
  set organisationID($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasOrganisationID() => $_has(2);
  @$pb.TagNumber(3)
  void clearOrganisationID() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.String get projectID => $_getSZ(3);
  @$pb.TagNumber(4)
  set projectID($core.String v) { $_setString(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasProjectID() => $_has(3);
  @$pb.TagNumber(4)
  void clearProjectID() => $_clearField(4);
}

class EnrollUserProjectRequest extends $pb.GeneratedMessage {
  factory EnrollUserProjectRequest({
    $3.RequestProjectHeader? header,
    $core.String? mail,
    $core.String? locale,
    $core.bool? forceTwoFA,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (mail != null) {
      $result.mail = mail;
    }
    if (locale != null) {
      $result.locale = locale;
    }
    if (forceTwoFA != null) {
      $result.forceTwoFA = forceTwoFA;
    }
    return $result;
  }
  EnrollUserProjectRequest._() : super();
  factory EnrollUserProjectRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory EnrollUserProjectRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnrollUserProjectRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'Mail', protoName: 'Mail')
    ..aOS(3, _omitFieldNames ? '' : 'locale')
    ..aOB(4, _omitFieldNames ? '' : 'ForceTwoFA', protoName: 'ForceTwoFA')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  EnrollUserProjectRequest clone() => EnrollUserProjectRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  EnrollUserProjectRequest copyWith(void Function(EnrollUserProjectRequest) updates) => super.copyWith((message) => updates(message as EnrollUserProjectRequest)) as EnrollUserProjectRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get mail => $_getSZ(1);
  @$pb.TagNumber(2)
  set mail($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasMail() => $_has(1);
  @$pb.TagNumber(2)
  void clearMail() => $_clearField(2);

  /// The locale the user will be enrolled with following the specification defined at
  /// http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
  /// Examples are: "en-US", "fr-CH", "es-MX"
  @$pb.TagNumber(3)
  $core.String get locale => $_getSZ(2);
  @$pb.TagNumber(3)
  set locale($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasLocale() => $_has(2);
  @$pb.TagNumber(3)
  void clearLocale() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.bool get forceTwoFA => $_getBF(3);
  @$pb.TagNumber(4)
  set forceTwoFA($core.bool v) { $_setBool(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasForceTwoFA() => $_has(3);
  @$pb.TagNumber(4)
  void clearForceTwoFA() => $_clearField(4);
}

class SendVerificationMailProjectRequest extends $pb.GeneratedMessage {
  factory SendVerificationMailProjectRequest({
    $3.RequestProjectHeader? header,
    $core.String? userID,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  SendVerificationMailProjectRequest._() : super();
  factory SendVerificationMailProjectRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SendVerificationMailProjectRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SendVerificationMailProjectRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SendVerificationMailProjectRequest clone() => SendVerificationMailProjectRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SendVerificationMailProjectRequest copyWith(void Function(SendVerificationMailProjectRequest) updates) => super.copyWith((message) => updates(message as SendVerificationMailProjectRequest)) as SendVerificationMailProjectRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get userID => $_getSZ(1);
  @$pb.TagNumber(2)
  set userID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasUserID() => $_has(1);
  @$pb.TagNumber(2)
  void clearUserID() => $_clearField(2);
}

class CreateSARequest extends $pb.GeneratedMessage {
  factory CreateSARequest({
    $3.RequestOrganisationHeader? header,
    $core.String? name,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (name != null) {
      $result.name = name;
    }
    return $result;
  }
  CreateSARequest._() : super();
  factory CreateSARequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory CreateSARequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateSARequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  CreateSARequest clone() => CreateSARequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  CreateSARequest copyWith(void Function(CreateSARequest) updates) => super.copyWith((message) => updates(message as CreateSARequest)) as CreateSARequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get name => $_getSZ(1);
  @$pb.TagNumber(2)
  set name($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasName() => $_has(1);
  @$pb.TagNumber(2)
  void clearName() => $_clearField(2);
}

class RenewSARequest extends $pb.GeneratedMessage {
  factory RenewSARequest({
    $3.RequestOrganisationHeader? header,
    $core.String? mail,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (mail != null) {
      $result.mail = mail;
    }
    return $result;
  }
  RenewSARequest._() : super();
  factory RenewSARequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory RenewSARequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenewSARequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'Mail', protoName: 'Mail')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  RenewSARequest clone() => RenewSARequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  RenewSARequest copyWith(void Function(RenewSARequest) updates) => super.copyWith((message) => updates(message as RenewSARequest)) as RenewSARequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get mail => $_getSZ(1);
  @$pb.TagNumber(2)
  set mail($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasMail() => $_has(1);
  @$pb.TagNumber(2)
  void clearMail() => $_clearField(2);
}

class RemoveSARequest extends $pb.GeneratedMessage {
  factory RemoveSARequest({
    $3.RequestOrganisationHeader? header,
    $core.String? mail,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (mail != null) {
      $result.mail = mail;
    }
    return $result;
  }
  RemoveSARequest._() : super();
  factory RemoveSARequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory RemoveSARequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveSARequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'Mail', protoName: 'Mail')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  RemoveSARequest clone() => RemoveSARequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  RemoveSARequest copyWith(void Function(RemoveSARequest) updates) => super.copyWith((message) => updates(message as RemoveSARequest)) as RemoveSARequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get mail => $_getSZ(1);
  @$pb.TagNumber(2)
  set mail($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasMail() => $_has(1);
  @$pb.TagNumber(2)
  void clearMail() => $_clearField(2);
}

class SuggestSANameRequest extends $pb.GeneratedMessage {
  factory SuggestSANameRequest({
    $3.RequestOrganisationHeader? header,
    $core.String? name,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (name != null) {
      $result.name = name;
    }
    return $result;
  }
  SuggestSANameRequest._() : super();
  factory SuggestSANameRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SuggestSANameRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SuggestSANameRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SuggestSANameRequest clone() => SuggestSANameRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SuggestSANameRequest copyWith(void Function(SuggestSANameRequest) updates) => super.copyWith((message) => updates(message as SuggestSANameRequest)) as SuggestSANameRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get name => $_getSZ(1);
  @$pb.TagNumber(2)
  set name($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasName() => $_has(1);
  @$pb.TagNumber(2)
  void clearName() => $_clearField(2);
}

class ListPlatformUsersRequest extends $pb.GeneratedMessage {
  factory ListPlatformUsersRequest() => create();
  ListPlatformUsersRequest._() : super();
  factory ListPlatformUsersRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListPlatformUsersRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListPlatformUsersRequest clone() => ListPlatformUsersRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListPlatformUsersRequest copyWith(void Function(ListPlatformUsersRequest) updates) => super.copyWith((message) => updates(message as ListPlatformUsersRequest)) as ListPlatformUsersRequest;

  $pb.BuilderInfo get info_ => _i;

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

class ListOrganisationUsersRequest extends $pb.GeneratedMessage {
  factory ListOrganisationUsersRequest({
    $3.RequestOrganisationHeader? header,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    return $result;
  }
  ListOrganisationUsersRequest._() : super();
  factory ListOrganisationUsersRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListOrganisationUsersRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOrganisationUsersRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListOrganisationUsersRequest clone() => ListOrganisationUsersRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListOrganisationUsersRequest copyWith(void Function(ListOrganisationUsersRequest) updates) => super.copyWith((message) => updates(message as ListOrganisationUsersRequest)) as ListOrganisationUsersRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);
}

class ListProjectUsersRequest extends $pb.GeneratedMessage {
  factory ListProjectUsersRequest({
    $3.RequestProjectHeader? header,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    return $result;
  }
  ListProjectUsersRequest._() : super();
  factory ListProjectUsersRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListProjectUsersRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListProjectUsersRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListProjectUsersRequest clone() => ListProjectUsersRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListProjectUsersRequest copyWith(void Function(ListProjectUsersRequest) updates) => super.copyWith((message) => updates(message as ListProjectUsersRequest)) as ListProjectUsersRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);
}

class ListPartnerAppUsersRequest extends $pb.GeneratedMessage {
  factory ListPartnerAppUsersRequest({
    $3.RequestProjectHeader? header,
    $core.String? partnerAppID,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (partnerAppID != null) {
      $result.partnerAppID = partnerAppID;
    }
    return $result;
  }
  ListPartnerAppUsersRequest._() : super();
  factory ListPartnerAppUsersRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListPartnerAppUsersRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListPartnerAppUsersRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'PartnerAppID', protoName: 'PartnerAppID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListPartnerAppUsersRequest clone() => ListPartnerAppUsersRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListPartnerAppUsersRequest copyWith(void Function(ListPartnerAppUsersRequest) updates) => super.copyWith((message) => updates(message as ListPartnerAppUsersRequest)) as ListPartnerAppUsersRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get partnerAppID => $_getSZ(1);
  @$pb.TagNumber(2)
  set partnerAppID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasPartnerAppID() => $_has(1);
  @$pb.TagNumber(2)
  void clearPartnerAppID() => $_clearField(2);
}

class ListConnectionUsersRequest extends $pb.GeneratedMessage {
  factory ListConnectionUsersRequest({
    $3.RequestProjectHeader? header,
    $core.String? connectionID,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (connectionID != null) {
      $result.connectionID = connectionID;
    }
    return $result;
  }
  ListConnectionUsersRequest._() : super();
  factory ListConnectionUsersRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListConnectionUsersRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListConnectionUsersRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'ConnectionID', protoName: 'ConnectionID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListConnectionUsersRequest clone() => ListConnectionUsersRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListConnectionUsersRequest copyWith(void Function(ListConnectionUsersRequest) updates) => super.copyWith((message) => updates(message as ListConnectionUsersRequest)) as ListConnectionUsersRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get connectionID => $_getSZ(1);
  @$pb.TagNumber(2)
  set connectionID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasConnectionID() => $_has(1);
  @$pb.TagNumber(2)
  void clearConnectionID() => $_clearField(2);
}

class GetPlatformUserRequest extends $pb.GeneratedMessage {
  factory GetPlatformUserRequest({
    $core.String? userID,
  }) {
    final $result = create();
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  GetPlatformUserRequest._() : super();
  factory GetPlatformUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory GetPlatformUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPlatformUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  GetPlatformUserRequest clone() => GetPlatformUserRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  GetPlatformUserRequest copyWith(void Function(GetPlatformUserRequest) updates) => super.copyWith((message) => updates(message as GetPlatformUserRequest)) as GetPlatformUserRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get userID => $_getSZ(0);
  @$pb.TagNumber(1)
  set userID($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasUserID() => $_has(0);
  @$pb.TagNumber(1)
  void clearUserID() => $_clearField(1);
}

class GetOrganisationUserRequest extends $pb.GeneratedMessage {
  factory GetOrganisationUserRequest({
    $3.RequestOrganisationHeader? header,
    $core.String? userID,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  GetOrganisationUserRequest._() : super();
  factory GetOrganisationUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory GetOrganisationUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganisationUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  GetOrganisationUserRequest clone() => GetOrganisationUserRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  GetOrganisationUserRequest copyWith(void Function(GetOrganisationUserRequest) updates) => super.copyWith((message) => updates(message as GetOrganisationUserRequest)) as GetOrganisationUserRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get userID => $_getSZ(1);
  @$pb.TagNumber(2)
  set userID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasUserID() => $_has(1);
  @$pb.TagNumber(2)
  void clearUserID() => $_clearField(2);
}

class GetProjectUserRequest extends $pb.GeneratedMessage {
  factory GetProjectUserRequest({
    $3.RequestProjectHeader? header,
    $core.String? userID,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  GetProjectUserRequest._() : super();
  factory GetProjectUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory GetProjectUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetProjectUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  GetProjectUserRequest clone() => GetProjectUserRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  GetProjectUserRequest copyWith(void Function(GetProjectUserRequest) updates) => super.copyWith((message) => updates(message as GetProjectUserRequest)) as GetProjectUserRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get userID => $_getSZ(1);
  @$pb.TagNumber(2)
  set userID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasUserID() => $_has(1);
  @$pb.TagNumber(2)
  void clearUserID() => $_clearField(2);
}

class ListUserPlatformRolesRequest extends $pb.GeneratedMessage {
  factory ListUserPlatformRolesRequest({
    $core.String? userID,
  }) {
    final $result = create();
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  ListUserPlatformRolesRequest._() : super();
  factory ListUserPlatformRolesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUserPlatformRolesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserPlatformRolesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUserPlatformRolesRequest clone() => ListUserPlatformRolesRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUserPlatformRolesRequest copyWith(void Function(ListUserPlatformRolesRequest) updates) => super.copyWith((message) => updates(message as ListUserPlatformRolesRequest)) as ListUserPlatformRolesRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get userID => $_getSZ(0);
  @$pb.TagNumber(1)
  set userID($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasUserID() => $_has(0);
  @$pb.TagNumber(1)
  void clearUserID() => $_clearField(1);
}

class ListUserOrganisationRolesRequest extends $pb.GeneratedMessage {
  factory ListUserOrganisationRolesRequest({
    $3.RequestOrganisationHeader? header,
    $core.String? userID,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  ListUserOrganisationRolesRequest._() : super();
  factory ListUserOrganisationRolesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUserOrganisationRolesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserOrganisationRolesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUserOrganisationRolesRequest clone() => ListUserOrganisationRolesRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUserOrganisationRolesRequest copyWith(void Function(ListUserOrganisationRolesRequest) updates) => super.copyWith((message) => updates(message as ListUserOrganisationRolesRequest)) as ListUserOrganisationRolesRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get userID => $_getSZ(1);
  @$pb.TagNumber(2)
  set userID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasUserID() => $_has(1);
  @$pb.TagNumber(2)
  void clearUserID() => $_clearField(2);
}

class ListUserProjectRolesRequest extends $pb.GeneratedMessage {
  factory ListUserProjectRolesRequest({
    $3.RequestProjectHeader? header,
    $core.String? userID,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  ListUserProjectRolesRequest._() : super();
  factory ListUserProjectRolesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUserProjectRolesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserProjectRolesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUserProjectRolesRequest clone() => ListUserProjectRolesRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUserProjectRolesRequest copyWith(void Function(ListUserProjectRolesRequest) updates) => super.copyWith((message) => updates(message as ListUserProjectRolesRequest)) as ListUserProjectRolesRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get userID => $_getSZ(1);
  @$pb.TagNumber(2)
  set userID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasUserID() => $_has(1);
  @$pb.TagNumber(2)
  void clearUserID() => $_clearField(2);
}

class ListUserPartnerAppRolesRequest extends $pb.GeneratedMessage {
  factory ListUserPartnerAppRolesRequest({
    $3.RequestProjectHeader? header,
    $core.String? partnerAppID,
    $core.String? userID,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (partnerAppID != null) {
      $result.partnerAppID = partnerAppID;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  ListUserPartnerAppRolesRequest._() : super();
  factory ListUserPartnerAppRolesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUserPartnerAppRolesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserPartnerAppRolesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'PartnerAppID', protoName: 'PartnerAppID')
    ..aOS(3, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUserPartnerAppRolesRequest clone() => ListUserPartnerAppRolesRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUserPartnerAppRolesRequest copyWith(void Function(ListUserPartnerAppRolesRequest) updates) => super.copyWith((message) => updates(message as ListUserPartnerAppRolesRequest)) as ListUserPartnerAppRolesRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get partnerAppID => $_getSZ(1);
  @$pb.TagNumber(2)
  set partnerAppID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasPartnerAppID() => $_has(1);
  @$pb.TagNumber(2)
  void clearPartnerAppID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get userID => $_getSZ(2);
  @$pb.TagNumber(3)
  set userID($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasUserID() => $_has(2);
  @$pb.TagNumber(3)
  void clearUserID() => $_clearField(3);
}

class ListUserConnectionRolesRequest extends $pb.GeneratedMessage {
  factory ListUserConnectionRolesRequest({
    $3.RequestProjectHeader? header,
    $core.String? connectionID,
    $core.String? userID,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (connectionID != null) {
      $result.connectionID = connectionID;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  ListUserConnectionRolesRequest._() : super();
  factory ListUserConnectionRolesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUserConnectionRolesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserConnectionRolesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'ConnectionID', protoName: 'ConnectionID')
    ..aOS(3, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUserConnectionRolesRequest clone() => ListUserConnectionRolesRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUserConnectionRolesRequest copyWith(void Function(ListUserConnectionRolesRequest) updates) => super.copyWith((message) => updates(message as ListUserConnectionRolesRequest)) as ListUserConnectionRolesRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get connectionID => $_getSZ(1);
  @$pb.TagNumber(2)
  set connectionID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasConnectionID() => $_has(1);
  @$pb.TagNumber(2)
  void clearConnectionID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get userID => $_getSZ(2);
  @$pb.TagNumber(3)
  set userID($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasUserID() => $_has(2);
  @$pb.TagNumber(3)
  void clearUserID() => $_clearField(3);
}

class ListUserAttachmentTypeRolesRequest extends $pb.GeneratedMessage {
  factory ListUserAttachmentTypeRolesRequest({
    $3.RequestProjectHeader? header,
    $core.String? attachmentTypeID,
    $core.String? userID,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (attachmentTypeID != null) {
      $result.attachmentTypeID = attachmentTypeID;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  ListUserAttachmentTypeRolesRequest._() : super();
  factory ListUserAttachmentTypeRolesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUserAttachmentTypeRolesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserAttachmentTypeRolesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'AttachmentTypeID', protoName: 'AttachmentTypeID')
    ..aOS(3, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUserAttachmentTypeRolesRequest clone() => ListUserAttachmentTypeRolesRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUserAttachmentTypeRolesRequest copyWith(void Function(ListUserAttachmentTypeRolesRequest) updates) => super.copyWith((message) => updates(message as ListUserAttachmentTypeRolesRequest)) as ListUserAttachmentTypeRolesRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get attachmentTypeID => $_getSZ(1);
  @$pb.TagNumber(2)
  set attachmentTypeID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasAttachmentTypeID() => $_has(1);
  @$pb.TagNumber(2)
  void clearAttachmentTypeID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get userID => $_getSZ(2);
  @$pb.TagNumber(3)
  set userID($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasUserID() => $_has(2);
  @$pb.TagNumber(3)
  void clearUserID() => $_clearField(3);
}

class SetUserPlatformRolesRequest extends $pb.GeneratedMessage {
  factory SetUserPlatformRolesRequest({
    $core.String? userID,
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (userID != null) {
      $result.userID = userID;
    }
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  SetUserPlatformRolesRequest._() : super();
  factory SetUserPlatformRolesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SetUserPlatformRolesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetUserPlatformRolesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..pPS(2, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SetUserPlatformRolesRequest clone() => SetUserPlatformRolesRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SetUserPlatformRolesRequest copyWith(void Function(SetUserPlatformRolesRequest) updates) => super.copyWith((message) => updates(message as SetUserPlatformRolesRequest)) as SetUserPlatformRolesRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get userID => $_getSZ(0);
  @$pb.TagNumber(1)
  set userID($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasUserID() => $_has(0);
  @$pb.TagNumber(1)
  void clearUserID() => $_clearField(1);

  @$pb.TagNumber(2)
  $pb.PbList<$core.String> get roles => $_getList(1);
}

class SetUserOrganisationRolesRequest extends $pb.GeneratedMessage {
  factory SetUserOrganisationRolesRequest({
    $3.RequestOrganisationHeader? header,
    $core.String? userID,
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  SetUserOrganisationRolesRequest._() : super();
  factory SetUserOrganisationRolesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SetUserOrganisationRolesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetUserOrganisationRolesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..pPS(3, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SetUserOrganisationRolesRequest clone() => SetUserOrganisationRolesRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SetUserOrganisationRolesRequest copyWith(void Function(SetUserOrganisationRolesRequest) updates) => super.copyWith((message) => updates(message as SetUserOrganisationRolesRequest)) as SetUserOrganisationRolesRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get userID => $_getSZ(1);
  @$pb.TagNumber(2)
  set userID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasUserID() => $_has(1);
  @$pb.TagNumber(2)
  void clearUserID() => $_clearField(2);

  @$pb.TagNumber(3)
  $pb.PbList<$core.String> get roles => $_getList(2);
}

class SetUserProjectRolesRequest extends $pb.GeneratedMessage {
  factory SetUserProjectRolesRequest({
    $3.RequestProjectHeader? header,
    $core.String? userID,
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  SetUserProjectRolesRequest._() : super();
  factory SetUserProjectRolesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SetUserProjectRolesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetUserProjectRolesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..pPS(3, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SetUserProjectRolesRequest clone() => SetUserProjectRolesRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SetUserProjectRolesRequest copyWith(void Function(SetUserProjectRolesRequest) updates) => super.copyWith((message) => updates(message as SetUserProjectRolesRequest)) as SetUserProjectRolesRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get userID => $_getSZ(1);
  @$pb.TagNumber(2)
  set userID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasUserID() => $_has(1);
  @$pb.TagNumber(2)
  void clearUserID() => $_clearField(2);

  @$pb.TagNumber(3)
  $pb.PbList<$core.String> get roles => $_getList(2);
}

class SetUserPartnerAppRolesRequest extends $pb.GeneratedMessage {
  factory SetUserPartnerAppRolesRequest({
    $3.RequestProjectHeader? header,
    $core.String? partnerAppID,
    $core.String? userID,
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (partnerAppID != null) {
      $result.partnerAppID = partnerAppID;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  SetUserPartnerAppRolesRequest._() : super();
  factory SetUserPartnerAppRolesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SetUserPartnerAppRolesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetUserPartnerAppRolesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'PartnerAppID', protoName: 'PartnerAppID')
    ..aOS(3, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..pPS(4, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SetUserPartnerAppRolesRequest clone() => SetUserPartnerAppRolesRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SetUserPartnerAppRolesRequest copyWith(void Function(SetUserPartnerAppRolesRequest) updates) => super.copyWith((message) => updates(message as SetUserPartnerAppRolesRequest)) as SetUserPartnerAppRolesRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get partnerAppID => $_getSZ(1);
  @$pb.TagNumber(2)
  set partnerAppID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasPartnerAppID() => $_has(1);
  @$pb.TagNumber(2)
  void clearPartnerAppID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get userID => $_getSZ(2);
  @$pb.TagNumber(3)
  set userID($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasUserID() => $_has(2);
  @$pb.TagNumber(3)
  void clearUserID() => $_clearField(3);

  @$pb.TagNumber(4)
  $pb.PbList<$core.String> get roles => $_getList(3);
}

class SetUserConnectionRolesRequest extends $pb.GeneratedMessage {
  factory SetUserConnectionRolesRequest({
    $3.RequestProjectHeader? header,
    $core.String? connectionID,
    $core.String? userID,
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (connectionID != null) {
      $result.connectionID = connectionID;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  SetUserConnectionRolesRequest._() : super();
  factory SetUserConnectionRolesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SetUserConnectionRolesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetUserConnectionRolesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'ConnectionID', protoName: 'ConnectionID')
    ..aOS(3, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..pPS(4, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SetUserConnectionRolesRequest clone() => SetUserConnectionRolesRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SetUserConnectionRolesRequest copyWith(void Function(SetUserConnectionRolesRequest) updates) => super.copyWith((message) => updates(message as SetUserConnectionRolesRequest)) as SetUserConnectionRolesRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get connectionID => $_getSZ(1);
  @$pb.TagNumber(2)
  set connectionID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasConnectionID() => $_has(1);
  @$pb.TagNumber(2)
  void clearConnectionID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get userID => $_getSZ(2);
  @$pb.TagNumber(3)
  set userID($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasUserID() => $_has(2);
  @$pb.TagNumber(3)
  void clearUserID() => $_clearField(3);

  @$pb.TagNumber(4)
  $pb.PbList<$core.String> get roles => $_getList(3);
}

class SetUserAttachmentTypeRolesRequest extends $pb.GeneratedMessage {
  factory SetUserAttachmentTypeRolesRequest({
    $3.RequestProjectHeader? header,
    $core.String? attachmentTypeID,
    $core.String? userID,
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (attachmentTypeID != null) {
      $result.attachmentTypeID = attachmentTypeID;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  SetUserAttachmentTypeRolesRequest._() : super();
  factory SetUserAttachmentTypeRolesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SetUserAttachmentTypeRolesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetUserAttachmentTypeRolesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'AttachmentTypeID', protoName: 'AttachmentTypeID')
    ..aOS(3, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..pPS(4, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SetUserAttachmentTypeRolesRequest clone() => SetUserAttachmentTypeRolesRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SetUserAttachmentTypeRolesRequest copyWith(void Function(SetUserAttachmentTypeRolesRequest) updates) => super.copyWith((message) => updates(message as SetUserAttachmentTypeRolesRequest)) as SetUserAttachmentTypeRolesRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get attachmentTypeID => $_getSZ(1);
  @$pb.TagNumber(2)
  set attachmentTypeID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasAttachmentTypeID() => $_has(1);
  @$pb.TagNumber(2)
  void clearAttachmentTypeID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get userID => $_getSZ(2);
  @$pb.TagNumber(3)
  set userID($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasUserID() => $_has(2);
  @$pb.TagNumber(3)
  void clearUserID() => $_clearField(3);

  @$pb.TagNumber(4)
  $pb.PbList<$core.String> get roles => $_getList(3);
}

class RemoveUserResult extends $pb.GeneratedMessage {
  factory RemoveUserResult() => create();
  RemoveUserResult._() : super();
  factory RemoveUserResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory RemoveUserResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  RemoveUserResult clone() => RemoveUserResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  RemoveUserResult copyWith(void Function(RemoveUserResult) updates) => super.copyWith((message) => updates(message as RemoveUserResult)) as RemoveUserResult;

  $pb.BuilderInfo get info_ => _i;

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

class EnrollUserResult extends $pb.GeneratedMessage {
  factory EnrollUserResult({
    User? user,
  }) {
    final $result = create();
    if (user != null) {
      $result.user = user;
    }
    return $result;
  }
  EnrollUserResult._() : super();
  factory EnrollUserResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory EnrollUserResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnrollUserResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<User>(1, _omitFieldNames ? '' : 'User', protoName: 'User', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  EnrollUserResult clone() => EnrollUserResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  EnrollUserResult copyWith(void Function(EnrollUserResult) updates) => super.copyWith((message) => updates(message as EnrollUserResult)) as EnrollUserResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  User get user => $_getN(0);
  @$pb.TagNumber(1)
  set user(User v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasUser() => $_has(0);
  @$pb.TagNumber(1)
  void clearUser() => $_clearField(1);
  @$pb.TagNumber(1)
  User ensureUser() => $_ensure(0);
}

class SendVerificationMailResult extends $pb.GeneratedMessage {
  factory SendVerificationMailResult() => create();
  SendVerificationMailResult._() : super();
  factory SendVerificationMailResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SendVerificationMailResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SendVerificationMailResult clone() => SendVerificationMailResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SendVerificationMailResult copyWith(void Function(SendVerificationMailResult) updates) => super.copyWith((message) => updates(message as SendVerificationMailResult)) as SendVerificationMailResult;

  $pb.BuilderInfo get info_ => _i;

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

class CreateSAResult extends $pb.GeneratedMessage {
  factory CreateSAResult({
    User? sA,
    $core.String? pEM,
  }) {
    final $result = create();
    if (sA != null) {
      $result.sA = sA;
    }
    if (pEM != null) {
      $result.pEM = pEM;
    }
    return $result;
  }
  CreateSAResult._() : super();
  factory CreateSAResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory CreateSAResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateSAResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<User>(1, _omitFieldNames ? '' : 'SA', protoName: 'SA', subBuilder: User.create)
    ..aOS(2, _omitFieldNames ? '' : 'PEM', protoName: 'PEM')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  CreateSAResult clone() => CreateSAResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  CreateSAResult copyWith(void Function(CreateSAResult) updates) => super.copyWith((message) => updates(message as CreateSAResult)) as CreateSAResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  User get sA => $_getN(0);
  @$pb.TagNumber(1)
  set sA(User v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasSA() => $_has(0);
  @$pb.TagNumber(1)
  void clearSA() => $_clearField(1);
  @$pb.TagNumber(1)
  User ensureSA() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get pEM => $_getSZ(1);
  @$pb.TagNumber(2)
  set pEM($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasPEM() => $_has(1);
  @$pb.TagNumber(2)
  void clearPEM() => $_clearField(2);
}

class RenewSAResult extends $pb.GeneratedMessage {
  factory RenewSAResult({
    User? sA,
    $core.String? pEM,
  }) {
    final $result = create();
    if (sA != null) {
      $result.sA = sA;
    }
    if (pEM != null) {
      $result.pEM = pEM;
    }
    return $result;
  }
  RenewSAResult._() : super();
  factory RenewSAResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory RenewSAResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenewSAResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<User>(1, _omitFieldNames ? '' : 'SA', protoName: 'SA', subBuilder: User.create)
    ..aOS(2, _omitFieldNames ? '' : 'PEM', protoName: 'PEM')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  RenewSAResult clone() => RenewSAResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  RenewSAResult copyWith(void Function(RenewSAResult) updates) => super.copyWith((message) => updates(message as RenewSAResult)) as RenewSAResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  User get sA => $_getN(0);
  @$pb.TagNumber(1)
  set sA(User v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasSA() => $_has(0);
  @$pb.TagNumber(1)
  void clearSA() => $_clearField(1);
  @$pb.TagNumber(1)
  User ensureSA() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get pEM => $_getSZ(1);
  @$pb.TagNumber(2)
  set pEM($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasPEM() => $_has(1);
  @$pb.TagNumber(2)
  void clearPEM() => $_clearField(2);
}

class RemoveSAResult extends $pb.GeneratedMessage {
  factory RemoveSAResult() => create();
  RemoveSAResult._() : super();
  factory RemoveSAResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory RemoveSAResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  RemoveSAResult clone() => RemoveSAResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  RemoveSAResult copyWith(void Function(RemoveSAResult) updates) => super.copyWith((message) => updates(message as RemoveSAResult)) as RemoveSAResult;

  $pb.BuilderInfo get info_ => _i;

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

class SuggestSANameResult extends $pb.GeneratedMessage {
  factory SuggestSANameResult({
    $core.String? name,
    $core.String? mail,
  }) {
    final $result = create();
    if (name != null) {
      $result.name = name;
    }
    if (mail != null) {
      $result.mail = mail;
    }
    return $result;
  }
  SuggestSANameResult._() : super();
  factory SuggestSANameResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SuggestSANameResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SuggestSANameResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'Name', protoName: 'Name')
    ..aOS(2, _omitFieldNames ? '' : 'Mail', protoName: 'Mail')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SuggestSANameResult clone() => SuggestSANameResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SuggestSANameResult copyWith(void Function(SuggestSANameResult) updates) => super.copyWith((message) => updates(message as SuggestSANameResult)) as SuggestSANameResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get name => $_getSZ(0);
  @$pb.TagNumber(1)
  set name($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasName() => $_has(0);
  @$pb.TagNumber(1)
  void clearName() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get mail => $_getSZ(1);
  @$pb.TagNumber(2)
  set mail($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasMail() => $_has(1);
  @$pb.TagNumber(2)
  void clearMail() => $_clearField(2);
}

class ListPlatformUsersResult extends $pb.GeneratedMessage {
  factory ListPlatformUsersResult({
    $core.Iterable<User>? users,
  }) {
    final $result = create();
    if (users != null) {
      $result.users.addAll(users);
    }
    return $result;
  }
  ListPlatformUsersResult._() : super();
  factory ListPlatformUsersResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListPlatformUsersResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListPlatformUsersResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<User>(1, _omitFieldNames ? '' : 'Users', $pb.PbFieldType.PM, protoName: 'Users', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListPlatformUsersResult clone() => ListPlatformUsersResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListPlatformUsersResult copyWith(void Function(ListPlatformUsersResult) updates) => super.copyWith((message) => updates(message as ListPlatformUsersResult)) as ListPlatformUsersResult;

  $pb.BuilderInfo get info_ => _i;

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

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

class ListOrganisationUsersResult extends $pb.GeneratedMessage {
  factory ListOrganisationUsersResult({
    $core.Iterable<User>? users,
  }) {
    final $result = create();
    if (users != null) {
      $result.users.addAll(users);
    }
    return $result;
  }
  ListOrganisationUsersResult._() : super();
  factory ListOrganisationUsersResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListOrganisationUsersResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOrganisationUsersResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<User>(1, _omitFieldNames ? '' : 'Users', $pb.PbFieldType.PM, protoName: 'Users', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListOrganisationUsersResult clone() => ListOrganisationUsersResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListOrganisationUsersResult copyWith(void Function(ListOrganisationUsersResult) updates) => super.copyWith((message) => updates(message as ListOrganisationUsersResult)) as ListOrganisationUsersResult;

  $pb.BuilderInfo get info_ => _i;

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

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

class ListProjectUsersResult extends $pb.GeneratedMessage {
  factory ListProjectUsersResult({
    $core.Iterable<User>? users,
  }) {
    final $result = create();
    if (users != null) {
      $result.users.addAll(users);
    }
    return $result;
  }
  ListProjectUsersResult._() : super();
  factory ListProjectUsersResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListProjectUsersResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListProjectUsersResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<User>(1, _omitFieldNames ? '' : 'Users', $pb.PbFieldType.PM, protoName: 'Users', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListProjectUsersResult clone() => ListProjectUsersResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListProjectUsersResult copyWith(void Function(ListProjectUsersResult) updates) => super.copyWith((message) => updates(message as ListProjectUsersResult)) as ListProjectUsersResult;

  $pb.BuilderInfo get info_ => _i;

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

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

class ListPartnerAppUsersResult extends $pb.GeneratedMessage {
  factory ListPartnerAppUsersResult({
    $core.Iterable<User>? users,
  }) {
    final $result = create();
    if (users != null) {
      $result.users.addAll(users);
    }
    return $result;
  }
  ListPartnerAppUsersResult._() : super();
  factory ListPartnerAppUsersResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListPartnerAppUsersResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListPartnerAppUsersResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<User>(1, _omitFieldNames ? '' : 'Users', $pb.PbFieldType.PM, protoName: 'Users', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListPartnerAppUsersResult clone() => ListPartnerAppUsersResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListPartnerAppUsersResult copyWith(void Function(ListPartnerAppUsersResult) updates) => super.copyWith((message) => updates(message as ListPartnerAppUsersResult)) as ListPartnerAppUsersResult;

  $pb.BuilderInfo get info_ => _i;

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

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

class ListConnectionUsersResult extends $pb.GeneratedMessage {
  factory ListConnectionUsersResult({
    $core.Iterable<User>? users,
  }) {
    final $result = create();
    if (users != null) {
      $result.users.addAll(users);
    }
    return $result;
  }
  ListConnectionUsersResult._() : super();
  factory ListConnectionUsersResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListConnectionUsersResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListConnectionUsersResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<User>(1, _omitFieldNames ? '' : 'Users', $pb.PbFieldType.PM, protoName: 'Users', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListConnectionUsersResult clone() => ListConnectionUsersResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListConnectionUsersResult copyWith(void Function(ListConnectionUsersResult) updates) => super.copyWith((message) => updates(message as ListConnectionUsersResult)) as ListConnectionUsersResult;

  $pb.BuilderInfo get info_ => _i;

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

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

class GetPlatformUserResult extends $pb.GeneratedMessage {
  factory GetPlatformUserResult({
    User? user,
  }) {
    final $result = create();
    if (user != null) {
      $result.user = user;
    }
    return $result;
  }
  GetPlatformUserResult._() : super();
  factory GetPlatformUserResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory GetPlatformUserResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPlatformUserResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<User>(1, _omitFieldNames ? '' : 'User', protoName: 'User', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  GetPlatformUserResult clone() => GetPlatformUserResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  GetPlatformUserResult copyWith(void Function(GetPlatformUserResult) updates) => super.copyWith((message) => updates(message as GetPlatformUserResult)) as GetPlatformUserResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  User get user => $_getN(0);
  @$pb.TagNumber(1)
  set user(User v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasUser() => $_has(0);
  @$pb.TagNumber(1)
  void clearUser() => $_clearField(1);
  @$pb.TagNumber(1)
  User ensureUser() => $_ensure(0);
}

class GetOrganisationUserResult extends $pb.GeneratedMessage {
  factory GetOrganisationUserResult({
    User? user,
  }) {
    final $result = create();
    if (user != null) {
      $result.user = user;
    }
    return $result;
  }
  GetOrganisationUserResult._() : super();
  factory GetOrganisationUserResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory GetOrganisationUserResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganisationUserResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<User>(1, _omitFieldNames ? '' : 'User', protoName: 'User', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  GetOrganisationUserResult clone() => GetOrganisationUserResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  GetOrganisationUserResult copyWith(void Function(GetOrganisationUserResult) updates) => super.copyWith((message) => updates(message as GetOrganisationUserResult)) as GetOrganisationUserResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  User get user => $_getN(0);
  @$pb.TagNumber(1)
  set user(User v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasUser() => $_has(0);
  @$pb.TagNumber(1)
  void clearUser() => $_clearField(1);
  @$pb.TagNumber(1)
  User ensureUser() => $_ensure(0);
}

class GetProjectUserResult extends $pb.GeneratedMessage {
  factory GetProjectUserResult({
    User? user,
  }) {
    final $result = create();
    if (user != null) {
      $result.user = user;
    }
    return $result;
  }
  GetProjectUserResult._() : super();
  factory GetProjectUserResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory GetProjectUserResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetProjectUserResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<User>(1, _omitFieldNames ? '' : 'User', protoName: 'User', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  GetProjectUserResult clone() => GetProjectUserResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  GetProjectUserResult copyWith(void Function(GetProjectUserResult) updates) => super.copyWith((message) => updates(message as GetProjectUserResult)) as GetProjectUserResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  User get user => $_getN(0);
  @$pb.TagNumber(1)
  set user(User v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasUser() => $_has(0);
  @$pb.TagNumber(1)
  void clearUser() => $_clearField(1);
  @$pb.TagNumber(1)
  User ensureUser() => $_ensure(0);
}

class ListUserPlatformRolesResult extends $pb.GeneratedMessage {
  factory ListUserPlatformRolesResult({
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  ListUserPlatformRolesResult._() : super();
  factory ListUserPlatformRolesResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUserPlatformRolesResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserPlatformRolesResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pPS(1, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUserPlatformRolesResult clone() => ListUserPlatformRolesResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUserPlatformRolesResult copyWith(void Function(ListUserPlatformRolesResult) updates) => super.copyWith((message) => updates(message as ListUserPlatformRolesResult)) as ListUserPlatformRolesResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$core.String> get roles => $_getList(0);
}

class ListUserOrganisationRolesResult extends $pb.GeneratedMessage {
  factory ListUserOrganisationRolesResult({
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  ListUserOrganisationRolesResult._() : super();
  factory ListUserOrganisationRolesResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUserOrganisationRolesResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserOrganisationRolesResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pPS(1, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUserOrganisationRolesResult clone() => ListUserOrganisationRolesResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUserOrganisationRolesResult copyWith(void Function(ListUserOrganisationRolesResult) updates) => super.copyWith((message) => updates(message as ListUserOrganisationRolesResult)) as ListUserOrganisationRolesResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$core.String> get roles => $_getList(0);
}

class ListUserProjectRolesResult extends $pb.GeneratedMessage {
  factory ListUserProjectRolesResult({
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  ListUserProjectRolesResult._() : super();
  factory ListUserProjectRolesResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUserProjectRolesResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserProjectRolesResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pPS(1, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUserProjectRolesResult clone() => ListUserProjectRolesResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUserProjectRolesResult copyWith(void Function(ListUserProjectRolesResult) updates) => super.copyWith((message) => updates(message as ListUserProjectRolesResult)) as ListUserProjectRolesResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$core.String> get roles => $_getList(0);
}

class ListUserPartnerAppRolesResult extends $pb.GeneratedMessage {
  factory ListUserPartnerAppRolesResult({
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  ListUserPartnerAppRolesResult._() : super();
  factory ListUserPartnerAppRolesResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUserPartnerAppRolesResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserPartnerAppRolesResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pPS(1, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUserPartnerAppRolesResult clone() => ListUserPartnerAppRolesResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUserPartnerAppRolesResult copyWith(void Function(ListUserPartnerAppRolesResult) updates) => super.copyWith((message) => updates(message as ListUserPartnerAppRolesResult)) as ListUserPartnerAppRolesResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$core.String> get roles => $_getList(0);
}

class ListUserConnectionRolesResult extends $pb.GeneratedMessage {
  factory ListUserConnectionRolesResult({
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  ListUserConnectionRolesResult._() : super();
  factory ListUserConnectionRolesResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUserConnectionRolesResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserConnectionRolesResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pPS(1, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUserConnectionRolesResult clone() => ListUserConnectionRolesResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUserConnectionRolesResult copyWith(void Function(ListUserConnectionRolesResult) updates) => super.copyWith((message) => updates(message as ListUserConnectionRolesResult)) as ListUserConnectionRolesResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$core.String> get roles => $_getList(0);
}

class ListUserAttachmentTypeRolesResult extends $pb.GeneratedMessage {
  factory ListUserAttachmentTypeRolesResult({
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  ListUserAttachmentTypeRolesResult._() : super();
  factory ListUserAttachmentTypeRolesResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUserAttachmentTypeRolesResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserAttachmentTypeRolesResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pPS(1, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUserAttachmentTypeRolesResult clone() => ListUserAttachmentTypeRolesResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUserAttachmentTypeRolesResult copyWith(void Function(ListUserAttachmentTypeRolesResult) updates) => super.copyWith((message) => updates(message as ListUserAttachmentTypeRolesResult)) as ListUserAttachmentTypeRolesResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$core.String> get roles => $_getList(0);
}

class SetUserPlatformRolesResult extends $pb.GeneratedMessage {
  factory SetUserPlatformRolesResult() => create();
  SetUserPlatformRolesResult._() : super();
  factory SetUserPlatformRolesResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SetUserPlatformRolesResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SetUserPlatformRolesResult clone() => SetUserPlatformRolesResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SetUserPlatformRolesResult copyWith(void Function(SetUserPlatformRolesResult) updates) => super.copyWith((message) => updates(message as SetUserPlatformRolesResult)) as SetUserPlatformRolesResult;

  $pb.BuilderInfo get info_ => _i;

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

class SetUserOrganisationRolesResult extends $pb.GeneratedMessage {
  factory SetUserOrganisationRolesResult() => create();
  SetUserOrganisationRolesResult._() : super();
  factory SetUserOrganisationRolesResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SetUserOrganisationRolesResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SetUserOrganisationRolesResult clone() => SetUserOrganisationRolesResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SetUserOrganisationRolesResult copyWith(void Function(SetUserOrganisationRolesResult) updates) => super.copyWith((message) => updates(message as SetUserOrganisationRolesResult)) as SetUserOrganisationRolesResult;

  $pb.BuilderInfo get info_ => _i;

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

class SetUserProjectRolesResult extends $pb.GeneratedMessage {
  factory SetUserProjectRolesResult() => create();
  SetUserProjectRolesResult._() : super();
  factory SetUserProjectRolesResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SetUserProjectRolesResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SetUserProjectRolesResult clone() => SetUserProjectRolesResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SetUserProjectRolesResult copyWith(void Function(SetUserProjectRolesResult) updates) => super.copyWith((message) => updates(message as SetUserProjectRolesResult)) as SetUserProjectRolesResult;

  $pb.BuilderInfo get info_ => _i;

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

class SetUserPartnerAppRolesResult extends $pb.GeneratedMessage {
  factory SetUserPartnerAppRolesResult() => create();
  SetUserPartnerAppRolesResult._() : super();
  factory SetUserPartnerAppRolesResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SetUserPartnerAppRolesResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SetUserPartnerAppRolesResult clone() => SetUserPartnerAppRolesResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SetUserPartnerAppRolesResult copyWith(void Function(SetUserPartnerAppRolesResult) updates) => super.copyWith((message) => updates(message as SetUserPartnerAppRolesResult)) as SetUserPartnerAppRolesResult;

  $pb.BuilderInfo get info_ => _i;

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

class SetUserConnectionRolesResult extends $pb.GeneratedMessage {
  factory SetUserConnectionRolesResult() => create();
  SetUserConnectionRolesResult._() : super();
  factory SetUserConnectionRolesResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SetUserConnectionRolesResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SetUserConnectionRolesResult clone() => SetUserConnectionRolesResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SetUserConnectionRolesResult copyWith(void Function(SetUserConnectionRolesResult) updates) => super.copyWith((message) => updates(message as SetUserConnectionRolesResult)) as SetUserConnectionRolesResult;

  $pb.BuilderInfo get info_ => _i;

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

class SetUserAttachmentTypeRolesResult extends $pb.GeneratedMessage {
  factory SetUserAttachmentTypeRolesResult() => create();
  SetUserAttachmentTypeRolesResult._() : super();
  factory SetUserAttachmentTypeRolesResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory SetUserAttachmentTypeRolesResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  SetUserAttachmentTypeRolesResult clone() => SetUserAttachmentTypeRolesResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  SetUserAttachmentTypeRolesResult copyWith(void Function(SetUserAttachmentTypeRolesResult) updates) => super.copyWith((message) => updates(message as SetUserAttachmentTypeRolesResult)) as SetUserAttachmentTypeRolesResult;

  $pb.BuilderInfo get info_ => _i;

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

class EnrollUserWithoutMailRequest extends $pb.GeneratedMessage {
  factory EnrollUserWithoutMailRequest({
    $3.RequestOrganisationHeader? header,
    $core.String? mail,
    $core.String? locale,
    $core.bool? forceTwoFA,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (mail != null) {
      $result.mail = mail;
    }
    if (locale != null) {
      $result.locale = locale;
    }
    if (forceTwoFA != null) {
      $result.forceTwoFA = forceTwoFA;
    }
    return $result;
  }
  EnrollUserWithoutMailRequest._() : super();
  factory EnrollUserWithoutMailRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory EnrollUserWithoutMailRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnrollUserWithoutMailRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'Mail', protoName: 'Mail')
    ..aOS(3, _omitFieldNames ? '' : 'locale')
    ..aOB(4, _omitFieldNames ? '' : 'ForceTwoFA', protoName: 'ForceTwoFA')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  EnrollUserWithoutMailRequest clone() => EnrollUserWithoutMailRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  EnrollUserWithoutMailRequest copyWith(void Function(EnrollUserWithoutMailRequest) updates) => super.copyWith((message) => updates(message as EnrollUserWithoutMailRequest)) as EnrollUserWithoutMailRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get mail => $_getSZ(1);
  @$pb.TagNumber(2)
  set mail($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasMail() => $_has(1);
  @$pb.TagNumber(2)
  void clearMail() => $_clearField(2);

  /// The locale the user will be enrolled with following the specification defined at
  /// http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
  /// Examples are: "en-US", "fr-CH", "es-MX"
  @$pb.TagNumber(3)
  $core.String get locale => $_getSZ(2);
  @$pb.TagNumber(3)
  set locale($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasLocale() => $_has(2);
  @$pb.TagNumber(3)
  void clearLocale() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.bool get forceTwoFA => $_getBF(3);
  @$pb.TagNumber(4)
  set forceTwoFA($core.bool v) { $_setBool(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasForceTwoFA() => $_has(3);
  @$pb.TagNumber(4)
  void clearForceTwoFA() => $_clearField(4);
}

class EnrollUserWithoutMailResult extends $pb.GeneratedMessage {
  factory EnrollUserWithoutMailResult({
    User? user,
  }) {
    final $result = create();
    if (user != null) {
      $result.user = user;
    }
    return $result;
  }
  EnrollUserWithoutMailResult._() : super();
  factory EnrollUserWithoutMailResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory EnrollUserWithoutMailResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnrollUserWithoutMailResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<User>(1, _omitFieldNames ? '' : 'User', protoName: 'User', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  EnrollUserWithoutMailResult clone() => EnrollUserWithoutMailResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  EnrollUserWithoutMailResult copyWith(void Function(EnrollUserWithoutMailResult) updates) => super.copyWith((message) => updates(message as EnrollUserWithoutMailResult)) as EnrollUserWithoutMailResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  User get user => $_getN(0);
  @$pb.TagNumber(1)
  set user(User v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasUser() => $_has(0);
  @$pb.TagNumber(1)
  void clearUser() => $_clearField(1);
  @$pb.TagNumber(1)
  User ensureUser() => $_ensure(0);
}

class EnrollUserProjectWithoutMailRequest extends $pb.GeneratedMessage {
  factory EnrollUserProjectWithoutMailRequest({
    $3.RequestProjectHeader? header,
    $core.String? mail,
    $core.String? locale,
    $core.bool? forceTwoFA,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (mail != null) {
      $result.mail = mail;
    }
    if (locale != null) {
      $result.locale = locale;
    }
    if (forceTwoFA != null) {
      $result.forceTwoFA = forceTwoFA;
    }
    return $result;
  }
  EnrollUserProjectWithoutMailRequest._() : super();
  factory EnrollUserProjectWithoutMailRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory EnrollUserProjectWithoutMailRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnrollUserProjectWithoutMailRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'Mail', protoName: 'Mail')
    ..aOS(3, _omitFieldNames ? '' : 'locale')
    ..aOB(4, _omitFieldNames ? '' : 'ForceTwoFA', protoName: 'ForceTwoFA')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  EnrollUserProjectWithoutMailRequest clone() => EnrollUserProjectWithoutMailRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  EnrollUserProjectWithoutMailRequest copyWith(void Function(EnrollUserProjectWithoutMailRequest) updates) => super.copyWith((message) => updates(message as EnrollUserProjectWithoutMailRequest)) as EnrollUserProjectWithoutMailRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get mail => $_getSZ(1);
  @$pb.TagNumber(2)
  set mail($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasMail() => $_has(1);
  @$pb.TagNumber(2)
  void clearMail() => $_clearField(2);

  /// The locale the user will be enrolled with following the specification defined at
  /// http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
  /// Examples are: "en-US", "fr-CH", "es-MX"
  @$pb.TagNumber(3)
  $core.String get locale => $_getSZ(2);
  @$pb.TagNumber(3)
  set locale($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasLocale() => $_has(2);
  @$pb.TagNumber(3)
  void clearLocale() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.bool get forceTwoFA => $_getBF(3);
  @$pb.TagNumber(4)
  set forceTwoFA($core.bool v) { $_setBool(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasForceTwoFA() => $_has(3);
  @$pb.TagNumber(4)
  void clearForceTwoFA() => $_clearField(4);
}

class UpdateTwoFAPlatformRequest extends $pb.GeneratedMessage {
  factory UpdateTwoFAPlatformRequest({
    $core.String? userID,
    TwoFAValue? value,
  }) {
    final $result = create();
    if (userID != null) {
      $result.userID = userID;
    }
    if (value != null) {
      $result.value = value;
    }
    return $result;
  }
  UpdateTwoFAPlatformRequest._() : super();
  factory UpdateTwoFAPlatformRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory UpdateTwoFAPlatformRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTwoFAPlatformRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..e<TwoFAValue>(2, _omitFieldNames ? '' : 'Value', $pb.PbFieldType.OE, protoName: 'Value', defaultOrMaker: TwoFAValue.TWOFA_VALUE_UNKNOWN, valueOf: TwoFAValue.valueOf, enumValues: TwoFAValue.values)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  UpdateTwoFAPlatformRequest clone() => UpdateTwoFAPlatformRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  UpdateTwoFAPlatformRequest copyWith(void Function(UpdateTwoFAPlatformRequest) updates) => super.copyWith((message) => updates(message as UpdateTwoFAPlatformRequest)) as UpdateTwoFAPlatformRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get userID => $_getSZ(0);
  @$pb.TagNumber(1)
  set userID($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasUserID() => $_has(0);
  @$pb.TagNumber(1)
  void clearUserID() => $_clearField(1);

  @$pb.TagNumber(2)
  TwoFAValue get value => $_getN(1);
  @$pb.TagNumber(2)
  set value(TwoFAValue v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasValue() => $_has(1);
  @$pb.TagNumber(2)
  void clearValue() => $_clearField(2);
}

class UpdateTwoFAPlatformResult extends $pb.GeneratedMessage {
  factory UpdateTwoFAPlatformResult({
    User? user,
  }) {
    final $result = create();
    if (user != null) {
      $result.user = user;
    }
    return $result;
  }
  UpdateTwoFAPlatformResult._() : super();
  factory UpdateTwoFAPlatformResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory UpdateTwoFAPlatformResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTwoFAPlatformResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<User>(1, _omitFieldNames ? '' : 'User', protoName: 'User', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  UpdateTwoFAPlatformResult clone() => UpdateTwoFAPlatformResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  UpdateTwoFAPlatformResult copyWith(void Function(UpdateTwoFAPlatformResult) updates) => super.copyWith((message) => updates(message as UpdateTwoFAPlatformResult)) as UpdateTwoFAPlatformResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  User get user => $_getN(0);
  @$pb.TagNumber(1)
  set user(User v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasUser() => $_has(0);
  @$pb.TagNumber(1)
  void clearUser() => $_clearField(1);
  @$pb.TagNumber(1)
  User ensureUser() => $_ensure(0);
}

class ForceTwoFAOrganisationRequest extends $pb.GeneratedMessage {
  factory ForceTwoFAOrganisationRequest({
    $3.RequestOrganisationHeader? header,
    $core.String? userID,
    $core.bool? forceTwoFA,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    if (forceTwoFA != null) {
      $result.forceTwoFA = forceTwoFA;
    }
    return $result;
  }
  ForceTwoFAOrganisationRequest._() : super();
  factory ForceTwoFAOrganisationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ForceTwoFAOrganisationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ForceTwoFAOrganisationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..aOB(3, _omitFieldNames ? '' : 'ForceTwoFA', protoName: 'ForceTwoFA')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ForceTwoFAOrganisationRequest clone() => ForceTwoFAOrganisationRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ForceTwoFAOrganisationRequest copyWith(void Function(ForceTwoFAOrganisationRequest) updates) => super.copyWith((message) => updates(message as ForceTwoFAOrganisationRequest)) as ForceTwoFAOrganisationRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get userID => $_getSZ(1);
  @$pb.TagNumber(2)
  set userID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasUserID() => $_has(1);
  @$pb.TagNumber(2)
  void clearUserID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.bool get forceTwoFA => $_getBF(2);
  @$pb.TagNumber(3)
  set forceTwoFA($core.bool v) { $_setBool(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasForceTwoFA() => $_has(2);
  @$pb.TagNumber(3)
  void clearForceTwoFA() => $_clearField(3);
}

class ForceProjectUserTwoFARequest extends $pb.GeneratedMessage {
  factory ForceProjectUserTwoFARequest({
    $3.RequestProjectHeader? header,
    $core.String? userID,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    return $result;
  }
  ForceProjectUserTwoFARequest._() : super();
  factory ForceProjectUserTwoFARequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ForceProjectUserTwoFARequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ForceProjectUserTwoFARequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ForceProjectUserTwoFARequest clone() => ForceProjectUserTwoFARequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ForceProjectUserTwoFARequest copyWith(void Function(ForceProjectUserTwoFARequest) updates) => super.copyWith((message) => updates(message as ForceProjectUserTwoFARequest)) as ForceProjectUserTwoFARequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get userID => $_getSZ(1);
  @$pb.TagNumber(2)
  set userID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasUserID() => $_has(1);
  @$pb.TagNumber(2)
  void clearUserID() => $_clearField(2);
}

class ForceTwoFAResult extends $pb.GeneratedMessage {
  factory ForceTwoFAResult({
    User? user,
  }) {
    final $result = create();
    if (user != null) {
      $result.user = user;
    }
    return $result;
  }
  ForceTwoFAResult._() : super();
  factory ForceTwoFAResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ForceTwoFAResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ForceTwoFAResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<User>(1, _omitFieldNames ? '' : 'User', protoName: 'User', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ForceTwoFAResult clone() => ForceTwoFAResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ForceTwoFAResult copyWith(void Function(ForceTwoFAResult) updates) => super.copyWith((message) => updates(message as ForceTwoFAResult)) as ForceTwoFAResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  User get user => $_getN(0);
  @$pb.TagNumber(1)
  set user(User v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasUser() => $_has(0);
  @$pb.TagNumber(1)
  void clearUser() => $_clearField(1);
  @$pb.TagNumber(1)
  User ensureUser() => $_ensure(0);
}

class FindUsersFilters extends $pb.GeneratedMessage {
  factory FindUsersFilters({
    $core.String? mail,
    UserStatus? status,
    $core.String? firstName,
    $core.String? lastName,
    $core.String? languageCode,
    UserType? type,
    $core.int? limit,
  }) {
    final $result = create();
    if (mail != null) {
      $result.mail = mail;
    }
    if (status != null) {
      $result.status = status;
    }
    if (firstName != null) {
      $result.firstName = firstName;
    }
    if (lastName != null) {
      $result.lastName = lastName;
    }
    if (languageCode != null) {
      $result.languageCode = languageCode;
    }
    if (type != null) {
      $result.type = type;
    }
    if (limit != null) {
      $result.limit = limit;
    }
    return $result;
  }
  FindUsersFilters._() : super();
  factory FindUsersFilters.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory FindUsersFilters.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FindUsersFilters', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'Mail', protoName: 'Mail')
    ..e<UserStatus>(2, _omitFieldNames ? '' : 'Status', $pb.PbFieldType.OE, protoName: 'Status', defaultOrMaker: UserStatus.USER_STATUS_UNKNOWN, valueOf: UserStatus.valueOf, enumValues: UserStatus.values)
    ..aOS(3, _omitFieldNames ? '' : 'FirstName', protoName: 'FirstName')
    ..aOS(4, _omitFieldNames ? '' : 'LastName', protoName: 'LastName')
    ..aOS(5, _omitFieldNames ? '' : 'LanguageCode', protoName: 'LanguageCode')
    ..e<UserType>(6, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: UserType.USER_TYPE_UNKNOWN, valueOf: UserType.valueOf, enumValues: UserType.values)
    ..a<$core.int>(7, _omitFieldNames ? '' : 'Limit', $pb.PbFieldType.O3, protoName: 'Limit')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  FindUsersFilters clone() => FindUsersFilters()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  FindUsersFilters copyWith(void Function(FindUsersFilters) updates) => super.copyWith((message) => updates(message as FindUsersFilters)) as FindUsersFilters;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get mail => $_getSZ(0);
  @$pb.TagNumber(1)
  set mail($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasMail() => $_has(0);
  @$pb.TagNumber(1)
  void clearMail() => $_clearField(1);

  @$pb.TagNumber(2)
  UserStatus get status => $_getN(1);
  @$pb.TagNumber(2)
  set status(UserStatus v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasStatus() => $_has(1);
  @$pb.TagNumber(2)
  void clearStatus() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get firstName => $_getSZ(2);
  @$pb.TagNumber(3)
  set firstName($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasFirstName() => $_has(2);
  @$pb.TagNumber(3)
  void clearFirstName() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.String get lastName => $_getSZ(3);
  @$pb.TagNumber(4)
  set lastName($core.String v) { $_setString(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasLastName() => $_has(3);
  @$pb.TagNumber(4)
  void clearLastName() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.String get languageCode => $_getSZ(4);
  @$pb.TagNumber(5)
  set languageCode($core.String v) { $_setString(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasLanguageCode() => $_has(4);
  @$pb.TagNumber(5)
  void clearLanguageCode() => $_clearField(5);

  @$pb.TagNumber(6)
  UserType get type => $_getN(5);
  @$pb.TagNumber(6)
  set type(UserType v) { $_setField(6, v); }
  @$pb.TagNumber(6)
  $core.bool hasType() => $_has(5);
  @$pb.TagNumber(6)
  void clearType() => $_clearField(6);

  @$pb.TagNumber(7)
  $core.int get limit => $_getIZ(6);
  @$pb.TagNumber(7)
  set limit($core.int v) { $_setSignedInt32(6, v); }
  @$pb.TagNumber(7)
  $core.bool hasLimit() => $_has(6);
  @$pb.TagNumber(7)
  void clearLimit() => $_clearField(7);
}

class FindPlatformUsersRequest extends $pb.GeneratedMessage {
  factory FindPlatformUsersRequest({
    FindUsersFilters? filter,
  }) {
    final $result = create();
    if (filter != null) {
      $result.filter = filter;
    }
    return $result;
  }
  FindPlatformUsersRequest._() : super();
  factory FindPlatformUsersRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory FindPlatformUsersRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FindPlatformUsersRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<FindUsersFilters>(1, _omitFieldNames ? '' : 'Filter', protoName: 'Filter', subBuilder: FindUsersFilters.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  FindPlatformUsersRequest clone() => FindPlatformUsersRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  FindPlatformUsersRequest copyWith(void Function(FindPlatformUsersRequest) updates) => super.copyWith((message) => updates(message as FindPlatformUsersRequest)) as FindPlatformUsersRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  FindUsersFilters get filter => $_getN(0);
  @$pb.TagNumber(1)
  set filter(FindUsersFilters v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasFilter() => $_has(0);
  @$pb.TagNumber(1)
  void clearFilter() => $_clearField(1);
  @$pb.TagNumber(1)
  FindUsersFilters ensureFilter() => $_ensure(0);
}

class FindOrganisationUsersRequest extends $pb.GeneratedMessage {
  factory FindOrganisationUsersRequest({
    $3.RequestOrganisationHeader? header,
    FindUsersFilters? filter,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (filter != null) {
      $result.filter = filter;
    }
    return $result;
  }
  FindOrganisationUsersRequest._() : super();
  factory FindOrganisationUsersRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory FindOrganisationUsersRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FindOrganisationUsersRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..aOM<FindUsersFilters>(2, _omitFieldNames ? '' : 'Filter', protoName: 'Filter', subBuilder: FindUsersFilters.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  FindOrganisationUsersRequest clone() => FindOrganisationUsersRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  FindOrganisationUsersRequest copyWith(void Function(FindOrganisationUsersRequest) updates) => super.copyWith((message) => updates(message as FindOrganisationUsersRequest)) as FindOrganisationUsersRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  FindUsersFilters get filter => $_getN(1);
  @$pb.TagNumber(2)
  set filter(FindUsersFilters v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasFilter() => $_has(1);
  @$pb.TagNumber(2)
  void clearFilter() => $_clearField(2);
  @$pb.TagNumber(2)
  FindUsersFilters ensureFilter() => $_ensure(1);
}

class FindProjectUsersRequest extends $pb.GeneratedMessage {
  factory FindProjectUsersRequest({
    $3.RequestProjectHeader? header,
    FindUsersFilters? filter,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (filter != null) {
      $result.filter = filter;
    }
    return $result;
  }
  FindProjectUsersRequest._() : super();
  factory FindProjectUsersRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory FindProjectUsersRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FindProjectUsersRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOM<FindUsersFilters>(2, _omitFieldNames ? '' : 'Filter', protoName: 'Filter', subBuilder: FindUsersFilters.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  FindProjectUsersRequest clone() => FindProjectUsersRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  FindProjectUsersRequest copyWith(void Function(FindProjectUsersRequest) updates) => super.copyWith((message) => updates(message as FindProjectUsersRequest)) as FindProjectUsersRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  FindUsersFilters get filter => $_getN(1);
  @$pb.TagNumber(2)
  set filter(FindUsersFilters v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasFilter() => $_has(1);
  @$pb.TagNumber(2)
  void clearFilter() => $_clearField(2);
  @$pb.TagNumber(2)
  FindUsersFilters ensureFilter() => $_ensure(1);
}

class FindPartnerAppUsersRequest extends $pb.GeneratedMessage {
  factory FindPartnerAppUsersRequest({
    $3.RequestProjectHeader? header,
    $core.String? partnerAppID,
    FindUsersFilters? filter,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (partnerAppID != null) {
      $result.partnerAppID = partnerAppID;
    }
    if (filter != null) {
      $result.filter = filter;
    }
    return $result;
  }
  FindPartnerAppUsersRequest._() : super();
  factory FindPartnerAppUsersRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory FindPartnerAppUsersRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FindPartnerAppUsersRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'PartnerAppID', protoName: 'PartnerAppID')
    ..aOM<FindUsersFilters>(3, _omitFieldNames ? '' : 'Filter', protoName: 'Filter', subBuilder: FindUsersFilters.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  FindPartnerAppUsersRequest clone() => FindPartnerAppUsersRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  FindPartnerAppUsersRequest copyWith(void Function(FindPartnerAppUsersRequest) updates) => super.copyWith((message) => updates(message as FindPartnerAppUsersRequest)) as FindPartnerAppUsersRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get partnerAppID => $_getSZ(1);
  @$pb.TagNumber(2)
  set partnerAppID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasPartnerAppID() => $_has(1);
  @$pb.TagNumber(2)
  void clearPartnerAppID() => $_clearField(2);

  @$pb.TagNumber(3)
  FindUsersFilters get filter => $_getN(2);
  @$pb.TagNumber(3)
  set filter(FindUsersFilters v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasFilter() => $_has(2);
  @$pb.TagNumber(3)
  void clearFilter() => $_clearField(3);
  @$pb.TagNumber(3)
  FindUsersFilters ensureFilter() => $_ensure(2);
}

class FindConnectionUsersRequest extends $pb.GeneratedMessage {
  factory FindConnectionUsersRequest({
    $3.RequestProjectHeader? header,
    $core.String? connectionID,
    FindUsersFilters? filter,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (connectionID != null) {
      $result.connectionID = connectionID;
    }
    if (filter != null) {
      $result.filter = filter;
    }
    return $result;
  }
  FindConnectionUsersRequest._() : super();
  factory FindConnectionUsersRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory FindConnectionUsersRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FindConnectionUsersRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'ConnectionID', protoName: 'ConnectionID')
    ..aOM<FindUsersFilters>(3, _omitFieldNames ? '' : 'Filter', protoName: 'Filter', subBuilder: FindUsersFilters.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  FindConnectionUsersRequest clone() => FindConnectionUsersRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  FindConnectionUsersRequest copyWith(void Function(FindConnectionUsersRequest) updates) => super.copyWith((message) => updates(message as FindConnectionUsersRequest)) as FindConnectionUsersRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get connectionID => $_getSZ(1);
  @$pb.TagNumber(2)
  set connectionID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasConnectionID() => $_has(1);
  @$pb.TagNumber(2)
  void clearConnectionID() => $_clearField(2);

  @$pb.TagNumber(3)
  FindUsersFilters get filter => $_getN(2);
  @$pb.TagNumber(3)
  set filter(FindUsersFilters v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasFilter() => $_has(2);
  @$pb.TagNumber(3)
  void clearFilter() => $_clearField(3);
  @$pb.TagNumber(3)
  FindUsersFilters ensureFilter() => $_ensure(2);
}

class FindUsersResult extends $pb.GeneratedMessage {
  factory FindUsersResult({
    $core.Iterable<User>? users,
  }) {
    final $result = create();
    if (users != null) {
      $result.users.addAll(users);
    }
    return $result;
  }
  FindUsersResult._() : super();
  factory FindUsersResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory FindUsersResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FindUsersResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<User>(1, _omitFieldNames ? '' : 'Users', $pb.PbFieldType.PM, protoName: 'Users', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  FindUsersResult clone() => FindUsersResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  FindUsersResult copyWith(void Function(FindUsersResult) updates) => super.copyWith((message) => updates(message as FindUsersResult)) as FindUsersResult;

  $pb.BuilderInfo get info_ => _i;

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

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

class ListUsersInPlatformRoleRequest extends $pb.GeneratedMessage {
  factory ListUsersInPlatformRoleRequest({
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  ListUsersInPlatformRoleRequest._() : super();
  factory ListUsersInPlatformRoleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUsersInPlatformRoleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUsersInPlatformRoleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pPS(1, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUsersInPlatformRoleRequest clone() => ListUsersInPlatformRoleRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUsersInPlatformRoleRequest copyWith(void Function(ListUsersInPlatformRoleRequest) updates) => super.copyWith((message) => updates(message as ListUsersInPlatformRoleRequest)) as ListUsersInPlatformRoleRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$core.String> get roles => $_getList(0);
}

class ListUsersInOrganisationRoleRequest extends $pb.GeneratedMessage {
  factory ListUsersInOrganisationRoleRequest({
    $3.RequestOrganisationHeader? header,
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  ListUsersInOrganisationRoleRequest._() : super();
  factory ListUsersInOrganisationRoleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUsersInOrganisationRoleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUsersInOrganisationRoleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
    ..pPS(2, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUsersInOrganisationRoleRequest clone() => ListUsersInOrganisationRoleRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUsersInOrganisationRoleRequest copyWith(void Function(ListUsersInOrganisationRoleRequest) updates) => super.copyWith((message) => updates(message as ListUsersInOrganisationRoleRequest)) as ListUsersInOrganisationRoleRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestOrganisationHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $pb.PbList<$core.String> get roles => $_getList(1);
}

class ListUsersInProjectRoleRequest extends $pb.GeneratedMessage {
  factory ListUsersInProjectRoleRequest({
    $3.RequestProjectHeader? header,
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  ListUsersInProjectRoleRequest._() : super();
  factory ListUsersInProjectRoleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUsersInProjectRoleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUsersInProjectRoleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..pPS(3, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUsersInProjectRoleRequest clone() => ListUsersInProjectRoleRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUsersInProjectRoleRequest copyWith(void Function(ListUsersInProjectRoleRequest) updates) => super.copyWith((message) => updates(message as ListUsersInProjectRoleRequest)) as ListUsersInProjectRoleRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(3)
  $pb.PbList<$core.String> get roles => $_getList(1);
}

class ListUsersInPartnerAppRoleRequest extends $pb.GeneratedMessage {
  factory ListUsersInPartnerAppRoleRequest({
    $3.RequestProjectHeader? header,
    $core.String? partnerAppID,
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (partnerAppID != null) {
      $result.partnerAppID = partnerAppID;
    }
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  ListUsersInPartnerAppRoleRequest._() : super();
  factory ListUsersInPartnerAppRoleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUsersInPartnerAppRoleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUsersInPartnerAppRoleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'PartnerAppID', protoName: 'PartnerAppID')
    ..pPS(3, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUsersInPartnerAppRoleRequest clone() => ListUsersInPartnerAppRoleRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUsersInPartnerAppRoleRequest copyWith(void Function(ListUsersInPartnerAppRoleRequest) updates) => super.copyWith((message) => updates(message as ListUsersInPartnerAppRoleRequest)) as ListUsersInPartnerAppRoleRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get partnerAppID => $_getSZ(1);
  @$pb.TagNumber(2)
  set partnerAppID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasPartnerAppID() => $_has(1);
  @$pb.TagNumber(2)
  void clearPartnerAppID() => $_clearField(2);

  @$pb.TagNumber(3)
  $pb.PbList<$core.String> get roles => $_getList(2);
}

class ListUsersInConnectionRoleRequest extends $pb.GeneratedMessage {
  factory ListUsersInConnectionRoleRequest({
    $3.RequestProjectHeader? header,
    $core.String? connectionID,
    $core.Iterable<$core.String>? roles,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (connectionID != null) {
      $result.connectionID = connectionID;
    }
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    return $result;
  }
  ListUsersInConnectionRoleRequest._() : super();
  factory ListUsersInConnectionRoleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUsersInConnectionRoleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUsersInConnectionRoleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'ConnectionID', protoName: 'ConnectionID')
    ..pPS(3, _omitFieldNames ? '' : 'Roles', protoName: 'Roles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUsersInConnectionRoleRequest clone() => ListUsersInConnectionRoleRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUsersInConnectionRoleRequest copyWith(void Function(ListUsersInConnectionRoleRequest) updates) => super.copyWith((message) => updates(message as ListUsersInConnectionRoleRequest)) as ListUsersInConnectionRoleRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get connectionID => $_getSZ(1);
  @$pb.TagNumber(2)
  set connectionID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasConnectionID() => $_has(1);
  @$pb.TagNumber(2)
  void clearConnectionID() => $_clearField(2);

  @$pb.TagNumber(3)
  $pb.PbList<$core.String> get roles => $_getList(2);
}

class ListUsersInRoleResult extends $pb.GeneratedMessage {
  factory ListUsersInRoleResult({
    $core.Iterable<User>? users,
  }) {
    final $result = create();
    if (users != null) {
      $result.users.addAll(users);
    }
    return $result;
  }
  ListUsersInRoleResult._() : super();
  factory ListUsersInRoleResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ListUsersInRoleResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUsersInRoleResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<User>(1, _omitFieldNames ? '' : 'Users', $pb.PbFieldType.PM, protoName: 'Users', subBuilder: User.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ListUsersInRoleResult clone() => ListUsersInRoleResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ListUsersInRoleResult copyWith(void Function(ListUsersInRoleResult) updates) => super.copyWith((message) => updates(message as ListUsersInRoleResult)) as ListUsersInRoleResult;

  $pb.BuilderInfo get info_ => _i;

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

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


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