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

export 'logger.pb.dart';

@$pb.GrpcServiceName('api.LoggerService')
class LoggerServiceClient extends $grpc.Client {
  static final _$create = $grpc.ClientMethod<$29.PlatformLogCreateRequest, $29.PlatformLogCreateResponse>(
      '/api.LoggerService/Create',
      ($29.PlatformLogCreateRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $29.PlatformLogCreateResponse.fromBuffer(value));
  static final _$getByIds = $grpc.ClientMethod<$29.PlatformLogGetByIdsRequest, $29.PlatformLogGetByIdsResult>(
      '/api.LoggerService/GetByIds',
      ($29.PlatformLogGetByIdsRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $29.PlatformLogGetByIdsResult.fromBuffer(value));
  static final _$find = $grpc.ClientMethod<$29.PlatformLogFindRequest, $29.PlatformLogFindResult>(
      '/api.LoggerService/Find',
      ($29.PlatformLogFindRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $29.PlatformLogFindResult.fromBuffer(value));
  static final _$findMatchingFieldValues = $grpc.ClientMethod<$29.PlatformLogByMatchRequest, $29.PlatformLogByMatchResult>(
      '/api.LoggerService/FindMatchingFieldValues',
      ($29.PlatformLogByMatchRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $29.PlatformLogByMatchResult.fromBuffer(value));

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

  $grpc.ResponseFuture<$29.PlatformLogCreateResponse> create($29.PlatformLogCreateRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$create, request, options: options);
  }

  $grpc.ResponseFuture<$29.PlatformLogGetByIdsResult> getByIds($29.PlatformLogGetByIdsRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$getByIds, request, options: options);
  }

  $grpc.ResponseFuture<$29.PlatformLogFindResult> find($29.PlatformLogFindRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$find, request, options: options);
  }

  $grpc.ResponseFuture<$29.PlatformLogByMatchResult> findMatchingFieldValues($29.PlatformLogByMatchRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$findMatchingFieldValues, request, options: options);
  }
}

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

  LoggerServiceBase() {
    $addMethod($grpc.ServiceMethod<$29.PlatformLogCreateRequest, $29.PlatformLogCreateResponse>(
        'Create',
        create_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $29.PlatformLogCreateRequest.fromBuffer(value),
        ($29.PlatformLogCreateResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$29.PlatformLogGetByIdsRequest, $29.PlatformLogGetByIdsResult>(
        'GetByIds',
        getByIds_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $29.PlatformLogGetByIdsRequest.fromBuffer(value),
        ($29.PlatformLogGetByIdsResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$29.PlatformLogFindRequest, $29.PlatformLogFindResult>(
        'Find',
        find_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $29.PlatformLogFindRequest.fromBuffer(value),
        ($29.PlatformLogFindResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$29.PlatformLogByMatchRequest, $29.PlatformLogByMatchResult>(
        'FindMatchingFieldValues',
        findMatchingFieldValues_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $29.PlatformLogByMatchRequest.fromBuffer(value),
        ($29.PlatformLogByMatchResult value) => value.writeToBuffer()));
  }

  $async.Future<$29.PlatformLogCreateResponse> create_Pre($grpc.ServiceCall $call, $async.Future<$29.PlatformLogCreateRequest> $request) async {
    return create($call, await $request);
  }

  $async.Future<$29.PlatformLogGetByIdsResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$29.PlatformLogGetByIdsRequest> $request) async {
    return getByIds($call, await $request);
  }

  $async.Future<$29.PlatformLogFindResult> find_Pre($grpc.ServiceCall $call, $async.Future<$29.PlatformLogFindRequest> $request) async {
    return find($call, await $request);
  }

  $async.Future<$29.PlatformLogByMatchResult> findMatchingFieldValues_Pre($grpc.ServiceCall $call, $async.Future<$29.PlatformLogByMatchRequest> $request) async {
    return findMatchingFieldValues($call, await $request);
  }

  $async.Future<$29.PlatformLogCreateResponse> create($grpc.ServiceCall call, $29.PlatformLogCreateRequest request);
  $async.Future<$29.PlatformLogGetByIdsResult> getByIds($grpc.ServiceCall call, $29.PlatformLogGetByIdsRequest request);
  $async.Future<$29.PlatformLogFindResult> find($grpc.ServiceCall call, $29.PlatformLogFindRequest request);
  $async.Future<$29.PlatformLogByMatchResult> findMatchingFieldValues($grpc.ServiceCall call, $29.PlatformLogByMatchRequest request);
}
