//
//  Generated code. Do not modify.
//  source: claim-type.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 'claim-type.pb.dart' as $44;

export 'claim-type.pb.dart';

@$pb.GrpcServiceName('api.ClaimTypeService')
class ClaimTypeServiceClient extends $grpc.Client {
  static final _$create = $grpc.ClientMethod<$44.CreateClaimTypeRequest, $44.CreateClaimTypeResponse>(
      '/api.ClaimTypeService/Create',
      ($44.CreateClaimTypeRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.CreateClaimTypeResponse.fromBuffer(value));
  static final _$get = $grpc.ClientMethod<$44.GetClaimTypeRequest, $44.GetClaimTypeResponse>(
      '/api.ClaimTypeService/Get',
      ($44.GetClaimTypeRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.GetClaimTypeResponse.fromBuffer(value));
  static final _$list = $grpc.ClientMethod<$44.ListClaimTypeRequest, $44.ListClaimTypeResponse>(
      '/api.ClaimTypeService/List',
      ($44.ListClaimTypeRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.ListClaimTypeResponse.fromBuffer(value));
  static final _$update = $grpc.ClientMethod<$44.UpdateClaimTypeRequest, $44.UpdateClaimTypeResponse>(
      '/api.ClaimTypeService/Update',
      ($44.UpdateClaimTypeRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.UpdateClaimTypeResponse.fromBuffer(value));
  static final _$delete = $grpc.ClientMethod<$44.DeleteClaimTypeRequest, $44.DeleteClaimTypeResponse>(
      '/api.ClaimTypeService/Delete',
      ($44.DeleteClaimTypeRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.DeleteClaimTypeResponse.fromBuffer(value));
  static final _$deleteClaimTypesForProject = $grpc.ClientMethod<$44.DeleteClaimTypesForProjectRequest, $44.DeleteClaimTypesForProjectResponse>(
      '/api.ClaimTypeService/DeleteClaimTypesForProject',
      ($44.DeleteClaimTypesForProjectRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.DeleteClaimTypesForProjectResponse.fromBuffer(value));

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

  $grpc.ResponseFuture<$44.CreateClaimTypeResponse> create($44.CreateClaimTypeRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$create, request, options: options);
  }

  $grpc.ResponseFuture<$44.GetClaimTypeResponse> get($44.GetClaimTypeRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$get, request, options: options);
  }

  $grpc.ResponseFuture<$44.ListClaimTypeResponse> list($44.ListClaimTypeRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$list, request, options: options);
  }

  $grpc.ResponseFuture<$44.UpdateClaimTypeResponse> update($44.UpdateClaimTypeRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$update, request, options: options);
  }

  $grpc.ResponseFuture<$44.DeleteClaimTypeResponse> delete($44.DeleteClaimTypeRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$delete, request, options: options);
  }

  $grpc.ResponseFuture<$44.DeleteClaimTypesForProjectResponse> deleteClaimTypesForProject($44.DeleteClaimTypesForProjectRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleteClaimTypesForProject, request, options: options);
  }
}

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

  ClaimTypeServiceBase() {
    $addMethod($grpc.ServiceMethod<$44.CreateClaimTypeRequest, $44.CreateClaimTypeResponse>(
        'Create',
        create_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.CreateClaimTypeRequest.fromBuffer(value),
        ($44.CreateClaimTypeResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$44.GetClaimTypeRequest, $44.GetClaimTypeResponse>(
        'Get',
        get_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.GetClaimTypeRequest.fromBuffer(value),
        ($44.GetClaimTypeResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$44.ListClaimTypeRequest, $44.ListClaimTypeResponse>(
        'List',
        list_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.ListClaimTypeRequest.fromBuffer(value),
        ($44.ListClaimTypeResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$44.UpdateClaimTypeRequest, $44.UpdateClaimTypeResponse>(
        'Update',
        update_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.UpdateClaimTypeRequest.fromBuffer(value),
        ($44.UpdateClaimTypeResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$44.DeleteClaimTypeRequest, $44.DeleteClaimTypeResponse>(
        'Delete',
        delete_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.DeleteClaimTypeRequest.fromBuffer(value),
        ($44.DeleteClaimTypeResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$44.DeleteClaimTypesForProjectRequest, $44.DeleteClaimTypesForProjectResponse>(
        'DeleteClaimTypesForProject',
        deleteClaimTypesForProject_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.DeleteClaimTypesForProjectRequest.fromBuffer(value),
        ($44.DeleteClaimTypesForProjectResponse value) => value.writeToBuffer()));
  }

  $async.Future<$44.CreateClaimTypeResponse> create_Pre($grpc.ServiceCall $call, $async.Future<$44.CreateClaimTypeRequest> $request) async {
    return create($call, await $request);
  }

  $async.Future<$44.GetClaimTypeResponse> get_Pre($grpc.ServiceCall $call, $async.Future<$44.GetClaimTypeRequest> $request) async {
    return get($call, await $request);
  }

  $async.Future<$44.ListClaimTypeResponse> list_Pre($grpc.ServiceCall $call, $async.Future<$44.ListClaimTypeRequest> $request) async {
    return list($call, await $request);
  }

  $async.Future<$44.UpdateClaimTypeResponse> update_Pre($grpc.ServiceCall $call, $async.Future<$44.UpdateClaimTypeRequest> $request) async {
    return update($call, await $request);
  }

  $async.Future<$44.DeleteClaimTypeResponse> delete_Pre($grpc.ServiceCall $call, $async.Future<$44.DeleteClaimTypeRequest> $request) async {
    return delete($call, await $request);
  }

  $async.Future<$44.DeleteClaimTypesForProjectResponse> deleteClaimTypesForProject_Pre($grpc.ServiceCall $call, $async.Future<$44.DeleteClaimTypesForProjectRequest> $request) async {
    return deleteClaimTypesForProject($call, await $request);
  }

  $async.Future<$44.CreateClaimTypeResponse> create($grpc.ServiceCall call, $44.CreateClaimTypeRequest request);
  $async.Future<$44.GetClaimTypeResponse> get($grpc.ServiceCall call, $44.GetClaimTypeRequest request);
  $async.Future<$44.ListClaimTypeResponse> list($grpc.ServiceCall call, $44.ListClaimTypeRequest request);
  $async.Future<$44.UpdateClaimTypeResponse> update($grpc.ServiceCall call, $44.UpdateClaimTypeRequest request);
  $async.Future<$44.DeleteClaimTypeResponse> delete($grpc.ServiceCall call, $44.DeleteClaimTypeRequest request);
  $async.Future<$44.DeleteClaimTypesForProjectResponse> deleteClaimTypesForProject($grpc.ServiceCall call, $44.DeleteClaimTypesForProjectRequest request);
}
