Package com.daml.ledger.api.v1
Class PackageServiceGrpc.PackageServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<PackageServiceGrpc.PackageServiceFutureStub>
-
- com.daml.ledger.api.v1.PackageServiceGrpc.PackageServiceFutureStub
-
- Enclosing class:
- PackageServiceGrpc
public static final class PackageServiceGrpc.PackageServiceFutureStub extends io.grpc.stub.AbstractFutureStub<PackageServiceGrpc.PackageServiceFutureStub>
Allows clients to query the Daml-LF packages that are supported by the server.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PackageServiceGrpc.PackageServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.GetPackageResponse>
getPackage(PackageServiceOuterClass.GetPackageRequest request)
Returns the contents of a single package.com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.GetPackageStatusResponse>
getPackageStatus(PackageServiceOuterClass.GetPackageStatusRequest request)
Returns the status of a single package.com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.ListPackagesResponse>
listPackages(PackageServiceOuterClass.ListPackagesRequest request)
Returns the identifiers of all supported packages.
-
-
-
Method Detail
-
build
protected PackageServiceGrpc.PackageServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<PackageServiceGrpc.PackageServiceFutureStub>
-
listPackages
public com.google.common.util.concurrent.ListenableFuture<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
-
getPackage
public com.google.common.util.concurrent.ListenableFuture<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
-
getPackageStatus
public com.google.common.util.concurrent.ListenableFuture<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
-
-