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