You've already forked dart-core-sdk
60 lines
2.1 KiB
Dart
60 lines
2.1 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 $31;
|
|
|
|
export 'notifInput.pb.dart';
|
|
|
|
@$pb.GrpcServiceName('api.NotifInputAPI')
|
|
class NotifInputAPIClient extends $grpc.Client {
|
|
static final _$created = $grpc.ClientMethod<$31.NotifCreatedRequest, $31.NotifCreatedResponse>(
|
|
'/api.NotifInputAPI/Created',
|
|
($31.NotifCreatedRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $31.NotifCreatedResponse.fromBuffer(value));
|
|
|
|
NotifInputAPIClient($grpc.ClientChannel channel,
|
|
{$grpc.CallOptions? options,
|
|
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
|
|
: super(channel, options: options,
|
|
interceptors: interceptors);
|
|
|
|
$grpc.ResponseFuture<$31.NotifCreatedResponse> created($31.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<$31.NotifCreatedRequest, $31.NotifCreatedResponse>(
|
|
'Created',
|
|
created_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $31.NotifCreatedRequest.fromBuffer(value),
|
|
($31.NotifCreatedResponse value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$31.NotifCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$31.NotifCreatedRequest> $request) async {
|
|
return created($call, await $request);
|
|
}
|
|
|
|
$async.Future<$31.NotifCreatedResponse> created($grpc.ServiceCall call, $31.NotifCreatedRequest request);
|
|
}
|