You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -15,48 +15,44 @@ 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;
|
||||
import 'logger.pb.dart' as $32;
|
||||
|
||||
export 'logger.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.LoggerService')
|
||||
class LoggerServiceClient extends $grpc.Client {
|
||||
static final _$create = $grpc.ClientMethod<$1.PlatformLogCreateRequest, $1.PlatformLogCreateResponse>(
|
||||
static final _$create = $grpc.ClientMethod<$32.PlatformLogCreateRequest, $32.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>(
|
||||
($32.PlatformLogCreateRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $32.PlatformLogCreateResponse.fromBuffer(value));
|
||||
static final _$getByIds = $grpc.ClientMethod<$32.PlatformLogGetByIdsRequest, $32.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>(
|
||||
($32.PlatformLogGetByIdsRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $32.PlatformLogGetByIdsResult.fromBuffer(value));
|
||||
static final _$find = $grpc.ClientMethod<$32.PlatformLogFindRequest, $32.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>(
|
||||
($32.PlatformLogFindRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $32.PlatformLogFindResult.fromBuffer(value));
|
||||
static final _$findMatchingFieldValues = $grpc.ClientMethod<$32.PlatformLogByMatchRequest, $32.PlatformLogByMatchResult>(
|
||||
'/api.LoggerService/FindMatchingFieldValues',
|
||||
($1.PlatformLogByMatchRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $1.PlatformLogByMatchResult.fromBuffer(value));
|
||||
($32.PlatformLogByMatchRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $32.PlatformLogByMatchResult.fromBuffer(value));
|
||||
|
||||
LoggerServiceClient($grpc.ClientChannel channel,
|
||||
{$grpc.CallOptions? options,
|
||||
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
|
||||
: super(channel, options: options,
|
||||
interceptors: interceptors);
|
||||
LoggerServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$1.PlatformLogCreateResponse> create($1.PlatformLogCreateRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$32.PlatformLogCreateResponse> create($32.PlatformLogCreateRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$create, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$1.PlatformLogGetByIdsResult> getByIds($1.PlatformLogGetByIdsRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$32.PlatformLogGetByIdsResult> getByIds($32.PlatformLogGetByIdsRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getByIds, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$1.PlatformLogFindResult> find($1.PlatformLogFindRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$32.PlatformLogFindResult> find($32.PlatformLogFindRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$find, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$1.PlatformLogByMatchResult> findMatchingFieldValues($1.PlatformLogByMatchRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$32.PlatformLogByMatchResult> findMatchingFieldValues($32.PlatformLogByMatchRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$findMatchingFieldValues, request, options: options);
|
||||
}
|
||||
}
|
||||
@@ -66,54 +62,54 @@ abstract class LoggerServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'api.LoggerService';
|
||||
|
||||
LoggerServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$1.PlatformLogCreateRequest, $1.PlatformLogCreateResponse>(
|
||||
$addMethod($grpc.ServiceMethod<$32.PlatformLogCreateRequest, $32.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>(
|
||||
($core.List<$core.int> value) => $32.PlatformLogCreateRequest.fromBuffer(value),
|
||||
($32.PlatformLogCreateResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$32.PlatformLogGetByIdsRequest, $32.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>(
|
||||
($core.List<$core.int> value) => $32.PlatformLogGetByIdsRequest.fromBuffer(value),
|
||||
($32.PlatformLogGetByIdsResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$32.PlatformLogFindRequest, $32.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>(
|
||||
($core.List<$core.int> value) => $32.PlatformLogFindRequest.fromBuffer(value),
|
||||
($32.PlatformLogFindResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$32.PlatformLogByMatchRequest, $32.PlatformLogByMatchResult>(
|
||||
'FindMatchingFieldValues',
|
||||
findMatchingFieldValues_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $1.PlatformLogByMatchRequest.fromBuffer(value),
|
||||
($1.PlatformLogByMatchResult value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $32.PlatformLogByMatchRequest.fromBuffer(value),
|
||||
($32.PlatformLogByMatchResult value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$1.PlatformLogCreateResponse> create_Pre($grpc.ServiceCall $call, $async.Future<$1.PlatformLogCreateRequest> $request) async {
|
||||
$async.Future<$32.PlatformLogCreateResponse> create_Pre($grpc.ServiceCall $call, $async.Future<$32.PlatformLogCreateRequest> $request) async {
|
||||
return create($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.PlatformLogGetByIdsResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$1.PlatformLogGetByIdsRequest> $request) async {
|
||||
$async.Future<$32.PlatformLogGetByIdsResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$32.PlatformLogGetByIdsRequest> $request) async {
|
||||
return getByIds($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.PlatformLogFindResult> find_Pre($grpc.ServiceCall $call, $async.Future<$1.PlatformLogFindRequest> $request) async {
|
||||
$async.Future<$32.PlatformLogFindResult> find_Pre($grpc.ServiceCall $call, $async.Future<$32.PlatformLogFindRequest> $request) async {
|
||||
return find($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.PlatformLogByMatchResult> findMatchingFieldValues_Pre($grpc.ServiceCall $call, $async.Future<$1.PlatformLogByMatchRequest> $request) async {
|
||||
$async.Future<$32.PlatformLogByMatchResult> findMatchingFieldValues_Pre($grpc.ServiceCall $call, $async.Future<$32.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);
|
||||
$async.Future<$32.PlatformLogCreateResponse> create($grpc.ServiceCall call, $32.PlatformLogCreateRequest request);
|
||||
$async.Future<$32.PlatformLogGetByIdsResult> getByIds($grpc.ServiceCall call, $32.PlatformLogGetByIdsRequest request);
|
||||
$async.Future<$32.PlatformLogFindResult> find($grpc.ServiceCall call, $32.PlatformLogFindRequest request);
|
||||
$async.Future<$32.PlatformLogByMatchResult> findMatchingFieldValues($grpc.ServiceCall call, $32.PlatformLogByMatchRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user