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 $42;
|
||||
import 'partnerInput.pb.dart' as $43;
|
||||
|
||||
export 'partnerInput.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.PartnerInputAPI')
|
||||
class PartnerInputAPIClient extends $grpc.Client {
|
||||
static final _$created = $grpc.ClientMethod<$42.PartnerCreatedRequest, $42.PartnerCreatedResponse>(
|
||||
static final _$created = $grpc.ClientMethod<$43.PartnerCreatedRequest, $43.PartnerCreatedResponse>(
|
||||
'/api.PartnerInputAPI/Created',
|
||||
($42.PartnerCreatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $42.PartnerCreatedResponse.fromBuffer(value));
|
||||
static final _$deleted = $grpc.ClientMethod<$42.PartnerDeletedRequest, $42.PartnerDeletedResponse>(
|
||||
($43.PartnerCreatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $43.PartnerCreatedResponse.fromBuffer(value));
|
||||
static final _$deleted = $grpc.ClientMethod<$43.PartnerDeletedRequest, $43.PartnerDeletedResponse>(
|
||||
'/api.PartnerInputAPI/Deleted',
|
||||
($42.PartnerDeletedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $42.PartnerDeletedResponse.fromBuffer(value));
|
||||
static final _$attachmentAdded = $grpc.ClientMethod<$42.PartnerAttachmentAddedRequest, $42.PartnerAttachmentAddedResponse>(
|
||||
($43.PartnerDeletedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $43.PartnerDeletedResponse.fromBuffer(value));
|
||||
static final _$attachmentAdded = $grpc.ClientMethod<$43.PartnerAttachmentAddedRequest, $43.PartnerAttachmentAddedResponse>(
|
||||
'/api.PartnerInputAPI/AttachmentAdded',
|
||||
($42.PartnerAttachmentAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $42.PartnerAttachmentAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentRemoved = $grpc.ClientMethod<$42.PartnerAttachmentRemovedRequest, $42.PartnerAttachmentRemovedResponse>(
|
||||
($43.PartnerAttachmentAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $43.PartnerAttachmentAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentRemoved = $grpc.ClientMethod<$43.PartnerAttachmentRemovedRequest, $43.PartnerAttachmentRemovedResponse>(
|
||||
'/api.PartnerInputAPI/AttachmentRemoved',
|
||||
($42.PartnerAttachmentRemovedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $42.PartnerAttachmentRemovedResponse.fromBuffer(value));
|
||||
($43.PartnerAttachmentRemovedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $43.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<$42.PartnerCreatedResponse> created($42.PartnerCreatedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$43.PartnerCreatedResponse> created($43.PartnerCreatedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$created, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$42.PartnerDeletedResponse> deleted($42.PartnerDeletedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$43.PartnerDeletedResponse> deleted($43.PartnerDeletedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$deleted, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$42.PartnerAttachmentAddedResponse> attachmentAdded($42.PartnerAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$43.PartnerAttachmentAddedResponse> attachmentAdded($43.PartnerAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$attachmentAdded, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$42.PartnerAttachmentRemovedResponse> attachmentRemoved($42.PartnerAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$43.PartnerAttachmentRemovedResponse> attachmentRemoved($43.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<$42.PartnerCreatedRequest, $42.PartnerCreatedResponse>(
|
||||
$addMethod($grpc.ServiceMethod<$43.PartnerCreatedRequest, $43.PartnerCreatedResponse>(
|
||||
'Created',
|
||||
created_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $42.PartnerCreatedRequest.fromBuffer(value),
|
||||
($42.PartnerCreatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$42.PartnerDeletedRequest, $42.PartnerDeletedResponse>(
|
||||
($core.List<$core.int> value) => $43.PartnerCreatedRequest.fromBuffer(value),
|
||||
($43.PartnerCreatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$43.PartnerDeletedRequest, $43.PartnerDeletedResponse>(
|
||||
'Deleted',
|
||||
deleted_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $42.PartnerDeletedRequest.fromBuffer(value),
|
||||
($42.PartnerDeletedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$42.PartnerAttachmentAddedRequest, $42.PartnerAttachmentAddedResponse>(
|
||||
($core.List<$core.int> value) => $43.PartnerDeletedRequest.fromBuffer(value),
|
||||
($43.PartnerDeletedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$43.PartnerAttachmentAddedRequest, $43.PartnerAttachmentAddedResponse>(
|
||||
'AttachmentAdded',
|
||||
attachmentAdded_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $42.PartnerAttachmentAddedRequest.fromBuffer(value),
|
||||
($42.PartnerAttachmentAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$42.PartnerAttachmentRemovedRequest, $42.PartnerAttachmentRemovedResponse>(
|
||||
($core.List<$core.int> value) => $43.PartnerAttachmentAddedRequest.fromBuffer(value),
|
||||
($43.PartnerAttachmentAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$43.PartnerAttachmentRemovedRequest, $43.PartnerAttachmentRemovedResponse>(
|
||||
'AttachmentRemoved',
|
||||
attachmentRemoved_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $42.PartnerAttachmentRemovedRequest.fromBuffer(value),
|
||||
($42.PartnerAttachmentRemovedResponse value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $43.PartnerAttachmentRemovedRequest.fromBuffer(value),
|
||||
($43.PartnerAttachmentRemovedResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$42.PartnerCreatedResponse> created_Pre($grpc.ServiceCall call, $async.Future<$42.PartnerCreatedRequest> request) async {
|
||||
$async.Future<$43.PartnerCreatedResponse> created_Pre($grpc.ServiceCall call, $async.Future<$43.PartnerCreatedRequest> request) async {
|
||||
return created(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$42.PartnerDeletedResponse> deleted_Pre($grpc.ServiceCall call, $async.Future<$42.PartnerDeletedRequest> request) async {
|
||||
$async.Future<$43.PartnerDeletedResponse> deleted_Pre($grpc.ServiceCall call, $async.Future<$43.PartnerDeletedRequest> request) async {
|
||||
return deleted(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$42.PartnerAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall call, $async.Future<$42.PartnerAttachmentAddedRequest> request) async {
|
||||
$async.Future<$43.PartnerAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall call, $async.Future<$43.PartnerAttachmentAddedRequest> request) async {
|
||||
return attachmentAdded(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$42.PartnerAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall call, $async.Future<$42.PartnerAttachmentRemovedRequest> request) async {
|
||||
$async.Future<$43.PartnerAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall call, $async.Future<$43.PartnerAttachmentRemovedRequest> request) async {
|
||||
return attachmentRemoved(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$42.PartnerCreatedResponse> created($grpc.ServiceCall call, $42.PartnerCreatedRequest request);
|
||||
$async.Future<$42.PartnerDeletedResponse> deleted($grpc.ServiceCall call, $42.PartnerDeletedRequest request);
|
||||
$async.Future<$42.PartnerAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $42.PartnerAttachmentAddedRequest request);
|
||||
$async.Future<$42.PartnerAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $42.PartnerAttachmentRemovedRequest request);
|
||||
$async.Future<$43.PartnerCreatedResponse> created($grpc.ServiceCall call, $43.PartnerCreatedRequest request);
|
||||
$async.Future<$43.PartnerDeletedResponse> deleted($grpc.ServiceCall call, $43.PartnerDeletedRequest request);
|
||||
$async.Future<$43.PartnerAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $43.PartnerAttachmentAddedRequest request);
|
||||
$async.Future<$43.PartnerAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $43.PartnerAttachmentRemovedRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user