You've already forked dart-core-sdk
Latest generation
This commit is contained in:
119
lib/logger.pbgrpc.dart
Normal file
119
lib/logger.pbgrpc.dart
Normal file
@@ -0,0 +1,119 @@
|
||||
//
|
||||
// Generated code. Do not modify.
|
||||
// source: logger.proto
|
||||
//
|
||||
// @dart = 2.12
|
||||
|
||||
// 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 $51;
|
||||
|
||||
export 'logger.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.LoggerService')
|
||||
class LoggerServiceClient extends $grpc.Client {
|
||||
static final _$create = $grpc.ClientMethod<$51.PlatformLogCreateRequest, $51.PlatformLogCreateResponse>(
|
||||
'/api.LoggerService/Create',
|
||||
($51.PlatformLogCreateRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $51.PlatformLogCreateResponse.fromBuffer(value));
|
||||
static final _$getByIds = $grpc.ClientMethod<$51.PlatformLogGetByIdsRequest, $51.PlatformLogGetByIdsResult>(
|
||||
'/api.LoggerService/GetByIds',
|
||||
($51.PlatformLogGetByIdsRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $51.PlatformLogGetByIdsResult.fromBuffer(value));
|
||||
static final _$find = $grpc.ClientMethod<$51.PlatformLogFindRequest, $51.PlatformLogFindResult>(
|
||||
'/api.LoggerService/Find',
|
||||
($51.PlatformLogFindRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $51.PlatformLogFindResult.fromBuffer(value));
|
||||
static final _$findMatchingFieldValues = $grpc.ClientMethod<$51.PlatformLogByMatchRequest, $51.PlatformLogByMatchResult>(
|
||||
'/api.LoggerService/FindMatchingFieldValues',
|
||||
($51.PlatformLogByMatchRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $51.PlatformLogByMatchResult.fromBuffer(value));
|
||||
|
||||
LoggerServiceClient($grpc.ClientChannel channel,
|
||||
{$grpc.CallOptions? options,
|
||||
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
|
||||
: super(channel, options: options,
|
||||
interceptors: interceptors);
|
||||
|
||||
$grpc.ResponseFuture<$51.PlatformLogCreateResponse> create($51.PlatformLogCreateRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$create, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$51.PlatformLogGetByIdsResult> getByIds($51.PlatformLogGetByIdsRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getByIds, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$51.PlatformLogFindResult> find($51.PlatformLogFindRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$find, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$51.PlatformLogByMatchResult> findMatchingFieldValues($51.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<$51.PlatformLogCreateRequest, $51.PlatformLogCreateResponse>(
|
||||
'Create',
|
||||
create_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $51.PlatformLogCreateRequest.fromBuffer(value),
|
||||
($51.PlatformLogCreateResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$51.PlatformLogGetByIdsRequest, $51.PlatformLogGetByIdsResult>(
|
||||
'GetByIds',
|
||||
getByIds_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $51.PlatformLogGetByIdsRequest.fromBuffer(value),
|
||||
($51.PlatformLogGetByIdsResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$51.PlatformLogFindRequest, $51.PlatformLogFindResult>(
|
||||
'Find',
|
||||
find_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $51.PlatformLogFindRequest.fromBuffer(value),
|
||||
($51.PlatformLogFindResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$51.PlatformLogByMatchRequest, $51.PlatformLogByMatchResult>(
|
||||
'FindMatchingFieldValues',
|
||||
findMatchingFieldValues_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $51.PlatformLogByMatchRequest.fromBuffer(value),
|
||||
($51.PlatformLogByMatchResult value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$51.PlatformLogCreateResponse> create_Pre($grpc.ServiceCall call, $async.Future<$51.PlatformLogCreateRequest> request) async {
|
||||
return create(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$51.PlatformLogGetByIdsResult> getByIds_Pre($grpc.ServiceCall call, $async.Future<$51.PlatformLogGetByIdsRequest> request) async {
|
||||
return getByIds(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$51.PlatformLogFindResult> find_Pre($grpc.ServiceCall call, $async.Future<$51.PlatformLogFindRequest> request) async {
|
||||
return find(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$51.PlatformLogByMatchResult> findMatchingFieldValues_Pre($grpc.ServiceCall call, $async.Future<$51.PlatformLogByMatchRequest> request) async {
|
||||
return findMatchingFieldValues(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$51.PlatformLogCreateResponse> create($grpc.ServiceCall call, $51.PlatformLogCreateRequest request);
|
||||
$async.Future<$51.PlatformLogGetByIdsResult> getByIds($grpc.ServiceCall call, $51.PlatformLogGetByIdsRequest request);
|
||||
$async.Future<$51.PlatformLogFindResult> find($grpc.ServiceCall call, $51.PlatformLogFindRequest request);
|
||||
$async.Future<$51.PlatformLogByMatchResult> findMatchingFieldValues($grpc.ServiceCall call, $51.PlatformLogByMatchRequest request);
|
||||
}
|
||||
Reference in New Issue
Block a user