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