public static final class PackageServiceGrpc.PackageServiceBlockingStub extends io.grpc.stub.AbstractStub<PackageServiceGrpc.PackageServiceBlockingStub>
Allows clients to query the Daml-LF packages that are supported by the server.
Modifier and Type | Method and Description |
---|---|
protected PackageServiceGrpc.PackageServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
PackageServiceOuterClass.GetPackageResponse |
getPackage(PackageServiceOuterClass.GetPackageRequest request)
Returns the contents of a single package.
|
PackageServiceOuterClass.GetPackageStatusResponse |
getPackageStatus(PackageServiceOuterClass.GetPackageStatusRequest request)
Returns the status of a single package.
|
PackageServiceOuterClass.ListPackagesResponse |
listPackages(PackageServiceOuterClass.ListPackagesRequest request)
Returns the identifiers of all supported packages.
|
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected PackageServiceGrpc.PackageServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<PackageServiceGrpc.PackageServiceBlockingStub>
public PackageServiceOuterClass.ListPackagesResponse listPackages(PackageServiceOuterClass.ListPackagesRequest request)
Returns the identifiers of all supported packages. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the request does not include a valid ledger id
public PackageServiceOuterClass.GetPackageResponse getPackage(PackageServiceOuterClass.GetPackageRequest request)
Returns the contents of a single package. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the requested package is unknown
public PackageServiceOuterClass.GetPackageStatusResponse getPackageStatus(PackageServiceOuterClass.GetPackageStatusRequest request)
Returns the status of a single package. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the requested package is unknown