PackageServiceBase constructor
Implementation
PackageServiceBase() {
$addMethod($grpc.ServiceMethod<$9.CreatePackageRequest, $9.CreatePackageResponse>(
'CreatePackage',
createPackage,
true,
false,
($core.List<$core.int> value) => $9.CreatePackageRequest.fromBuffer(value),
($9.CreatePackageResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$9.DeletePackageRequest, $9.DeletePackageResponse>(
'DeletePackage',
deletePackage_Pre,
false,
false,
($core.List<$core.int> value) => $9.DeletePackageRequest.fromBuffer(value),
($9.DeletePackageResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$9.GetPackageRequest, $9.GetPackageResponse>(
'GetPackage',
getPackage_Pre,
false,
false,
($core.List<$core.int> value) => $9.GetPackageRequest.fromBuffer(value),
($9.GetPackageResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$9.ListPackagesRequest, $9.ListPackagesResponse>(
'ListPackages',
listPackages_Pre,
false,
false,
($core.List<$core.int> value) => $9.ListPackagesRequest.fromBuffer(value),
($9.ListPackagesResponse value) => value.writeToBuffer()));
}