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