Files
dart-core-sdk/lib/notifInput.pbgrpc.dart
2025-05-20 08:54:50 +00:00

66 lines
2.2 KiB
Dart

//
// Generated code. Do not modify.
// source: notifInput.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 'notifInput.pb.dart' as $41;
export 'notifInput.pb.dart';
///
/// API-server services
@$pb.GrpcServiceName('api.NotifInputAPI')
class NotifInputAPIClient 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 _$created = $grpc.ClientMethod<$41.NotifCreatedRequest, $41.NotifCreatedResponse>(
'/api.NotifInputAPI/Created',
($41.NotifCreatedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $41.NotifCreatedResponse.fromBuffer(value));
NotifInputAPIClient(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$41.NotifCreatedResponse> created($41.NotifCreatedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$created, request, options: options);
}
}
@$pb.GrpcServiceName('api.NotifInputAPI')
abstract class NotifInputAPIServiceBase extends $grpc.Service {
$core.String get $name => 'api.NotifInputAPI';
NotifInputAPIServiceBase() {
$addMethod($grpc.ServiceMethod<$41.NotifCreatedRequest, $41.NotifCreatedResponse>(
'Created',
created_Pre,
false,
false,
($core.List<$core.int> value) => $41.NotifCreatedRequest.fromBuffer(value),
($41.NotifCreatedResponse value) => value.writeToBuffer()));
}
$async.Future<$41.NotifCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$41.NotifCreatedRequest> $request) async {
return created($call, await $request);
}
$async.Future<$41.NotifCreatedResponse> created($grpc.ServiceCall call, $41.NotifCreatedRequest request);
}