public class GetPackageResponse
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GetPackageResponse.HashFunction |
Constructor and Description |
---|
GetPackageResponse(GetPackageResponse.HashFunction hashFunction,
@NonNull java.lang.String hash,
@NonNull com.google.protobuf.ByteString archivePayload) |
Modifier and Type | Method and Description |
---|---|
static GetPackageResponse |
fromProto(com.digitalasset.ledger.api.v1.PackageServiceOuterClass.GetPackageResponse p) |
byte[] |
getArchivePayload() |
java.lang.String |
getHash() |
GetPackageResponse.HashFunction |
getHashFunction() |
public GetPackageResponse(GetPackageResponse.HashFunction hashFunction, @NonNull java.lang.String hash, @NonNull com.google.protobuf.ByteString archivePayload)
public GetPackageResponse.HashFunction getHashFunction()
public java.lang.String getHash()
public byte[] getArchivePayload()
public static GetPackageResponse fromProto(com.digitalasset.ledger.api.v1.PackageServiceOuterClass.GetPackageResponse p)