Interface PackageManagementServiceOuterClass.PackageDetailsOrBuilder

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

public static interface PackageManagementServiceOuterClass.PackageDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    Indicates since when the package is known to the backing participant.
    com.google.protobuf.TimestampOrBuilder
    Indicates since when the package is known to the backing participant.
    Name of the package as defined by the package metadata
    com.google.protobuf.ByteString
    Name of the package as defined by the package metadata
    The identity of the Daml-LF package.
    com.google.protobuf.ByteString
    The identity of the Daml-LF package.
    long
    Size of the package in bytes.
    Version of the package as defined by the package metadata
    com.google.protobuf.ByteString
    Version of the package as defined by the package metadata
    boolean
    Indicates since when the package is known to the backing participant.

    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

    • getPackageId

      String getPackageId()
       The identity of the Daml-LF package.
       Must be a valid PackageIdString (as describe in ``value.proto``).
       Required
       
      string package_id = 1 [json_name = "packageId"];
      Returns:
      The packageId.
    • getPackageIdBytes

      com.google.protobuf.ByteString getPackageIdBytes()
       The identity of the Daml-LF package.
       Must be a valid PackageIdString (as describe in ``value.proto``).
       Required
       
      string package_id = 1 [json_name = "packageId"];
      Returns:
      The bytes for packageId.
    • getPackageSize

      long getPackageSize()
       Size of the package in bytes.
       The size of the package is given by the size of the ``daml_lf``
       ArchivePayload. See further details in ``daml_lf.proto``.
       Required
       
      uint64 package_size = 2 [json_name = "packageSize"];
      Returns:
      The packageSize.
    • hasKnownSince

      boolean hasKnownSince()
       Indicates since when the package is known to the backing participant.
       Required
       
      .google.protobuf.Timestamp known_since = 3 [json_name = "knownSince"];
      Returns:
      Whether the knownSince field is set.
    • getKnownSince

      com.google.protobuf.Timestamp getKnownSince()
       Indicates since when the package is known to the backing participant.
       Required
       
      .google.protobuf.Timestamp known_since = 3 [json_name = "knownSince"];
      Returns:
      The knownSince.
    • getKnownSinceOrBuilder

      com.google.protobuf.TimestampOrBuilder getKnownSinceOrBuilder()
       Indicates since when the package is known to the backing participant.
       Required
       
      .google.protobuf.Timestamp known_since = 3 [json_name = "knownSince"];
    • getName

      String getName()
       Name of the package as defined by the package metadata
       
      string name = 4 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Name of the package as defined by the package metadata
       
      string name = 4 [json_name = "name"];
      Returns:
      The bytes for name.
    • getVersion

      String getVersion()
       Version of the package as defined by the package metadata
       
      string version = 5 [json_name = "version"];
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       Version of the package as defined by the package metadata
       
      string version = 5 [json_name = "version"];
      Returns:
      The bytes for version.