//
//  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:async' as $async;
import 'dart:core' as $core;

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

import 'connectionSettings.pb.dart' as $16;

export 'connectionSettings.pb.dart';

@$pb.GrpcServiceName('api.ConnectionSettingsService')
class ConnectionSettingsServiceClient extends $grpc.Client {
  static final _$get = $grpc.ClientMethod<$16.GetConnectionSettingsRequest, $16.GetConnectionSettingsResult>(
      '/api.ConnectionSettingsService/Get',
      ($16.GetConnectionSettingsRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $16.GetConnectionSettingsResult.fromBuffer(value));
  static final _$put = $grpc.ClientMethod<$16.PutConnectionSettingsRequest, $16.PutConnectionSettingsResult>(
      '/api.ConnectionSettingsService/Put',
      ($16.PutConnectionSettingsRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $16.PutConnectionSettingsResult.fromBuffer(value));
  static final _$delete = $grpc.ClientMethod<$16.DeleteConnectionSettingsRequest, $16.DeleteConnectionSettingsResult>(
      '/api.ConnectionSettingsService/Delete',
      ($16.DeleteConnectionSettingsRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $16.DeleteConnectionSettingsResult.fromBuffer(value));

  ConnectionSettingsServiceClient(super.channel, {super.options, super.interceptors});

  $grpc.ResponseFuture<$16.GetConnectionSettingsResult> get($16.GetConnectionSettingsRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$get, request, options: options);
  }

  $grpc.ResponseFuture<$16.PutConnectionSettingsResult> put($16.PutConnectionSettingsRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$put, request, options: options);
  }

  $grpc.ResponseFuture<$16.DeleteConnectionSettingsResult> delete($16.DeleteConnectionSettingsRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$delete, request, options: options);
  }
}

@$pb.GrpcServiceName('api.ConnectionSettingsService')
abstract class ConnectionSettingsServiceBase extends $grpc.Service {
  $core.String get $name => 'api.ConnectionSettingsService';

  ConnectionSettingsServiceBase() {
    $addMethod($grpc.ServiceMethod<$16.GetConnectionSettingsRequest, $16.GetConnectionSettingsResult>(
        'Get',
        get_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $16.GetConnectionSettingsRequest.fromBuffer(value),
        ($16.GetConnectionSettingsResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$16.PutConnectionSettingsRequest, $16.PutConnectionSettingsResult>(
        'Put',
        put_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $16.PutConnectionSettingsRequest.fromBuffer(value),
        ($16.PutConnectionSettingsResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$16.DeleteConnectionSettingsRequest, $16.DeleteConnectionSettingsResult>(
        'Delete',
        delete_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $16.DeleteConnectionSettingsRequest.fromBuffer(value),
        ($16.DeleteConnectionSettingsResult value) => value.writeToBuffer()));
  }

  $async.Future<$16.GetConnectionSettingsResult> get_Pre($grpc.ServiceCall $call, $async.Future<$16.GetConnectionSettingsRequest> $request) async {
    return get($call, await $request);
  }

  $async.Future<$16.PutConnectionSettingsResult> put_Pre($grpc.ServiceCall $call, $async.Future<$16.PutConnectionSettingsRequest> $request) async {
    return put($call, await $request);
  }

  $async.Future<$16.DeleteConnectionSettingsResult> delete_Pre($grpc.ServiceCall $call, $async.Future<$16.DeleteConnectionSettingsRequest> $request) async {
    return delete($call, await $request);
  }

  $async.Future<$16.GetConnectionSettingsResult> get($grpc.ServiceCall call, $16.GetConnectionSettingsRequest request);
  $async.Future<$16.PutConnectionSettingsResult> put($grpc.ServiceCall call, $16.PutConnectionSettingsRequest request);
  $async.Future<$16.DeleteConnectionSettingsResult> delete($grpc.ServiceCall call, $16.DeleteConnectionSettingsRequest request);
}
