You've already forked dart-core-sdk
120 lines
5.6 KiB
Dart
120 lines
5.6 KiB
Dart
//
|
|
// 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 $52;
|
|
|
|
export 'logger.pb.dart';
|
|
|
|
@$pb.GrpcServiceName('api.LoggerService')
|
|
class LoggerServiceClient extends $grpc.Client {
|
|
static final _$create = $grpc.ClientMethod<$52.PlatformLogCreateRequest, $52.PlatformLogCreateResponse>(
|
|
'/api.LoggerService/Create',
|
|
($52.PlatformLogCreateRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $52.PlatformLogCreateResponse.fromBuffer(value));
|
|
static final _$getByIds = $grpc.ClientMethod<$52.PlatformLogGetByIdsRequest, $52.PlatformLogGetByIdsResult>(
|
|
'/api.LoggerService/GetByIds',
|
|
($52.PlatformLogGetByIdsRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $52.PlatformLogGetByIdsResult.fromBuffer(value));
|
|
static final _$find = $grpc.ClientMethod<$52.PlatformLogFindRequest, $52.PlatformLogFindResult>(
|
|
'/api.LoggerService/Find',
|
|
($52.PlatformLogFindRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $52.PlatformLogFindResult.fromBuffer(value));
|
|
static final _$findMatchingFieldValues = $grpc.ClientMethod<$52.PlatformLogByMatchRequest, $52.PlatformLogByMatchResult>(
|
|
'/api.LoggerService/FindMatchingFieldValues',
|
|
($52.PlatformLogByMatchRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $52.PlatformLogByMatchResult.fromBuffer(value));
|
|
|
|
LoggerServiceClient($grpc.ClientChannel channel,
|
|
{$grpc.CallOptions? options,
|
|
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
|
|
: super(channel, options: options,
|
|
interceptors: interceptors);
|
|
|
|
$grpc.ResponseFuture<$52.PlatformLogCreateResponse> create($52.PlatformLogCreateRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$create, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$52.PlatformLogGetByIdsResult> getByIds($52.PlatformLogGetByIdsRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$getByIds, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$52.PlatformLogFindResult> find($52.PlatformLogFindRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$find, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$52.PlatformLogByMatchResult> findMatchingFieldValues($52.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<$52.PlatformLogCreateRequest, $52.PlatformLogCreateResponse>(
|
|
'Create',
|
|
create_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $52.PlatformLogCreateRequest.fromBuffer(value),
|
|
($52.PlatformLogCreateResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$52.PlatformLogGetByIdsRequest, $52.PlatformLogGetByIdsResult>(
|
|
'GetByIds',
|
|
getByIds_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $52.PlatformLogGetByIdsRequest.fromBuffer(value),
|
|
($52.PlatformLogGetByIdsResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$52.PlatformLogFindRequest, $52.PlatformLogFindResult>(
|
|
'Find',
|
|
find_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $52.PlatformLogFindRequest.fromBuffer(value),
|
|
($52.PlatformLogFindResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$52.PlatformLogByMatchRequest, $52.PlatformLogByMatchResult>(
|
|
'FindMatchingFieldValues',
|
|
findMatchingFieldValues_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $52.PlatformLogByMatchRequest.fromBuffer(value),
|
|
($52.PlatformLogByMatchResult value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$52.PlatformLogCreateResponse> create_Pre($grpc.ServiceCall $call, $async.Future<$52.PlatformLogCreateRequest> $request) async {
|
|
return create($call, await $request);
|
|
}
|
|
|
|
$async.Future<$52.PlatformLogGetByIdsResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$52.PlatformLogGetByIdsRequest> $request) async {
|
|
return getByIds($call, await $request);
|
|
}
|
|
|
|
$async.Future<$52.PlatformLogFindResult> find_Pre($grpc.ServiceCall $call, $async.Future<$52.PlatformLogFindRequest> $request) async {
|
|
return find($call, await $request);
|
|
}
|
|
|
|
$async.Future<$52.PlatformLogByMatchResult> findMatchingFieldValues_Pre($grpc.ServiceCall $call, $async.Future<$52.PlatformLogByMatchRequest> $request) async {
|
|
return findMatchingFieldValues($call, await $request);
|
|
}
|
|
|
|
$async.Future<$52.PlatformLogCreateResponse> create($grpc.ServiceCall call, $52.PlatformLogCreateRequest request);
|
|
$async.Future<$52.PlatformLogGetByIdsResult> getByIds($grpc.ServiceCall call, $52.PlatformLogGetByIdsRequest request);
|
|
$async.Future<$52.PlatformLogFindResult> find($grpc.ServiceCall call, $52.PlatformLogFindRequest request);
|
|
$async.Future<$52.PlatformLogByMatchResult> findMatchingFieldValues($grpc.ServiceCall call, $52.PlatformLogByMatchRequest request);
|
|
}
|