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