//
//  Generated code. Do not modify.
//  source: nats-api.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;

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

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateProjectAccountResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.NatsCredentials>(1, _omitFieldNames ? '' : 'Credentials', protoName: 'Credentials', subBuilder: $3.NatsCredentials.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')
  CreateProjectAccountResult clone() => CreateProjectAccountResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  CreateProjectAccountResult copyWith(void Function(CreateProjectAccountResult) updates) => super.copyWith((message) => updates(message as CreateProjectAccountResult)) as CreateProjectAccountResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.NatsCredentials get credentials => $_getN(0);
  @$pb.TagNumber(1)
  set credentials($3.NatsCredentials v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasCredentials() => $_has(0);
  @$pb.TagNumber(1)
  void clearCredentials() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.NatsCredentials ensureCredentials() => $_ensure(0);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePartnerAppUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
    ..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')
  CreatePartnerAppUserRequest clone() => CreatePartnerAppUserRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  CreatePartnerAppUserRequest copyWith(void Function(CreatePartnerAppUserRequest) updates) => super.copyWith((message) => updates(message as CreatePartnerAppUserRequest)) as CreatePartnerAppUserRequest;

  $pb.BuilderInfo get info_ => _i;

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

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

  @$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 CreatePartnerAppUserResult extends $pb.GeneratedMessage {
  factory CreatePartnerAppUserResult({
    $3.NatsCredentials? credentials,
    $core.String? natsRootSubject,
  }) {
    final $result = create();
    if (credentials != null) {
      $result.credentials = credentials;
    }
    if (natsRootSubject != null) {
      $result.natsRootSubject = natsRootSubject;
    }
    return $result;
  }
  CreatePartnerAppUserResult._() : super();
  factory CreatePartnerAppUserResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory CreatePartnerAppUserResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.NatsCredentials get credentials => $_getN(0);
  @$pb.TagNumber(1)
  set credentials($3.NatsCredentials v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasCredentials() => $_has(0);
  @$pb.TagNumber(1)
  void clearCredentials() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.NatsCredentials ensureCredentials() => $_ensure(0);

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteProjectAccountRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _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')
  DeleteProjectAccountRequest clone() => DeleteProjectAccountRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  DeleteProjectAccountRequest copyWith(void Function(DeleteProjectAccountRequest) updates) => super.copyWith((message) => updates(message as DeleteProjectAccountRequest)) as DeleteProjectAccountRequest;

  $pb.BuilderInfo get info_ => _i;

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

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteProjectAccountResult', 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')
  DeleteProjectAccountResult clone() => DeleteProjectAccountResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  DeleteProjectAccountResult copyWith(void Function(DeleteProjectAccountResult) updates) => super.copyWith((message) => updates(message as DeleteProjectAccountResult)) as DeleteProjectAccountResult;

  $pb.BuilderInfo get info_ => _i;

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePartnerAppUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
    ..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')
  DeletePartnerAppUserRequest clone() => DeletePartnerAppUserRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  DeletePartnerAppUserRequest copyWith(void Function(DeletePartnerAppUserRequest) updates) => super.copyWith((message) => updates(message as DeletePartnerAppUserRequest)) as DeletePartnerAppUserRequest;

  $pb.BuilderInfo get info_ => _i;

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

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

  @$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 DeletePartnerAppUserResult extends $pb.GeneratedMessage {
  factory DeletePartnerAppUserResult() => create();
  DeletePartnerAppUserResult._() : super();
  factory DeletePartnerAppUserResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory DeletePartnerAppUserResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePartnerAppUserResult', 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')
  DeletePartnerAppUserResult clone() => DeletePartnerAppUserResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  DeletePartnerAppUserResult copyWith(void Function(DeletePartnerAppUserResult) updates) => super.copyWith((message) => updates(message as DeletePartnerAppUserResult)) as DeletePartnerAppUserResult;

  $pb.BuilderInfo get info_ => _i;

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenewPartnerAppUserCredentialsRequest', 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')
  RenewPartnerAppUserCredentialsRequest clone() => RenewPartnerAppUserCredentialsRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  RenewPartnerAppUserCredentialsRequest copyWith(void Function(RenewPartnerAppUserCredentialsRequest) updates) => super.copyWith((message) => updates(message as RenewPartnerAppUserCredentialsRequest)) as RenewPartnerAppUserCredentialsRequest;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RenewPartnerAppUserCredentialsRequest create() => RenewPartnerAppUserCredentialsRequest._();
  RenewPartnerAppUserCredentialsRequest createEmptyInstance() => create();
  static $pb.PbList<RenewPartnerAppUserCredentialsRequest> createRepeated() => $pb.PbList<RenewPartnerAppUserCredentialsRequest>();
  @$core.pragma('dart2js:noInline')
  static RenewPartnerAppUserCredentialsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<RenewPartnerAppUserCredentialsRequest>(create);
  static RenewPartnerAppUserCredentialsRequest? _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 RenewPartnerAppUserCredentialsResult extends $pb.GeneratedMessage {
  factory RenewPartnerAppUserCredentialsResult({
    $3.NatsCredentials? credentials,
  }) {
    final $result = create();
    if (credentials != null) {
      $result.credentials = credentials;
    }
    return $result;
  }
  RenewPartnerAppUserCredentialsResult._() : super();
  factory RenewPartnerAppUserCredentialsResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory RenewPartnerAppUserCredentialsResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenewPartnerAppUserCredentialsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.NatsCredentials>(1, _omitFieldNames ? '' : 'Credentials', protoName: 'Credentials', subBuilder: $3.NatsCredentials.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')
  RenewPartnerAppUserCredentialsResult clone() => RenewPartnerAppUserCredentialsResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  RenewPartnerAppUserCredentialsResult copyWith(void Function(RenewPartnerAppUserCredentialsResult) updates) => super.copyWith((message) => updates(message as RenewPartnerAppUserCredentialsResult)) as RenewPartnerAppUserCredentialsResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.NatsCredentials get credentials => $_getN(0);
  @$pb.TagNumber(1)
  set credentials($3.NatsCredentials v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasCredentials() => $_has(0);
  @$pb.TagNumber(1)
  void clearCredentials() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.NatsCredentials ensureCredentials() => $_ensure(0);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenewProjectAccountCredentialsRequest', 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')
  RenewProjectAccountCredentialsRequest clone() => RenewProjectAccountCredentialsRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  RenewProjectAccountCredentialsRequest copyWith(void Function(RenewProjectAccountCredentialsRequest) updates) => super.copyWith((message) => updates(message as RenewProjectAccountCredentialsRequest)) as RenewProjectAccountCredentialsRequest;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static RenewProjectAccountCredentialsRequest create() => RenewProjectAccountCredentialsRequest._();
  RenewProjectAccountCredentialsRequest createEmptyInstance() => create();
  static $pb.PbList<RenewProjectAccountCredentialsRequest> createRepeated() => $pb.PbList<RenewProjectAccountCredentialsRequest>();
  @$core.pragma('dart2js:noInline')
  static RenewProjectAccountCredentialsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<RenewProjectAccountCredentialsRequest>(create);
  static RenewProjectAccountCredentialsRequest? _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 RenewProjectAccountCredentialsResult extends $pb.GeneratedMessage {
  factory RenewProjectAccountCredentialsResult({
    $3.NatsCredentials? credentials,
  }) {
    final $result = create();
    if (credentials != null) {
      $result.credentials = credentials;
    }
    return $result;
  }
  RenewProjectAccountCredentialsResult._() : super();
  factory RenewProjectAccountCredentialsResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory RenewProjectAccountCredentialsResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenewProjectAccountCredentialsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.NatsCredentials>(1, _omitFieldNames ? '' : 'Credentials', protoName: 'Credentials', subBuilder: $3.NatsCredentials.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')
  RenewProjectAccountCredentialsResult clone() => RenewProjectAccountCredentialsResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  RenewProjectAccountCredentialsResult copyWith(void Function(RenewProjectAccountCredentialsResult) updates) => super.copyWith((message) => updates(message as RenewProjectAccountCredentialsResult)) as RenewProjectAccountCredentialsResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.NatsCredentials get credentials => $_getN(0);
  @$pb.TagNumber(1)
  set credentials($3.NatsCredentials v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasCredentials() => $_has(0);
  @$pb.TagNumber(1)
  void clearCredentials() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.NatsCredentials ensureCredentials() => $_ensure(0);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PushMessageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestPartnerAppHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestPartnerAppHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'JWT', protoName: 'JWT')
    ..aOS(3, _omitFieldNames ? '' : 'SubjectSuffix', protoName: 'SubjectSuffix')
    ..aOS(4, _omitFieldNames ? '' : 'Payload', protoName: 'Payload')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PushMessageResult', 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')
  PushMessageResult clone() => PushMessageResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PushMessageResult copyWith(void Function(PushMessageResult) updates) => super.copyWith((message) => updates(message as PushMessageResult)) as PushMessageResult;

  $pb.BuilderInfo get info_ => _i;

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


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