You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated code. Do not modify.
|
||||
// source: notifInput.proto
|
||||
//
|
||||
// Generated from notifInput.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
@@ -16,7 +16,7 @@ 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;
|
||||
import 'notifInput.pb.dart' as $0;
|
||||
|
||||
export 'notifInput.pb.dart';
|
||||
|
||||
@@ -32,16 +32,18 @@ class NotifInputAPIClient extends $grpc.Client {
|
||||
'',
|
||||
];
|
||||
|
||||
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}) {
|
||||
$grpc.ResponseFuture<$0.NotifCreatedResponse> created($0.NotifCreatedRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$created, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$created = $grpc.ClientMethod<$0.NotifCreatedRequest, $0.NotifCreatedResponse>(
|
||||
'/api.NotifInputAPI/Created',
|
||||
($0.NotifCreatedRequest value) => value.writeToBuffer(),
|
||||
$0.NotifCreatedResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('api.NotifInputAPI')
|
||||
@@ -49,18 +51,19 @@ abstract class NotifInputAPIServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'api.NotifInputAPI';
|
||||
|
||||
NotifInputAPIServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$41.NotifCreatedRequest, $41.NotifCreatedResponse>(
|
||||
$addMethod($grpc.ServiceMethod<$0.NotifCreatedRequest, $0.NotifCreatedResponse>(
|
||||
'Created',
|
||||
created_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $41.NotifCreatedRequest.fromBuffer(value),
|
||||
($41.NotifCreatedResponse value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $0.NotifCreatedRequest.fromBuffer(value),
|
||||
($0.NotifCreatedResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$41.NotifCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$41.NotifCreatedRequest> $request) async {
|
||||
$async.Future<$0.NotifCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$0.NotifCreatedRequest> $request) async {
|
||||
return created($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$41.NotifCreatedResponse> created($grpc.ServiceCall call, $41.NotifCreatedRequest request);
|
||||
$async.Future<$0.NotifCreatedResponse> created($grpc.ServiceCall call, $0.NotifCreatedRequest request);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user