You've already forked dart-core-sdk
131 lines
5.5 KiB
Dart
131 lines
5.5 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from logger.proto.
|
|
|
|
// @dart = 3.3
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: curly_braces_in_flow_control_structures
|
|
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
|
// ignore_for_file: non_constant_identifier_names
|
|
|
|
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 $0;
|
|
|
|
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 = [
|
|
'',
|
|
];
|
|
|
|
LoggerServiceClient(super.channel, {super.options, super.interceptors});
|
|
|
|
$grpc.ResponseFuture<$0.PlatformLogCreateResponse> create($0.PlatformLogCreateRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$create, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.PlatformLogGetByIdsResult> getByIds($0.PlatformLogGetByIdsRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$getByIds, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.PlatformLogFindResult> find($0.PlatformLogFindRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$find, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.PlatformLogByMatchResult> findMatchingFieldValues($0.PlatformLogByMatchRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$findMatchingFieldValues, request, options: options);
|
|
}
|
|
|
|
// method descriptors
|
|
|
|
static final _$create = $grpc.ClientMethod<$0.PlatformLogCreateRequest, $0.PlatformLogCreateResponse>(
|
|
'/api.LoggerService/Create',
|
|
($0.PlatformLogCreateRequest value) => value.writeToBuffer(),
|
|
$0.PlatformLogCreateResponse.fromBuffer);
|
|
static final _$getByIds = $grpc.ClientMethod<$0.PlatformLogGetByIdsRequest, $0.PlatformLogGetByIdsResult>(
|
|
'/api.LoggerService/GetByIds',
|
|
($0.PlatformLogGetByIdsRequest value) => value.writeToBuffer(),
|
|
$0.PlatformLogGetByIdsResult.fromBuffer);
|
|
static final _$find = $grpc.ClientMethod<$0.PlatformLogFindRequest, $0.PlatformLogFindResult>(
|
|
'/api.LoggerService/Find',
|
|
($0.PlatformLogFindRequest value) => value.writeToBuffer(),
|
|
$0.PlatformLogFindResult.fromBuffer);
|
|
static final _$findMatchingFieldValues = $grpc.ClientMethod<$0.PlatformLogByMatchRequest, $0.PlatformLogByMatchResult>(
|
|
'/api.LoggerService/FindMatchingFieldValues',
|
|
($0.PlatformLogByMatchRequest value) => value.writeToBuffer(),
|
|
$0.PlatformLogByMatchResult.fromBuffer);
|
|
}
|
|
|
|
@$pb.GrpcServiceName('api.LoggerService')
|
|
abstract class LoggerServiceBase extends $grpc.Service {
|
|
$core.String get $name => 'api.LoggerService';
|
|
|
|
LoggerServiceBase() {
|
|
$addMethod($grpc.ServiceMethod<$0.PlatformLogCreateRequest, $0.PlatformLogCreateResponse>(
|
|
'Create',
|
|
create_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.PlatformLogCreateRequest.fromBuffer(value),
|
|
($0.PlatformLogCreateResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.PlatformLogGetByIdsRequest, $0.PlatformLogGetByIdsResult>(
|
|
'GetByIds',
|
|
getByIds_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.PlatformLogGetByIdsRequest.fromBuffer(value),
|
|
($0.PlatformLogGetByIdsResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.PlatformLogFindRequest, $0.PlatformLogFindResult>(
|
|
'Find',
|
|
find_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.PlatformLogFindRequest.fromBuffer(value),
|
|
($0.PlatformLogFindResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.PlatformLogByMatchRequest, $0.PlatformLogByMatchResult>(
|
|
'FindMatchingFieldValues',
|
|
findMatchingFieldValues_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.PlatformLogByMatchRequest.fromBuffer(value),
|
|
($0.PlatformLogByMatchResult value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$0.PlatformLogCreateResponse> create_Pre($grpc.ServiceCall $call, $async.Future<$0.PlatformLogCreateRequest> $request) async {
|
|
return create($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.PlatformLogCreateResponse> create($grpc.ServiceCall call, $0.PlatformLogCreateRequest request);
|
|
|
|
$async.Future<$0.PlatformLogGetByIdsResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$0.PlatformLogGetByIdsRequest> $request) async {
|
|
return getByIds($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.PlatformLogGetByIdsResult> getByIds($grpc.ServiceCall call, $0.PlatformLogGetByIdsRequest request);
|
|
|
|
$async.Future<$0.PlatformLogFindResult> find_Pre($grpc.ServiceCall $call, $async.Future<$0.PlatformLogFindRequest> $request) async {
|
|
return find($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.PlatformLogFindResult> find($grpc.ServiceCall call, $0.PlatformLogFindRequest request);
|
|
|
|
$async.Future<$0.PlatformLogByMatchResult> findMatchingFieldValues_Pre($grpc.ServiceCall $call, $async.Future<$0.PlatformLogByMatchRequest> $request) async {
|
|
return findMatchingFieldValues($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.PlatformLogByMatchResult> findMatchingFieldValues($grpc.ServiceCall call, $0.PlatformLogByMatchRequest request);
|
|
|
|
}
|