You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -15,32 +15,32 @@ import 'dart:core' as $core;
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'idp.pb.dart' as $10;
|
||||
import 'idp.pb.dart' as $18;
|
||||
|
||||
export 'idp.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.IDPService')
|
||||
class IDPServiceClient extends $grpc.Client {
|
||||
static final _$get = $grpc.ClientMethod<$10.GetIDPRequest, $10.GetIDPResult>(
|
||||
static final _$get = $grpc.ClientMethod<$18.GetIDPRequest, $18.GetIDPResult>(
|
||||
'/api.IDPService/Get',
|
||||
($10.GetIDPRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $10.GetIDPResult.fromBuffer(value));
|
||||
static final _$create = $grpc.ClientMethod<$10.CreateIDPRequest, $10.CreateIDPResult>(
|
||||
($18.GetIDPRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $18.GetIDPResult.fromBuffer(value));
|
||||
static final _$create = $grpc.ClientMethod<$18.CreateIDPRequest, $18.CreateIDPResult>(
|
||||
'/api.IDPService/Create',
|
||||
($10.CreateIDPRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $10.CreateIDPResult.fromBuffer(value));
|
||||
static final _$update = $grpc.ClientMethod<$10.UpdateIDPRequest, $10.UpdateIDPResult>(
|
||||
($18.CreateIDPRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $18.CreateIDPResult.fromBuffer(value));
|
||||
static final _$update = $grpc.ClientMethod<$18.UpdateIDPRequest, $18.UpdateIDPResult>(
|
||||
'/api.IDPService/Update',
|
||||
($10.UpdateIDPRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $10.UpdateIDPResult.fromBuffer(value));
|
||||
static final _$delete = $grpc.ClientMethod<$10.DeleteIDPRequest, $10.DeleteIDPResult>(
|
||||
($18.UpdateIDPRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $18.UpdateIDPResult.fromBuffer(value));
|
||||
static final _$delete = $grpc.ClientMethod<$18.DeleteIDPRequest, $18.DeleteIDPResult>(
|
||||
'/api.IDPService/Delete',
|
||||
($10.DeleteIDPRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $10.DeleteIDPResult.fromBuffer(value));
|
||||
static final _$list = $grpc.ClientMethod<$10.ListIDPRequest, $10.ListIDPResult>(
|
||||
($18.DeleteIDPRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $18.DeleteIDPResult.fromBuffer(value));
|
||||
static final _$list = $grpc.ClientMethod<$18.ListIDPRequest, $18.ListIDPResult>(
|
||||
'/api.IDPService/List',
|
||||
($10.ListIDPRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $10.ListIDPResult.fromBuffer(value));
|
||||
($18.ListIDPRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $18.ListIDPResult.fromBuffer(value));
|
||||
|
||||
IDPServiceClient($grpc.ClientChannel channel,
|
||||
{$grpc.CallOptions? options,
|
||||
@@ -48,23 +48,23 @@ class IDPServiceClient extends $grpc.Client {
|
||||
: super(channel, options: options,
|
||||
interceptors: interceptors);
|
||||
|
||||
$grpc.ResponseFuture<$10.GetIDPResult> get($10.GetIDPRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$18.GetIDPResult> get($18.GetIDPRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$get, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$10.CreateIDPResult> create($10.CreateIDPRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$18.CreateIDPResult> create($18.CreateIDPRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$create, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$10.UpdateIDPResult> update($10.UpdateIDPRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$18.UpdateIDPResult> update($18.UpdateIDPRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$update, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$10.DeleteIDPResult> delete($10.DeleteIDPRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$18.DeleteIDPResult> delete($18.DeleteIDPRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$delete, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$10.ListIDPResult> list($10.ListIDPRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$18.ListIDPResult> list($18.ListIDPRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$list, request, options: options);
|
||||
}
|
||||
}
|
||||
@@ -74,66 +74,66 @@ abstract class IDPServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'api.IDPService';
|
||||
|
||||
IDPServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$10.GetIDPRequest, $10.GetIDPResult>(
|
||||
$addMethod($grpc.ServiceMethod<$18.GetIDPRequest, $18.GetIDPResult>(
|
||||
'Get',
|
||||
get_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $10.GetIDPRequest.fromBuffer(value),
|
||||
($10.GetIDPResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$10.CreateIDPRequest, $10.CreateIDPResult>(
|
||||
($core.List<$core.int> value) => $18.GetIDPRequest.fromBuffer(value),
|
||||
($18.GetIDPResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$18.CreateIDPRequest, $18.CreateIDPResult>(
|
||||
'Create',
|
||||
create_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $10.CreateIDPRequest.fromBuffer(value),
|
||||
($10.CreateIDPResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$10.UpdateIDPRequest, $10.UpdateIDPResult>(
|
||||
($core.List<$core.int> value) => $18.CreateIDPRequest.fromBuffer(value),
|
||||
($18.CreateIDPResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$18.UpdateIDPRequest, $18.UpdateIDPResult>(
|
||||
'Update',
|
||||
update_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $10.UpdateIDPRequest.fromBuffer(value),
|
||||
($10.UpdateIDPResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$10.DeleteIDPRequest, $10.DeleteIDPResult>(
|
||||
($core.List<$core.int> value) => $18.UpdateIDPRequest.fromBuffer(value),
|
||||
($18.UpdateIDPResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$18.DeleteIDPRequest, $18.DeleteIDPResult>(
|
||||
'Delete',
|
||||
delete_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $10.DeleteIDPRequest.fromBuffer(value),
|
||||
($10.DeleteIDPResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$10.ListIDPRequest, $10.ListIDPResult>(
|
||||
($core.List<$core.int> value) => $18.DeleteIDPRequest.fromBuffer(value),
|
||||
($18.DeleteIDPResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$18.ListIDPRequest, $18.ListIDPResult>(
|
||||
'List',
|
||||
list_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $10.ListIDPRequest.fromBuffer(value),
|
||||
($10.ListIDPResult value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $18.ListIDPRequest.fromBuffer(value),
|
||||
($18.ListIDPResult value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$10.GetIDPResult> get_Pre($grpc.ServiceCall $call, $async.Future<$10.GetIDPRequest> $request) async {
|
||||
$async.Future<$18.GetIDPResult> get_Pre($grpc.ServiceCall $call, $async.Future<$18.GetIDPRequest> $request) async {
|
||||
return get($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$10.CreateIDPResult> create_Pre($grpc.ServiceCall $call, $async.Future<$10.CreateIDPRequest> $request) async {
|
||||
$async.Future<$18.CreateIDPResult> create_Pre($grpc.ServiceCall $call, $async.Future<$18.CreateIDPRequest> $request) async {
|
||||
return create($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$10.UpdateIDPResult> update_Pre($grpc.ServiceCall $call, $async.Future<$10.UpdateIDPRequest> $request) async {
|
||||
$async.Future<$18.UpdateIDPResult> update_Pre($grpc.ServiceCall $call, $async.Future<$18.UpdateIDPRequest> $request) async {
|
||||
return update($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$10.DeleteIDPResult> delete_Pre($grpc.ServiceCall $call, $async.Future<$10.DeleteIDPRequest> $request) async {
|
||||
$async.Future<$18.DeleteIDPResult> delete_Pre($grpc.ServiceCall $call, $async.Future<$18.DeleteIDPRequest> $request) async {
|
||||
return delete($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$10.ListIDPResult> list_Pre($grpc.ServiceCall $call, $async.Future<$10.ListIDPRequest> $request) async {
|
||||
$async.Future<$18.ListIDPResult> list_Pre($grpc.ServiceCall $call, $async.Future<$18.ListIDPRequest> $request) async {
|
||||
return list($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$10.GetIDPResult> get($grpc.ServiceCall call, $10.GetIDPRequest request);
|
||||
$async.Future<$10.CreateIDPResult> create($grpc.ServiceCall call, $10.CreateIDPRequest request);
|
||||
$async.Future<$10.UpdateIDPResult> update($grpc.ServiceCall call, $10.UpdateIDPRequest request);
|
||||
$async.Future<$10.DeleteIDPResult> delete($grpc.ServiceCall call, $10.DeleteIDPRequest request);
|
||||
$async.Future<$10.ListIDPResult> list($grpc.ServiceCall call, $10.ListIDPRequest request);
|
||||
$async.Future<$18.GetIDPResult> get($grpc.ServiceCall call, $18.GetIDPRequest request);
|
||||
$async.Future<$18.CreateIDPResult> create($grpc.ServiceCall call, $18.CreateIDPRequest request);
|
||||
$async.Future<$18.UpdateIDPResult> update($grpc.ServiceCall call, $18.UpdateIDPRequest request);
|
||||
$async.Future<$18.DeleteIDPResult> delete($grpc.ServiceCall call, $18.DeleteIDPRequest request);
|
||||
$async.Future<$18.ListIDPResult> list($grpc.ServiceCall call, $18.ListIDPRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user