Package com.daml.ledger.javaapi.data
Class GetPackageResponse
- java.lang.Object
-
- com.daml.ledger.javaapi.data.GetPackageResponse
-
public final class GetPackageResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetPackageResponse.HashFunction
-
Constructor Summary
Constructors Constructor Description GetPackageResponse(GetPackageResponse.HashFunction hashFunction, @NonNull java.lang.String hash, @NonNull com.google.protobuf.ByteString archivePayload)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetPackageResponse
fromProto(com.daml.ledger.api.v1.PackageServiceOuterClass.GetPackageResponse p)
byte[]
getArchivePayload()
java.lang.String
getHash()
GetPackageResponse.HashFunction
getHashFunction()
-
-
-
Constructor Detail
-
GetPackageResponse
public GetPackageResponse(GetPackageResponse.HashFunction hashFunction, @NonNull java.lang.String hash, @NonNull com.google.protobuf.ByteString archivePayload)
-
-
Method Detail
-
getHashFunction
public GetPackageResponse.HashFunction getHashFunction()
-
getHash
public java.lang.String getHash()
-
getArchivePayload
public byte[] getArchivePayload()
-
fromProto
public static GetPackageResponse fromProto(com.daml.ledger.api.v1.PackageServiceOuterClass.GetPackageResponse p)
-
-