public static final class PackageServiceGrpc.PackageServiceFutureStub extends io.grpc.stub.AbstractStub<PackageServiceGrpc.PackageServiceFutureStub>
Allows clients to query the DAML-LF packages that are supported by the server.
Modifier and Type | Method and 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, or a ``NOT_FOUND`` error if the requested package is unknown.
|
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.
|
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected PackageServiceGrpc.PackageServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<PackageServiceGrpc.PackageServiceFutureStub>
public com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.ListPackagesResponse> listPackages(PackageServiceOuterClass.ListPackagesRequest request)
Returns the identifiers of all supported packages.
public com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.GetPackageResponse> getPackage(PackageServiceOuterClass.GetPackageRequest request)
Returns the contents of a single package, or a ``NOT_FOUND`` error if the requested package is unknown.
public com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.GetPackageStatusResponse> getPackageStatus(PackageServiceOuterClass.GetPackageStatusRequest request)
Returns the status of a single package.