// 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: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 $0;

export 'connectionSettings.pb.dart';

@$pb.GrpcServiceName('api.ConnectionSettingsService')
class ConnectionSettingsServiceClient extends $grpc.Client {
  /// The hostname for this service.
  static const $core.String defaultHost = '';

  /// OAuth scopes needed for the client.
  static const $core.List<$core.String> oauthScopes = [
    '',
  ];

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

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

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

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

    // method descriptors

  static final _$get = $grpc.ClientMethod<$0.GetConnectionSettingsRequest, $0.GetConnectionSettingsResult>(
      '/api.ConnectionSettingsService/Get',
      ($0.GetConnectionSettingsRequest value) => value.writeToBuffer(),
      $0.GetConnectionSettingsResult.fromBuffer);
  static final _$put = $grpc.ClientMethod<$0.PutConnectionSettingsRequest, $0.PutConnectionSettingsResult>(
      '/api.ConnectionSettingsService/Put',
      ($0.PutConnectionSettingsRequest value) => value.writeToBuffer(),
      $0.PutConnectionSettingsResult.fromBuffer);
  static final _$delete = $grpc.ClientMethod<$0.DeleteConnectionSettingsRequest, $0.DeleteConnectionSettingsResult>(
      '/api.ConnectionSettingsService/Delete',
      ($0.DeleteConnectionSettingsRequest value) => value.writeToBuffer(),
      $0.DeleteConnectionSettingsResult.fromBuffer);
}

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

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

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

  $async.Future<$0.GetConnectionSettingsResult> get($grpc.ServiceCall call, $0.GetConnectionSettingsRequest request);

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

  $async.Future<$0.PutConnectionSettingsResult> put($grpc.ServiceCall call, $0.PutConnectionSettingsRequest request);

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

  $async.Future<$0.DeleteConnectionSettingsResult> delete($grpc.ServiceCall call, $0.DeleteConnectionSettingsRequest request);

}
