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