// This is a generated file - do not edit.
//
// Generated from connectionSettings.proto.

// @dart = 3.3

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

import 'dart:core' as $core;

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

import 'shared.pb.dart' as $1;

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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  ConnectionSettings clone() => ConnectionSettings()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ConnectionSettings copyWith(void Function(ConnectionSettings) updates) => super.copyWith((message) => updates(message as ConnectionSettings)) as ConnectionSettings;

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

  @$core.pragma('dart2js:noInline')
  static ConnectionSettings create() => ConnectionSettings._();
  @$core.override
  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 value) => $_setString(0, value);
  @$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 value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasSettings() => $_has(1);
  @$pb.TagNumber(2)
  void clearSettings() => $_clearField(2);
}

class PutConnectionSettingsRequest extends $pb.GeneratedMessage {
  factory PutConnectionSettingsRequest({
    $1.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._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutConnectionSettingsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestConnectionHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.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('See https://github.com/google/protobuf.dart/issues/998.')
  PutConnectionSettingsRequest clone() => PutConnectionSettingsRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PutConnectionSettingsRequest copyWith(void Function(PutConnectionSettingsRequest) updates) => super.copyWith((message) => updates(message as PutConnectionSettingsRequest)) as PutConnectionSettingsRequest;

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

  @$core.pragma('dart2js:noInline')
  static PutConnectionSettingsRequest create() => PutConnectionSettingsRequest._();
  @$core.override
  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)
  $1.RequestConnectionHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestConnectionHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  PutConnectionSettingsResult clone() => PutConnectionSettingsResult()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PutConnectionSettingsResult copyWith(void Function(PutConnectionSettingsResult) updates) => super.copyWith((message) => updates(message as PutConnectionSettingsResult)) as PutConnectionSettingsResult;

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

  @$core.pragma('dart2js:noInline')
  static PutConnectionSettingsResult create() => PutConnectionSettingsResult._();
  @$core.override
  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 value) => $_setString(0, value);
  @$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({
    $1.RequestConnectionHeader? header,
  }) {
    final result = create();
    if (header != null) result.header = header;
    return result;
  }

  GetConnectionSettingsRequest._();

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

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

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

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

  @$core.pragma('dart2js:noInline')
  static GetConnectionSettingsRequest create() => GetConnectionSettingsRequest._();
  @$core.override
  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)
  $1.RequestConnectionHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestConnectionHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  GetConnectionSettingsResult clone() => GetConnectionSettingsResult()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetConnectionSettingsResult copyWith(void Function(GetConnectionSettingsResult) updates) => super.copyWith((message) => updates(message as GetConnectionSettingsResult)) as GetConnectionSettingsResult;

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

  @$core.pragma('dart2js:noInline')
  static GetConnectionSettingsResult create() => GetConnectionSettingsResult._();
  @$core.override
  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 value) => $_setString(0, value);
  @$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({
    $1.RequestConnectionHeader? header,
  }) {
    final result = create();
    if (header != null) result.header = header;
    return result;
  }

  DeleteConnectionSettingsRequest._();

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

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

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

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

  @$core.pragma('dart2js:noInline')
  static DeleteConnectionSettingsRequest create() => DeleteConnectionSettingsRequest._();
  @$core.override
  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)
  $1.RequestConnectionHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestConnectionHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestConnectionHeader ensureHeader() => $_ensure(0);
}

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

  DeleteConnectionSettingsResult._();

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

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

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

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

  @$core.pragma('dart2js:noInline')
  static DeleteConnectionSettingsResult create() => DeleteConnectionSettingsResult._();
  @$core.override
  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 $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
