//
//  Generated code. Do not modify.
//  source: connectionSettings.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 ConnectionSettings extends $pb.GeneratedMessage {
  factory ConnectionSettings({
    $core.String? connectionID,
    $core.String? settings,
  }) {
    final $result = create();
    if (connectionID != null) {
      $result.connectionID = connectionID;
    }
    if (settings != null) {
      $result.settings = settings;
    }
    return $result;
  }
  ConnectionSettings._() : super();
  factory ConnectionSettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ConnectionSettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutConnectionSettingsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestConnectionHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestConnectionHeader.create)
    ..m<$core.String, $core.String>(2, _omitFieldNames ? '' : 'settings', entryClassName: 'PutConnectionSettingsRequest.SettingsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('api'))
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

  @$pb.TagNumber(2)
  $pb.PbMap<$core.String, $core.String> get settings => $_getMap(1);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

/// Settings of the connection to get
class GetConnectionSettingsRequest extends $pb.GeneratedMessage {
  factory GetConnectionSettingsRequest({
    $3.RequestConnectionHeader? header,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    return $result;
  }
  GetConnectionSettingsRequest._() : super();
  factory GetConnectionSettingsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory GetConnectionSettingsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

/// ConnectionID of the settings to delete
class DeleteConnectionSettingsRequest extends $pb.GeneratedMessage {
  factory DeleteConnectionSettingsRequest({
    $3.RequestConnectionHeader? header,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    return $result;
  }
  DeleteConnectionSettingsRequest._() : super();
  factory DeleteConnectionSettingsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory DeleteConnectionSettingsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

  $pb.BuilderInfo get info_ => _i;

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


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