You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -15,28 +15,28 @@ import 'dart:core' as $core;
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'partnerInput.pb.dart' as $41;
|
||||
import 'partnerInput.pb.dart' as $47;
|
||||
|
||||
export 'partnerInput.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.PartnerInputAPI')
|
||||
class PartnerInputAPIClient extends $grpc.Client {
|
||||
static final _$created = $grpc.ClientMethod<$41.PartnerCreatedRequest, $41.PartnerCreatedResponse>(
|
||||
static final _$created = $grpc.ClientMethod<$47.PartnerCreatedRequest, $47.PartnerCreatedResponse>(
|
||||
'/api.PartnerInputAPI/Created',
|
||||
($41.PartnerCreatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $41.PartnerCreatedResponse.fromBuffer(value));
|
||||
static final _$deleted = $grpc.ClientMethod<$41.PartnerDeletedRequest, $41.PartnerDeletedResponse>(
|
||||
($47.PartnerCreatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $47.PartnerCreatedResponse.fromBuffer(value));
|
||||
static final _$deleted = $grpc.ClientMethod<$47.PartnerDeletedRequest, $47.PartnerDeletedResponse>(
|
||||
'/api.PartnerInputAPI/Deleted',
|
||||
($41.PartnerDeletedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $41.PartnerDeletedResponse.fromBuffer(value));
|
||||
static final _$attachmentAdded = $grpc.ClientMethod<$41.PartnerAttachmentAddedRequest, $41.PartnerAttachmentAddedResponse>(
|
||||
($47.PartnerDeletedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $47.PartnerDeletedResponse.fromBuffer(value));
|
||||
static final _$attachmentAdded = $grpc.ClientMethod<$47.PartnerAttachmentAddedRequest, $47.PartnerAttachmentAddedResponse>(
|
||||
'/api.PartnerInputAPI/AttachmentAdded',
|
||||
($41.PartnerAttachmentAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $41.PartnerAttachmentAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentRemoved = $grpc.ClientMethod<$41.PartnerAttachmentRemovedRequest, $41.PartnerAttachmentRemovedResponse>(
|
||||
($47.PartnerAttachmentAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $47.PartnerAttachmentAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentRemoved = $grpc.ClientMethod<$47.PartnerAttachmentRemovedRequest, $47.PartnerAttachmentRemovedResponse>(
|
||||
'/api.PartnerInputAPI/AttachmentRemoved',
|
||||
($41.PartnerAttachmentRemovedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $41.PartnerAttachmentRemovedResponse.fromBuffer(value));
|
||||
($47.PartnerAttachmentRemovedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $47.PartnerAttachmentRemovedResponse.fromBuffer(value));
|
||||
|
||||
PartnerInputAPIClient($grpc.ClientChannel channel,
|
||||
{$grpc.CallOptions? options,
|
||||
@@ -44,19 +44,19 @@ class PartnerInputAPIClient extends $grpc.Client {
|
||||
: super(channel, options: options,
|
||||
interceptors: interceptors);
|
||||
|
||||
$grpc.ResponseFuture<$41.PartnerCreatedResponse> created($41.PartnerCreatedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$47.PartnerCreatedResponse> created($47.PartnerCreatedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$created, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$41.PartnerDeletedResponse> deleted($41.PartnerDeletedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$47.PartnerDeletedResponse> deleted($47.PartnerDeletedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$deleted, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$41.PartnerAttachmentAddedResponse> attachmentAdded($41.PartnerAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$47.PartnerAttachmentAddedResponse> attachmentAdded($47.PartnerAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$attachmentAdded, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$41.PartnerAttachmentRemovedResponse> attachmentRemoved($41.PartnerAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$47.PartnerAttachmentRemovedResponse> attachmentRemoved($47.PartnerAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$attachmentRemoved, request, options: options);
|
||||
}
|
||||
}
|
||||
@@ -66,54 +66,54 @@ abstract class PartnerInputAPIServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'api.PartnerInputAPI';
|
||||
|
||||
PartnerInputAPIServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$41.PartnerCreatedRequest, $41.PartnerCreatedResponse>(
|
||||
$addMethod($grpc.ServiceMethod<$47.PartnerCreatedRequest, $47.PartnerCreatedResponse>(
|
||||
'Created',
|
||||
created_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $41.PartnerCreatedRequest.fromBuffer(value),
|
||||
($41.PartnerCreatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$41.PartnerDeletedRequest, $41.PartnerDeletedResponse>(
|
||||
($core.List<$core.int> value) => $47.PartnerCreatedRequest.fromBuffer(value),
|
||||
($47.PartnerCreatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$47.PartnerDeletedRequest, $47.PartnerDeletedResponse>(
|
||||
'Deleted',
|
||||
deleted_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $41.PartnerDeletedRequest.fromBuffer(value),
|
||||
($41.PartnerDeletedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$41.PartnerAttachmentAddedRequest, $41.PartnerAttachmentAddedResponse>(
|
||||
($core.List<$core.int> value) => $47.PartnerDeletedRequest.fromBuffer(value),
|
||||
($47.PartnerDeletedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$47.PartnerAttachmentAddedRequest, $47.PartnerAttachmentAddedResponse>(
|
||||
'AttachmentAdded',
|
||||
attachmentAdded_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $41.PartnerAttachmentAddedRequest.fromBuffer(value),
|
||||
($41.PartnerAttachmentAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$41.PartnerAttachmentRemovedRequest, $41.PartnerAttachmentRemovedResponse>(
|
||||
($core.List<$core.int> value) => $47.PartnerAttachmentAddedRequest.fromBuffer(value),
|
||||
($47.PartnerAttachmentAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$47.PartnerAttachmentRemovedRequest, $47.PartnerAttachmentRemovedResponse>(
|
||||
'AttachmentRemoved',
|
||||
attachmentRemoved_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $41.PartnerAttachmentRemovedRequest.fromBuffer(value),
|
||||
($41.PartnerAttachmentRemovedResponse value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $47.PartnerAttachmentRemovedRequest.fromBuffer(value),
|
||||
($47.PartnerAttachmentRemovedResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$41.PartnerCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$41.PartnerCreatedRequest> $request) async {
|
||||
$async.Future<$47.PartnerCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$47.PartnerCreatedRequest> $request) async {
|
||||
return created($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$41.PartnerDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$41.PartnerDeletedRequest> $request) async {
|
||||
$async.Future<$47.PartnerDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$47.PartnerDeletedRequest> $request) async {
|
||||
return deleted($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$41.PartnerAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$41.PartnerAttachmentAddedRequest> $request) async {
|
||||
$async.Future<$47.PartnerAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$47.PartnerAttachmentAddedRequest> $request) async {
|
||||
return attachmentAdded($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$41.PartnerAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$41.PartnerAttachmentRemovedRequest> $request) async {
|
||||
$async.Future<$47.PartnerAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$47.PartnerAttachmentRemovedRequest> $request) async {
|
||||
return attachmentRemoved($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$41.PartnerCreatedResponse> created($grpc.ServiceCall call, $41.PartnerCreatedRequest request);
|
||||
$async.Future<$41.PartnerDeletedResponse> deleted($grpc.ServiceCall call, $41.PartnerDeletedRequest request);
|
||||
$async.Future<$41.PartnerAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $41.PartnerAttachmentAddedRequest request);
|
||||
$async.Future<$41.PartnerAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $41.PartnerAttachmentRemovedRequest request);
|
||||
$async.Future<$47.PartnerCreatedResponse> created($grpc.ServiceCall call, $47.PartnerCreatedRequest request);
|
||||
$async.Future<$47.PartnerDeletedResponse> deleted($grpc.ServiceCall call, $47.PartnerDeletedRequest request);
|
||||
$async.Future<$47.PartnerAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $47.PartnerAttachmentAddedRequest request);
|
||||
$async.Future<$47.PartnerAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $47.PartnerAttachmentRemovedRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user