You've already forked dart-core-sdk
124 lines
5.7 KiB
Dart
124 lines
5.7 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 $32;
|
|
|
|
export 'logger.pb.dart';
|
|
|
|
@$pb.GrpcServiceName('api.LoggerService')
|
|
class LoggerServiceClient extends $grpc.Client {
|
|
/// The hostname for this service.
|
|
static const $core.String defaultHost = '';
|
|
|
|
/// OAuth scopes needed for the client.
|
|
static const $core.List<$core.String> oauthScopes = [
|
|
'',
|
|
];
|
|
|
|
static final _$create = $grpc.ClientMethod<$32.PlatformLogCreateRequest, $32.PlatformLogCreateResponse>(
|
|
'/api.LoggerService/Create',
|
|
($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',
|
|
($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',
|
|
($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',
|
|
($32.PlatformLogByMatchRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $32.PlatformLogByMatchResult.fromBuffer(value));
|
|
|
|
LoggerServiceClient(super.channel, {super.options, super.interceptors});
|
|
|
|
$grpc.ResponseFuture<$32.PlatformLogCreateResponse> create($32.PlatformLogCreateRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$create, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$32.PlatformLogGetByIdsResult> getByIds($32.PlatformLogGetByIdsRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$getByIds, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$32.PlatformLogFindResult> find($32.PlatformLogFindRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$find, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$32.PlatformLogByMatchResult> findMatchingFieldValues($32.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<$32.PlatformLogCreateRequest, $32.PlatformLogCreateResponse>(
|
|
'Create',
|
|
create_Pre,
|
|
false,
|
|
false,
|
|
($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) => $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) => $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) => $32.PlatformLogByMatchRequest.fromBuffer(value),
|
|
($32.PlatformLogByMatchResult value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$32.PlatformLogCreateResponse> create_Pre($grpc.ServiceCall $call, $async.Future<$32.PlatformLogCreateRequest> $request) async {
|
|
return create($call, await $request);
|
|
}
|
|
|
|
$async.Future<$32.PlatformLogGetByIdsResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$32.PlatformLogGetByIdsRequest> $request) async {
|
|
return getByIds($call, await $request);
|
|
}
|
|
|
|
$async.Future<$32.PlatformLogFindResult> find_Pre($grpc.ServiceCall $call, $async.Future<$32.PlatformLogFindRequest> $request) async {
|
|
return find($call, await $request);
|
|
}
|
|
|
|
$async.Future<$32.PlatformLogByMatchResult> findMatchingFieldValues_Pre($grpc.ServiceCall $call, $async.Future<$32.PlatformLogByMatchRequest> $request) async {
|
|
return findMatchingFieldValues($call, await $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);
|
|
}
|