Interface PackageServiceOuterClass.GetPackageResponseOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getArchivePayload()
      Contains a ``daml_lf`` ArchivePayload.
      java.lang.String getHash()
      The hash of the archive payload, can also used as a ``package_id``.
      com.google.protobuf.ByteString getHashBytes()
      The hash of the archive payload, can also used as a ``package_id``.
      PackageServiceOuterClass.HashFunction getHashFunction()
      The hash function we use to calculate the hash.
      int getHashFunctionValue()
      The hash function we use to calculate the hash.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getHashFunctionValue

        int getHashFunctionValue()
         The hash function we use to calculate the hash.
         Required
         
        .com.daml.ledger.api.v1.HashFunction hash_function = 1 [json_name = "hashFunction"];
        Returns:
        The enum numeric value on the wire for hashFunction.
      • getHashFunction

        PackageServiceOuterClass.HashFunction getHashFunction()
         The hash function we use to calculate the hash.
         Required
         
        .com.daml.ledger.api.v1.HashFunction hash_function = 1 [json_name = "hashFunction"];
        Returns:
        The hashFunction.
      • getArchivePayload

        com.google.protobuf.ByteString getArchivePayload()
         Contains a ``daml_lf`` ArchivePayload. See further details in ``daml_lf.proto``.
         Required
         
        bytes archive_payload = 2 [json_name = "archivePayload"];
        Returns:
        The archivePayload.
      • getHash

        java.lang.String getHash()
         The hash of the archive payload, can also used as a ``package_id``.
         Must be a valid PackageIdString (as described in ``value.proto``).
         Required
         
        string hash = 3 [json_name = "hash"];
        Returns:
        The hash.
      • getHashBytes

        com.google.protobuf.ByteString getHashBytes()
         The hash of the archive payload, can also used as a ``package_id``.
         Must be a valid PackageIdString (as described in ``value.proto``).
         Required
         
        string hash = 3 [json_name = "hash"];
        Returns:
        The bytes for hash.