Interface PackageServiceOuterClass.GetPackageResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PackageServiceOuterClass.GetPackageResponse, PackageServiceOuterClass.GetPackageResponse.Builder
Enclosing class:
PackageServiceOuterClass

public static interface PackageServiceOuterClass.GetPackageResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    Contains a ``daml_lf`` ArchivePayload.
    The hash of the archive payload, can also used as a ``package_id``.
    com.google.protobuf.ByteString
    The hash of the archive payload, can also used as a ``package_id``.
    The hash function we use to calculate the hash.
    int
    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 Details

    • getHashFunctionValue

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

       The hash function we use to calculate the hash.
       Required
       
      .com.daml.ledger.api.v2.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

      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.