// This is a generated file - do not edit.
//
// Generated from alias.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 'alias.pb.dart' as $0;

export 'alias.pb.dart';

@$pb.GrpcServiceName('api.AliasService')
class AliasServiceClient 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 = [
    '',
  ];

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

  $grpc.ResponseFuture<$0.CreateAliasResponse> createAlias($0.CreateAliasRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$createAlias, request, options: options);
  }

  $grpc.ResponseFuture<$0.GetAliasResponse> getAlias($0.GetAliasRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$getAlias, request, options: options);
  }

  $grpc.ResponseFuture<$0.ListAliasesFromResponse> listAliasesFrom($0.ListAliasesFromRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$listAliasesFrom, request, options: options);
  }

  $grpc.ResponseFuture<$0.ListAliasesToResponse> listAliasesTo($0.ListAliasesToRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$listAliasesTo, request, options: options);
  }

  $grpc.ResponseFuture<$0.DeleteAliasResponse> deleteAlias($0.DeleteAliasRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$deleteAlias, request, options: options);
  }

  $grpc.ResponseFuture<$0.DeleteAllAliasesFromResponse> deleteAllAliasesFrom($0.DeleteAllAliasesFromRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$deleteAllAliasesFrom, request, options: options);
  }

  $grpc.ResponseFuture<$0.DeleteAllAliasesToResponse> deleteAllAliasesTo($0.DeleteAllAliasesToRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$deleteAllAliasesTo, request, options: options);
  }

  $grpc.ResponseFuture<$0.DeleteAllAliasesFromToResponse> deleteAllAliasesFromTo($0.DeleteAllAliasesFromToRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$deleteAllAliasesFromTo, request, options: options);
  }

    // method descriptors

  static final _$createAlias = $grpc.ClientMethod<$0.CreateAliasRequest, $0.CreateAliasResponse>(
      '/api.AliasService/CreateAlias',
      ($0.CreateAliasRequest value) => value.writeToBuffer(),
      $0.CreateAliasResponse.fromBuffer);
  static final _$getAlias = $grpc.ClientMethod<$0.GetAliasRequest, $0.GetAliasResponse>(
      '/api.AliasService/GetAlias',
      ($0.GetAliasRequest value) => value.writeToBuffer(),
      $0.GetAliasResponse.fromBuffer);
  static final _$listAliasesFrom = $grpc.ClientMethod<$0.ListAliasesFromRequest, $0.ListAliasesFromResponse>(
      '/api.AliasService/ListAliasesFrom',
      ($0.ListAliasesFromRequest value) => value.writeToBuffer(),
      $0.ListAliasesFromResponse.fromBuffer);
  static final _$listAliasesTo = $grpc.ClientMethod<$0.ListAliasesToRequest, $0.ListAliasesToResponse>(
      '/api.AliasService/ListAliasesTo',
      ($0.ListAliasesToRequest value) => value.writeToBuffer(),
      $0.ListAliasesToResponse.fromBuffer);
  static final _$deleteAlias = $grpc.ClientMethod<$0.DeleteAliasRequest, $0.DeleteAliasResponse>(
      '/api.AliasService/DeleteAlias',
      ($0.DeleteAliasRequest value) => value.writeToBuffer(),
      $0.DeleteAliasResponse.fromBuffer);
  static final _$deleteAllAliasesFrom = $grpc.ClientMethod<$0.DeleteAllAliasesFromRequest, $0.DeleteAllAliasesFromResponse>(
      '/api.AliasService/DeleteAllAliasesFrom',
      ($0.DeleteAllAliasesFromRequest value) => value.writeToBuffer(),
      $0.DeleteAllAliasesFromResponse.fromBuffer);
  static final _$deleteAllAliasesTo = $grpc.ClientMethod<$0.DeleteAllAliasesToRequest, $0.DeleteAllAliasesToResponse>(
      '/api.AliasService/DeleteAllAliasesTo',
      ($0.DeleteAllAliasesToRequest value) => value.writeToBuffer(),
      $0.DeleteAllAliasesToResponse.fromBuffer);
  static final _$deleteAllAliasesFromTo = $grpc.ClientMethod<$0.DeleteAllAliasesFromToRequest, $0.DeleteAllAliasesFromToResponse>(
      '/api.AliasService/DeleteAllAliasesFromTo',
      ($0.DeleteAllAliasesFromToRequest value) => value.writeToBuffer(),
      $0.DeleteAllAliasesFromToResponse.fromBuffer);
}

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

  AliasServiceBase() {
    $addMethod($grpc.ServiceMethod<$0.CreateAliasRequest, $0.CreateAliasResponse>(
        'CreateAlias',
        createAlias_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.CreateAliasRequest.fromBuffer(value),
        ($0.CreateAliasResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.GetAliasRequest, $0.GetAliasResponse>(
        'GetAlias',
        getAlias_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.GetAliasRequest.fromBuffer(value),
        ($0.GetAliasResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ListAliasesFromRequest, $0.ListAliasesFromResponse>(
        'ListAliasesFrom',
        listAliasesFrom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ListAliasesFromRequest.fromBuffer(value),
        ($0.ListAliasesFromResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ListAliasesToRequest, $0.ListAliasesToResponse>(
        'ListAliasesTo',
        listAliasesTo_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ListAliasesToRequest.fromBuffer(value),
        ($0.ListAliasesToResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DeleteAliasRequest, $0.DeleteAliasResponse>(
        'DeleteAlias',
        deleteAlias_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DeleteAliasRequest.fromBuffer(value),
        ($0.DeleteAliasResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DeleteAllAliasesFromRequest, $0.DeleteAllAliasesFromResponse>(
        'DeleteAllAliasesFrom',
        deleteAllAliasesFrom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DeleteAllAliasesFromRequest.fromBuffer(value),
        ($0.DeleteAllAliasesFromResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DeleteAllAliasesToRequest, $0.DeleteAllAliasesToResponse>(
        'DeleteAllAliasesTo',
        deleteAllAliasesTo_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DeleteAllAliasesToRequest.fromBuffer(value),
        ($0.DeleteAllAliasesToResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DeleteAllAliasesFromToRequest, $0.DeleteAllAliasesFromToResponse>(
        'DeleteAllAliasesFromTo',
        deleteAllAliasesFromTo_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DeleteAllAliasesFromToRequest.fromBuffer(value),
        ($0.DeleteAllAliasesFromToResponse value) => value.writeToBuffer()));
  }

  $async.Future<$0.CreateAliasResponse> createAlias_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateAliasRequest> $request) async {
    return createAlias($call, await $request);
  }

  $async.Future<$0.CreateAliasResponse> createAlias($grpc.ServiceCall call, $0.CreateAliasRequest request);

  $async.Future<$0.GetAliasResponse> getAlias_Pre($grpc.ServiceCall $call, $async.Future<$0.GetAliasRequest> $request) async {
    return getAlias($call, await $request);
  }

  $async.Future<$0.GetAliasResponse> getAlias($grpc.ServiceCall call, $0.GetAliasRequest request);

  $async.Future<$0.ListAliasesFromResponse> listAliasesFrom_Pre($grpc.ServiceCall $call, $async.Future<$0.ListAliasesFromRequest> $request) async {
    return listAliasesFrom($call, await $request);
  }

  $async.Future<$0.ListAliasesFromResponse> listAliasesFrom($grpc.ServiceCall call, $0.ListAliasesFromRequest request);

  $async.Future<$0.ListAliasesToResponse> listAliasesTo_Pre($grpc.ServiceCall $call, $async.Future<$0.ListAliasesToRequest> $request) async {
    return listAliasesTo($call, await $request);
  }

  $async.Future<$0.ListAliasesToResponse> listAliasesTo($grpc.ServiceCall call, $0.ListAliasesToRequest request);

  $async.Future<$0.DeleteAliasResponse> deleteAlias_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteAliasRequest> $request) async {
    return deleteAlias($call, await $request);
  }

  $async.Future<$0.DeleteAliasResponse> deleteAlias($grpc.ServiceCall call, $0.DeleteAliasRequest request);

  $async.Future<$0.DeleteAllAliasesFromResponse> deleteAllAliasesFrom_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteAllAliasesFromRequest> $request) async {
    return deleteAllAliasesFrom($call, await $request);
  }

  $async.Future<$0.DeleteAllAliasesFromResponse> deleteAllAliasesFrom($grpc.ServiceCall call, $0.DeleteAllAliasesFromRequest request);

  $async.Future<$0.DeleteAllAliasesToResponse> deleteAllAliasesTo_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteAllAliasesToRequest> $request) async {
    return deleteAllAliasesTo($call, await $request);
  }

  $async.Future<$0.DeleteAllAliasesToResponse> deleteAllAliasesTo($grpc.ServiceCall call, $0.DeleteAllAliasesToRequest request);

  $async.Future<$0.DeleteAllAliasesFromToResponse> deleteAllAliasesFromTo_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteAllAliasesFromToRequest> $request) async {
    return deleteAllAliasesFromTo($call, await $request);
  }

  $async.Future<$0.DeleteAllAliasesFromToResponse> deleteAllAliasesFromTo($grpc.ServiceCall call, $0.DeleteAllAliasesFromToRequest request);

}
