//
//  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 $13;

export 'connectionSettings.pb.dart';

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

  ConnectionSettingsServiceClient($grpc.ClientChannel channel,
      {$grpc.CallOptions? options,
      $core.Iterable<$grpc.ClientInterceptor>? interceptors})
      : super(channel, options: options,
        interceptors: interceptors);

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

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

  $grpc.ResponseFuture<$13.DeleteConnectionSettingsResult> delete($13.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<$13.GetConnectionSettingsRequest, $13.GetConnectionSettingsResult>(
        'Get',
        get_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $13.GetConnectionSettingsRequest.fromBuffer(value),
        ($13.GetConnectionSettingsResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$13.PutConnectionSettingsRequest, $13.PutConnectionSettingsResult>(
        'Put',
        put_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $13.PutConnectionSettingsRequest.fromBuffer(value),
        ($13.PutConnectionSettingsResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$13.DeleteConnectionSettingsRequest, $13.DeleteConnectionSettingsResult>(
        'Delete',
        delete_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $13.DeleteConnectionSettingsRequest.fromBuffer(value),
        ($13.DeleteConnectionSettingsResult value) => value.writeToBuffer()));
  }

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

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

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

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